Use arrow keys or wasd. Get to the door to win. Sometimes, you can walk on spikes so sorry for that. Just try to avoid it. Get the sword and kill the baddy. press space to slash. You will pick up a key after you kill the baddy and without that key, you can't go through the door. I hope you enjoy the game! New version : https://scratch.mit.edu/projects/1205693293/
Thank you to louislabbe1 who helped me a lot to solve problems because i just started programming. Also, thank you to xamuil2 who made the door, sword and baddy costume in his other games (I recommend you playing his games. They are amazing).