scoreboard players add .raycastCreators temp 1

#Found creator
execute positioned ^ ^-1 ^0.7 if entity @n[type=armor_stand,tag=creator_stand,distance=0..1] at @n[type=armor_stand,tag=creator_stand,distance=0..0.7] run return run function subchronos:lobby/creators/found

#Removes glow and loop
execute if score .raycastCreators temp matches 41.. run effect clear @e[type=armor_stand,tag=creator_stand] minecraft:glowing
execute if score .raycastCreators temp matches ..40 positioned ^ ^ ^0.7 run function subchronos:lobby/creators/raycast