Just add a bool which flips true after pressing a button and have a timer count down if its true that flips it to false after so long(heads up your timer will need to reset on button press aswell)
Just add a bool which flips true after pressing a button and have a timer count down if its true that flips it to false after so long(heads up your timer will need to reset on button press aswell)