Advertisement
Greatgamer59

Rainbow V2

May 29th, 2018
4,136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. -- Scripted by Xboxcoder59 plays
  2.  
  3. local isAdmin = {["friendnamehere"] = true, ["anotheronehere"] = true}
  4.  
  5. game.Players.PlayerAdded:connect(function(player)
  6. if isAdmin[player.Name] then
  7. wait(2)
  8. while wait() do
  9. local rc = math.random(0,255)
  10. local gc = math.random(0,255)
  11. local bc = math.random(0,255)
  12. local r = rc / 255
  13. local g = gc / 255
  14. local b = bc / 255
  15. local c = Color3.new(r, g, b)
  16. for i = 0,1,0.03 do
  17. wait()
  18. player.Character.Rank.Frame.Name1.TextColor3 = player.Character.Rank.Frame.Name1.TextColor3:lerp(c,i)
  19. player.Character.Rank.Frame.TextLabel.TextColor3 = player.Character.Rank.Frame.Name1.TextColor3:lerp(c,i)
  20. end
  21. end
  22. end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement