Humanoid:LoadAnimation() deprecated?

Hi, so I realised today when I was scripting that the LoadAnimation function did not appear as a keyword and when I went on the Roblox wiki, it said it has been deprecated, what do I do?

You use the Animator instance located in the Humanoid.

--path to animator
Humanoid.Animator

Loading an animation? No problem:

Animator:LoadAnimation(animationInstance)

P.S-
you can still use Humanoid:LoadAnimation() if you want to but it isn’t recommended.

1 Like

Why did they deprecate it? There was no problems with it and thanks

I’m not sure, but here’s the original post on it:

2 Likes