To don't have a lot of load animation, I need a pairs function who search animation, this is my script:
anim = humanoid:GetPlayingAnimationTracks()
for i, track, track2 in pairs (anim) do
if track.Name == "Stand" and track2.Name == "Walk" then
track:Stop()
track2:Play()
end
end
And in output this said "tried to call a nil value with track2.Name" So how can I do, please?
