This is how you play an animation:
local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/Asset?ID=144884906"
local animTrack = Humanoid:LoadAnimation(animation)
animTrack:Play()
Would I put something like:
while animTrack:Play() do
Thanks.

1 comment
You should be able to do stuff as the animation is playing. I don't think the :Play() method yields the calling script.