Try it like so:
Also, you do not need to run this onTick. You could test it only when you press jump.