coolgoldboy166

fantasy

Dec 14th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. game.Workspace.Base.BrickColor = BrickColor.new('Pastel brown')
  2. game.Workspace.Base.Material = 'Cobblestone'
  3.  
  4. local bloom = Instance.new("BloomEffect", game.Lighting)
  5.  
  6. bloom.Threshold = 0.9
  7. bloom.Intensity = 0.9
  8. bloom.Size = 15
  9.  
  10. function sandbox(var,func)
  11. local env = getfenv(func)
  12. local newenv = setmetatable({},{
  13. __index = function(self,k)
  14. if k=="script" then
  15. return var
  16. else
  17. return env[k]
  18. end
  19. end,
  20. })
  21. setfenv(func,newenv)
  22. return func
  23. end
  24. cors = {}
  25. mas = Instance.new("Model",game:GetService("Lighting"))
  26. BloomEffect0 = Instance.new("BloomEffect")
  27. Sky1 = Instance.new("Sky")
  28. BloomEffect0.Parent = mas
  29. BloomEffect0.Threshold = 1
  30. BloomEffect0.Intensity = 0.5
  31. Sky1.Parent = mas
  32. Sky1.CelestialBodiesShown = false
  33. Sky1.SkyboxBk = "http://www.roblox.com/asset/?id=479712644"
  34. Sky1.SkyboxDn = "http://www.roblox.com/asset/?id=479712702"
  35. Sky1.SkyboxFt = "http://www.roblox.com/asset/?id=479712776"
  36. Sky1.SkyboxLf = "http://www.roblox.com/asset/?id=479712892"
  37. Sky1.SkyboxRt = "http://www.roblox.com/asset/?id=479713047"
  38. Sky1.SkyboxUp = "http://www.roblox.com/asset/?id=479713195"
  39. Sky1.StarCount = 50
  40. Sky1.CelestialBodiesShown = false
  41. for i,v in pairs(mas:GetChildren()) do
  42. v.Parent = game:GetService("Lighting")
  43. pcall(function() v:MakeJoints() end)
  44. end
  45. mas:Destroy()
  46. for i,v in pairs(cors) do
  47. spawn(function()
  48. pcall(v)
  49. end)
  50. end
Add Comment
Please, Sign In to add comment