Could you please tell me what's wrong with it? Try it out it doesn't work very well . It just floats off. Solution: The player's X momentum doesn't go down (fixed by doing [run speed = run speed * 0.7=) The player's Y momentum get set to the X momentum (fixed by doing [jump speed = jump speed * (9.8/10)] )