function olink:ch1/find_linked
function olink:ch2/find_linked
# Follow player 
tp @s ~ ~ ~ ~8 ~
execute at @a[tag=ch1_olinked,limit=1] run tp @s ~ ~ ~

# Cristal 
tp @e[type=#as,tag=cristal,tag=ch2_olinked,limit=1] ^1.2 ^ ^ facing entity @s

# Damage 
execute at @e[type=#as,tag=cristal,tag=ch2_olinked,limit=1] run scoreboard players add @e[distance=..0.8,tag=!unspellable,type=!#no_interaction_p] damage 100

# Sound 
execute if score @s countdown matches 0 run playsound custom.spinning_stone ambient @a ~ ~ ~ .25 .98
execute if score @s countdown matches 0 run scoreboard players set @s countdown 10
