Hello, I need some help with “Welcome, player”… While I am aware there are dozens posts out there… I tried searching and didn’t find a solution to this.
This is what I tried so far (even looking up in devforum, etc) and these don’t work:
local txt = script.Parent
txt.Text = "Welcome, "..game.Players.LocalPlayer.Name
local player = game.Players.LocalPlayer
local txt = script.Parent
txt.Text = "Welcome, " .. player.Name
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local txt = script.Parent
local function updateWelcomeMessage()
txt.Text = "Welcome, " .. player.Name
end
Players.PlayerAdded:Connect(updateWelcomeMessage)
I know this is a simple thing and it’s just silly but I really don’t understand what is wrong…