Advertisement
Herobrinekid2

Untitled

Dec 20th, 2021
1,146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.49 KB | None | 0 0
  1.  
  2.  
  3.  
  4. for x = 1, 20 do
  5.     for y = 1, 20 do
  6.         local NOISE = math.noise(x / 10, y / 50, math.random(1, 1000000))
  7.         local RAN = math.random(1, 2)
  8.         local PA = Instance.new("Part")
  9.         PA.Size = Vector3.new(3, 3, 3)
  10.         PA.CFrame = CFrame.new(x * 3, y * 3, NOISE)
  11.         PA.Material = Enum.Material.SmoothPlastic
  12.         if RAN == 1 then
  13.             PA.BrickColor = BrickColor.new("Really red")
  14.         elseif RAN == 2 then
  15.             PA.BrickColor = BrickColor.new("Black")
  16.         end
  17.         PA.Parent = game.Workspace.Terrain
  18.     end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement