Advertisement
ttyyuu12345

Big Jail

Sep 1st, 2016
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.19 KB | None | 0 0
  1. --Created with ttyyuu12345's compiler
  2. --ttyyuu12345 is not responsible for damages caused to your game
  3. --This plugin does not remove things
  4. --ttyyuu12345 cannot be held resonsible for manual deletion for the purpose of testing
  5. --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
  6. --Thank you for using my plugin and enjoy :)
  7. --It is free to use
  8. --If you use this plugin to create your own, please give me credit
  9. --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
  10. --Errors: RotateP
  11. Create = function(itemClass,tabl)
  12. local item = Instance.new(itemClass)
  13. for i,v in pairs(tabl) do
  14. local a,b = ypcall(function() return item[i] end)
  15. if a then
  16. item[i] = tabl[i]
  17. end
  18. end
  19. return item
  20. end
  21. function runDummyScript(f,scri)
  22. local oldenv = getfenv(f)
  23. local newenv = setmetatable({}, {
  24. __index = function(_, k)
  25. if k:lower() == 'script' then
  26. return scri
  27. else
  28. return oldenv[k]
  29. end
  30. end
  31. })
  32. setfenv(f, newenv)
  33. ypcall(function() f() end)
  34. end
  35. cors = {}
  36. mas = Instance.new("Model",game:GetService("Lighting"))
  37. mas.Name = "CompiledModel"
  38. o1 = Create("Model",{
  39. ["Name"] = "Jail",
  40. ["Parent"] = mas,
  41. })
  42. o2 = Create("Part",{
  43. ["Parent"] = o1,
  44. ["BrickColor"] = BrickColor.new("Medium blue"),
  45. ["Position"] = Vector3.new(-5.5, 0.500034988, 91.5),
  46. ["CFrame"] = CFrame.new(-5.5, 0.500034988, 91.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  47. ["FormFactor"] = Enum.FormFactor.Symmetric,
  48. ["Size"] = Vector3.new(101, 1, 111),
  49. ["BackSurface"] = Enum.SurfaceType.Weld,
  50. ["BottomSurface"] = Enum.SurfaceType.Weld,
  51. ["FrontSurface"] = Enum.SurfaceType.Weld,
  52. ["LeftSurface"] = Enum.SurfaceType.Weld,
  53. ["RightSurface"] = Enum.SurfaceType.Weld,
  54. ["TopSurface"] = Enum.SurfaceType.Weld,
  55. ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
  56. })
  57. o3 = Create("Part",{
  58. ["Parent"] = o1,
  59. ["BrickColor"] = BrickColor.new("Medium blue"),
  60. ["Position"] = Vector3.new(-5.5, 11.5000114, 146.5),
  61. ["CFrame"] = CFrame.new(-5.5, 11.5000114, 146.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  62. ["FormFactor"] = Enum.FormFactor.Symmetric,
  63. ["Size"] = Vector3.new(101, 21, 1),
  64. ["BackSurface"] = Enum.SurfaceType.Weld,
  65. ["BottomSurface"] = Enum.SurfaceType.Weld,
  66. ["FrontSurface"] = Enum.SurfaceType.Weld,
  67. ["LeftSurface"] = Enum.SurfaceType.Weld,
  68. ["RightSurface"] = Enum.SurfaceType.Weld,
  69. ["TopSurface"] = Enum.SurfaceType.Weld,
  70. ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
  71. })
  72. o4 = Create("Part",{
  73. ["Parent"] = o1,
  74. ["BrickColor"] = BrickColor.new("Medium blue"),
  75. ["Position"] = Vector3.new(-5.5, 11.5000124, 36.5),
  76. ["CFrame"] = CFrame.new(-5.5, 11.5000124, 36.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  77. ["FormFactor"] = Enum.FormFactor.Symmetric,
  78. ["Size"] = Vector3.new(101, 21, 1),
  79. ["BackSurface"] = Enum.SurfaceType.Weld,
  80. ["BottomSurface"] = Enum.SurfaceType.Weld,
  81. ["FrontSurface"] = Enum.SurfaceType.Weld,
  82. ["LeftSurface"] = Enum.SurfaceType.Weld,
  83. ["RightSurface"] = Enum.SurfaceType.Weld,
  84. ["TopSurface"] = Enum.SurfaceType.Weld,
  85. ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
  86. })
  87. o5 = Create("Part",{
  88. ["Parent"] = o1,
  89. ["BrickColor"] = BrickColor.new("Medium blue"),
  90. ["Position"] = Vector3.new(-55.5, 11.5000114, 91.5),
  91. ["Rotation"] = Vector3.new(-0, 90, 0),
  92. ["CFrame"] = CFrame.new(-55.5, 11.5000114, 91.5, -0, 0, 1, -0, 1, 0, -1, 0, 0),
  93. ["FormFactor"] = Enum.FormFactor.Symmetric,
  94. ["Size"] = Vector3.new(109, 21, 1),
  95. ["BackSurface"] = Enum.SurfaceType.Weld,
  96. ["BottomSurface"] = Enum.SurfaceType.Weld,
  97. ["FrontSurface"] = Enum.SurfaceType.Weld,
  98. ["LeftSurface"] = Enum.SurfaceType.Weld,
  99. ["RightSurface"] = Enum.SurfaceType.Weld,
  100. ["TopSurface"] = Enum.SurfaceType.Weld,
  101. ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
  102. })
  103. o6 = Create("Part",{
  104. ["Parent"] = o1,
  105. ["BrickColor"] = BrickColor.new("Medium blue"),
  106. ["Position"] = Vector3.new(44.5, 11.5000124, 95.5),
  107. ["Rotation"] = Vector3.new(-0, 90, 0),
  108. ["CFrame"] = CFrame.new(44.5, 11.5000124, 95.5, -0, 0, 1, -0, 1, 0, -1, 0, 0),
  109. ["FormFactor"] = Enum.FormFactor.Symmetric,
  110. ["Size"] = Vector3.new(101, 21, 1),
  111. ["BackSurface"] = Enum.SurfaceType.Weld,
  112. ["BottomSurface"] = Enum.SurfaceType.Weld,
  113. ["FrontSurface"] = Enum.SurfaceType.Weld,
  114. ["LeftSurface"] = Enum.SurfaceType.Weld,
  115. ["RightSurface"] = Enum.SurfaceType.Weld,
  116. ["TopSurface"] = Enum.SurfaceType.Weld,
  117. ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
  118. })
  119. o7 = Create("Part",{
  120. ["Parent"] = o1,
  121. ["BrickColor"] = BrickColor.new("Medium blue"),
  122. ["Position"] = Vector3.new(44.5, 15.5000114, 41),
  123. ["Rotation"] = Vector3.new(-0, 90, 0),
  124. ["CFrame"] = CFrame.new(44.5, 15.5000114, 41, -0, 0, 1, -0, 1, 0, -1, 0, 0),
  125. ["FormFactor"] = Enum.FormFactor.Symmetric,
  126. ["Size"] = Vector3.new(8, 13, 1),
  127. ["BackSurface"] = Enum.SurfaceType.Weld,
  128. ["BottomSurface"] = Enum.SurfaceType.Weld,
  129. ["FrontSurface"] = Enum.SurfaceType.Weld,
  130. ["LeftSurface"] = Enum.SurfaceType.Weld,
  131. ["RightSurface"] = Enum.SurfaceType.Weld,
  132. ["TopSurface"] = Enum.SurfaceType.Weld,
  133. ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
  134. })
  135. o8 = Create("Model",{
  136. ["Name"] = "door of jail",
  137. ["Parent"] = o1,
  138. })
  139. o9 = Create("Part",{
  140. ["Name"] = "Close",
  141. ["Parent"] = o8,
  142. ["BrickColor"] = BrickColor.new("Bright red"),
  143. ["Position"] = Vector3.new(45.2000008, 5.50003004, 45.5),
  144. ["Rotation"] = Vector3.new(90, 0, 90),
  145. ["Anchored"] = true,
  146. ["CFrame"] = CFrame.new(45.2000008, 5.50003004, 45.5, 0, -1, 0, 0, 0, -1, 1, 0, 0),
  147. ["FormFactor"] = Enum.FormFactor.Plate,
  148. ["Size"] = Vector3.new(1, 0.400000006, 1),
  149. ["BackSurface"] = Enum.SurfaceType.Weld,
  150. ["BottomSurface"] = Enum.SurfaceType.Weld,
  151. ["FrontSurface"] = Enum.SurfaceType.Weld,
  152. ["LeftSurface"] = Enum.SurfaceType.Weld,
  153. ["RightSurface"] = Enum.SurfaceType.Weld,
  154. ["TopSurface"] = Enum.SurfaceType.Weld,
  155. ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
  156. })
  157. o10 = Create("ClickDetector",{
  158. ["Parent"] = o9,
  159. })
  160. o11 = Create("Script",{
  161. ["Parent"] = o9,
  162. })
  163. table.insert(cors,coroutine.create(function()
  164. wait()
  165. runDummyScript(function()
  166. function onClicked()
  167. script.Parent.Parent.Door.CanCollide = true
  168. script.Parent.Parent.Door.Transparency = 0.4
  169. end
  170. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  171. end,o11)
  172. end))
  173. o12 = Create("Part",{
  174. ["Name"] = "Door",
  175. ["Parent"] = o8,
  176. ["BrickColor"] = BrickColor.new("Black"),
  177. ["Transparency"] = 1,
  178. ["Position"] = Vector3.new(44.5, 5.00003052, 41),
  179. ["Rotation"] = Vector3.new(-180, 0, -0),
  180. ["CFrame"] = CFrame.new(44.5, 5.00003052, 41, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  181. ["CanCollide"] = false,
  182. ["FormFactor"] = Enum.FormFactor.Symmetric,
  183. ["Size"] = Vector3.new(1, 8, 8),
  184. ["BackSurface"] = Enum.SurfaceType.Weld,
  185. ["BottomSurface"] = Enum.SurfaceType.Weld,
  186. ["FrontSurface"] = Enum.SurfaceType.Weld,
  187. ["LeftSurface"] = Enum.SurfaceType.Weld,
  188. ["RightSurface"] = Enum.SurfaceType.Weld,
  189. ["TopSurface"] = Enum.SurfaceType.Weld,
  190. ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
  191. })
  192. o13 = Create("Part",{
  193. ["Name"] = "Open",
  194. ["Parent"] = o8,
  195. ["BrickColor"] = BrickColor.new("Earth green"),
  196. ["Position"] = Vector3.new(45.2000008, 5.50003004, 36.5),
  197. ["Rotation"] = Vector3.new(-90, 2.50447806e-006, -90),
  198. ["Anchored"] = true,
  199. ["CFrame"] = CFrame.new(45.2000008, 5.50003004, 36.5, 0, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 0.99999994, 0, 0),
  200. ["FormFactor"] = Enum.FormFactor.Plate,
  201. ["Size"] = Vector3.new(1, 0.400000006, 1),
  202. ["BackSurface"] = Enum.SurfaceType.Weld,
  203. ["BottomSurface"] = Enum.SurfaceType.Weld,
  204. ["FrontSurface"] = Enum.SurfaceType.Weld,
  205. ["LeftSurface"] = Enum.SurfaceType.Weld,
  206. ["RightSurface"] = Enum.SurfaceType.Weld,
  207. ["TopSurface"] = Enum.SurfaceType.Weld,
  208. ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
  209. })
  210. o15 = Create("ClickDetector",{
  211. ["Parent"] = o13,
  212. })
  213. o16 = Create("Script",{
  214. ["Parent"] = o13,
  215. })
  216. table.insert(cors,coroutine.create(function()
  217. wait()
  218. runDummyScript(function()
  219. function onClicked()
  220. script.Parent.Parent.Door.CanCollide = false
  221. script.Parent.Parent.Door.Transparency = 1
  222. end
  223. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  224. end,o16)
  225. end))
  226. o17 = Create("Part",{
  227. ["Parent"] = o1,
  228. ["BrickColor"] = BrickColor.new("Medium blue"),
  229. ["Position"] = Vector3.new(-5.5, 22.5000191, 91.5),
  230. ["CFrame"] = CFrame.new(-5.5, 22.5000191, 91.5, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  231. ["FormFactor"] = Enum.FormFactor.Symmetric,
  232. ["Size"] = Vector3.new(101, 1, 111),
  233. ["BackSurface"] = Enum.SurfaceType.Weld,
  234. ["BottomSurface"] = Enum.SurfaceType.Weld,
  235. ["FrontSurface"] = Enum.SurfaceType.Weld,
  236. ["LeftSurface"] = Enum.SurfaceType.Weld,
  237. ["RightSurface"] = Enum.SurfaceType.Weld,
  238. ["TopSurface"] = Enum.SurfaceType.Weld,
  239. ["Color"] = Color3.new(0.431373, 0.6, 0.792157),
  240. })
  241. o18 = Create("Model",{
  242. ["Parent"] = o1,
  243. })
  244. o19 = Create("Part",{
  245. ["Parent"] = o18,
  246. ["BrickColor"] = BrickColor.new("Bright blue"),
  247. ["Position"] = Vector3.new(-35, 1.50003505, 129.5),
  248. ["Rotation"] = Vector3.new(180, 90, 0),
  249. ["CFrame"] = CFrame.new(-35, 1.50003505, 129.5, 0, 0, 1, 0, -1, 0, 1, 0, 0),
  250. ["FormFactor"] = Enum.FormFactor.Symmetric,
  251. ["Size"] = Vector3.new(31, 1, 38),
  252. ["BackSurface"] = Enum.SurfaceType.Weld,
  253. ["BottomSurface"] = Enum.SurfaceType.Weld,
  254. ["FrontSurface"] = Enum.SurfaceType.Weld,
  255. ["LeftSurface"] = Enum.SurfaceType.Weld,
  256. ["RightSurface"] = Enum.SurfaceType.Weld,
  257. ["TopSurface"] = Enum.SurfaceType.Weld,
  258. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  259. })
  260. o20 = Create("Part",{
  261. ["Parent"] = o18,
  262. ["BrickColor"] = BrickColor.new("Bright blue"),
  263. ["Position"] = Vector3.new(-16.5, 9.00002003, 129.5),
  264. ["Rotation"] = Vector3.new(180, 90, 0),
  265. ["Anchored"] = true,
  266. ["CFrame"] = CFrame.new(-16.5, 9.00002003, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
  267. ["FormFactor"] = Enum.FormFactor.Symmetric,
  268. ["Size"] = Vector3.new(31, 14, 1),
  269. ["BackSurface"] = Enum.SurfaceType.Weld,
  270. ["BottomSurface"] = Enum.SurfaceType.Weld,
  271. ["FrontSurface"] = Enum.SurfaceType.Weld,
  272. ["LeftSurface"] = Enum.SurfaceType.Weld,
  273. ["RightSurface"] = Enum.SurfaceType.Weld,
  274. ["TopSurface"] = Enum.SurfaceType.Weld,
  275. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  276. })
  277. o21 = Create("Part",{
  278. ["Parent"] = o18,
  279. ["BrickColor"] = BrickColor.new("Bright blue"),
  280. ["Position"] = Vector3.new(-35, 9.00002003, 144.5),
  281. ["Rotation"] = Vector3.new(180, -0, 0),
  282. ["Anchored"] = true,
  283. ["CFrame"] = CFrame.new(-35, 9.00002003, 144.5, 1, -0, -0, 0, -1, -0, 0, -0, -1),
  284. ["FormFactor"] = Enum.FormFactor.Symmetric,
  285. ["Size"] = Vector3.new(36, 14, 1),
  286. ["BackSurface"] = Enum.SurfaceType.Weld,
  287. ["BottomSurface"] = Enum.SurfaceType.Weld,
  288. ["FrontSurface"] = Enum.SurfaceType.Weld,
  289. ["LeftSurface"] = Enum.SurfaceType.Weld,
  290. ["RightSurface"] = Enum.SurfaceType.Weld,
  291. ["TopSurface"] = Enum.SurfaceType.Weld,
  292. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  293. })
  294. o22 = Create("Part",{
  295. ["Parent"] = o18,
  296. ["BrickColor"] = BrickColor.new("Bright blue"),
  297. ["Position"] = Vector3.new(-53.5, 9.00002003, 129.5),
  298. ["Rotation"] = Vector3.new(180, 90, 0),
  299. ["Anchored"] = true,
  300. ["CFrame"] = CFrame.new(-53.5, 9.00002003, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
  301. ["FormFactor"] = Enum.FormFactor.Symmetric,
  302. ["Size"] = Vector3.new(31, 14, 1),
  303. ["BackSurface"] = Enum.SurfaceType.Weld,
  304. ["BottomSurface"] = Enum.SurfaceType.Weld,
  305. ["FrontSurface"] = Enum.SurfaceType.Weld,
  306. ["LeftSurface"] = Enum.SurfaceType.Weld,
  307. ["RightSurface"] = Enum.SurfaceType.Weld,
  308. ["TopSurface"] = Enum.SurfaceType.Weld,
  309. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  310. })
  311. o23 = Create("Part",{
  312. ["Parent"] = o18,
  313. ["BrickColor"] = BrickColor.new("Bright blue"),
  314. ["Position"] = Vector3.new(-23.5, 9.00002003, 114.5),
  315. ["Rotation"] = Vector3.new(-90, 0, -90),
  316. ["Anchored"] = true,
  317. ["CFrame"] = CFrame.new(-23.5, 9.00002003, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  318. ["FormFactor"] = Enum.FormFactor.Symmetric,
  319. ["Size"] = Vector3.new(1, 13, 14),
  320. ["BackSurface"] = Enum.SurfaceType.Weld,
  321. ["BottomSurface"] = Enum.SurfaceType.Weld,
  322. ["FrontSurface"] = Enum.SurfaceType.Weld,
  323. ["LeftSurface"] = Enum.SurfaceType.Weld,
  324. ["RightSurface"] = Enum.SurfaceType.Weld,
  325. ["TopSurface"] = Enum.SurfaceType.Weld,
  326. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  327. })
  328. o24 = Create("Part",{
  329. ["Parent"] = o18,
  330. ["BrickColor"] = BrickColor.new("Bright blue"),
  331. ["Position"] = Vector3.new(-46, 9.00002003, 114.5),
  332. ["Rotation"] = Vector3.new(-90, 0, -90),
  333. ["Anchored"] = true,
  334. ["CFrame"] = CFrame.new(-46, 9.00002003, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  335. ["FormFactor"] = Enum.FormFactor.Symmetric,
  336. ["Size"] = Vector3.new(1, 14, 14),
  337. ["BackSurface"] = Enum.SurfaceType.Weld,
  338. ["BottomSurface"] = Enum.SurfaceType.Weld,
  339. ["FrontSurface"] = Enum.SurfaceType.Weld,
  340. ["LeftSurface"] = Enum.SurfaceType.Weld,
  341. ["RightSurface"] = Enum.SurfaceType.Weld,
  342. ["TopSurface"] = Enum.SurfaceType.Weld,
  343. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  344. })
  345. o25 = Create("Part",{
  346. ["Parent"] = o18,
  347. ["BrickColor"] = BrickColor.new("Bright blue"),
  348. ["Position"] = Vector3.new(-30.5, 6.00003004, 114.5),
  349. ["Rotation"] = Vector3.new(-90, 0, -90),
  350. ["Anchored"] = true,
  351. ["CFrame"] = CFrame.new(-30.5, 6.00003004, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  352. ["FormFactor"] = Enum.FormFactor.Symmetric,
  353. ["Size"] = Vector3.new(1, 1, 8),
  354. ["BackSurface"] = Enum.SurfaceType.Weld,
  355. ["BottomSurface"] = Enum.SurfaceType.Weld,
  356. ["FrontSurface"] = Enum.SurfaceType.Weld,
  357. ["LeftSurface"] = Enum.SurfaceType.Weld,
  358. ["RightSurface"] = Enum.SurfaceType.Weld,
  359. ["TopSurface"] = Enum.SurfaceType.Weld,
  360. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  361. })
  362. o26 = Create("Part",{
  363. ["Parent"] = o18,
  364. ["BrickColor"] = BrickColor.new("Bright blue"),
  365. ["Position"] = Vector3.new(-38.5, 6.00003004, 114.5),
  366. ["Rotation"] = Vector3.new(-90, 0, -90),
  367. ["Anchored"] = true,
  368. ["CFrame"] = CFrame.new(-38.5, 6.00003004, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  369. ["FormFactor"] = Enum.FormFactor.Symmetric,
  370. ["Size"] = Vector3.new(1, 1, 8),
  371. ["BackSurface"] = Enum.SurfaceType.Weld,
  372. ["BottomSurface"] = Enum.SurfaceType.Weld,
  373. ["FrontSurface"] = Enum.SurfaceType.Weld,
  374. ["LeftSurface"] = Enum.SurfaceType.Weld,
  375. ["RightSurface"] = Enum.SurfaceType.Weld,
  376. ["TopSurface"] = Enum.SurfaceType.Weld,
  377. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  378. })
  379. o27 = Create("Part",{
  380. ["Parent"] = o18,
  381. ["BrickColor"] = BrickColor.new("Bright blue"),
  382. ["Position"] = Vector3.new(-34.5, 13.0000124, 114.5),
  383. ["Rotation"] = Vector3.new(-90, 0, -90),
  384. ["Anchored"] = true,
  385. ["CFrame"] = CFrame.new(-34.5, 13.0000124, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  386. ["FormFactor"] = Enum.FormFactor.Symmetric,
  387. ["Size"] = Vector3.new(1, 9, 6),
  388. ["BackSurface"] = Enum.SurfaceType.Weld,
  389. ["BottomSurface"] = Enum.SurfaceType.Weld,
  390. ["FrontSurface"] = Enum.SurfaceType.Weld,
  391. ["LeftSurface"] = Enum.SurfaceType.Weld,
  392. ["RightSurface"] = Enum.SurfaceType.Weld,
  393. ["TopSurface"] = Enum.SurfaceType.Weld,
  394. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  395. })
  396. o28 = Create("Part",{
  397. ["Parent"] = o18,
  398. ["BrickColor"] = BrickColor.new("Bright blue"),
  399. ["Position"] = Vector3.new(-35, 16.5000114, 129.5),
  400. ["Rotation"] = Vector3.new(180, 90, 0),
  401. ["CFrame"] = CFrame.new(-35, 16.5000114, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
  402. ["FormFactor"] = Enum.FormFactor.Symmetric,
  403. ["Size"] = Vector3.new(31, 1, 38),
  404. ["BackSurface"] = Enum.SurfaceType.Weld,
  405. ["BottomSurface"] = Enum.SurfaceType.Weld,
  406. ["FrontSurface"] = Enum.SurfaceType.Weld,
  407. ["LeftSurface"] = Enum.SurfaceType.Weld,
  408. ["RightSurface"] = Enum.SurfaceType.Weld,
  409. ["TopSurface"] = Enum.SurfaceType.Weld,
  410. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  411. })
  412. o29 = Create("Model",{
  413. ["Name"] = "Door1",
  414. ["Parent"] = o18,
  415. })
  416. o30 = Create("Part",{
  417. ["Name"] = "Open",
  418. ["Parent"] = o29,
  419. ["BrickColor"] = BrickColor.new("Earth green"),
  420. ["Position"] = Vector3.new(-30.5, 7.49996281, 113.800003),
  421. ["Rotation"] = Vector3.new(-90, 0, -180),
  422. ["Anchored"] = true,
  423. ["CFrame"] = CFrame.new(-30.5, 7.49996281, 113.800003, -0.99999994, 0, 0, 0, -4.37113883e-008, 1, 0, 1, 4.37113883e-008),
  424. ["FormFactor"] = Enum.FormFactor.Plate,
  425. ["Size"] = Vector3.new(1, 0.400000006, 1),
  426. ["BackSurface"] = Enum.SurfaceType.Weld,
  427. ["BottomSurface"] = Enum.SurfaceType.Weld,
  428. ["FrontSurface"] = Enum.SurfaceType.Weld,
  429. ["LeftSurface"] = Enum.SurfaceType.Weld,
  430. ["RightSurface"] = Enum.SurfaceType.Weld,
  431. ["TopSurface"] = Enum.SurfaceType.Weld,
  432. ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
  433. })
  434. o32 = Create("ClickDetector",{
  435. ["Parent"] = o30,
  436. })
  437. o33 = Create("Script",{
  438. ["Parent"] = o30,
  439. })
  440. table.insert(cors,coroutine.create(function()
  441. wait()
  442. runDummyScript(function()
  443. function onClicked()
  444. script.Parent.Parent.Door.CanCollide = false
  445. script.Parent.Parent.Door.Transparency = 1
  446. end
  447. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  448. end,o33)
  449. end))
  450. o34 = Create("Part",{
  451. ["Name"] = "Close",
  452. ["Parent"] = o29,
  453. ["BrickColor"] = BrickColor.new("Bright red"),
  454. ["Position"] = Vector3.new(-38.5, 7.5000248, 113.800003),
  455. ["Rotation"] = Vector3.new(90, -0, 180),
  456. ["Anchored"] = true,
  457. ["CFrame"] = CFrame.new(-38.5, 7.5000248, 113.800003, -1, -0, -0, -0, -0, -1, -0, -1, -0),
  458. ["FormFactor"] = Enum.FormFactor.Plate,
  459. ["Size"] = Vector3.new(1, 0.400000006, 1),
  460. ["BackSurface"] = Enum.SurfaceType.Weld,
  461. ["BottomSurface"] = Enum.SurfaceType.Weld,
  462. ["FrontSurface"] = Enum.SurfaceType.Weld,
  463. ["LeftSurface"] = Enum.SurfaceType.Weld,
  464. ["RightSurface"] = Enum.SurfaceType.Weld,
  465. ["TopSurface"] = Enum.SurfaceType.Weld,
  466. ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
  467. })
  468. o36 = Create("ClickDetector",{
  469. ["Parent"] = o34,
  470. })
  471. o37 = Create("Script",{
  472. ["Parent"] = o34,
  473. })
  474. table.insert(cors,coroutine.create(function()
  475. wait()
  476. runDummyScript(function()
  477. function onClicked()
  478. script.Parent.Parent.Door.CanCollide = true
  479. script.Parent.Parent.Door.Transparency = 0.4
  480. end
  481. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  482. end,o37)
  483. end))
  484. o38 = Create("Part",{
  485. ["Name"] = "Door",
  486. ["Parent"] = o29,
  487. ["BrickColor"] = BrickColor.new("Black"),
  488. ["Transparency"] = 0.40000000596046,
  489. ["Position"] = Vector3.new(-34.5, 6.00003004, 114.5),
  490. ["Rotation"] = Vector3.new(180, 90, 0),
  491. ["CFrame"] = CFrame.new(-34.5, 6.00003004, 114.5, 0, 0, 1, 0, -1, 0, 1, 0, 0),
  492. ["FormFactor"] = Enum.FormFactor.Symmetric,
  493. ["Size"] = Vector3.new(1, 8, 7),
  494. ["BackSurface"] = Enum.SurfaceType.Weld,
  495. ["BottomSurface"] = Enum.SurfaceType.Weld,
  496. ["FrontSurface"] = Enum.SurfaceType.Weld,
  497. ["LeftSurface"] = Enum.SurfaceType.Weld,
  498. ["RightSurface"] = Enum.SurfaceType.Weld,
  499. ["TopSurface"] = Enum.SurfaceType.Weld,
  500. ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
  501. })
  502. o39 = Create("Model",{
  503. ["Parent"] = o1,
  504. })
  505. o40 = Create("Part",{
  506. ["Parent"] = o39,
  507. ["BrickColor"] = BrickColor.new("Bright blue"),
  508. ["Position"] = Vector3.new(-35, 1.50003505, 54.5),
  509. ["Rotation"] = Vector3.new(-180, -90, 0),
  510. ["CFrame"] = CFrame.new(-35, 1.50003505, 54.5, 0, 0, -1, 0, -1, 0, -1, 0, 0),
  511. ["FormFactor"] = Enum.FormFactor.Symmetric,
  512. ["Size"] = Vector3.new(31, 1, 38),
  513. ["BackSurface"] = Enum.SurfaceType.Weld,
  514. ["BottomSurface"] = Enum.SurfaceType.Weld,
  515. ["FrontSurface"] = Enum.SurfaceType.Weld,
  516. ["LeftSurface"] = Enum.SurfaceType.Weld,
  517. ["RightSurface"] = Enum.SurfaceType.Weld,
  518. ["TopSurface"] = Enum.SurfaceType.Weld,
  519. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  520. })
  521. o41 = Create("Part",{
  522. ["Parent"] = o39,
  523. ["BrickColor"] = BrickColor.new("Bright blue"),
  524. ["Position"] = Vector3.new(-53.5, 9.00002003, 54.5),
  525. ["Rotation"] = Vector3.new(180, -90, 0),
  526. ["Anchored"] = true,
  527. ["CFrame"] = CFrame.new(-53.5, 9.00002003, 54.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
  528. ["FormFactor"] = Enum.FormFactor.Symmetric,
  529. ["Size"] = Vector3.new(31, 14, 1),
  530. ["BackSurface"] = Enum.SurfaceType.Weld,
  531. ["BottomSurface"] = Enum.SurfaceType.Weld,
  532. ["FrontSurface"] = Enum.SurfaceType.Weld,
  533. ["LeftSurface"] = Enum.SurfaceType.Weld,
  534. ["RightSurface"] = Enum.SurfaceType.Weld,
  535. ["TopSurface"] = Enum.SurfaceType.Weld,
  536. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  537. })
  538. o42 = Create("Part",{
  539. ["Parent"] = o39,
  540. ["BrickColor"] = BrickColor.new("Bright blue"),
  541. ["Position"] = Vector3.new(-35, 9.00002003, 39.5),
  542. ["Rotation"] = Vector3.new(-0, 0, 180),
  543. ["Anchored"] = true,
  544. ["CFrame"] = CFrame.new(-35, 9.00002003, 39.5, -1, -0, 0, -0, -1, 0, -0, -0, 1),
  545. ["FormFactor"] = Enum.FormFactor.Symmetric,
  546. ["Size"] = Vector3.new(36, 14, 1),
  547. ["BackSurface"] = Enum.SurfaceType.Weld,
  548. ["BottomSurface"] = Enum.SurfaceType.Weld,
  549. ["FrontSurface"] = Enum.SurfaceType.Weld,
  550. ["LeftSurface"] = Enum.SurfaceType.Weld,
  551. ["RightSurface"] = Enum.SurfaceType.Weld,
  552. ["TopSurface"] = Enum.SurfaceType.Weld,
  553. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  554. })
  555. o43 = Create("Part",{
  556. ["Parent"] = o39,
  557. ["BrickColor"] = BrickColor.new("Bright blue"),
  558. ["Position"] = Vector3.new(-16.5, 9.00002003, 54.5),
  559. ["Rotation"] = Vector3.new(180, -90, 0),
  560. ["Anchored"] = true,
  561. ["CFrame"] = CFrame.new(-16.5, 9.00002003, 54.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
  562. ["FormFactor"] = Enum.FormFactor.Symmetric,
  563. ["Size"] = Vector3.new(31, 14, 1),
  564. ["BackSurface"] = Enum.SurfaceType.Weld,
  565. ["BottomSurface"] = Enum.SurfaceType.Weld,
  566. ["FrontSurface"] = Enum.SurfaceType.Weld,
  567. ["LeftSurface"] = Enum.SurfaceType.Weld,
  568. ["RightSurface"] = Enum.SurfaceType.Weld,
  569. ["TopSurface"] = Enum.SurfaceType.Weld,
  570. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  571. })
  572. o44 = Create("Part",{
  573. ["Parent"] = o39,
  574. ["BrickColor"] = BrickColor.new("Bright blue"),
  575. ["Position"] = Vector3.new(-46.5, 9.00002003, 69.5),
  576. ["Rotation"] = Vector3.new(-90, 0, 90),
  577. ["Anchored"] = true,
  578. ["CFrame"] = CFrame.new(-46.5, 9.00002003, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  579. ["FormFactor"] = Enum.FormFactor.Symmetric,
  580. ["Size"] = Vector3.new(1, 13, 14),
  581. ["BackSurface"] = Enum.SurfaceType.Weld,
  582. ["BottomSurface"] = Enum.SurfaceType.Weld,
  583. ["FrontSurface"] = Enum.SurfaceType.Weld,
  584. ["LeftSurface"] = Enum.SurfaceType.Weld,
  585. ["RightSurface"] = Enum.SurfaceType.Weld,
  586. ["TopSurface"] = Enum.SurfaceType.Weld,
  587. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  588. })
  589. o45 = Create("Part",{
  590. ["Parent"] = o39,
  591. ["BrickColor"] = BrickColor.new("Bright blue"),
  592. ["Position"] = Vector3.new(-24, 9.00002003, 69.5),
  593. ["Rotation"] = Vector3.new(-90, 0, 90),
  594. ["Anchored"] = true,
  595. ["CFrame"] = CFrame.new(-24, 9.00002003, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  596. ["FormFactor"] = Enum.FormFactor.Symmetric,
  597. ["Size"] = Vector3.new(1, 14, 14),
  598. ["BackSurface"] = Enum.SurfaceType.Weld,
  599. ["BottomSurface"] = Enum.SurfaceType.Weld,
  600. ["FrontSurface"] = Enum.SurfaceType.Weld,
  601. ["LeftSurface"] = Enum.SurfaceType.Weld,
  602. ["RightSurface"] = Enum.SurfaceType.Weld,
  603. ["TopSurface"] = Enum.SurfaceType.Weld,
  604. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  605. })
  606. o46 = Create("Part",{
  607. ["Parent"] = o39,
  608. ["BrickColor"] = BrickColor.new("Bright blue"),
  609. ["Position"] = Vector3.new(-39.5, 6.00003004, 69.5),
  610. ["Rotation"] = Vector3.new(-90, 0, 90),
  611. ["Anchored"] = true,
  612. ["CFrame"] = CFrame.new(-39.5, 6.00003004, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  613. ["FormFactor"] = Enum.FormFactor.Symmetric,
  614. ["Size"] = Vector3.new(1, 1, 8),
  615. ["BackSurface"] = Enum.SurfaceType.Weld,
  616. ["BottomSurface"] = Enum.SurfaceType.Weld,
  617. ["FrontSurface"] = Enum.SurfaceType.Weld,
  618. ["LeftSurface"] = Enum.SurfaceType.Weld,
  619. ["RightSurface"] = Enum.SurfaceType.Weld,
  620. ["TopSurface"] = Enum.SurfaceType.Weld,
  621. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  622. })
  623. o47 = Create("Part",{
  624. ["Parent"] = o39,
  625. ["BrickColor"] = BrickColor.new("Bright blue"),
  626. ["Position"] = Vector3.new(-31.5, 6.00003004, 69.5),
  627. ["Rotation"] = Vector3.new(-90, 0, 90),
  628. ["Anchored"] = true,
  629. ["CFrame"] = CFrame.new(-31.5, 6.00003004, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  630. ["FormFactor"] = Enum.FormFactor.Symmetric,
  631. ["Size"] = Vector3.new(1, 1, 8),
  632. ["BackSurface"] = Enum.SurfaceType.Weld,
  633. ["BottomSurface"] = Enum.SurfaceType.Weld,
  634. ["FrontSurface"] = Enum.SurfaceType.Weld,
  635. ["LeftSurface"] = Enum.SurfaceType.Weld,
  636. ["RightSurface"] = Enum.SurfaceType.Weld,
  637. ["TopSurface"] = Enum.SurfaceType.Weld,
  638. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  639. })
  640. o48 = Create("Part",{
  641. ["Parent"] = o39,
  642. ["BrickColor"] = BrickColor.new("Bright blue"),
  643. ["Position"] = Vector3.new(-35.5, 13.0000124, 69.5),
  644. ["Rotation"] = Vector3.new(-90, 0, 90),
  645. ["Anchored"] = true,
  646. ["CFrame"] = CFrame.new(-35.5, 13.0000124, 69.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  647. ["FormFactor"] = Enum.FormFactor.Symmetric,
  648. ["Size"] = Vector3.new(1, 9, 6),
  649. ["BackSurface"] = Enum.SurfaceType.Weld,
  650. ["BottomSurface"] = Enum.SurfaceType.Weld,
  651. ["FrontSurface"] = Enum.SurfaceType.Weld,
  652. ["LeftSurface"] = Enum.SurfaceType.Weld,
  653. ["RightSurface"] = Enum.SurfaceType.Weld,
  654. ["TopSurface"] = Enum.SurfaceType.Weld,
  655. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  656. })
  657. o49 = Create("Part",{
  658. ["Parent"] = o39,
  659. ["BrickColor"] = BrickColor.new("Bright blue"),
  660. ["Position"] = Vector3.new(-35, 16.5000114, 54.5),
  661. ["Rotation"] = Vector3.new(180, -90, 0),
  662. ["CFrame"] = CFrame.new(-35, 16.5000114, 54.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
  663. ["FormFactor"] = Enum.FormFactor.Symmetric,
  664. ["Size"] = Vector3.new(31, 1, 38),
  665. ["BackSurface"] = Enum.SurfaceType.Weld,
  666. ["BottomSurface"] = Enum.SurfaceType.Weld,
  667. ["FrontSurface"] = Enum.SurfaceType.Weld,
  668. ["LeftSurface"] = Enum.SurfaceType.Weld,
  669. ["RightSurface"] = Enum.SurfaceType.Weld,
  670. ["TopSurface"] = Enum.SurfaceType.Weld,
  671. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  672. })
  673. o50 = Create("Model",{
  674. ["Name"] = "Door1",
  675. ["Parent"] = o39,
  676. })
  677. o51 = Create("Part",{
  678. ["Name"] = "Open",
  679. ["Parent"] = o50,
  680. ["BrickColor"] = BrickColor.new("Earth green"),
  681. ["Position"] = Vector3.new(-39.5, 7.50004578, 70.1999969),
  682. ["Rotation"] = Vector3.new(-90, 0, -0),
  683. ["Anchored"] = true,
  684. ["CFrame"] = CFrame.new(-39.5, 7.50004578, 70.1999969, 0.99999994, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008),
  685. ["FormFactor"] = Enum.FormFactor.Plate,
  686. ["Size"] = Vector3.new(1, 0.400000006, 1),
  687. ["BackSurface"] = Enum.SurfaceType.Weld,
  688. ["BottomSurface"] = Enum.SurfaceType.Weld,
  689. ["FrontSurface"] = Enum.SurfaceType.Weld,
  690. ["LeftSurface"] = Enum.SurfaceType.Weld,
  691. ["RightSurface"] = Enum.SurfaceType.Weld,
  692. ["TopSurface"] = Enum.SurfaceType.Weld,
  693. ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
  694. })
  695. o53 = Create("ClickDetector",{
  696. ["Parent"] = o51,
  697. })
  698. o54 = Create("Script",{
  699. ["Parent"] = o51,
  700. })
  701. table.insert(cors,coroutine.create(function()
  702. wait()
  703. runDummyScript(function()
  704. function onClicked()
  705. script.Parent.Parent.Door.CanCollide = false
  706. script.Parent.Parent.Door.Transparency = 1
  707. end
  708. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  709. end,o54)
  710. end))
  711. o55 = Create("Part",{
  712. ["Name"] = "Close",
  713. ["Parent"] = o50,
  714. ["BrickColor"] = BrickColor.new("Bright red"),
  715. ["Position"] = Vector3.new(-31.5, 7.5000248, 70.1999969),
  716. ["Rotation"] = Vector3.new(90, -0, -0),
  717. ["Anchored"] = true,
  718. ["CFrame"] = CFrame.new(-31.5, 7.5000248, 70.1999969, 1, 0, -0, 0, 0, -1, 0, 1, -0),
  719. ["FormFactor"] = Enum.FormFactor.Plate,
  720. ["Size"] = Vector3.new(1, 0.400000006, 1),
  721. ["BackSurface"] = Enum.SurfaceType.Weld,
  722. ["BottomSurface"] = Enum.SurfaceType.Weld,
  723. ["FrontSurface"] = Enum.SurfaceType.Weld,
  724. ["LeftSurface"] = Enum.SurfaceType.Weld,
  725. ["RightSurface"] = Enum.SurfaceType.Weld,
  726. ["TopSurface"] = Enum.SurfaceType.Weld,
  727. ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
  728. })
  729. o57 = Create("ClickDetector",{
  730. ["Parent"] = o55,
  731. })
  732. o58 = Create("Script",{
  733. ["Parent"] = o55,
  734. })
  735. table.insert(cors,coroutine.create(function()
  736. wait()
  737. runDummyScript(function()
  738. function onClicked()
  739. script.Parent.Parent.Door.CanCollide = true
  740. script.Parent.Parent.Door.Transparency = 0.4
  741. end
  742. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  743. end,o58)
  744. end))
  745. o59 = Create("Part",{
  746. ["Name"] = "Door",
  747. ["Parent"] = o50,
  748. ["BrickColor"] = BrickColor.new("Black"),
  749. ["Transparency"] = 0.40000000596046,
  750. ["Position"] = Vector3.new(-35.5, 6.00003004, 69.5),
  751. ["Rotation"] = Vector3.new(-180, -90, 0),
  752. ["CFrame"] = CFrame.new(-35.5, 6.00003004, 69.5, 0, 0, -1, 0, -1, 0, -1, 0, 0),
  753. ["FormFactor"] = Enum.FormFactor.Symmetric,
  754. ["Size"] = Vector3.new(1, 8, 7),
  755. ["BackSurface"] = Enum.SurfaceType.Weld,
  756. ["BottomSurface"] = Enum.SurfaceType.Weld,
  757. ["FrontSurface"] = Enum.SurfaceType.Weld,
  758. ["LeftSurface"] = Enum.SurfaceType.Weld,
  759. ["RightSurface"] = Enum.SurfaceType.Weld,
  760. ["TopSurface"] = Enum.SurfaceType.Weld,
  761. ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
  762. })
  763. o60 = Create("Model",{
  764. ["Parent"] = o1,
  765. })
  766. o61 = Create("Part",{
  767. ["Parent"] = o60,
  768. ["BrickColor"] = BrickColor.new("Bright blue"),
  769. ["Position"] = Vector3.new(4, 1.50003505, 129.5),
  770. ["Rotation"] = Vector3.new(180, 90, 0),
  771. ["CFrame"] = CFrame.new(4, 1.50003505, 129.5, 0, 0, 1, 0, -1, 0, 1, 0, 0),
  772. ["FormFactor"] = Enum.FormFactor.Symmetric,
  773. ["Size"] = Vector3.new(31, 1, 38),
  774. ["BackSurface"] = Enum.SurfaceType.Weld,
  775. ["BottomSurface"] = Enum.SurfaceType.Weld,
  776. ["FrontSurface"] = Enum.SurfaceType.Weld,
  777. ["LeftSurface"] = Enum.SurfaceType.Weld,
  778. ["RightSurface"] = Enum.SurfaceType.Weld,
  779. ["TopSurface"] = Enum.SurfaceType.Weld,
  780. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  781. })
  782. o62 = Create("Part",{
  783. ["Parent"] = o60,
  784. ["BrickColor"] = BrickColor.new("Bright blue"),
  785. ["Position"] = Vector3.new(22.5, 9.00002003, 129.5),
  786. ["Rotation"] = Vector3.new(180, 90, 0),
  787. ["Anchored"] = true,
  788. ["CFrame"] = CFrame.new(22.5, 9.00002003, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
  789. ["FormFactor"] = Enum.FormFactor.Symmetric,
  790. ["Size"] = Vector3.new(31, 14, 1),
  791. ["BackSurface"] = Enum.SurfaceType.Weld,
  792. ["BottomSurface"] = Enum.SurfaceType.Weld,
  793. ["FrontSurface"] = Enum.SurfaceType.Weld,
  794. ["LeftSurface"] = Enum.SurfaceType.Weld,
  795. ["RightSurface"] = Enum.SurfaceType.Weld,
  796. ["TopSurface"] = Enum.SurfaceType.Weld,
  797. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  798. })
  799. o63 = Create("Part",{
  800. ["Parent"] = o60,
  801. ["BrickColor"] = BrickColor.new("Bright blue"),
  802. ["Position"] = Vector3.new(4, 9.00002003, 144.5),
  803. ["Rotation"] = Vector3.new(180, -0, 0),
  804. ["Anchored"] = true,
  805. ["CFrame"] = CFrame.new(4, 9.00002003, 144.5, 1, -0, -0, 0, -1, -0, 0, -0, -1),
  806. ["FormFactor"] = Enum.FormFactor.Symmetric,
  807. ["Size"] = Vector3.new(36, 14, 1),
  808. ["BackSurface"] = Enum.SurfaceType.Weld,
  809. ["BottomSurface"] = Enum.SurfaceType.Weld,
  810. ["FrontSurface"] = Enum.SurfaceType.Weld,
  811. ["LeftSurface"] = Enum.SurfaceType.Weld,
  812. ["RightSurface"] = Enum.SurfaceType.Weld,
  813. ["TopSurface"] = Enum.SurfaceType.Weld,
  814. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  815. })
  816. o64 = Create("Part",{
  817. ["Parent"] = o60,
  818. ["BrickColor"] = BrickColor.new("Bright blue"),
  819. ["Position"] = Vector3.new(-14.5, 9.00002003, 129.5),
  820. ["Rotation"] = Vector3.new(180, 90, 0),
  821. ["Anchored"] = true,
  822. ["CFrame"] = CFrame.new(-14.5, 9.00002003, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
  823. ["FormFactor"] = Enum.FormFactor.Symmetric,
  824. ["Size"] = Vector3.new(31, 14, 1),
  825. ["BackSurface"] = Enum.SurfaceType.Weld,
  826. ["BottomSurface"] = Enum.SurfaceType.Weld,
  827. ["FrontSurface"] = Enum.SurfaceType.Weld,
  828. ["LeftSurface"] = Enum.SurfaceType.Weld,
  829. ["RightSurface"] = Enum.SurfaceType.Weld,
  830. ["TopSurface"] = Enum.SurfaceType.Weld,
  831. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  832. })
  833. o65 = Create("Part",{
  834. ["Parent"] = o60,
  835. ["BrickColor"] = BrickColor.new("Bright blue"),
  836. ["Position"] = Vector3.new(15.5, 9.00002003, 114.5),
  837. ["Rotation"] = Vector3.new(-90, 0, -90),
  838. ["Anchored"] = true,
  839. ["CFrame"] = CFrame.new(15.5, 9.00002003, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  840. ["FormFactor"] = Enum.FormFactor.Symmetric,
  841. ["Size"] = Vector3.new(1, 13, 14),
  842. ["BackSurface"] = Enum.SurfaceType.Weld,
  843. ["BottomSurface"] = Enum.SurfaceType.Weld,
  844. ["FrontSurface"] = Enum.SurfaceType.Weld,
  845. ["LeftSurface"] = Enum.SurfaceType.Weld,
  846. ["RightSurface"] = Enum.SurfaceType.Weld,
  847. ["TopSurface"] = Enum.SurfaceType.Weld,
  848. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  849. })
  850. o66 = Create("Part",{
  851. ["Parent"] = o60,
  852. ["BrickColor"] = BrickColor.new("Bright blue"),
  853. ["Position"] = Vector3.new(-7, 9.00002003, 114.5),
  854. ["Rotation"] = Vector3.new(-90, 0, -90),
  855. ["Anchored"] = true,
  856. ["CFrame"] = CFrame.new(-7, 9.00002003, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  857. ["FormFactor"] = Enum.FormFactor.Symmetric,
  858. ["Size"] = Vector3.new(1, 14, 14),
  859. ["BackSurface"] = Enum.SurfaceType.Weld,
  860. ["BottomSurface"] = Enum.SurfaceType.Weld,
  861. ["FrontSurface"] = Enum.SurfaceType.Weld,
  862. ["LeftSurface"] = Enum.SurfaceType.Weld,
  863. ["RightSurface"] = Enum.SurfaceType.Weld,
  864. ["TopSurface"] = Enum.SurfaceType.Weld,
  865. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  866. })
  867. o67 = Create("Part",{
  868. ["Parent"] = o60,
  869. ["BrickColor"] = BrickColor.new("Bright blue"),
  870. ["Position"] = Vector3.new(8.5, 6.00003004, 114.5),
  871. ["Rotation"] = Vector3.new(-90, 0, -90),
  872. ["Anchored"] = true,
  873. ["CFrame"] = CFrame.new(8.5, 6.00003004, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  874. ["FormFactor"] = Enum.FormFactor.Symmetric,
  875. ["Size"] = Vector3.new(1, 1, 8),
  876. ["BackSurface"] = Enum.SurfaceType.Weld,
  877. ["BottomSurface"] = Enum.SurfaceType.Weld,
  878. ["FrontSurface"] = Enum.SurfaceType.Weld,
  879. ["LeftSurface"] = Enum.SurfaceType.Weld,
  880. ["RightSurface"] = Enum.SurfaceType.Weld,
  881. ["TopSurface"] = Enum.SurfaceType.Weld,
  882. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  883. })
  884. o68 = Create("Part",{
  885. ["Parent"] = o60,
  886. ["BrickColor"] = BrickColor.new("Bright blue"),
  887. ["Position"] = Vector3.new(0.5, 6.00003004, 114.5),
  888. ["Rotation"] = Vector3.new(-90, 0, -90),
  889. ["Anchored"] = true,
  890. ["CFrame"] = CFrame.new(0.5, 6.00003004, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  891. ["FormFactor"] = Enum.FormFactor.Symmetric,
  892. ["Size"] = Vector3.new(1, 1, 8),
  893. ["BackSurface"] = Enum.SurfaceType.Weld,
  894. ["BottomSurface"] = Enum.SurfaceType.Weld,
  895. ["FrontSurface"] = Enum.SurfaceType.Weld,
  896. ["LeftSurface"] = Enum.SurfaceType.Weld,
  897. ["RightSurface"] = Enum.SurfaceType.Weld,
  898. ["TopSurface"] = Enum.SurfaceType.Weld,
  899. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  900. })
  901. o69 = Create("Part",{
  902. ["Parent"] = o60,
  903. ["BrickColor"] = BrickColor.new("Bright blue"),
  904. ["Position"] = Vector3.new(4.5, 13.0000124, 114.5),
  905. ["Rotation"] = Vector3.new(-90, 0, -90),
  906. ["Anchored"] = true,
  907. ["CFrame"] = CFrame.new(4.5, 13.0000124, 114.5, 0, 1, 0, 0, 0, 1, 1, 0, 0),
  908. ["FormFactor"] = Enum.FormFactor.Symmetric,
  909. ["Size"] = Vector3.new(1, 9, 6),
  910. ["BackSurface"] = Enum.SurfaceType.Weld,
  911. ["BottomSurface"] = Enum.SurfaceType.Weld,
  912. ["FrontSurface"] = Enum.SurfaceType.Weld,
  913. ["LeftSurface"] = Enum.SurfaceType.Weld,
  914. ["RightSurface"] = Enum.SurfaceType.Weld,
  915. ["TopSurface"] = Enum.SurfaceType.Weld,
  916. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  917. })
  918. o70 = Create("Part",{
  919. ["Parent"] = o60,
  920. ["BrickColor"] = BrickColor.new("Bright blue"),
  921. ["Position"] = Vector3.new(4, 16.5000114, 129.5),
  922. ["Rotation"] = Vector3.new(180, 90, 0),
  923. ["CFrame"] = CFrame.new(4, 16.5000114, 129.5, 0, -0, 1, 0, -1, 0, 1, -0, 0),
  924. ["FormFactor"] = Enum.FormFactor.Symmetric,
  925. ["Size"] = Vector3.new(31, 1, 38),
  926. ["BackSurface"] = Enum.SurfaceType.Weld,
  927. ["BottomSurface"] = Enum.SurfaceType.Weld,
  928. ["FrontSurface"] = Enum.SurfaceType.Weld,
  929. ["LeftSurface"] = Enum.SurfaceType.Weld,
  930. ["RightSurface"] = Enum.SurfaceType.Weld,
  931. ["TopSurface"] = Enum.SurfaceType.Weld,
  932. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  933. })
  934. o71 = Create("Model",{
  935. ["Name"] = "Door1",
  936. ["Parent"] = o60,
  937. })
  938. o72 = Create("Part",{
  939. ["Name"] = "Open",
  940. ["Parent"] = o71,
  941. ["BrickColor"] = BrickColor.new("Earth green"),
  942. ["Position"] = Vector3.new(8.5, 7.50022602, 113.800003),
  943. ["Rotation"] = Vector3.new(-90, 0, -180),
  944. ["Anchored"] = true,
  945. ["CFrame"] = CFrame.new(8.5, 7.50022602, 113.800003, -0.99999994, 0, 0, 0, -4.37113883e-008, 1, 0, 1, 4.37113883e-008),
  946. ["FormFactor"] = Enum.FormFactor.Plate,
  947. ["Size"] = Vector3.new(1, 0.400000006, 1),
  948. ["BackSurface"] = Enum.SurfaceType.Weld,
  949. ["BottomSurface"] = Enum.SurfaceType.Weld,
  950. ["FrontSurface"] = Enum.SurfaceType.Weld,
  951. ["LeftSurface"] = Enum.SurfaceType.Weld,
  952. ["RightSurface"] = Enum.SurfaceType.Weld,
  953. ["TopSurface"] = Enum.SurfaceType.Weld,
  954. ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
  955. })
  956. o74 = Create("ClickDetector",{
  957. ["Parent"] = o72,
  958. })
  959. o75 = Create("Script",{
  960. ["Parent"] = o72,
  961. })
  962. table.insert(cors,coroutine.create(function()
  963. wait()
  964. runDummyScript(function()
  965. function onClicked()
  966. script.Parent.Parent.Door.CanCollide = false
  967. script.Parent.Parent.Door.Transparency = 1
  968. end
  969. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  970. end,o75)
  971. end))
  972. o76 = Create("Part",{
  973. ["Name"] = "Close",
  974. ["Parent"] = o71,
  975. ["BrickColor"] = BrickColor.new("Bright red"),
  976. ["Position"] = Vector3.new(0.5, 7.5000248, 113.800003),
  977. ["Rotation"] = Vector3.new(90, -0, 180),
  978. ["Anchored"] = true,
  979. ["CFrame"] = CFrame.new(0.5, 7.5000248, 113.800003, -1, -0, -0, -0, -0, -1, -0, -1, -0),
  980. ["FormFactor"] = Enum.FormFactor.Plate,
  981. ["Size"] = Vector3.new(1, 0.400000006, 1),
  982. ["BackSurface"] = Enum.SurfaceType.Weld,
  983. ["BottomSurface"] = Enum.SurfaceType.Weld,
  984. ["FrontSurface"] = Enum.SurfaceType.Weld,
  985. ["LeftSurface"] = Enum.SurfaceType.Weld,
  986. ["RightSurface"] = Enum.SurfaceType.Weld,
  987. ["TopSurface"] = Enum.SurfaceType.Weld,
  988. ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
  989. })
  990. o78 = Create("ClickDetector",{
  991. ["Parent"] = o76,
  992. })
  993. o79 = Create("Script",{
  994. ["Parent"] = o76,
  995. })
  996. table.insert(cors,coroutine.create(function()
  997. wait()
  998. runDummyScript(function()
  999. function onClicked()
  1000. script.Parent.Parent.Door.CanCollide = true
  1001. script.Parent.Parent.Door.Transparency = 0.4
  1002. end
  1003. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  1004. end,o79)
  1005. end))
  1006. o80 = Create("Part",{
  1007. ["Name"] = "Door",
  1008. ["Parent"] = o71,
  1009. ["BrickColor"] = BrickColor.new("Black"),
  1010. ["Transparency"] = 0.40000000596046,
  1011. ["Position"] = Vector3.new(4.5, 6.00003004, 114.5),
  1012. ["Rotation"] = Vector3.new(180, 90, 0),
  1013. ["CFrame"] = CFrame.new(4.5, 6.00003004, 114.5, 0, 0, 1, 0, -1, 0, 1, 0, 0),
  1014. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1015. ["Size"] = Vector3.new(1, 8, 7),
  1016. ["BackSurface"] = Enum.SurfaceType.Weld,
  1017. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1018. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1019. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1020. ["RightSurface"] = Enum.SurfaceType.Weld,
  1021. ["TopSurface"] = Enum.SurfaceType.Weld,
  1022. ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
  1023. })
  1024. o81 = Create("Model",{
  1025. ["Parent"] = o1,
  1026. })
  1027. o82 = Create("Part",{
  1028. ["Parent"] = o81,
  1029. ["BrickColor"] = BrickColor.new("Bright blue"),
  1030. ["Position"] = Vector3.new(4, 1.50003505, 53.5),
  1031. ["Rotation"] = Vector3.new(-180, -90, 0),
  1032. ["CFrame"] = CFrame.new(4, 1.50003505, 53.5, 0, 0, -1, 0, -1, 0, -1, 0, 0),
  1033. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1034. ["Size"] = Vector3.new(31, 1, 38),
  1035. ["BackSurface"] = Enum.SurfaceType.Weld,
  1036. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1037. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1038. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1039. ["RightSurface"] = Enum.SurfaceType.Weld,
  1040. ["TopSurface"] = Enum.SurfaceType.Weld,
  1041. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1042. })
  1043. o83 = Create("Part",{
  1044. ["Parent"] = o81,
  1045. ["BrickColor"] = BrickColor.new("Bright blue"),
  1046. ["Position"] = Vector3.new(-14.5, 9.00002003, 53.5),
  1047. ["Rotation"] = Vector3.new(180, -90, 0),
  1048. ["Anchored"] = true,
  1049. ["CFrame"] = CFrame.new(-14.5, 9.00002003, 53.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
  1050. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1051. ["Size"] = Vector3.new(31, 14, 1),
  1052. ["BackSurface"] = Enum.SurfaceType.Weld,
  1053. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1054. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1055. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1056. ["RightSurface"] = Enum.SurfaceType.Weld,
  1057. ["TopSurface"] = Enum.SurfaceType.Weld,
  1058. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1059. })
  1060. o84 = Create("Part",{
  1061. ["Parent"] = o81,
  1062. ["BrickColor"] = BrickColor.new("Bright blue"),
  1063. ["Position"] = Vector3.new(4, 9.00002003, 38.5),
  1064. ["Rotation"] = Vector3.new(-0, 0, 180),
  1065. ["Anchored"] = true,
  1066. ["CFrame"] = CFrame.new(4, 9.00002003, 38.5, -1, -0, 0, -0, -1, 0, -0, -0, 1),
  1067. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1068. ["Size"] = Vector3.new(36, 14, 1),
  1069. ["BackSurface"] = Enum.SurfaceType.Weld,
  1070. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1071. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1072. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1073. ["RightSurface"] = Enum.SurfaceType.Weld,
  1074. ["TopSurface"] = Enum.SurfaceType.Weld,
  1075. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1076. })
  1077. o85 = Create("Part",{
  1078. ["Parent"] = o81,
  1079. ["BrickColor"] = BrickColor.new("Bright blue"),
  1080. ["Position"] = Vector3.new(22.5, 9.00002003, 53.5),
  1081. ["Rotation"] = Vector3.new(180, -90, 0),
  1082. ["Anchored"] = true,
  1083. ["CFrame"] = CFrame.new(22.5, 9.00002003, 53.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
  1084. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1085. ["Size"] = Vector3.new(31, 14, 1),
  1086. ["BackSurface"] = Enum.SurfaceType.Weld,
  1087. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1088. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1089. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1090. ["RightSurface"] = Enum.SurfaceType.Weld,
  1091. ["TopSurface"] = Enum.SurfaceType.Weld,
  1092. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1093. })
  1094. o86 = Create("Part",{
  1095. ["Parent"] = o81,
  1096. ["BrickColor"] = BrickColor.new("Bright blue"),
  1097. ["Position"] = Vector3.new(-7.5, 9.00002003, 68.5),
  1098. ["Rotation"] = Vector3.new(-90, 0, 90),
  1099. ["Anchored"] = true,
  1100. ["CFrame"] = CFrame.new(-7.5, 9.00002003, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  1101. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1102. ["Size"] = Vector3.new(1, 13, 14),
  1103. ["BackSurface"] = Enum.SurfaceType.Weld,
  1104. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1105. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1106. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1107. ["RightSurface"] = Enum.SurfaceType.Weld,
  1108. ["TopSurface"] = Enum.SurfaceType.Weld,
  1109. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1110. })
  1111. o87 = Create("Part",{
  1112. ["Parent"] = o81,
  1113. ["BrickColor"] = BrickColor.new("Bright blue"),
  1114. ["Position"] = Vector3.new(15, 9.00002003, 68.5),
  1115. ["Rotation"] = Vector3.new(-90, 0, 90),
  1116. ["Anchored"] = true,
  1117. ["CFrame"] = CFrame.new(15, 9.00002003, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  1118. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1119. ["Size"] = Vector3.new(1, 14, 14),
  1120. ["BackSurface"] = Enum.SurfaceType.Weld,
  1121. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1122. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1123. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1124. ["RightSurface"] = Enum.SurfaceType.Weld,
  1125. ["TopSurface"] = Enum.SurfaceType.Weld,
  1126. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1127. })
  1128. o88 = Create("Part",{
  1129. ["Parent"] = o81,
  1130. ["BrickColor"] = BrickColor.new("Bright blue"),
  1131. ["Position"] = Vector3.new(-0.5, 6.00003004, 68.5),
  1132. ["Rotation"] = Vector3.new(-90, 0, 90),
  1133. ["Anchored"] = true,
  1134. ["CFrame"] = CFrame.new(-0.5, 6.00003004, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  1135. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1136. ["Size"] = Vector3.new(1, 1, 8),
  1137. ["BackSurface"] = Enum.SurfaceType.Weld,
  1138. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1139. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1140. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1141. ["RightSurface"] = Enum.SurfaceType.Weld,
  1142. ["TopSurface"] = Enum.SurfaceType.Weld,
  1143. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1144. })
  1145. o89 = Create("Part",{
  1146. ["Parent"] = o81,
  1147. ["BrickColor"] = BrickColor.new("Bright blue"),
  1148. ["Position"] = Vector3.new(7.5, 6.00003004, 68.5),
  1149. ["Rotation"] = Vector3.new(-90, 0, 90),
  1150. ["Anchored"] = true,
  1151. ["CFrame"] = CFrame.new(7.5, 6.00003004, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  1152. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1153. ["Size"] = Vector3.new(1, 1, 8),
  1154. ["BackSurface"] = Enum.SurfaceType.Weld,
  1155. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1156. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1157. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1158. ["RightSurface"] = Enum.SurfaceType.Weld,
  1159. ["TopSurface"] = Enum.SurfaceType.Weld,
  1160. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1161. })
  1162. o90 = Create("Part",{
  1163. ["Parent"] = o81,
  1164. ["BrickColor"] = BrickColor.new("Bright blue"),
  1165. ["Position"] = Vector3.new(3.5, 13.0000124, 68.5),
  1166. ["Rotation"] = Vector3.new(-90, 0, 90),
  1167. ["Anchored"] = true,
  1168. ["CFrame"] = CFrame.new(3.5, 13.0000124, 68.5, -0, -1, 0, -0, -0, 1, -1, -0, 0),
  1169. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1170. ["Size"] = Vector3.new(1, 9, 6),
  1171. ["BackSurface"] = Enum.SurfaceType.Weld,
  1172. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1173. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1174. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1175. ["RightSurface"] = Enum.SurfaceType.Weld,
  1176. ["TopSurface"] = Enum.SurfaceType.Weld,
  1177. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1178. })
  1179. o91 = Create("Part",{
  1180. ["Parent"] = o81,
  1181. ["BrickColor"] = BrickColor.new("Bright blue"),
  1182. ["Position"] = Vector3.new(4, 16.5000114, 53.5),
  1183. ["Rotation"] = Vector3.new(180, -90, 0),
  1184. ["CFrame"] = CFrame.new(4, 16.5000114, 53.5, -0, -0, -1, -0, -1, -0, -1, -0, -0),
  1185. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1186. ["Size"] = Vector3.new(31, 1, 38),
  1187. ["BackSurface"] = Enum.SurfaceType.Weld,
  1188. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1189. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1190. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1191. ["RightSurface"] = Enum.SurfaceType.Weld,
  1192. ["TopSurface"] = Enum.SurfaceType.Weld,
  1193. ["Color"] = Color3.new(0.0509804, 0.411765, 0.67451),
  1194. })
  1195. o92 = Create("Model",{
  1196. ["Name"] = "Door1",
  1197. ["Parent"] = o81,
  1198. })
  1199. o93 = Create("Part",{
  1200. ["Name"] = "Open",
  1201. ["Parent"] = o92,
  1202. ["BrickColor"] = BrickColor.new("Earth green"),
  1203. ["Position"] = Vector3.new(-0.499996006, 7.50006819, 69.1999969),
  1204. ["Rotation"] = Vector3.new(-90, 0, -0),
  1205. ["Anchored"] = true,
  1206. ["CFrame"] = CFrame.new(-0.499996006, 7.50006819, 69.1999969, 0.99999994, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008),
  1207. ["FormFactor"] = Enum.FormFactor.Plate,
  1208. ["Size"] = Vector3.new(1, 0.400000006, 1),
  1209. ["BackSurface"] = Enum.SurfaceType.Weld,
  1210. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1211. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1212. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1213. ["RightSurface"] = Enum.SurfaceType.Weld,
  1214. ["TopSurface"] = Enum.SurfaceType.Weld,
  1215. ["Color"] = Color3.new(0.152941, 0.27451, 0.176471),
  1216. })
  1217. o95 = Create("ClickDetector",{
  1218. ["Parent"] = o93,
  1219. })
  1220. o96 = Create("Script",{
  1221. ["Parent"] = o93,
  1222. })
  1223. table.insert(cors,coroutine.create(function()
  1224. wait()
  1225. runDummyScript(function()
  1226. function onClicked()
  1227. script.Parent.Parent.Door.CanCollide = false
  1228. script.Parent.Parent.Door.Transparency = 1
  1229. end
  1230. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  1231. end,o96)
  1232. end))
  1233. o97 = Create("Part",{
  1234. ["Name"] = "Close",
  1235. ["Parent"] = o92,
  1236. ["BrickColor"] = BrickColor.new("Bright red"),
  1237. ["Position"] = Vector3.new(7.5, 7.5000248, 69.1999969),
  1238. ["Rotation"] = Vector3.new(90, -0, -0),
  1239. ["Anchored"] = true,
  1240. ["CFrame"] = CFrame.new(7.5, 7.5000248, 69.1999969, 1, 0, -0, 0, 0, -1, 0, 1, -0),
  1241. ["FormFactor"] = Enum.FormFactor.Plate,
  1242. ["Size"] = Vector3.new(1, 0.400000006, 1),
  1243. ["BackSurface"] = Enum.SurfaceType.Weld,
  1244. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1245. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1246. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1247. ["RightSurface"] = Enum.SurfaceType.Weld,
  1248. ["TopSurface"] = Enum.SurfaceType.Weld,
  1249. ["Color"] = Color3.new(0.768628, 0.156863, 0.109804),
  1250. })
  1251. o99 = Create("ClickDetector",{
  1252. ["Parent"] = o97,
  1253. })
  1254. o100 = Create("Script",{
  1255. ["Parent"] = o97,
  1256. })
  1257. table.insert(cors,coroutine.create(function()
  1258. wait()
  1259. runDummyScript(function()
  1260. function onClicked()
  1261. script.Parent.Parent.Door.CanCollide = true
  1262. script.Parent.Parent.Door.Transparency = 0.4
  1263. end
  1264. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  1265. end,o100)
  1266. end))
  1267. o101 = Create("Part",{
  1268. ["Name"] = "Door",
  1269. ["Parent"] = o92,
  1270. ["BrickColor"] = BrickColor.new("Black"),
  1271. ["Transparency"] = 0.40000000596046,
  1272. ["Position"] = Vector3.new(3.5, 6.00003004, 68.5),
  1273. ["Rotation"] = Vector3.new(-180, -90, 0),
  1274. ["CFrame"] = CFrame.new(3.5, 6.00003004, 68.5, 0, 0, -1, 0, -1, 0, -1, 0, 0),
  1275. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1276. ["Size"] = Vector3.new(1, 8, 7),
  1277. ["BackSurface"] = Enum.SurfaceType.Weld,
  1278. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1279. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1280. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1281. ["RightSurface"] = Enum.SurfaceType.Weld,
  1282. ["TopSurface"] = Enum.SurfaceType.Weld,
  1283. ["Color"] = Color3.new(0.105882, 0.164706, 0.207843),
  1284. })
  1285. mas.Parent = workspace
  1286. mas:MakeJoints()
  1287. local mas1 = mas:GetChildren()
  1288. for i=1,#mas1 do
  1289. mas1[i].Parent = workspace
  1290. ypcall(function() mas1[i]:MakeJoints() end)
  1291. end
  1292. mas:Destroy()
  1293. for i=1,#cors do
  1294. coroutine.resume(cors[i])
  1295. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement