注意区块加载,绝对好用 先输入(玩家):/scoreboard objectives add a dummy 死亡次数 /scoreboard objectives add a1 dummy /scoreboard objectives setdisplay sidebar a descending 命令方块(常开):第一个:execute @e[type=player,scores={a1=1}] ~~~ scoreboard players add @s a 1 第二个:execute @a ~~~ scoreboard players set @s a1 1 第三个:execute @e[type=player] ~~~ scoreboard players set @s a1 0