You may have to press the green flag twice to work! Use the mouse to control the rifle. Click to shoot. Press space to edit rifle. Press R to randomize. Go into the editor to see your code, press E to enter a code. If FPS view is set to 1, hold A to aim.
enter this into search bar https://scratch.mit.edu/projects/66686312 to see the original amazing project