game.Players.PlayerAdded:connect(function(plr)
game.StarterGui.GreenieEntered.Frame.Visible = true
game.StarterGui.GreenieEntered.Frame.TextLabel.Text = "A Greenie".."("..plr.Name..")".."has joined The Glade!"
wait(30)
if game.StarterGui.GreenieEntered.Frame.Visible == true then
game.StarterGui.GreenieEntered.Frame.Visible = false
end
end)
-- for some strange reason it doesn't work! please help...
COMMUNITY QUESTION
Why wont this player has entered gui work?
1 answer
Your script appears just fine, apart from the fact that you are editing StarterGui! That means it won't show up to anyone unless they respawn. To edit GUIs in real time, you should edit PlayerGui.
game.PlayerGui.GreenieEntered.Frame.Visible = true
I hope this answer helps! If you found it helpful, you can upvote and accept it.
This discussion is preserved as it was. New answers, comments, and votes are closed.
