Hello, I have did a stand and walk scrip:
anim = humanoid:GetPlayingAnimationTracks()
for i, track in pairs (anim) do
if track. Name == "Stand" then
track:Stop()
walk = Humanoid:LoadAnimation(script.Parent.Walk) -- The problem is here
Walk:Play()
end
end
for i, track in pairs (anim) do
if track. Name == "Walk" then
track:Stop()
stand = Humanoid:LoadAnimation(script.Parent.Stand) -- The problem is here
stand:Play()
end
end
This script work, but the problem is than when I stand, walk fastly, then in output there are written "AnimationTrack limit of 256 tracks for one Animator exceeded, new animations will not be played" then the script no more work. So my question is there are a way to get stopped animations tracks? Or maybe you have another idea?

1 comment
Yes