Hi, i’m currently having an issue with animations not working on a npc, i’ve been looking up all the documentation i can find for animation and i still can’t get this animation to play, could anyone look through the code give it a look? - Thanks (Also i’ve check that nothing is anchored)
local Hum = script.Parent:WaitForChild("Humanoid")
local Anim = Instance.new("Animation",script.Parent)
Anim.AnimationId = 'http://www.roblox.com/asset/?id=1018549681'
local track = Hum:LoadAnimation(Anim)
print(track.IsPlaying) -- This Outputs False
track.Looped = true
track:Play()
print(track.IsPlaying) -- this outputs true even though its not playing