Looking for a little end of round respawn script for TTT

This is a simple one but I’m not sure how to code it!

At the end of a round of TTT, I’d like to respawn all so they can mess around and join in with the post round DM.

hook.Add( "TTTEndRound", "EndSpawnAll", function()
   for _, v in pairs( player.GetAll() ) do
end )

Thanks mate! Just occurred to me that I may want to exclude spectators from this however, how should I do this? Also, can I just add this as a standalone autorun lua file?

Run it serverside, and do an if statement team check inside the loop. The team I believe is TEAM_SPECTATOR.

Thanks, you’re a top guy!