$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet1"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet2"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet3"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet4"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet5"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet6"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet7"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet8"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet9"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet10"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet11"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet12"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet13"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet14"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet15"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet16"],CustomName:"a Tactical Shotgun"}
$execute as @s anchored eyes positioned ^ ^-0.1 ^-0.2 run summon area_effect_cloud ~ ~ ~ {Radius:0f,Particle:{type:"dust",color:[0.000,0.000,0.000],scale:0.01},WaitTime:-1,Age:0,Owner:$(UUID),Duration:15,Tags:["gz_projectile","gz_bullet_50","gz_spawn","bullet17"],CustomName:"a Tactical Shotgun"}

execute as @e[type=area_effect_cloud, tag=gz_spawn,tag=gz_bullet_50] run data modify entity @s Rotation set from entity @a[sort=nearest,limit=1] Rotation

execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet1, limit=1] ^ ^-0.1 ^-0.2 ~ ~
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet2, limit=1] ^ ^-0.1 ^-0.2 ~4 ~4
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet3, limit=1] ^ ^-0.1 ^-0.2 ~ ~4
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet4, limit=1] ^ ^-0.1 ^-0.2 ~-4 ~
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet5, limit=1] ^ ^-0.1 ^-0.2 ~-2.5 ~2.5
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet6, limit=1] ^ ^-0.1 ^-0.2 ~-4 ~-4
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet7, limit=1] ^ ^-0.1 ^-0.2 ~ ~-4
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet8, limit=1] ^ ^-0.1 ^-0.2 ~4 ~-4
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet9, limit=1] ^ ^-0.1 ^-0.2 ~-4 ~4
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet10, limit=1] ^ ^-0.1 ^-0.2 ~2.5 ~
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet11, limit=1] ^ ^-0.1 ^-0.2 ~2.5 ~2.5
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet12, limit=1] ^ ^-0.1 ^-0.2 ~ ~2.5
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet13, limit=1] ^ ^-0.1 ^-0.2 ~-2.5 ~
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet14, limit=1] ^ ^-0.1 ^-0.2 ~-2.5 ~-2.5
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet15, limit=1] ^ ^-0.1 ^-0.2 ~ ~-2.5
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet16, limit=1] ^ ^-0.1 ^-0.2 ~2.5 ~-2.5
execute as @s[tag=gz_mainhand] at @s[tag=gz_mainhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet17, limit=1] ^ ^-0.1 ^-0.2 ~4 ~


execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet1, limit=1] ^ ^-0.1 ^-0.2 ~ ~
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet2, limit=1] ^ ^-0.1 ^-0.2 ~1.5 ~1.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet3, limit=1] ^ ^-0.1 ^-0.2 ~ ~1.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet4, limit=1] ^ ^-0.1 ^-0.2 ~-1.5 ~
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet5, limit=1] ^ ^-0.1 ^-0.2 ~-0.5 ~0.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet6, limit=1] ^ ^-0.1 ^-0.2 ~-1.5 ~-1.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet7, limit=1] ^ ^-0.1 ^-0.2 ~ ~-1.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet8, limit=1] ^ ^-0.1 ^-0.2 ~1.5 ~-1.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet9, limit=1] ^ ^-0.1 ^-0.2 ~-1.5 ~1.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet10, limit=1] ^ ^-0.1 ^-0.2 ~0.5 ~
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet11, limit=1] ^ ^-0.1 ^-0.2 ~0.5 ~0.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet12, limit=1] ^ ^-0.1 ^-0.2 ~ ~0.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet13, limit=1] ^ ^-0.1 ^-0.2 ~-0.5 ~
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet14, limit=1] ^ ^-0.1 ^-0.2 ~-0.5 ~-0.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet15, limit=1] ^ ^-0.1 ^-0.2 ~ ~-0.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet16, limit=1] ^ ^-0.1 ^-0.2 ~0.5 ~-0.5
execute as @s[tag=gz_offhand] at @s[tag=gz_offhand] anchored eyes run tp @e[type=area_effect_cloud, tag=gz_spawn, tag=bullet17, limit=1] ^ ^-0.1 ^-0.2 ~1.5 ~


execute as @e[type=area_effect_cloud, tag=gz_spawn] run scoreboard players set @s gz_capacity 9
execute as @e[type=area_effect_cloud, tag=gz_spawn] run tag @s remove gz_spawn
