Animation not working?

Humanoid.Animator is the new way to do it. Humanoid.LoadAnimation was deprecated a while ago. Also, I tried using humanoid.loadanimation before, and it still didn’t work.