How to stop all humanoid animations (excluding the default animations)

  1. I want to learn how to stop all humanoid animation excluding the default animations for something in my game.

  2. I remember a line of script that did something like that but forgot what it is.

  3. I have tried looking in the forum but couldn’t find a post relevant to what I need.

could you please try to help me ? I think it was humanoid:“something I don’t remember”

please correct me if I am wrong. Thanks.


1 Like

Try to use this ( humanoid is now deprecated ,you can use animator instead if humanoid doesn’t work )

local Animator = --Your humanoid/animator goes here

for i,Track in pairs(Animator:GetPlayingAnimationTracks()) do
   Track:Stop()
end
1 Like

yeah, thanks I already figured it out. I forgot to close the post. Sorry :laughing:

2 Likes