In the open Button Localscript is:
script.Parent.MouseButton1Click:Connect(function() script.Parent.Visible = false game.StarterGui.ScreenGui.Frame.Visible = true end)
And in the close Button Localscript is:
script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Parent.Visible = false game.StarterGui.ScreenGui.TextButton.Visible = true end)
It needs to be an error even my scripter friend says that it should work Please help!
Problem
StarterGui is a container for your GUIs. When a player joins the game, the contents of StarterGui will be replicated and placed in the player's PlayerGui.
Solution
Reference the GuiObject from PlayerGui
FIXED CODE
local Client = game.Players.LocalPlayer local PlayerGui = Client.PlayerGui script.Parent.MouseButton1Click:Connect(function() script.Parent.Visible = false PlayerGui.ScreenGui.Frame.Visible = true end) script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Parent.Visible = false PlayerGui.ScreenGui.TextButton.Visible = true end)