How to run commands depending on players scoreboard?
In the selector arguments, use score_SCORENAME=
and score_SCORENAME_min=
. For example, to teleport a player with at least 1 of a "Kills" objective:
/tp @a[score_Kills_min=1] 0 70 0
In the selector arguments, use score_SCORENAME=
and score_SCORENAME_min=
. For example, to teleport a player with at least 1 of a "Kills" objective:
/tp @a[score_Kills_min=1] 0 70 0