Using noise on sphere terrain

  1. Hey I need help with generating a sphere using noise. I need the noise to make
    mountains and caves, so far I have made a script that generates a sphere using terrain
    and applied noise to it but it seams to just to make overlapping spheres, this is my code

local steps = 0 local layer = 0 local position local diameter = 100 local seed = math.random(-100 , 100) repeat wait() repeat position = CFrame.Angles(math.rad(steps),math.rad(-layer),math.rad(0)) CFrame.new(0,0,math.abs(diameter/0.6)) local noise = math.noise(steps/200,layer/100,0) seed workspace.Terrain:FillWedge(position + position.LookVector * noise, Vector3.new(30,30,100),Enum.Material.Grass) steps = steps + 1 until steps == 360 steps = 0 layer = layer + 1 until layer == 270 (edited)