I'm currently reverse engineering a script Clonetrooper1019 made when you stand over a Point Light it shows the hue on the ImageColor3, What I basically want to know is I want to make the particleemitter's color change to whatever color the imagecolor3 is currently at. Like if the ImageLabel is red then orange or green it syncs with the ParticleEmitter's Color. I'm very confused because ColorSequence is a bit confusing for me after all custom particles are fairly new. I would like advice on how I would be able to do this .
Try something like this (Assuming this script is inside the ImageLabel) :
PEmitter=game.Workspace.Part.ParticleEmitter --Gets the particle emitter. Change this to find where it actually is. Color1=Color3.new(255,255,255) --Set as the base color (Set's first color) function ColorChange() --Defines a function to fire later local Color2=script.Parent.ImageColor3 --Sets second color PEmitter.Color=ColorSequence.new(Color1,Color2) --Sets the color end ColorChange() --Fires function once script.Parent.Changed:connect(function() ColorChange() --Fires function every time the color is changed in ImageLabel. end)
This should work if you use it correctly. Anyways, if you have any further questions or problems, let me know in the comments. Hope I helped :P