**What i Mean Is Like I Make A Frame Then I Add Button One That Says Open And One That Says Close But When You Press The Close It Closes The Gui And Also Displays The Open Button Then When You Press That It Displays The Gui And Close Button
Can Someone Help Me?**

3 comments
I would add a wait(3) before the open = false so they do not spam click, that way the debounce works.
Tabbing + locals are a neat way to make your script readable.
locals doesn't really make it more readable. Also, you could shorten this a ton :3