execute at @p[tag=togp] unless entity @e[tag=tog] run playsound minecraft:template6 master @p[tag=togp] ~ ~ ~
execute at @p[tag=togp] unless entity @e[type=marker,tag=togpa] run summon marker ~ ~ ~ {Tags:["togpa"]}
execute at @p rotated ~ 0 run tp @e[type=marker,tag=togpa] ^-0.2 ^ ^-0.7
execute at @e[type=marker,tag=togpa] as @e[tag=tog] facing entity @p[tag=togp] feet run tp @s ~ ~0.5 ~ ~ 0
execute at @p[tag=togp] unless entity @e[tag=tog] run summon minecraft:text_display ^-1 ^2 ^ {Tags:["custom_font"],background:0,billboard:"center",text:'\uE000'}
execute at @p[tag=togp] unless entity @e[tag=tog] 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=togp] unless entity @e[tag=tog] run function template:tower_of_gray/summon {args:{}}
execute as @a[tag=togp,predicate=template:is_sneaking] run function template:tower_of_gray/area_slashes
schedule function template:tower_of_gray/stand_display_end 10t