I am trying to make a particle emitters color change every 5 seconds to make a cool effect. However, the color of the particles isn't changing.
while true do
Emitter = game.Workspace.Part1.ParticleEmitter.Color -- Part1 is the name of the part that is the parent to the particle emitter
Emitter = ColorSequence.new(Color3.new(0,0,0))
wait(5)
Emitter = ColorSequence.new(Color3.new(255,0,0))
wait(5)
Emitter = ColorSequence.new(Color3.new(255,0,255))
wait(5)
end
Why isn't the colour changing?

2 comments
because Emitter is a value, not a reference
Thanks!