Actual script is here :
local animation = script:WaitForChild('Sitting_idle') local humanoid = script.Parent:WaitForChild('Humanoid') local idle = humanoid:LoadAnimation(animation) idle:play() idle.Looped=true
idle.Looped = true
This is actually local. Even if this is in a normal script, this only plays locally. But there's no player to even localize to, so it just breaks.
Fix: Go to the animation editor, moon animator, whatever you use. And try and locate 'Looped'. Just enable the looped then export it to Roblox. Should fix it. I had this problem like a day ago so you could've just looked at mine.
Maybe you have to loop it first and then to play the animation
Have you tried setting the Looped property by using the loop button on Animation Editor?