i got the value to rise but my backgroundcolor3 isnt going up thoung, help idk what im doing wrong
local color = Vector3.new(1,1,1)
while true do
wait()
repeat
wait()
print(color + Vector3.new(1,1,1))
color = color + Vector3.new(1,1,1)
script.Parent.BackgroundColor3 = Color3.new(color)
print(script.Parent.BackgroundColor3)
until script.Parent.BackgroundColor3 == Color3.new(255,255,255)
--more below going the opposite way
end
prints
65, 65, 65<--rising
0, 0, 0<--not rising

2 comments
Vector3 isn't for colors. Try using Color3.fromRGB()