The command set I have right now is "/execute if score @r Deaths matches 1 run scoreboard players set @s Deaths 0" on a repeating command block, "xp add @s -1 levels" but so far I am getting no output. What should I change while keeping the same relative format?
# Setup
/scoreboard objectives add Deaths deathCount
# Repeating
/execute as @a[scores={Deaths=1}] run xp add @s -1 levels
# Chain
/execute as @a[scores={Deaths=1}] run scoreboard players set @s Deaths 0
The command set I have right now is "/execute if score @r Deaths matches 1 run scoreboard players set @s Deaths 0" on a repeating command block, "xp add @s -1 levels" but so far I am getting no output. What should I change while keeping the same relative format?
Hello,
The following commands should accomplish this:
Hope this helps!
-TechnoBro03
Good to see you again! Thank you so much for all of your help!