function PlayerManager.ResetPlayers(S)for S,z in ipairs(PlayerManager.ActivePlayers)do print(z.Name)CheckpointEvent:FireClient(z,{{"\114\097\099\101\070\105\110\105\115\104\101\100"}})CheckpointEvent:FireClient(z,{{"\114\101\115\101\116"}})PlayerConverter:SpeederToPlayerServer(z)end PlayerManager.ActivePlayers={}end
-- Runs when a round finishes. Reloads all players back into the lobby, removing tools and listeners.
function PlayerManager:ResetPlayers()
	for _, player in ipairs(PlayerManager.ActivePlayers) do
		print(player.Name)
		CheckpointEvent:FireClient(player, { { "raceFinished" } })
		CheckpointEvent:FireClient(player, { { "reset" } })
		PlayerConverter:SpeederToPlayerServer(player)
	end
	PlayerManager.ActivePlayers = {}
end
