particle ash ~ ~.5 ~ .1 .1 .1 0.2 2 force
execute if score @s countdown matches 0 run particle soul ~ ~.1 ~ 0 0 0 0.02 1 force
execute if score @s countdown matches 0 run scoreboard players set @s countdown 5

execute if entity @a[limit=1,distance=..20] run tp @s ^ ^ ^.22 facing entity @p feet

execute as @p[distance=..0.25] at @s run function items:soul/absorb
execute if entity @p[distance=..0.25] run kill @s
