Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index = 1
- bdex = 1
- num = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "19", "18", "17", "16", "15", "14", "13", "12", "11", "10", "9", "8", "7", "6", "5", "4", "3", "2"}
- Names = {"Camo", "Dark orange", "Dark green", "Bright green", "CGA brown"}
- last = nil
- tex = "http://www.roblox.com/asset/?id=22527112"
- for x = 1 ,40 do -- change the "42" for an other terrain pathern.
- for z = 1,42 do -- change the "42" for an other terrain pathern.
- wait()
- pc = Instance.new("Part")
- d = Instance.new("Texture")
- d.StudsPerTileU = 10
- d.StudsPerTileV = 10
- d.Texture = tex
- d.Parent = pc
- d2 = d:clone()
- d3 = d:clone()
- d4 = d:clone()
- d5 = d:clone()
- d6 = d:clone()
- d2.Parent = pc
- d3.Parent = pc
- d4.Parent = pc
- d5.Parent = pc
- d6.Parent = pc
- d.Face = "Top"
- d2.Face = "Bottom"
- d3.Face = "Left"
- d4.Face = "Right"
- d5.Face = "Back"
- d6.Face = "Front"
- pc.BrickColor = BrickColor.new((Names[index]))
- pc.Size = Vector3.new(8,5,8)
- pc.TopSurface = "Smooth"
- pc.BottomSurface = "Smooth"
- pc.Name = "Part"
- pc.Parent = game.Workspace
- pc.CFrame = CFrame.new(x*8,num[bdex],z*8)
- if last == nil then else
- pc.CFrame = CFrame.new(pc.Position,last.Position)
- end
- pc.Anchored = true
- last = pc
- index = index + 1
- bdex = bdex + 1
- if index > table.maxn(Names) then
- index = 1
- if bdex > table.maxn(num) then
- bdex = 1
- end
- end
- end
- end
- -- Have fun with it!
- -- arundel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement