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 2 2 false
#playsound minecraft:block.sand.break hostile @a[distance=..100] ~ ~ ~ 3 0.5 1


#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:0,NoGravity:0}


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 run tellraw @a[distance=..150] ["",{"text":"[","color":"dark_blue"},{"text":"Cadeyrn the Wretched","color":"gold"},{"text":"] ","color":"dark_blue"},{"selector":"@p[tag=GetOverHereCad]","color":"dark_red","italic":"true"},{"text":"Get over here!","color":"dark_red","italic":"true"}]
