execute at @p[tag=hgp] unless entity @e[tag=hg] run playsound minecraft:template6 master @p[tag=hgp] ~ ~ ~
execute at @p[tag=hgp] unless entity @e[type=marker,tag=hgpa] run summon marker ~ ~ ~ {Tags:["hgpa"]}
execute at @p rotated ~ 0 run tp @e[type=marker,tag=hgpa] ^-0.1 ^ ^-0.7
execute at @e[type=marker,tag=hgpa] as @e[tag=hg] facing entity @p[tag=hgp] feet run tp @s ~ ~0.5 ~ ~ 0
execute at @p[tag=hgp] unless entity @e[tag=hg] run summon minecraft:text_display ^-1 ^2 ^ {Tags:["custom_font"],background:0,billboard:"center",text:'\uE000'}
execute at @p[tag=hgp] unless entity @e[tag=hg] run summon minecraft:text_display ^-0.6 ^1.8 ^ {Tags:["custom_font"],background:0,billboard:"center",text:'\uE000'}
execute as @e[tag=custom_font] at @s run tp @s ~ ~0.02 ~
execute as @e[tag=menacing3] at @s run tp @s ~ ~0.02 ~
schedule function template:kill_menacing 15t append
execute at @p[tag=hgp] unless entity @e[tag=hg] run function template:hieraphont_green/summon {args:{}}
execute as @a[tag=hgp,predicate=template:is_sneaking] run function template:hieraphont_green/roam
execute at @e[name=emerald_splash1] run effect give @e[distance=..2,tag=!hgp] wither 3 5 true
execute at @e[name=emerald_splash2] run effect give @e[distance=..2,tag=!hgp] wither 3 5 true
execute at @e[name=emerald_splash3] run effect give @e[distance=..2,tag=!hgp] wither 3 5 true
execute at @e[tag=les] as @e[distance=..10,tag=!hgp] run damage @s 2 minecraft:generic
execute at @e[tag=les] run particle dust{color:[0.0, 1.0, 0.0], scale:1} ~ ~1 ~ 5 5 5 10 10
schedule function template:hieraphont_green/stand_display_end 10t