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

Problem with playername gui?

game.Players.PlayerAdded:connect(function(player)
    local pname = player.Name
    player.PlayerGui.ScreenGui.Frame.TextLabel.Text = "Welcome to the game"..pname.."!"
    player.PlayerGui.ScreenGui.Frame.Active = false
end)

Error:

ScreenGui is not a valid member of PlayerGui

1 answer

✓ Accepted answer

So what your basically trying to do is make this a welcome gui when the player join the game?

2 comments

0

Yes.

0

Well Making A Welcome Gui Isnt Really As Hard The onlly thing you will need is a script that closes it and make it inactive

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