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.

3 comments
@iRzPWNzr that wouldnt work. he wants to get the username, but your asking him to input a username
Players.Player1.PlayerGui.Backpack.Backpack.Header.Header.L:7: attempt to concatenate global 'playergui' (a userdata value)
should be fixed