I made a simple animation for a basic humanoid to use, but I don't know how to make it actually use it. Do I use a script, or is there something else at play here?
COMMUNITY QUESTION
How do I make a rig use an animation?
1 answer
Yes, you should use a regular script and place it inside the rig's humanoid. This should work:
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://0"
animation.Parent = script
local loadedAnimation = script.Parent:LoadAnimation(animation)
loadedAnimation:Play()
This will load the animation on the humanoid and then play it. Change the "0" in the animation.AnimationId property to the ID of your animation.
This discussion is preserved as it was. New answers, comments, and votes are closed.
