In my game you need to fix things by pressing X. When X is pressed an animation of the guy fixing is played, then the text changes for the number of things left to fix, then the broken thing's game object is destroyed.
The issue I'm having is if the player spams X when fixing one thing it minuses the amount left enough to win the game without having to fix the other things (if that makes sense).
I have tried adding delays and stopping time, which haven't had the desired result.