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"))
- Part0 = Instance.new("Part")
- Part1 = Instance.new("Part")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- Part5 = Instance.new("Part")
- Script6 = Instance.new("Script")
- ClickDetector7 = Instance.new("ClickDetector")
- Script8 = Instance.new("Script")
- Script9 = Instance.new("Script")
- Script10 = Instance.new("Script")
- Script11 = Instance.new("Script")
- Script12 = Instance.new("Script")
- Script13 = Instance.new("Script")
- Part14 = Instance.new("Part")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Part0.Name = "Part4"
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(-24.5267982, 11.167964, 18.7039452, 0, -0.406737089, 0.913545251, 0, 0.913545251, 0.406737089, -1, 0, 0)
- Part0.Orientation = Vector3.new(-24, 90, 0)
- Part0.Position = Vector3.new(-24.5267982, 11.167964, 18.7039452)
- Part0.Rotation = Vector3.new(-90, 66, 90)
- Part0.Transparency = 1
- Part0.Size = Vector3.new(2.73488593, 12.8770266, 1.93403089)
- Part0.Anchored = true
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.CanCollide = false
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part1.Parent = mas
- Part1.CFrame = CFrame.new(-27.5500107, 0.310303211, 1.72000897, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(-27.5500107, 0.310303211, 1.72000897)
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1.Size = Vector3.new(2.3600018, 4.82000065, 2.33999896)
- Part1.Anchored = true
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.BrickColor = BrickColor.new("Dark stone grey")
- Part1.Material = Enum.Material.DiamondPlate
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Dark stone grey")
- Part2.Name = "Part5"
- Part2.Parent = mas
- Part2.CFrame = CFrame.new(-29.0737762, 10.8674326, 18.7039452, 0, 0.453991115, 0.891006231, 0, 0.891006231, -0.453991115, -1, 0, 0)
- Part2.Orientation = Vector3.new(27, 90, 0)
- Part2.Position = Vector3.new(-29.0737762, 10.8674326, 18.7039452)
- Part2.Rotation = Vector3.new(90, 63, -90)
- Part2.Transparency = 1
- Part2.Size = Vector3.new(2.73488593, 13.6270266, 1.93403089)
- Part2.Anchored = true
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.CanCollide = false
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part3.Name = "Part3"
- Part3.Parent = mas
- Part3.CFrame = CFrame.new(-22.0277748, 2.74812078, 18.7039452, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part3.Orientation = Vector3.new(0, 90, 0)
- Part3.Position = Vector3.new(-22.0277748, 2.74812078, 18.7039452)
- Part3.Rotation = Vector3.new(0, 90, 0)
- Part3.Transparency = 1
- Part3.Size = Vector3.new(2.73488593, 5.73701859, 1.93403089)
- Part3.Anchored = true
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.CanCollide = false
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part4.Name = "Part2"
- Part4.Parent = mas
- Part4.CFrame = CFrame.new(-31.9432678, 2.73829317, 18.7039452, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part4.Orientation = Vector3.new(0, 90, 0)
- Part4.Position = Vector3.new(-31.9432678, 2.73829317, 18.7039452)
- Part4.Rotation = Vector3.new(0, 90, 0)
- Part4.Transparency = 1
- Part4.Size = Vector3.new(2.73488593, 5.6370182, 1.93403089)
- Part4.Anchored = true
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.CanCollide = false
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part5.Name = "y"
- Part5.Parent = mas
- Part5.CFrame = CFrame.new(-27.5200005, 4.60090303, 0.919701695, 1, 0, 0, 0, 0.933580399, 0.358368009, 0, -0.358368009, 0.933580399)
- Part5.Orientation = Vector3.new(-21, 0, 0)
- Part5.Position = Vector3.new(-27.5200005, 4.60090303, 0.919701695)
- Part5.Rotation = Vector3.new(-21, 0, 0)
- Part5.Color = Color3.new(0.431373, 1, 0.227451)
- Part5.Size = Vector3.new(1.01999938, 0.256205767, 1.07275915)
- Part5.Anchored = true
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.BrickColor = BrickColor.new("Br. yellowish green")
- Part5.CanCollide = false
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("Br. yellowish green")
- Script6.Parent = Part5
- table.insert(cors,sandbox(Script6,function()
- function onClicked(y)
- for i=0,1,0.001 do
- wait()
- workspace.h.CFrame = workspace.h.CFrame:lerp(workspace.Part1.CFrame,0.01)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- ClickDetector7.Parent = Part5
- Script8.Parent = Part5
- table.insert(cors,sandbox(Script8,function()
- function onClicked(y)
- local s = Instance.new("Sound")
- s.Name = "Sound"
- s.SoundId = "rbxassetid://582374365"
- s.Volume = 2
- s.Looped = false
- s.archivable = false
- s.Parent = game.Workspace
- wait()
- s:play()
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script9.Parent = Part5
- table.insert(cors,sandbox(Script9,function()
- function onClicked(y)
- script.Parent.Parent.BrickColor = BrickColor.new(255,0,0)
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script10.Parent = Part5
- table.insert(cors,sandbox(Script10,function()
- function onClicked(y)
- for i=0,1,0.001 do
- wait()
- workspace.o.CFrame = workspace.o.CFrame:lerp(workspace.Part5.CFrame,0.01)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script11.Parent = Part5
- table.insert(cors,sandbox(Script11,function()
- function onClicked(y)
- for i=0,1,0.001 do
- wait()
- workspace.g.CFrame = workspace.g.CFrame:lerp(workspace.Part2.CFrame,0.01)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script12.Parent = Part5
- table.insert(cors,sandbox(Script12,function()
- function onClicked(y)
- for i=0,1,0.001 do
- wait()
- workspace.t.CFrame = workspace.t.CFrame:lerp(workspace.Part3.CFrame,0.01)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script13.Parent = Part5
- table.insert(cors,sandbox(Script13,function()
- function onClicked(y)
- for i=0,1,0.001 do
- wait()
- workspace.c.CFrame = workspace.c.CFrame:lerp(workspace.Part4.CFrame,0.01)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Part14.Name = "o"
- Part14.Parent = mas
- Part14.CFrame = CFrame.new(-293.068359, 78.2584915, -209.21431, 0.991200984, 0.00770544447, 0.132141575, -0.129557997, -0.14806208, 0.980455279, 0.0271199998, -0.988948107, -0.145760968)
- Part14.Orientation = Vector3.new(-78.6500015, 137.809998, -138.809998)
- Part14.Position = Vector3.new(-293.068359, 78.2584915, -209.21431)
- Part14.Rotation = Vector3.new(-98.4599991, 7.59000015, -0.449999988)
- Part14.Size = Vector3.new(2.73488593, 13.6270266, 1.93403089)
- Part14.Anchored = true
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.TopSurface = Enum.SurfaceType.Smooth
- Part15.Name = "g"
- Part15.Parent = mas
- Part15.CFrame = CFrame.new(-65.9208908, -31.9413261, -58.1106377, 0, 0.309017062, 0.95105654, 0.866025388, 0.475528449, -0.154508576, -0.500000238, 0.823638976, -0.2676166)
- Part15.Orientation = Vector3.new(8.89000034, 105.720001, 61.2299995)
- Part15.Position = Vector3.new(-65.9208908, -31.9413261, -58.1106377)
- Part15.Rotation = Vector3.new(150, 72, -90)
- Part15.Size = Vector3.new(2.73488593, 5.6370182, 1.93403089)
- Part15.Anchored = true
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part16.Name = "c"
- Part16.Parent = mas
- Part16.CFrame = CFrame.new(46.3540726, 34.8070564, -51.2212982, -0.028634008, 0.473889947, -0.88011843, -0.930789232, -0.333648115, -0.149366528, -0.36443308, 0.814927816, 0.450645328)
- Part16.Orientation = Vector3.new(8.59000015, -62.8899994, -109.720001)
- Part16.Position = Vector3.new(46.3540726, 34.8070564, -51.2212982)
- Part16.Rotation = Vector3.new(18.3400002, -61.6599998, -93.4599991)
- Part16.Size = Vector3.new(2.73488593, 12.8770266, 1.93403089)
- Part16.Anchored = true
- Part16.BottomSurface = Enum.SurfaceType.Smooth
- Part16.TopSurface = Enum.SurfaceType.Smooth
- Part17.Name = "t"
- Part17.Parent = mas
- Part17.CFrame = CFrame.new(-79.5328064, 11.1313705, -181.122177, 0.0497760288, -0.949748397, -0.309031516, -0.99862957, -0.0523366258, -3.84721307e-06, -0.01617001, 0.308608145, -0.951051891)
- Part17.Orientation = Vector3.new(0, -162, -93)
- Part17.Position = Vector3.new(-79.5328064, 11.1313705, -181.122177)
- Part17.Rotation = Vector3.new(180, -18, 87)
- Part17.Size = Vector3.new(2.73488593, 5.73701859, 1.93403089)
- Part17.Anchored = true
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part18.Parent = mas
- Part18.CFrame = CFrame.new(-27.5449982, 3.319489, 1.39910603, 1, 0, 0, 0, 0.933580399, 0.358368158, 0, -0.358368188, 0.933580339)
- Part18.Orientation = Vector3.new(-21, 0, 0)
- Part18.Position = Vector3.new(-27.5449982, 3.319489, 1.39910603)
- Part18.Rotation = Vector3.new(-21, 0, 0)
- Part18.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part18.Size = Vector3.new(2.37000179, 2.48000169, 2.26999974)
- Part18.Anchored = true
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.BrickColor = BrickColor.new("Dark stone grey")
- Part18.Material = Enum.Material.DiamondPlate
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part18.brickColor = BrickColor.new("Dark stone grey")
- 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