Hi so I was trying to make a animation on a npc but sadly I cant get it to work. I found this script online and It should work.. sadly works kinda.
If i play test nothing happens but when I click current server it does work.. help
--Made by TotalClip--
--Insert this into your character--
local hum = script.Parent:WaitForChild("Humanoid")
local anim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation"))
anim.Looped = true
anim:Play()