Advertisement
otorp2

roblox rainbow

Jan 2nd, 2018
714
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. function colorzap(i)
  2. local colors = {"Really red","Bright orange","New Yeller","Bright green","Really blue","Dark indigo","Eggplant",}
  3.  
  4. for key, value in ipairs(colors) do
  5. local cube = Instance.new("Part",workspace)
  6. cube.BrickColor = BrickColor.new(value)
  7. cube.Position = Vector3.new(i,0,0)
  8. cube.Anchored = true
  9. end
  10. end
  11. for i = 0, 100, 1 do
  12. colorzap(i)
  13. wait(.1)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement