Up arrow or space for jump, don't hit pillars or ground. S to change thing. A to change directions.
I did the entire script for this.