---
title: "Terrain Generation V1 | Universal Roblox Script - ScriptBlox"
description: "Terrain Generation V1 for any Roblox game: Very laggy better when in pc and in literal baseplate Expect client freezes (free to optimize more)"
canonical_url: "https://scriptblox.com/script/Universal-Script-Terrain-Generation-V1-17252"
meta:
  "og:description": "Terrain Generation V1 for any Roblox game: Very laggy better when in pc and in literal baseplate Expect client freezes (free to optimize more)"
  "og:image": "https://scriptblox.com/images/script/1931645-1723804615987.png"
  "og:title": "Terrain Generation V1 | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Terrain Generation V1 for any Roblox game: Very laggy better when in pc and in literal baseplate Expect client freezes (free to optimize more)"
  "twitter:image": "https://scriptblox.com/images/script/1931645-1723804615987.png"
  "twitter:title": "Terrain Generation V1 | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/1931645-1723804615987.png)

# **Terrain Generation V1**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![UnnesscaryInventions](https://scriptblox.com/images/photo/6678169b794e634f0700eaa2-1719146257838.jpg) [UnnesscaryInventions](https://scriptblox.com/u/UnnesscaryInventions)1M views**

2 years ago

[**Get an executor**](https://scriptblox.com/executors?kind=executor)

Please login to perform these actions:

## **Does it work? **

**No reports yet **

No reports yet. Tried it? Be the first to say.

Also noticed:

## Description

Very laggy better when in pc and in literal baseplate Expect client freezes (free to optimize more)

## **Updates **

1. Mar 27, 2025

   ****Script edited:**** Create script

[View Raw](https://scriptblox.com/raw/Universal-Script-Terrain-Generation-V1-17252)

```
local a=64;local b=2;local c=512;local d=10;local e=0.05;local f=50;local g=0.2;local h=0.5;local i=10;local j=0.1;local k=0.1;local l=50;local m={}local function n(o,p,q,r)return math.noise(o*q,p*q,0)*r end;local function s()for o=0,c-a,a do m[o]={}for p=0,c-a,a do m[o][p]=n(o,p,e,d)end end end;local function t(o,p)local u=math.floor(o/a)*a;local v=math.floor(p/a)*a;return m[u][v]end;local function w(x,y,z)local A=Instance.new("Part")A.Size=Vector3.new(b,b,b)A.Position=x;A.Anchored=true;A.Material=y;A.Color=z;A.Parent=workspace end;local function B(x)local C=math.random(5,10)local D=2;for E=1,C do local F=x+Vector3.new(0,E*b,0)local G=Instance.new("Part")G.Size=Vector3.new(b,b,b)G.Position=F;G.Anchored=true;G.Material=Enum.Material.Wood;G.Color=Color3.fromRGB(101,67,33)G.Parent=workspace end;for o=-D,D do for H=-D,D do for p=-D,D do if math.sqrt(o^2+H^2+p^2)<=D then local I=x+Vector3.new(o*b,C*b+H*b,p*b)local J=Instance.new("Part")J.Size=Vector3.new(b,b,b)J.Position=I;J.Anchored=true;J.Material=Enum.Material.LeafyGrass;J.Color=Color3.fromRGB(34,139,34)J.Parent=workspace end end end end end;local function K(L,M)local N={}local O={}for o=L,L+a-b,b do for p=M,M+a-b,b do local P=t(o,p)local Q=math.floor(P/b)*b;local R=Q+f;local S=n(o,p,e,1)local T=S>h and"forest"or"plains"local y,z;for H=R-b,R,b do local x=Vector3.new(o,H,p)if H==R then y=Enum.Material.Grass;z=T=="forest"and Color3.fromRGB(34,139,34)or Color3.fromRGB(124,252,0)elseif H==R-b then y=Enum.Material.Slate;z=Color3.fromRGB(139,69,19)else break end;table.insert(N,{position=x,material=y,color=z})end;if S<g then table.insert(O,Vector3.new(o,R-b,p))end end end;local function U()local E=1;while E<=#N do local V=math.min(E+l-1,#N)for W=E,V do local X=N[W]w(X.position,X.material,X.color)wait(k)end;E=V+1 end end;coroutine.wrap(U)()for Y,Z in pairs(O)do local _=3;for o=-_,_ do for p=-_,_ do local a0=Z+Vector3.new(o*b,0,p*b)w(a0,Enum.Material.Water,Color3.fromRGB(0,0,255))end end end;local function a1()local a2=0;for o=L,L+a-b,b do for p=M,M+a-b,b do if a2<i and math.random()<j then local x=Vector3.new(o,f+b,p)B(x)a2=a2+1 end end end end;a1()end;local function a3()s()local o,p=0,0;while o<c do while p<c do K(o,p)p=p+a;wait(1)end;o=o+a;p=0;wait(1)end end;a3()


```

## **Comments **

**1**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Terrain-Generation-V1-17252)

![Orealated's profile picture](https://scriptblox.com/images/photo/653394f6b5c09e19e74f2f22-1726815137417.jpg)

[**Orealated**](https://scriptblox.com/u/Orealated)2 years ago(edited)

What?

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Terrain-Generation-V1-17252#script","url":"https://scriptblox.com/script/Universal-Script-Terrain-Generation-V1-17252","name":"Terrain Generation V1","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"UnnesscaryInventions","url":"https://scriptblox.com/u/UnnesscaryInventions"},"datePublished":"2024-08-16T10:36:56.036Z","image":"https://scriptblox.com/images/script/1931645-1723804615987.png","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Terrain-Generation-V1-17252#webpage","@type":"WebPage","description":"Terrain Generation V1 for any Roblox game: Very laggy better when in pc and in literal baseplate Expect client freezes (free to optimize more)","name":"Terrain Generation V1 | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Terrain-Generation-V1-17252","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Terrain-Generation-V1-17252#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Terrain-Generation-V1-17252#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Terrain-Generation-V1-17252"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Terrain-Generation-V1-17252#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Terrain Generation V1","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
