Advertisement
Wolfz_Cheats

Roblox LocalScript rainbow gui script

Feb 24th, 2020
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. -- Roblox LocalScript rainbow gui script
  2.  
  3. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  4.  
  5. counter = 0
  6.  
  7. while wait(0.1)do
  8. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  9.  
  10. counter = counter + 0.01
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement