Advertisement
iProgeny

Untitled

Jan 13th, 2018
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. game:GetService("Lighting").FogEnd = 10000
  2. local r = 255
  3. local g = 0
  4. local b = 0
  5.  
  6. while true do
  7. if r > 0 and b == 0 then
  8. r = r - 1
  9. g = g + 1
  10. end
  11. if g > 0 and r == 0 then
  12. g = g - 1
  13. b = b + 1
  14. end
  15. if b > 0 and g == 0 then
  16. r = r + 1
  17. b = b - 1
  18. end
  19. game:GetService("Lighting").FogColor = Color3.new(r, g, b)
  20. wait()
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement