Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for x = 1, 20 do
- for y = 1, 20 do
- local NOISE = math.noise(x / 10, y / 50, math.random(1, 1000000))
- local RAN = math.random(1, 2)
- local PA = Instance.new("Part")
- PA.Size = Vector3.new(3, 3, 3)
- PA.CFrame = CFrame.new(x * 3, y * 3, NOISE)
- PA.Material = Enum.Material.SmoothPlastic
- if RAN == 1 then
- PA.BrickColor = BrickColor.new("Really red")
- elseif RAN == 2 then
- PA.BrickColor = BrickColor.new("Black")
- end
- PA.Parent = game.Workspace.Terrain
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement