Use code tags when posting code: Using code tags properly
The issue is that you never use the “isTouchingGround” bool variable.
You set the value of “isTouchingGround” in Update(), but you don’t actually do anything with it; you need to disable jump somehow when it’s set to false.
An easy way to spot these kinds of issues if you’re using something like Visual Studio is to look at the variable name:
White means it’s being used, and gray means it isn’t.