tellraw @a[distance=..250] ["",{"selector":"@s","color":"white"},{"text":" fully healed the enemy team!","color":"green"}]
tag @s add temp
execute as @a[distance=..250,gamemode=!spectator] unless score @s ctf_ID = @n[tag=temp] ctf_ID run effect give @s minecraft:instant_health 1 10 true
execute as @a[distance=..250,gamemode=!spectator] unless score @s ctf_ID = @n[tag=temp] ctf_ID at @s run particle minecraft:heart ~ ~1 ~ 1 1 1 0 10 force @a
tag @s remove temp
particle minecraft:happy_villager ~ ~ ~ 2 2 2 0 150 normal @a