Jumping

I have a Linear movement script everything except jumping works so far. I have been trying and I cannot figure out what I am doing wrong any help would appreciate.

Here is a blend so you see how far It is and why it needs fixed.

Attachments

linV movement.blend (180 KB)

Hi. If you want to jump with LinV you must deactivate the motion actuator, so the cube can pulled down by earth gravity. I modified your script.