This is a model for advance jumping, with bouncing and advanced movement, the script is quite complicated for a youngster like me so thank you for looking at it! Update 1 I added comments inside to help you understand the script in a more deeper level.
Another great example is some Scratch projects on Youtube, so go check them out, and for other examples go to @123animations on youtube, he doesn't do it anymore but it is a great example if you have 1.4 as well as Al Sweigart, for 2.0.