So I’m trying to make a players name appear on the GUI and here’s the script:
local pservice = game:GetService("Players")
local plr = game.Players.LocalPlayer.Name
script.Parent.Text = "Welcome " .. plr.Name
but I get this error:
Players.imwatchingyou_haha1.PlayerGui.Gui.Frame.TextLabel.LocalScript:4: attempt to concatenate string with nil - Client - LocalScript:4