execute if entity @s[nbt={CustomPotionEffects:[{Id:30b,Amplifier:10b}]}] run summon firework_rocket ~ ~1 ~ {ShotAtAngle:1,LifeTime:10,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:1b,Colors:[I;16763940]}]}}}}
execute if entity @s[nbt={CustomPotionEffects:[{Id:30b,Amplifier:11b}]}] run summon firework_rocket ~ ~1 ~ {ShotAtAngle:1,LifeTime:10,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:1b,Colors:[I;16763940]},{Type:4,Colors:[I;16763940]}]}}}}
execute if entity @s[nbt={CustomPotionEffects:[{Id:30b,Amplifier:12b}]}] run summon firework_rocket ~ ~1 ~ {ShotAtAngle:1,LifeTime:10,FireworksItem:{id:firework_rocket,Count:1,tag:{Fireworks:{Explosions:[{Type:0,Flicker:1b,Colors:[I;16763940]},{Type:4,Colors:[I;16763940]},{Type:1,Colors:[I;16763940]}]}}}}