    #write damage amount # 
execute at @s run summon minecraft:area_effect_cloud ~ 250 ~ {NoGravity:1,Tags:["nl_detector"]}
execute as @e[tag=nl_detector] at @s run function next_level:health_display/find_air

execute as @s[scores={nl_Damage=..5}] at @e[tag=nl_detector] run setblock ~ ~-1 ~ minecraft:oak_sign{Text1:"{\"score\":{\"name\":\"@s\",\"objective\":\"nl.Damage\"},\"color\":\"yellow\"}"}
execute as @s[scores={nl_Damage=6..10}] at @e[tag=nl_detector] run setblock ~ ~-1 ~ minecraft:oak_sign{Text1:"{\"score\":{\"name\":\"@s\",\"objective\":\"nl.Damage\"},\"color\":\"gold\"}"}
execute as @s[scores={nl_Damage=11..19}] at @e[tag=nl_detector] run setblock ~ ~-1 ~ minecraft:oak_sign{Text1:"{\"score\":{\"name\":\"@s\",\"objective\":\"nl.Damage\"},\"color\":\"red\"}"}
execute as @s[scores={nl_Damage=20..}] at @e[tag=nl_detector] run setblock ~ ~-1 ~ minecraft:oak_sign{Text1:"{\"score\":{\"name\":\"@s\",\"objective\":\"nl.Damage\"},\"color\":\"dark_red\"}"}

execute at @s as @e[tag=nl_Indicator,limit=1,sort=nearest] at @e[tag=nl_detector] run data modify entity @s CustomName set from block ~ ~-1 ~ Text1
execute at @e[tag=nl_detector] run setblock ~ ~-1 ~ air
kill @e[tag=nl_detector]