How do I end my bed wars map after a team has no players left. (I'm not good with block code)

Try this all credit goes to @Ian_is_a_yay