Fnaf door mechanics

i have made a functional Fnaf game but the doors are not good. there are buttons for closing and opening on each door. how to make this so there is only one button?

You could either overlay the buttons on top of each other and have the open door button deactivate when pressed, while activating close door button, and vice versa, or you can have the door close by itself over time, using only 1 button.

If this works then you can mark a solution.

Connect wires from the button to both doors.