$scoreboard players set @s heal_indicator $(indicator)
$execute as @s[scores={heal_indicator=1}] at @s rotated ~ 0 run summon text_display ^ ^0.5 ^0.1 {alignment:"left",Tags:["heal_indicator","id1_heal_indicator","1_indicator","heal_indicator_newborn"],text:'[{"text":"$(healing)","color":"green"},{"text":" ❤","color":"green"}]',background:16711680}

$execute as @s[scores={heal_indicator=0}] at @s rotated ~ 0 run summon text_display ^ ^0.5 ^0.1 {alignment:"left",Tags:["heal_indicator","id1_heal_indicator","1_indicator","heal_indicator_newborn"],text:'[{"text":"$(healing)","color":"red"},{"text":" ❣","color":"red"}]',background:16711680}

execute as @e[type=text_display,tag=heal_indicator_newborn,limit=1] at @s facing entity @p eyes run tp @s ^ ^ ^ ~ 0

execute as @e[type=text_display,tag=heal_indicator_newborn,limit=1] at @s run scoreboard players set @s particle_lifetime 10

execute as @s[tag=crit_chance_triggered] run tag @s remove crit_chance_triggered

execute as @e[type=text_display,tag=heal_indicator_newborn,limit=1] run tag @s remove heal_indicator_newborn