I've tried 2 ways. One with replacing "repeat wait() until player:FindFirstChild("PlayerGui") pg=player:FindFirstChild("PlayerGui")" with "local pg=Player.Playergui, and one with the "repeat wait() until player:FindFirstChild("PlayerGui") pg=player:FindFirstChild("PlayerGui")". Neither work. Help?
game.Players.PlayerAdded:connect(function(player)
--[[
repeat wait() until player:FindFirstChild("PlayerGui")
pg=player:FindFirstChild("PlayerGui")
--]]
local pg=player.PlayerGui
pg.UI2.Frame.Welcome.Text="Welcome to the Centre, " ..player.Name.. " please abide to ze rules"
end)
