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

For Loop Error?

Asked by 10 years ago

So, I have this for loop (h = script.Parent):

for i=1,0, -0.1 do
wait(0.01)
h.one.BackgroundTransparency = i
h.one.TextTransparency = i
h.two.BackgroundTransparency = i
h.two.TextTransparency = i
h.three.BackgroundTransparency = i
h.three.TextTransparency = i
h.four.TextTransparency = i
h.four.BackgroundTransparency = i
end

Not sure why, but only h.four changes?

Answer this question