tag @e[tag=K,type=pig] add QFK
tag @e[tag=K,type=sheep] add QFK
tag @e[tag=K,type=cow] add QFK
tag @e[tag=K,type=chicken] add QFK
execute if entity @a[tag=K,nbt={Inventory:[{tag:{kyunaturegift:1b}}]}] run tag @e remove QFK
execute as @e[tag=QFK] run data merge entity @s {Fire:300}
kill @e[tag=QFK]
playsound block.fire.extinguish block @a ~ ~ ~ 3 1 1
#[tag=K,nbt={Inventory:[{tag:{kyuxptrinket:1b}}]}]
tellraw @a[team=P] ["",{"text":"BARBIEKYU","color":"dark_red","italic":true}]