In a script, a character should play an animation that loops forever. However, it doesn't do that.
--This is on a server script
local PlayerModel = game.ServerStorage.PlayerModel.PlayerModel:Clone()
PlayerModel.Parent = workspace
local pos = Vector3.new(1.361, 3.65, 3.319)
PlayerModel:MoveTo(pos)
local Humanoid = PlayerModel:WaitForChild("Humanoid")
local Animation = Instance.new("Animation")
Animation.AnimationId = "http://www.roblox.com/Asset?ID=2173519619"
local AnimTrack = Humanoid:LoadAnimation(Animation)
AnimTrack.Looped = true
AnimTrack:Play()
What am I doing wrong?
Thanks!

1 comment
Is the animation playing on an NPC or player? If it's a player, then it should work. For NPCs, do Animation Controller instead.