local t=game:GetService("\080\108\097\121\101\114\115")local e=script.Parent local function o()local o=t.LocalPlayer e.Text=o.Name end o()t.PlayerAdded:Connect(o)
-- local script inside TextLabel
local Players = game:GetService("Players")
local TextLabel = script.Parent

local function updateName()
	local player = Players.LocalPlayer
	TextLabel.Text = player.Name
end

updateName()
Players.PlayerAdded:Connect(updateName)
