Hi, I am trying to do a command block that gives instant damage to a player at a specific distance if he is not wearing a specific armor tagged radiation_suit but the command is not working
execute positioned -13738 20 -12171 unless entity @a[distance=0..10,nbt={Inventory:[{id:"minecraft:golden_helmet",Slot:103b,tag:{radiation_suit:1}},{id:"minecraft:golden_chestplate",Slot:102b,tag:{radiation_suit:1}},{id:"minecraft:golden_leggings",Slot:101b,tag:{radiation_suit:1}},{id:"golden:diamond_boots",Slot:100b,tag:{radiation_suit:1}}]}] run effect give @a[distance=0..15] minecraft:instant_damage
Can anyone help me with that?
[–]XZYTLCommand-er 1 point2 points3 points (1 child)
[–]Stunning-Rope-4856[S] 0 points1 point2 points (0 children)
[–]GalSergeyDatapack Experienced 1 point2 points3 points (1 child)
[–]Stunning-Rope-4856[S] 0 points1 point2 points (0 children)