I am making a script that essentially does this:
Player clicks button While the player is in range of the button and still 'working' the value "progress" increases by 1 every second
This is what I am stuck on: When progress is >= 100 the player can no longer 'work' the button
My question is, how could you disable a script/part of the script vital to progress increases? i.e. making a function no longer run/disabling the whole script. I am happy to post my script(s) in an edit if someone requests.