Play around a bit and then look inside it. Copy that script and I hope you have a good platformer!
Includes: * Moving * Wall Jumping * Gravity * Ceiling and Floor Detection * Jumping