Press the Arrow keys to move. Change the Gravity and Your Weight sliders. I have three buttons up in the top right corner that when you click on them will change the Gravity to a preset value. I tried to make them realistically correct. I looked up on Google the relative weight measurements for Mars and the Moon and here's the results: Moon = 0.83 x Earth Weight Mars = 0.38 x Earth Weight
I got almost all of the original platforming script (without gravity options) from @venomous-squirrel. Alterations to the script to allow variable gravity was made by me. If you use this platformer script, PLEASE credit either me (rodriguezrrp) or venomous-squirrel! Thank you!