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

How to script a ScreenGUI to be visible for all players [URGENT]?

Asked by 6 years ago

Hello, I have tried to make a script to make a GUI Appear on the players screen when the script is run. The script is in workspace and the GUI is in StarterGUI. I have no idea how to make it visible on all players screens.

0
What do you mean?, You have a GUI In The StarterGui and you want to make it visible for all players with a script? Lava_Scripter 109 — 6y
0
Yes. AwesomePlaysRoblox12 2 — 6y

1 answer

Log in to vote
0
Answered by
Nep_Ryker 131
6 years ago
Edited 6 years ago

Put the script inside StarterGUI. Putting the script inside Workspace meas that you're changing the GUI, not the player GUI. And it should be something like this:

script.Parent.Gui.Enabled = true
0
Or, if you want to make the script not reset when the player dies. I suggest you put the script inside the Gui itself and uncheck the "ResetOnSpawn" at the Gui. Nep_Ryker 131 — 6y
0
First time having my answer accepted PHOOH! :D Nep_Ryker 131 — 6y
Ad

Answer this question