CHoff719

idk

Jun 5th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. --[[
  2. --//Scripted by AnimeWiki
  3. --//06.29.2015
  4. --//http://www.roblox.com/User.aspx?ID=71436898
  5. ]]
  6.  
  7. local xsize = 1
  8. local ysize = 1
  9. local zsize = 1
  10.  
  11. for x=1,5 * xsize,xsize do
  12. for y=1,10 * ysize,ysize do
  13. for z=1,10 * zsize,zsize do
  14. local part = Instance.new("Part", game:GetService("Workspace"))
  15. part.Anchored = true
  16. part.BottomSurface = "Smooth"
  17. part.TopSurface = "Smooth"
  18. part.Shape = "Block"
  19. part.FormFactor = "Custom"
  20. part.Size = Vector3.new(xsize,ysize,zsize)
  21. part.CFrame = CFrame.new(x,y,z)
  22. part.BrickColor = BrickColor.new("Reddish brown")
  23. part.Material = "Concrete"
  24. if y <= 2 then
  25. if math.random(1,3) == 1 then
  26. part.BrickColor = BrickColor.Red()
  27. part.Material = "Concrete"
  28. part.Transparency = 0.2
  29. end
  30. elseif y == ysize then
  31. part.BrickColor = BrickColor.Green()
  32. part.Material = "Grass"
  33. elseif y > 2 and y < 10 then
  34. if math.random(1,5) == 1 then
  35. part.BrickColor = BrickColor.White()
  36. end
  37. if math.random(1,25) == 1 then
  38. part.BrickColor = BrickColor.Yellow()
  39. end
  40. end
  41. end
  42. end
  43. end
Advertisement
Add Comment
Please, Sign In to add comment