I want to make an animation play during a function that is executed when a player clicks while holding a tool? What would I do to start / play the animation?
✓ ANSWER ACCEPTED
How to make an animation play?
1 answer
✓ Accepted answer
Make an animation object and put it in the script. Then paste the animation ID from the website, in the animation ID slot in the Object. Then in the LOCALSCRIPT do :
local FindAnim = script.Animation
local Anim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(FindAnim)
Anim:Play()
2 comments
0
Thank you very much!
0
That's ok! @StolidDarkness
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
http://wiki.roblox.com/index.php?title=API:Class/Humanoid/LoadAnimation http://wiki.roblox.com/index.php?title=API:Class/AnimationTrack