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

How do I make a textlable show a players name?

I have been trying a lot to make this happen and looking for scripts but I cant find one that will work, can anyone help me?

1 answer

✓ Accepted answer

you said text label so I assume you're using a local script

you can simply do:

script.Parent.Text = game.Players.LocalPlayer.Name

3 comments

0

A question, will the local script go inside the text label?

0

it worked! I had to change your script a bit though, I made it look like this:

0

game.Workspace.Player.Sign.SurfaceGui.SIGN.Text = game.Player.LocalPlayer.Name ( ALL OF THIS LOCAL SCRIPT WAS PUT IN STARTERPLAYERSCRIPTS! thanks for your help. and to be clear the PlayerSign is the object and the SurfaceGui is for the textlable. Thanks so much.

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