How do I change a beam's Color3 (or colorsequence)


#1

I don’t understand how I need to write the code. I can’t interpret what the wiki says.


#2

This would make your beam/particle emitter/trail change from green to red during it’s lifetime (in properties)

ColorSequence.new(Color3.fromRGB(0,255,0),Color3.fromRGB(255,0,0))

This would make your beam/particle emitter/trail be green the entire time of its lifetime (in properties)

ColorSequence.new(Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,0))

*I haven’t fact checked this


#4

ColorSequence.new({ColorSequenceKeypoint.new(Color3.new(0,0,0),0),ColorSequenceKeypoint.new(Color3.new(1,1,1),1)})
This code will return a new ColorSequence value from given ColorSequenceKeypoints.
This keypoints are constructed using ColorSequenceKeypoint.new ( Color3 color, number time ).