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)
✓ ANSWER ACCEPTED
How do I make a GUI text label say when the owner is there and when the owner is not there?
1 answer
✓ Accepted answer
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
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thanks!