execute at @s run playsound minecraft:entity.skeleton.step hostile @a[distance=..150] ~ ~ ~ 1 0.5 1
execute at @s run playsound minecraft:entity.skeleton.step hostile @a[distance=..150] ~ ~ ~ 1 0.5 1
execute at @s run playsound minecraft:entity.skeleton.step hostile @a[distance=..150] ~ ~ ~ 1 0.5 1
execute as @s run effect give @s levitation 1 25
execute as @s run effect give @s minecraft:slow_falling 5 1
playsound minecraft:block.sand.break hostile @a[distance=..100] ~ ~ ~ 3 0.5 1
playsound minecraft:block.sand.break hostile @a[distance=..100] ~ ~ ~ 3 0.5 1
playsound minecraft:block.sand.break hostile @a[distance=..100] ~ ~ ~ 3 0.5 1
playsound minecraft:block.sand.break hostile @a[distance=..100] ~ ~ ~ 3 0.5 1
tag @s add MidAttack
item replace entity @s armor.feet with chainmail_boots{Enchantments:[{id:"minecraft:feather_falling",lvl:20s},{id:"minecraft:blast_protection",lvl:20s},{id:"minecraft:projectile_protection",lvl:3s}]} 1

#execute at @s run particle minecraft:campfire_cosy_smoke ~ ~ ~ 1 0 1 0.01 100 force
execute at @e[type=armor_stand,name=CadeyrnFight] run summon minecraft:armor_stand ~ 135 ~ {Tags:["GoToMidLine","DiePls"],NoGravity:1,Invisible:1b,Silent:1b}

#execute at @s run tellraw @a[distance=..150] ["",{"text":"[","color":"dark_blue"},{"text":"Cadeyrn the Wretched","color":"gold"},{"text":"] ","color":"dark_blue"},{"text":"Burn to the ground!","color":"dark_red","italic":true}]

#execute at @s run execute as @e[type=armor_stand,tag=FiremanLook,tag=!NoLook,distance=..2] run data modify entity @s Rotation[0] set from entity @e[tag=CadeyrnTP,limit=1,sort=nearest] Rotation[0]
#execute at @s run tag @e[type=armor_stand,tag=FiremanLook,tag=!NoLook,distance=..2] add NoLook