scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=6,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:golden_carrot",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:blaze_powder",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute at @s[scores={KyuDummy=8..},nbt=!{Item:{tag:{kyuinvismodule:1b}}}] run function zzzzdonotuse:modifyarmor/modules/addinvismodule
scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=8,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:emerald_block",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute at @s[scores={KyuDummy=8..},nbt=!{Item:{tag:{kyuluckmodule:1b}}}] run function zzzzdonotuse:modifyarmor/modules/addluckmodule

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:slime_block",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:piston",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute at @s[scores={KyuDummy=4..},nbt=!{Item:{tag:{kyujumpmodule:1b}}}] run function zzzzdonotuse:modifyarmor/modules/addjumpmodule

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,nbt={Item:{tag:{kyulavaboots:1b}}}] run scoreboard players add @s KyuDummy 1
execute as @s[scores={KyuDummy=1..}] run execute at @s run execute as @e[distance=..5,type=item,tag=!SaveMe] run function zzzzdonotuse:modifyarmor/modules/checkfrostwalkdepthstrider
execute as @s[scores={KyuDummy=1..}] run execute at @s run execute at @e[distance=..5,type=item,tag=!SaveMe,tag=SoulSItem] run scoreboard players add @s KyuDummy 1
execute as @s[scores={KyuDummy=1..}] run execute at @s run execute at @e[distance=..5,type=item,tag=!SaveMe,tag=DepthSItem] run scoreboard players add @s KyuDummy 1
execute at @s[scores={KyuDummy=1..}] run execute as @e[distance=..5,type=item,tag=!SaveMe] run function zzzzdonotuse:modifyarmor/checkspeedpotion
execute as @s[scores={KyuDummy=1..}] run execute at @s run execute at @e[distance=..5,type=item,tag=!SaveMe,tag=SpeedPoot,limit=1] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:ice",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:packed_ice",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:blue_ice",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:netherite_scrap",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute at @s[scores={KyuDummy=8..},nbt=!{Item:{tag:{kyusuperbootsmodule:1b}}}] run function zzzzdonotuse:modifyarmor/modules/addsuperbootsmodule



