Help with Color Sequence

So I was recently trying to set up a trails Color via script, and checked the api (ColorSequence | Documentation - Roblox Creator Hub), I understood how to use it except for one example, which was using a table to set up the keypoints, I would really like an example or something of sorts, thanks in advance :slight_smile:

Using a table to set up the keypoints Iā€™d assume gives you a longer lengthier sequence, just formatting.
Example:

ColorSequence.new({Color3.new(color), Color3.new(color), Color3.new(color) ... })
4 Likes

@Endyloid thanks for the reply, but I just solved it, I was using Color3.fromRGB, instead I needed to use ColorSequenceKeypoint

1 Like