I'm trying to display a players username on TextLable in ScreenGUI but...
I've tried many scripts including this one:
local player = game.Players.LocalPlayer game.StarterGui.YourHealthBar.Frame.TextLabel.Text = print(player)
and tried looking up the answers to other people that have asked the same question but I still couldn't get it to work.

1 comment
Has to be a localscript though