here is my script (its local)
local player = game.Workspace.localPlayer local repStorage = game:GetService("ReplicatedStorage") local remote = repStorage:FindFirstChild("ButtonClick") mouse = player:GetMouse() local idoit = script.Parent UI = game.StarterGui.KiKidied.tooxtbutton --idk why i named it that no judge idoit.MouseButton1Click:Connect(function() player.PlayerGui.UI.Enabled = true end)
I suggest putting the local script in playergui or starterplayerscript. If you want a gui to be visible, it be like the following example below. local GUI = blahblah local Button = GUI.Button
local frame = GUI.Frame
Button.MouseButton1Click:Connect(function() Frame.Visible = true end)