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")
- ClickDetector5 = Instance.new("ClickDetector")
- Script6 = Instance.new("Script")
- Script7 = Instance.new("Script")
- Script8 = Instance.new("Script")
- Script9 = Instance.new("Script")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- Weld13 = Instance.new("Weld")
- Weld14 = Instance.new("Weld")
- Part15 = Instance.new("Part")
- Weld16 = Instance.new("Weld")
- Part17 = Instance.new("Part")
- Weld18 = Instance.new("Weld")
- Part0.Name = "Part2"
- Part0.Parent = mas
- Part0.CFrame = CFrame.new(79.2618408, 9.16810799, 40.4414635, -0.777146161, 0, 0.629320204, 0, 1, 0, -0.629320204, 0, -0.777146161)
- Part0.Orientation = Vector3.new(0, 141, 0)
- Part0.Position = Vector3.new(79.2618408, 9.16810799, 40.4414635)
- Part0.Rotation = Vector3.new(-180, 39, -180)
- Part0.Transparency = 1
- Part0.Size = Vector3.new(2.73488593, 5.6370182, 1.93403089)
- Part0.Anchored = true
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.CanCollide = false
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part1.Name = "Part4"
- Part1.Parent = mas
- Part1.CFrame = CFrame.new(84.6176224, 6.43851995, 33.9547424, -0.777146161, 0, 0.629320204, 0, 1, 0, -0.629320204, 0, -0.777146161)
- Part1.Orientation = Vector3.new(0, 141, 0)
- Part1.Position = Vector3.new(84.6176224, 6.43851995, 33.9547424)
- Part1.Rotation = Vector3.new(-180, 39, -180)
- Part1.Transparency = 1
- Part1.Size = Vector3.new(2.73488593, 12.8770266, 1.93403089)
- Part1.Anchored = true
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.CanCollide = false
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part2.Parent = mas
- Part2.CFrame = CFrame.new(61.5955429, 3.31781602, 18.4288578, 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(61.5955429, 3.31781602, 18.4288578)
- Part2.Rotation = Vector3.new(-31.3799992, 46.5099983, 23.8700008)
- Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part2.Size = Vector3.new(2.37000179, 2.48000169, 2.26999974)
- Part2.Anchored = true
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.BrickColor = BrickColor.new("Dark stone grey")
- Part2.Material = Enum.Material.DiamondPlate
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.brickColor = BrickColor.new("Dark stone grey")
- Part3.Parent = mas
- Part3.CFrame = CFrame.new(61.8417358, 0.308631986, 18.6347198, 0.629320204, 0, 0.777146161, 0, 1, 0, -0.777146161, 0, 0.629320204)
- Part3.Orientation = Vector3.new(0, 51, 0)
- Part3.Position = Vector3.new(61.8417358, 0.308631986, 18.6347198)
- Part3.Rotation = Vector3.new(0, 51, 0)
- Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part3.Size = Vector3.new(2.3600018, 4.82000065, 2.33999896)
- Part3.Anchored = true
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.BrickColor = BrickColor.new("Dark stone grey")
- Part3.Material = Enum.Material.DiamondPlate
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.brickColor = BrickColor.new("Dark stone grey")
- Part4.Name = "y"
- Part4.Parent = mas
- Part4.CFrame = CFrame.new(61.2386932, 4.599226, 18.1077347, 0.629320204, -0.278505117, 0.725528121, 0, 0.933580101, 0.358369082, -0.777146161, -0.225528896, 0.587520778)
- Part4.Orientation = Vector3.new(-21, 51, 0)
- Part4.Position = Vector3.new(61.2386932, 4.599226, 18.1077347)
- Part4.Rotation = Vector3.new(-31.3799992, 46.5099983, 23.8700008)
- Part4.Color = Color3.new(0.431373, 1, 0.227451)
- Part4.Size = Vector3.new(1.01999938, 0.256205767, 1.07275915)
- Part4.Anchored = true
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.BrickColor = BrickColor.new("Br. yellowish green")
- Part4.CanCollide = false
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.brickColor = BrickColor.new("Br. yellowish green")
- ClickDetector5.Parent = Part4
- Script6.Parent = Part4
- table.insert(cors,sandbox(Script6,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))
- Script7.Parent = Part4
- table.insert(cors,sandbox(Script7,function()
- function onClicked(y)
- script.Parent.Parent.BrickColor = BrickColor.new(255,0,0)
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- Script8.Parent = Part4
- table.insert(cors,sandbox(Script8,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))
- Script9.Parent = Part4
- table.insert(cors,sandbox(Script9,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))
- Part10.Name = "c"
- Part10.Parent = mas
- Part10.CFrame = CFrame.new(-113.067146, 21.5786667, 30.1497421, -0.577532172, 0.161816835, 0.800173044, -0.669131219, 0.467678994, -0.577532589, -0.467675179, -0.868964374, -0.161822975)
- Part10.Orientation = Vector3.new(35.2799988, 101.43, -55.0499992)
- Part10.Position = Vector3.new(-113.067146, 21.5786667, 30.1497421)
- Part10.Rotation = Vector3.new(105.650002, 53.1500015, -164.350006)
- Part10.Color = Color3.new(1, 1, 0)
- Part10.Size = Vector3.new(2.73488593, 12.8770266, 1.93403089)
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.BrickColor = BrickColor.new("New Yeller")
- Part10.Material = Enum.Material.Neon
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.brickColor = BrickColor.new("New Yeller")
- Part11.Name = "g"
- Part11.Parent = mas
- Part11.CFrame = CFrame.new(145.788971, 35.8879089, 55.3902092, -0.28570503, 0.876746237, -0.386896282, 0.891007125, 0.0943906978, -0.444068491, -0.352816045, -0.471599966, -0.808154941)
- Part11.Orientation = Vector3.new(26.3600006, -154.419998, 83.9499969)
- Part11.Position = Vector3.new(145.788971, 35.8879089, 55.3902092)
- Part11.Rotation = Vector3.new(151.210007, -22.7600002, -108.050003)
- Part11.Color = Color3.new(1, 0, 0)
- Part11.Size = Vector3.new(2.73488593, 2.41701937, 1.93403089)
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.BrickColor = BrickColor.new("Really red")
- Part11.Material = Enum.Material.Neon
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.brickColor = BrickColor.new("Really red")
- Part12.Name = "c"
- Part12.Parent = mas
- Part12.CFrame = CFrame.new(-106.73922, 16.9268608, 28.991003, -0.577532172, 0.161816597, 0.800171912, -0.669131219, 0.467678338, -0.577531755, -0.467675179, -0.868963122, -0.161822736)
- Part12.Orientation = Vector3.new(35.2799988, 101.43, -55.0499992)
- Part12.Position = Vector3.new(-106.73922, 16.9268608, 28.991003)
- Part12.Rotation = Vector3.new(105.650002, 53.1500015, -164.350006)
- Part12.Color = Color3.new(0, 1, 0)
- Part12.Size = Vector3.new(2.73488593, 12.8770266, 1.93403089)
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.BrickColor = BrickColor.new("Lime green")
- Part12.Material = Enum.Material.Neon
- Part12.TopSurface = Enum.SurfaceType.Smooth
- Part12.brickColor = BrickColor.new("Lime green")
- Weld13.Parent = Part12
- Weld13.C0 = CFrame.new(68.8474503, -19.1708679, 45.8920784, 0, 0, -1, 7.48783862e-07, 1.00000083, 0, 1.00000083, -7.48783862e-07, 0)
- Weld13.C1 = CFrame.new(68.8474503, -19.3155231, 53.8294716, 0, 0, -1, 7.48783691e-07, 1.0000006, 0, 1.0000006, -7.48783691e-07, 0)
- Weld13.Part0 = Part12
- Weld13.Part1 = Part10
- Weld13.part1 = Part10
- Weld14.Parent = Part12
- Weld14.C0 = CFrame.new(68.8474503, -19.1708431, 45.8920097, 0, 0, -1, 7.4878335e-07, 1.00000012, 0, 1.00000012, -7.4878335e-07, 0)
- Weld14.C1 = CFrame.new(68.8474503, -19.315506, 53.8294144, 0, 0, -1, 7.4878335e-07, 1.00000012, 0, 1.00000012, -7.4878335e-07, 0)
- Weld14.Part0 = Part12
- Weld14.Part1 = Part10
- Weld14.part1 = Part10
- Part15.Name = "g"
- Part15.Parent = mas
- Part15.CFrame = CFrame.new(139.330612, 35.1809998, 58.8210297, -0.28570503, 0.876746237, -0.386896312, 0.891007125, 0.0943907276, -0.444068521, -0.352816015, -0.471599936, -0.808154941)
- Part15.Orientation = Vector3.new(26.3600006, -154.419998, 83.9499969)
- Part15.Position = Vector3.new(139.330612, 35.1809998, 58.8210297)
- Part15.Rotation = Vector3.new(151.210007, -22.7600002, -108.050003)
- Part15.Color = Color3.new(1, 0, 0.74902)
- Part15.Size = Vector3.new(2.73488593, 5.6370182, 1.93403089)
- Part15.Anchored = true
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.BrickColor = BrickColor.new("Hot pink")
- Part15.Material = Enum.Material.Neon
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.brickColor = BrickColor.new("Hot pink")
- Weld16.Parent = Part15
- Weld16.C0 = CFrame.new(30.9576225, 5.23033905, 142.451324, 0.0943899825, 0.891006887, -0.444068938, 0.91825515, 0.094391644, 0.384574771, 0.384575188, -0.444068581, -0.809262037)
- Weld16.C1 = CFrame.new(30.9624977, -2.11669922, 142.491318, 0.0943899825, 0.891006887, -0.444068938, 0.91825515, 0.094391644, 0.384574771, 0.384575188, -0.444068581, -0.809262037)
- Weld16.Part0 = Part15
- Weld16.Part1 = Part11
- Weld16.part1 = Part11
- Part17.Name = "c"
- Part17.Parent = mas
- Part17.CFrame = CFrame.new(-109.929504, 19.4206333, 29.3024216, -0.577532172, 0.800170243, -0.161815628, -0.669131219, -0.577530086, -0.467677712, -0.467675179, -0.161823019, 0.868961036)
- Part17.Orientation = Vector3.new(27.8799992, -10.5500002, -130.800003)
- Part17.Position = Vector3.new(-109.929504, 19.4206333, 29.3024216)
- Part17.Rotation = Vector3.new(28.2900009, -9.31000042, -125.82)
- Part17.Color = Color3.new(0, 0, 1)
- Part17.Size = Vector3.new(2.73488593, 6.11702633, 1.93403089)
- Part17.Anchored = true
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.BrickColor = BrickColor.new("Really blue")
- Part17.Material = Enum.Material.Neon
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.brickColor = BrickColor.new("Really blue")
- Weld18.Parent = Part17
- Weld18.C0 = CFrame.new(68.8192596, 49.9356842, 19.5504303, 0, 0, -1, 1.00000024, 0, 0, 0, -1.00000024, 0)
- Weld18.C1 = CFrame.new(68.8474503, -19.1709213, 45.8922005, 0, 0, -1, 7.48784771e-07, 1.00000203, 0, 1.00000203, -7.48784771e-07, 0)
- Weld18.Part0 = Part17
- Weld18.Part1 = Part12
- Weld18.part1 = Part12
- 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
Add Comment
Please, Sign In to add comment