EDHpastebin

Space

Apr 7th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  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
  29.  
  30. ------Skybox------
  31.  
  32. game.Lighting.TimeOfDay="00:00:00"
  33.  
  34.  
  35. local removebodies = Instance.new("Sky", game.Lighting)
  36.  
  37. removebodies.CelestialBodiesShown = not removebodies.CelestialBodiesShown
  38.  
  39. ------Planets------
  40.  
  41. baselevel = 0
  42.  
  43. workspace.Terrain:FillBall(Vector3.new(0,0,0),750,Enum.Material.Sandstone)
  44.  
  45. workspace.Terrain:FillBall(Vector3.new(200,1000,400),100,Enum.Material.Basalt)
  46.  
  47. workspace.Terrain:FillBall(Vector3.new(-200,1200,-3500),800,Enum.Material.Ground)
Add Comment
Please, Sign In to add comment