This video, titled ‘How To Make Minecraft In Roblox [World Generation]’, was uploaded by AydenExistsToo on 2020-10-01 15:00:20. It has garnered 1073 views and 27 likes. The duration of the video is 00:01:30 or 90 seconds.
In this video I teach you how to make Minecraft in Roblox. I teach you how to make world generation using noise.
Script: sizex = 16 –size of world sizey = 8 –height of world sizez = sizex seed = math.random(1, 100) –Change the second number to add more seeds. noisescale = 15 amplitude = 20 blocksize = 4
for x = 0,sizex do for z = 0,sizez do for y = 0,sizey do xnoise = math.noise(y/noisescale,z/noisescale,seed)*amplitude –y then z ynoise = math.noise(x/noisescale,z/noisescale,seed)*amplitude –x then z znoise = math.noise(x/noisescale,y/noisescale,seed)*amplitude –x then y
density = xnoise + ynoise + znoise + y if density @ 20 then –REPLACE @ WITH A LESS THAN SIGN! part = game.Lighting.Block:Clone() part.Parent = workspace.Blocks part.Anchored = true part.Size = Vector3.new(blocksize,blocksize,blocksize) part.CFrame = CFrame.new(x*blocksize,y*blocksize,z*blocksize) end end end end