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 8 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

local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/asset/?id=274560333"

local animController = Instance.new("AnimationController")
local animTrack = animController:LoadAnimation(animation)
animTrack:Play()

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

Answer this question