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

Problem with playername gui?

Asked by
Relatch 550 Moderation Voter
9 years ago
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

Log in to vote
0
Answered by 9 years ago

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

0
Yes. Relatch 550 — 9y
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 Blitz12234 10 — 9y
Ad

Answer this question