How to implement it into 4 buttons for the puzzle door

What’s the puzzle? ( It’s not obvious from the code ).