How to Properly Destroy All Player Builds In Game?

How would I go about Properly destroying all player Builds in a game? Is there some sort of game function that would allow me to do so?

Thanks in advance!