execute as @e[type=vex,tag=jjc_vex_big,nbt={active_effects:[{id:"minecraft:unluck",amplifier:98b}]}] at @s store result entity @s Motion[0] double 0.02 run scoreboard players get @s jjc_x2
execute as @e[type=vex,tag=jjc_vex_big,nbt={active_effects:[{id:"minecraft:unluck",amplifier:98b}]}] at @s store result entity @s Motion[2] double 0.02 run scoreboard players get @s jjc_z2
execute as @e[type=vex,tag=jjc_vex_big,nbt={active_effects:[{id:"minecraft:unluck",amplifier:98b}]}] at @s store result entity @s Motion[1] double 0.02 run scoreboard players get @s jjc_y2
execute as @e[type=vex,tag=jjc_vex_big,nbt={active_effects:[{id:"minecraft:unluck",amplifier:98b}]}] at @s run particle firework ~ ~1 ~ 0.25 0.25 0.25 0.05 1 normal
execute as @e[type=vex,tag=jjc_vex_big,nbt={active_effects:[{id:"minecraft:unluck",amplifier:98b}]}] at @s positioned ~-0.75 ~ ~-0.75 as @n[distance=..200,tag=jjc_vex_big_t,dy=1,dz=0.5,dx=0.5] at @s run function colosseum_of_fools:ss/vex/vex3/1d