I am working on a game right now and I am trying to make my main script do the following:
When the team 'Dead' has less than 9 players, start a countdown When the team 'Dead' has 9 players, stop the countdown and state that the 'Hunter' has one When the team 'Dead' has less than 9 players and the countdown finishes, I want the game to state 'Players have one'
This is what I have so far and I also have a script that assigns a dead player to the team. I know that this is far from right, but it is what I have as of right now. Help and tips would be greatly appreciated.
if game.Teams['Dead'] < 9 then for i = 10, 0, -1 do status.Value = 'Time Left: '..i else status.Value = 'Players Win!' if game.Teams['Dead'] == 9 then status.Value = 'Hunter Wins' wait(3) else status.Value = 'Players Win!' wait(3) end end