execute if score sub_count b matches 1009..9999 run function live/sub/r_swing1
execute if score sub_count b matches 10009..99999 run function live/sub/r_swing10
execute if score sub_count b matches 100009.. run function live/sub/r_swing100