tag @s add polyd_enemy
execute at @e[tag=polyd_enemy] run summon sheep ~ ~ ~ {Tags:[poly_enemy]}
tp @n[tag=poly_enemy] @n[tag=polyd_enemy]
data modify entity @n[tag=poly_enemy] Motion set from entity @n[tag=polyd_enemy]
data modify entity @n[tag=poly_enemy] equipment set from entity @n[tag=polyd_enemy] equipment
data modify entity @n[tag=poly_enemy] drop_chances set from entity @n[tag=polyd_enemy] drop_chances
data modify entity @n[tag=poly_enemy] active_effects set from entity @n[tag=polyd_enemy] active_effects
data modify entity @n[tag=poly_enemy] Fire set from entity @n[tag=polyd_enemy] Fire

execute as @n[tag=poly_enemy] run damage @s .0001 minecraft:player_attack by @p from @p
execute at @n[tag=polyd_enemy] run particle dust{color:[1,0.33,1],scale:3} ~ ~.5 ~ .3 .4 .3 0 20
execute at @n[tag=polyd_enemy] run playsound minecraft:entity.puffer_fish.blow_up player @a ~ ~ ~ 2 1.5
tag @e[tag=poly_enemy] remove poly_enemy
execute as @e[tag=polyd_enemy] at @s run function survivalplus:mobs/vanish