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
The second part of the for loop is the "end number", it's not supposed to be an expression like x > 85.
Try this instead:
for x = 100, 85, -5 do
More info on for loops on the wiki: http://wiki.roblox.com/index.php?title=For_loop#For
Locked by adark and BlueTaslem
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?