Multiplayer player spawn help

I’m trying to create a script where different players will spawn with different prefab as they join/connect a game. So when the first player join the match, it spawns 1st player prefab, when a second player joins, 2nd player prefab spawns etc. Help please?

Create a script with a list of GameObject. Each player will instantiate the last (or first) and you can then remove it from the list.