scoreboard objectives add chaosembeddedcheck dummy AgetoBlessing
scoreboard players add @a chaosembeddedcheck 1
execute as @e[hasitem={item=dotvi:chaos_helmet, location=slot.armor.head, quantity=1}] run /execute as @e[hasitem={item=dotvi:chaos_chestplate, location=slot.armor.chest, quantity=1}] run /execute as @e[hasitem={item=dotvi:chaos_leggings, location=slot.armor.legs, quantity=1}] run /execute as @e[hasitem={item=dotvi:chaos_boots, location=slot.armor.feet, quantity=1}, tag=!chaosembedded] run /tag @e add chaosembedded
execute as @e[hasitem={item=dotvi:chaos_helmet, location=slot.armor.head, quantity=0}, tag=chaosembedded, scores={chaosembeddedcheck=10}] run /tag @e remove chaosembedded
execute as @e[hasitem={item=dotvi:chaos_chestplate, location=slot.armor.chest, quantity=0}, tag=chaosembedded, scores={chaosembeddedcheck=10}] run /tag @e remove chaosembedded
execute as @e[hasitem={item=dotvi:chaos_leggings, location=slot.armor.legs, quantity=0}, tag=chaosembedded, scores={chaosembeddedcheck=10}] run /tag @e remove chaosembedded
execute as @e[hasitem={item=dotvi:chaos_boots, location=slot.armor.feet, quantity=0}, tag=chaosembedded, scores={chaosembeddedcheck=10}] run /tag @e remove chaosembedded
effect @a[tag=chaosembedded] regeneration 1 3 true
effect @a[tag=chaosembedded] saturation 1 6 true
effect @a[tag=chaosembedded] jump_boost 1 2 true
effect @a[tag=chaosembedded] speed 1 2 true
effect @a[tag=chaosembedded] strength 1 2 true
scoreboard players set @a[scores={chaosembeddedcheck=10}] chaosembeddedcheck 0