I am trying to make the animation loop and it plays once, but because of the error it doesn't loop and stops the script. Help?
local animation = script:WaitForChild('Animation')
local hum = script.Parent.Humanoid
local animationtrack = hum:LoadAnimation(animation)
animationtrack:Play()
animationtrack.Looped = true

1 comment
Thank You!