Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with ttyyuu12345's compiler
- --ttyyuu12345 is not responsible for damages caused to your game
- --This plugin does not remove things
- --ttyyuu12345 cannot be held resonsible for manual deletion for the purpose of testing
- --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
- --Thank you for using my plugin and enjoy :)
- --It is free to use
- --If you use this plugin to create your own, please give me credit
- --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
- --Errors: RotateP
- Create = function(itemClass,tabl)
- local item = Instance.new(itemClass)
- for i,v in pairs(tabl) do
- local a,b = ypcall(function() return item[i] end)
- if a then
- item[i] = tabl[i]
- end
- end
- return item
- end
- function runDummyScript(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 = Create("Model",{
- ["Name"] = "Jail",
- ["Parent"] = mas,
- })
- o2 = Create("Part",{
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Medium blue"),
- ["Position"] = Vector3.new(-5.5, 0.500034988, 91.5),
- ["CFrame"] = CFrame.new(-5.5, 0.500034988, 91.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(101, 1, 111),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
- })
- o3 = Create("Part",{
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Medium blue"),
- ["Position"] = Vector3.new(-5.5, 11.5000114, 146.5),
- ["CFrame"] = CFrame.new(-5.5, 11.5000114, 146.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(101, 21, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
- })
- o4 = Create("Part",{
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Medium blue"),
- ["Position"] = Vector3.new(-5.5, 11.5000124, 36.5),
- ["CFrame"] = CFrame.new(-5.5, 11.5000124, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(101, 21, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
- })
- o5 = Create("Part",{
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Medium blue"),
- ["Position"] = Vector3.new(-55.5, 11.5000114, 91.5),
- ["Rotation"] = Vector3.new(-0, 90, 0),
- ["CFrame"] = CFrame.new(-55.5, 11.5000114, 91.5, -0, 0, 1, -0, 1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(109, 21, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
- })
- o6 = Create("Part",{
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Medium blue"),
- ["Position"] = Vector3.new(44.5, 11.5000124, 95.5),
- ["Rotation"] = Vector3.new(-0, 90, 0),
- ["CFrame"] = CFrame.new(44.5, 11.5000124, 95.5, -0, 0, 1, -0, 1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(101, 21, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
- })
- o7 = Create("Part",{
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Medium blue"),
- ["Position"] = Vector3.new(44.5, 15.5000114, 41),
- ["Rotation"] = Vector3.new(-0, 90, 0),
- ["CFrame"] = CFrame.new(44.5, 15.5000114, 41, -0, 0, 1, -0, 1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(8, 13, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
- })
- o8 = Create("Model",{
- ["Name"] = "door of jail",
- ["Parent"] = o1,
- })
- o9 = Create("Part",{
- ["Name"] = "Close",
- ["Parent"] = o8,
- ["BrickColor"] = BrickColor.new("Bright red"),
- ["Position"] = Vector3.new(45.2000008, 5.50003004, 45.5),
- ["Rotation"] = Vector3.new(90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(45.2000008, 5.50003004, 45.5, 0, -1, 0, 0, 0, -1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
- })
- o10 = Create("ClickDetector",{
- ["Parent"] = o9,
- })
- o11 = Create("Script",{
- ["Parent"] = o9,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = true
- script.Parent.Parent.Door.Transparency = 0.4
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o11)
- end))
- o12 = Create("Part",{
- ["Name"] = "Door",
- ["Parent"] = o8,
- ["BrickColor"] = BrickColor.new("Black"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(44.5, 5.00003052, 41),
- ["Rotation"] = Vector3.new(-180, 0, -0),
- ["CFrame"] = CFrame.new(44.5, 5.00003052, 41, 1, 0, 0, 0, -1, 0, 0, 0, -1),
- ["CanCollide"] = false,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 8, 8),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
- })
- o13 = Create("Part",{
- ["Name"] = "Open",
- ["Parent"] = o8,
- ["BrickColor"] = BrickColor.new("Earth green"),
- ["Position"] = Vector3.new(45.2000008, 5.50003004, 36.5),
- ["Rotation"] = Vector3.new(-90, 2.50447806e-006, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(45.2000008, 5.50003004, 36.5, 0, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 0.99999994, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
- })
- o15 = Create("ClickDetector",{
- ["Parent"] = o13,
- })
- o16 = Create("Script",{
- ["Parent"] = o13,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = false
- script.Parent.Parent.Door.Transparency = 1
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o16)
- end))
- o17 = Create("Part",{
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Medium blue"),
- ["Position"] = Vector3.new(-5.5, 22.5000191, 91.5),
- ["CFrame"] = CFrame.new(-5.5, 22.5000191, 91.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(101, 1, 111),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
- })
- o18 = Create("Model",{
- ["Parent"] = o1,
- })
- o19 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-35, 1.50003505, 129.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["CFrame"] = CFrame.new(-35, 1.50003505, 129.5, 0, 0, 1, 0, -1, 0, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 1, 38),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o20 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-16.5, 9.00002003, 129.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-16.5, 9.00002003, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o21 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-35, 9.00002003, 144.5),
- ["Rotation"] = Vector3.new(180, -0, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-35, 9.00002003, 144.5, 1, -0, -0, 0, -1, -0, 0, -0, -1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(36, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o22 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-53.5, 9.00002003, 129.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-53.5, 9.00002003, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o23 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-23.5, 9.00002003, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-23.5, 9.00002003, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 13, 14),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o24 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-46, 9.00002003, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-46, 9.00002003, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 14, 14),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o25 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-30.5, 6.00003004, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-30.5, 6.00003004, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 1, 8),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o26 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-38.5, 6.00003004, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-38.5, 6.00003004, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 1, 8),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o27 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-34.5, 13.0000124, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-34.5, 13.0000124, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 9, 6),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o28 = Create("Part",{
- ["Parent"] = o18,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-35, 16.5000114, 129.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["CFrame"] = CFrame.new(-35, 16.5000114, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 1, 38),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o29 = Create("Model",{
- ["Name"] = "Door1",
- ["Parent"] = o18,
- })
- o30 = Create("Part",{
- ["Name"] = "Open",
- ["Parent"] = o29,
- ["BrickColor"] = BrickColor.new("Earth green"),
- ["Position"] = Vector3.new(-30.5, 7.49996281, 113.800003),
- ["Rotation"] = Vector3.new(-90, 0, -180),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-30.5, 7.49996281, 113.800003, -0.99999994, 0, 0, 0, -4.37113883e-008, 1, 0, 1, 4.37113883e-008),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
- })
- o32 = Create("ClickDetector",{
- ["Parent"] = o30,
- })
- o33 = Create("Script",{
- ["Parent"] = o30,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = false
- script.Parent.Parent.Door.Transparency = 1
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o33)
- end))
- o34 = Create("Part",{
- ["Name"] = "Close",
- ["Parent"] = o29,
- ["BrickColor"] = BrickColor.new("Bright red"),
- ["Position"] = Vector3.new(-38.5, 7.5000248, 113.800003),
- ["Rotation"] = Vector3.new(90, -0, 180),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-38.5, 7.5000248, 113.800003, -1, -0, -0, -0, -0, -1, -0, -1, -0),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
- })
- o36 = Create("ClickDetector",{
- ["Parent"] = o34,
- })
- o37 = Create("Script",{
- ["Parent"] = o34,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = true
- script.Parent.Parent.Door.Transparency = 0.4
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o37)
- end))
- o38 = Create("Part",{
- ["Name"] = "Door",
- ["Parent"] = o29,
- ["BrickColor"] = BrickColor.new("Black"),
- ["Transparency"] = 0.40000000596046,
- ["Position"] = Vector3.new(-34.5, 6.00003004, 114.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["CFrame"] = CFrame.new(-34.5, 6.00003004, 114.5, 0, 0, 1, 0, -1, 0, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 8, 7),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
- })
- o39 = Create("Model",{
- ["Parent"] = o1,
- })
- o40 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-35, 1.50003505, 54.5),
- ["Rotation"] = Vector3.new(-180, -90, 0),
- ["CFrame"] = CFrame.new(-35, 1.50003505, 54.5, 0, 0, -1, 0, -1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 1, 38),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o41 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-53.5, 9.00002003, 54.5),
- ["Rotation"] = Vector3.new(180, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-53.5, 9.00002003, 54.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o42 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-35, 9.00002003, 39.5),
- ["Rotation"] = Vector3.new(-0, 0, 180),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-35, 9.00002003, 39.5, -1, -0, 0, -0, -1, 0, -0, -0, 1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(36, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o43 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-16.5, 9.00002003, 54.5),
- ["Rotation"] = Vector3.new(180, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-16.5, 9.00002003, 54.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o44 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-46.5, 9.00002003, 69.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-46.5, 9.00002003, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 13, 14),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o45 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-24, 9.00002003, 69.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-24, 9.00002003, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 14, 14),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o46 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-39.5, 6.00003004, 69.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-39.5, 6.00003004, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 1, 8),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o47 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-31.5, 6.00003004, 69.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-31.5, 6.00003004, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 1, 8),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o48 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-35.5, 13.0000124, 69.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-35.5, 13.0000124, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 9, 6),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o49 = Create("Part",{
- ["Parent"] = o39,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-35, 16.5000114, 54.5),
- ["Rotation"] = Vector3.new(180, -90, 0),
- ["CFrame"] = CFrame.new(-35, 16.5000114, 54.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 1, 38),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o50 = Create("Model",{
- ["Name"] = "Door1",
- ["Parent"] = o39,
- })
- o51 = Create("Part",{
- ["Name"] = "Open",
- ["Parent"] = o50,
- ["BrickColor"] = BrickColor.new("Earth green"),
- ["Position"] = Vector3.new(-39.5, 7.50004578, 70.1999969),
- ["Rotation"] = Vector3.new(-90, 0, -0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-39.5, 7.50004578, 70.1999969, 0.99999994, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
- })
- o53 = Create("ClickDetector",{
- ["Parent"] = o51,
- })
- o54 = Create("Script",{
- ["Parent"] = o51,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = false
- script.Parent.Parent.Door.Transparency = 1
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o54)
- end))
- o55 = Create("Part",{
- ["Name"] = "Close",
- ["Parent"] = o50,
- ["BrickColor"] = BrickColor.new("Bright red"),
- ["Position"] = Vector3.new(-31.5, 7.5000248, 70.1999969),
- ["Rotation"] = Vector3.new(90, -0, -0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-31.5, 7.5000248, 70.1999969, 1, 0, -0, 0, 0, -1, 0, 1, -0),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
- })
- o57 = Create("ClickDetector",{
- ["Parent"] = o55,
- })
- o58 = Create("Script",{
- ["Parent"] = o55,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = true
- script.Parent.Parent.Door.Transparency = 0.4
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o58)
- end))
- o59 = Create("Part",{
- ["Name"] = "Door",
- ["Parent"] = o50,
- ["BrickColor"] = BrickColor.new("Black"),
- ["Transparency"] = 0.40000000596046,
- ["Position"] = Vector3.new(-35.5, 6.00003004, 69.5),
- ["Rotation"] = Vector3.new(-180, -90, 0),
- ["CFrame"] = CFrame.new(-35.5, 6.00003004, 69.5, 0, 0, -1, 0, -1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 8, 7),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
- })
- o60 = Create("Model",{
- ["Parent"] = o1,
- })
- o61 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(4, 1.50003505, 129.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["CFrame"] = CFrame.new(4, 1.50003505, 129.5, 0, 0, 1, 0, -1, 0, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 1, 38),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o62 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(22.5, 9.00002003, 129.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(22.5, 9.00002003, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o63 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(4, 9.00002003, 144.5),
- ["Rotation"] = Vector3.new(180, -0, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(4, 9.00002003, 144.5, 1, -0, -0, 0, -1, -0, 0, -0, -1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(36, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o64 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-14.5, 9.00002003, 129.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-14.5, 9.00002003, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o65 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(15.5, 9.00002003, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(15.5, 9.00002003, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 13, 14),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o66 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-7, 9.00002003, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-7, 9.00002003, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 14, 14),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o67 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(8.5, 6.00003004, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(8.5, 6.00003004, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 1, 8),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o68 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(0.5, 6.00003004, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(0.5, 6.00003004, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 1, 8),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o69 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(4.5, 13.0000124, 114.5),
- ["Rotation"] = Vector3.new(-90, 0, -90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(4.5, 13.0000124, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 9, 6),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o70 = Create("Part",{
- ["Parent"] = o60,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(4, 16.5000114, 129.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["CFrame"] = CFrame.new(4, 16.5000114, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 1, 38),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o71 = Create("Model",{
- ["Name"] = "Door1",
- ["Parent"] = o60,
- })
- o72 = Create("Part",{
- ["Name"] = "Open",
- ["Parent"] = o71,
- ["BrickColor"] = BrickColor.new("Earth green"),
- ["Position"] = Vector3.new(8.5, 7.50022602, 113.800003),
- ["Rotation"] = Vector3.new(-90, 0, -180),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(8.5, 7.50022602, 113.800003, -0.99999994, 0, 0, 0, -4.37113883e-008, 1, 0, 1, 4.37113883e-008),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
- })
- o74 = Create("ClickDetector",{
- ["Parent"] = o72,
- })
- o75 = Create("Script",{
- ["Parent"] = o72,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = false
- script.Parent.Parent.Door.Transparency = 1
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o75)
- end))
- o76 = Create("Part",{
- ["Name"] = "Close",
- ["Parent"] = o71,
- ["BrickColor"] = BrickColor.new("Bright red"),
- ["Position"] = Vector3.new(0.5, 7.5000248, 113.800003),
- ["Rotation"] = Vector3.new(90, -0, 180),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(0.5, 7.5000248, 113.800003, -1, -0, -0, -0, -0, -1, -0, -1, -0),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
- })
- o78 = Create("ClickDetector",{
- ["Parent"] = o76,
- })
- o79 = Create("Script",{
- ["Parent"] = o76,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = true
- script.Parent.Parent.Door.Transparency = 0.4
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o79)
- end))
- o80 = Create("Part",{
- ["Name"] = "Door",
- ["Parent"] = o71,
- ["BrickColor"] = BrickColor.new("Black"),
- ["Transparency"] = 0.40000000596046,
- ["Position"] = Vector3.new(4.5, 6.00003004, 114.5),
- ["Rotation"] = Vector3.new(180, 90, 0),
- ["CFrame"] = CFrame.new(4.5, 6.00003004, 114.5, 0, 0, 1, 0, -1, 0, 1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 8, 7),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
- })
- o81 = Create("Model",{
- ["Parent"] = o1,
- })
- o82 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(4, 1.50003505, 53.5),
- ["Rotation"] = Vector3.new(-180, -90, 0),
- ["CFrame"] = CFrame.new(4, 1.50003505, 53.5, 0, 0, -1, 0, -1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 1, 38),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o83 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-14.5, 9.00002003, 53.5),
- ["Rotation"] = Vector3.new(180, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-14.5, 9.00002003, 53.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o84 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(4, 9.00002003, 38.5),
- ["Rotation"] = Vector3.new(-0, 0, 180),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(4, 9.00002003, 38.5, -1, -0, 0, -0, -1, 0, -0, -0, 1),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(36, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o85 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(22.5, 9.00002003, 53.5),
- ["Rotation"] = Vector3.new(180, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(22.5, 9.00002003, 53.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 14, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o86 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-7.5, 9.00002003, 68.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-7.5, 9.00002003, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 13, 14),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o87 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(15, 9.00002003, 68.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(15, 9.00002003, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 14, 14),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o88 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(-0.5, 6.00003004, 68.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-0.5, 6.00003004, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 1, 8),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o89 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(7.5, 6.00003004, 68.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(7.5, 6.00003004, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 1, 8),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o90 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(3.5, 13.0000124, 68.5),
- ["Rotation"] = Vector3.new(-90, 0, 90),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3.5, 13.0000124, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 9, 6),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o91 = Create("Part",{
- ["Parent"] = o81,
- ["BrickColor"] = BrickColor.new("Bright blue"),
- ["Position"] = Vector3.new(4, 16.5000114, 53.5),
- ["Rotation"] = Vector3.new(180, -90, 0),
- ["CFrame"] = CFrame.new(4, 16.5000114, 53.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(31, 1, 38),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
- })
- o92 = Create("Model",{
- ["Name"] = "Door1",
- ["Parent"] = o81,
- })
- o93 = Create("Part",{
- ["Name"] = "Open",
- ["Parent"] = o92,
- ["BrickColor"] = BrickColor.new("Earth green"),
- ["Position"] = Vector3.new(-0.499996006, 7.50006819, 69.1999969),
- ["Rotation"] = Vector3.new(-90, 0, -0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(-0.499996006, 7.50006819, 69.1999969, 0.99999994, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
- })
- o95 = Create("ClickDetector",{
- ["Parent"] = o93,
- })
- o96 = Create("Script",{
- ["Parent"] = o93,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = false
- script.Parent.Parent.Door.Transparency = 1
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o96)
- end))
- o97 = Create("Part",{
- ["Name"] = "Close",
- ["Parent"] = o92,
- ["BrickColor"] = BrickColor.new("Bright red"),
- ["Position"] = Vector3.new(7.5, 7.5000248, 69.1999969),
- ["Rotation"] = Vector3.new(90, -0, -0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(7.5, 7.5000248, 69.1999969, 1, 0, -0, 0, 0, -1, 0, 1, -0),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
- })
- o99 = Create("ClickDetector",{
- ["Parent"] = o97,
- })
- o100 = Create("Script",{
- ["Parent"] = o97,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onClicked()
- script.Parent.Parent.Door.CanCollide = true
- script.Parent.Parent.Door.Transparency = 0.4
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end,o100)
- end))
- o101 = Create("Part",{
- ["Name"] = "Door",
- ["Parent"] = o92,
- ["BrickColor"] = BrickColor.new("Black"),
- ["Transparency"] = 0.40000000596046,
- ["Position"] = Vector3.new(3.5, 6.00003004, 68.5),
- ["Rotation"] = Vector3.new(-180, -90, 0),
- ["CFrame"] = CFrame.new(3.5, 6.00003004, 68.5, 0, 0, -1, 0, -1, 0, -1, 0, 0),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1, 8, 7),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
- })
- 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