I am trying to set a command block that only teleports someone if they have a certain status
(for example status 1,2,3)
I can change someone's status with a command black using [scoreboard status 1] but I can't figure out how to make it so it teleports them if they have the that specific status.
I am trying to set a command block that only teleports someone if they have a certain status
(for example status 1,2,3)
I can change someone's status with a command black using [scoreboard status 1] but I can't figure out how to make it so it teleports them if they have the that specific status.
Any help would be appreciated!
Do you have /tag
This is how you tp a player based on the scoreboard objective status
Use the command:
teleport @a[scores={status=1}] -55 56 -16
Set the command block to unconditional (click the conditional button)
@a means all players.
scores= means a scoreboard objective
{status is the name of the scoreboard objective
=1} is the value that the scoreboard must be at eg. 1,2,3 etc.
-55 55 -16 is the x y z coordinates to teleport the player
Then you can use any kind of redstone clock to keep checking it during the session.
Here is a picture of the command block:
Hope this helps and is what you are looking for!