Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --//=================================\\
- --|| RAINBOW FUNCTION
- --//=================================//
- local rain=Color3.new()
- sincolor=function(sine)
- sine=math.deg(sine)
- local radcolor=function(col)
- return math.rad(col/255*360)
- end
- local r=math.abs(math.sin(radcolor(sine + 10)))
- local g=math.abs(math.sin(radcolor(sine + 85)))
- local b=math.abs(math.sin(radcolor(sine + 170)))
- return Color3.new(r, g, b)
- end
- local rain2=Color3.new()
- sincolor2=function(sine2)
- sine2=math.deg(sine2)
- local radcolor=function(col)
- return math.rad(col/255*360)
- end
- local r=math.abs(math.sin(radcolor(sine2 + 25)))
- local g=math.abs(math.sin(radcolor(sine2 + 100)))
- local b=math.abs(math.sin(radcolor(sine2 + 185)))
- return Color3.new(r, g, b)
- end
- rain=sincolor(tick()*1)
- rain2=sincolor2(tick()*1)
Add Comment
Please, Sign In to add comment