SHOW:
|
|
- or go back to the newest paste.
| 1 | ------Made by Yonah#1315------ | |
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ------Server Cleanup------ | |
| 6 | ||
| 7 | local children = game.Workspace:GetChildren() | |
| 8 | for _, child in pairs(children) do | |
| 9 | for _, child in pairs(child:GetChildren()) do | |
| 10 | table.insert(children, child) | |
| 11 | end | |
| 12 | ||
| 13 | if child.ClassName ~= "Terrain" and child:IsA("BasePart") then
| |
| 14 | child:Destroy() | |
| 15 | end | |
| 16 | end | |
| 17 | ||
| 18 | for i,v in pairs(Workspace:GetChildren()) do | |
| 19 | if v.Name == 'Terrain' then | |
| 20 | v:Clear() | |
| 21 | ||
| 22 | end | |
| 23 | ||
| 24 | end | |
| 25 | ||
| 26 | ------Gravity------ | |
| 27 | ||
| 28 | - | workspace.Gravity = 30 |
| 28 | + | |
| 29 | ------Skybox------ | |
| 30 | ||
| 31 | game.Lighting.TimeOfDay="00:00:00" | |
| 32 | ||
| 33 | ||
| 34 | local removebodies = Instance.new("Sky", game.Lighting)
| |
| 35 | ||
| 36 | removebodies.CelestialBodiesShown = not removebodies.CelestialBodiesShown | |
| 37 | ||
| 38 | ------Planets------ | |
| 39 | ||
| 40 | baselevel = 0 | |
| 41 | ||
| 42 | workspace.Terrain:FillBall(Vector3.new(0,0,0),750,Enum.Material.Sandstone) | |
| 43 | ||
| 44 | workspace.Terrain:FillBall(Vector3.new(200,1000,400),100,Enum.Material.Basalt) | |
| 45 | ||
| 46 | workspace.Terrain:FillBall(Vector3.new(-200,1200,-3500),800,Enum.Material.Ground) |