execute as @e[type=armor_stand,tag=PocketSandStand,tag=!StopMe] run execute at @s run tp @s ^ ^ ^.27 ~ ~4.75
execute as @e[type=armor_stand,tag=PocketSandStand,tag=!StopMe] run execute at @s positioned ~ ~ ~ run execute if block ^ ^ ^1 bedrock run tp @s ~ ~ ~ ~ 90
execute as @e[type=armor_stand,tag=PocketSandStand,tag=!StopMe] run execute at @s positioned ~ ~ ~ run execute if block ^ ^ ^ bedrock run tp @s ~ ~ ~ ~ 90
execute as @s[scores={AttackTimer=10..85}] run execute as @e[type=armor_stand,tag=PocketSandStand,tag=!StopMe] run execute at @s positioned ~ 125 ~ run tag @s[dy=6] add StopMe
execute as @e[type=armor_stand,tag=PocketSandStand,tag=!StopMe] run execute at @s run tp @s ^ ^ ^.27 ~ ~4.75
execute as @e[type=armor_stand,tag=PocketSandStand,tag=!StopMe] run execute at @s positioned ~ ~ ~ run execute if block ^ ^ ^1 bedrock run tp @s ~ ~ ~ ~ 90
execute as @e[type=armor_stand,tag=PocketSandStand,tag=!StopMe] run execute at @s positioned ~ ~ ~ run execute if block ^ ^ ^ bedrock run tp @s ~ ~ ~ ~ 90
execute as @s[scores={AttackTimer=10..85}] run execute as @e[type=armor_stand,tag=PocketSandStand,tag=!StopMe] run execute at @s positioned ~ 125 ~ run tag @s[dy=6] add StopMe



execute as @e[type=armor_stand,tag=PocketSandStand] run execute at @s run tp @e[tag=CadeyrnTP,limit=1,sort=nearest] ~ ~ ~ ~ ~

execute as @e[type=armor_stand,tag=PocketSandStand,tag=StopMe] run function zzzzdonotuse:cadeyrn/attacks/pocketsand/summonsand
#execute at @s run particle minecraft:effect ~ ~ ~ 0 0.3 0 0.45 1 force
#execute at @s run tp @s ^ ^ ^.11 facing entity @p[tag=LookyHereCad]
#execute at @s run tp @s ~ ~.095 ~ facing entity @p[tag=LookyHereCad]
#execute at @s run tp @s ~ ~.095 ~ facing entity @p[tag=LookyHereCad]

execute at @s run execute unless block ~ ~ ~ bedrock run execute unless block ~ ~ ~ gray_concrete_powder run fill ~ ~ ~ ~ ~ ~ air destroy
execute at @s run execute unless block ~ ~1 ~ bedrock run execute unless block ~ ~1 ~ gray_concrete_powder run fill ~ ~1 ~ ~ ~1 ~ air destroy
execute at @s run execute unless block ~ ~2 ~ bedrock run execute unless block ~ ~2 ~ gray_concrete_powder run fill ~ ~2 ~ ~ ~2 ~ air destroy
