Raytracing problems

Raytrace function ansi execute at @s run tp @s ^ ^ ^1 execute unless block ~ ~ ~ air run summon lightning_bolt execute unless block ~ ~ ~ air run kill @s execute at @p[distance=..1,tag=!gale] summon lightning_bolt run kill @n[type=marker] execute if block ~ ~ ~ air unless entity @p[distance=..1,tag=!gale] run function abilities:air/pure/raytrace What calls it ansi execute at @p[tag=gale] summon marker run function abilities:air/pure/raytrace
Continue to help post