I need help creating a successful death counter that connects to a scoreboard. I have a detection system already thought out but I can't test to see if it works. Here's my thought process:

  1. Players Pvp.
  2. When killed, teleport to their 'base' and a point is rewarded as "Deaths."
  3. After a player has reached twenty "Deaths," he/she will be teleported to a different location where they can view the other players.

Redstone workings: (After Death Counter)

A redstone clock will constantly trigger a testfor command block that has:

/testfor @a [score={Deaths=20..}]

with a comparator monitoring for output to power a command block with:

/tp @a {scores=Deaths=20..}] x y z

and kill them again so it doesn't keep teleporting them (although I don't know for sure if the comparator will pick up the change and activate more than once).

I'm on console edition so any changes to the commands with syntax are probably subject to change. Try to make it BE friendly, and do not use XP as part of the workings.


I actually posted an incorrect answer on your previous solution. It would have worked, but there was a much more sinister problem that is halting your operation.

Look on the Minecraft Wiki on Scoreboards.

In Bedrock Edition

Currently, dummy is the only criterion supported. As such, score can only be changed by commands.