Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("Seat")
- o4 = Instance.new("Seat")
- o5 = Instance.new("Seat")
- o6 = Instance.new("Seat")
- o7 = Instance.new("Seat")
- o8 = Instance.new("Seat")
- o9 = Instance.new("Part")
- o10 = Instance.new("Seat")
- o11 = Instance.new("Seat")
- o12 = Instance.new("Seat")
- o13 = Instance.new("Part")
- o14 = Instance.new("Part")
- o15 = Instance.new("Part")
- o16 = Instance.new("Part")
- o17 = Instance.new("Part")
- o18 = Instance.new("Sound")
- o19 = Instance.new("Part")
- o20 = Instance.new("Part")
- o21 = Instance.new("ClickDetector")
- o22 = Instance.new("Script")
- o23 = Instance.new("Sound")
- o24 = Instance.new("Part")
- o25 = Instance.new("BodyForce")
- o1.Name = "Elavator"
- o1.Parent = mas
- o2.Name = "Floor"
- o2.Parent = o1
- o2.Material = Enum.Material.Wood
- o2.BrickColor = BrickColor.new("Pastel brown")
- o2.Position = Vector3.new(-34.000042, 0.125003815, -28.5000191)
- o2.Size = Vector3.new(15, 0.25, 14)
- o2.CFrame = CFrame.new(-34.000042, 0.125003815, -28.5000191, 1.00001001, 0, 0, 0, 1, 0, 0, 0, 1.00001001)
- o2.BackSurface = Enum.SurfaceType.Universal
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.FrontSurface = Enum.SurfaceType.Universal
- o2.LeftSurface = Enum.SurfaceType.Universal
- o2.RightSurface = Enum.SurfaceType.Universal
- o2.TopSurface = Enum.SurfaceType.Universal
- o2.Color = Color3.new(1, 0.8, 0.6)
- o2.Position = Vector3.new(-34.000042, 0.125003815, -28.5000191)
- o3.Parent = o1
- o3.Material = Enum.Material.SmoothPlastic
- o3.BrickColor = BrickColor.new("Black")
- o3.Position = Vector3.new(-39.5501442, 0.750003994, -26.7499809)
- o3.Rotation = Vector3.new(-0, -90, 0)
- o3.Size = Vector3.new(2, 1, 2)
- o3.CFrame = CFrame.new(-39.5501442, 0.750003994, -26.7499809, 0, 0, -1.00001049, 0, 1, 0, 1.00001049, 0, 0)
- o3.BackSurface = Enum.SurfaceType.Universal
- o3.BottomSurface = Enum.SurfaceType.Universal
- o3.FrontSurface = Enum.SurfaceType.Universal
- o3.LeftSurface = Enum.SurfaceType.Universal
- o3.RightSurface = Enum.SurfaceType.Universal
- o3.TopSurface = Enum.SurfaceType.Universal
- o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o3.Position = Vector3.new(-39.5501442, 0.750003994, -26.7499809)
- o4.Parent = o1
- o4.Material = Enum.Material.SmoothPlastic
- o4.BrickColor = BrickColor.new("Black")
- o4.Position = Vector3.new(-39.5501709, 0.750003994, -30.7500401)
- o4.Rotation = Vector3.new(-0, -90, 0)
- o4.Size = Vector3.new(2, 1, 2)
- o4.CFrame = CFrame.new(-39.5501709, 0.750003994, -30.7500401, 0, 0, -1.00001049, 0, 1, 0, 1.00001049, 0, 0)
- o4.BackSurface = Enum.SurfaceType.Universal
- o4.BottomSurface = Enum.SurfaceType.Universal
- o4.FrontSurface = Enum.SurfaceType.Universal
- o4.LeftSurface = Enum.SurfaceType.Universal
- o4.RightSurface = Enum.SurfaceType.Universal
- o4.TopSurface = Enum.SurfaceType.Universal
- o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o4.Position = Vector3.new(-39.5501709, 0.750003994, -30.7500401)
- o5.Parent = o1
- o5.Material = Enum.Material.SmoothPlastic
- o5.BrickColor = BrickColor.new("Black")
- o5.Position = Vector3.new(-39.5501747, 0.750003994, -28.7500057)
- o5.Rotation = Vector3.new(-0, -90, 0)
- o5.Size = Vector3.new(2, 1, 2)
- o5.CFrame = CFrame.new(-39.5501747, 0.750003994, -28.7500057, 0, 0, -1.00001049, 0, 1, 0, 1.00001049, 0, 0)
- o5.BackSurface = Enum.SurfaceType.Universal
- o5.BottomSurface = Enum.SurfaceType.Universal
- o5.FrontSurface = Enum.SurfaceType.Universal
- o5.LeftSurface = Enum.SurfaceType.Universal
- o5.RightSurface = Enum.SurfaceType.Universal
- o5.TopSurface = Enum.SurfaceType.Universal
- o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o5.Position = Vector3.new(-39.5501747, 0.750003994, -28.7500057)
- o6.Parent = o1
- o6.Material = Enum.Material.SmoothPlastic
- o6.BrickColor = BrickColor.new("Black")
- o6.Position = Vector3.new(-28.5500412, 0.750003994, -28.750021)
- o6.Rotation = Vector3.new(0, 90, 0)
- o6.Size = Vector3.new(2, 1, 2)
- o6.CFrame = CFrame.new(-28.5500412, 0.750003994, -28.750021, 0, 0, 1.00001431, 0, 1, 0, -1.00001431, 0, 0)
- o6.BackSurface = Enum.SurfaceType.Universal
- o6.BottomSurface = Enum.SurfaceType.Universal
- o6.FrontSurface = Enum.SurfaceType.Universal
- o6.LeftSurface = Enum.SurfaceType.Universal
- o6.RightSurface = Enum.SurfaceType.Universal
- o6.TopSurface = Enum.SurfaceType.Universal
- o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o6.Position = Vector3.new(-28.5500412, 0.750003994, -28.750021)
- o7.Parent = o1
- o7.Material = Enum.Material.SmoothPlastic
- o7.BrickColor = BrickColor.new("Black")
- o7.Position = Vector3.new(-28.5500412, 0.750003994, -26.7499771)
- o7.Rotation = Vector3.new(0, 90, 0)
- o7.Size = Vector3.new(2, 1, 2)
- o7.CFrame = CFrame.new(-28.5500412, 0.750003994, -26.7499771, 0, 0, 1.00001431, 0, 1, 0, -1.00001431, 0, 0)
- o7.BackSurface = Enum.SurfaceType.Universal
- o7.BottomSurface = Enum.SurfaceType.Universal
- o7.FrontSurface = Enum.SurfaceType.Universal
- o7.LeftSurface = Enum.SurfaceType.Universal
- o7.RightSurface = Enum.SurfaceType.Universal
- o7.TopSurface = Enum.SurfaceType.Universal
- o7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o7.Position = Vector3.new(-28.5500412, 0.750003994, -26.7499771)
- o8.Parent = o1
- o8.Material = Enum.Material.SmoothPlastic
- o8.BrickColor = BrickColor.new("Black")
- o8.Position = Vector3.new(-28.5500717, 0.750003994, -30.7500553)
- o8.Rotation = Vector3.new(0, 90, 0)
- o8.Size = Vector3.new(2, 1, 2)
- o8.CFrame = CFrame.new(-28.5500717, 0.750003994, -30.7500553, 0, 0, 1.00001431, 0, 1, 0, -1.00001431, 0, 0)
- o8.BackSurface = Enum.SurfaceType.Universal
- o8.BottomSurface = Enum.SurfaceType.Universal
- o8.FrontSurface = Enum.SurfaceType.Universal
- o8.LeftSurface = Enum.SurfaceType.Universal
- o8.RightSurface = Enum.SurfaceType.Universal
- o8.TopSurface = Enum.SurfaceType.Universal
- o8.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o8.Position = Vector3.new(-28.5500717, 0.750003994, -30.7500553)
- o9.Parent = o1
- o9.Material = Enum.Material.SmoothPlastic
- o9.Position = Vector3.new(-29.4999962, 6.625, -21.9999542)
- o9.Size = Vector3.new(4, 12.75, 1)
- o9.CFrame = CFrame.new(-29.4999962, 6.625, -21.9999542, 1.00001001, 0, 0, 0, 1, 0, 0, 0, 1.00001001)
- o9.BackSurface = Enum.SurfaceType.Universal
- o9.BottomSurface = Enum.SurfaceType.Universal
- o9.FrontSurface = Enum.SurfaceType.Universal
- o9.LeftSurface = Enum.SurfaceType.Universal
- o9.RightSurface = Enum.SurfaceType.Universal
- o9.TopSurface = Enum.SurfaceType.Universal
- o9.Position = Vector3.new(-29.4999962, 6.625, -21.9999542)
- o10.Parent = o1
- o10.Material = Enum.Material.SmoothPlastic
- o10.BrickColor = BrickColor.new("Black")
- o10.Position = Vector3.new(-34.0499382, 0.750003994, -33.5002327)
- o10.Rotation = Vector3.new(-180, 0, -180)
- o10.Size = Vector3.new(2, 1, 2)
- o10.CFrame = CFrame.new(-34.0499382, 0.750003994, -33.5002327, -1.00001001, 0, 0, 0, 1, 0, 0, 0, -1.00001001)
- o10.BackSurface = Enum.SurfaceType.Universal
- o10.BottomSurface = Enum.SurfaceType.Universal
- o10.FrontSurface = Enum.SurfaceType.Universal
- o10.LeftSurface = Enum.SurfaceType.Universal
- o10.RightSurface = Enum.SurfaceType.Universal
- o10.TopSurface = Enum.SurfaceType.Universal
- o10.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o10.Position = Vector3.new(-34.0499382, 0.750003994, -33.5002327)
- o11.Parent = o1
- o11.Material = Enum.Material.SmoothPlastic
- o11.BrickColor = BrickColor.new("Black")
- o11.Position = Vector3.new(-36.0501213, 0.750003994, -33.500206)
- o11.Rotation = Vector3.new(-180, 0, -180)
- o11.Size = Vector3.new(2, 1, 2)
- o11.CFrame = CFrame.new(-36.0501213, 0.750003994, -33.500206, -1.00001001, 0, 0, 0, 1, 0, 0, 0, -1.00001001)
- o11.BackSurface = Enum.SurfaceType.Universal
- o11.BottomSurface = Enum.SurfaceType.Universal
- o11.FrontSurface = Enum.SurfaceType.Universal
- o11.LeftSurface = Enum.SurfaceType.Universal
- o11.RightSurface = Enum.SurfaceType.Universal
- o11.TopSurface = Enum.SurfaceType.Universal
- o11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o11.Position = Vector3.new(-36.0501213, 0.750003994, -33.500206)
- o12.Parent = o1
- o12.Material = Enum.Material.SmoothPlastic
- o12.BrickColor = BrickColor.new("Black")
- o12.Position = Vector3.new(-32.0497551, 0.750003994, -33.5002327)
- o12.Rotation = Vector3.new(-180, 0, -180)
- o12.Size = Vector3.new(2, 1, 2)
- o12.CFrame = CFrame.new(-32.0497551, 0.750003994, -33.5002327, -1.00001001, 0, 0, 0, 1, 0, 0, 0, -1.00001001)
- o12.BackSurface = Enum.SurfaceType.Universal
- o12.BottomSurface = Enum.SurfaceType.Universal
- o12.FrontSurface = Enum.SurfaceType.Universal
- o12.LeftSurface = Enum.SurfaceType.Universal
- o12.RightSurface = Enum.SurfaceType.Universal
- o12.TopSurface = Enum.SurfaceType.Universal
- o12.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o12.Position = Vector3.new(-32.0497551, 0.750003994, -33.5002327)
- o13.Parent = o1
- o13.Material = Enum.Material.SmoothPlastic
- o13.Position = Vector3.new(-41.0001106, 6.625, -28.5000191)
- o13.Size = Vector3.new(1, 12.75, 14)
- o13.CFrame = CFrame.new(-41.0001106, 6.625, -28.5000191, 1.00001001, 0, 0, 0, 1, 0, 0, 0, 1.00001001)
- o13.BackSurface = Enum.SurfaceType.Universal
- o13.BottomSurface = Enum.SurfaceType.Universal
- o13.FrontSurface = Enum.SurfaceType.Universal
- o13.LeftSurface = Enum.SurfaceType.Universal
- o13.RightSurface = Enum.SurfaceType.Universal
- o13.TopSurface = Enum.SurfaceType.Universal
- o13.Position = Vector3.new(-41.0001106, 6.625, -28.5000191)
- o14.Parent = o1
- o14.Material = Enum.Material.SmoothPlastic
- o14.Position = Vector3.new(-38.5000877, 6.625, -21.9999542)
- o14.Size = Vector3.new(4, 12.75, 1)
- o14.CFrame = CFrame.new(-38.5000877, 6.625, -21.9999542, 1.00001001, 0, 0, 0, 1, 0, 0, 0, 1.00001001)
- o14.BackSurface = Enum.SurfaceType.Universal
- o14.BottomSurface = Enum.SurfaceType.Universal
- o14.FrontSurface = Enum.SurfaceType.Universal
- o14.LeftSurface = Enum.SurfaceType.Universal
- o14.RightSurface = Enum.SurfaceType.Universal
- o14.TopSurface = Enum.SurfaceType.Universal
- o14.Position = Vector3.new(-38.5000877, 6.625, -21.9999542)
- o15.Parent = o1
- o15.Material = Enum.Material.SmoothPlastic
- o15.Position = Vector3.new(-34.000042, 6.625, -35.0000839)
- o15.Size = Vector3.new(13, 12.75, 1)
- o15.CFrame = CFrame.new(-34.000042, 6.625, -35.0000839, 1.00001001, 0, 0, 0, 1, 0, 0, 0, 1.00001001)
- o15.BackSurface = Enum.SurfaceType.Universal
- o15.BottomSurface = Enum.SurfaceType.Universal
- o15.FrontSurface = Enum.SurfaceType.Universal
- o15.LeftSurface = Enum.SurfaceType.Universal
- o15.RightSurface = Enum.SurfaceType.Universal
- o15.TopSurface = Enum.SurfaceType.Universal
- o15.Position = Vector3.new(-34.000042, 6.625, -35.0000839)
- o16.Parent = o1
- o16.Material = Enum.Material.SmoothPlastic
- o16.Position = Vector3.new(-26.9999714, 6.625, -28.5000191)
- o16.Size = Vector3.new(1, 12.75, 14)
- o16.CFrame = CFrame.new(-26.9999714, 6.625, -28.5000191, 1.00001001, 0, 0, 0, 1, 0, 0, 0, 1.00001001)
- o16.BackSurface = Enum.SurfaceType.Universal
- o16.BottomSurface = Enum.SurfaceType.Universal
- o16.FrontSurface = Enum.SurfaceType.Universal
- o16.LeftSurface = Enum.SurfaceType.Universal
- o16.RightSurface = Enum.SurfaceType.Universal
- o16.TopSurface = Enum.SurfaceType.Universal
- o16.Position = Vector3.new(-26.9999714, 6.625, -28.5000191)
- o17.Parent = o1
- o17.Material = Enum.Material.Wood
- o17.BrickColor = BrickColor.new("Really black")
- o17.Position = Vector3.new(-34.5000458, 12.8750038, -28.625021)
- o17.Size = Vector3.new(1.5, 0.25, 1.75)
- o17.CFrame = CFrame.new(-34.5000458, 12.8750038, -28.625021, 1.00001001, 0, 0, 0, 1, 0, 0, 0, 1.00001001)
- o17.BackSurface = Enum.SurfaceType.Universal
- o17.BottomSurface = Enum.SurfaceType.Universal
- o17.FrontSurface = Enum.SurfaceType.Universal
- o17.LeftSurface = Enum.SurfaceType.Universal
- o17.RightSurface = Enum.SurfaceType.Universal
- o17.TopSurface = Enum.SurfaceType.Universal
- o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o17.Position = Vector3.new(-34.5000458, 12.8750038, -28.625021)
- o18.Parent = o17
- o18.SoundId = "rbxassetid://258852901"
- o18.Volume = 2
- o18.Looped = true
- o19.Parent = o1
- o19.Material = Enum.Material.SmoothPlastic
- o19.Position = Vector3.new(-34.000042, 11, -21.9999542)
- o19.Size = Vector3.new(5, 4, 1)
- o19.CFrame = CFrame.new(-34.000042, 11, -21.9999542, 1.00001001, 0, 0, 0, 1, 0, 0, 0, 1.00001001)
- o19.BackSurface = Enum.SurfaceType.Universal
- o19.BottomSurface = Enum.SurfaceType.Universal
- o19.FrontSurface = Enum.SurfaceType.Universal
- o19.LeftSurface = Enum.SurfaceType.Universal
- o19.RightSurface = Enum.SurfaceType.Universal
- o19.TopSurface = Enum.SurfaceType.Universal
- o19.Position = Vector3.new(-34.000042, 11, -21.9999542)
- o20.Parent = o1
- o20.Material = Enum.Material.Neon
- o20.BrickColor = BrickColor.new("Really red")
- o20.Position = Vector3.new(-38.1250839, 3.74998069, -22.6249599)
- o20.Rotation = Vector3.new(90, -90, 0)
- o20.Size = Vector3.new(1.25, 0.25, 0.5)
- o20.CFrame = CFrame.new(-38.1250839, 3.74998069, -22.6249599, 0, 5.96052416e-007, -1.00001097, -1.00000215, 0, 0, 0, 1.0000118, -5.96052416e-007)
- o20.BackSurface = Enum.SurfaceType.Universal
- o20.BottomSurface = Enum.SurfaceType.Universal
- o20.FrontSurface = Enum.SurfaceType.Universal
- o20.LeftSurface = Enum.SurfaceType.Universal
- o20.RightSurface = Enum.SurfaceType.Universal
- o20.TopSurface = Enum.SurfaceType.Universal
- o20.Color = Color3.new(1, 0, 0)
- o20.Position = Vector3.new(-38.1250839, 3.74998069, -22.6249599)
- o21.Parent = o20
- o22.Parent = o20
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- script.Parent.ClickDetector.mouseClick : connect(function()
- script.Parent.BrickColor = BrickColor.new("Lime green")
- script.Parent.Sound : play()
- wait(5)
- script.Parent.ClickDetector : Destroy()
- script.Parent.Parent.Top.BodyForce.Force = Vector3.new(0,50000,0)
- wait(15)
- script.Parent.Parent.Floor.Anchored = true
- script.Parent.Parent.Top.BodyForce : Destroy()
- wait(1)
- script.Parent.Sound : play()
- end)
- end,o22)
- end))
- o23.Parent = o20
- o23.SoundId = "rbxassetid://138169063"
- o23.Volume = 1
- o24.Name = "Top"
- o24.Parent = o1
- o24.Material = Enum.Material.Metal
- o24.BrickColor = BrickColor.new("Institutional white")
- o24.Position = Vector3.new(-34.000042, 13.125, -28.5000191)
- o24.Size = Vector3.new(15, 0.25, 14)
- o24.CFrame = CFrame.new(-34.000042, 13.125, -28.5000191, 1.00001001, 0, 0, 0, 1, 0, 0, 0, 1.00001001)
- o24.BackSurface = Enum.SurfaceType.Universal
- o24.BottomSurface = Enum.SurfaceType.Universal
- o24.FrontSurface = Enum.SurfaceType.Universal
- o24.LeftSurface = Enum.SurfaceType.Universal
- o24.RightSurface = Enum.SurfaceType.Universal
- o24.TopSurface = Enum.SurfaceType.Universal
- o24.Color = Color3.new(0.972549, 0.972549, 0.972549)
- o24.Position = Vector3.new(-34.000042, 13.125, -28.5000191)
- o25.Parent = o24
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement