how do i make the map reset when the player dies?

title pretty much says it all


hook.Add( "PlayerDeath", "Map Cleanup", function()
   game.CleanUpMap()
end )