Spawning On Different Spawners

So i have 2 set of spawners, spanwers A (Inside a small lobby arena), and spawners B (Inside the fighting arena). I want to make a system where a player’s first spawn will be a spawner from spawner A, and then after that, he will respawn in spawners B. And i want it to work with people joining mid game too. So whenever someone joins he will go to spawners A first, then spawners B. whenever the game started, and someone joins in later on joins back, he will spawn in spawners A again, so initially whenever someone joins the server and whenever the game starts first they go to spawners A