How to use: Change the scripts with "WallR and WallL" to your Right and Left walls. Change gravity to however much you want. The lower the number, the more gravity there is. Change the grey color to your platform's colors. MAKE SURE TO CREATE THESE VARIABLES IN YOUR GAME!
THIS PROGRAM IS MUCH, MUCH BETTER THAN THE ONES I USED IN MY GAME, SO USE THIS INSTEAD!