Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

fix light script that only portrays one distinct color?

Asked by 5 years ago
Edited 5 years ago

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?

1
Color3.fromRGB? User#20279 0 — 5y
0
k00l thanx spunkworks 110 — 5y

Answer this question