Advertisement
BINO2002

Untitled

Jan 6th, 2019
8,266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. local player = game:GetService("Players")
  2. local mapthing = player.LocalPlayer.PlayerGui.MainGui.Minimap
  3. local on = true
  4.  
  5. mapthing.BackgroundTransparency = 0
  6. mapthing.BorderSizePixel = 4
  7. while wait() do
  8. local rc = math.random(0,255)
  9. local gc = math.random(0,255)
  10. local bc = math.random(0,255)
  11.  
  12. local r = rc / 255
  13. local g = gc / 255
  14. local b = bc / 255
  15. local c = Color3.new(r, g, b)
  16.  
  17. for i = 0,1,0.05 do
  18. wait()
  19. mapthing.BorderColor3 = mapthing.BorderColor3:lerp(c,i)
  20. mapthing.BorderColor3 = mapthing.BorderColor3:lerp(c,i)
  21.  
  22. mapthing.BackgroundColor3 = mapthing.BackgroundColor3:lerp(c,i)
  23. mapthing.BackgroundColor3 = mapthing.BackgroundColor3:lerp(c,i)
  24. end
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement