So I wanted to make it so you can change the color of particles by changing the brick's color.
This is the script:
while true do
wait()
script.Parent.Pixelate.Color = script.Parent.BrickColor.Color
end
I get this error:
19:13:26.111 - Workspace.Pixelate_Particle.Script:3: bad argument #3 to 'Color' (ColorSequence expected, got Color3)
And here are the attempts I've done.
script.Parent.SurfaceGui.ImageLabel.BackgroundColor3 = script.Parent.BrickColor.Color
script.Parent.Pixelate.Color = Color3.new(script.Parent.SurfaceGui.ImageLabel.BackgroundColor3.r,0,0)
------------------------------------------
script.Parent.Pixelate.Color = Color3.new(script.Parent.BrickColor.Color)
------------------------------------------
script.Parent.Pixelate.Color = Color3.new(script.Parent.BrickColor.Color.r,script.Parent.BrickColor.Color.g,script.Parent.BrickColor.Color.b)
------------------------------------------
(Also i've tried setting the color's Start and End instead, it just says they can't be assigned to.)
How can I do this? This is really annoying me.
|