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")
- Model2 = Instance.new("Model")
- Model3 = Instance.new("Model")
- Part4 = Instance.new("Part")
- BlockMesh5 = Instance.new("BlockMesh")
- Part6 = Instance.new("Part")
- BlockMesh7 = Instance.new("BlockMesh")
- Part8 = Instance.new("Part")
- BlockMesh9 = Instance.new("BlockMesh")
- Part10 = Instance.new("Part")
- BlockMesh11 = Instance.new("BlockMesh")
- Part12 = Instance.new("Part")
- ClickDetector13 = Instance.new("ClickDetector")
- CylinderMesh14 = Instance.new("CylinderMesh")
- Part15 = Instance.new("Part")
- BlockMesh16 = Instance.new("BlockMesh")
- Part17 = Instance.new("Part")
- BlockMesh18 = Instance.new("BlockMesh")
- Model19 = Instance.new("Model")
- Part20 = Instance.new("Part")
- BlockMesh21 = Instance.new("BlockMesh")
- Part22 = Instance.new("Part")
- ClickDetector23 = Instance.new("ClickDetector")
- BlockMesh24 = Instance.new("BlockMesh")
- Decal25 = Instance.new("Decal")
- Script26 = Instance.new("Script")
- Part27 = Instance.new("Part")
- BlockMesh28 = Instance.new("BlockMesh")
- Part29 = Instance.new("Part")
- BlockMesh30 = Instance.new("BlockMesh")
- Part31 = Instance.new("Part")
- BlockMesh32 = Instance.new("BlockMesh")
- Part33 = Instance.new("Part")
- BlockMesh34 = Instance.new("BlockMesh")
- Script35 = Instance.new("Script")
- Script36 = Instance.new("Script")
- Script37 = Instance.new("Script")
- Model38 = Instance.new("Model")
- Part39 = Instance.new("Part")
- ClickDetector40 = Instance.new("ClickDetector")
- BlockMesh41 = Instance.new("BlockMesh")
- Decal42 = Instance.new("Decal")
- Part43 = Instance.new("Part")
- BlockMesh44 = Instance.new("BlockMesh")
- Part45 = Instance.new("Part")
- BlockMesh46 = Instance.new("BlockMesh")
- Part47 = Instance.new("Part")
- BlockMesh48 = Instance.new("BlockMesh")
- Part49 = Instance.new("Part")
- BlockMesh50 = Instance.new("BlockMesh")
- Part51 = Instance.new("Part")
- BlockMesh52 = Instance.new("BlockMesh")
- Decal53 = Instance.new("Decal")
- Part54 = Instance.new("Part")
- BlockMesh55 = Instance.new("BlockMesh")
- Decal56 = Instance.new("Decal")
- Part57 = Instance.new("Part")
- BlockMesh58 = Instance.new("BlockMesh")
- Part59 = Instance.new("Part")
- BlockMesh60 = Instance.new("BlockMesh")
- Part61 = Instance.new("Part")
- BlockMesh62 = Instance.new("BlockMesh")
- Part63 = Instance.new("Part")
- ClickDetector64 = Instance.new("ClickDetector")
- BlockMesh65 = Instance.new("BlockMesh")
- Decal66 = Instance.new("Decal")
- Script67 = Instance.new("Script")
- Script68 = Instance.new("Script")
- Script69 = Instance.new("Script")
- Script70 = Instance.new("Script")
- Script71 = Instance.new("Script")
- Script72 = Instance.new("Script")
- Script73 = Instance.new("Script")
- Script74 = Instance.new("Script")
- Script75 = Instance.new("Script")
- Script76 = Instance.new("Script")
- Script77 = Instance.new("Script")
- Script78 = Instance.new("Script")
- Script79 = Instance.new("Script")
- Script80 = Instance.new("Script")
- Script81 = Instance.new("Script")
- Script82 = Instance.new("Script")
- Part83 = Instance.new("Part")
- BlockMesh84 = Instance.new("BlockMesh")
- Model85 = Instance.new("Model")
- Part86 = Instance.new("Part")
- BlockMesh87 = Instance.new("BlockMesh")
- Part88 = Instance.new("Part")
- Script89 = Instance.new("Script")
- VelocityMotor90 = Instance.new("VelocityMotor")
- Part91 = Instance.new("Part")
- BlockMesh92 = Instance.new("BlockMesh")
- Part93 = Instance.new("Part")
- BlockMesh94 = Instance.new("BlockMesh")
- Part95 = Instance.new("Part")
- BlockMesh96 = Instance.new("BlockMesh")
- Part97 = Instance.new("Part")
- BlockMesh98 = Instance.new("BlockMesh")
- Part99 = Instance.new("Part")
- BlockMesh100 = Instance.new("BlockMesh")
- Part101 = Instance.new("Part")
- BlockMesh102 = Instance.new("BlockMesh")
- Part103 = Instance.new("Part")
- BlockMesh104 = Instance.new("BlockMesh")
- Part105 = Instance.new("Part")
- BlockMesh106 = Instance.new("BlockMesh")
- Part107 = Instance.new("Part")
- BlockMesh108 = Instance.new("BlockMesh")
- Part109 = Instance.new("Part")
- BlockMesh110 = Instance.new("BlockMesh")
- Part111 = Instance.new("Part")
- BlockMesh112 = Instance.new("BlockMesh")
- Part113 = Instance.new("Part")
- BlockMesh114 = Instance.new("BlockMesh")
- Part115 = Instance.new("Part")
- BlockMesh116 = Instance.new("BlockMesh")
- Part117 = Instance.new("Part")
- BlockMesh118 = Instance.new("BlockMesh")
- Part119 = Instance.new("Part")
- BlockMesh120 = Instance.new("BlockMesh")
- Part121 = Instance.new("Part")
- BlockMesh122 = Instance.new("BlockMesh")
- Part123 = Instance.new("Part")
- BlockMesh124 = Instance.new("BlockMesh")
- Model0.Name = "Rock v3 By eugenevorld"
- Model0.Parent = mas
- Model1.Parent = Model0
- Model2.Name = "rock"
- Model2.Parent = Model1
- Model3.Name = "FrontDoor"
- Model3.Parent = Model2
- Part4.Name = "Bar"
- Part4.Parent = Model3
- Part4.Rotation = Vector3.new(82.5, 89.8499985, -85.9399948)
- Part4.Anchored = true
- Part4.FormFactor = Enum.FormFactor.Plate
- Part4.Size = Vector3.new(1, 0.400000006, 8)
- Part4.CFrame = CFrame.new(-61.5252075, 20.6005478, -72.4999695, 2.31685551e-08, 3.26320588e-07, 0.999996603, 5.46410274e-06, 0.999996185, -4.15810604e-07, -0.999993742, 5.42251701e-06, 5.47766241e-08)
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.Position = Vector3.new(-61.5252075, 20.6005478, -72.4999695)
- Part4.Orientation = Vector3.new(0, 90, 0)
- BlockMesh5.Parent = Part4
- Part6.Name = "Bar1"
- Part6.Parent = Model3
- Part6.BrickColor = BrickColor.new("Deep blue")
- Part6.Transparency = 0.20000000298023
- Part6.Rotation = Vector3.new(-103.329994, -89.8499985, -101.579994)
- Part6.Anchored = true
- Part6.FormFactor = Enum.FormFactor.Symmetric
- Part6.Size = Vector3.new(1, 9, 8)
- Part6.CFrame = CFrame.new(-61.5252075, 15.899725, -72.5, -6.68797924e-08, 3.26320588e-07, -0.999996603, -5.46410274e-06, 0.999996185, 4.1581086e-07, 0.999993742, 5.42251701e-06, -9.8487746e-08)
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.Color = Color3.new(0.129412, 0.329412, 0.72549)
- Part6.Position = Vector3.new(-61.5252075, 15.899725, -72.5)
- Part6.Orientation = Vector3.new(0, -90, 0)
- Part6.Color = Color3.new(0.129412, 0.329412, 0.72549)
- BlockMesh7.Parent = Part6
- BlockMesh7.Scale = Vector3.new(0, 1, 1)
- BlockMesh7.Scale = Vector3.new(0, 1, 1)
- Part8.Name = "Bar2"
- Part8.Parent = Model3
- Part8.Rotation = Vector3.new(90, 0, -90)
- Part8.Anchored = true
- Part8.FormFactor = Enum.FormFactor.Plate
- Part8.Size = Vector3.new(1, 0.400000006, 9)
- Part8.CFrame = CFrame.new(-65.7253265, 15.4997063, -72.5, 1.19209268e-07, 1, -1.50995817e-07, -1.50995817e-07, -1.50995803e-07, -1, -1, 1.1920929e-07, 1.50995803e-07)
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.Position = Vector3.new(-65.7253265, 15.4997063, -72.5)
- Part8.Orientation = Vector3.new(90, 90, 0)
- BlockMesh9.Parent = Part8
- BlockMesh9.Offset = Vector3.new(0, 0, -0.409999996)
- BlockMesh9.Scale = Vector3.new(1, 1, 1.09000003)
- BlockMesh9.Scale = Vector3.new(1, 1, 1.09000003)
- Part10.Name = "Bar"
- Part10.Parent = Model3
- Part10.Rotation = Vector3.new(82.5, 89.8499985, -85.9399948)
- Part10.Anchored = true
- Part10.FormFactor = Enum.FormFactor.Plate
- Part10.Size = Vector3.new(1, 0.400000006, 8)
- Part10.CFrame = CFrame.new(-61.5252075, 11.1998711, -72.5000305, 2.31685551e-08, 3.26320588e-07, 0.999996603, 5.46410274e-06, 0.999996185, -4.15810604e-07, -0.999993742, 5.42251701e-06, 5.47766241e-08)
- Part10.BottomSurface = Enum.SurfaceType.Smooth
- Part10.TopSurface = Enum.SurfaceType.Smooth
- Part10.Position = Vector3.new(-61.5252075, 11.1998711, -72.5000305)
- Part10.Orientation = Vector3.new(0, 90, 0)
- BlockMesh11.Parent = Part10
- Part12.Name = "Button"
- Part12.Parent = Model3
- Part12.BrickColor = BrickColor.new("Bright blue")
- Part12.Rotation = Vector3.new(90, 0, -180)
- Part12.Anchored = true
- Part12.FormFactor = Enum.FormFactor.Plate
- Part12.Size = Vector3.new(1, 1.20000005, 1)
- Part12.CFrame = CFrame.new(-67.4502563, 15.9997292, -72.5, -1, 2.70205078e-07, -1.48090564e-07, 1.48090535e-07, -1.07284457e-07, -1, -2.70205078e-07, -1, 1.07284414e-07)
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.TopSurface = Enum.SurfaceType.Smooth
- Part12.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part12.Position = Vector3.new(-67.4502563, 15.9997292, -72.5)
- Part12.Orientation = Vector3.new(90, 180, 0)
- Part12.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- ClickDetector13.Name = "Click"
- ClickDetector13.Parent = Part12
- CylinderMesh14.Parent = Part12
- Part15.Name = "Bar2"
- Part15.Parent = Model3
- Part15.Rotation = Vector3.new(90, 0, -90)
- Part15.Anchored = true
- Part15.FormFactor = Enum.FormFactor.Plate
- Part15.Size = Vector3.new(1, 0.400000006, 9)
- Part15.CFrame = CFrame.new(-57.3252716, 15.4997234, -72.5, -3.86616961e-07, 1, -5.01973318e-07, 5.50703317e-06, -5.01971158e-07, -1, -1, -3.86619718e-07, -5.50703317e-06)
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.Position = Vector3.new(-57.3252716, 15.4997234, -72.5)
- Part15.Orientation = Vector3.new(90, 90, 0)
- BlockMesh16.Parent = Part15
- BlockMesh16.Offset = Vector3.new(0, 0, -0.409999996)
- BlockMesh16.Scale = Vector3.new(1, 1, 1.09000003)
- BlockMesh16.Scale = Vector3.new(1, 1, 1.09000003)
- Part17.Parent = Model3
- Part17.Anchored = true
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.Size = Vector3.new(2, 3, 1)
- Part17.CFrame = CFrame.new(-67.4502411, 15.4997234, -72.5, 1, 1.50995817e-07, -1.19209268e-07, -1.50995803e-07, 1, 1.50995817e-07, 1.1920929e-07, -1.50995803e-07, 1)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.Position = Vector3.new(-67.4502411, 15.4997234, -72.5)
- BlockMesh18.Parent = Part17
- BlockMesh18.Scale = Vector3.new(0.800000012, 0.800000012, 1.01999998)
- BlockMesh18.Scale = Vector3.new(0.800000012, 0.800000012, 1.01999998)
- Model19.Name = "Lock"
- Model19.Parent = Model3
- Part20.Name = "Bar"
- Part20.Parent = Model19
- Part20.BrickColor = BrickColor.new("Reddish brown")
- Part20.Rotation = Vector3.new(180, 0, 0)
- Part20.Anchored = true
- Part20.FormFactor = Enum.FormFactor.Plate
- Part20.Size = Vector3.new(3, 3.20000005, 1)
- Part20.CFrame = CFrame.new(-67.4502563, 15.899725, -72.5037842, 1, -1.55729288e-06, 1.85593748e-07, -1.55729288e-06, -1, -2.84217094e-14, 1.85593748e-07, -2.7000624e-13, -1)
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part20.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part20.Position = Vector3.new(-67.4502563, 15.899725, -72.5037842)
- Part20.Orientation = Vector3.new(0, 180, -180)
- Part20.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh21.Parent = Part20
- Part22.Name = "Button"
- Part22.Parent = Model19
- Part22.BrickColor = BrickColor.new("White")
- Part22.Rotation = Vector3.new(-90, 0, 0)
- Part22.Anchored = true
- Part22.FormFactor = Enum.FormFactor.Plate
- Part22.Size = Vector3.new(2, 1.20000005, 2)
- Part22.CFrame = CFrame.new(-69.4502411, 15.4996853, -72.2999878, 1, 1.19209261e-07, 1.50995817e-07, -1.50995803e-07, -1.94707212e-07, 1, 1.1920929e-07, -1, -1.94707184e-07)
- Part22.BottomSurface = Enum.SurfaceType.Smooth
- Part22.TopSurface = Enum.SurfaceType.Smooth
- Part22.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part22.Position = Vector3.new(-69.4502411, 15.4996853, -72.2999878)
- Part22.Orientation = Vector3.new(-90, 0, 0)
- Part22.Color = Color3.new(0.94902, 0.952941, 0.952941)
- ClickDetector23.Name = "Click"
- ClickDetector23.Parent = Part22
- BlockMesh24.Parent = Part22
- BlockMesh24.Scale = Vector3.new(0.75, 0.550000012, 0.75)
- BlockMesh24.Scale = Vector3.new(0.75, 0.550000012, 0.75)
- Decal25.Parent = Part22
- Decal25.Texture = "http://www.roblox.com/asset/?id=11344402"
- Decal25.Face = Enum.NormalId.Bottom
- Script26.Name = "Main"
- Script26.Parent = Model19
- table.insert(cors,sandbox(Script26,function()
- local _items = {}
- local door = -1
- -- -1 = Unlocked
- -- 0 = Active
- -- 1 = Locked
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.Decal.Texture="http://www.roblox.com/asset/?id=41444153"
- script.Parent.Button.BrickColor = BrickColor.new("White")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,0,(-0.002*(-d)))
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("White")
- script.Parent.Button.Decal.Texture="http://www.roblox.com/asset/?id=11344402"
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("White")
- script.Parent.Button.Decal.Texture="http://www.roblox.com/asset/?id=7186733"
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part27.Parent = Model3
- Part27.BrickColor = BrickColor.new("Reddish brown")
- Part27.Anchored = true
- Part27.FormFactor = Enum.FormFactor.Symmetric
- Part27.Size = Vector3.new(9, 10, 1)
- Part27.CFrame = CFrame.new(-70.4502563, 15.9996986, -72.5, 1, 1.50995817e-07, -1.19209268e-07, -1.50995803e-07, 1, 1.50995817e-07, 1.1920929e-07, -1.50995803e-07, 1)
- Part27.BottomSurface = Enum.SurfaceType.Smooth
- Part27.TopSurface = Enum.SurfaceType.Smooth
- Part27.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part27.Position = Vector3.new(-70.4502563, 15.9996986, -72.5)
- Part27.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh28.Parent = Part27
- BlockMesh28.Scale = Vector3.new(1, 1, 1.00999999)
- BlockMesh28.Scale = Vector3.new(1, 1, 1.00999999)
- Part29.Parent = Model3
- Part29.BrickColor = BrickColor.new("Reddish brown")
- Part29.Anchored = true
- Part29.FormFactor = Enum.FormFactor.Custom
- Part29.Size = Vector3.new(9, 0.200000003, 1)
- Part29.CFrame = CFrame.new(-61.5502472, 20.9000912, -72.5, 1, 1.50995817e-07, -1.19209268e-07, -1.50995803e-07, 1, 1.50995817e-07, 1.1920929e-07, -1.50995803e-07, 1)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part29.Position = Vector3.new(-61.5502472, 20.9000912, -72.5)
- Part29.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh30.Parent = Part29
- BlockMesh30.Scale = Vector3.new(1, 1, 1.00999999)
- BlockMesh30.Scale = Vector3.new(1, 1, 1.00999999)
- Part31.Parent = Model3
- Part31.BrickColor = BrickColor.new("Reddish brown")
- Part31.Anchored = true
- Part31.FormFactor = Enum.FormFactor.Symmetric
- Part31.Size = Vector3.new(1, 10, 1)
- Part31.CFrame = CFrame.new(-56.4502563, 15.9996986, -72.5, 1, 1.50995817e-07, -1.19209268e-07, -1.50995803e-07, 1, 1.50995817e-07, 1.1920929e-07, -1.50995803e-07, 1)
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part31.Position = Vector3.new(-56.4502563, 15.9996986, -72.5)
- Part31.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh32.Parent = Part31
- BlockMesh32.Scale = Vector3.new(1, 1, 1.00999999)
- BlockMesh32.Scale = Vector3.new(1, 1, 1.00999999)
- Part33.Parent = Model3
- Part33.BrickColor = BrickColor.new("Reddish brown")
- Part33.Anchored = true
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.Size = Vector3.new(1, 10, 1)
- Part33.CFrame = CFrame.new(-56.6502419, 15.9996071, -72.5, 1, 1.43537179e-07, -2.04890938e-07, -1.4353715e-07, 1, 1.50709937e-07, 2.04890966e-07, -1.50709909e-07, 1)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part33.Position = Vector3.new(-56.6502419, 15.9996071, -72.5)
- Part33.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh34.Parent = Part33
- BlockMesh34.Scale = Vector3.new(1, 1, 1.00999999)
- BlockMesh34.Scale = Vector3.new(1, 1, 1.00999999)
- Script35.Name = "Main"
- Script35.Parent = Model3
- table.insert(cors,sandbox(Script35,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,0,(0.075*(-d)))
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script36.Name = "Main1"
- Script36.Parent = Model3
- table.insert(cors,sandbox(Script36,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar1")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,0,(-0.075*(-d)))
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script37.Name = "Main2"
- Script37.Parent = Model3
- table.insert(cors,sandbox(Script37,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar2")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.075*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Model38.Name = "window"
- Model38.Parent = Model2
- Part39.Name = "Button"
- Part39.Parent = Model38
- Part39.BrickColor = BrickColor.new("White")
- Part39.Rotation = Vector3.new(-180, 90, 0)
- Part39.Anchored = true
- Part39.FormFactor = Enum.FormFactor.Plate
- Part39.Size = Vector3.new(1, 1.20000005, 1)
- Part39.CFrame = CFrame.new(-74.3502502, 17.3998489, -55.5, -1.62921467e-07, -1.50995177e-07, 1, -5.24520874e-06, -1, -1.50996044e-07, 1, -5.24520874e-06, 1.62920685e-07)
- Part39.BottomSurface = Enum.SurfaceType.Smooth
- Part39.TopSurface = Enum.SurfaceType.Smooth
- Part39.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part39.Position = Vector3.new(-74.3502502, 17.3998489, -55.5)
- Part39.Orientation = Vector3.new(0, 90, -180)
- Part39.Color = Color3.new(0.94902, 0.952941, 0.952941)
- ClickDetector40.Name = "Click"
- ClickDetector40.Parent = Part39
- BlockMesh41.Parent = Part39
- Decal42.Parent = Part39
- Decal42.Texture = "http://www.roblox.com/asset/?id=38186614"
- Decal42.Face = Enum.NormalId.Back
- Part43.Name = "Part1"
- Part43.Parent = Model38
- Part43.BrickColor = BrickColor.new("Reddish brown")
- Part43.Rotation = Vector3.new(180, 0, -180)
- Part43.Anchored = true
- Part43.FormFactor = Enum.FormFactor.Symmetric
- Part43.Size = Vector3.new(19, 3, 20)
- Part43.CFrame = CFrame.new(-65.4502563, 9.49967766, -63, -1, 1.50995803e-07, 1.19209268e-07, 1.50995788e-07, 1, -1.50995803e-07, -1.1920929e-07, -1.50995788e-07, -1)
- Part43.BottomSurface = Enum.SurfaceType.Smooth
- Part43.TopSurface = Enum.SurfaceType.Smooth
- Part43.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part43.Position = Vector3.new(-65.4502563, 9.49967766, -63)
- Part43.Orientation = Vector3.new(0, 180, 0)
- Part43.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh44.Parent = Part43
- Part45.Name = "Bar"
- Part45.Parent = Model38
- Part45.BrickColor = BrickColor.new("Reddish brown")
- Part45.Rotation = Vector3.new(0, 90, 0)
- Part45.Anchored = true
- Part45.FormFactor = Enum.FormFactor.Symmetric
- Part45.Size = Vector3.new(18, 10, 1)
- Part45.CFrame = CFrame.new(-56.4502563, 16.0000534, -63, 1.19209268e-07, 1.50995817e-07, 1, -1.50995817e-07, 1, -1.50995803e-07, -1, -1.50995803e-07, 1.1920929e-07)
- Part45.BottomSurface = Enum.SurfaceType.Smooth
- Part45.TopSurface = Enum.SurfaceType.Smooth
- Part45.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part45.Position = Vector3.new(-56.4502563, 16.0000534, -63)
- Part45.Orientation = Vector3.new(0, 90, 0)
- Part45.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh46.Parent = Part45
- BlockMesh46.Scale = Vector3.new(1.00999999, 1, 1.00999999)
- BlockMesh46.Scale = Vector3.new(1.00999999, 1, 1.00999999)
- Part47.Name = "Bar"
- Part47.Parent = Model38
- Part47.BrickColor = BrickColor.new("Reddish brown")
- Part47.Anchored = true
- Part47.FormFactor = Enum.FormFactor.Symmetric
- Part47.Size = Vector3.new(18, 10, 1)
- Part47.CFrame = CFrame.new(-64.9502563, 16.0000534, -53.5, 1, 1.50995817e-07, -1.19209268e-07, -1.50995803e-07, 1, 1.50995817e-07, 1.1920929e-07, -1.50995803e-07, 1)
- Part47.BottomSurface = Enum.SurfaceType.Smooth
- Part47.TopSurface = Enum.SurfaceType.Smooth
- Part47.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part47.Position = Vector3.new(-64.9502563, 16.0000534, -53.5)
- Part47.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh48.Parent = Part47
- BlockMesh48.Scale = Vector3.new(1.00999999, 1, 1.00999999)
- BlockMesh48.Scale = Vector3.new(1.00999999, 1, 1.00999999)
- Part49.Name = "Part1"
- Part49.Parent = Model38
- Part49.BrickColor = BrickColor.new("Reddish brown")
- Part49.Rotation = Vector3.new(0, 90, 0)
- Part49.Anchored = true
- Part49.FormFactor = Enum.FormFactor.Symmetric
- Part49.Size = Vector3.new(20, 9, 19)
- Part49.CFrame = CFrame.new(-65.4502563, 25.4998779, -63, 1.19209268e-07, 1.50995817e-07, 1, -1.50995817e-07, 1, -1.50995803e-07, -1, -1.50995803e-07, 1.1920929e-07)
- Part49.BottomSurface = Enum.SurfaceType.Smooth
- Part49.TopSurface = Enum.SurfaceType.Smooth
- Part49.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part49.Position = Vector3.new(-65.4502563, 25.4998779, -63)
- Part49.Orientation = Vector3.new(0, 90, 0)
- Part49.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh50.Parent = Part49
- Part51.Name = "Part1"
- Part51.Parent = Model38
- Part51.BrickColor = BrickColor.new("Institutional white")
- Part51.Reflectance = 0.10000000149012
- Part51.Transparency = 0.40000000596046
- Part51.Rotation = Vector3.new(180, 0, -180)
- Part51.Anchored = true
- Part51.FormFactor = Enum.FormFactor.Custom
- Part51.Size = Vector3.new(17, 6.5, 1)
- Part51.CFrame = CFrame.new(-65.4502563, 17.6348133, -53.5, -1, 1.50995817e-07, 1.19209268e-07, 1.50995803e-07, 1, -1.50995817e-07, -1.1920929e-07, -1.50995803e-07, -1)
- Part51.BottomSurface = Enum.SurfaceType.Smooth
- Part51.TopSurface = Enum.SurfaceType.Smooth
- Part51.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part51.Position = Vector3.new(-65.4502563, 17.6348133, -53.5)
- Part51.Orientation = Vector3.new(0, 180, 0)
- Part51.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh52.Parent = Part51
- BlockMesh52.Offset = Vector3.new(-0.150000006, 0, -0.49000001)
- BlockMesh52.Scale = Vector3.new(1.10000002, 1.10000002, 0)
- BlockMesh52.Scale = Vector3.new(1.10000002, 1.10000002, 0)
- Decal53.Parent = Part51
- Decal53.Texture = "http://www.roblox.com/asset/?id=28557449"
- Part54.Name = "Part1"
- Part54.Parent = Model38
- Part54.BrickColor = BrickColor.new("Institutional white")
- Part54.Reflectance = 0.10000000149012
- Part54.Transparency = 0.40000000596046
- Part54.Rotation = Vector3.new(0, 90, 0)
- Part54.Anchored = true
- Part54.FormFactor = Enum.FormFactor.Custom
- Part54.Size = Vector3.new(19, 6.5, 1)
- Part54.CFrame = CFrame.new(-56.4502563, 17.6348133, -62.5, 1.19209268e-07, 1.50995817e-07, 1, -1.50995817e-07, 1, -1.50995803e-07, -1, -1.50995803e-07, 1.1920929e-07)
- Part54.BottomSurface = Enum.SurfaceType.Smooth
- Part54.TopSurface = Enum.SurfaceType.Smooth
- Part54.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part54.Position = Vector3.new(-56.4502563, 17.6348133, -62.5)
- Part54.Orientation = Vector3.new(0, 90, 0)
- Part54.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh55.Parent = Part54
- BlockMesh55.Offset = Vector3.new(0.200000003, 0, 0.49000001)
- BlockMesh55.Scale = Vector3.new(1.02499998, 1.10000002, 0)
- BlockMesh55.Scale = Vector3.new(1.02499998, 1.10000002, 0)
- Decal56.Parent = Part54
- Decal56.Texture = "http://www.roblox.com/asset/?id=28557449"
- Decal56.Face = Enum.NormalId.Back
- Part57.Parent = Model38
- Part57.BrickColor = BrickColor.new("Reddish brown")
- Part57.Rotation = Vector3.new(0, -90, 0)
- Part57.Anchored = true
- Part57.FormFactor = Enum.FormFactor.Symmetric
- Part57.Size = Vector3.new(19, 10, 1)
- Part57.CFrame = CFrame.new(-74.4502563, 15.9996986, -62.5, -1.19209268e-07, 1.50995817e-07, -1, 1.50995817e-07, 1, 1.50995803e-07, 1, -1.50995803e-07, -1.1920929e-07)
- Part57.BottomSurface = Enum.SurfaceType.Smooth
- Part57.TopSurface = Enum.SurfaceType.Smooth
- Part57.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part57.Position = Vector3.new(-74.4502563, 15.9996986, -62.5)
- Part57.Orientation = Vector3.new(0, -90, 0)
- Part57.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh58.Parent = Part57
- BlockMesh58.Scale = Vector3.new(1, 1, 1.00999999)
- BlockMesh58.Scale = Vector3.new(1, 1, 1.00999999)
- Part59.Parent = Model38
- Part59.Anchored = true
- Part59.FormFactor = Enum.FormFactor.Symmetric
- Part59.Size = Vector3.new(2, 2, 1)
- Part59.CFrame = CFrame.new(-69.4502411, 15.4996853, -72.3999939, 1, 1.50995817e-07, -1.19209268e-07, -1.50995803e-07, 1, 1.50995817e-07, 1.1920929e-07, -1.50995803e-07, 1)
- Part59.BottomSurface = Enum.SurfaceType.Smooth
- Part59.TopSurface = Enum.SurfaceType.Smooth
- Part59.Position = Vector3.new(-69.4502411, 15.4996853, -72.3999939)
- BlockMesh60.Parent = Part59
- BlockMesh60.Scale = Vector3.new(0.899999976, 0.899999976, 0.850000024)
- BlockMesh60.Scale = Vector3.new(0.899999976, 0.899999976, 0.850000024)
- Part61.Parent = Model38
- Part61.BrickColor = BrickColor.new("Institutional white")
- Part61.Rotation = Vector3.new(0, 90, 0)
- Part61.Anchored = true
- Part61.FormFactor = Enum.FormFactor.Symmetric
- Part61.Size = Vector3.new(20, 1, 19)
- Part61.CFrame = CFrame.new(-65.4502563, 30.4998856, -63, 1.19209268e-07, 1.50995817e-07, 1, -1.50995817e-07, 1, -1.50995803e-07, -1, -1.50995803e-07, 1.1920929e-07)
- Part61.BottomSurface = Enum.SurfaceType.Smooth
- Part61.TopSurface = Enum.SurfaceType.Smooth
- Part61.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part61.Position = Vector3.new(-65.4502563, 30.4998856, -63)
- Part61.Orientation = Vector3.new(0, 90, 0)
- Part61.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh62.Parent = Part61
- Part63.Name = "Button1"
- Part63.Parent = Model38
- Part63.BrickColor = BrickColor.new("Bright blue")
- Part63.Rotation = Vector3.new(-90, 0, 180)
- Part63.Anchored = true
- Part63.FormFactor = Enum.FormFactor.Plate
- Part63.Size = Vector3.new(2, 1.20000005, 2)
- Part63.CFrame = CFrame.new(-71.7502518, 15.4997063, -72.3999939, -1, -2.70205078e-07, 1.08455353e-07, 1.08455296e-07, 1.94707226e-07, 1, -2.70205078e-07, 1, -1.94707198e-07)
- Part63.BottomSurface = Enum.SurfaceType.Smooth
- Part63.TopSurface = Enum.SurfaceType.Smooth
- Part63.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part63.Position = Vector3.new(-71.7502518, 15.4997063, -72.3999939)
- Part63.Orientation = Vector3.new(-90, 180, 0)
- Part63.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- ClickDetector64.Name = "Click"
- ClickDetector64.Parent = Part63
- BlockMesh65.Parent = Part63
- BlockMesh65.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- BlockMesh65.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Decal66.Parent = Part63
- Decal66.Texture = "http://www.roblox.com/asset/?id=30473646"
- Decal66.Face = Enum.NormalId.Top
- Script67.Name = "MainP1"
- Script67.Parent = Model38
- table.insert(cors,sandbox(Script67,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Part1")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.208*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script68.Name = "MainB"
- Script68.Parent = Model38
- table.insert(cors,sandbox(Script68,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.208*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script69.Name = "MainP"
- Script69.Parent = Model38
- table.insert(cors,sandbox(Script69,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Part")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.208*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script70.Name = "MainP3"
- Script70.Parent = Model38
- table.insert(cors,sandbox(Script70,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Part3")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.208*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script71.Name = "Main"
- Script71.Parent = Model38
- table.insert(cors,sandbox(Script71,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("White")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.065*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("White")
- script.Parent.Button.Decal.Texture="http://www.roblox.com/asset/?id=38186614"
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("White")
- script.Parent.Button.Decal.Texture="http://www.roblox.com/asset/?id=38186580"
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script72.Name = "MainButton"
- Script72.Parent = Model38
- table.insert(cors,sandbox(Script72,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Button")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(-0.208*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script73.Name = "MainB(2)"
- Script73.Parent = Model38
- table.insert(cors,sandbox(Script73,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent.Parent.FrontDoor:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.208*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script74.Name = "MainB2(3)"
- Script74.Parent = Model38
- table.insert(cors,sandbox(Script74,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent.Parent.FrontDoor:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar2")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,0,(-0.208*(-d)))
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script75.Name = "MainB1(2)"
- Script75.Parent = Model38
- table.insert(cors,sandbox(Script75,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent.Parent.FrontDoor:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar1")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.208*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script76.Name = "MainButton(2)"
- Script76.Parent = Model38
- table.insert(cors,sandbox(Script76,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent.Parent.FrontDoor:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Button")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,0,(-0.208*(-d)))
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script77.Name = "MainP(2)"
- Script77.Parent = Model38
- table.insert(cors,sandbox(Script77,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent.Parent.FrontDoor:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Part")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.208*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script78.Name = "MainB(Lock)"
- Script78.Parent = Model38
- table.insert(cors,sandbox(Script78,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent.Parent.FrontDoor.Lock:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(-0.208*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script79.Name = "MainButton(Lock)"
- Script79.Parent = Model38
- table.insert(cors,sandbox(Script79,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent.Parent.FrontDoor.Lock:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Button")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,0,(0.208*(-d)))
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script80.Name = "MainButton1"
- Script80.Parent = Model38
- table.insert(cors,sandbox(Script80,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Button1")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Parent.Doors.Button.CFrame = script.Parent.Parent.Doors.Button.CFrame * CFrame.new(0, -0.4, 0.1)
- script.Parent.Parent.Doors.Door1.Transparency= 0
- script.Parent.Parent.Doors.Door2.Transparency= 0
- script.Parent.Parent.snow.Transparency= 1
- script.Parent.Parent.snow.CanCollide= false
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,0,(0.208*(-d)))
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- script.Parent.Button1.Decal.Texture="http://www.roblox.com/asset/?id=30473646"
- script.Parent.Parent.Doors.Door1.Transparency= 0
- script.Parent.Parent.Doors.Door2.Transparency= 0
- script.Parent.Parent.Doors.Button.CFrame = script.Parent.Parent.Doors.Button.CFrame * CFrame.new(0, 0.8, -0.1)
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- script.Parent.Parent.Doors.Door1.Transparency= 0
- script.Parent.Parent.Doors.Door2.Transparency= 0
- script.Parent.Button1.Decal.Texture="http://www.roblox.com/asset/?id=19475881"
- script.Parent.Parent.snow.Transparency= 0
- script.Parent.Parent.snow.CanCollide= true
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script81.Name = "MainD"
- Script81.Parent = Model38
- table.insert(cors,sandbox(Script81,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent.Parent.Doors:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Door1")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.458*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Script82.Name = "MainD2"
- Script82.Parent = Model38
- table.insert(cors,sandbox(Script82,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent.Parent.Doors:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Door2")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new(0,(0.458*(-d)),0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- elseif (d == 1) then
- script.Parent.Button1.BrickColor = BrickColor.new("Bright blue")
- end
- door = d
- end
- script.Parent.Button1.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part83.Name = "snow"
- Part83.Parent = Model2
- Part83.BrickColor = BrickColor.new("Institutional white")
- Part83.Transparency = 1
- Part83.Rotation = Vector3.new(0, 90, 0)
- Part83.Anchored = true
- Part83.CanCollide = false
- Part83.FormFactor = Enum.FormFactor.Symmetric
- Part83.Size = Vector3.new(20, 1, 19)
- Part83.CFrame = CFrame.new(-65.4502563, 9.49967766, -63, 1.19209268e-07, 1.50995817e-07, 1, -1.50995817e-07, 1, -1.50995803e-07, -1, -1.50995803e-07, 1.1920929e-07)
- Part83.BottomSurface = Enum.SurfaceType.Smooth
- Part83.TopSurface = Enum.SurfaceType.Smooth
- Part83.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part83.Position = Vector3.new(-65.4502563, 9.49967766, -63)
- Part83.Orientation = Vector3.new(0, 90, 0)
- Part83.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh84.Parent = Part83
- BlockMesh84.Scale = Vector3.new(1, 1, 1.20000005)
- BlockMesh84.Scale = Vector3.new(1, 1, 1.20000005)
- Model85.Name = "Doors"
- Model85.Parent = Model2
- Part86.Name = "Door1"
- Part86.Parent = Model85
- Part86.BrickColor = BrickColor.new("Reddish brown")
- Part86.Rotation = Vector3.new(-180, 0, -180)
- Part86.Anchored = true
- Part86.CanCollide = false
- Part86.FormFactor = Enum.FormFactor.Symmetric
- Part86.Size = Vector3.new(19, 1, 1)
- Part86.CFrame = CFrame.new(-65.5, 10.6007786, -73.5, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part86.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part86.Position = Vector3.new(-65.5, 10.6007786, -73.5)
- Part86.Orientation = Vector3.new(0, 180, 0)
- Part86.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh87.Parent = Part86
- BlockMesh87.Offset = Vector3.new(0, 9.39999962, 0)
- BlockMesh87.Scale = Vector3.new(1, 20, 1)
- BlockMesh87.Scale = Vector3.new(1, 20, 1)
- Part88.Name = "Button"
- Part88.Parent = Model85
- Part88.BrickColor = BrickColor.new("Black")
- Part88.Transparency = 1
- Part88.Anchored = true
- Part88.CanCollide = false
- Part88.Size = Vector3.new(19, 1.20000005, 4)
- Part88.CFrame = CFrame.new(-65.5000305, 9.60012627, -74.1998901, 1, -1.36252481e-06, 3.33714141e-08, 1.36252481e-06, 1, 1.08283755e-08, -3.33714283e-08, -1.08283302e-08, 1)
- Part88.TopSurface = Enum.SurfaceType.Smooth
- Part88.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part88.Position = Vector3.new(-65.5000305, 9.60012627, -74.1998901)
- Part88.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Script89.Parent = Part88
- table.insert(cors,sandbox(Script89,function()
- print("One Way Door Script Loaded")
- Button = script.Parent
- Door1 = script.Parent.Parent.Door1
- Door2 = script.Parent.Parent.Door2
- function onTouched(hit)
- print("Door Hit")
- Door1.Transparency = 0
- Door2.Transparency = 0
- wait(0.1)
- Door1.Transparency = 0.1
- Door2.Transparency = 0.1
- wait(0.1)
- Door1.Transparency = 0.2
- Door2.Transparency = 0.2
- wait(0.1)
- Door1.Transparency = 0.3
- Door2.Transparency = 0.3
- wait(0.1)
- Door1.Transparency = 0.4
- Door2.Transparency = 0.4
- wait(0.1)
- Door1.Transparency = 0.5
- Door2.Transparency = 0.5
- wait(0.1)
- Door1.Transparency = 0.6
- Door2.Transparency = 0.6
- wait(0.1)
- Door1.Transparency = 0.7
- Door2.Transparency = 0.7
- wait(0.1)
- Door1.Transparency = 0.8
- Door2.Transparency = 0.8
- wait(0.1)
- Door1.Transparency = 0.9
- Door2.Transparency = 0.9
- wait(0.1)
- Door1.Transparency = 1
- Door2.Transparency = 1
- wait(5.0)
- Door1.Transparency = 0.9
- Door2.Transparency = 0.9
- wait(0.1)
- Door1.Transparency = 0.8
- Door2.Transparency = 0.8
- wait(0.1)
- Door1.Transparency = 0.7
- Door2.Transparency = 0.7
- wait(0.1)
- Door1.Transparency = 0.6
- Door2.Transparency = 0.6
- wait(0.1)
- Door1.Transparency = 0.5
- Door2.Transparency = 0.5
- wait(0.1)
- Door1.Transparency = 0.4
- Door2.Transparency = 0.4
- wait(0.1)
- Door1.Transparency = 0.3
- Door2.Transparency = 0.3
- wait(0.1)
- Door1.Transparency = 0.2
- Door2.Transparency = 0.2
- wait(0.1)
- Door1.Transparency = 0.1
- Door2.Transparency = 0.1
- wait(0.1)
- Door1.Transparency = 0
- Door2.Transparency = 0
- end
- script.Parent.Touched:connect(onTouched)
- end))
- VelocityMotor90.Name = "4D Being"
- VelocityMotor90.Parent = Model85
- Part91.Name = "Door2"
- Part91.Parent = Model85
- Part91.BrickColor = BrickColor.new("Institutional white")
- Part91.Rotation = Vector3.new(-180, 0, -180)
- Part91.Anchored = true
- Part91.CanCollide = false
- Part91.FormFactor = Enum.FormFactor.Symmetric
- Part91.Size = Vector3.new(19, 1, 1)
- Part91.CFrame = CFrame.new(-65.4502563, 30.4998856, -73.5, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part91.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part91.Position = Vector3.new(-65.4502563, 30.4998856, -73.5)
- Part91.Orientation = Vector3.new(0, 180, 0)
- Part91.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh92.Parent = Part91
- Part93.Parent = Model1
- Part93.BrickColor = BrickColor.new("Reddish brown")
- Part93.Rotation = Vector3.new(0, -90, 0)
- Part93.Anchored = true
- Part93.FormFactor = Enum.FormFactor.Symmetric
- Part93.Size = Vector3.new(11, 10, 13)
- Part93.CFrame = CFrame.new(-81.4502563, 14.9997063, -58.5, -1.19209268e-07, 1.50995817e-07, -1, 1.50995817e-07, 1, 1.50995803e-07, 1, -1.50995803e-07, -1.1920929e-07)
- Part93.BottomSurface = Enum.SurfaceType.Smooth
- Part93.TopSurface = Enum.SurfaceType.Smooth
- Part93.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part93.Position = Vector3.new(-81.4502563, 14.9997063, -58.5)
- Part93.Orientation = Vector3.new(0, -90, 0)
- Part93.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh94.Parent = Part93
- BlockMesh94.Scale = Vector3.new(1, 1, 1.00999999)
- BlockMesh94.Scale = Vector3.new(1, 1, 1.00999999)
- Part95.Parent = Model1
- Part95.BrickColor = BrickColor.new("Institutional white")
- Part95.Rotation = Vector3.new(0, 90, 0)
- Part95.Anchored = true
- Part95.FormFactor = Enum.FormFactor.Symmetric
- Part95.Size = Vector3.new(11, 1, 13)
- Part95.CFrame = CFrame.new(-81.4502563, 20.4998608, -58.5, 1.19209268e-07, 1.50995817e-07, 1, -1.50995817e-07, 1, -1.50995803e-07, -1, -1.50995803e-07, 1.1920929e-07)
- Part95.BottomSurface = Enum.SurfaceType.Smooth
- Part95.TopSurface = Enum.SurfaceType.Smooth
- Part95.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part95.Position = Vector3.new(-81.4502563, 20.4998608, -58.5)
- Part95.Orientation = Vector3.new(0, 90, 0)
- Part95.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh96.Parent = Part95
- Part97.Parent = Model1
- Part97.BrickColor = BrickColor.new("Reddish brown")
- Part97.Rotation = Vector3.new(0, -90, 0)
- Part97.Anchored = true
- Part97.FormFactor = Enum.FormFactor.Symmetric
- Part97.Size = Vector3.new(6, 4, 10)
- Part97.CFrame = CFrame.new(-80, 12.0007801, -67, 2.98023224e-08, 1.58753366e-09, -1, 3.60566297e-08, 1.00000012, -8.8817842e-16, 1, -3.58955994e-08, -5.96046448e-08)
- Part97.BottomSurface = Enum.SurfaceType.Smooth
- Part97.TopSurface = Enum.SurfaceType.Smooth
- Part97.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part97.Position = Vector3.new(-80, 12.0007801, -67)
- Part97.Orientation = Vector3.new(0, -90, 0)
- Part97.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh98.Parent = Part97
- BlockMesh98.Scale = Vector3.new(1, 1, 1.00999999)
- BlockMesh98.Scale = Vector3.new(1, 1, 1.00999999)
- Part99.Parent = Model1
- Part99.BrickColor = BrickColor.new("Institutional white")
- Part99.Rotation = Vector3.new(0, 90, 0)
- Part99.Anchored = true
- Part99.FormFactor = Enum.FormFactor.Symmetric
- Part99.Size = Vector3.new(6, 1, 10)
- Part99.CFrame = CFrame.new(-80, 14.5007801, -67, 1.19209268e-07, 1.50995817e-07, 1, -1.50995817e-07, 1, -1.50995803e-07, -1, -1.50995803e-07, 1.1920929e-07)
- Part99.BottomSurface = Enum.SurfaceType.Smooth
- Part99.TopSurface = Enum.SurfaceType.Smooth
- Part99.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part99.Position = Vector3.new(-80, 14.5007801, -67)
- Part99.Orientation = Vector3.new(0, 90, 0)
- Part99.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh100.Parent = Part99
- Part101.Parent = Model1
- Part101.BrickColor = BrickColor.new("Reddish brown")
- Part101.Rotation = Vector3.new(0, 0, -180)
- Part101.Anchored = true
- Part101.FormFactor = Enum.FormFactor.Symmetric
- Part101.Size = Vector3.new(41, 5, 4)
- Part101.CFrame = CFrame.new(-80.5, 2.50010204, -80.0000305, -1, 2.05834453e-06, -7.40334606e-13, -2.05834453e-06, -1, 1.26295927e-05, 2.52557177e-11, 1.26295927e-05, 1)
- Part101.BottomSurface = Enum.SurfaceType.Smooth
- Part101.TopSurface = Enum.SurfaceType.Smooth
- Part101.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part101.Position = Vector3.new(-80.5, 2.50010204, -80.0000305)
- Part101.Orientation = Vector3.new(0, 0, -180)
- Part101.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh102.Parent = Part101
- Part103.Parent = Model1
- Part103.BrickColor = BrickColor.new("Institutional white")
- Part103.Rotation = Vector3.new(0, 0, 180)
- Part103.Anchored = true
- Part103.FormFactor = Enum.FormFactor.Symmetric
- Part103.Size = Vector3.new(19, 1, 11)
- Part103.CFrame = CFrame.new(-65.5, 9.50076675, -47.5, -1, -0, 0, -0, -1, 0, -0, -0, 1)
- Part103.BottomSurface = Enum.SurfaceType.Smooth
- Part103.TopSurface = Enum.SurfaceType.Smooth
- Part103.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part103.Position = Vector3.new(-65.5, 9.50076675, -47.5)
- Part103.Orientation = Vector3.new(0, 0, -180)
- Part103.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh104.Parent = Part103
- Part105.Parent = Model1
- Part105.BrickColor = BrickColor.new("Reddish brown")
- Part105.Rotation = Vector3.new(0, 0, 180)
- Part105.Anchored = true
- Part105.FormFactor = Enum.FormFactor.Symmetric
- Part105.Size = Vector3.new(19, 9, 11)
- Part105.CFrame = CFrame.new(-65.5, 4.50085258, -47.5, -1, -0, 0, -0, -1, 0, -0, -0, 1)
- Part105.BottomSurface = Enum.SurfaceType.Smooth
- Part105.TopSurface = Enum.SurfaceType.Smooth
- Part105.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part105.Position = Vector3.new(-65.5, 4.50085258, -47.5)
- Part105.Orientation = Vector3.new(0, 0, -180)
- Part105.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh106.Parent = Part105
- Part107.Parent = Model1
- Part107.BrickColor = BrickColor.new("Institutional white")
- Part107.Rotation = Vector3.new(0, 90, 0)
- Part107.Anchored = true
- Part107.FormFactor = Enum.FormFactor.Symmetric
- Part107.Size = Vector3.new(36, 1, 19)
- Part107.CFrame = CFrame.new(-84.5, 9.50076675, -60, -0, 0, 1, -0, 1, 0, -1, 0, 0)
- Part107.BottomSurface = Enum.SurfaceType.Smooth
- Part107.TopSurface = Enum.SurfaceType.Smooth
- Part107.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part107.Position = Vector3.new(-84.5, 9.50076675, -60)
- Part107.Orientation = Vector3.new(0, 90, 0)
- Part107.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh108.Parent = Part107
- Part109.Parent = Model1
- Part109.BrickColor = BrickColor.new("Reddish brown")
- Part109.Rotation = Vector3.new(180, -90, 0)
- Part109.Anchored = true
- Part109.FormFactor = Enum.FormFactor.Symmetric
- Part109.Size = Vector3.new(36, 9, 19)
- Part109.CFrame = CFrame.new(-84.5, 4.50085258, -60, -0, -0, -1, -0, -1, -0, -1, -0, -0)
- Part109.BottomSurface = Enum.SurfaceType.Smooth
- Part109.TopSurface = Enum.SurfaceType.Smooth
- Part109.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part109.Position = Vector3.new(-84.5, 4.50085258, -60)
- Part109.Orientation = Vector3.new(0, -90, -180)
- Part109.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh110.Parent = Part109
- Part111.Parent = Model1
- Part111.BrickColor = BrickColor.new("Reddish brown")
- Part111.Rotation = Vector3.new(180, 90, 0)
- Part111.Anchored = true
- Part111.FormFactor = Enum.FormFactor.Symmetric
- Part111.Size = Vector3.new(36, 9, 11)
- Part111.CFrame = CFrame.new(-50.5, 4.50085258, -60, 0, -0, 1, 0, -1, 0, 1, -0, 0)
- Part111.BottomSurface = Enum.SurfaceType.Smooth
- Part111.TopSurface = Enum.SurfaceType.Smooth
- Part111.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part111.Position = Vector3.new(-50.5, 4.50085258, -60)
- Part111.Orientation = Vector3.new(0, 90, 180)
- Part111.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh112.Parent = Part111
- Part113.Parent = Model1
- Part113.BrickColor = BrickColor.new("Institutional white")
- Part113.Rotation = Vector3.new(180, 90, 0)
- Part113.Anchored = true
- Part113.FormFactor = Enum.FormFactor.Symmetric
- Part113.Size = Vector3.new(36, 1, 11)
- Part113.CFrame = CFrame.new(-50.5, 9.50076675, -60, 0, -0, 1, 0, -1, 0, 1, -0, 0)
- Part113.BottomSurface = Enum.SurfaceType.Smooth
- Part113.TopSurface = Enum.SurfaceType.Smooth
- Part113.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part113.Position = Vector3.new(-50.5, 9.50076675, -60)
- Part113.Orientation = Vector3.new(0, 90, 180)
- Part113.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh114.Parent = Part113
- Part115.Parent = Model1
- Part115.BrickColor = BrickColor.new("Institutional white")
- Part115.Rotation = Vector3.new(180, 90, 0)
- Part115.Anchored = true
- Part115.FormFactor = Enum.FormFactor.Symmetric
- Part115.Size = Vector3.new(5, 1, 19)
- Part115.CFrame = CFrame.new(-65.5, 9.50076675, -75.5, 0, -0, 1, 0, -1, 0, 1, -0, 0)
- Part115.BottomSurface = Enum.SurfaceType.Smooth
- Part115.TopSurface = Enum.SurfaceType.Smooth
- Part115.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part115.Position = Vector3.new(-65.5, 9.50076675, -75.5)
- Part115.Orientation = Vector3.new(0, 90, 180)
- Part115.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh116.Parent = Part115
- Part117.Parent = Model1
- Part117.BrickColor = BrickColor.new("Institutional white")
- Part117.Rotation = Vector3.new(180, -90, 0)
- Part117.Anchored = true
- Part117.FormFactor = Enum.FormFactor.Symmetric
- Part117.Size = Vector3.new(28, 1, 14)
- Part117.CFrame = CFrame.new(-101, 6.50084591, -64, -0, -0, -1, -0, -1, -0, -1, -0, -0)
- Part117.BottomSurface = Enum.SurfaceType.Smooth
- Part117.TopSurface = Enum.SurfaceType.Smooth
- Part117.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part117.Position = Vector3.new(-101, 6.50084591, -64)
- Part117.Orientation = Vector3.new(0, -90, -180)
- Part117.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh118.Parent = Part117
- Part119.Parent = Model1
- Part119.BrickColor = BrickColor.new("Reddish brown")
- Part119.Rotation = Vector3.new(180, -90, 0)
- Part119.Anchored = true
- Part119.FormFactor = Enum.FormFactor.Symmetric
- Part119.Size = Vector3.new(28, 6, 14)
- Part119.CFrame = CFrame.new(-101, 3.00090694, -64, -0, -0, -1, -0, -1, -0, -1, -0, -0)
- Part119.BottomSurface = Enum.SurfaceType.Smooth
- Part119.TopSurface = Enum.SurfaceType.Smooth
- Part119.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part119.Position = Vector3.new(-101, 3.00090694, -64)
- Part119.Orientation = Vector3.new(0, -90, -180)
- Part119.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh120.Parent = Part119
- Part121.Parent = Model1
- Part121.BrickColor = BrickColor.new("Reddish brown")
- Part121.Rotation = Vector3.new(180, 90, 0)
- Part121.Anchored = true
- Part121.FormFactor = Enum.FormFactor.Symmetric
- Part121.Size = Vector3.new(5, 9, 19)
- Part121.CFrame = CFrame.new(-65.5, 4.50085258, -75.5, 0, -0, 1, 0, -1, 0, 1, -0, 0)
- Part121.BottomSurface = Enum.SurfaceType.Smooth
- Part121.TopSurface = Enum.SurfaceType.Smooth
- Part121.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part121.Position = Vector3.new(-65.5, 4.50085258, -75.5)
- Part121.Orientation = Vector3.new(0, 90, 180)
- Part121.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh122.Parent = Part121
- Part123.Parent = Model1
- Part123.BrickColor = BrickColor.new("Institutional white")
- Part123.Rotation = Vector3.new(180, -90, 0)
- Part123.Anchored = true
- Part123.FormFactor = Enum.FormFactor.Symmetric
- Part123.Size = Vector3.new(4, 1, 41)
- Part123.CFrame = CFrame.new(-80.5, 5.50085449, -80, -0, -0, -1, -0, -1, -0, -1, -0, -0)
- Part123.BottomSurface = Enum.SurfaceType.Smooth
- Part123.TopSurface = Enum.SurfaceType.Smooth
- Part123.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part123.Position = Vector3.new(-80.5, 5.50085449, -80)
- Part123.Orientation = Vector3.new(0, -90, -180)
- Part123.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh124.Parent = Part123
- 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