I'm very new to scripting and have been working on a popup gui. Basically whenever the player presses a button in the workspace, and script is supposed to make the gui which is located in startgui appear.
Here is the script located inside the button.clickdetector
function onClick(click)
game.StarterGui.ScreenGui.Enabled = true
print("done")
end
script.Parent.MouseClick:connect(onClick)
and all I have in the screen gui is
script.Parent.Enabled = false
to disable to gui whenever the player joins. Any help would be appreciated!

1 comment
also don't uses starters guis ;( players gui will be sads