how to make a open and close gui on roblox Minecraft Servers

Essential how to make a open and close gui on roblox Minecraft Servers