game.Players.PlayerAdded:Connect(function(plr) if plr.Name == "CTGM_DEV" then script.Parent.TextLabel.Text = "Owner is here!" else script.Parent.TextLabel.Text = "Owner is not here." end end)
Try this maybe... I'm on mobile so not entirely sure if that's correct
local textLabel = script.Parent:WaitForChild("TextLabel") local text = "Owner is not here." for i,v in pairs(game.Players:GetChildren()) do if v.Name == "CTGM_DEV" then text = "Owner is here!" else text = "Owner is not here." end end textLabel.Text = text