I made this script that if there are not atleast five players in the game, this would be in the text..
while true do
if game.Workspace.PlayerCount.Players.Value <= 5
then
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = "Waiting for at least FIVE players to join..",
Color = Color3.new(196, 40, 28),
Font = Enum.Font.Arial,
FontSize = Enum.FontSize.Size24,
print("made it here lol")
})
wait(10)
end
end
however, this error pops up https://gyazo.com/548ea005d9c5e636a86935643d556c21
any ideas?

2 comments
the print('made it here lol') was to see how far the script got before it stopped working
FontSize is deprecated.