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"))
- local chil = workspace:GetChildren()
- for i,v in pairs(chil) do
- if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=sandbox()) then
- v:Destroy()
- end
- end
- Camera0 = Instance.new("Camera")
- Model1 = Instance.new("Model")
- Model2 = Instance.new("Model")
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- Camera0.Parent = mas
- Camera0.CFrame = CFrame.new(0.321689844, 18.2346153, 23.7645969, 0.98357147, -0.0819535926, 0.160844535, -0, 0.891008377, 0.453987002, -0.180519685, -0.446528673, 0.876370251)
- Camera0.CoordinateFrame = CFrame.new(0.321689844, 18.2346153, 23.7645969, 0.98357147, -0.0819535926, 0.160844535, -0, 0.891008377, 0.453987002, -0.180519685, -0.446528673, 0.876370251)
- Camera0.Focus = CFrame.new(0, 17.3266392, 22.0118523, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera0.focus = CFrame.new(0, 17.3266392, 22.0118523, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model1.Archivable = true
- Model1.Name = "Buildv4MouseFilter"
- Model1.Parent = Camera0
- Model1.archivable = true
- Model2.Archivable = true
- Model2.Name = "Buildv4LocalParts"
- Model2.Parent = Camera0
- Model2.archivable = true
- Part3.Name = "Baseplate"
- Part3.Parent = mas
- Part3.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.Position = Vector3.new(0, -10, 0)
- Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part3.Size = Vector3.new(512, 20, 512)
- Part3.Anchored = true
- Part3.BrickColor = BrickColor.new("Dark stone grey")
- Part3.Locked = true
- Part3.brickColor = BrickColor.new("Dark stone grey")
- Part3.FormFactor = Enum.FormFactor.Symmetric
- Part3.formFactor = Enum.FormFactor.Symmetric
- Part4.Parent = mas
- Part4.CFrame = CFrame.new(8.03999901, 10.6200037, -11.5500002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.Position = Vector3.new(8.03999901, 10.6200037, -11.5500002)
- Part4.Size = Vector3.new(32.3999977, 21.2399998, 2)
- Part4.Anchored = true
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.TopSurface = Enum.SurfaceType.Smooth
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- 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