$item modify entity @s[scores={scope_timer=1..}] weapon.mainhand [{function:"minecraft:set_components",components:{"minecraft:item_model":"$(scoped_model)","minecraft:tooltip_display":{hidden_components:["minecraft:attribute_modifiers"]}}},{function:"minecraft:set_attributes",modifiers:[{attribute:"minecraft:attack_speed",id:"attspeed",amount:{type:"minecraft:score",target:"this",score:"delay_calculator",scale:0.0001},operation:"add_multiplied_base",slot:"mainhand"},{attribute:"minecraft:movement_speed",id:"movspeed",amount:$(debuff),operation:"add_multiplied_base",slot:"mainhand"},{attribute:"minecraft:entity_interaction_range",id:"intdistance",amount:-50,operation:"add_value",slot:"mainhand"}]}]

$item modify entity @s[scores={scope_timer=..1}] weapon.mainhand [{function:"minecraft:set_components",components:{"minecraft:item_model":"$(normal_model)","minecraft:tooltip_display":{hidden_components:["minecraft:attribute_modifiers"]}}},{function:"minecraft:set_attributes",modifiers:[{attribute:"minecraft:attack_speed",id:"attspeed",amount:{type:"minecraft:score",target:"this",score:"delay_calculator",scale:0.0001},operation:"add_multiplied_base",slot:"mainhand"},{attribute:"minecraft:entity_interaction_range",id:"intdistance",amount:-50,operation:"add_value",slot:"mainhand"}]}]

item modify entity @s[scores={gz_id=53,scope_timer=..1}] weapon.mainhand [{"function":"minecraft:set_components","components":{"!minecraft:equippable":{}}}]
item modify entity @s[scores={gz_id=19,scope_timer=..1}] weapon.mainhand [{"function":"minecraft:set_components","components":{"!minecraft:equippable":{}}}]

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={scope_timer=..1}] weapon.mainhand [{"function":"minecraft:set_components","components":{"!minecraft:equippable":{}}}]