execute as @a[nbt={Inventory:[{Slot:102b,tag:{kyuabsorbmodule:1b}}]}] run function zzzzdonotuse:modifyarmor/modules/absorptioneffect
#effect give @a[nbt={Inventory:[{Slot:102b,tag:{kyuabsorbmodule:1b}}]}] absorption 1200 0
#tellraw @a[nbt={Inventory:[{Slot:102b,tag:{kyuabsorbmodule:1b}}]}] ["",{"text":"Your 'Absorption' module has activated!","color":"yellow","italic":true}]
tag @a[nbt={Inventory:[{Slot:103b,tag:{kyuglasswardmodule:1b}}]}] add GlassWard
tellraw @a[nbt={Inventory:[{Slot:103b,tag:{kyuglasswardmodule:1b}}]}] ["",{"text":"Your 'Glass Ward' module has refreshed!","color":"yellow","italic":true}]

tag @a[nbt={Inventory:[{Slot:101b,tag:{kyulavashieldmodule:1b}}]}] add KyuLavaShield
tellraw @a[nbt={Inventory:[{Slot:101b,tag:{kyulavashieldmodule:1b}}]}] ["",{"text":"Your 'Lava Shield' module has refreshed!","color":"yellow","italic":true}]




#kill @e[name=OreL3]
#execute at @s run summon armor_stand ~ ~ ~ {CustomName:"\"OreL3\"",NoGravity:1,Invisible:1b,Silent:1b}
tag @e[type=item] add ItemKillKyu
execute at @e[name=KyuChest] positioned ~25 1 ~ run tag @e[distance=..15,type=item] remove ItemKillKyu
tag @a remove HasteReset
tag @a remove HorseReset
tag @a remove LadderReset
tag @a remove InvisReset
tag @a remove ResistReset
tag @a remove SlowfallReset
tag @a remove PortalReset
tag @a remove HomeCD
tag @a remove NoBookQ
tag @a remove HorseCharge1
tag @a remove SlowfallCharge1
tag @a remove SlowfallCharge2
#scoreboard players set @s KyuBedrock 4
tag @s remove IsNightKyu
