What's wrong with my jumping script?

@OMN1B This thread is a bit lengthy but covers a lot of questions about jumping.

Hope it helps