execute positioned ~-2.75 ~-1 ~-2.75 if entity @e[type=#untwo:effect/confusion/entity,dx=4.5,dy=1,dz=4.5] as @e[type=#untwo:effect/confusion/entity,dx=4.5,dy=1,dz=4.5] run function untwo:entity_effect/confusion/reset/
kill @s
execute on passengers run kill @s