Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

ScreenGUI oooonly opening once?

Asked by 4 years ago
Edited 4 years ago

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)
0
A Server Script can't see what's inside PlayerGui as it's not replicated. Use a RemoteEvent and a LocalScript Spjureeedd 385 — 4y
0
How? I know nothing about RemoteEvents. squidiskool 208 — 4y
0
Sorry, no it didn't. It's no longer appearing at all. squidiskool 208 — 4y
View all comments (3 more)
0
What's wrong?? Spjureeedd 385 — 4y
0
It's working now. I just forgot to rename the RemoteEvent in the LocalScript. squidiskool 208 — 4y
0
Okay Spjureeedd 385 — 4y

Answer this question