local part = script.Parent
local light = script.Parent.PointLight
while wait(0) do
part.BrickColor = BrickColor.new(13,105,172)
light.Color = Color3.new(13,105,172)
wait(2)
part.BrickColor = BrickColor.new(196,40,28)
light.Color = Color3.new(196,40,28)
wait(2)
part.BrickColor = BrickColor.new(245,205,48)
light.Color = Color3.new(245,205,48)
wait(2)
part.BrickColor = BrickColor.new(75,151,75)
light.Color = Color3.new(75,151,75)
wait(2)
part.BrickColor = BrickColor.new(170,0,170)
light.Color = Color3.new(170,0,170)
wait(2)
end
My problem is it turns only magenta (170,0,170) then it turns back white (default color), how to make it so it does every color in this script?

1 comment
BrickColors cannot be constructed from RGB data.