What is the best way to load an animation on a player / humanoid

The title explains it all. Char char

humanoid.Animator:LoadAnimation(animation)

Does it change anything if it is a moon animation

The best way by the book is to load it into the Animator instance of the humanoid, due to the fact Humanoid:LoadAnimation() is considered deprecated.

Character:WaitForChild("Humanoid"):WaitForChild("Animator"):LoadAnimation(my_anim)

No.