scoreboard players set inmine_zhs:tit_potion_area inmine_zhs:clock 0

execute as @a[tag=inmine_zhs.healed_by_medkit_area] at @s unless entity @e[type=inmine_zhs:medkit_3_effect_cloud,r=2] run tag @s remove inmine_zhs.healed_by_medkit_area

execute at @e[type=inmine_zhs:medkit_3_effect_cloud] as @a[tag=!inmine_zhs.healed_by_medkit_area,r=2] run scriptevent inmine_zhs:medkits heal
