Round function?

Essentially what im looking for is a function where after a round of X amount of minutes the team with the most kills wins. Is there any function like this or one that just adds rounds? If so what is it.

You must code the round system yourself.

A simple google search would have left you with this. You can figure out the rest on your own.