I'm making a server full of mini-games, and I'm running into small problems on specific games. I got everything set up except for this issue:
In racing games, I'm having trouble teleporting the winner (or top 3, I know how to place them) to a "podium": I don't know how to let the game know how many players there are, and teleport the winners into one area and everybody else into another.
/execute if score
for the second part of your question. Source: reddit.com/r/MinecraftCommands/comments/918tz0/comment/e2xek05