How do I set a particle emitters color to part color?

Im making a gun where when the bullet hits a object/part I want the particle emitter color change to that part color. Now this is where I ran into a issue. Apparently particle emitters dont use Color3 but ColorSequences so right off the bat I have no idea what im doing. Can you please help me. What ever I do I cant seem to get it to work.

This is in a OnTouch Event

particles.particles.Color = ColorSequence.new(hit.Color3)
6 Likes
particleEmitter.Color = ColorSequence.new{
    ColorSequenceKeypoint.new(0, hit.Color),
    ColorSequenceKeypoint.new(1, hit.Color)
}
10 Likes

It says Color3 is not valid member of part, to anything I shoot.

use Part.Color


2 Likes