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

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