Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Particle color not changing?

local sequence = ColorSequence.new(Color3.new(119, 255, 203), Color3.new(7, 102, 161))
ice.Color = sequence

Googled about this, used the answer question and the C3 is still plain white after I press play.

2 answers

✓ Accepted answer

###This is because Color3.new() takes numbers between 0 and 1, so it would have to be:

Color3.new(119/255, 255/255, 203/255), Color3.new(7/255, 102/255, 161/255)

###But dividing every number by 255 just to get the colour is really inefficient and inconvenient. This is an easier method:

Color3.fromRGB(119, 255, 203), Color3.fromRGB(7, 102, 161)

###Hope this helps.

1 comment

1

THX!!!!!!

Make 2 separate variables for each Color3.new. I tried this in studio and online and this works!

local color1 = Color3.fromRGB(119, 255, 203)
local color2 = Color3.fromRGB(7, 102, 161)
ice.Color = ColorSequence.new(color1,color2)

This discussion is preserved as it was. New answers, comments, and votes are closed.