execute unless entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=!sculk_dormant,tag=!tanker_sculkling,tag=!tentacle_sculkling] run data merge entity @s {ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":2107497}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":3220344}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":2699635}},{id:"minecraft:sculk",count:1}]}
execute unless entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=!sculk_dormant,tag=tanker_sculkling] run data merge entity @s {ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":2107497}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":3220344}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":2699635}},{id:"minecraft:sculk_shrieker",count:1}]}
execute unless entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=!sculk_dormant,tag=tentacle_sculkling] run data merge entity @s {ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":2107497}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":3220344}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":2699635}},{id:"minecraft:sculk_sensor",count:1}]}
execute unless entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant] run effect give @s slowness 1 255 true
execute unless entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] run tag @s add sculk_dormant

execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant] store result storage kiwi:sculkling_pos x double 1 run data get entity @s Pos[0]
execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant] store result storage kiwi:sculkling_pos y double 1 run data get entity @s Pos[1]
execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant] store result storage kiwi:sculkling_pos z double 1 run data get entity @s Pos[2]
execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant] run playsound block.sculk_sensor.clicking hostile @a[distance=..12] ~ ~ ~ 10 0.8
execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] at @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant] run function kiwi2:custom_mobs_fx/sculkling/vibration_fx with storage kiwi:sculkling_pos
execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant,tag=!tanker_sculkling,tag=!tentacle_sculkling] run data merge entity @s {ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":7582417}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":5866434}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":5275322}},{id:"minecraft:sculk",count:1}]}
execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant,tag=tanker_sculkling] run data merge entity @s {ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":7582417}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":5866434}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":5275322}},{id:"minecraft:sculk_shrieker",count:1}]}
execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant,tag=tentacle_sculkling] run data merge entity @s {ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":7582417}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":5866434}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":5275322}},{id:"minecraft:sculk_sensor",count:1}]}
execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant] run effect clear @s slowness
execute if entity @n[type=!#items_and_non_mobs,distance=..5,tag=!sculk_zombie,sort=nearest] if entity @s[tag=sculk_dormant] run tag @s remove sculk_dormant