-- Apply to the baked World1Map in Edit mode. -- Toolbox assets: DaveCam456 / 11751641277; FracturedSkies / 2128776869. local V,CF=Vector3.new,CFrame.new local terrain=workspace.Terrain local map=workspace.World1Map local lib=game.ServerStorage.LandscapeAssetLibrary local ms=game:GetService('MaterialService') for x=-288,287,48 do terrain:ReplaceMaterial(Region3.new(V(x,-24,1212),V(x+48,160,1788)):ExpandToGrid(4),4,Enum.Material.Rock,Enum.Material.Slate) task.wait() end local colors={Snow=Color3.fromRGB(127,163,63),Salt=Color3.fromRGB(191,155,105),Rock=Color3.fromRGB(132,139,155),Slate=Color3.fromRGB(132,139,155)} for name,color in colors do local material=Enum.Material[name] local variant=ms:FindFirstChild('LowPolyFlat'..name) or Instance.new('MaterialVariant') variant.Name='LowPolyFlat'..name;variant.BaseMaterial=material variant.ColorMap='rbxasset://textures/SelfView/whiteRect.png' variant.RoughnessMap='rbxasset://textures/SelfView/whiteRect.png' variant.NormalMap='';variant.MetalnessMap='';variant.StudsPerTile=32;variant.Parent=ms ms:SetBaseMaterialOverride(material,variant.Name);terrain:SetMaterialColor(material,color) end local old=map:FindFirstChild('LowPolyRockwork');if old then old:Destroy() end local folder=Instance.new('Folder');folder.Name='LowPolyRockwork';folder.Parent=map folder:SetAttribute('CliffCreator','DaveCam456') folder:SetAttribute('CliffAssetId','11751641277') folder:SetAttribute('RockCreator','FracturedSkies') folder:SetAttribute('RockAssetId','2128776869') local cliff=lib.LowPolyRockyCliff:FindFirstChildWhichIsA('MeshPart',true) local mountain=lib.MountainBorder:FindFirstChildWhichIsA('MeshPart',true) local stones={} for _,p in lib.LowPolyRockPack:GetDescendants() do if p:IsA('MeshPart') then table.insert(stones,p) end end table.sort(stones,function(a,b) return a.Name1530) and not (x< -58 and x> -95 and z>1430 and z<1494) and not (x> -24 and x<8 and z<1440) if g>-1 and g<7 and clear then local hit=workspace:Raycast(V(x,180,z),V(0,-230,0),rp) if hit then local s=rng:NextNumber(3,7) place(stones[i%#stones+1],'ShoreBoulder',hit.Position+V(0,s*0.18,0),V(s,s*0.8,s*0.9),rng:NextNumber(0,6.28)) end end end -- Put trees on the new rock surfaces instead of leaving them inside the mountains. local rockRay=RaycastParams.new();rockRay.FilterType=Enum.RaycastFilterType.Include;rockRay.FilterDescendantsInstances={folder,terrain};rockRay.IgnoreWater=true local moved=0 for _,tree in map.LandscapeDetails:GetChildren() do if tree:IsA('Model') and tree.Name=='Pine' then local c,s=tree:GetBoundingBox() local base=c.Y-s.Y/2 local hit=workspace:Raycast(V(c.X,220,c.Z),V(0,-260,0),rockRay) if hit and math.abs(hit.Position.Y-base)>0.5 then tree:PivotTo(tree:GetPivot()+V(0,hit.Position.Y-base-0.3,0));moved+=1 end end end for _,n in {'AssetPreview','MountainPreview'} do local preview=workspace:FindFirstChild(n);if preview then preview:Destroy() end end map:SetAttribute('LandscapeStyle','LowPolyMatte') local small=map.SmallCabin local sc,ss=small:GetBoundingBox() local shore=workspace:Raycast(V(-8,180,1438),V(0,-220,0),rp) local sy=math.max(3.5,shore and shore.Position.Y or 3.5) small:PivotTo(small:GetPivot()+V(-8-sc.X,sy-(sc.Y-ss.Y/2),1438-sc.Z)) return {rocks=#folder:GetChildren(),treesGrounded=moved}