#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    This function has been created by Skilendarz Group.
#             https://skilendarz.com
#
#      GIVE MAP MAKERS THE CREDIT THEY DESERVE!
#             COPYING IS PROHIBITED!
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

summon minecraft:armor_stand 28 141 82 {Marker:1b,Tags:["fw-spawn"]}
summon minecraft:armor_stand 28 141 82 {Marker:1b,Tags:["fw-spawn"]}
summon minecraft:armor_stand 28 141 82 {Marker:1b,Tags:["fw-spawn"]}
summon minecraft:armor_stand 28 141 82 {Marker:1b,Tags:["fw-spawn"]}
summon minecraft:armor_stand 28 141 82 {Marker:1b,Tags:["fw-spawn"]}
summon minecraft:armor_stand 28 141 82 {Marker:1b,Tags:["fw-spawn"]}
summon minecraft:armor_stand 28 141 82 {Marker:1b,Tags:["fw-spawn"]}
summon minecraft:armor_stand 28 141 82 {Marker:1b,Tags:["fw-spawn"]}
summon minecraft:armor_stand 28 141 82 {Marker:1b,Tags:["fw-spawn"]}

execute as @e[tag=fw-spawn] at @s run spreadplayers ~ ~ 1 70 false @s

execute at @e[tag=fw-spawn,sort=random,limit=1] run summon minecraft:firework_rocket ~ 149 ~ {LifeTime:10,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;3080038,6404863],FadeColors:[I;16739878,13959134]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon minecraft:firework_rocket ~ 155 ~ {LifeTime:5,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Flicker:1b,Colors:[I;16252891,7012165,12293375],FadeColors:[I;11403039,16745930,1314324]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon minecraft:firework_rocket ~ 163 ~ {LifeTime:1,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;3080038,6404863],FadeColors:[I;16739878,13959134]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon minecraft:firework_rocket ~ 159 ~ {LifeTime:2,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Flicker:1b,Colors:[I;16252891,7012165,12293375],FadeColors:[I;11403039,16745930,1314324]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon minecraft:firework_rocket ~ 161 ~ {LifeTime:4,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;3080038,6404863],FadeColors:[I;16739878,13959134]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon minecraft:firework_rocket ~ 165 ~ {LifeTime:3,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Flicker:1b,Colors:[I;16252891,7012165,12293375],FadeColors:[I;11403039,16745930,1314324]}]}}}}


kill @e[tag=fw-spawn]
