Hello! In this guide, I will show you how to deactivate a button after it is pressed a certain amount of times.
First, place a button and a wire repeater. Wire it to the wire repeater (button pressed → repeat wire pulse.)
If you want the button to deactivate after just one press, then wire the wire repeater to the button (when the wire repeater receives a pulse → deactivate button.) Otherwise, move on to the next step.
Place a counter. Click on it to access its settings, then click on the “target” tab. Set it like this:
Once that’s done, you should see a setting called “Target Value” pop-up.
Set it to however many presses you want the button to be able to get before deactivating.
For the final step, wire the counter to the button (target value reached → deactivate button.)
Annnnnnnnnnd that’s all! I hope this guide was helpful. Happy gimkitting!