Say the animation is already implemented. So I have a function that when something happens the animation goes away. How would I index the animation to delete it?
✓ ANSWER ACCEPTED
How would I find an animation in a player and disable it?
2 answers
✓ Accepted answer
This nifty function is your answer, good sir.
This MIGHT do it:
--You can use a name or Id to reference the animation you want.
Name="Test"
ID=1111111111
for i,v in pairs(player.Character.Humanoid:GetPlayingAnimationTracks ()) do
if v.Animation.Name==Name or v.Animation.AnimationId==ID then
v:Stop()
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
But how do I stop tracks from there? I don't understand what it means by " Returns an array of the AnimationTracks currently being played on the Humanoid." An Array? What's that mean
An array is essentially a table.