execute at @p[tag=hps] unless entity @e[tag=h] run playsound minecraft:template6 master @p[tag=hps] ~ ~ ~
execute at @p[tag=hps] unless entity @e[type=marker,tag=hpsa] run summon marker ~ ~ ~ {Tags:["hpsa"]}
execute at @p rotated ~ 0 run tp @e[type=marker,tag=hpsa] ^ ^-0.2 ^-1
execute at @e[type=marker,tag=hpsa] as @e[tag=h] facing entity @p[tag=hps] feet run tp @s ~ ~0.5 ~ ~ 0
execute at @p[tag=hps] unless entity @e[tag=h] run summon minecraft:text_display ^-1 ^2 ^ {Tags:["custom_font"],background:0,billboard:"center",text:'\uE000'}
execute at @p[tag=hps] unless entity @e[tag=h] 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=menacing4] at @s run tp @s ~ ~0.02 ~
schedule function template:kill_menacing 15t append
execute at @p[tag=hps] unless entity @e[tag=h] run function template:horus/summon {args:{}}
execute as @a[tag=hps,predicate=template:is_sneaking] run function template:horus/area_freeze
execute as @s at @e[name=spike] as @e[tag=!hps,distance=..4] at @s run damage @s 14 minecraft:player_attack
execute as @a[tag=hps] at @e[name=freezer] facing entity @s feet run tp @e[name=freezer] ^-2 ^ ^-3
execute as @a[tag=hps] at @e[name=freezerr] facing entity @s feet run tp @e[name=freezerr] ^2 ^ ^-3
execute at @e[name=spike] run effect give @e[distance=..5,tag=!hps] minecraft:wither 5 5 true
execute at @e[name=freezer] run effect give @e[distance=..3,tag=!hps] minecraft:wither 2 5 true
execute at @e[name=freezerr] run effect give @e[distance=..3,tag=!hps] minecraft:wither 2 5 true
schedule function template:horus/stand_display_end 10t