Advertisement
Jaden11

Noob script Lel

Dec 7th, 2014
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. local a = 0 -- no touch
  2. local c = 0 -- no touch
  3. local pos = Vector3.new(0,0,0) -- spawn pos
  4. local color = {"Bright orange","Really black"} -- colors
  5. local sizeX = 7 -- size of bricks in x coord
  6. local sizeZ = 4 -- size of bricks in z coord
  7. local blocksX = 100 -- bricks in x coord
  8. local blocksZ = 100 -- bricks in z coord
  9.  
  10. for i = 1, blocksZ do
  11. c = 0
  12. for i = 1, blocksX do
  13. wait()
  14. b = Instance.new("Part",game.Workspace)
  15. b.Anchored = true
  16. b.Size = Vector3.new(sizeX,math.random(1,10),sizeZ)
  17. b.BrickColor = BrickColor.new(color[math.random(1,#color)])
  18. b.Position = pos + Vector3.new(sizeX*a,0,c*sizeZ)
  19. c = c + 1
  20. end
  21. a = a + 1
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement