How do I stop mass clicking?/Flying?

When I play my game, I can click as much as I want, I virtually make my character fly, how do I stop this?

flying is stopped in the run and jump bundle copy that, you need to use a switch

in the run and jump bundle, the up output of the jump key turns the switch off. That does not work all the time though, you have to delete that link between the up output and off input. Replace that with the y output of the impulse component connected to the off input of the switch.

ok thanks i will try that