item modify entity @s[scores={gz_id=11,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/awp/awp_sc"}}
item modify entity @s[scores={gz_id=30,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/awp/awp_s_sc"}}
item modify entity @s[scores={gz_id=40,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/awp/awp_l_sc"}}
item modify entity @s[scores={gz_id=22,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/ssg08/ssg08_sc"}}
item modify entity @s[scores={gz_id=38,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/ssg08/ssg08_s_sc"}}
item modify entity @s[scores={gz_id=42,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/ssg08/ssg08_l_sc"}}
item modify entity @s[scores={gz_id=21,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/hunting_rifle/hunting_rifle_sc"}}
item modify entity @s[scores={gz_id=36,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/hunting_rifle/hunting_rifle_s_sc"}}
item modify entity @s[scores={gz_id=41,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/hunting_rifle/hunting_rifle_l_sc"}}
item modify entity @s[scores={gz_id=43,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/dragonsniper_sc"}}
item modify entity @s[scores={gz_id=46,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/autosniper_sc"}}
item modify entity @s[scores={gz_id=51,gz_bullets=1..}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/scoped_revolver_sc"}}

item modify entity @s[scores={gz_id=11,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=30,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=40,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=22,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=38,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=42,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=21,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=36,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=41,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=43,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=46,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=51,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"offhand"}}}]

item modify entity @s[scores={gz_id=19,gz_bullets=1..}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/rpgscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=53}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/acogscope","slot":"offhand"}}}]
item modify entity @s[scores={gz_id=11,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/awp/awp"}}
item modify entity @s[scores={gz_id=30,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/awp/awp_s"}}
item modify entity @s[scores={gz_id=40,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/awp/awp_l"}}
item modify entity @s[scores={gz_id=22,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/ssg08/ssg08"}}
item modify entity @s[scores={gz_id=38,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/ssg08/ssg08_s"}}
item modify entity @s[scores={gz_id=42,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/ssg08/ssg08_l"}}
item modify entity @s[scores={gz_id=21,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/hunting_rifle/hunting_rifle"}}
item modify entity @s[scores={gz_id=36,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/hunting_rifle/hunting_rifle_s"}}
item modify entity @s[scores={gz_id=41,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/hunting_rifle/hunting_rifle_l"}}
item modify entity @s[scores={gz_id=43,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/dragonsniper"}}
item modify entity @s[scores={gz_id=46,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/autosniper"}}
item modify entity @s[scores={gz_id=51,gz_bullets=..0}] weapon.offhand {"function": "minecraft:set_components","components": {"minecraft:item_model": "minecraft:guns/scoped_revolver"}}


item modify entity @s[scores={gz_id=53,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=11,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=30,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=40,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=22,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=38,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=42,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=21,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=36,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=41,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=43,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=46,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=51,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]
item modify entity @s[scores={gz_id=19,gz_bullets=..0}] weapon.offhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"slot":"offhand"}}}]