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(Enum,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)~=nil) then
- v:Destroy()
- end
- end
- Camera0 = Instance.new("Camera")
- Model1 = Instance.new("Model")
- Model2 = Instance.new("Model")
- Folder3 = Instance.new("Folder")
- Part4 = Instance.new("Part")
- Part5 = Instance.new("Part")
- SelectionBox6 = Instance.new("SelectionBox")
- Script7 = Instance.new("Script")
- Part8 = Instance.new("Part")
- SelectionBox9 = Instance.new("SelectionBox")
- Part10 = Instance.new("Part")
- SelectionBox11 = Instance.new("SelectionBox")
- Camera0.Parent = mas
- Camera0.CFrame = CFrame.new(-101.816277, 337.09198, -133.507217, -0.61182338, 0.777958632, -0.143012881, -0, 0.180801392, 0.983519673, 0.790994465, 0.60174036, -0.110618502)
- Camera0.CoordinateFrame = CFrame.new(-101.816277, 337.09198, -133.507217, -0.61182338, 0.777958632, -0.143012881, -0, 0.180801392, 0.983519673, 0.790994465, 0.60174036, -0.110618502)
- Camera0.Focus = CFrame.new(-101.530251, 335.124939, -133.28598, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Camera0.focus = CFrame.new(-101.530251, 335.124939, -133.28598, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Model1.Archivable = false
- Model1.Name = "Buildv4MouseFilter"
- Model1.Parent = Camera0
- Model1.archivable = false
- Model2.Archivable = false
- Model2.Name = "Buildv4LocalParts"
- Model2.Parent = Camera0
- Model2.archivable = false
- Folder3.Name = "Frame3DFolder"
- Folder3.Parent = Camera0
- Part4.Name = "Baseplate"
- Part4.Parent = mas
- Part4.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.Position = Vector3.new(0, -10, 0)
- Part4.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part4.Size = Vector3.new(512, 20, 512)
- Part4.Anchored = true
- Part4.BrickColor = BrickColor.new("Dark stone grey")
- Part4.Locked = true
- Part4.brickColor = BrickColor.new("Dark stone grey")
- Part4.FormFactor = Enum.FormFactor.Symmetric
- Part4.formFactor = Enum.FormFactor.Symmetric
- Part5.Name = "OutLined Brick"
- Part5.Parent = mas
- Part5.CFrame = CFrame.new(0.0499725342, 0.579999506, 0.560112, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part5.Position = Vector3.new(0.0499725342, 0.579999506, 0.560112)
- Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part5.Size = Vector3.new(511.959869, 1.15999901, 516.739807)
- Part5.Anchored = true
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.BrickColor = BrickColor.new("Really black")
- Part5.Material = Enum.Material.Neon
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("Really black")
- Part5.FormFactor = Enum.FormFactor.Symmetric
- Part5.formFactor = Enum.FormFactor.Symmetric
- SelectionBox6.Parent = Part5
- SelectionBox6.Color = BrickColor.new("Really red")
- SelectionBox6.Color3 = Color3.new(1, 0, 0)
- SelectionBox6.Adornee = Part5
- Script7.Parent = Part5
- table.insert(cors,sandbox(Script7,function()
- local s = Instance.new("Sound")
- s.Name = "Sound"
- s.SoundId = "rbxassetid://234033735"
- s.Volume = 1
- s.Looped = true
- s.archivable = false
- s.Parent = game.Workspace
- wait()
- s:play()
- end))
- Part8.Name = "OutLined Brick"
- Part8.Parent = mas
- Part8.CFrame = CFrame.new(-109.07991, 25.3649979, 94.555191, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part8.Position = Vector3.new(-109.07991, 25.3649979, 94.555191)
- Part8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part8.Size = Vector3.new(43.9998703, 48.409996, 56.9296684)
- Part8.Anchored = true
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.BrickColor = BrickColor.new("Really black")
- Part8.Material = Enum.Material.Neon
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.brickColor = BrickColor.new("Really black")
- Part8.FormFactor = Enum.FormFactor.Symmetric
- Part8.formFactor = Enum.FormFactor.Symmetric
- SelectionBox9.Parent = Part8
- SelectionBox9.Color = BrickColor.new("Really red")
- SelectionBox9.Color3 = Color3.new(1, 0, 0)
- SelectionBox9.Adornee = Part8
- Part10.Name = "OutLined Brick"
- Part10.Parent = mas
- Part10.CFrame = CFrame.new(88.3300781, 25.3649979, -103.834801, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part10.Position = Vector3.new(88.3300781, 25.3649979, -103.834801)
- Part10.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part10.Size = Vector3.new(43.9998703, 48.409996, 56.9296684)
- Part10.Anchored = true
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.BrickColor = BrickColor.new("Really black")
- Part10.Material = Enum.Material.Neon
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.brickColor = BrickColor.new("Really black")
- Part10.FormFactor = Enum.FormFactor.Symmetric
- Part10.formFactor = Enum.FormFactor.Symmetric
- SelectionBox11.Parent = Part10
- SelectionBox11.Color = BrickColor.new("Really red")
- SelectionBox11.Color3 = Color3.new(1, 0, 0)
- SelectionBox11.Adornee = Part10
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement