Is there a way I can set an area, bigger than one block, to teleport players from? I'd like to randomly teleport people that are within this area to two or more destinations.
I'm making a minigame in which players all start in a hub, and a command blocks picks one of the players in the hub area randomly and teleports them to either the blue team or red team side. My problem when trying this was that it would teleport people no longer in the hub area, making it so that a person on the blue team could randomly get swapped to the red team or from red to blue.
How can I make the command only target people in a certain area?
I'm currently on Minecraft 1.10.2 for PC.