scoreboard players add @s stellarity.items.empress_wings.particles 1

$execute if score @s stellarity.items.empress_wings.particles matches 0..2 run \
	particle minecraft:dust{color:[0.98, 0.243, 0.243], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 3..4 run \
	particle minecraft:dust{color:[0.98, 0.439, 0.243], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 5..6 run \
	particle minecraft:dust{color:[0.98, 0.686, 0.243], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 7..8 run \
	particle minecraft:dust{color:[0.98, 0.796, 0.243], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 9..10 run \
	particle minecraft:dust{color:[0.98, 0.871, 0.243], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 11..12 run \
	particle minecraft:dust{color:[0.808, 0.98, 0.243], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 13..14 run \
	particle minecraft:dust{color:[0.392, 0.98, 0.243], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 15..16 run \
	particle minecraft:dust{color:[0.243, 0.894, 0.98], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 17..18 run \
	particle minecraft:dust{color:[0.243, 0.612, 0.98], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 19..20 run \
	particle minecraft:dust{color:[0.318, 0.243, 0.98], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 21..22 run \
	particle minecraft:dust{color:[0.647, 0.243, 0.98], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 23..24 run \
	particle minecraft:dust{color:[0.82, 0.243, 0.98], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 25..26 run \
	particle minecraft:dust{color:[0.98, 0.243, 0.918], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 27..28 run \
	particle minecraft:dust{color:[0.98, 0.243, 0.427], scale:1.5} ^$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]

$execute if score @s stellarity.items.empress_wings.particles matches 0..2 run \
	particle minecraft:dust{color:[0.98, 0.243, 0.243], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 3..4 run \
	particle minecraft:dust{color:[0.98, 0.439, 0.243], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 5..6 run \
	particle minecraft:dust{color:[0.98, 0.686, 0.243], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 7..8 run \
	particle minecraft:dust{color:[0.98, 0.796, 0.243], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 9..10 run \
	particle minecraft:dust{color:[0.98, 0.871, 0.243], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 11..12 run \
	particle minecraft:dust{color:[0.808, 0.98, 0.243], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 13..14 run \
	particle minecraft:dust{color:[0.392, 0.98, 0.243], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 15..16 run \
	particle minecraft:dust{color:[0.243, 0.894, 0.98], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 17..18 run \
	particle minecraft:dust{color:[0.243, 0.612, 0.98], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 19..20 run \
	particle minecraft:dust{color:[0.318, 0.243, 0.98], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 21..22 run \
	particle minecraft:dust{color:[0.647, 0.243, 0.98], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 23..24 run \
	particle minecraft:dust{color:[0.82, 0.243, 0.98], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 25..26 run \
	particle minecraft:dust{color:[0.98, 0.243, 0.918], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]
$execute if score @s stellarity.items.empress_wings.particles matches 27..28 run \
	particle minecraft:dust{color:[0.98, 0.243, 0.427], scale:1.5} ^-$(x) ^0.6 ^$(z) 0.07 0.07 0.07 0 2 force @a[distance=..256]

scoreboard players reset @s[scores={stellarity.items.empress_wings.particles=28..}] stellarity.items.empress_wings.particles
