I noticed that Humanoid:LoadAnimation() is deprecated, but it doesn’t say what replacement to use in new scripts. Anyone familiar?
This post explains how to use the recommended alternative: