Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

My gui isn't showing up, though I am enabling it right now?

I have a local script that's supposed to make this visible, but it isn't working

local gui = game.StarterGui.ScreenGui
wait(20)
gui.Enabled = true

1 answer

✓ Accepted answer

This is happening because everything in startergui replicates to the player's gui, and it replicates every time the player spawns in, this is the way to do it

local gui = game.Players.LocalPlayer.PlayerGui:WaitForChild("ScreenGui")
wait(20)
gui.Enabled = true

2 comments

0

Thx

0

true

This discussion is preserved as it was. New answers, comments, and votes are closed.