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

How put local player's nickname in text labe?l [gui]

Asked by 5 years ago

So I tried to find it how to make it and I diddnt found it so if you know what to do you can help me

0
This is more likely a request, and it's too broad :c Can you explain what do you mean by nickname? Is it roleplay name in roleplay games or player's username? Afterl1ght 321 — 5y
0
I mean there is gui text label and its show player nickname gamerpolakpl 0 — 5y

2 answers

Log in to vote
0
Answered by 5 years ago
script.Parent.Text = game.Players.LocalPlayer.Name
Ad
Log in to vote
0
Answered by
MiguRB 60
5 years ago

So first add a local script to your text label.

Type this inside the local script:

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

It changes the text of the label to the local player's Name.

Answer this question