Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Sky0 = Instance.new("Sky")
- Script1 = Instance.new("Script")
- Sound2 = Instance.new("Sound")
- Script3 = Instance.new("Script")
- Sky0.Parent = mas
- Sky0.MoonTextureId = "rbxassetid://1346184554"
- Script1.Parent = mas
- table.insert(cors,sandbox(Script1,function()
- game.Lighting.TimeOfDay = "-03:10:36"
- end))
- Sound2.Name = "Music"
- Sound2.Parent = mas
- Sound2.SoundId = "rbxassetid://875902584"
- Sound2.Volume = 5
- Sound2.Looped = true
- Script3.Parent = Sound2
- table.insert(cors,sandbox(Script3,function()
- while script.Parent.IsPlaying == false do
- wait()
- script.Parent:Play()
- end
- -- Made by master3395
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Lighting")
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement