Advertisement
cat568

Untitled

Mar 8th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Sky0 = Instance.new("Sky")
  19. Sky0.Parent = mas
  20. Sky0.CelestialBodiesShown = false
  21. Sky0.SkyboxBk = "http://www.roblox.com/asset/?id=570557514"
  22. Sky0.SkyboxDn = "http://www.roblox.com/asset/?id=570557775"
  23. Sky0.SkyboxFt = "http://www.roblox.com/asset/?id=570557559"
  24. Sky0.SkyboxLf = "http://www.roblox.com/asset/?id=570557620"
  25. Sky0.SkyboxRt = "http://www.roblox.com/asset/?id=570557672"
  26. Sky0.SkyboxUp = "http://www.roblox.com/asset/?id=570557727"
  27. for i,v in pairs(mas:GetChildren()) do
  28. v.Parent = game:GetService("Lighting")
  29. pcall(function() v:MakeJoints() end)
  30. end
  31. mas:Destroy()
  32. for i,v in pairs(cors) do
  33. spawn(function()
  34. pcall(v)
  35. end)
  36. end
  37. game.Lighting.FogEnd = 50
  38. game.Lighting.FogStart = 0
  39. game.Lighting.FogColor = Color3.new (132,0,192)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement