Avoid the spikes and use the arrow keys to move.
First one https://scratch.mit.edu/projects/1338431063/ Thanks to scratch youtube channel for showing me how to make a good platformer. Also if you haven't seen the first one please see it https://scratch.mit.edu/projects/1338431063/ Also thanks to Em_Logic for some helpful advice. You can look inside this project and see witch peace of advice was helpful. You could also look at the comments.