execute as @e[tag=polyd_vill] at @s run tp @s @n[tag=poly_vill]
execute as @e[tag=polyd_vill] at @s unless entity @e[tag=poly_vill,distance=..1] run kill @s

execute as @e[tag=polyd_vill,scores={polytimer=1..}] run scoreboard players remove @s polytimer 1

execute as @e[tag=polyd_vill,scores={polytimer=0}] run effect give @n[tag=poly_vill] invisibility 10 0 true 
execute as @e[tag=polyd_vill,scores={polytimer=0}] run data merge entity @s {Invulnerable:0b,Silent:0b}
execute at @e[tag=polyd_vill,scores={polytimer=0}] run playsound minecraft:entity.puffer_fish.blow_out player @a ~ ~ ~ 2 1.5
execute at @e[tag=polyd_vill,scores={polytimer=0}] run particle minecraft:poof ~ ~.5 ~ .3 .4 .3 0 20
execute at @e[tag=polyd_vill,scores={polytimer=0}] as @n[tag=poly_vill] run function survivalplus:mobs/vanish

execute as @e[tag=polyd_vill,scores={polytimer=0}] run tag @s remove special
execute as @e[tag=polyd_vill,scores={polytimer=0}] run tag @s remove polyd_vill