I am at a loss here. It looks fine to me.
I should know how to fix simple issues like this, but I am lost.
I am getting an error for something that should be somewhat simple. Can someone please point out the possible issue. I have fooled around with this for a bit now and cannot figure out the problem.
for x = 100, x > 85, -5 do
game.StarterGui.Rain.Dark.BackgroundTransparency = x / 100
end
The error:
22:22:31.718 - ServerScriptService.Rain:6: attempt to compare number with nil
Thanks

3 comments
Could you post the full script? Also maybe put a wait in the for loop.
The rest of the script doesn't matter (I isolated the incident and got the same result). Also, a wait() will not make a difference.
Showing the rest of this script will help us to further understand the problem. Also, are you sure that you can do 'x > 85'? Because, I've never seen a 'for' loop do that before. :P