I just created my first animation and I wanted to test it. I'm currently testing it in an NPC. This is the script im using:
anim = script.Parent.Animation
aCon = script.Parent.AnimationController
animTrack = aCon:LoadAnimation(anim)
while wait(4) do
animTrack:Play()
end
but the animation doesnt play. Any idea why?

1 comment
This is a server script