If I want to test if a player has in an InvetorySlot nothing the command won't work. (/execute as @a[nbt={Inventory:[
{Slot:102b,id:"minecraft:air"}]}] run scoreboard players set @s armorslotfrei 2)
If I test if a Player has in an InvetorySlot another item it'll work. (/execute as @a[nbt={Inventory:[{Slot:102b,id:"minecraft:elytra"}]}] run scoreboard players set @s armorslotelytra 2)