particle squid_ink ~ ~ ~ 0.6 2 0.6 0.1 300 normal
particle squid_ink ~ ~ ~ 2 1 2 0.05 300 normal
teleport @s ~ -99 ~
playsound cave_dweller:disappear hostile @a[sort=nearest,distance=..24] ~ ~ ~ 2 1
playsound minecraft:block.respawn_anchor.set_spawn hostile @a[sort=nearest,distance=..24] ~ ~ ~ 0.3 0
effect give @a[sort=nearest,distance=..12] darkness 5