Could this help? https://wiki.srb2.org/wiki/Lua/Custom_player_ability
I don't know how much help I myself will be, because I haven't made any mods. But it looks like you want not (player.cmd.buttons & BT_USE) and player.rings >= 10 to be true before starting the ground-detecting and boosting code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.