Use the script inside of the hills in the objects that you want to move. To make the objects a little off from the middle, use the + or minus block in the script. Use the arrow keys to move.
The 2 scripts above and beneath each other in the character make gravity, and allow you to jump.