VERY laggy, but hack and stuff. Arrow keys or WASD to move and jump, the gun points towards your mouse pointer and click and hold to shoot.
Thanks to SCRATCH---PIXEL for all the code and stuff. For instructions, see the box above. Enjoy!