Have a look here as @EmbatTheHybrid mentioned this method of loading animation to humanoid is deprecating.
We can’t see your current code, can you post your script?