local clickdetector = script.Parent local gui = game.StarterGui.ScreenGui.Frame
clickdetector.MouseClick:Connect(function() gui.Visible = true end)
I suggest just checking for the mouseclick locally. You'll have to make the part more identifiable by changing its name to something more unique
-- Local Script parented to ScreenGui local clickdetector = workspace.Part.ClickDetector -- Path to click detector clickdetector.MouseClick:Connect(function(plr) if plr == game.Players.LocalPlayer then script.Parent.Frame.Visible = true end end)