execute at @s run particle squid_ink ~ ~ ~ 0.1 0 0.1 0 3 normal
execute at @s align xz as @a[team=maid,limit=1,dx=0] run damage @s 3 minecraft:magic
execute at @s run playsound minecraft:entity.squid.death block @a ~ ~ ~ 0.02 0
scoreboard players remove @s maid.item.health 35
execute if score @s maid.item.health matches ..10 run return run function ws:work/misc/tier2/maid/deactivatedirt {pay:35,type:'ink'}
execute store result entity @s text_opacity int 1 run scoreboard players get @s maid.item.health