Use a and d or the Left arrow key and Right arrow key to move and press w or space or the Up arrow key to jump and e to shoot. Have fun!
Thanks to gloryguy for the scrolling platformer coding. Enter this to see the project I got some of the coding from: https://scratch.mit.edu/projects/156143565