execute as @s[scores={weapon_combo=1..,weapon_combo_reset=..0}] run scoreboard players set @s weapon_combo 0
execute as @s[scores={weapon_combo_reset=1..}] run scoreboard players remove @s weapon_combo_reset 1

execute if score .weapon_3 sniper matches 1.. at @s anchored eyes run particle dust{color:[0,1,0],scale:0.5} ^-0.25 ^-0.25 ^0.5 0.05 0.05 0.05 0.01 1
execute if score .weapon_3 sniper matches 1.. run scoreboard players remove .weapon_3 sniper 1
execute if score .weapon_3 sniper matches 1 run function main:characters/sniper/weapon/id1/3