It works if I don’t move, but that’s since I’m playing it. The second I move and stop again it does a little thingy where it looks like it’s supposed to go back to that animation but then gets cancelled and plays the orignial animation.
As @ItzMeZeus_IGotHacked said, Humanoid:LoadAnimation() is deprecated and must not be used for future works as the simplicity goes (pretty self-explanatory). And instead of using those things ROBLOX provided in their tutorial guide, it’s preferable to find any changes to the Humanoid. To find the changes in a Humanoid, we can use the given events for the Humanoid to find what happened to their states.
Animator:
Humanoid stuff:
And to give an idle animation to a player, we can just use an if statement IF the Humanoid is NOT running. I know it’s all bamboozling than the things you’re learning right now but this one will surely come in handy!
Yes you can also copy the things that were provided as sample codes to give an example of how they run in a game. You can definitely change them when you have the brains to pull it off