1

I have a deathCount scoreboard called Death with a repeating always active command block with the command /testfor @p[Death=1] on singleplayer. Even when Death=1, the connected comparator doesn't turn on.

1

The correct syntax for the target selector argument for scoreboard values is score_NAME=X or score_NAME_min=X, where NAME is the name of the objective and X is an integer number. The former checks if the score is less than or equal to X, the latter is for greater than or equal to X. For a true equals, you need to put both.

In your case, you'll want to run

/testfor @p[score_Deaths_min=1]
|improve this answer|||||

Your Answer

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