Command to add 1 scoreboard value if..

Command to add 1 scoreboard value if a diamond chestplate with the custom data tag:voidsteel_chestplate is equipped execute as @a if entity @s[nbt={Inventory:[{id:"minecraft:diamond_helmet",Slot:103b,components:{"minecraft:custom_data":{tag:voidsteel_helmet}}}]}] run scoreboard players add @s voidsteel_count 1 I've run a very similar command to detect if the player is holding a tool with that tag and it works but the armour commands won't work: execute as @a if entity @s[nbt={SelectedItem:{id:"minecraft:diamond_axe",count:1,components:{"minecraft:custom_data":{tag:voidsteel_axe}}}}] run scoreboard players add @s voidsteel_count 1
Continue to help post