tag @p[tag=togp] add attacking
tag @p[tag=togp] remove togp
title @p[tag=attacking] actionbar "B-b b zzZZZAAAA"
execute at @p[tag=attacking] run tp @e[tag=tog] ^ ^1 ^-1 facing entity @p[tag=attacking] feet
execute at @p[tag=attacking] run summon minecraft:armor_stand ^ ^ ^1 {Invisible:1b,CustomName:'tongue',CustomNameVisible:0b}
execute at @p[tag=attacking] run summon minecraft:armor_stand ^ ^ ^2 {Invisible:1b,CustomName:'tongue',CustomNameVisible:0b}
execute at @p[tag=attacking] run summon minecraft:armor_stand ^ ^ ^3 {Invisible:1b,CustomName:'tongue',CustomNameVisible:0b}
execute at @p[tag=attacking] run summon minecraft:armor_stand ^ ^ ^4 {Invisible:1b,CustomName:'tongue',CustomNameVisible:0b}
execute at @e[name=tongue] run particle minecraft:dragon_breath ^ ^1 ^ 0 0 0 0 10 normal
item replace entity @p[tag=attacking] weapon.offhand with air 1
schedule function template:tower_of_gray/give_stand_back 5t
schedule function template:tower_of_gray/settle 5t
schedule function template:kill_armor_stands 5t