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?
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