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

#effect give @s levitation 8 8 false
execute at @s run playsound minecraft:block.sand.break hostile @a[distance=..100] ~ ~ ~ 3 0.8 1
execute at @s run playsound minecraft:block.sand.break hostile @a[distance=..100] ~ ~ ~ 3 0.8 1
execute at @s run playsound minecraft:block.sand.break hostile @a[distance=..100] ~ ~ ~ 3 0.8 1

tag @a remove ChargeShootP
tag @a remove ChargeShotAt

#execute at @s run tag @a remove LookyHereCad
#execute at @s run tag @a[tag=CadeyrnFightTag,distance=..75,gamemode=!spectator,limit=1,sort=random] add LookyHereCad
#execute at @s run tp @s ~ ~ ~ facing entity @p[tag=LookyHereCad]

#execute at @s positioned ~ ~ ~ run summon armor_stand ^ ^ ^ {Rotation:[0f,0f],Marker:0b,Invisible:1b,Silent:1b,Silent:1b,Tags:["DiePls","P2SlashStand"],NoGravity:1b}
#execute as @e[type=armor_stand,tag=PocketSandStand] run execute at @s run tp @s ~ ~ ~ facing entity @p[tag=LookyHereCad]
#execute as @e[type=armor_stand,tag=PocketSandStand] run execute at @s run tp @s ~ ~ ~ ~ -80

execute at @s positioned ~ ~ ~ run summon armor_stand ^ ^ ^ {Rotation:[0f,-90f],Marker:1b,Invisible:1b,Silent:1b,Silent:1b,Tags:["DiePls","P2SlashStand","BluePart"],NoGravity:1b}
execute as @s run execute at @s run tp @s ~ ~ ~ ~ 80

execute at @s run particle minecraft:campfire_cosy_smoke ~ ~ ~ 1 0 1 0.01 100
#execute at @e[type=stray,tag=CadeyrnTP,limit=1] run tp @e[type=stray,tag=CadeyrnTP,limit=1] ~ ~ ~ facing entity @p[tag=CadeyrnFightTag,gamemode=!spectator] eyes

data merge entity @s {NoAI:1,NoGravity:0}

advancement revoke @a only minecraft:suhc/deflectfish
advancement revoke @a only minecraft:suhc/deflectfishfail

scoreboard players set @a[tag=CadeyrnFightTag] KyuShieldBlock 0

execute at @s run tellraw @a[distance=..150] ["",{"text":"[","color":"dark_blue"},{"text":"Cadeyrn the Wretched","color":"gold"},{"text":"] ","color":"dark_blue"},{"text":"I will cleave you all!","color":"dark_red","italic":"true"}]
