
#we back again

item modify entity @s[scores={gz_id=53,gz_bullets=1..},nbt={SelectedItem:{components:{"minecraft:custom_data":{gz_data:{}}}}}] weapon.mainhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/acogscope","slot":"mainhand"}}}]
item modify entity @s[scores={gz_id=19,gz_bullets=1..},nbt={SelectedItem:{components:{"minecraft:custom_data":{gz_data:{}}}}}] weapon.mainhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/rpgscope","slot":"mainhand"}}}]


execute if predicate {condition:"minecraft:any_of",terms:[{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:11}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:30}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:40}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:22}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:38}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:42}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:21}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:36}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:41}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:43}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:46}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:51}},{condition:"minecraft:entity_scores",entity:"this",scores:{gz_id:56}}]} run item modify entity @s[scores={gz_bullets=1..},nbt={SelectedItem:{components:{"minecraft:custom_data":{gz_data:{}}}}}] weapon.mainhand [{"function":"minecraft:set_components","components":{"minecraft:equippable":{"camera_overlay":"scopes/sniperscope","slot":"mainhand"}}}]
