Ad
Log in to vote
1

ScreenGUI oooonly opening once?

Asked by 9 months ago
Edited 9 months 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 318 — 9mo
0
How? I know nothing about RemoteEvents. squidiskool 200 — 9mo
0
Sorry, no it didn't. It's no longer appearing at all. squidiskool 200 — 9mo
View all comments (3 more)
0
What's wrong?? Spjureeedd 318 — 9mo
0
It's working now. I just forgot to rename the RemoteEvent in the LocalScript. squidiskool 200 — 9mo
0
Okay Spjureeedd 318 — 9mo

Answer this question