How the animation should look: How it looks on a player:
The priority on the animation is action, I don't know what could be interfering
Code on dummy (works fine when i run the game):
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://11262438869"
local a = script.Parent.Humanoid.Animator:LoadAnimation(anim)
a.Looped = true
a:Play()
Code on player in startercharacterscripts (doesn't work lol):
repeat task.wait() until script.Parent
local humanoid: Humanoid = script.Parent:WaitForChild("Humanoid")
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://11262438869"
local track = humanoid.Animator:LoadAnimation(anim)
track.Looped = true
humanoid.Running:Connect(function(s)
if s > 0 then
track:Play()
else
track:Stop()
end
end)

2 comments
Could you send the code? I can't really help unless there is code to test.
LikeableEmmec, I changed my my question. There are no errors btw