Replace humanoid:LoadAnimation in "Using Animations in Games" because it's deprecated

DevHub article: https://developer.roblox.com/en-us/articles/using-animations-in-games


image

The tile pretty much says it all. Humanoid:LoadAnimation() was deprecated (Deprecating LoadAnimation on Humanoid and AnimationController) at the start of this month. Although it still works, Roblox strongly discourages it’s use.

The script in that article still uses the deprecated method of Humanoid and I think it should probably be updated to use Animator instead.

8 Likes

Hi all,
Just a quick note that the code in the article has been updated to use Animator as currently advised. Thanks for bringing it to my attention. :slight_smile:

IgnisRBX

4 Likes