Christoffer07700Extr

for people want to make shacklusters script rainbow

Aug 11th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. --//=================================\\
  2. --|| RAINBOW FUNCTION
  3. --//=================================//
  4.  
  5. local rain=Color3.new()
  6. sincolor=function(sine)
  7. sine=math.deg(sine)
  8. local radcolor=function(col)
  9. return math.rad(col/255*360)
  10. end
  11. local r=math.abs(math.sin(radcolor(sine + 10)))
  12. local g=math.abs(math.sin(radcolor(sine + 85)))
  13. local b=math.abs(math.sin(radcolor(sine + 170)))
  14. return Color3.new(r, g, b)
  15. end
  16.  
  17. local rain2=Color3.new()
  18. sincolor2=function(sine2)
  19. sine2=math.deg(sine2)
  20. local radcolor=function(col)
  21. return math.rad(col/255*360)
  22. end
  23. local r=math.abs(math.sin(radcolor(sine2 + 25)))
  24. local g=math.abs(math.sin(radcolor(sine2 + 100)))
  25. local b=math.abs(math.sin(radcolor(sine2 + 185)))
  26. return Color3.new(r, g, b)
  27. end
  28. rain=sincolor(tick()*1)
  29. rain2=sincolor2(tick()*1)
Add Comment
Please, Sign In to add comment