local debounce = true while debounce == true do if getPlayerNumberInTeam(tostring(game.Teams.Toons.TeamColor)) == 0 or getPlayerNumberInTeam(tostring(game.Teams.Cogs.TeamColor)) == 0 then debounce = false wait() end wait() end
This script works so it pauses the script until either the team "Toons" or the team "Cogs" has 0 players, however it only works when the Toons has 0 players, it doesn't work for cogs. Help please?