User blog:TYAEPIC/How do you make a working lobby?

Im trying to make a lobby for my game Galaxy Wars Based off of Star Wars But i dont know how to teleport players after a team wins Please help