Command Block Death Detection | Minecraft Tutorial |

Аватар автора
Секреты Профессионального Развития
today i show you have to detect when a player dies and execute a command when the player dies. first command:/scoreboard objectives add B deathCount second command:/execute if entity @a[scores={B=1..}] run say hi third command:/execute if entity @a[scores={B=1..}] run scoreboard players reset @a the second and third command are repeating commands blocks that are always active

0/0


0/0

0/0

0/0