Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local a = 0 -- no touch
- local c = 0 -- no touch
- local pos = Vector3.new(0,0,0) -- spawn pos
- local color = {"Bright orange","Really black"} -- colors
- local sizeX = 7 -- size of bricks in x coord
- local sizeZ = 4 -- size of bricks in z coord
- local blocksX = 100 -- bricks in x coord
- local blocksZ = 100 -- bricks in z coord
- for i = 1, blocksZ do
- c = 0
- for i = 1, blocksX do
- wait()
- b = Instance.new("Part",game.Workspace)
- b.Anchored = true
- b.Size = Vector3.new(sizeX,math.random(1,10),sizeZ)
- b.BrickColor = BrickColor.new(color[math.random(1,#color)])
- b.Position = pos + Vector3.new(sizeX*a,0,c*sizeZ)
- c = c + 1
- end
- a = a + 1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement