My array has turned into a colorsequence help


As you can see here, there is a color sequence inside of ParticleEmitter, which is inside of fire. But for some reason, THE ENTIRITY OF FIRE is considered a colorsequence. I removed the colorsequence.new and it is still considered a color sequence. help. FIRE ITSELF is the colorsequence, not the particle emitter, the WHOLE fire array is a color sequence.
image
Here’s anther picture

2 Likes

There seems to be some missing contexts. Do you mind sharing more of the script?

Make sure that somewhere in your code, MagicEffects.Fire might be accidentally assigned as a ColorSequence rather than an array and is always treated as an array.

1 Like

It might have something to do with line 32:

FlameParticles.Color = Magic.MagicEffects.Fire

Either that’s causing roblox to assume all instances of MagicEffects.Fire is a color sequence, or a segment of your code was setting Magic.MagicEffects.Fire as a color sequence instead of Magic.MagicEffects.Fire.Color.
I would recommend double checking through all times Magic.MagicEffects.Fire was referenced in your code.

For some reason the function at the bottom caused the entire thing to be considered a color sequence. Either way I just removed it and put it outside the table and now everything is fine. Might be a roblox bug but idk.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.