How to activate 3D particles when walking? As scripts deletes itself in StarterCharacter, I was wondering of a way to clone it into Left and Right leg attachments when a player joins
here is how the layout is
and the particles are connected to a part so I want them to weld to left and right leg attachments.
I was thinking of activating the script when the player walks, but I am unsure.
Check to see if Humaniod.GetState is one that means you’re moving. Or if you just want to make it for walking (or whatever) you can choose which state you want the Particles to be visible when you use it.
Sorry for the late reply, but if I do what you told me to do, the particles will show up somewhere else on the map, so how would I attach and clone it to the player left and right leg? Sorry for the trouble.
Hopefully I understand what’s going on because I’m a bit confused. If you want to insert particles in the Left and Right leg which I am assuming is a R6 Character you can:
Put the particle into the attachment and put the attachment into the left AND right leg when joining
(Goes like this)
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
local RightLeg = char:FindFirstChild(“Right Leg”) – identifying
local LeftLeg = char:FindFirstChild(“Left Leg”) – identifying
local RightAttachment = Instance.new("Attachment",RightLeg) -- making attachments
local LeftAttachment = Instance.new("Attachment",LeftLeg) -- making attachments
end)
end)
After this put the particle into the attachment and you should be all set to go?
Not sure you can consider it a particle, as you probablly have seen from the layout image, it is a module script consisting of a script and value, the script controls the 3D particles emitted the emitter part is inside the script, and I want the script to activate when the player walk, or something along the lines of that, but it will have to be cloned into the left and right leg, it is r6.
Here is a video.
Go to 0:29 when the character(in this case the bird) sprints, you can see 3D particles appear, I want a similar result, but I am unsure how to do it.