So i made a script where it will say if a admin joined but it does not work!
--admin joined game script game.Players.PlayerAdded:connect(function(plr) if plr.leaderstats.Admin.Value == "YES" then game.StarterGui:SetCore("ChatMakeSystemMessage", { Text = "An admin has joined the game"; Font = Enum.Font.SciFi; Color = Color3.new(255,0,0); FontSize = Enum.FontSize.Size96; }) end end)
you could potentially be checking the value before it loads in, i would just put a wait() at the top, or:
while plr.leaderstats.Admin.Value == "" do wait() end