Use the arrow keys to move the player and press the space key to jump. There are different techniques to last a long time, and my favourite one is the 45 degree square loop; it's where you go around in loops like a square but tilted 45 degrees.
There's a sequel! https://scratch.mit.edu/projects/1325488643/