Normally, I would reference an animation and the humanoid of an NPC in a workspace and use the Humanoid:LoadAnimation() to load and play animations for NPCs. But I finally noticed that this method is deprecated. What are some alternative ways on how I can animate NPCs, or should I keep using the :LoadAnimation() method.
COMMUNITY QUESTION
How would I animate an NPC without using the :LoadAnimation() method?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Research the new superseded method instead of assuming it was stripped from the API: 'Humanoid.Animator:LoadAnimation()'.
https://developer.roblox.com/en-us/api-reference/class/Animator
The problem is that only for players's, an animator exist in the humanoid, but if you were to spawn a humanoid rig onto the workspace, there is no animator instance in the humanoid. Does that mean I still have to use Humanoid:LoadAnimation() or try to add an "Animator" in it?