How do I make a textlabel display the players username?

For some reason I completely forgot about script.Parent - that would have probably finished the conversation 15 minutes ago had I not forgotten about it.

The communication is the hardest part in devforumn

1 Like

Did not work. As you mentioned earlier Roblox is cas sensitive, maybe the issue is in the all caps PLAYERGUI? No output message for this one.

Did not work.

  20:04:04.140  Baseplate auto-recovery file was created  -  Studio
  20:04:12.262  Players.TillLindemann156.PlayerGui.ScreenGui.console.command.usrname.LocalScript:1: Malformed string; did you forget to finish it?  -  Studio - LocalScript:1

Did not work.
Progress, now it displays Players instead of Label.

did you try mine? the script is above

local Label = script.Parent
Label.Text = game:GetService("Players").LocalPlayer.Name
3 Likes

Forgot LocalPlayer XDDDDDDDD
Label.Text = game:GetService("Players").LocalPlayer.Name

1 Like

Brownie points for you. God bless, and thanks everyone else for trying.

This is good too, you should probably use this.

Iā€™m just shocked it took a hour to solve a problem that might as well be simplified to be just 2 + 2

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.