Feel free to use any of this code in any of your games, just give me credit, this includes Idle animations, Running animatoions, and jumping/falling animations, the gravity code is in the sprite named "gravity stuff"
I used Kaidomation's videos to help me make this, go check him out