function PlayerManager.resetPlayers()actionManager:UnbindGameActions(activePlayers)for y,w in pairs(activePlayers)do leaderboardManager:resetStat(w,"\080\111\105\110\116\115")respawnPlayerInLobby(w)end activePlayers={}end

function PlayerManager.resetPlayers()
	actionManager:UnbindGameActions(activePlayers)
	
	-- REMINDER: Runs for only players actively in the game and doesn't affect those in the lobby. 
	for playerKey, whichPlayer in pairs(activePlayers) do
		leaderboardManager:resetStat(whichPlayer, "Points")
		respawnPlayerInLobby(whichPlayer)
	end

	-- Clears the entire table so it can be used for a new game
	activePlayers = {}
end
