I have to add that This is the script
local hum = script.Parent:WaitForChild("Humanoid") local anim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation")) anim.Looped = true anim:Play()
as i said it works but its not looped
you will want to go into the animation editor and turn on loop animation if your confused look at this https://devforum.roblox.com/t/how-do-i-loop-an-animation/1003744