Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you make animation play on click I don't understand!! Examples!?

How do you make animation play on click I don't understand!! Examples!?

1 answer

We need more info such as, what to click for animation to play?

Also, it is better if the description differs from the title.


You use Humanoid:LoadAnimation followed by Play() for an animation to be played. Like

pushanimation=Humanoid:LoadAnimation(script.Parent.AnAnimation)
--Insert script here
pushanimation:Play()

Needless to say i adapted this from the ROBLOX wiki

1 comment

0

Like, if you were to make a "force push" tool, how would you do it? How would you make an animations play and how do you push the player back and make them sit?

This discussion is preserved as it was. New answers, comments, and votes are closed.