I have a GUI in StarterGui that is already set at visible = false from the properties tab. I have a line of code that makes it visible and changes the Text. However, the GUI does not show up on my screen until AFTER I reset. How can I fix this?
✓ ANSWER ACCEPTED
Why does my GUI only show after I reset?
2 answers
✓ Accepted answer
See, The problem is, is that you're changing the StarterGui, NOT, the playergui. The StarterGui just replicates itself to the player, not changing/updating it.
instead try this:
for _, Player in pairs(game.Players:GetChildren()) do
if Player:IsA("Player") then
Player.PlayerGui.ScreenGui.Frame.TextLabel.Visible = true
end
end
1 comment
0
Thanks!
Whats the script? And where is it located?
1 comment
0
Its in the workspace. The code is: game.StarterGui.ScreenGui.Frame.TextLabel.Visible = true
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Please provide script, we are not mind readers.