#
scoreboard players operation #&proj.magnitude.now untwo.temp.0 = @s untwo.proj.magnitude

execute if score #&proj.magnitude.now untwo.temp.0 matches 3000.. at @s run function untwo:proj_sys/motion/bounce_ball_type_3/loop
execute if score #&proj.magnitude.now untwo.temp.0 matches 500.. at @s run function untwo:proj_sys/motion/bounce_ball_type_3/test