Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Animation script not animating?

Asked by 9 years ago

I have a script... It is supposed to animate my custom model, my custom model has a HumanoidRootPart and has Motor6D's connecting all the parts... it doesn't work! Why not? Here is the script

1local animation = Instance.new("Animation")
3 
4local animController = Instance.new("AnimationController")
5local animTrack = animController:LoadAnimation(animation)
6animTrack:Play()

Please help!!! Thank you!!! P.S This is in a regular script

Answer this question