i am trying to play an animation on one of my npc's for a game and loop it

here is one that i tried

while true do
     local anim = script.Parent.Humanoid:LoadAnimation(script.Parent[""])
     wait(5)
     anim:Play()
end

1 comment