trying to attune a spot light to a color changing brick, but when it ran, it only changed to red light and the rest of the colors were white light

while true do
	script.Parent.Color = Color3.new(255,0,0)
	wait(0.1)
	script.Parent.Color = Color3.new(255,158,78)
	wait(0.1)
	script.Parent.Color = Color3.new(255,245,92)
	wait(0.1)
	script.Parent.Color = Color3.new(1,145,1)
	wait(0.1)
	script.Parent.Color = Color3.new(37,20,213)
	wait(0.1)
	script.Parent.Color = Color3.new(205,88,213)
	wait(0.1)
end

how does one f i x this?

2 comments

1

Color3.fromRGB?

0

k00l thanx