left/right: move down: duck x: run z: jump
credit to McGuy on youtube for original engine. I tweaked it a bit.