I want to create a particle emitter with a color sequence but it keeps giving me an error.
Script:
p.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0.1,Color3.new(85,255,0)), ColorSequenceKeypoint.new(0.25,Color3.new(0,255,255)), })
It gives me this error: ColorSequence: color value out of range
i don't really know how to fix it. Can someone please help me?
Color3.new
only works with numbers ranging from 0-1, hence why it's saying your values are out of range. Use Color3.fromRGB
instead, which uses 0-255.