I'm trying to make a very basic Particle emitter color changing script which takes a particle emitter's color out of a block and makes it the color of the particle emitter that's touching the block. I'm trying to take the ColorSequence from the particle emitter inside of the block but I'm not sure why it doesnt copy the color over. Am I missing code on line 4?
local Reference = script.Parent.ParticleEmitter
function onTouched(part)
if(part.Name ~="Aura") then return end
part.AuraParticle.ColorSequence = Reference.ColorSequence
end
script.Parent.Touched:connect(onTouched)

1 comment
It worked! Thank you.