#animation on click

1 messages · Page 1 of 1 (latest)

warm tinsel
#

this is what i have right now and Q is the button to play the animation

warm tinsel
#

this wont close but i figured it out

autumn hemlock
#

you have to get the humanoid's animator

#

also I wouldn't do local Humanoid = Character:WaitForChild("Humanoid") I would just do local Humanoid = Character.Humanoid or even better local Humanoid = Character:FindFirstChildOfClass("Humanoid") as this allows you to grab the humanoid even if there is another part in the character with the name "Humanoid"

#

the reason why Character:WaitForChild("Humanoid") isn't the best is because it is or is close to impossible for there to be the character but not the humanoid, I just never think the code would run perfectly for there to be a character for it to get but not a humanoid within that character

warm tinsel
#

Thank you do you think you could help with my other one?

#

Because that one I’ve been trying to fix for 3 days and can’t figure it out