So, I've gotten better at scripting. I am working on a myth game, And want to make the screen fade out. I use a screengui (Duh) and a frame in that screengui. In the frame is this script:
waitt = 1
------------------------------------
wait(5)
r,g,b = 0,0,0
for v = 1, 255 do
wait(waitt)
r,g,b = r+1,g+1,b+1
script.Parent.BackgroundColor3 = Color3.new(r,g,b)
print(r,g,b)
end
And its purpose is to make the BackgroundColor3 values + 1. If you do not know what i mean here is what i mean: Basically, Its making the r,g, and b variables + 1. Then, we do:script.Parent (<--Frame).BackgroundColor3 = Color3.new(r,g,b) Why? Wel, I noticed when something completely is black the numbers are 0,0,0. When i change it to like 100,100,100 it will become more white. BUT, i did this and my script makes the frame instantly white. I do not know why, That is why i am asking it. I hope you find a answer to this question.

1 comment
Ok.