execute at @p[tag=mrp] unless entity @e[tag=mr] run playsound minecraft:template6 master @p[tag=mrp] ~ ~ ~
execute at @p[tag=mrp] unless entity @e[type=marker,tag=mrpa] run summon marker ~ ~ ~ {Tags:["mrpa"]}
execute at @p rotated ~ 0 run tp @e[type=marker,tag=mrpa] ^-0.1 ^ ^-0.7
execute at @e[type=marker,tag=mrpa] as @e[tag=mr] facing entity @p[tag=mrp] feet run tp @s ~ ~0.1 ~ ~ 0
execute at @p[tag=mrp] unless entity @e[tag=mr] run summon minecraft:text_display ^0.7 ^1.8 ^ {Tags:["custom_font"],background:0,billboard:"center",text:'\uE000'}
execute at @p[tag=mrp] unless entity @e[tag=mr] run summon minecraft:text_display ^0.4 ^2 ^ {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=menacing2] at @s run tp @s ~ ~0.02 ~
schedule function template:kill_menacing 15t append
execute at @p[tag=mrp] unless entity @e[tag=mr] run function template:magicians_red/summon {args:{}}
execute as @a[tag=mrp,predicate=template:is_sneaking] run function template:magicians_red/fire_barrage
execute at @e[tag=cfh] run effect give @e[tag=!mrp,distance=..3,tag=!punch] wither 5 5 true
schedule function template:magicians_red/stand_display_end 10t