Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,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"))
- Model0 = Instance.new("Model")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- BlockMesh3 = Instance.new("BlockMesh")
- WeldConstraint4 = Instance.new("WeldConstraint")
- WeldConstraint5 = Instance.new("WeldConstraint")
- Part6 = Instance.new("Part")
- BlockMesh7 = Instance.new("BlockMesh")
- Weld8 = Instance.new("Weld")
- Part9 = Instance.new("Part")
- BlockMesh10 = Instance.new("BlockMesh")
- Weld11 = Instance.new("Weld")
- Part12 = Instance.new("Part")
- ClickDetector13 = Instance.new("ClickDetector")
- Script14 = Instance.new("Script")
- NumberValue15 = Instance.new("NumberValue")
- BlockMesh16 = Instance.new("BlockMesh")
- Part17 = Instance.new("Part")
- BlockMesh18 = Instance.new("BlockMesh")
- Weld19 = Instance.new("Weld")
- Part20 = Instance.new("Part")
- BlockMesh21 = Instance.new("BlockMesh")
- Weld22 = Instance.new("Weld")
- WeldConstraint23 = Instance.new("WeldConstraint")
- Model24 = Instance.new("Model")
- Part25 = Instance.new("Part")
- ClickDetector26 = Instance.new("ClickDetector")
- Decal27 = Instance.new("Decal")
- BlockMesh28 = Instance.new("BlockMesh")
- Part29 = Instance.new("Part")
- ClickDetector30 = Instance.new("ClickDetector")
- Decal31 = Instance.new("Decal")
- BlockMesh32 = Instance.new("BlockMesh")
- Part33 = Instance.new("Part")
- ClickDetector34 = Instance.new("ClickDetector")
- Decal35 = Instance.new("Decal")
- BlockMesh36 = Instance.new("BlockMesh")
- Part37 = Instance.new("Part")
- ClickDetector38 = Instance.new("ClickDetector")
- Decal39 = Instance.new("Decal")
- BlockMesh40 = Instance.new("BlockMesh")
- Part41 = Instance.new("Part")
- ClickDetector42 = Instance.new("ClickDetector")
- Decal43 = Instance.new("Decal")
- BlockMesh44 = Instance.new("BlockMesh")
- Part45 = Instance.new("Part")
- ClickDetector46 = Instance.new("ClickDetector")
- Decal47 = Instance.new("Decal")
- BlockMesh48 = Instance.new("BlockMesh")
- Part49 = Instance.new("Part")
- ClickDetector50 = Instance.new("ClickDetector")
- Decal51 = Instance.new("Decal")
- BlockMesh52 = Instance.new("BlockMesh")
- Part53 = Instance.new("Part")
- ClickDetector54 = Instance.new("ClickDetector")
- Decal55 = Instance.new("Decal")
- BlockMesh56 = Instance.new("BlockMesh")
- Part57 = Instance.new("Part")
- ClickDetector58 = Instance.new("ClickDetector")
- Decal59 = Instance.new("Decal")
- BlockMesh60 = Instance.new("BlockMesh")
- Part61 = Instance.new("Part")
- ClickDetector62 = Instance.new("ClickDetector")
- Decal63 = Instance.new("Decal")
- BlockMesh64 = Instance.new("BlockMesh")
- Part65 = Instance.new("Part")
- ClickDetector66 = Instance.new("ClickDetector")
- Decal67 = Instance.new("Decal")
- BlockMesh68 = Instance.new("BlockMesh")
- Part69 = Instance.new("Part")
- ClickDetector70 = Instance.new("ClickDetector")
- Decal71 = Instance.new("Decal")
- BlockMesh72 = Instance.new("BlockMesh")
- Script73 = Instance.new("Script")
- Part74 = Instance.new("Part")
- WeldConstraint75 = Instance.new("WeldConstraint")
- Part76 = Instance.new("Part")
- Weld77 = Instance.new("Weld")
- Weld78 = Instance.new("Weld")
- Part79 = Instance.new("Part")
- BillboardGui80 = Instance.new("BillboardGui")
- TextLabel81 = Instance.new("TextLabel")
- Part82 = Instance.new("Part")
- WeldConstraint83 = Instance.new("WeldConstraint")
- Part84 = Instance.new("Part")
- Weld85 = Instance.new("Weld")
- Weld86 = Instance.new("Weld")
- WeldConstraint87 = Instance.new("WeldConstraint")
- Model0.Parent = mas
- Model1.Name = "Code door"
- Model1.Parent = Model0
- Part2.Parent = Model1
- Part2.CFrame = CFrame.new(-35.9186134, 9.00413418, 45.6259766, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.Position = Vector3.new(-35.9186134, 9.00413418, 45.6259766)
- Part2.Size = Vector3.new(12, 1.20000005, 4)
- Part2.Anchored = true
- Part2.BackSurface = Enum.SurfaceType.Weld
- Part2.BottomSurface = Enum.SurfaceType.Weld
- Part2.FrontSurface = Enum.SurfaceType.Weld
- Part2.LeftSurface = Enum.SurfaceType.Weld
- Part2.RightSurface = Enum.SurfaceType.Weld
- Part2.TopSurface = Enum.SurfaceType.Weld
- BlockMesh3.Parent = Part2
- WeldConstraint4.Parent = Part2
- WeldConstraint4.Part0 = Part2
- WeldConstraint4.Part1 = Part20
- WeldConstraint5.Parent = Part2
- WeldConstraint5.Part0 = Part2
- WeldConstraint5.Part1 = Part82
- Part6.Parent = Model1
- Part6.CFrame = CFrame.new(-30.4186134, 4.20001602, 45.6259766, -4.1577905e-10, 1.33639332e-07, -1, -5.91153366e-08, 1, -1.33639332e-07, 1, -5.91153366e-08, 4.1577905e-10)
- Part6.Orientation = Vector3.new(0, -90, 0)
- Part6.Position = Vector3.new(-30.4186134, 4.20001602, 45.6259766)
- Part6.Rotation = Vector3.new(0, -90, 0)
- Part6.Size = Vector3.new(4, 8.40000057, 1)
- Part6.Anchored = true
- Part6.BackSurface = Enum.SurfaceType.Weld
- Part6.BottomSurface = Enum.SurfaceType.Weld
- Part6.FrontSurface = Enum.SurfaceType.Weld
- Part6.LeftSurface = Enum.SurfaceType.Weld
- Part6.RightSurface = Enum.SurfaceType.Weld
- Part6.TopSurface = Enum.SurfaceType.Weld
- BlockMesh7.Parent = Part6
- Weld8.Parent = Part6
- Weld8.C0 = CFrame.new(0, -4.20000029, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Weld8.C1 = CFrame.new(-30.4186134, 10.0000153, 45.6259766, -4.1577905e-10, -1, -1.33639332e-07, -5.91153366e-08, -1.33639332e-07, -1, 1, 4.1577905e-10, 5.91153366e-08)
- Weld8.Part0 = Part6
- Weld8.Part1 = nil
- Weld8.part1 = nil
- Part9.Name = "Door"
- Part9.Parent = Model1
- Part9.CFrame = CFrame.new(-33.9186134, 4.20001507, 44.1259766, -4.1577905e-10, 1.33639332e-07, -1, -5.91153366e-08, 1, -1.33639332e-07, 1, -5.91153366e-08, 4.1577905e-10)
- Part9.Orientation = Vector3.new(0, -90, 0)
- Part9.Position = Vector3.new(-33.9186134, 4.20001507, 44.1259766)
- Part9.Rotation = Vector3.new(0, -90, 0)
- Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part9.Size = Vector3.new(1, 8.40000057, 6)
- Part9.Anchored = true
- Part9.BackSurface = Enum.SurfaceType.Weld
- Part9.BottomSurface = Enum.SurfaceType.Weld
- Part9.BrickColor = BrickColor.new("Really black")
- Part9.FrontSurface = Enum.SurfaceType.Weld
- Part9.LeftSurface = Enum.SurfaceType.Weld
- Part9.RightSurface = Enum.SurfaceType.Weld
- Part9.TopSurface = Enum.SurfaceType.Weld
- Part9.brickColor = BrickColor.new("Really black")
- BlockMesh10.Parent = Part9
- Weld11.Parent = Part9
- Weld11.C0 = CFrame.new(0, -4.20000029, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Weld11.C1 = CFrame.new(-33.9186134, 10.0000153, 44.1259766, -4.1577905e-10, -1, -1.33639332e-07, -5.91153366e-08, -1.33639332e-07, -1, 1, 4.1577905e-10, 5.91153366e-08)
- Weld11.Part0 = Part9
- Weld11.Part1 = nil
- Weld11.part1 = nil
- Part12.Name = "Open"
- Part12.Parent = Model1
- Part12.CFrame = CFrame.new(-39.4186134, 4.50001287, 47.8259735, 0.999999762, 4.98988584e-09, 1.60367165e-06, 5.34557216e-07, -3.23884109e-07, -0.99999994, -1.66318159e-09, 0.99999994, 1.49038542e-07)
- Part12.Orientation = Vector3.new(89.9800034, 84.6900024, 121.209999)
- Part12.Position = Vector3.new(-39.4186134, 4.50001287, 47.8259735)
- Part12.Rotation = Vector3.new(90, 0, 0)
- Part12.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part12.Size = Vector3.new(1, 0.400000006, 1)
- Part12.Anchored = true
- Part12.BackSurface = Enum.SurfaceType.Weld
- Part12.BottomSurface = Enum.SurfaceType.Weld
- Part12.BrickColor = BrickColor.new("Bright green")
- Part12.FrontSurface = Enum.SurfaceType.Weld
- Part12.LeftSurface = Enum.SurfaceType.Weld
- Part12.RightSurface = Enum.SurfaceType.Weld
- Part12.TopSurface = Enum.SurfaceType.Weld
- Part12.brickColor = BrickColor.new("Bright green")
- Part12.FormFactor = Enum.FormFactor.Plate
- Part12.formFactor = Enum.FormFactor.Plate
- ClickDetector13.Parent = Part12
- ClickDetector13.MaxActivationDistance = 5
- Script14.Parent = Part12
- table.insert(cors,sandbox(Script14,function()
- door = script.Parent.Parent.Door
- function clicked()
- if script.Value.Value == 0 then
- print("Opened")
- script.Value.Value = 1
- local door = script.Parent.Parent.Door
- door.CanCollide = false
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = 0.8
- wait(3)--
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = 0
- door.CanCollide = true
- script.Value.Value = 0
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(clicked)
- end))
- NumberValue15.Parent = Script14
- BlockMesh16.Parent = Part12
- Part17.Parent = Model1
- Part17.CFrame = CFrame.new(-38.9186134, 4.20001507, 45.6259766, -4.1577905e-10, 1.33639332e-07, -1, -5.91153366e-08, 1, -1.33639332e-07, 1, -5.91153366e-08, 4.1577905e-10)
- Part17.Orientation = Vector3.new(0, -90, 0)
- Part17.Position = Vector3.new(-38.9186134, 4.20001507, 45.6259766)
- Part17.Rotation = Vector3.new(0, -90, 0)
- Part17.Size = Vector3.new(4, 8.40000057, 4)
- Part17.Anchored = true
- Part17.BackSurface = Enum.SurfaceType.Weld
- Part17.BottomSurface = Enum.SurfaceType.Weld
- Part17.FrontSurface = Enum.SurfaceType.Weld
- Part17.LeftSurface = Enum.SurfaceType.Weld
- Part17.RightSurface = Enum.SurfaceType.Weld
- Part17.TopSurface = Enum.SurfaceType.Weld
- BlockMesh18.Parent = Part17
- Weld19.Parent = Part17
- Weld19.C0 = CFrame.new(0, -4.20000029, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Weld19.C1 = CFrame.new(-38.9186134, 10.0000153, 45.6259766, -4.1577905e-10, -1, -1.33639332e-07, -5.91153366e-08, -1.33639332e-07, -1, 1, 4.1577905e-10, 5.91153366e-08)
- Weld19.Part0 = Part17
- Weld19.Part1 = nil
- Weld19.part1 = nil
- Part20.Parent = Model1
- Part20.CFrame = CFrame.new(-41.4186134, 4.20001221, 45.6259766, -4.1577905e-10, 1.33639332e-07, -1, -5.91153366e-08, 1, -1.33639332e-07, 1, -5.91153366e-08, 4.1577905e-10)
- Part20.Orientation = Vector3.new(0, -90, 0)
- Part20.Position = Vector3.new(-41.4186134, 4.20001221, 45.6259766)
- Part20.Rotation = Vector3.new(0, -90, 0)
- Part20.Size = Vector3.new(4, 8.40000057, 1)
- Part20.Anchored = true
- Part20.BackSurface = Enum.SurfaceType.Weld
- Part20.BottomSurface = Enum.SurfaceType.Weld
- Part20.FrontSurface = Enum.SurfaceType.Weld
- Part20.LeftSurface = Enum.SurfaceType.Weld
- Part20.RightSurface = Enum.SurfaceType.Weld
- Part20.TopSurface = Enum.SurfaceType.Weld
- BlockMesh21.Parent = Part20
- Weld22.Parent = Part20
- Weld22.C0 = CFrame.new(0, -4.20000029, 0, 1, 0, 0, -0, -0, -1, 0, 1, 0)
- Weld22.C1 = CFrame.new(-41.4186134, 10.0000114, 45.6259766, -4.1577905e-10, -1, -1.33639332e-07, -5.91153366e-08, -1.33639332e-07, -1, 1, 4.1577905e-10, 5.91153366e-08)
- Weld22.Part0 = Part20
- Weld22.Part1 = nil
- Weld22.part1 = nil
- WeldConstraint23.Parent = Part20
- WeldConstraint23.Part0 = Part20
- WeldConstraint23.Part1 = Part76
- Model24.Name = "KeyPad"
- Model24.Parent = Model1
- Part25.Name = "B9"
- Part25.Parent = Model24
- Part25.CFrame = CFrame.new(-40.4186134, 4.70002985, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part25.Orientation = Vector3.new(-90, 0, 0)
- Part25.Position = Vector3.new(-40.4186134, 4.70002985, 43.4259796)
- Part25.Rotation = Vector3.new(-90, 0, 0)
- Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part25.Size = Vector3.new(1, 0.400000006, 1)
- Part25.Anchored = true
- Part25.BottomSurface = Enum.SurfaceType.Weld
- Part25.BrickColor = BrickColor.new("Institutional white")
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.brickColor = BrickColor.new("Institutional white")
- Part25.FormFactor = Enum.FormFactor.Plate
- Part25.formFactor = Enum.FormFactor.Plate
- ClickDetector26.Parent = Part25
- ClickDetector26.MaxActivationDistance = 20
- Decal27.Parent = Part25
- Decal27.Texture = "http://www.roblox.com/asset/?id=2761971"
- Decal27.Face = Enum.NormalId.Top
- BlockMesh28.Parent = Part25
- Part29.Name = "B7"
- Part29.Parent = Model24
- Part29.CFrame = CFrame.new(-38.4186134, 4.70003414, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part29.Orientation = Vector3.new(-90, 0, 0)
- Part29.Position = Vector3.new(-38.4186134, 4.70003414, 43.4259796)
- Part29.Rotation = Vector3.new(-90, 0, 0)
- Part29.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part29.Size = Vector3.new(1, 0.400000006, 1)
- Part29.Anchored = true
- Part29.BottomSurface = Enum.SurfaceType.Weld
- Part29.BrickColor = BrickColor.new("Institutional white")
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.brickColor = BrickColor.new("Institutional white")
- Part29.FormFactor = Enum.FormFactor.Plate
- Part29.formFactor = Enum.FormFactor.Plate
- ClickDetector30.Parent = Part29
- ClickDetector30.MaxActivationDistance = 20
- Decal31.Parent = Part29
- Decal31.Texture = "http://www.roblox.com/asset/?id=2761956"
- Decal31.Face = Enum.NormalId.Top
- BlockMesh32.Parent = Part29
- Part33.Name = "B8"
- Part33.Parent = Model24
- Part33.CFrame = CFrame.new(-39.4186134, 4.70003414, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part33.Orientation = Vector3.new(-90, 0, 0)
- Part33.Position = Vector3.new(-39.4186134, 4.70003414, 43.4259796)
- Part33.Rotation = Vector3.new(-90, 0, 0)
- Part33.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part33.Size = Vector3.new(1, 0.400000006, 1)
- Part33.Anchored = true
- Part33.BottomSurface = Enum.SurfaceType.Weld
- Part33.BrickColor = BrickColor.new("Institutional white")
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.brickColor = BrickColor.new("Institutional white")
- Part33.FormFactor = Enum.FormFactor.Plate
- Part33.formFactor = Enum.FormFactor.Plate
- ClickDetector34.Parent = Part33
- ClickDetector34.MaxActivationDistance = 20
- Decal35.Parent = Part33
- Decal35.Texture = "http://www.roblox.com/asset/?id=2761961"
- Decal35.Face = Enum.NormalId.Top
- BlockMesh36.Parent = Part33
- Part37.Name = "B6"
- Part37.Parent = Model24
- Part37.CFrame = CFrame.new(-40.4186134, 5.70006514, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part37.Orientation = Vector3.new(-90, 0, 0)
- Part37.Position = Vector3.new(-40.4186134, 5.70006514, 43.4259796)
- Part37.Rotation = Vector3.new(-90, 0, 0)
- Part37.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part37.Size = Vector3.new(1, 0.400000006, 1)
- Part37.Anchored = true
- Part37.BottomSurface = Enum.SurfaceType.Weld
- Part37.BrickColor = BrickColor.new("Institutional white")
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.brickColor = BrickColor.new("Institutional white")
- Part37.FormFactor = Enum.FormFactor.Plate
- Part37.formFactor = Enum.FormFactor.Plate
- ClickDetector38.Parent = Part37
- ClickDetector38.MaxActivationDistance = 20
- Decal39.Parent = Part37
- Decal39.Texture = "http://www.roblox.com/asset/?id=2761948"
- Decal39.Face = Enum.NormalId.Top
- BlockMesh40.Parent = Part37
- Part41.Name = "B5"
- Part41.Parent = Model24
- Part41.CFrame = CFrame.new(-39.4186134, 5.70006704, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part41.Orientation = Vector3.new(-90, 0, 0)
- Part41.Position = Vector3.new(-39.4186134, 5.70006704, 43.4259796)
- Part41.Rotation = Vector3.new(-90, 0, 0)
- Part41.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part41.Size = Vector3.new(1, 0.400000006, 1)
- Part41.Anchored = true
- Part41.BottomSurface = Enum.SurfaceType.Weld
- Part41.BrickColor = BrickColor.new("Institutional white")
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.brickColor = BrickColor.new("Institutional white")
- Part41.FormFactor = Enum.FormFactor.Plate
- Part41.formFactor = Enum.FormFactor.Plate
- ClickDetector42.Parent = Part41
- ClickDetector42.MaxActivationDistance = 20
- Decal43.Parent = Part41
- Decal43.Texture = "http://www.roblox.com/asset/?id=2761943"
- Decal43.Face = Enum.NormalId.Top
- BlockMesh44.Parent = Part41
- Part45.Name = "B4"
- Part45.Parent = Model24
- Part45.CFrame = CFrame.new(-38.4186134, 5.70006704, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part45.Orientation = Vector3.new(-90, 0, 0)
- Part45.Position = Vector3.new(-38.4186134, 5.70006704, 43.4259796)
- Part45.Rotation = Vector3.new(-90, 0, 0)
- Part45.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part45.Size = Vector3.new(1, 0.400000006, 1)
- Part45.Anchored = true
- Part45.BottomSurface = Enum.SurfaceType.Weld
- Part45.BrickColor = BrickColor.new("Institutional white")
- Part45.TopSurface = Enum.SurfaceType.Smooth
- Part45.brickColor = BrickColor.new("Institutional white")
- Part45.FormFactor = Enum.FormFactor.Plate
- Part45.formFactor = Enum.FormFactor.Plate
- ClickDetector46.Parent = Part45
- ClickDetector46.MaxActivationDistance = 10
- Decal47.Parent = Part45
- Decal47.Texture = "http://www.roblox.com/asset/?id=2761938"
- Decal47.Face = Enum.NormalId.Top
- BlockMesh48.Parent = Part45
- Part49.Name = "B3"
- Part49.Parent = Model24
- Part49.CFrame = CFrame.new(-40.4186134, 6.70006418, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part49.Orientation = Vector3.new(-90, 0, 0)
- Part49.Position = Vector3.new(-40.4186134, 6.70006418, 43.4259796)
- Part49.Rotation = Vector3.new(-90, 0, 0)
- Part49.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part49.Size = Vector3.new(1, 0.400000006, 1)
- Part49.Anchored = true
- Part49.BottomSurface = Enum.SurfaceType.Weld
- Part49.BrickColor = BrickColor.new("Institutional white")
- Part49.TopSurface = Enum.SurfaceType.Smooth
- Part49.brickColor = BrickColor.new("Institutional white")
- Part49.FormFactor = Enum.FormFactor.Plate
- Part49.formFactor = Enum.FormFactor.Plate
- ClickDetector50.Parent = Part49
- ClickDetector50.MaxActivationDistance = 20
- Decal51.Parent = Part49
- Decal51.Texture = "http://www.roblox.com/asset/?id=2761927"
- Decal51.Face = Enum.NormalId.Top
- BlockMesh52.Parent = Part49
- Part53.Name = "B1"
- Part53.Parent = Model24
- Part53.CFrame = CFrame.new(-38.4185829, 6.6989789, 43.4259949, -1, -1.45526069e-09, 4.67737664e-07, -4.67737664e-07, -2.06903678e-07, 1, 1.45526047e-09, 1, -2.06903678e-07)
- Part53.Orientation = Vector3.new(-90, 180, 0)
- Part53.Position = Vector3.new(-38.4185829, 6.6989789, 43.4259949)
- Part53.Rotation = Vector3.new(-90, 0, 180)
- Part53.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part53.Size = Vector3.new(1, 0.400000006, 1)
- Part53.Anchored = true
- Part53.BottomSurface = Enum.SurfaceType.Smooth
- Part53.BrickColor = BrickColor.new("Institutional white")
- Part53.TopSurface = Enum.SurfaceType.Weld
- Part53.brickColor = BrickColor.new("Institutional white")
- Part53.FormFactor = Enum.FormFactor.Plate
- Part53.formFactor = Enum.FormFactor.Plate
- ClickDetector54.Parent = Part53
- ClickDetector54.MaxActivationDistance = 20
- Decal55.Parent = Part53
- Decal55.Texture = "http://www.roblox.com/asset/?id=2761913"
- Decal55.Face = Enum.NormalId.Bottom
- BlockMesh56.Parent = Part53
- Part57.Name = "B0"
- Part57.Parent = Model24
- Part57.CFrame = CFrame.new(-39.4186134, 3.70000601, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part57.Orientation = Vector3.new(-90, 0, 0)
- Part57.Position = Vector3.new(-39.4186134, 3.70000601, 43.4259796)
- Part57.Rotation = Vector3.new(-90, 0, 0)
- Part57.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part57.Size = Vector3.new(1, 0.400000006, 1)
- Part57.Anchored = true
- Part57.BottomSurface = Enum.SurfaceType.Weld
- Part57.BrickColor = BrickColor.new("Institutional white")
- Part57.TopSurface = Enum.SurfaceType.Smooth
- Part57.brickColor = BrickColor.new("Institutional white")
- Part57.FormFactor = Enum.FormFactor.Plate
- Part57.formFactor = Enum.FormFactor.Plate
- ClickDetector58.Parent = Part57
- ClickDetector58.MaxActivationDistance = 20
- Decal59.Parent = Part57
- Decal59.Texture = "http://www.roblox.com/asset/?id=2761903"
- Decal59.Face = Enum.NormalId.Top
- BlockMesh60.Parent = Part57
- Part61.Name = "Enter"
- Part61.Parent = Model24
- Part61.CFrame = CFrame.new(-38.4186134, 3.70000601, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part61.Orientation = Vector3.new(-90, 0, 0)
- Part61.Position = Vector3.new(-38.4186134, 3.70000601, 43.4259796)
- Part61.Rotation = Vector3.new(-90, 0, 0)
- Part61.Color = Color3.new(0, 1, 0)
- Part61.Size = Vector3.new(1, 0.400000006, 1)
- Part61.Anchored = true
- Part61.BottomSurface = Enum.SurfaceType.Weld
- Part61.BrickColor = BrickColor.new("Lime green")
- Part61.TopSurface = Enum.SurfaceType.Smooth
- Part61.brickColor = BrickColor.new("Lime green")
- Part61.FormFactor = Enum.FormFactor.Plate
- Part61.formFactor = Enum.FormFactor.Plate
- ClickDetector62.Parent = Part61
- ClickDetector62.MaxActivationDistance = 20
- Decal63.Parent = Part61
- Decal63.Texture = "http://www.roblox.com/asset/?id=2761987"
- Decal63.Face = Enum.NormalId.Top
- BlockMesh64.Parent = Part61
- Part65.Name = "Clear"
- Part65.Parent = Model24
- Part65.CFrame = CFrame.new(-40.4183998, 3.69665003, 43.4257813, 1, -2.99313498e-08, -1.14305785e-05, 1.24996932e-05, 1.12743628e-05, 1, -3.31343273e-08, -1, 1.08014401e-05)
- Part65.Orientation = Vector3.new(-90, 0, 0)
- Part65.Position = Vector3.new(-40.4183998, 3.69665003, 43.4257813)
- Part65.Rotation = Vector3.new(-90, 0, 0)
- Part65.Color = Color3.new(1, 0, 0)
- Part65.Size = Vector3.new(1, 0.400000006, 1)
- Part65.Anchored = true
- Part65.BottomSurface = Enum.SurfaceType.Weld
- Part65.BrickColor = BrickColor.new("Really red")
- Part65.TopSurface = Enum.SurfaceType.Smooth
- Part65.brickColor = BrickColor.new("Really red")
- Part65.FormFactor = Enum.FormFactor.Plate
- Part65.formFactor = Enum.FormFactor.Plate
- ClickDetector66.Parent = Part65
- ClickDetector66.MaxActivationDistance = 20
- Decal67.Parent = Part65
- Decal67.Texture = "http://www.roblox.com/asset/?id=2761996"
- Decal67.Face = Enum.NormalId.Top
- BlockMesh68.Parent = Part65
- Part69.Name = "B2"
- Part69.Parent = Model24
- Part69.CFrame = CFrame.new(-39.4186134, 6.70006418, 43.4259796, 1, 4.1577905e-10, 1.33639332e-07, 1.33639332e-07, 5.91153366e-08, 1, -4.1577905e-10, -1, -5.91153366e-08)
- Part69.Orientation = Vector3.new(-90, 0, 0)
- Part69.Position = Vector3.new(-39.4186134, 6.70006418, 43.4259796)
- Part69.Rotation = Vector3.new(-90, 0, 0)
- Part69.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part69.Size = Vector3.new(1, 0.400000006, 1)
- Part69.Anchored = true
- Part69.BottomSurface = Enum.SurfaceType.Weld
- Part69.BrickColor = BrickColor.new("Institutional white")
- Part69.TopSurface = Enum.SurfaceType.Smooth
- Part69.brickColor = BrickColor.new("Institutional white")
- Part69.FormFactor = Enum.FormFactor.Plate
- Part69.formFactor = Enum.FormFactor.Plate
- ClickDetector70.Parent = Part69
- ClickDetector70.MaxActivationDistance = 20
- Decal71.Parent = Part69
- Decal71.Texture = "http://www.roblox.com/asset/?id=2761922"
- Decal71.Face = Enum.NormalId.Top
- BlockMesh72.Parent = Part69
- Script73.Name = "MasterScript"
- Script73.Parent = Model24
- table.insert(cors,sandbox(Script73,function()
- Code = "911" --change To any numbers You like
- Input = ""
- --This Is for my buddy siros
- --created by
- ------------------------------------------
- --Clear And Enter
- function Clear()
- print("Cleared")
- Input = ""
- end
- script.Parent.Clear.ClickDetector.MouseClick:connect(Clear)
- function Enter()
- if Input == Code then
- print("Entered")
- Input = ""
- local door = script.Parent.Parent.Door
- door.CanCollide = false
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = 0.8
- wait(3)--
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = 0
- door.CanCollide = true
- return end
- Input = ""
- print("Wrong Code")
- end
- script.Parent.Enter.ClickDetector.MouseClick:connect(Enter)
- ------------------------------------------
- --Digets
- function Click0()
- Input = Input..0
- print("0")
- script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=2767674"
- wait(0.1)
- script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=2761903"
- end
- script.Parent.B0.ClickDetector.MouseClick:connect(Click0)
- function Click1()
- Input = Input..1
- print("1")
- script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=2767677"
- wait(0.1)
- script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=2761913"
- end
- script.Parent.B1.ClickDetector.MouseClick:connect(Click1)
- function Click2()
- Input = Input..2
- print("2")
- script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=2767680"
- wait(0.1)
- script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=2761922"
- end
- script.Parent.B2.ClickDetector.MouseClick:connect(Click2)
- function Click3()
- Input = Input..3
- print("3")
- script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=2767686"
- wait(0.1)
- script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=2761927"
- end
- script.Parent.B3.ClickDetector.MouseClick:connect(Click3)
- function Click4()
- Input = Input..4
- print("4")
- script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=2767693"
- wait(0.1)
- script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=2761938"
- end
- script.Parent.B4.ClickDetector.MouseClick:connect(Click4)
- function Click5()
- Input = Input..5
- print("5")
- script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=2767695"
- wait(0.1)
- script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=2761943"
- end
- script.Parent.B5.ClickDetector.MouseClick:connect(Click5)
- function Click6()
- Input = Input..6
- print("6")
- script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=2767699"
- wait(0.1)
- script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=2761948"
- end
- script.Parent.B6.ClickDetector.MouseClick:connect(Click6)
- function Click7()
- Input = Input..7
- print("7")
- script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=2767701"
- wait(0.1)
- script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=2761956"
- end
- script.Parent.B7.ClickDetector.MouseClick:connect(Click7)
- function Click8()
- Input = Input..8
- print("8")
- script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=2767707"
- wait(0.1)
- script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=2761961"
- end
- script.Parent.B8.ClickDetector.MouseClick:connect(Click8)
- function Click9()
- Input = Input..9
- print("9")
- script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=2767714"
- wait(0.1)
- script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=2761971"
- end
- script.Parent.B9.ClickDetector.MouseClick:connect(Click9)
- end))
- Part74.Parent = Model0
- Part74.CFrame = CFrame.new(-35.5000458, 4.99996853, 68.5000229, 1, 7.48380262e-06, -2.3295792e-08, 7.48380262e-06, 1, -3.31045885e-06, -2.3295792e-08, -3.31045885e-06, 1)
- Part74.Position = Vector3.new(-35.5000458, 4.99996853, 68.5000229)
- Part74.Size = Vector3.new(9, 10, 1)
- Part74.BottomSurface = Enum.SurfaceType.Smooth
- Part74.TopSurface = Enum.SurfaceType.Smooth
- WeldConstraint75.Parent = Part74
- WeldConstraint75.Part0 = Part74
- WeldConstraint75.Part1 = Part82
- Part76.Parent = Model0
- Part76.CFrame = CFrame.new(-41.4186134, 4.99999762, 58.1259766, 1, 8.01835995e-07, -2.49479282e-09, 8.01835995e-07, 1, -3.5469202e-07, -2.49479282e-09, -3.5469202e-07, 1)
- Part76.Position = Vector3.new(-41.4186134, 4.99999762, 58.1259766)
- Part76.Size = Vector3.new(1, 10, 21)
- Part76.BottomSurface = Enum.SurfaceType.Smooth
- Part76.TopSurface = Enum.SurfaceType.Smooth
- Weld77.Parent = Part76
- Weld77.C0 = CFrame.new(0, 0, -10.5, -1, -0, -0, 0, 1, 0, -0, -0, -1)
- Weld77.C1 = CFrame.new(-5.5, -4.00413275, 2, -1, 5.3455733e-07, 1.66316361e-09, -5.3455733e-07, 1, 2.36461347e-07, 1.66316361e-09, -2.36461347e-07, -1)
- Weld77.Part0 = Part76
- Weld77.Part1 = Part2
- Weld77.part1 = Part2
- Weld78.Parent = Part76
- Weld78.C0 = CFrame.new(0, 0, -10.5, -1, -0, -0, 0, 1, 0, -0, -0, -1)
- Weld78.C1 = CFrame.new(2, 0.799989223, 0, 2.07897433e-09, -2.95576683e-07, -1, -6.68196662e-07, 1, 2.95576683e-07, 1, -6.68196662e-07, -2.07897433e-09)
- Weld78.Part0 = Part76
- Weld78.Part1 = Part20
- Weld78.part1 = Part20
- Part79.Parent = Model0
- Part79.CFrame = CFrame.new(-36, 0.5, 59, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part79.Position = Vector3.new(-36, 0.5, 59)
- Part79.Transparency = 100
- Part79.Size = Vector3.new(4, 1, 2)
- Part79.BottomSurface = Enum.SurfaceType.Smooth
- Part79.TopSurface = Enum.SurfaceType.Smooth
- BillboardGui80.Parent = Part79
- BillboardGui80.LightInfluence = 1
- BillboardGui80.Size = UDim2.new(0, 200, 0, 50)
- BillboardGui80.ClipsDescendants = true
- BillboardGui80.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- TextLabel81.Parent = BillboardGui80
- TextLabel81.Size = UDim2.new(0, 200, 0, 50)
- TextLabel81.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel81.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel81.BackgroundTransparency = 100
- TextLabel81.Font = Enum.Font.SourceSans
- TextLabel81.FontSize = Enum.FontSize.Size48
- TextLabel81.Text = "mokiros is fet"
- TextLabel81.TextColor = BrickColor.new("Magenta")
- TextLabel81.TextColor3 = Color3.new(0.666667, 0, 1)
- TextLabel81.TextSize = 40
- Part82.Parent = Model0
- Part82.CFrame = CFrame.new(-35.9185562, 10.9998446, 58.1259537, 3.74190131e-06, -1, -1.16447989e-08, 1, -3.74190131e-06, -1.65522943e-06, -1.65522943e-06, 1.16447998e-08, 1)
- Part82.Orientation = Vector3.new(0, 0, 90)
- Part82.Position = Vector3.new(-35.9185562, 10.9998446, 58.1259537)
- Part82.Rotation = Vector3.new(0, 0, 90)
- Part82.Size = Vector3.new(1, 11, 21)
- Part82.BottomSurface = Enum.SurfaceType.Smooth
- Part82.TopSurface = Enum.SurfaceType.Smooth
- WeldConstraint83.Parent = Part82
- WeldConstraint83.Part0 = Part82
- WeldConstraint83.Part1 = Part76
- Part84.Parent = Model0
- Part84.CFrame = CFrame.new(-30.4186134, 5.00002241, 58.1259804, 1, 1.06911466e-06, -3.32645334e-09, 1.06911466e-06, 1, -4.72922693e-07, -3.32645356e-09, -4.72922693e-07, 1)
- Part84.Position = Vector3.new(-30.4186134, 5.00002241, 58.1259804)
- Part84.Size = Vector3.new(1, 10, 21)
- Part84.BottomSurface = Enum.SurfaceType.Smooth
- Part84.TopSurface = Enum.SurfaceType.Smooth
- Weld85.Parent = Part84
- Weld85.C0 = CFrame.new(0, 0, -10.5, -1, -0, -0, 0, 1, 0, -0, -0, -1)
- Weld85.C1 = CFrame.new(5.5, -4.00410652, 2.00000381, -1, 8.01835995e-07, 2.49479282e-09, -8.01835995e-07, 1, 3.5469202e-07, 2.49479282e-09, -3.5469202e-07, -1)
- Weld85.Part0 = Part84
- Weld85.Part1 = Part2
- Weld85.part1 = Part2
- Weld86.Parent = Part84
- Weld86.C0 = CFrame.new(0, 0, -10.5, -1, -0, -0, 0, 1, 0, -0, -0, -1)
- Weld86.C1 = CFrame.new(2.00000381, 0.800011635, 0, 2.9106193e-09, -4.13807356e-07, -1, -9.35475327e-07, 1, 4.13807356e-07, 1, -9.35475327e-07, -2.91061908e-09)
- Weld86.Part0 = Part84
- Weld86.Part1 = Part6
- Weld86.part1 = Part6
- WeldConstraint87.Parent = Part84
- WeldConstraint87.Part0 = Part84
- WeldConstraint87.Part1 = Part82
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement