Arrow keys or WASD to move Click space bar to shoot. Press 1 and 2 to switch between pistol and machine gun. Press 3 to open the shop. Press g to get +10 cash (for playtesting only)
I shout thank you to warframe for the 12-episode series on How to Make a Shooter Game in Scratch! https://www.youtube.com/playlist?list=PLYXukbXFJeKumTPNnFQGjryeJ-ZboM3gU He also has many other Scratch game tutorials on his channel, so check them out! Here is his game: https://scratch.mit.edu/projects/211106586