tag @n[nbt={HurtTime:10s},type=villager] add polyd_vill
tag @n[nbt={HurtTime:10s},type=villager] add special
data merge entity @n[nbt={HurtTime:10s},type=villager,nbt={Age:0}] {Age:-120}
execute at @n[tag=polyd_vill,nbt={HurtTime:10s}] run summon sheep ~ ~ ~ {Tags:[poly_vill],DeathLootTable:""}

data modify entity @n[tag=poly_vill] Motion set from entity @n[tag=polyd_vill]
data modify entity @n[tag=poly_vill] active_effects set from entity @n[tag=polyd_vill]
data modify entity @n[tag=poly_vill] Fire set from entity @n[tag=polyd_vill]


damage @n[tag=poly_vill] .0001 minecraft:player_attack by @p from @p
effect give @n[tag=polyd_vill] invisibility 6 0 true
execute at @n[tag=polyd_vill] run particle dust{color:[1,.33,1],scale:1} ~ ~.5 ~ .3 .4 .3 0 20
execute at @n[tag=polyd_vill] run playsound minecraft:entity.puffer_fish.blow_up player @a ~ ~ ~ 2 1.5
scoreboard players set @n[tag=polyd_vill] polytimer 120
data merge entity @n[tag=polyd_vill] {Invulnerable:1b,Silent:1b}
advancement revoke @s only survivalplus:tools/polyvill