First choose a gun. Then press up and down arrow keys to move painfully slowly. Shoot at the bug to destroy it. Warning: this game might not work once you get towards the end.
I made this when I was a teenager. Recently I went through all my old Scratch stuff and published it for posterity.