execute if score @s rapid_shot_cooldown <= @s rapid_shot_cooldown_length unless score @s rapid_shot_cooldown matches 1 run title @s actionbar {"text": "[  ]", "color": "red","bold": true}
execute if score @s rapid_shot_cooldown matches 1 run title @s actionbar {"text": "[ ➵ ]", "color": "green","bold": true}
execute if score @s rapid_shot_cooldown matches 1 run playsound block.vault.insert_item player @a[distance=..8] ~ ~ ~ 0.4 2
scoreboard players remove @s rapid_shot_cooldown 1