Since roblox changed how you do it, idk how to anymore. Could anyone tell me how you load and play an animation?
COMMUNITY QUESTION
how to load and play an animation on/in a rig on game start?
1 answer
You would do something like this.
local animation = script:WaitForChild('Animation') -- add the animation as a child of the script --
local humanoid = script.Parent:WaitForChild('humanoid') -- the script will be a child of the rig--
local dance = humanoid:LoadAnimation(animation)
dance:Play()
Put the trigger function around the danceplay.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
you can't use the LoadAnimation() anymore is there another way?
yeah load animation stopped working for me too a few days ago. Ill try to find a new method then post here