#execute if entity @s[nbt={Inventory:[{Slot:103b,components:{"minecraft:custom_data":{50strength:tag}}}]}] 
#execute if entity @s[nbt={Inventory:[{Slot:102b,components:{"minecraft:custom_data":{50strength:tag}}}]}] 
execute if entity @s[nbt={Inventory:[{Slot:101b,components:{"minecraft:custom_data":{hpspdup2:tag}}}]}] run effect give @s speed 1 1
#execute if entity @s[nbt={Inventory:[{Slot:100b,components:{"minecraft:custom_data":{50strength:tag}}}]}] 