Hi, I'm trying to make a sandbox roblox game similar to minecraft. Meant to be with more ore and my own choices of ore. I need to learn how to make terrain generation, so I could be able to start progress on my game.
If you can help me, I'd be very thankful.
I've started some off, unsure of the rest.
Script:
local wantedheight = 0 --I don't know this at the moment. If you can help me out, I would be very grateful. Also had to use 0's to not make it go red. I'd want this to be atleast 64.
local function generateterrain()
for x = 1,50 do
for z = 1,50 do
local grass = Instance.new("Part")
grass.Material = Enum.Material.Grass
grass.Color = BrickColor.new("Lime green")
grass.Size = 2,2,2
end
end
end

3 comments
You would have to use Instance.new i'm pretty sure? Probably not..
use math.noise,https://scriptinghelpers.org/blog/terrain-generation-what-and-how
This is how to do it: http://https://scriptinghelpers.org/questions/25225/how-to-use-mathnoise then you get where all parts are stored and do workspace:FillBlock(Part.CFrame,Part.Position,"Grass")