execute unless score @s glockCD matches ..0 unless score @s glockCD matches 0.. run scoreboard players set @s glockCD 0
execute unless score @s mp5CD matches ..0 unless score @s mp5CD matches 0.. run scoreboard players set @s mp5CD 0
execute unless score @s spas12CD matches ..0 unless score @s spas12CD matches 0.. run scoreboard players set @s spas12CD 0
execute unless score @s duskCD matches ..0 unless score @s duskCD matches 0.. run scoreboard players set @s duskCD 0
execute unless score @s sniperCD matches ..0 unless score @s sniperCD matches 0.. run scoreboard players set @s sniperCD 0
execute unless score @s randomwind matches ..0 unless score @s randomwind matches 0.. run scoreboard players set @s randomwind 0
execute unless score @s windcooldown matches ..0 unless score @s windcooldown matches 0.. run scoreboard players set @s windcooldown 0

execute unless score @s defaultammoGlock matches 0.. run scoreboard players set @s defaultammoGlock 17
execute unless score @s defaultammoMP5 matches 0.. run scoreboard players set @s defaultammoMP5 30
execute unless score @s defaultammoScout matches 0.. run scoreboard players set @s defaultammoScout 4

execute unless score @s magGlock matches 1..17 unless score @s magGlock matches 0 run scoreboard players set @s magGlock 0
execute unless score @s magSPAS matches 1..8 unless score @s magSPAS matches 0 run scoreboard players set @s magSPAS 0
execute unless score @s magMP5 matches 1..30 unless score @s magMP5 matches 0 run scoreboard players set @s magMP5 0
execute unless score @s magScout matches 1..4 unless score @s magScout matches 0 run scoreboard players set @s magScout 0

scoreboard players reset .guns scores