Advertisement
nhathuypopo

Untitled

Mar 25th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. 1 :
  2. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  3.  
  4. counter = 0
  5.  
  6. while wait(0.1)do
  7. Frame.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  8.  
  9. counter = counter + 0.01
  10. end
  11. 2:
  12. while wait(1) do
  13. Frame.BackgroundColor3 = Color3.fromHSV(math.random(100)/100,1,1)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement