Sorry for the long title.
Basically, what I'm looking for, is when you wait a few seconds at a layout, something happens. But I also have a button that changes to a different layout, and there's a button there that changes to the previous layout. The problem about this, is when you switch to the layout with the wait command, it resets, so the player can just delay the wait command by rapidly clicking the button. I have tried alot of things to fix this but I couldn't get it fixed. Thought I'd come here to get some help.