Colorsequence colors

I’m trying to change some beam’s colors to 3 keypoints, white, red, white, example here:

image

I made this script:

for i,v in pairs(workspace.Teleporters.MediaHall:GetDescendants()) do
	if v:IsA("Beam") then
		v.Color = ColorSequence.new(
			Color3.fromRGB(255, 255, 255),
			Color3.fromRGB(255, 0, 0),
			Color3.fromRGB(255, 255, 255)
		)
	end
end

But when I run it this is the result I get:

image

Any help would be nice thanks! :smiley:

pretty sure the issue is that you’re using color3s and not colorsequencekeypoints. colorsequence has a constructor for 2 color3s but not more, so it’s only accepting the first 2. if you want to make this work then you’ll have to construct the colorsequence with colorsequencekeypoints.

1 Like