Use wasd to move and the space to shoot in the direction of your mouse. Don't get killed!
https://scratch.mit.edu/projects/239282434/ I used this guide for making the movement and you should check it out if you want to make any movement based game