use arrow keys to move. to be invulnerable, press A to be able to get hurt again, and press Z I added a timer, to toggle the timer off, press 1, To toggle the timer back on, press 2 for Moon 1: https://scratch.mit.edu/projects/946002480/
thanks to Mosstristan29 for the code and for fixing the errors