How would i go about scripting a round system for my game

Hello there, i would like to make a round system for my game Isolation but i have no idea where to start

What do you mean by a round system?
Do you want something like different waves?
Describe your problem more, please

a while ago i had a game that worked with rounds (place players onto map, have them play, end the round when the timer ends or no players are left)

way it worked was some functions to choose teams and teleport them onto the map
a RoundInProgress variable was set to true
every time a player was defeated run a check for how many players remain in the round
if there are no players, or there was a winner, then run a function to respawn everyone and destroy the map. set the RoundInProgress to false

ill give a bit of context if it’ll help

so im making a game where its a 6v6, each player having 1 life. once one clan gets wiped out entirely then said clan wins

i want to design it around that core mechanic