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")
- ClickDetector3 = Instance.new("ClickDetector")
- Script4 = Instance.new("Script")
- Script5 = Instance.new("Script")
- Script6 = Instance.new("Script")
- Script7 = Instance.new("Script")
- Script8 = Instance.new("Script")
- Script9 = Instance.new("Script")
- Script10 = Instance.new("Script")
- Script11 = Instance.new("Script")
- Script12 = Instance.new("Script")
- Script13 = Instance.new("Script")
- Script14 = Instance.new("Script")
- Script15 = Instance.new("Script")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Part19 = Instance.new("Part")
- Part20 = Instance.new("Part")
- Part21 = Instance.new("Part")
- Part22 = Instance.new("Part")
- Part23 = Instance.new("Part")
- Part24 = Instance.new("Part")
- WedgePart25 = Instance.new("WedgePart")
- WedgePart26 = Instance.new("WedgePart")
- Part27 = Instance.new("Part")
- WedgePart28 = Instance.new("WedgePart")
- WedgePart29 = Instance.new("WedgePart")
- Part30 = Instance.new("Part")
- Part31 = Instance.new("Part")
- Part32 = Instance.new("Part")
- Part33 = Instance.new("Part")
- Part34 = Instance.new("Part")
- Part35 = Instance.new("Part")
- Part0.Name = "Part1"
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(86.1416473, -0.164407492, -16.1959763, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part0.Orientation = Vector3.new(0, -90, 0)
- Part0.Position = Vector3.new(86.1416473, -0.164407492, -16.1959763)
- Part0.Rotation = Vector3.new(0, -90, 0)
- Part0.Transparency = 1
- Part0.Size = Vector3.new(3.96488571, 1.12702823, 1.91403091)
- Part0.Anchored = true
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.CanCollide = false
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part1.Parent = mas
- Part1.CFrame = CFrame.new(73.5118103, 5.41918993, -19.9827671, 0.629320204, -0.278505117, 0.725528121, 0, 0.933580101, 0.358369082, -0.777146161, -0.225528896, 0.587520778)
- Part1.Orientation = Vector3.new(-21, 51, 0)
- Part1.Position = Vector3.new(73.5118103, 5.41918993, -19.9827671)
- Part1.Rotation = Vector3.new(-31.3799992, 46.5099983, 23.8700008)
- Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1.Size = Vector3.new(2.37000179, 2.48000169, 2.26999974)
- 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 = "y"
- Part2.Parent = mas
- Part2.CFrame = CFrame.new(73.1549683, 6.70059681, -20.3038902, 0.629320204, -0.278505117, 0.725528121, 0, 0.933580101, 0.358369082, -0.777146161, -0.225528896, 0.587520778)
- Part2.Orientation = Vector3.new(-21, 51, 0)
- Part2.Position = Vector3.new(73.1549683, 6.70059681, -20.3038902)
- Part2.Rotation = Vector3.new(-31.3799992, 46.5099983, 23.8700008)
- Part2.Color = Color3.new(0.431373, 1, 0.227451)
- Part2.Size = Vector3.new(1.01999938, 0.256205767, 1.07275915)
- Part2.Anchored = true
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.BrickColor = BrickColor.new("Br. yellowish green")
- Part2.CanCollide = false
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.brickColor = BrickColor.new("Br. yellowish green")
- ClickDetector3.Parent = Part2
- Script4.Parent = Part2
- table.insert(cors,sandbox(Script4,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))
- Script5.Parent = Part2
- table.insert(cors,sandbox(Script5,function()
- function onClicked(y)
- script.Parent.Parent.BrickColor = BrickColor.new(255,0,0)
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script6.Parent = Part2
- table.insert(cors,sandbox(Script6,function()
- function onClicked(y)
- for i=0,1,0.001 do
- wait()
- workspace.g.CFrame = workspace.g.CFrame:lerp(workspace.Part1.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script7.Parent = Part2
- table.insert(cors,sandbox(Script7,function()
- function onClicked(y)
- wait(2)
- for i=0,1,0.001 do
- wait()
- workspace.c.CFrame = workspace.c.CFrame:lerp(workspace.Part2.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script8.Parent = Part2
- table.insert(cors,sandbox(Script8,function()
- function onClicked(y)
- wait(3)
- for i=0,1,0.001 do
- wait()
- workspace.r.CFrame = workspace.r.CFrame:lerp(workspace.Part3.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script9.Parent = Part2
- table.insert(cors,sandbox(Script9,function()
- function onClicked(y)
- wait(4)
- for i=0,1,0.001 do
- wait()
- workspace.p.CFrame = workspace.p.CFrame:lerp(workspace.Part4.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script10.Parent = Part2
- table.insert(cors,sandbox(Script10,function()
- function onClicked(y)
- wait(5)
- for i=0,1,0.001 do
- wait()
- workspace.u.CFrame = workspace.u.CFrame:lerp(workspace.Part5.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script11.Parent = Part2
- table.insert(cors,sandbox(Script11,function()
- function onClicked(y)
- wait(6)
- for i=0,1,0.001 do
- wait()
- workspace.k.CFrame = workspace.k.CFrame:lerp(workspace.Part6.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script12.Parent = Part2
- table.insert(cors,sandbox(Script12,function()
- function onClicked(y)
- wait(7)
- for i=0,1,0.001 do
- wait()
- workspace.i.CFrame = workspace.i.CFrame:lerp(workspace.Part7.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script13.Parent = Part2
- table.insert(cors,sandbox(Script13,function()
- function onClicked(y)
- wait(8)
- for i=0,1,0.001 do
- wait()
- workspace.m.CFrame = workspace.m.CFrame:lerp(workspace.Part8.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script14.Parent = Part2
- table.insert(cors,sandbox(Script14,function()
- function onClicked(y)
- wait(9)
- for i=0,1,0.001 do
- wait()
- workspace.l.CFrame = workspace.l.CFrame:lerp(workspace.Part9.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script15.Parent = Part2
- table.insert(cors,sandbox(Script15,function()
- function onClicked(y)
- wait(10)
- for i=0,1,0.001 do
- wait()
- workspace.j.CFrame = workspace.j.CFrame:lerp(workspace.Part10.CFrame,0.10)
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Part16.Parent = mas
- Part16.CFrame = CFrame.new(73.7579956, 2.41000795, -19.7769051, 0.629320204, 0, 0.777146161, 0, 1, 0, -0.777146161, 0, 0.629320204)
- Part16.Orientation = Vector3.new(0, 51, 0)
- Part16.Position = Vector3.new(73.7579956, 2.41000795, -19.7769051)
- Part16.Rotation = Vector3.new(0, 51, 0)
- Part16.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part16.Size = Vector3.new(2.3600018, 4.82000065, 2.33999896)
- Part16.Anchored = true
- Part16.BottomSurface = Enum.SurfaceType.Smooth
- Part16.BrickColor = BrickColor.new("Dark stone grey")
- Part16.Material = Enum.Material.DiamondPlate
- Part16.TopSurface = Enum.SurfaceType.Smooth
- Part16.brickColor = BrickColor.new("Dark stone grey")
- Part17.Name = "Part2"
- Part17.Parent = mas
- Part17.CFrame = CFrame.new(86.1416473, 0.747583389, -16.1959763, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part17.Orientation = Vector3.new(0, -90, 0)
- Part17.Position = Vector3.new(86.1416473, 0.747583389, -16.1959763)
- Part17.Rotation = Vector3.new(0, -90, 0)
- Part17.Transparency = 1
- Part17.Size = Vector3.new(3.96488571, 1.12702823, 1.91403091)
- Part17.Anchored = true
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.CanCollide = false
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part18.Name = "c"
- Part18.Parent = mas
- Part18.CFrame = CFrame.new(91.2192307, -6.68099976, -7.60998487, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part18.Position = Vector3.new(91.2192307, -6.68099976, -7.60998487)
- Part18.Size = Vector3.new(4, 1, 2)
- Part18.Anchored = true
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part19.Name = "g"
- Part19.Parent = mas
- Part19.CFrame = CFrame.new(91.2192307, -6.6722393, -7.60998535, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part19.Position = Vector3.new(91.2192307, -6.6722393, -7.60998535)
- Part19.Size = Vector3.new(4, 1, 2)
- Part19.Anchored = true
- Part19.BottomSurface = Enum.SurfaceType.Smooth
- Part19.TopSurface = Enum.SurfaceType.Smooth
- Part20.Name = "Part5"
- Part20.Parent = mas
- Part20.CFrame = CFrame.new(86.1416473, 3.45376158, -16.1959763, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part20.Orientation = Vector3.new(0, -90, 0)
- Part20.Position = Vector3.new(86.1416473, 3.45376158, -16.1959763)
- Part20.Rotation = Vector3.new(0, -90, 0)
- Part20.Transparency = 1
- Part20.Size = Vector3.new(3.96488571, 0.927028358, 1.91403091)
- Part20.Anchored = true
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.CanCollide = false
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part21.Name = "Part3"
- Part21.Parent = mas
- Part21.CFrame = CFrame.new(86.1416473, 1.564744, -16.1959763, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part21.Orientation = Vector3.new(0, -90, 0)
- Part21.Position = Vector3.new(86.1416473, 1.564744, -16.1959763)
- Part21.Rotation = Vector3.new(0, -90, 0)
- Part21.Transparency = 1
- Part21.Size = Vector3.new(3.96488571, 1.12702823, 1.91403091)
- Part21.Anchored = true
- Part21.BottomSurface = Enum.SurfaceType.Smooth
- Part21.CanCollide = false
- Part21.TopSurface = Enum.SurfaceType.Smooth
- Part22.Name = "Part4"
- Part22.Parent = mas
- Part22.CFrame = CFrame.new(86.1416473, 2.54231024, -16.1959763, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part22.Orientation = Vector3.new(0, -90, 0)
- Part22.Position = Vector3.new(86.1416473, 2.54231024, -16.1959763)
- Part22.Rotation = Vector3.new(0, -90, 0)
- Part22.Transparency = 1
- Part22.Size = Vector3.new(3.96488571, 1.12702823, 1.91403091)
- Part22.Anchored = true
- Part22.BottomSurface = Enum.SurfaceType.Smooth
- Part22.CanCollide = false
- Part22.TopSurface = Enum.SurfaceType.Smooth
- Part23.Name = "p"
- Part23.Parent = mas
- Part23.CFrame = CFrame.new(91.2192307, -6.6462841, -7.60998487, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part23.Position = Vector3.new(91.2192307, -6.6462841, -7.60998487)
- Part23.Size = Vector3.new(4, 1, 2)
- Part23.Anchored = true
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part24.Name = "r"
- Part24.Parent = mas
- Part24.CFrame = CFrame.new(91.2192307, -6.64780045, -7.60998487, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part24.Position = Vector3.new(91.2192307, -6.64780045, -7.60998487)
- Part24.Size = Vector3.new(4, 1, 2)
- Part24.Anchored = true
- Part24.BottomSurface = Enum.SurfaceType.Smooth
- Part24.TopSurface = Enum.SurfaceType.Smooth
- WedgePart25.Name = "Part9"
- WedgePart25.Parent = mas
- WedgePart25.CFrame = CFrame.new(83.1300049, 1.63999951, -13.8099976, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- WedgePart25.Position = Vector3.new(83.1300049, 1.63999951, -13.8099976)
- WedgePart25.Transparency = 1
- WedgePart25.Size = Vector3.new(4, 3.27999902, 2)
- WedgePart25.Anchored = true
- WedgePart25.BottomSurface = Enum.SurfaceType.Smooth
- WedgePart25.CanCollide = false
- WedgePart26.Name = "l"
- WedgePart26.Parent = mas
- WedgePart26.CFrame = CFrame.new(88.8261871, -10.3062153, -23.6398163, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- WedgePart26.Position = Vector3.new(88.8261871, -10.3062153, -23.6398163)
- WedgePart26.Size = Vector3.new(4, 3.27999902, 2)
- WedgePart26.Anchored = true
- WedgePart26.BottomSurface = Enum.SurfaceType.Smooth
- Part27.Name = "i"
- Part27.Parent = mas
- Part27.CFrame = CFrame.new(91.2192307, -6.65942669, -7.60998487, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part27.Position = Vector3.new(91.2192307, -6.65942669, -7.60998487)
- Part27.Size = Vector3.new(4, 1, 2)
- Part27.Anchored = true
- Part27.BottomSurface = Enum.SurfaceType.Smooth
- Part27.TopSurface = Enum.SurfaceType.Smooth
- WedgePart28.Name = "Part10"
- WedgePart28.Parent = mas
- WedgePart28.CFrame = CFrame.new(83.1300049, 1.54409504, -21.4931717, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- WedgePart28.Orientation = Vector3.new(0, 180, 0)
- WedgePart28.Position = Vector3.new(83.1300049, 1.54409504, -21.4931717)
- WedgePart28.Rotation = Vector3.new(-180, 0, -180)
- WedgePart28.Transparency = 1
- WedgePart28.Size = Vector3.new(4, 3.27999902, 2)
- WedgePart28.Anchored = true
- WedgePart28.BottomSurface = Enum.SurfaceType.Smooth
- WedgePart28.CanCollide = false
- WedgePart29.Name = "j"
- WedgePart29.Parent = mas
- WedgePart29.CFrame = CFrame.new(88.8261871, -10.3073187, -23.6398163, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- WedgePart29.Position = Vector3.new(88.8261871, -10.3073187, -23.6398163)
- WedgePart29.Size = Vector3.new(4, 3.27999902, 2)
- WedgePart29.Anchored = true
- WedgePart29.BottomSurface = Enum.SurfaceType.Smooth
- Part30.Name = "Part6"
- Part30.Parent = mas
- Part30.CFrame = CFrame.new(86.1416473, 1.95001936, -18.4548626, 0, 0, -1, 1, 0, 0, 0, -1, 0)
- Part30.Orientation = Vector3.new(0, -90, 90)
- Part30.Position = Vector3.new(86.1416473, 1.95001936, -18.4548626)
- Part30.Rotation = Vector3.new(-90, -90, 0)
- Part30.Transparency = 1
- Part30.Size = Vector3.new(3.96488571, 1.12702823, 1.91403091)
- Part30.Anchored = true
- Part30.BottomSurface = Enum.SurfaceType.Smooth
- Part30.CanCollide = false
- Part30.TopSurface = Enum.SurfaceType.Smooth
- Part31.Name = "Part7"
- Part31.Parent = mas
- Part31.CFrame = CFrame.new(86.1416473, 1.95001125, -19.303587, 0, 0, -1, 1, 0, 0, 0, -1, 0)
- Part31.Orientation = Vector3.new(0, -90, 90)
- Part31.Position = Vector3.new(86.1416473, 1.95001125, -19.303587)
- Part31.Rotation = Vector3.new(-90, -90, 0)
- Part31.Transparency = 1
- Part31.Size = Vector3.new(3.96488571, 1.12702823, 1.91403091)
- Part31.Anchored = true
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.CanCollide = false
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part32.Name = "Part8"
- Part32.Parent = mas
- Part32.CFrame = CFrame.new(86.1416473, 1.95001316, -20.1286392, 0, 0, -1, 1, 0, 0, 0, -1, 0)
- Part32.Orientation = Vector3.new(0, -90, 90)
- Part32.Position = Vector3.new(86.1416473, 1.95001316, -20.1286392)
- Part32.Rotation = Vector3.new(-90, -90, 0)
- Part32.Transparency = 1
- Part32.Size = Vector3.new(3.96488571, 1.12702823, 1.91403091)
- Part32.Anchored = true
- Part32.BottomSurface = Enum.SurfaceType.Smooth
- Part32.CanCollide = false
- Part32.TopSurface = Enum.SurfaceType.Smooth
- Part33.Name = "m"
- Part33.Parent = mas
- Part33.CFrame = CFrame.new(91.2192307, -6.6364193, -7.60998487, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part33.Position = Vector3.new(91.2192307, -6.6364193, -7.60998487)
- Part33.Size = Vector3.new(4, 1, 2)
- Part33.Anchored = true
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part34.Name = "u"
- Part34.Parent = mas
- Part34.CFrame = CFrame.new(91.2192307, -6.65632534, -7.60998487, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part34.Position = Vector3.new(91.2192307, -6.65632534, -7.60998487)
- Part34.Size = Vector3.new(4, 1, 2)
- Part34.Anchored = true
- Part34.BottomSurface = Enum.SurfaceType.Smooth
- Part34.TopSurface = Enum.SurfaceType.Smooth
- Part35.Name = "k"
- Part35.Parent = mas
- Part35.CFrame = CFrame.new(91.2192307, -6.64727974, -7.60998487, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part35.Position = Vector3.new(91.2192307, -6.64727974, -7.60998487)
- Part35.Size = Vector3.new(4, 1, 2)
- Part35.Anchored = true
- Part35.BottomSurface = Enum.SurfaceType.Smooth
- Part35.TopSurface = Enum.SurfaceType.Smooth
- 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