For some reason, my ScreenGUI is only opening once. It's from a ClickDetector. This is a server script. Also don't tell me to use "Visible" because that's not a property in ScreenGUIs.

local clickdetector = game.Workspace.SELECT.ClickDetector
clickdetector.MouseClick:Connect(function(player)
    player:WaitForChild('PlayerGui').SpawnCar.Enabled = true
end)

7 comments

0

A Server Script can't see what's inside PlayerGui as it's not replicated. Use a RemoteEvent and a LocalScript

0

How? I know nothing about RemoteEvents.

0

Sorry, no it didn't. It's no longer appearing at all.

0

What's wrong??

0

It's working now. I just forgot to rename the RemoteEvent in the LocalScript.

0

Okay