Deprecated method

Deprecated:

for i,v in pairs(player.Character.Humanoid:GetPlayingAnimationTracks()) do
	v:Stop()
end

I wanted to use the newest method to stop all player animations, can anyone tell me what it is?

Honestly. No idea what roblox is doing. I though this was avaliable and ready for use. No idea why they disabled it? Update?

My idea was this:

Turns out that was deprecated as well. So my opinion is, Play your own animation with the highest priority so all other animations don’t get played. - You’ll get the same effect.

Roblox deprecated the humanoid animations.

You should use the Animator class instead, this can be found in Humanoids and AnimationControllers.

You can see the documentation here: Animator | Documentation - Roblox Creator Hub

If you want to see all the methods in Animator check out this documentation: Animator | Documentation - Roblox Creator Hub

1 Like

Ty for the great tip, i’ll use it