title @p[tag=sunp] actionbar "quick BURN!"
playsound minecraft:block.furnace.fire_crackle master @p[tag=sunp] ~ ~ ~ 20 2 1
execute at @p[tag=sunp] as @e[distance=..20] run effect give @e[tag=!sunp,distance=..20] wither 1 1 true 
execute at @e[tag=sunp] run data merge entity @e[limit=1,tag=!sunp,distance=..20,sort=random] {Fire:300}
execute at @e[tag=sunp] run data merge entity @e[limit=1,tag=!sunp,distance=..20,sort=random] {Fire:300}
execute at @e[tag=sunp] run data merge entity @e[limit=1,tag=!sunp,distance=..20,sort=random] {Fire:300}
execute at @e[tag=sunp] run data merge entity @e[limit=1,tag=!sunp,distance=..20,sort=random] {Fire:300}
execute at @e[tag=sunp] run particle minecraft:flame ~ ~ ~ 5 5 5 5 5 normal
execute as @e[tag=sun] run function template:the_sun/animations/heat/play
schedule function template:the_sun/settle 10t