So i made a script where it will say if a admin joined but it does not work!
01 | --admin joined game script |
02 |
03 | game.Players.PlayerAdded:connect( function (plr) |
04 | if plr.leaderstats.Admin.Value = = "YES" then |
05 | game.StarterGui:SetCore( "ChatMakeSystemMessage" , { |
06 | Text = "An admin has joined the game" ; |
07 | Font = Enum.Font.SciFi; |
08 | Color = Color 3. new( 255 , 0 , 0 ); |
09 | FontSize = Enum.FontSize.Size 96 ; |
10 | } ) |
11 | end |
12 | end ) |
you could potentially be checking the value before it loads in, i would just put a wait() at the top, or:
1 | while plr.leaderstats.Admin.Value = = "" do wait() end |