execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s store result score @s jjc_x1 run data get entity @s Pos[0] 1000
execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s store result score @s jjc_z1 run data get entity @s Pos[2] 1000
execute as @e[type=cave_spider,tag=jjc_brooding_spider3,scores={jjc_505=27}] at @s as @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] at @s store result score @s jjc_x2 run data get entity @s Pos[0] 1000
execute as @e[type=cave_spider,tag=jjc_brooding_spider3,scores={jjc_505=27}] at @s as @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] at @s store result score @s jjc_z2 run data get entity @s Pos[2] 1000
execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s run scoreboard players operation @s jjc_x1 -= @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] jjc_x2
execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s run scoreboard players operation @s jjc_z1 -= @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] jjc_z2
execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s store result score @s jjc_random run random value -6000..6000
execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s store result entity @s Motion[0] double -0.00003 run scoreboard players operation @s jjc_x1 += @s jjc_random
execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s store result score @s jjc_random run random value -6000..6000
execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s store result entity @s Motion[2] double -0.00003 run scoreboard players operation @s jjc_z1 += @s jjc_random
execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s store result entity @s Motion[1] double 0.01 run random value 100..120
execute as @e[type=cave_spider,tag=jjc_brooding_spider3,scores={jjc_505=30}] at @s as @e[distance=..200,type=item_display,tag=jjc_brooding_spider_j_zs,limit=40,sort=nearest] at @s store result entity @s Rotation[0] float 1 run random value -180..180
execute as @e[type=cave_spider,tag=jjc_brooding_spider3,scores={jjc_505=30}] at @s store result entity @n[distance=..200,type=arrow,tag=jjc_brooding_spider_j0] Owner double 1 run data get entity @s UUID
execute as @e[type=arrow,tag=jjc_brooding_spider_j0] at @s run tag @s remove jjc_brooding_spider_j0