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

How do I get the user's name on a GUI?

I'm working on a social network inside of ROBLOX, and I was wondering how I can get the local player's name on the GUI text..Any ideas?

2 answers

gui = PATHTOGUI

game.Players.PlayerAdded:connect(function(player)
gui.Text = player.Name
end)

1 comment

0

Thank you so much(:

Depends on which kind of GUI but if it is a Gui that has a text in it,you try to find which is the text you want to put the person's name in

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