Jump Further When Key Is Held Down

I'm trying to make my player jump further if they hold down the W key. However, it appears that my player will always jump the same distance. I've been trying to figure this out for a rather long period of time now, and have not been able to find an answer yet. Thank you much for any help!

Have you tried using Debug.Log to Debug each if statement to see what is actually happening? So in each if Debug.Log the value of jumping, and also use Debug.Log to check if the if statement is actually being hit.

I really need to get in the habit of using Debug.Log... It was the || IsGrounded() on line 46... However, my object is now overcoming gravity unless my values are quite low. Anyways, the original question posed is solved. Thanks Meltdown : ).

@PianoHandsThePerson - it can be a fine line. I'd say the comment headed you down a successful path, but was not the answer. When you get a bit more Karma, giving them a thumbs up is the right thing to do.