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

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

Asked by 10 years ago

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

Log in to vote
0
Answered by
yurhomi10 192
10 years ago
gui = PATHTOGUI

game.Players.PlayerAdded:connect(function(player)
gui.Text = player.Name
end)
0
Thank you so much(: frogfriend99 10 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

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

Answer this question