Click the green flag TWICE! (sometimes it glitches and skips you to the second level)
This code was actually all done by me, but I had awesome_42 (follow him) remix it so that I could remix and use the super long complicated platform script in my own projects. This is my first platformer so I hope you all like it.