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

summon marker 308 106 -318 {Tags:["fw-spawn"]}
summon marker 308 106 -318 {Tags:["fw-spawn"]}
summon marker 308 106 -318 {Tags:["fw-spawn"]}
summon marker 308 106 -318 {Tags:["fw-spawn"]}
summon marker 308 106 -318 {Tags:["fw-spawn"]}
summon marker 308 106 -318 {Tags:["fw-spawn"]}


spreadplayers 336 -316 5 20 false @e[tag=fw-spawn]

#execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ 

execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:11,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:4,Colors:[I;11796288,16752202],FadeColors:[I;12844943,65288]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:18,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:4,Colors:[I;11796288,16752202],FadeColors:[I;12844943,65288]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:19,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:4,Colors:[I;11796288,16752202],FadeColors:[I;12844943,65288]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:15,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:4,Colors:[I;11796288,16752202],FadeColors:[I;12844943,65288]}]}}}}


spreadplayers 336 -316 5 20 false @e[tag=fw-spawn]

execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:10,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;4898303,8890367],FadeColors:[I;3406079,10040319]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:20,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;4898303,8890367],FadeColors:[I;3406079,10040319]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:17,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;4898303,8890367],FadeColors:[I;3406079,10040319]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:12,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Colors:[I;4898303,8890367],FadeColors:[I;3406079,10040319]}]}}}}

spreadplayers 336 -316 5 20 false @e[tag=fw-spawn]

execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:20,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Colors:[I;12648238,2883385],FadeColors:[I;12648289]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:25,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Colors:[I;12648238,2883385],FadeColors:[I;12648289]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:13,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Colors:[I;12648238,2883385],FadeColors:[I;12648289]}]}}}}
execute at @e[tag=fw-spawn,sort=random,limit=1] run summon firework_rocket ~ ~ ~ {LifeTime:27,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:2,Colors:[I;12648238,2883385],FadeColors:[I;12648289]}]}}}}


kill @e[tag=fw-spawn]

#
