local ClickDetector = workspace.ClickDetector -- the click detector obj
local GUI = game.Players.LocalPlayer:WaitForChild("PlayerGui").GUI.Frame -- This is just the gui object
--local script:
ClickDetector.MouseClick:Connect(function()
GUI.Visible = true
GUI.Active = true
end)
so this should work? But where should I place the TicketGUI then?
in your script you are trying to change the gui that appears when other people join (or something like that idk how to explain) and you need to change it from the player
i can recommend a server script in the brick with the following code:
Leave the TicketGUI in the StarterGui service – the service is a holder for GUIs (and scripts), which are then cloned into a player’s PlayerGui. The PlayerGui is where the GUIs are shown/rendered on the player’s screen.