I am trying to make a script where it will update the gui to the user's username
username = NEED HELP HERE player = game.Players.LocalPlayer.PlayerGui header = game.Players.LocalPlayer.PlayerGui.Backpack.Backpack.Header.Header if header.Visible == true then header.Text = " "..player end
So i am trying to figure out how to "get" the users username...
Thanks in advanced.
player = game.Players.LocalPlayer playerGui = player.PlayerGui username = player.Name header = game.Players.LocalPlayer.PlayerGui.Backpack.Backpack.Header.Header if header.Visible == true then header.Text = username end
username = game.Players.LocalPlayer.Name player = game.Players.LocalPlayer.PlayerGui header = game.Players.LocalPlayer.PlayerGui.Backpack.Backpack.Header.Header if header.Visible == true then header.Text = " "..player end
Hi, I think this would help:
PlayerToolGUI = game.Players.LocalPlayer.PlayerGui --You can't name something after an official function, so I made it PlayerToolGUI header = game.Players.LocalPlayer.PlayerGui.Backpack.Backpack.Header.Header game.Players.PlayerAdded:connect(function(player) repeat wait()until player.Character if player.Name=="InsertPlayerNameHere" then if header.Visible == true then header.Text = " "..player end end end)
Edit away to your desire.
Locked by Thewsomeguy and AmericanStripes
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?