1

On bedrock edition,I'm trying to make a game and I only need to put in a system to see if a team has 10 points so they can win the game. I also dont know how to get an output from the command block. I tried /testfor Blue[scores={Score=10}]

(Score is the objective)

Of course, I am using a fake player to keep score of each team. Does this change the way it outputs?

0

To test a fake player's score, use /scoreboard players test instead of /testfor.

/scoreboard players test Blue Score 10 10

The first 10 is the min, the 2nd 10 is the max.

| improve this answer | |
  • When I try to add the armor stand to the scoreboard, I don't know if I am adding the armor stand or a new fake player. Also, what is the command to check the minimum Score? I tried /testfor Blue[scores={Score=..2}] – Oz Kalvan Jun 11 at 19:00
  • It works! Thank you so much! – Oz Kalvan Jun 11 at 19:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.