I just cleaned up the code so it looks nicer and is easier to navigate! Hope this helps a lot! I didn't change any of the code, I just cleaned it up! IMPORTANT: How to put it into the game: click see inside. Then, click the bar at the bottom of the screen that says "backpack". Next, drag the player sprite into the backpack box. It should appear there. Then, go onto the real game and drag the player sprite from the backpack into the sprite panel. If you have any questions, ask in the comments. Also, running doesn't work because other sprites determine it, but it WILL work in the real game.
@Juneyed for the original craftfounder