Advertisement
4zx16

Rainbow Background (GUI) (2)

Dec 28th, 2021 (edited)
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. --[[
  2.  || 📜 AUTHOR: @4zx16 || RAINBOW BACKGROUND (GUI) (2)
  3. ]]
  4. while true do
  5.     i = 0
  6.    
  7.     for n=1,0,-0.05 do
  8.         i = i + 0.05
  9.         script.Parent.BackgroundColor3 = Color3.new(i, 0, n)
  10.         wait()
  11.     end
  12.     i = 0
  13.     for n=1,0,-0.05 do
  14.         i = i + 0.05
  15.         script.Parent.BackgroundColor3 = Color3.new(n, i, 0)
  16.         wait()
  17.     end
  18.     i = 0
  19.     for n=1,0,-0.05 do
  20.         i = i + 0.05
  21.         script.Parent.BackgroundColor3 = Color3.new(0, n, i)
  22.         wait()
  23.     end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement