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.