Hello, I'm trying to setup a gui type main menu that displays the players username. I cant seem to figure it or find any guides online.
This is what i've got so far.
game.Players.PlayerAdded:Connect(function(plr) script.Parent.Text = plr.Name end)
In a local script, and create a StringValue (physically in the workspace).
local players = game:GetService("Players") local player = game.Players.LocalPlayer game.Workspace.StringValue.Value=player.Name
Then in a script inside of the GUI, inside of the textlabel:
script.Parent.Text = game.Workspace.StringValue