WASD or arrows to move. You will always shoot in direction of the mouse. click pause to upgrade.
Full credit to 123hellohi https://scratch.mit.edu/users/123hellohi/