Animation not Loading

As the title says when i try playing this specific animation, it doesn’t work even though the priority is set to action and all previous animation tracks are stopped. Can Someone help me fix this? Here’s a sample of the code:


local rp = game:GetService("ReplicatedStorage")

local SHumanoid = Character:WaitForChild("Humanoid")

for i, track in ipairs(SHumanoid:GetPlayingAnimationTracks()) do
	track:Stop()
end

local ok = SHumanoid:LoadAnimation(rp.Animations.Bearing)
ok:Play()

wait(.6)

for i, track in ipairs(SHumanoid:GetPlayingAnimationTracks()) do
	track:Stop()
end

Before you ask, yes the wait(.6) is longer than the animation, Please help me fix this issue; I really don’t know what’s causing it. Thanks.

1 Like

Do you own the animations and are you using them in a place owned by you? If you’re getting errors in the output saying that the animation is failing to load, then that means the place you’re editing does not have permission to load the animation.

They are group animations, and it’s my friend’s place where I have access to. All animations that i did previously work but this one.