how-can-i-make-it-so-this-button-can-only-be-pressed-one-time-until-the-action-finishes?-and-when-it-finished-you-only-can-press-the-other-button?

How can I make it so this button can only be pressed one time until the action finishes? And when it finished you only can press the other button?

Hello there, I am new to scripting and I’ve managed to make a door. But I can not come across any video about how can I do this. This is a photograph of the code:

A.png

This is just the up button, the down button has the similar code but the perform name is improved.

Leave a Comment