#Trying to make a rig play an animation but I don't know how. Help me with something chat
1 messages · Page 1 of 1 (latest)
do you just need a script to play an animation on rig one time? Explain more what do you want.
I want a rig to play an animation with an animationID
So I can see what the animation would look like in game
Connect the joints with motor6ds and then export the animation as usual
Make sure the parts are named the same in the animation as they are in the model
local anim = script.Animation
local hum = script.Parent:WaitForChild("Humanoid")
local animator = hum:WaitForChild("Animator")
local track = animator:LoadAnimation(anim)
track.Looped = true
track:Play()
should work
put the script inside the character and your animation inside the script