Hello, I made some scripts to disable all inputs for a split second, when a button is pressed, to prevent button mashing.
However, it’s getting in the way of other things now, and it’s really just two buttons or so that I need temporarily disabled when a button is pressed.
Is there a way to make my script only disable those two inputs alone instead of all inputs?
Set the Boolean correctly (similar to how you are blocking all input now) and Clear it when it’s ready to be used again.
Check the value of this Boolean as the first step on Input. If Boolean is True, do not go any further. If it is False, then you can enter the rest of the logic.