cooldude78_cool

Official Jail Script

Jul 14th, 2018
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Made By im1amazing_guy/cooldude78_cool
  2. --Discord: im1amazing_guy#4446
  3. --Subscribe to me on youtube at https://www.youtube.com/channel/UCoYmyLAtvtUte7AsPoksdvA
  4.  
  5. --Converted with ttyyuu12345's model to script plugin v4
  6. function sandbox(var,func)
  7. local env = getfenv(func)
  8. local newenv = setmetatable({},{
  9. __index = function(self,k)
  10. if k=="script" then
  11. return var
  12. else
  13. return env[k]
  14. end
  15. end,
  16. })
  17. setfenv(func,newenv)
  18. return func
  19. end
  20. cors = {}
  21. mas = Instance.new("Model",game:GetService("Lighting"))
  22. local chil = workspace:GetChildren()
  23. for i,v in pairs(chil) do
  24. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  25. v:Destroy()
  26. end
  27. end
  28. Part0 = Instance.new("Part")
  29. Model1 = Instance.new("Model")
  30. Part2 = Instance.new("Part")
  31. Part3 = Instance.new("Part")
  32. Part4 = Instance.new("Part")
  33. Part5 = Instance.new("Part")
  34. Part6 = Instance.new("Part")
  35. Part7 = Instance.new("Part")
  36. Part8 = Instance.new("Part")
  37. Part9 = Instance.new("Part")
  38. Part10 = Instance.new("Part")
  39. Part11 = Instance.new("Part")
  40. Part12 = Instance.new("Part")
  41. Part13 = Instance.new("Part")
  42. Part14 = Instance.new("Part")
  43. Part15 = Instance.new("Part")
  44. Part16 = Instance.new("Part")
  45. Part17 = Instance.new("Part")
  46. Part18 = Instance.new("Part")
  47. Part19 = Instance.new("Part")
  48. Model20 = Instance.new("Model")
  49. Model21 = Instance.new("Model")
  50. Model22 = Instance.new("Model")
  51. Model23 = Instance.new("Model")
  52. Part24 = Instance.new("Part")
  53. BlockMesh25 = Instance.new("BlockMesh")
  54. Part26 = Instance.new("Part")
  55. BlockMesh27 = Instance.new("BlockMesh")
  56. Model28 = Instance.new("Model")
  57. Part29 = Instance.new("Part")
  58. BlockMesh30 = Instance.new("BlockMesh")
  59. Part31 = Instance.new("Part")
  60. BlockMesh32 = Instance.new("BlockMesh")
  61. Part33 = Instance.new("Part")
  62. BlockMesh34 = Instance.new("BlockMesh")
  63. Part35 = Instance.new("Part")
  64. BlockMesh36 = Instance.new("BlockMesh")
  65. Part37 = Instance.new("Part")
  66. BlockMesh38 = Instance.new("BlockMesh")
  67. Part39 = Instance.new("Part")
  68. BlockMesh40 = Instance.new("BlockMesh")
  69. Model41 = Instance.new("Model")
  70. Part42 = Instance.new("Part")
  71. BlockMesh43 = Instance.new("BlockMesh")
  72. Part44 = Instance.new("Part")
  73. BlockMesh45 = Instance.new("BlockMesh")
  74. Model46 = Instance.new("Model")
  75. Model47 = Instance.new("Model")
  76. Model48 = Instance.new("Model")
  77. Part49 = Instance.new("Part")
  78. CylinderMesh50 = Instance.new("CylinderMesh")
  79. Part51 = Instance.new("Part")
  80. CylinderMesh52 = Instance.new("CylinderMesh")
  81. Part53 = Instance.new("Part")
  82. CylinderMesh54 = Instance.new("CylinderMesh")
  83. Part55 = Instance.new("Part")
  84. CylinderMesh56 = Instance.new("CylinderMesh")
  85. Part57 = Instance.new("Part")
  86. BlockMesh58 = Instance.new("BlockMesh")
  87. Part59 = Instance.new("Part")
  88. BlockMesh60 = Instance.new("BlockMesh")
  89. Model61 = Instance.new("Model")
  90. Part62 = Instance.new("Part")
  91. BlockMesh63 = Instance.new("BlockMesh")
  92. Part64 = Instance.new("Part")
  93. BlockMesh65 = Instance.new("BlockMesh")
  94. Part66 = Instance.new("Part")
  95. SpecialMesh67 = Instance.new("SpecialMesh")
  96. Part68 = Instance.new("Part")
  97. CylinderMesh69 = Instance.new("CylinderMesh")
  98. Model70 = Instance.new("Model")
  99. Model71 = Instance.new("Model")
  100. Part72 = Instance.new("Part")
  101. SpecialMesh73 = Instance.new("SpecialMesh")
  102. Part74 = Instance.new("Part")
  103. SpecialMesh75 = Instance.new("SpecialMesh")
  104. Script76 = Instance.new("Script")
  105. Part77 = Instance.new("Part")
  106. CylinderMesh78 = Instance.new("CylinderMesh")
  107. Model79 = Instance.new("Model")
  108. Part80 = Instance.new("Part")
  109. CylinderMesh81 = Instance.new("CylinderMesh")
  110. Part82 = Instance.new("Part")
  111. CylinderMesh83 = Instance.new("CylinderMesh")
  112. Part84 = Instance.new("Part")
  113. CylinderMesh85 = Instance.new("CylinderMesh")
  114. Part86 = Instance.new("Part")
  115. CylinderMesh87 = Instance.new("CylinderMesh")
  116. Part88 = Instance.new("Part")
  117. CylinderMesh89 = Instance.new("CylinderMesh")
  118. Part90 = Instance.new("Part")
  119. CylinderMesh91 = Instance.new("CylinderMesh")
  120. Script92 = Instance.new("Script")
  121. Part93 = Instance.new("Part")
  122. BlockMesh94 = Instance.new("BlockMesh")
  123. CylinderMesh95 = Instance.new("CylinderMesh")
  124. ClickDetector96 = Instance.new("ClickDetector")
  125. Model97 = Instance.new("Model")
  126. Model98 = Instance.new("Model")
  127. Model99 = Instance.new("Model")
  128. Part100 = Instance.new("Part")
  129. BlockMesh101 = Instance.new("BlockMesh")
  130. Part102 = Instance.new("Part")
  131. BlockMesh103 = Instance.new("BlockMesh")
  132. Model104 = Instance.new("Model")
  133. Part105 = Instance.new("Part")
  134. BlockMesh106 = Instance.new("BlockMesh")
  135. Part107 = Instance.new("Part")
  136. BlockMesh108 = Instance.new("BlockMesh")
  137. Part109 = Instance.new("Part")
  138. BlockMesh110 = Instance.new("BlockMesh")
  139. Part111 = Instance.new("Part")
  140. BlockMesh112 = Instance.new("BlockMesh")
  141. Part113 = Instance.new("Part")
  142. BlockMesh114 = Instance.new("BlockMesh")
  143. Part115 = Instance.new("Part")
  144. BlockMesh116 = Instance.new("BlockMesh")
  145. Model117 = Instance.new("Model")
  146. Part118 = Instance.new("Part")
  147. BlockMesh119 = Instance.new("BlockMesh")
  148. Part120 = Instance.new("Part")
  149. BlockMesh121 = Instance.new("BlockMesh")
  150. Model122 = Instance.new("Model")
  151. Model123 = Instance.new("Model")
  152. Model124 = Instance.new("Model")
  153. Part125 = Instance.new("Part")
  154. CylinderMesh126 = Instance.new("CylinderMesh")
  155. Part127 = Instance.new("Part")
  156. CylinderMesh128 = Instance.new("CylinderMesh")
  157. Part129 = Instance.new("Part")
  158. CylinderMesh130 = Instance.new("CylinderMesh")
  159. Part131 = Instance.new("Part")
  160. CylinderMesh132 = Instance.new("CylinderMesh")
  161. Part133 = Instance.new("Part")
  162. BlockMesh134 = Instance.new("BlockMesh")
  163. Part135 = Instance.new("Part")
  164. BlockMesh136 = Instance.new("BlockMesh")
  165. Model137 = Instance.new("Model")
  166. Part138 = Instance.new("Part")
  167. BlockMesh139 = Instance.new("BlockMesh")
  168. Part140 = Instance.new("Part")
  169. BlockMesh141 = Instance.new("BlockMesh")
  170. Part142 = Instance.new("Part")
  171. SpecialMesh143 = Instance.new("SpecialMesh")
  172. Part144 = Instance.new("Part")
  173. CylinderMesh145 = Instance.new("CylinderMesh")
  174. Model146 = Instance.new("Model")
  175. Model147 = Instance.new("Model")
  176. Part148 = Instance.new("Part")
  177. SpecialMesh149 = Instance.new("SpecialMesh")
  178. Part150 = Instance.new("Part")
  179. SpecialMesh151 = Instance.new("SpecialMesh")
  180. Script152 = Instance.new("Script")
  181. Part153 = Instance.new("Part")
  182. CylinderMesh154 = Instance.new("CylinderMesh")
  183. Model155 = Instance.new("Model")
  184. Part156 = Instance.new("Part")
  185. CylinderMesh157 = Instance.new("CylinderMesh")
  186. Part158 = Instance.new("Part")
  187. CylinderMesh159 = Instance.new("CylinderMesh")
  188. Part160 = Instance.new("Part")
  189. CylinderMesh161 = Instance.new("CylinderMesh")
  190. Part162 = Instance.new("Part")
  191. CylinderMesh163 = Instance.new("CylinderMesh")
  192. Part164 = Instance.new("Part")
  193. CylinderMesh165 = Instance.new("CylinderMesh")
  194. Part166 = Instance.new("Part")
  195. CylinderMesh167 = Instance.new("CylinderMesh")
  196. Script168 = Instance.new("Script")
  197. Part169 = Instance.new("Part")
  198. BlockMesh170 = Instance.new("BlockMesh")
  199. CylinderMesh171 = Instance.new("CylinderMesh")
  200. ClickDetector172 = Instance.new("ClickDetector")
  201. Model173 = Instance.new("Model")
  202. Model174 = Instance.new("Model")
  203. Model175 = Instance.new("Model")
  204. Part176 = Instance.new("Part")
  205. BlockMesh177 = Instance.new("BlockMesh")
  206. Part178 = Instance.new("Part")
  207. BlockMesh179 = Instance.new("BlockMesh")
  208. Model180 = Instance.new("Model")
  209. Part181 = Instance.new("Part")
  210. BlockMesh182 = Instance.new("BlockMesh")
  211. Part183 = Instance.new("Part")
  212. BlockMesh184 = Instance.new("BlockMesh")
  213. Part185 = Instance.new("Part")
  214. BlockMesh186 = Instance.new("BlockMesh")
  215. Part187 = Instance.new("Part")
  216. BlockMesh188 = Instance.new("BlockMesh")
  217. Part189 = Instance.new("Part")
  218. BlockMesh190 = Instance.new("BlockMesh")
  219. Part191 = Instance.new("Part")
  220. BlockMesh192 = Instance.new("BlockMesh")
  221. Model193 = Instance.new("Model")
  222. Part194 = Instance.new("Part")
  223. BlockMesh195 = Instance.new("BlockMesh")
  224. Part196 = Instance.new("Part")
  225. BlockMesh197 = Instance.new("BlockMesh")
  226. Model198 = Instance.new("Model")
  227. Model199 = Instance.new("Model")
  228. Model200 = Instance.new("Model")
  229. Part201 = Instance.new("Part")
  230. CylinderMesh202 = Instance.new("CylinderMesh")
  231. Part203 = Instance.new("Part")
  232. CylinderMesh204 = Instance.new("CylinderMesh")
  233. Part205 = Instance.new("Part")
  234. CylinderMesh206 = Instance.new("CylinderMesh")
  235. Part207 = Instance.new("Part")
  236. CylinderMesh208 = Instance.new("CylinderMesh")
  237. Part209 = Instance.new("Part")
  238. BlockMesh210 = Instance.new("BlockMesh")
  239. Part211 = Instance.new("Part")
  240. BlockMesh212 = Instance.new("BlockMesh")
  241. Model213 = Instance.new("Model")
  242. Part214 = Instance.new("Part")
  243. BlockMesh215 = Instance.new("BlockMesh")
  244. Part216 = Instance.new("Part")
  245. BlockMesh217 = Instance.new("BlockMesh")
  246. Part218 = Instance.new("Part")
  247. SpecialMesh219 = Instance.new("SpecialMesh")
  248. Part220 = Instance.new("Part")
  249. CylinderMesh221 = Instance.new("CylinderMesh")
  250. Model222 = Instance.new("Model")
  251. Model223 = Instance.new("Model")
  252. Part224 = Instance.new("Part")
  253. SpecialMesh225 = Instance.new("SpecialMesh")
  254. Part226 = Instance.new("Part")
  255. SpecialMesh227 = Instance.new("SpecialMesh")
  256. Script228 = Instance.new("Script")
  257. Part229 = Instance.new("Part")
  258. CylinderMesh230 = Instance.new("CylinderMesh")
  259. Model231 = Instance.new("Model")
  260. Part232 = Instance.new("Part")
  261. CylinderMesh233 = Instance.new("CylinderMesh")
  262. Part234 = Instance.new("Part")
  263. CylinderMesh235 = Instance.new("CylinderMesh")
  264. Part236 = Instance.new("Part")
  265. CylinderMesh237 = Instance.new("CylinderMesh")
  266. Part238 = Instance.new("Part")
  267. CylinderMesh239 = Instance.new("CylinderMesh")
  268. Part240 = Instance.new("Part")
  269. CylinderMesh241 = Instance.new("CylinderMesh")
  270. Part242 = Instance.new("Part")
  271. CylinderMesh243 = Instance.new("CylinderMesh")
  272. Script244 = Instance.new("Script")
  273. Part245 = Instance.new("Part")
  274. BlockMesh246 = Instance.new("BlockMesh")
  275. CylinderMesh247 = Instance.new("CylinderMesh")
  276. ClickDetector248 = Instance.new("ClickDetector")
  277. Model249 = Instance.new("Model")
  278. Model250 = Instance.new("Model")
  279. Model251 = Instance.new("Model")
  280. Model252 = Instance.new("Model")
  281. Part253 = Instance.new("Part")
  282. BlockMesh254 = Instance.new("BlockMesh")
  283. Part255 = Instance.new("Part")
  284. BlockMesh256 = Instance.new("BlockMesh")
  285. Model257 = Instance.new("Model")
  286. Part258 = Instance.new("Part")
  287. BlockMesh259 = Instance.new("BlockMesh")
  288. Part260 = Instance.new("Part")
  289. BlockMesh261 = Instance.new("BlockMesh")
  290. Part262 = Instance.new("Part")
  291. BlockMesh263 = Instance.new("BlockMesh")
  292. Part264 = Instance.new("Part")
  293. BlockMesh265 = Instance.new("BlockMesh")
  294. Part266 = Instance.new("Part")
  295. BlockMesh267 = Instance.new("BlockMesh")
  296. Part268 = Instance.new("Part")
  297. BlockMesh269 = Instance.new("BlockMesh")
  298. Model270 = Instance.new("Model")
  299. Part271 = Instance.new("Part")
  300. BlockMesh272 = Instance.new("BlockMesh")
  301. Part273 = Instance.new("Part")
  302. BlockMesh274 = Instance.new("BlockMesh")
  303. Model275 = Instance.new("Model")
  304. Model276 = Instance.new("Model")
  305. Model277 = Instance.new("Model")
  306. Part278 = Instance.new("Part")
  307. CylinderMesh279 = Instance.new("CylinderMesh")
  308. Part280 = Instance.new("Part")
  309. CylinderMesh281 = Instance.new("CylinderMesh")
  310. Part282 = Instance.new("Part")
  311. CylinderMesh283 = Instance.new("CylinderMesh")
  312. Part284 = Instance.new("Part")
  313. CylinderMesh285 = Instance.new("CylinderMesh")
  314. Part286 = Instance.new("Part")
  315. BlockMesh287 = Instance.new("BlockMesh")
  316. Part288 = Instance.new("Part")
  317. BlockMesh289 = Instance.new("BlockMesh")
  318. Model290 = Instance.new("Model")
  319. Part291 = Instance.new("Part")
  320. BlockMesh292 = Instance.new("BlockMesh")
  321. Part293 = Instance.new("Part")
  322. BlockMesh294 = Instance.new("BlockMesh")
  323. Part295 = Instance.new("Part")
  324. SpecialMesh296 = Instance.new("SpecialMesh")
  325. Part297 = Instance.new("Part")
  326. CylinderMesh298 = Instance.new("CylinderMesh")
  327. Model299 = Instance.new("Model")
  328. Model300 = Instance.new("Model")
  329. Part301 = Instance.new("Part")
  330. SpecialMesh302 = Instance.new("SpecialMesh")
  331. Part303 = Instance.new("Part")
  332. SpecialMesh304 = Instance.new("SpecialMesh")
  333. Script305 = Instance.new("Script")
  334. Part306 = Instance.new("Part")
  335. CylinderMesh307 = Instance.new("CylinderMesh")
  336. Model308 = Instance.new("Model")
  337. Part309 = Instance.new("Part")
  338. CylinderMesh310 = Instance.new("CylinderMesh")
  339. Part311 = Instance.new("Part")
  340. CylinderMesh312 = Instance.new("CylinderMesh")
  341. Part313 = Instance.new("Part")
  342. CylinderMesh314 = Instance.new("CylinderMesh")
  343. Part315 = Instance.new("Part")
  344. CylinderMesh316 = Instance.new("CylinderMesh")
  345. Part317 = Instance.new("Part")
  346. CylinderMesh318 = Instance.new("CylinderMesh")
  347. Part319 = Instance.new("Part")
  348. CylinderMesh320 = Instance.new("CylinderMesh")
  349. Script321 = Instance.new("Script")
  350. Part322 = Instance.new("Part")
  351. BlockMesh323 = Instance.new("BlockMesh")
  352. CylinderMesh324 = Instance.new("CylinderMesh")
  353. ClickDetector325 = Instance.new("ClickDetector")
  354. Model326 = Instance.new("Model")
  355. Model327 = Instance.new("Model")
  356. Model328 = Instance.new("Model")
  357. Part329 = Instance.new("Part")
  358. BlockMesh330 = Instance.new("BlockMesh")
  359. Part331 = Instance.new("Part")
  360. BlockMesh332 = Instance.new("BlockMesh")
  361. Model333 = Instance.new("Model")
  362. Part334 = Instance.new("Part")
  363. BlockMesh335 = Instance.new("BlockMesh")
  364. Part336 = Instance.new("Part")
  365. BlockMesh337 = Instance.new("BlockMesh")
  366. Part338 = Instance.new("Part")
  367. BlockMesh339 = Instance.new("BlockMesh")
  368. Part340 = Instance.new("Part")
  369. BlockMesh341 = Instance.new("BlockMesh")
  370. Part342 = Instance.new("Part")
  371. BlockMesh343 = Instance.new("BlockMesh")
  372. Part344 = Instance.new("Part")
  373. BlockMesh345 = Instance.new("BlockMesh")
  374. Model346 = Instance.new("Model")
  375. Part347 = Instance.new("Part")
  376. BlockMesh348 = Instance.new("BlockMesh")
  377. Part349 = Instance.new("Part")
  378. BlockMesh350 = Instance.new("BlockMesh")
  379. Model351 = Instance.new("Model")
  380. Model352 = Instance.new("Model")
  381. Model353 = Instance.new("Model")
  382. Part354 = Instance.new("Part")
  383. CylinderMesh355 = Instance.new("CylinderMesh")
  384. Part356 = Instance.new("Part")
  385. CylinderMesh357 = Instance.new("CylinderMesh")
  386. Part358 = Instance.new("Part")
  387. CylinderMesh359 = Instance.new("CylinderMesh")
  388. Part360 = Instance.new("Part")
  389. CylinderMesh361 = Instance.new("CylinderMesh")
  390. Part362 = Instance.new("Part")
  391. BlockMesh363 = Instance.new("BlockMesh")
  392. Part364 = Instance.new("Part")
  393. BlockMesh365 = Instance.new("BlockMesh")
  394. Model366 = Instance.new("Model")
  395. Part367 = Instance.new("Part")
  396. BlockMesh368 = Instance.new("BlockMesh")
  397. Part369 = Instance.new("Part")
  398. BlockMesh370 = Instance.new("BlockMesh")
  399. Part371 = Instance.new("Part")
  400. SpecialMesh372 = Instance.new("SpecialMesh")
  401. Part373 = Instance.new("Part")
  402. CylinderMesh374 = Instance.new("CylinderMesh")
  403. Model375 = Instance.new("Model")
  404. Model376 = Instance.new("Model")
  405. Part377 = Instance.new("Part")
  406. SpecialMesh378 = Instance.new("SpecialMesh")
  407. Part379 = Instance.new("Part")
  408. SpecialMesh380 = Instance.new("SpecialMesh")
  409. Script381 = Instance.new("Script")
  410. Part382 = Instance.new("Part")
  411. CylinderMesh383 = Instance.new("CylinderMesh")
  412. Model384 = Instance.new("Model")
  413. Part385 = Instance.new("Part")
  414. CylinderMesh386 = Instance.new("CylinderMesh")
  415. Part387 = Instance.new("Part")
  416. CylinderMesh388 = Instance.new("CylinderMesh")
  417. Part389 = Instance.new("Part")
  418. CylinderMesh390 = Instance.new("CylinderMesh")
  419. Part391 = Instance.new("Part")
  420. CylinderMesh392 = Instance.new("CylinderMesh")
  421. Part393 = Instance.new("Part")
  422. CylinderMesh394 = Instance.new("CylinderMesh")
  423. Part395 = Instance.new("Part")
  424. CylinderMesh396 = Instance.new("CylinderMesh")
  425. Script397 = Instance.new("Script")
  426. Part398 = Instance.new("Part")
  427. BlockMesh399 = Instance.new("BlockMesh")
  428. CylinderMesh400 = Instance.new("CylinderMesh")
  429. ClickDetector401 = Instance.new("ClickDetector")
  430. Model402 = Instance.new("Model")
  431. Model403 = Instance.new("Model")
  432. Model404 = Instance.new("Model")
  433. Model405 = Instance.new("Model")
  434. Part406 = Instance.new("Part")
  435. BlockMesh407 = Instance.new("BlockMesh")
  436. Part408 = Instance.new("Part")
  437. BlockMesh409 = Instance.new("BlockMesh")
  438. Model410 = Instance.new("Model")
  439. Part411 = Instance.new("Part")
  440. BlockMesh412 = Instance.new("BlockMesh")
  441. Part413 = Instance.new("Part")
  442. BlockMesh414 = Instance.new("BlockMesh")
  443. Part415 = Instance.new("Part")
  444. BlockMesh416 = Instance.new("BlockMesh")
  445. Part417 = Instance.new("Part")
  446. BlockMesh418 = Instance.new("BlockMesh")
  447. Part419 = Instance.new("Part")
  448. BlockMesh420 = Instance.new("BlockMesh")
  449. Part421 = Instance.new("Part")
  450. BlockMesh422 = Instance.new("BlockMesh")
  451. Model423 = Instance.new("Model")
  452. Part424 = Instance.new("Part")
  453. BlockMesh425 = Instance.new("BlockMesh")
  454. Part426 = Instance.new("Part")
  455. BlockMesh427 = Instance.new("BlockMesh")
  456. Model428 = Instance.new("Model")
  457. Model429 = Instance.new("Model")
  458. Model430 = Instance.new("Model")
  459. Part431 = Instance.new("Part")
  460. CylinderMesh432 = Instance.new("CylinderMesh")
  461. Part433 = Instance.new("Part")
  462. CylinderMesh434 = Instance.new("CylinderMesh")
  463. Part435 = Instance.new("Part")
  464. CylinderMesh436 = Instance.new("CylinderMesh")
  465. Part437 = Instance.new("Part")
  466. CylinderMesh438 = Instance.new("CylinderMesh")
  467. Part439 = Instance.new("Part")
  468. BlockMesh440 = Instance.new("BlockMesh")
  469. Part441 = Instance.new("Part")
  470. BlockMesh442 = Instance.new("BlockMesh")
  471. Model443 = Instance.new("Model")
  472. Part444 = Instance.new("Part")
  473. BlockMesh445 = Instance.new("BlockMesh")
  474. Part446 = Instance.new("Part")
  475. BlockMesh447 = Instance.new("BlockMesh")
  476. Part448 = Instance.new("Part")
  477. SpecialMesh449 = Instance.new("SpecialMesh")
  478. Part450 = Instance.new("Part")
  479. CylinderMesh451 = Instance.new("CylinderMesh")
  480. Model452 = Instance.new("Model")
  481. Model453 = Instance.new("Model")
  482. Part454 = Instance.new("Part")
  483. SpecialMesh455 = Instance.new("SpecialMesh")
  484. Part456 = Instance.new("Part")
  485. SpecialMesh457 = Instance.new("SpecialMesh")
  486. Script458 = Instance.new("Script")
  487. Part459 = Instance.new("Part")
  488. CylinderMesh460 = Instance.new("CylinderMesh")
  489. Model461 = Instance.new("Model")
  490. Part462 = Instance.new("Part")
  491. CylinderMesh463 = Instance.new("CylinderMesh")
  492. Part464 = Instance.new("Part")
  493. CylinderMesh465 = Instance.new("CylinderMesh")
  494. Part466 = Instance.new("Part")
  495. CylinderMesh467 = Instance.new("CylinderMesh")
  496. Part468 = Instance.new("Part")
  497. CylinderMesh469 = Instance.new("CylinderMesh")
  498. Part470 = Instance.new("Part")
  499. CylinderMesh471 = Instance.new("CylinderMesh")
  500. Part472 = Instance.new("Part")
  501. CylinderMesh473 = Instance.new("CylinderMesh")
  502. Script474 = Instance.new("Script")
  503. Part475 = Instance.new("Part")
  504. BlockMesh476 = Instance.new("BlockMesh")
  505. CylinderMesh477 = Instance.new("CylinderMesh")
  506. ClickDetector478 = Instance.new("ClickDetector")
  507. Part479 = Instance.new("Part")
  508. Part480 = Instance.new("Part")
  509. Part481 = Instance.new("Part")
  510. Model482 = Instance.new("Model")
  511. Model483 = Instance.new("Model")
  512. Model484 = Instance.new("Model")
  513. Model485 = Instance.new("Model")
  514. Part486 = Instance.new("Part")
  515. BlockMesh487 = Instance.new("BlockMesh")
  516. Part488 = Instance.new("Part")
  517. BlockMesh489 = Instance.new("BlockMesh")
  518. Model490 = Instance.new("Model")
  519. Part491 = Instance.new("Part")
  520. BlockMesh492 = Instance.new("BlockMesh")
  521. Part493 = Instance.new("Part")
  522. BlockMesh494 = Instance.new("BlockMesh")
  523. Part495 = Instance.new("Part")
  524. BlockMesh496 = Instance.new("BlockMesh")
  525. Part497 = Instance.new("Part")
  526. BlockMesh498 = Instance.new("BlockMesh")
  527. Part499 = Instance.new("Part")
  528. BlockMesh500 = Instance.new("BlockMesh")
  529. Part501 = Instance.new("Part")
  530. BlockMesh502 = Instance.new("BlockMesh")
  531. Model503 = Instance.new("Model")
  532. Part504 = Instance.new("Part")
  533. BlockMesh505 = Instance.new("BlockMesh")
  534. Part506 = Instance.new("Part")
  535. BlockMesh507 = Instance.new("BlockMesh")
  536. Model508 = Instance.new("Model")
  537. Model509 = Instance.new("Model")
  538. Model510 = Instance.new("Model")
  539. Part511 = Instance.new("Part")
  540. CylinderMesh512 = Instance.new("CylinderMesh")
  541. Part513 = Instance.new("Part")
  542. CylinderMesh514 = Instance.new("CylinderMesh")
  543. Part515 = Instance.new("Part")
  544. CylinderMesh516 = Instance.new("CylinderMesh")
  545. Part517 = Instance.new("Part")
  546. CylinderMesh518 = Instance.new("CylinderMesh")
  547. Part519 = Instance.new("Part")
  548. BlockMesh520 = Instance.new("BlockMesh")
  549. Part521 = Instance.new("Part")
  550. BlockMesh522 = Instance.new("BlockMesh")
  551. Model523 = Instance.new("Model")
  552. Part524 = Instance.new("Part")
  553. BlockMesh525 = Instance.new("BlockMesh")
  554. Part526 = Instance.new("Part")
  555. BlockMesh527 = Instance.new("BlockMesh")
  556. Part528 = Instance.new("Part")
  557. SpecialMesh529 = Instance.new("SpecialMesh")
  558. Part530 = Instance.new("Part")
  559. CylinderMesh531 = Instance.new("CylinderMesh")
  560. Model532 = Instance.new("Model")
  561. Model533 = Instance.new("Model")
  562. Part534 = Instance.new("Part")
  563. SpecialMesh535 = Instance.new("SpecialMesh")
  564. Part536 = Instance.new("Part")
  565. SpecialMesh537 = Instance.new("SpecialMesh")
  566. Script538 = Instance.new("Script")
  567. Part539 = Instance.new("Part")
  568. CylinderMesh540 = Instance.new("CylinderMesh")
  569. Model541 = Instance.new("Model")
  570. Part542 = Instance.new("Part")
  571. CylinderMesh543 = Instance.new("CylinderMesh")
  572. Part544 = Instance.new("Part")
  573. CylinderMesh545 = Instance.new("CylinderMesh")
  574. Part546 = Instance.new("Part")
  575. CylinderMesh547 = Instance.new("CylinderMesh")
  576. Part548 = Instance.new("Part")
  577. CylinderMesh549 = Instance.new("CylinderMesh")
  578. Part550 = Instance.new("Part")
  579. CylinderMesh551 = Instance.new("CylinderMesh")
  580. Part552 = Instance.new("Part")
  581. CylinderMesh553 = Instance.new("CylinderMesh")
  582. Script554 = Instance.new("Script")
  583. Part555 = Instance.new("Part")
  584. BlockMesh556 = Instance.new("BlockMesh")
  585. CylinderMesh557 = Instance.new("CylinderMesh")
  586. ClickDetector558 = Instance.new("ClickDetector")
  587. Model559 = Instance.new("Model")
  588. Model560 = Instance.new("Model")
  589. Model561 = Instance.new("Model")
  590. Model562 = Instance.new("Model")
  591. Part563 = Instance.new("Part")
  592. BlockMesh564 = Instance.new("BlockMesh")
  593. Part565 = Instance.new("Part")
  594. BlockMesh566 = Instance.new("BlockMesh")
  595. Model567 = Instance.new("Model")
  596. Part568 = Instance.new("Part")
  597. BlockMesh569 = Instance.new("BlockMesh")
  598. Part570 = Instance.new("Part")
  599. BlockMesh571 = Instance.new("BlockMesh")
  600. Part572 = Instance.new("Part")
  601. BlockMesh573 = Instance.new("BlockMesh")
  602. Part574 = Instance.new("Part")
  603. BlockMesh575 = Instance.new("BlockMesh")
  604. Part576 = Instance.new("Part")
  605. BlockMesh577 = Instance.new("BlockMesh")
  606. Part578 = Instance.new("Part")
  607. BlockMesh579 = Instance.new("BlockMesh")
  608. Model580 = Instance.new("Model")
  609. Part581 = Instance.new("Part")
  610. BlockMesh582 = Instance.new("BlockMesh")
  611. Part583 = Instance.new("Part")
  612. BlockMesh584 = Instance.new("BlockMesh")
  613. Model585 = Instance.new("Model")
  614. Model586 = Instance.new("Model")
  615. Model587 = Instance.new("Model")
  616. Part588 = Instance.new("Part")
  617. CylinderMesh589 = Instance.new("CylinderMesh")
  618. Part590 = Instance.new("Part")
  619. CylinderMesh591 = Instance.new("CylinderMesh")
  620. Part592 = Instance.new("Part")
  621. CylinderMesh593 = Instance.new("CylinderMesh")
  622. Part594 = Instance.new("Part")
  623. CylinderMesh595 = Instance.new("CylinderMesh")
  624. Part596 = Instance.new("Part")
  625. BlockMesh597 = Instance.new("BlockMesh")
  626. Part598 = Instance.new("Part")
  627. BlockMesh599 = Instance.new("BlockMesh")
  628. Model600 = Instance.new("Model")
  629. Part601 = Instance.new("Part")
  630. BlockMesh602 = Instance.new("BlockMesh")
  631. Part603 = Instance.new("Part")
  632. BlockMesh604 = Instance.new("BlockMesh")
  633. Part605 = Instance.new("Part")
  634. SpecialMesh606 = Instance.new("SpecialMesh")
  635. Part607 = Instance.new("Part")
  636. CylinderMesh608 = Instance.new("CylinderMesh")
  637. Model609 = Instance.new("Model")
  638. Model610 = Instance.new("Model")
  639. Part611 = Instance.new("Part")
  640. SpecialMesh612 = Instance.new("SpecialMesh")
  641. Part613 = Instance.new("Part")
  642. SpecialMesh614 = Instance.new("SpecialMesh")
  643. Script615 = Instance.new("Script")
  644. Part616 = Instance.new("Part")
  645. CylinderMesh617 = Instance.new("CylinderMesh")
  646. Model618 = Instance.new("Model")
  647. Part619 = Instance.new("Part")
  648. CylinderMesh620 = Instance.new("CylinderMesh")
  649. Part621 = Instance.new("Part")
  650. CylinderMesh622 = Instance.new("CylinderMesh")
  651. Part623 = Instance.new("Part")
  652. CylinderMesh624 = Instance.new("CylinderMesh")
  653. Part625 = Instance.new("Part")
  654. CylinderMesh626 = Instance.new("CylinderMesh")
  655. Part627 = Instance.new("Part")
  656. CylinderMesh628 = Instance.new("CylinderMesh")
  657. Part629 = Instance.new("Part")
  658. CylinderMesh630 = Instance.new("CylinderMesh")
  659. Script631 = Instance.new("Script")
  660. Part632 = Instance.new("Part")
  661. BlockMesh633 = Instance.new("BlockMesh")
  662. CylinderMesh634 = Instance.new("CylinderMesh")
  663. ClickDetector635 = Instance.new("ClickDetector")
  664. Model636 = Instance.new("Model")
  665. Model637 = Instance.new("Model")
  666. Model638 = Instance.new("Model")
  667. Model639 = Instance.new("Model")
  668. Part640 = Instance.new("Part")
  669. BlockMesh641 = Instance.new("BlockMesh")
  670. Part642 = Instance.new("Part")
  671. BlockMesh643 = Instance.new("BlockMesh")
  672. Model644 = Instance.new("Model")
  673. Part645 = Instance.new("Part")
  674. BlockMesh646 = Instance.new("BlockMesh")
  675. Part647 = Instance.new("Part")
  676. BlockMesh648 = Instance.new("BlockMesh")
  677. Part649 = Instance.new("Part")
  678. BlockMesh650 = Instance.new("BlockMesh")
  679. Part651 = Instance.new("Part")
  680. BlockMesh652 = Instance.new("BlockMesh")
  681. Part653 = Instance.new("Part")
  682. BlockMesh654 = Instance.new("BlockMesh")
  683. Part655 = Instance.new("Part")
  684. BlockMesh656 = Instance.new("BlockMesh")
  685. Model657 = Instance.new("Model")
  686. Part658 = Instance.new("Part")
  687. BlockMesh659 = Instance.new("BlockMesh")
  688. Part660 = Instance.new("Part")
  689. BlockMesh661 = Instance.new("BlockMesh")
  690. Model662 = Instance.new("Model")
  691. Model663 = Instance.new("Model")
  692. Model664 = Instance.new("Model")
  693. Part665 = Instance.new("Part")
  694. CylinderMesh666 = Instance.new("CylinderMesh")
  695. Part667 = Instance.new("Part")
  696. CylinderMesh668 = Instance.new("CylinderMesh")
  697. Part669 = Instance.new("Part")
  698. CylinderMesh670 = Instance.new("CylinderMesh")
  699. Part671 = Instance.new("Part")
  700. CylinderMesh672 = Instance.new("CylinderMesh")
  701. Part673 = Instance.new("Part")
  702. BlockMesh674 = Instance.new("BlockMesh")
  703. Part675 = Instance.new("Part")
  704. BlockMesh676 = Instance.new("BlockMesh")
  705. Model677 = Instance.new("Model")
  706. Part678 = Instance.new("Part")
  707. BlockMesh679 = Instance.new("BlockMesh")
  708. Part680 = Instance.new("Part")
  709. BlockMesh681 = Instance.new("BlockMesh")
  710. Part682 = Instance.new("Part")
  711. SpecialMesh683 = Instance.new("SpecialMesh")
  712. Part684 = Instance.new("Part")
  713. CylinderMesh685 = Instance.new("CylinderMesh")
  714. Model686 = Instance.new("Model")
  715. Model687 = Instance.new("Model")
  716. Part688 = Instance.new("Part")
  717. SpecialMesh689 = Instance.new("SpecialMesh")
  718. Part690 = Instance.new("Part")
  719. SpecialMesh691 = Instance.new("SpecialMesh")
  720. Script692 = Instance.new("Script")
  721. Part693 = Instance.new("Part")
  722. CylinderMesh694 = Instance.new("CylinderMesh")
  723. Model695 = Instance.new("Model")
  724. Part696 = Instance.new("Part")
  725. CylinderMesh697 = Instance.new("CylinderMesh")
  726. Part698 = Instance.new("Part")
  727. CylinderMesh699 = Instance.new("CylinderMesh")
  728. Part700 = Instance.new("Part")
  729. CylinderMesh701 = Instance.new("CylinderMesh")
  730. Part702 = Instance.new("Part")
  731. CylinderMesh703 = Instance.new("CylinderMesh")
  732. Part704 = Instance.new("Part")
  733. CylinderMesh705 = Instance.new("CylinderMesh")
  734. Part706 = Instance.new("Part")
  735. CylinderMesh707 = Instance.new("CylinderMesh")
  736. Script708 = Instance.new("Script")
  737. Part709 = Instance.new("Part")
  738. BlockMesh710 = Instance.new("BlockMesh")
  739. CylinderMesh711 = Instance.new("CylinderMesh")
  740. ClickDetector712 = Instance.new("ClickDetector")
  741. Model713 = Instance.new("Model")
  742. Model714 = Instance.new("Model")
  743. Model715 = Instance.new("Model")
  744. Model716 = Instance.new("Model")
  745. Part717 = Instance.new("Part")
  746. BlockMesh718 = Instance.new("BlockMesh")
  747. Part719 = Instance.new("Part")
  748. BlockMesh720 = Instance.new("BlockMesh")
  749. Model721 = Instance.new("Model")
  750. Part722 = Instance.new("Part")
  751. BlockMesh723 = Instance.new("BlockMesh")
  752. Part724 = Instance.new("Part")
  753. BlockMesh725 = Instance.new("BlockMesh")
  754. Part726 = Instance.new("Part")
  755. BlockMesh727 = Instance.new("BlockMesh")
  756. Part728 = Instance.new("Part")
  757. BlockMesh729 = Instance.new("BlockMesh")
  758. Part730 = Instance.new("Part")
  759. BlockMesh731 = Instance.new("BlockMesh")
  760. Part732 = Instance.new("Part")
  761. BlockMesh733 = Instance.new("BlockMesh")
  762. Model734 = Instance.new("Model")
  763. Part735 = Instance.new("Part")
  764. BlockMesh736 = Instance.new("BlockMesh")
  765. Part737 = Instance.new("Part")
  766. BlockMesh738 = Instance.new("BlockMesh")
  767. Model739 = Instance.new("Model")
  768. Model740 = Instance.new("Model")
  769. Model741 = Instance.new("Model")
  770. Part742 = Instance.new("Part")
  771. CylinderMesh743 = Instance.new("CylinderMesh")
  772. Part744 = Instance.new("Part")
  773. CylinderMesh745 = Instance.new("CylinderMesh")
  774. Part746 = Instance.new("Part")
  775. CylinderMesh747 = Instance.new("CylinderMesh")
  776. Part748 = Instance.new("Part")
  777. CylinderMesh749 = Instance.new("CylinderMesh")
  778. Part750 = Instance.new("Part")
  779. BlockMesh751 = Instance.new("BlockMesh")
  780. Part752 = Instance.new("Part")
  781. BlockMesh753 = Instance.new("BlockMesh")
  782. Model754 = Instance.new("Model")
  783. Part755 = Instance.new("Part")
  784. BlockMesh756 = Instance.new("BlockMesh")
  785. Part757 = Instance.new("Part")
  786. BlockMesh758 = Instance.new("BlockMesh")
  787. Part759 = Instance.new("Part")
  788. SpecialMesh760 = Instance.new("SpecialMesh")
  789. Part761 = Instance.new("Part")
  790. CylinderMesh762 = Instance.new("CylinderMesh")
  791. Model763 = Instance.new("Model")
  792. Model764 = Instance.new("Model")
  793. Part765 = Instance.new("Part")
  794. SpecialMesh766 = Instance.new("SpecialMesh")
  795. Part767 = Instance.new("Part")
  796. SpecialMesh768 = Instance.new("SpecialMesh")
  797. Script769 = Instance.new("Script")
  798. Part770 = Instance.new("Part")
  799. CylinderMesh771 = Instance.new("CylinderMesh")
  800. Model772 = Instance.new("Model")
  801. Part773 = Instance.new("Part")
  802. CylinderMesh774 = Instance.new("CylinderMesh")
  803. Part775 = Instance.new("Part")
  804. CylinderMesh776 = Instance.new("CylinderMesh")
  805. Part777 = Instance.new("Part")
  806. CylinderMesh778 = Instance.new("CylinderMesh")
  807. Part779 = Instance.new("Part")
  808. CylinderMesh780 = Instance.new("CylinderMesh")
  809. Part781 = Instance.new("Part")
  810. CylinderMesh782 = Instance.new("CylinderMesh")
  811. Part783 = Instance.new("Part")
  812. CylinderMesh784 = Instance.new("CylinderMesh")
  813. Script785 = Instance.new("Script")
  814. Part786 = Instance.new("Part")
  815. BlockMesh787 = Instance.new("BlockMesh")
  816. CylinderMesh788 = Instance.new("CylinderMesh")
  817. ClickDetector789 = Instance.new("ClickDetector")
  818. Model790 = Instance.new("Model")
  819. Model791 = Instance.new("Model")
  820. Model792 = Instance.new("Model")
  821. Model793 = Instance.new("Model")
  822. Part794 = Instance.new("Part")
  823. BlockMesh795 = Instance.new("BlockMesh")
  824. Part796 = Instance.new("Part")
  825. BlockMesh797 = Instance.new("BlockMesh")
  826. Model798 = Instance.new("Model")
  827. Part799 = Instance.new("Part")
  828. BlockMesh800 = Instance.new("BlockMesh")
  829. Part801 = Instance.new("Part")
  830. BlockMesh802 = Instance.new("BlockMesh")
  831. Part803 = Instance.new("Part")
  832. BlockMesh804 = Instance.new("BlockMesh")
  833. Part805 = Instance.new("Part")
  834. BlockMesh806 = Instance.new("BlockMesh")
  835. Part807 = Instance.new("Part")
  836. BlockMesh808 = Instance.new("BlockMesh")
  837. Part809 = Instance.new("Part")
  838. BlockMesh810 = Instance.new("BlockMesh")
  839. Model811 = Instance.new("Model")
  840. Part812 = Instance.new("Part")
  841. BlockMesh813 = Instance.new("BlockMesh")
  842. Part814 = Instance.new("Part")
  843. BlockMesh815 = Instance.new("BlockMesh")
  844. Model816 = Instance.new("Model")
  845. Model817 = Instance.new("Model")
  846. Model818 = Instance.new("Model")
  847. Part819 = Instance.new("Part")
  848. CylinderMesh820 = Instance.new("CylinderMesh")
  849. Part821 = Instance.new("Part")
  850. CylinderMesh822 = Instance.new("CylinderMesh")
  851. Part823 = Instance.new("Part")
  852. CylinderMesh824 = Instance.new("CylinderMesh")
  853. Part825 = Instance.new("Part")
  854. CylinderMesh826 = Instance.new("CylinderMesh")
  855. Part827 = Instance.new("Part")
  856. BlockMesh828 = Instance.new("BlockMesh")
  857. Part829 = Instance.new("Part")
  858. BlockMesh830 = Instance.new("BlockMesh")
  859. Model831 = Instance.new("Model")
  860. Part832 = Instance.new("Part")
  861. BlockMesh833 = Instance.new("BlockMesh")
  862. Part834 = Instance.new("Part")
  863. BlockMesh835 = Instance.new("BlockMesh")
  864. Part836 = Instance.new("Part")
  865. SpecialMesh837 = Instance.new("SpecialMesh")
  866. Part838 = Instance.new("Part")
  867. CylinderMesh839 = Instance.new("CylinderMesh")
  868. Model840 = Instance.new("Model")
  869. Model841 = Instance.new("Model")
  870. Part842 = Instance.new("Part")
  871. SpecialMesh843 = Instance.new("SpecialMesh")
  872. Part844 = Instance.new("Part")
  873. SpecialMesh845 = Instance.new("SpecialMesh")
  874. Script846 = Instance.new("Script")
  875. Part847 = Instance.new("Part")
  876. CylinderMesh848 = Instance.new("CylinderMesh")
  877. Model849 = Instance.new("Model")
  878. Part850 = Instance.new("Part")
  879. CylinderMesh851 = Instance.new("CylinderMesh")
  880. Part852 = Instance.new("Part")
  881. CylinderMesh853 = Instance.new("CylinderMesh")
  882. Part854 = Instance.new("Part")
  883. CylinderMesh855 = Instance.new("CylinderMesh")
  884. Part856 = Instance.new("Part")
  885. CylinderMesh857 = Instance.new("CylinderMesh")
  886. Part858 = Instance.new("Part")
  887. CylinderMesh859 = Instance.new("CylinderMesh")
  888. Part860 = Instance.new("Part")
  889. CylinderMesh861 = Instance.new("CylinderMesh")
  890. Script862 = Instance.new("Script")
  891. Part863 = Instance.new("Part")
  892. BlockMesh864 = Instance.new("BlockMesh")
  893. CylinderMesh865 = Instance.new("CylinderMesh")
  894. ClickDetector866 = Instance.new("ClickDetector")
  895. Model867 = Instance.new("Model")
  896. Model868 = Instance.new("Model")
  897. Model869 = Instance.new("Model")
  898. Model870 = Instance.new("Model")
  899. Part871 = Instance.new("Part")
  900. BlockMesh872 = Instance.new("BlockMesh")
  901. Part873 = Instance.new("Part")
  902. BlockMesh874 = Instance.new("BlockMesh")
  903. Model875 = Instance.new("Model")
  904. Part876 = Instance.new("Part")
  905. BlockMesh877 = Instance.new("BlockMesh")
  906. Part878 = Instance.new("Part")
  907. BlockMesh879 = Instance.new("BlockMesh")
  908. Part880 = Instance.new("Part")
  909. BlockMesh881 = Instance.new("BlockMesh")
  910. Part882 = Instance.new("Part")
  911. BlockMesh883 = Instance.new("BlockMesh")
  912. Part884 = Instance.new("Part")
  913. BlockMesh885 = Instance.new("BlockMesh")
  914. Part886 = Instance.new("Part")
  915. BlockMesh887 = Instance.new("BlockMesh")
  916. Model888 = Instance.new("Model")
  917. Part889 = Instance.new("Part")
  918. BlockMesh890 = Instance.new("BlockMesh")
  919. Part891 = Instance.new("Part")
  920. BlockMesh892 = Instance.new("BlockMesh")
  921. Model893 = Instance.new("Model")
  922. Model894 = Instance.new("Model")
  923. Model895 = Instance.new("Model")
  924. Part896 = Instance.new("Part")
  925. CylinderMesh897 = Instance.new("CylinderMesh")
  926. Part898 = Instance.new("Part")
  927. CylinderMesh899 = Instance.new("CylinderMesh")
  928. Part900 = Instance.new("Part")
  929. CylinderMesh901 = Instance.new("CylinderMesh")
  930. Part902 = Instance.new("Part")
  931. CylinderMesh903 = Instance.new("CylinderMesh")
  932. Part904 = Instance.new("Part")
  933. BlockMesh905 = Instance.new("BlockMesh")
  934. Part906 = Instance.new("Part")
  935. BlockMesh907 = Instance.new("BlockMesh")
  936. Model908 = Instance.new("Model")
  937. Part909 = Instance.new("Part")
  938. BlockMesh910 = Instance.new("BlockMesh")
  939. Part911 = Instance.new("Part")
  940. BlockMesh912 = Instance.new("BlockMesh")
  941. Part913 = Instance.new("Part")
  942. SpecialMesh914 = Instance.new("SpecialMesh")
  943. Part915 = Instance.new("Part")
  944. CylinderMesh916 = Instance.new("CylinderMesh")
  945. Model917 = Instance.new("Model")
  946. Model918 = Instance.new("Model")
  947. Part919 = Instance.new("Part")
  948. SpecialMesh920 = Instance.new("SpecialMesh")
  949. Part921 = Instance.new("Part")
  950. SpecialMesh922 = Instance.new("SpecialMesh")
  951. Script923 = Instance.new("Script")
  952. Part924 = Instance.new("Part")
  953. CylinderMesh925 = Instance.new("CylinderMesh")
  954. Model926 = Instance.new("Model")
  955. Part927 = Instance.new("Part")
  956. CylinderMesh928 = Instance.new("CylinderMesh")
  957. Part929 = Instance.new("Part")
  958. CylinderMesh930 = Instance.new("CylinderMesh")
  959. Part931 = Instance.new("Part")
  960. CylinderMesh932 = Instance.new("CylinderMesh")
  961. Part933 = Instance.new("Part")
  962. CylinderMesh934 = Instance.new("CylinderMesh")
  963. Part935 = Instance.new("Part")
  964. CylinderMesh936 = Instance.new("CylinderMesh")
  965. Part937 = Instance.new("Part")
  966. CylinderMesh938 = Instance.new("CylinderMesh")
  967. Script939 = Instance.new("Script")
  968. Part940 = Instance.new("Part")
  969. BlockMesh941 = Instance.new("BlockMesh")
  970. CylinderMesh942 = Instance.new("CylinderMesh")
  971. ClickDetector943 = Instance.new("ClickDetector")
  972. Model944 = Instance.new("Model")
  973. Model945 = Instance.new("Model")
  974. Model946 = Instance.new("Model")
  975. Part947 = Instance.new("Part")
  976. BlockMesh948 = Instance.new("BlockMesh")
  977. Part949 = Instance.new("Part")
  978. BlockMesh950 = Instance.new("BlockMesh")
  979. Model951 = Instance.new("Model")
  980. Part952 = Instance.new("Part")
  981. BlockMesh953 = Instance.new("BlockMesh")
  982. Part954 = Instance.new("Part")
  983. BlockMesh955 = Instance.new("BlockMesh")
  984. Part956 = Instance.new("Part")
  985. BlockMesh957 = Instance.new("BlockMesh")
  986. Part958 = Instance.new("Part")
  987. BlockMesh959 = Instance.new("BlockMesh")
  988. Part960 = Instance.new("Part")
  989. BlockMesh961 = Instance.new("BlockMesh")
  990. Part962 = Instance.new("Part")
  991. BlockMesh963 = Instance.new("BlockMesh")
  992. Model964 = Instance.new("Model")
  993. Part965 = Instance.new("Part")
  994. BlockMesh966 = Instance.new("BlockMesh")
  995. Part967 = Instance.new("Part")
  996. BlockMesh968 = Instance.new("BlockMesh")
  997. Model969 = Instance.new("Model")
  998. Model970 = Instance.new("Model")
  999. Model971 = Instance.new("Model")
  1000. Part972 = Instance.new("Part")
  1001. CylinderMesh973 = Instance.new("CylinderMesh")
  1002. Part974 = Instance.new("Part")
  1003. CylinderMesh975 = Instance.new("CylinderMesh")
  1004. Part976 = Instance.new("Part")
  1005. CylinderMesh977 = Instance.new("CylinderMesh")
  1006. Part978 = Instance.new("Part")
  1007. CylinderMesh979 = Instance.new("CylinderMesh")
  1008. Part980 = Instance.new("Part")
  1009. BlockMesh981 = Instance.new("BlockMesh")
  1010. Part982 = Instance.new("Part")
  1011. BlockMesh983 = Instance.new("BlockMesh")
  1012. Model984 = Instance.new("Model")
  1013. Part985 = Instance.new("Part")
  1014. BlockMesh986 = Instance.new("BlockMesh")
  1015. Part987 = Instance.new("Part")
  1016. BlockMesh988 = Instance.new("BlockMesh")
  1017. Part989 = Instance.new("Part")
  1018. SpecialMesh990 = Instance.new("SpecialMesh")
  1019. Part991 = Instance.new("Part")
  1020. CylinderMesh992 = Instance.new("CylinderMesh")
  1021. Model993 = Instance.new("Model")
  1022. Model994 = Instance.new("Model")
  1023. Part995 = Instance.new("Part")
  1024. SpecialMesh996 = Instance.new("SpecialMesh")
  1025. Part997 = Instance.new("Part")
  1026. SpecialMesh998 = Instance.new("SpecialMesh")
  1027. Script999 = Instance.new("Script")
  1028. Part1000 = Instance.new("Part")
  1029. CylinderMesh1001 = Instance.new("CylinderMesh")
  1030. Model1002 = Instance.new("Model")
  1031. Part1003 = Instance.new("Part")
  1032. CylinderMesh1004 = Instance.new("CylinderMesh")
  1033. Part1005 = Instance.new("Part")
  1034. CylinderMesh1006 = Instance.new("CylinderMesh")
  1035. Part1007 = Instance.new("Part")
  1036. CylinderMesh1008 = Instance.new("CylinderMesh")
  1037. Part1009 = Instance.new("Part")
  1038. CylinderMesh1010 = Instance.new("CylinderMesh")
  1039. Part1011 = Instance.new("Part")
  1040. CylinderMesh1012 = Instance.new("CylinderMesh")
  1041. Part1013 = Instance.new("Part")
  1042. CylinderMesh1014 = Instance.new("CylinderMesh")
  1043. Script1015 = Instance.new("Script")
  1044. Part1016 = Instance.new("Part")
  1045. BlockMesh1017 = Instance.new("BlockMesh")
  1046. CylinderMesh1018 = Instance.new("CylinderMesh")
  1047. ClickDetector1019 = Instance.new("ClickDetector")
  1048. Model1020 = Instance.new("Model")
  1049. Model1021 = Instance.new("Model")
  1050. Model1022 = Instance.new("Model")
  1051. Part1023 = Instance.new("Part")
  1052. BlockMesh1024 = Instance.new("BlockMesh")
  1053. Part1025 = Instance.new("Part")
  1054. BlockMesh1026 = Instance.new("BlockMesh")
  1055. Model1027 = Instance.new("Model")
  1056. Part1028 = Instance.new("Part")
  1057. BlockMesh1029 = Instance.new("BlockMesh")
  1058. Part1030 = Instance.new("Part")
  1059. BlockMesh1031 = Instance.new("BlockMesh")
  1060. Part1032 = Instance.new("Part")
  1061. BlockMesh1033 = Instance.new("BlockMesh")
  1062. Part1034 = Instance.new("Part")
  1063. BlockMesh1035 = Instance.new("BlockMesh")
  1064. Part1036 = Instance.new("Part")
  1065. BlockMesh1037 = Instance.new("BlockMesh")
  1066. Part1038 = Instance.new("Part")
  1067. BlockMesh1039 = Instance.new("BlockMesh")
  1068. Model1040 = Instance.new("Model")
  1069. Part1041 = Instance.new("Part")
  1070. BlockMesh1042 = Instance.new("BlockMesh")
  1071. Part1043 = Instance.new("Part")
  1072. BlockMesh1044 = Instance.new("BlockMesh")
  1073. Model1045 = Instance.new("Model")
  1074. Model1046 = Instance.new("Model")
  1075. Model1047 = Instance.new("Model")
  1076. Part1048 = Instance.new("Part")
  1077. CylinderMesh1049 = Instance.new("CylinderMesh")
  1078. Part1050 = Instance.new("Part")
  1079. CylinderMesh1051 = Instance.new("CylinderMesh")
  1080. Part1052 = Instance.new("Part")
  1081. CylinderMesh1053 = Instance.new("CylinderMesh")
  1082. Part1054 = Instance.new("Part")
  1083. CylinderMesh1055 = Instance.new("CylinderMesh")
  1084. Part1056 = Instance.new("Part")
  1085. BlockMesh1057 = Instance.new("BlockMesh")
  1086. Part1058 = Instance.new("Part")
  1087. BlockMesh1059 = Instance.new("BlockMesh")
  1088. Model1060 = Instance.new("Model")
  1089. Part1061 = Instance.new("Part")
  1090. BlockMesh1062 = Instance.new("BlockMesh")
  1091. Part1063 = Instance.new("Part")
  1092. BlockMesh1064 = Instance.new("BlockMesh")
  1093. Part1065 = Instance.new("Part")
  1094. SpecialMesh1066 = Instance.new("SpecialMesh")
  1095. Part1067 = Instance.new("Part")
  1096. CylinderMesh1068 = Instance.new("CylinderMesh")
  1097. Model1069 = Instance.new("Model")
  1098. Model1070 = Instance.new("Model")
  1099. Part1071 = Instance.new("Part")
  1100. SpecialMesh1072 = Instance.new("SpecialMesh")
  1101. Part1073 = Instance.new("Part")
  1102. SpecialMesh1074 = Instance.new("SpecialMesh")
  1103. Script1075 = Instance.new("Script")
  1104. Part1076 = Instance.new("Part")
  1105. CylinderMesh1077 = Instance.new("CylinderMesh")
  1106. Model1078 = Instance.new("Model")
  1107. Part1079 = Instance.new("Part")
  1108. CylinderMesh1080 = Instance.new("CylinderMesh")
  1109. Part1081 = Instance.new("Part")
  1110. CylinderMesh1082 = Instance.new("CylinderMesh")
  1111. Part1083 = Instance.new("Part")
  1112. CylinderMesh1084 = Instance.new("CylinderMesh")
  1113. Part1085 = Instance.new("Part")
  1114. CylinderMesh1086 = Instance.new("CylinderMesh")
  1115. Part1087 = Instance.new("Part")
  1116. CylinderMesh1088 = Instance.new("CylinderMesh")
  1117. Part1089 = Instance.new("Part")
  1118. CylinderMesh1090 = Instance.new("CylinderMesh")
  1119. Script1091 = Instance.new("Script")
  1120. Part1092 = Instance.new("Part")
  1121. BlockMesh1093 = Instance.new("BlockMesh")
  1122. CylinderMesh1094 = Instance.new("CylinderMesh")
  1123. ClickDetector1095 = Instance.new("ClickDetector")
  1124. Model1096 = Instance.new("Model")
  1125. Model1097 = Instance.new("Model")
  1126. Model1098 = Instance.new("Model")
  1127. Part1099 = Instance.new("Part")
  1128. BlockMesh1100 = Instance.new("BlockMesh")
  1129. Part1101 = Instance.new("Part")
  1130. BlockMesh1102 = Instance.new("BlockMesh")
  1131. Model1103 = Instance.new("Model")
  1132. Part1104 = Instance.new("Part")
  1133. BlockMesh1105 = Instance.new("BlockMesh")
  1134. Part1106 = Instance.new("Part")
  1135. BlockMesh1107 = Instance.new("BlockMesh")
  1136. Part1108 = Instance.new("Part")
  1137. BlockMesh1109 = Instance.new("BlockMesh")
  1138. Part1110 = Instance.new("Part")
  1139. BlockMesh1111 = Instance.new("BlockMesh")
  1140. Part1112 = Instance.new("Part")
  1141. BlockMesh1113 = Instance.new("BlockMesh")
  1142. Part1114 = Instance.new("Part")
  1143. BlockMesh1115 = Instance.new("BlockMesh")
  1144. Model1116 = Instance.new("Model")
  1145. Part1117 = Instance.new("Part")
  1146. BlockMesh1118 = Instance.new("BlockMesh")
  1147. Part1119 = Instance.new("Part")
  1148. BlockMesh1120 = Instance.new("BlockMesh")
  1149. Model1121 = Instance.new("Model")
  1150. Model1122 = Instance.new("Model")
  1151. Model1123 = Instance.new("Model")
  1152. Part1124 = Instance.new("Part")
  1153. CylinderMesh1125 = Instance.new("CylinderMesh")
  1154. Part1126 = Instance.new("Part")
  1155. CylinderMesh1127 = Instance.new("CylinderMesh")
  1156. Part1128 = Instance.new("Part")
  1157. CylinderMesh1129 = Instance.new("CylinderMesh")
  1158. Part1130 = Instance.new("Part")
  1159. CylinderMesh1131 = Instance.new("CylinderMesh")
  1160. Part1132 = Instance.new("Part")
  1161. BlockMesh1133 = Instance.new("BlockMesh")
  1162. Part1134 = Instance.new("Part")
  1163. BlockMesh1135 = Instance.new("BlockMesh")
  1164. Model1136 = Instance.new("Model")
  1165. Part1137 = Instance.new("Part")
  1166. BlockMesh1138 = Instance.new("BlockMesh")
  1167. Part1139 = Instance.new("Part")
  1168. BlockMesh1140 = Instance.new("BlockMesh")
  1169. Part1141 = Instance.new("Part")
  1170. SpecialMesh1142 = Instance.new("SpecialMesh")
  1171. Part1143 = Instance.new("Part")
  1172. CylinderMesh1144 = Instance.new("CylinderMesh")
  1173. Model1145 = Instance.new("Model")
  1174. Model1146 = Instance.new("Model")
  1175. Part1147 = Instance.new("Part")
  1176. SpecialMesh1148 = Instance.new("SpecialMesh")
  1177. Part1149 = Instance.new("Part")
  1178. SpecialMesh1150 = Instance.new("SpecialMesh")
  1179. Script1151 = Instance.new("Script")
  1180. Part1152 = Instance.new("Part")
  1181. CylinderMesh1153 = Instance.new("CylinderMesh")
  1182. Model1154 = Instance.new("Model")
  1183. Part1155 = Instance.new("Part")
  1184. CylinderMesh1156 = Instance.new("CylinderMesh")
  1185. Part1157 = Instance.new("Part")
  1186. CylinderMesh1158 = Instance.new("CylinderMesh")
  1187. Part1159 = Instance.new("Part")
  1188. CylinderMesh1160 = Instance.new("CylinderMesh")
  1189. Part1161 = Instance.new("Part")
  1190. CylinderMesh1162 = Instance.new("CylinderMesh")
  1191. Part1163 = Instance.new("Part")
  1192. CylinderMesh1164 = Instance.new("CylinderMesh")
  1193. Part1165 = Instance.new("Part")
  1194. CylinderMesh1166 = Instance.new("CylinderMesh")
  1195. Script1167 = Instance.new("Script")
  1196. Part1168 = Instance.new("Part")
  1197. BlockMesh1169 = Instance.new("BlockMesh")
  1198. CylinderMesh1170 = Instance.new("CylinderMesh")
  1199. ClickDetector1171 = Instance.new("ClickDetector")
  1200. Model1172 = Instance.new("Model")
  1201. Model1173 = Instance.new("Model")
  1202. Model1174 = Instance.new("Model")
  1203. Part1175 = Instance.new("Part")
  1204. BlockMesh1176 = Instance.new("BlockMesh")
  1205. Part1177 = Instance.new("Part")
  1206. BlockMesh1178 = Instance.new("BlockMesh")
  1207. Model1179 = Instance.new("Model")
  1208. Part1180 = Instance.new("Part")
  1209. BlockMesh1181 = Instance.new("BlockMesh")
  1210. Part1182 = Instance.new("Part")
  1211. BlockMesh1183 = Instance.new("BlockMesh")
  1212. Part1184 = Instance.new("Part")
  1213. BlockMesh1185 = Instance.new("BlockMesh")
  1214. Part1186 = Instance.new("Part")
  1215. BlockMesh1187 = Instance.new("BlockMesh")
  1216. Part1188 = Instance.new("Part")
  1217. BlockMesh1189 = Instance.new("BlockMesh")
  1218. Part1190 = Instance.new("Part")
  1219. BlockMesh1191 = Instance.new("BlockMesh")
  1220. Model1192 = Instance.new("Model")
  1221. Part1193 = Instance.new("Part")
  1222. BlockMesh1194 = Instance.new("BlockMesh")
  1223. Part1195 = Instance.new("Part")
  1224. BlockMesh1196 = Instance.new("BlockMesh")
  1225. Model1197 = Instance.new("Model")
  1226. Model1198 = Instance.new("Model")
  1227. Model1199 = Instance.new("Model")
  1228. Part1200 = Instance.new("Part")
  1229. CylinderMesh1201 = Instance.new("CylinderMesh")
  1230. Part1202 = Instance.new("Part")
  1231. CylinderMesh1203 = Instance.new("CylinderMesh")
  1232. Part1204 = Instance.new("Part")
  1233. CylinderMesh1205 = Instance.new("CylinderMesh")
  1234. Part1206 = Instance.new("Part")
  1235. CylinderMesh1207 = Instance.new("CylinderMesh")
  1236. Part1208 = Instance.new("Part")
  1237. BlockMesh1209 = Instance.new("BlockMesh")
  1238. Part1210 = Instance.new("Part")
  1239. BlockMesh1211 = Instance.new("BlockMesh")
  1240. Model1212 = Instance.new("Model")
  1241. Part1213 = Instance.new("Part")
  1242. BlockMesh1214 = Instance.new("BlockMesh")
  1243. Part1215 = Instance.new("Part")
  1244. BlockMesh1216 = Instance.new("BlockMesh")
  1245. Part1217 = Instance.new("Part")
  1246. SpecialMesh1218 = Instance.new("SpecialMesh")
  1247. Part1219 = Instance.new("Part")
  1248. CylinderMesh1220 = Instance.new("CylinderMesh")
  1249. Model1221 = Instance.new("Model")
  1250. Model1222 = Instance.new("Model")
  1251. Part1223 = Instance.new("Part")
  1252. SpecialMesh1224 = Instance.new("SpecialMesh")
  1253. Part1225 = Instance.new("Part")
  1254. SpecialMesh1226 = Instance.new("SpecialMesh")
  1255. Script1227 = Instance.new("Script")
  1256. Part1228 = Instance.new("Part")
  1257. CylinderMesh1229 = Instance.new("CylinderMesh")
  1258. Model1230 = Instance.new("Model")
  1259. Part1231 = Instance.new("Part")
  1260. CylinderMesh1232 = Instance.new("CylinderMesh")
  1261. Part1233 = Instance.new("Part")
  1262. CylinderMesh1234 = Instance.new("CylinderMesh")
  1263. Part1235 = Instance.new("Part")
  1264. CylinderMesh1236 = Instance.new("CylinderMesh")
  1265. Part1237 = Instance.new("Part")
  1266. CylinderMesh1238 = Instance.new("CylinderMesh")
  1267. Part1239 = Instance.new("Part")
  1268. CylinderMesh1240 = Instance.new("CylinderMesh")
  1269. Part1241 = Instance.new("Part")
  1270. CylinderMesh1242 = Instance.new("CylinderMesh")
  1271. Script1243 = Instance.new("Script")
  1272. Part1244 = Instance.new("Part")
  1273. BlockMesh1245 = Instance.new("BlockMesh")
  1274. CylinderMesh1246 = Instance.new("CylinderMesh")
  1275. ClickDetector1247 = Instance.new("ClickDetector")
  1276. Part1248 = Instance.new("Part")
  1277. Part1249 = Instance.new("Part")
  1278. Part1250 = Instance.new("Part")
  1279. Part1251 = Instance.new("Part")
  1280. Part1252 = Instance.new("Part")
  1281. Part1253 = Instance.new("Part")
  1282. Part1254 = Instance.new("Part")
  1283. Part1255 = Instance.new("Part")
  1284. Part1256 = Instance.new("Part")
  1285. Part1257 = Instance.new("Part")
  1286. Part1258 = Instance.new("Part")
  1287. Part1259 = Instance.new("Part")
  1288. Part1260 = Instance.new("Part")
  1289. Part1261 = Instance.new("Part")
  1290. Part1262 = Instance.new("Part")
  1291. Part1263 = Instance.new("Part")
  1292. Part1264 = Instance.new("Part")
  1293. Part1265 = Instance.new("Part")
  1294. Part1266 = Instance.new("Part")
  1295. Decal1267 = Instance.new("Decal")
  1296. Decal1268 = Instance.new("Decal")
  1297. Part1269 = Instance.new("Part")
  1298. Decal1270 = Instance.new("Decal")
  1299. Part1271 = Instance.new("Part")
  1300. Part1272 = Instance.new("Part")
  1301. Part1273 = Instance.new("Part")
  1302. Decal1274 = Instance.new("Decal")
  1303. Decal1275 = Instance.new("Decal")
  1304. Part1276 = Instance.new("Part")
  1305. Part0.Name = "Baseplate"
  1306. Part0.Parent = mas
  1307. Part0.Material = Enum.Material.Grass
  1308. Part0.BrickColor = BrickColor.new("Bright green")
  1309. Part0.Anchored = true
  1310. Part0.Locked = true
  1311. Part0.FormFactor = Enum.FormFactor.Symmetric
  1312. Part0.Size = Vector3.new(2048, 20, 2048)
  1313. Part0.CFrame = CFrame.new(60, -10, -337.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1314. Part0.TopSurface = Enum.SurfaceType.Smooth
  1315. Part0.Color = Color3.new(0.294118, 0.592157, 0.294118)
  1316. Part0.Position = Vector3.new(60, -10, -337.5)
  1317. Part0.Color = Color3.new(0.294118, 0.592157, 0.294118)
  1318. Model1.Parent = mas
  1319. Part2.Parent = Model1
  1320. Part2.Anchored = true
  1321. Part2.Size = Vector3.new(6.80000019, 1, 10.3999996)
  1322. Part2.CFrame = CFrame.new(76.3999786, 4.61211967, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1323. Part2.Position = Vector3.new(76.3999786, 4.61211967, -23.5999908)
  1324. Part3.Parent = Model1
  1325. Part3.Anchored = true
  1326. Part3.Size = Vector3.new(117.400002, 9.39999962, 10.4000015)
  1327. Part3.CFrame = CFrame.new(115.699997, 4.81212044, -34.2000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1328. Part3.Position = Vector3.new(115.699997, 4.81212044, -34.2000046)
  1329. Part4.Parent = Model1
  1330. Part4.Anchored = true
  1331. Part4.Size = Vector3.new(117.400002, 2.4000001, 23)
  1332. Part4.CFrame = CFrame.new(116.100082, 22.3121891, -142.699966, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1333. Part4.Position = Vector3.new(116.100082, 22.3121891, -142.699966)
  1334. Part5.Parent = Model1
  1335. Part5.Anchored = true
  1336. Part5.Size = Vector3.new(6.79999971, 1.00000024, 10.3999996)
  1337. Part5.CFrame = CFrame.new(105, 1.01212311, -44.6000061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1338. Part5.Position = Vector3.new(105, 1.01212311, -44.6000061)
  1339. Part6.Parent = Model1
  1340. Part6.Anchored = true
  1341. Part6.Size = Vector3.new(9.60000038, 1.00000012, 3.4000001)
  1342. Part6.CFrame = CFrame.new(61.9999847, 19.4121227, -126.699982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1343. Part6.Position = Vector3.new(61.9999847, 19.4121227, -126.699982)
  1344. Part7.Parent = Model1
  1345. Part7.Anchored = true
  1346. Part7.Size = Vector3.new(81, 9.39999962, 11.8000002)
  1347. Part7.CFrame = CFrame.new(115.299995, 4.81212044, -134.300003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1348. Part7.Position = Vector3.new(115.299995, 4.81212044, -134.300003)
  1349. Part8.Parent = Model1
  1350. Part8.Anchored = true
  1351. Part8.Size = Vector3.new(6.80000019, 1, 10.3999996)
  1352. Part8.CFrame = CFrame.new(79.599968, 6.61211967, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1353. Part8.Position = Vector3.new(79.599968, 6.61211967, -23.5999908)
  1354. Part9.Parent = Model1
  1355. Part9.Anchored = true
  1356. Part9.Size = Vector3.new(117.400002, 9.39999962, 14.6000004)
  1357. Part9.CFrame = CFrame.new(116.5, 4.81212044, -147.899994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1358. Part9.Position = Vector3.new(116.5, 4.81212044, -147.899994)
  1359. Part10.Parent = Model1
  1360. Part10.Anchored = true
  1361. Part10.Size = Vector3.new(6.80000019, 1, 10.3999996)
  1362. Part10.CFrame = CFrame.new(69.9999924, 0.612123489, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1363. Part10.Position = Vector3.new(69.9999924, 0.612123489, -23.5999908)
  1364. Part11.Parent = Model1
  1365. Part11.Anchored = true
  1366. Part11.Size = Vector3.new(6.80000019, 36, 2)
  1367. Part11.CFrame = CFrame.new(60.3999939, 26.5121269, -17.4000015, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1368. Part11.Position = Vector3.new(60.3999939, 26.5121269, -17.4000015)
  1369. Part12.Parent = Model1
  1370. Part12.Anchored = true
  1371. Part12.Size = Vector3.new(6.80000019, 36, 2)
  1372. Part12.CFrame = CFrame.new(172.600037, 26.5121269, -17.6000061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1373. Part12.Position = Vector3.new(172.600037, 26.5121269, -17.6000061)
  1374. Part13.Parent = Model1
  1375. Part13.Anchored = true
  1376. Part13.Size = Vector3.new(9.60000038, 1.00000012, 3.4000001)
  1377. Part13.CFrame = CFrame.new(62.3999939, 21.4121284, -129.499985, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1378. Part13.Position = Vector3.new(62.3999939, 21.4121284, -129.499985)
  1379. Part14.Parent = Model1
  1380. Part14.Anchored = true
  1381. Part14.Size = Vector3.new(8.19999981, 44.4000015, 137.800003)
  1382. Part14.CFrame = CFrame.new(180.100037, 22.3121243, -85.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1383. Part14.Position = Vector3.new(180.100037, 22.3121243, -85.3000031)
  1384. Part15.Parent = Model1
  1385. Part15.Anchored = true
  1386. Part15.Size = Vector3.new(8.19999981, 44.4000015, 137.800003)
  1387. Part15.CFrame = CFrame.new(52.6999893, 22.3121243, -85.2999954, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1388. Part15.Position = Vector3.new(52.6999893, 22.3121243, -85.2999954)
  1389. Part16.Parent = Model1
  1390. Part16.Rotation = Vector3.new(0, 90, 0)
  1391. Part16.Anchored = true
  1392. Part16.Size = Vector3.new(8.19999981, 44.4000015, 137.800003)
  1393. Part16.CFrame = CFrame.new(116.699989, 22.3121243, -159.299988, -8.94069672e-08, 0, 1.00000012, 0, 1, 0, -1.00000012, 0, -8.94069672e-08)
  1394. Part16.Position = Vector3.new(116.699989, 22.3121243, -159.299988)
  1395. Part16.Orientation = Vector3.new(0, 90, 0)
  1396. Part17.Parent = Model1
  1397. Part17.Anchored = true
  1398. Part17.Size = Vector3.new(9.60000038, 5.19999981, 2)
  1399. Part17.CFrame = CFrame.new(61.9999847, 12.5121136, -119.199982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1400. Part17.Position = Vector3.new(61.9999847, 12.5121136, -119.199982)
  1401. Part18.Parent = Model1
  1402. Part18.Anchored = true
  1403. Part18.Size = Vector3.new(9.60000038, 3.79999995, 2)
  1404. Part18.CFrame = CFrame.new(62.1999893, 11.8121176, -117.199982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1405. Part18.Position = Vector3.new(62.1999893, 11.8121176, -117.199982)
  1406. Part19.Parent = Model1
  1407. Part19.Anchored = true
  1408. Part19.Size = Vector3.new(9.60000038, 2.4000001, 2)
  1409. Part19.CFrame = CFrame.new(62.3999939, 11.1121197, -115.199982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1410. Part19.Position = Vector3.new(62.3999939, 11.1121197, -115.199982)
  1411. Model20.Parent = Model1
  1412. Model21.Name = "PrisonCell"
  1413. Model21.Parent = Model20
  1414. Model22.Name = "Exterior"
  1415. Model22.Parent = Model21
  1416. Model23.Name = "Top"
  1417. Model23.Parent = Model22
  1418. Part24.Name = "Ceiling"
  1419. Part24.Parent = Model23
  1420. Part24.BrickColor = BrickColor.new("Brick yellow")
  1421. Part24.Anchored = true
  1422. Part24.FormFactor = Enum.FormFactor.Plate
  1423. Part24.Size = Vector3.new(12, 0.400000006, 14)
  1424. Part24.CFrame = CFrame.new(64.4000931, 33.3122864, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1425. Part24.BottomSurface = Enum.SurfaceType.Smooth
  1426. Part24.TopSurface = Enum.SurfaceType.Smooth
  1427. Part24.Color = Color3.new(0.843137, 0.772549, 0.603922)
  1428. Part24.Position = Vector3.new(64.4000931, 33.3122864, -146.600006)
  1429. Part24.Color = Color3.new(0.843137, 0.772549, 0.603922)
  1430. BlockMesh25.Parent = Part24
  1431. Part26.Name = "Top"
  1432. Part26.Parent = Model23
  1433. Part26.BrickColor = BrickColor.new("Dark stone grey")
  1434. Part26.Anchored = true
  1435. Part26.FormFactor = Enum.FormFactor.Symmetric
  1436. Part26.Size = Vector3.new(14, 1, 16)
  1437. Part26.CFrame = CFrame.new(64.4000931, 34.0122948, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1438. Part26.BottomSurface = Enum.SurfaceType.Smooth
  1439. Part26.TopSurface = Enum.SurfaceType.Smooth
  1440. Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1441. Part26.Position = Vector3.new(64.4000931, 34.0122948, -146.600006)
  1442. Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1443. BlockMesh27.Parent = Part26
  1444. Model28.Name = "Walls"
  1445. Model28.Parent = Model22
  1446. Part29.Parent = Model28
  1447. Part29.BrickColor = BrickColor.new("Dark stone grey")
  1448. Part29.Anchored = true
  1449. Part29.FormFactor = Enum.FormFactor.Symmetric
  1450. Part29.Size = Vector3.new(6, 1, 1)
  1451. Part29.CFrame = CFrame.new(66.4000931, 33.0122604, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1452. Part29.BottomSurface = Enum.SurfaceType.Smooth
  1453. Part29.TopSurface = Enum.SurfaceType.Smooth
  1454. Part29.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1455. Part29.Position = Vector3.new(66.4000931, 33.0122604, -139.100006)
  1456. Part29.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1457. BlockMesh30.Parent = Part29
  1458. Part31.Parent = Model28
  1459. Part31.BrickColor = BrickColor.new("Dark stone grey")
  1460. Part31.Anchored = true
  1461. Part31.FormFactor = Enum.FormFactor.Symmetric
  1462. Part31.Size = Vector3.new(6, 10, 1)
  1463. Part31.CFrame = CFrame.new(60.4000931, 28.5121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1464. Part31.BottomSurface = Enum.SurfaceType.Smooth
  1465. Part31.TopSurface = Enum.SurfaceType.Smooth
  1466. Part31.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1467. Part31.Position = Vector3.new(60.4000931, 28.5121994, -139.100006)
  1468. Part31.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1469. BlockMesh32.Parent = Part31
  1470. Part33.Parent = Model28
  1471. Part33.BrickColor = BrickColor.new("Dark stone grey")
  1472. Part33.Rotation = Vector3.new(-180, 0, -180)
  1473. Part33.Anchored = true
  1474. Part33.FormFactor = Enum.FormFactor.Symmetric
  1475. Part33.Size = Vector3.new(1, 10, 14)
  1476. Part33.CFrame = CFrame.new(57.9000854, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  1477. Part33.BottomSurface = Enum.SurfaceType.Smooth
  1478. Part33.TopSurface = Enum.SurfaceType.Smooth
  1479. Part33.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1480. Part33.Position = Vector3.new(57.9000854, 28.5121994, -146.600006)
  1481. Part33.Orientation = Vector3.new(0, 180, 0)
  1482. Part33.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1483. BlockMesh34.Parent = Part33
  1484. Part35.Parent = Model28
  1485. Part35.BrickColor = BrickColor.new("Dark stone grey")
  1486. Part35.Rotation = Vector3.new(0, -90, 0)
  1487. Part35.Anchored = true
  1488. Part35.FormFactor = Enum.FormFactor.Symmetric
  1489. Part35.Size = Vector3.new(1, 10, 14)
  1490. Part35.CFrame = CFrame.new(64.4000931, 28.5121994, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1491. Part35.BottomSurface = Enum.SurfaceType.Smooth
  1492. Part35.TopSurface = Enum.SurfaceType.Smooth
  1493. Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1494. Part35.Position = Vector3.new(64.4000931, 28.5121994, -154.099976)
  1495. Part35.Orientation = Vector3.new(0, -90, 0)
  1496. Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1497. BlockMesh36.Parent = Part35
  1498. Part37.Parent = Model28
  1499. Part37.BrickColor = BrickColor.new("Dark stone grey")
  1500. Part37.Rotation = Vector3.new(-180, 0, -180)
  1501. Part37.Anchored = true
  1502. Part37.FormFactor = Enum.FormFactor.Symmetric
  1503. Part37.Size = Vector3.new(1, 10, 14)
  1504. Part37.CFrame = CFrame.new(70.9001007, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  1505. Part37.BottomSurface = Enum.SurfaceType.Smooth
  1506. Part37.TopSurface = Enum.SurfaceType.Smooth
  1507. Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1508. Part37.Position = Vector3.new(70.9001007, 28.5121994, -146.600006)
  1509. Part37.Orientation = Vector3.new(0, 180, 0)
  1510. Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1511. BlockMesh38.Parent = Part37
  1512. Part39.Parent = Model28
  1513. Part39.BrickColor = BrickColor.new("Dark stone grey")
  1514. Part39.Rotation = Vector3.new(0, 90, 0)
  1515. Part39.Anchored = true
  1516. Part39.FormFactor = Enum.FormFactor.Symmetric
  1517. Part39.Size = Vector3.new(1, 10, 2)
  1518. Part39.CFrame = CFrame.new(70.4001007, 28.5121994, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1519. Part39.BottomSurface = Enum.SurfaceType.Smooth
  1520. Part39.TopSurface = Enum.SurfaceType.Smooth
  1521. Part39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1522. Part39.Position = Vector3.new(70.4001007, 28.5121994, -139.100006)
  1523. Part39.Orientation = Vector3.new(0, 90, 0)
  1524. Part39.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1525. BlockMesh40.Parent = Part39
  1526. Model41.Name = "Floor"
  1527. Model41.Parent = Model22
  1528. Part42.Name = "Floor"
  1529. Part42.Parent = Model41
  1530. Part42.BrickColor = BrickColor.new("Brick yellow")
  1531. Part42.Anchored = true
  1532. Part42.FormFactor = Enum.FormFactor.Plate
  1533. Part42.Size = Vector3.new(12, 0.400000006, 14)
  1534. Part42.CFrame = CFrame.new(64.4000931, 23.7122288, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1535. Part42.BottomSurface = Enum.SurfaceType.Smooth
  1536. Part42.TopSurface = Enum.SurfaceType.Smooth
  1537. Part42.Color = Color3.new(0.843137, 0.772549, 0.603922)
  1538. Part42.Position = Vector3.new(64.4000931, 23.7122288, -146.600006)
  1539. Part42.Color = Color3.new(0.843137, 0.772549, 0.603922)
  1540. BlockMesh43.Parent = Part42
  1541. Part44.Name = "Floor"
  1542. Part44.Parent = Model41
  1543. Part44.BrickColor = BrickColor.new("Brick yellow")
  1544. Part44.Anchored = true
  1545. Part44.CanCollide = false
  1546. Part44.FormFactor = Enum.FormFactor.Plate
  1547. Part44.Size = Vector3.new(6, 0.400000006, 1)
  1548. Part44.CFrame = CFrame.new(66.4000931, 24.1122246, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1549. Part44.BottomSurface = Enum.SurfaceType.Smooth
  1550. Part44.TopSurface = Enum.SurfaceType.Smooth
  1551. Part44.Color = Color3.new(0.843137, 0.772549, 0.603922)
  1552. Part44.Position = Vector3.new(66.4000931, 24.1122246, -140.100006)
  1553. Part44.Color = Color3.new(0.843137, 0.772549, 0.603922)
  1554. BlockMesh45.Parent = Part44
  1555. BlockMesh45.Offset = Vector3.new(0, -0.400000006, 1)
  1556. Model46.Name = "Items"
  1557. Model46.Parent = Model21
  1558. Model47.Name = "Furnish"
  1559. Model47.Parent = Model46
  1560. Model48.Name = "Bed"
  1561. Model48.Parent = Model47
  1562. Part49.Name = "Pole"
  1563. Part49.Parent = Model48
  1564. Part49.BrickColor = BrickColor.new("Mid gray")
  1565. Part49.Reflectance = 0.15000000596046
  1566. Part49.Anchored = true
  1567. Part49.CanCollide = false
  1568. Part49.FormFactor = Enum.FormFactor.Symmetric
  1569. Part49.Size = Vector3.new(1, 5, 1)
  1570. Part49.CFrame = CFrame.new(58.9000702, 26.4122009, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1571. Part49.BottomSurface = Enum.SurfaceType.Smooth
  1572. Part49.TopSurface = Enum.SurfaceType.Smooth
  1573. Part49.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1574. Part49.Position = Vector3.new(58.9000702, 26.4122009, -140.100006)
  1575. Part49.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1576. CylinderMesh50.Parent = Part49
  1577. CylinderMesh50.Scale = Vector3.new(0.5, 1, 0.5)
  1578. CylinderMesh50.Scale = Vector3.new(0.5, 1, 0.5)
  1579. Part51.Name = "Pole"
  1580. Part51.Parent = Model48
  1581. Part51.BrickColor = BrickColor.new("Mid gray")
  1582. Part51.Reflectance = 0.15000000596046
  1583. Part51.Anchored = true
  1584. Part51.CanCollide = false
  1585. Part51.FormFactor = Enum.FormFactor.Symmetric
  1586. Part51.Size = Vector3.new(1, 5, 1)
  1587. Part51.CFrame = CFrame.new(58.9000702, 26.4122009, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1588. Part51.BottomSurface = Enum.SurfaceType.Smooth
  1589. Part51.TopSurface = Enum.SurfaceType.Smooth
  1590. Part51.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1591. Part51.Position = Vector3.new(58.9000702, 26.4122009, -147.100006)
  1592. Part51.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1593. CylinderMesh52.Parent = Part51
  1594. CylinderMesh52.Scale = Vector3.new(0.5, 1, 0.5)
  1595. CylinderMesh52.Scale = Vector3.new(0.5, 1, 0.5)
  1596. Part53.Name = "Pole"
  1597. Part53.Parent = Model48
  1598. Part53.BrickColor = BrickColor.new("Mid gray")
  1599. Part53.Reflectance = 0.15000000596046
  1600. Part53.Anchored = true
  1601. Part53.CanCollide = false
  1602. Part53.FormFactor = Enum.FormFactor.Symmetric
  1603. Part53.Size = Vector3.new(1, 5, 1)
  1604. Part53.CFrame = CFrame.new(62.9000702, 26.4122009, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1605. Part53.BottomSurface = Enum.SurfaceType.Smooth
  1606. Part53.TopSurface = Enum.SurfaceType.Smooth
  1607. Part53.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1608. Part53.Position = Vector3.new(62.9000702, 26.4122009, -147.100006)
  1609. Part53.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1610. CylinderMesh54.Parent = Part53
  1611. CylinderMesh54.Scale = Vector3.new(0.5, 1, 0.5)
  1612. CylinderMesh54.Scale = Vector3.new(0.5, 1, 0.5)
  1613. Part55.Name = "Pole"
  1614. Part55.Parent = Model48
  1615. Part55.BrickColor = BrickColor.new("Mid gray")
  1616. Part55.Reflectance = 0.15000000596046
  1617. Part55.Anchored = true
  1618. Part55.CanCollide = false
  1619. Part55.FormFactor = Enum.FormFactor.Symmetric
  1620. Part55.Size = Vector3.new(1, 5, 1)
  1621. Part55.CFrame = CFrame.new(62.9000702, 26.4122009, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1622. Part55.BottomSurface = Enum.SurfaceType.Smooth
  1623. Part55.TopSurface = Enum.SurfaceType.Smooth
  1624. Part55.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1625. Part55.Position = Vector3.new(62.9000702, 26.4122009, -140.100006)
  1626. Part55.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1627. CylinderMesh56.Parent = Part55
  1628. CylinderMesh56.Scale = Vector3.new(0.5, 1, 0.5)
  1629. CylinderMesh56.Scale = Vector3.new(0.5, 1, 0.5)
  1630. Part57.Parent = Model48
  1631. Part57.BrickColor = BrickColor.new("Institutional white")
  1632. Part57.Rotation = Vector3.new(-180, 0, -180)
  1633. Part57.Anchored = true
  1634. Part57.FormFactor = Enum.FormFactor.Symmetric
  1635. Part57.Size = Vector3.new(3, 1, 6)
  1636. Part57.CFrame = CFrame.new(60.9000702, 27.6122017, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  1637. Part57.BottomSurface = Enum.SurfaceType.Smooth
  1638. Part57.TopSurface = Enum.SurfaceType.Smooth
  1639. Part57.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1640. Part57.Position = Vector3.new(60.9000702, 27.6122017, -143.600006)
  1641. Part57.Orientation = Vector3.new(0, 180, 0)
  1642. Part57.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1643. BlockMesh58.Parent = Part57
  1644. BlockMesh58.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  1645. BlockMesh58.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  1646. Part59.Parent = Model48
  1647. Part59.BrickColor = BrickColor.new("Institutional white")
  1648. Part59.Rotation = Vector3.new(-180, 0, -180)
  1649. Part59.Anchored = true
  1650. Part59.FormFactor = Enum.FormFactor.Symmetric
  1651. Part59.Size = Vector3.new(3, 1, 6)
  1652. Part59.CFrame = CFrame.new(60.9000702, 24.4122372, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  1653. Part59.BottomSurface = Enum.SurfaceType.Smooth
  1654. Part59.TopSurface = Enum.SurfaceType.Smooth
  1655. Part59.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1656. Part59.Position = Vector3.new(60.9000702, 24.4122372, -143.600006)
  1657. Part59.Orientation = Vector3.new(0, 180, 0)
  1658. Part59.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1659. BlockMesh60.Parent = Part59
  1660. BlockMesh60.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  1661. BlockMesh60.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  1662. Model61.Name = "Toilet"
  1663. Model61.Parent = Model47
  1664. Part62.Parent = Model61
  1665. Part62.BrickColor = BrickColor.new("Mid gray")
  1666. Part62.Rotation = Vector3.new(0, -90, 0)
  1667. Part62.Anchored = true
  1668. Part62.FormFactor = Enum.FormFactor.Symmetric
  1669. Part62.Size = Vector3.new(2, 3, 1)
  1670. Part62.CFrame = CFrame.new(58.9000702, 26.4122009, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1671. Part62.BottomSurface = Enum.SurfaceType.Smooth
  1672. Part62.TopSurface = Enum.SurfaceType.Smooth
  1673. Part62.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1674. Part62.Position = Vector3.new(58.9000702, 26.4122009, -150.599976)
  1675. Part62.Orientation = Vector3.new(0, -90, 0)
  1676. Part62.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1677. BlockMesh63.Parent = Part62
  1678. BlockMesh63.Scale = Vector3.new(1.5, 1, 1)
  1679. BlockMesh63.Scale = Vector3.new(1.5, 1, 1)
  1680. Part64.Parent = Model61
  1681. Part64.BrickColor = BrickColor.new("Mid gray")
  1682. Part64.Rotation = Vector3.new(0, -90, 0)
  1683. Part64.Anchored = true
  1684. Part64.FormFactor = Enum.FormFactor.Symmetric
  1685. Part64.Size = Vector3.new(2, 1, 3)
  1686. Part64.CFrame = CFrame.new(59.9000931, 24.4122372, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1687. Part64.BottomSurface = Enum.SurfaceType.Smooth
  1688. Part64.TopSurface = Enum.SurfaceType.Smooth
  1689. Part64.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1690. Part64.Position = Vector3.new(59.9000931, 24.4122372, -150.599976)
  1691. Part64.Orientation = Vector3.new(0, -90, 0)
  1692. Part64.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1693. BlockMesh65.Parent = Part64
  1694. Part66.Parent = Model61
  1695. Part66.BrickColor = BrickColor.new("Light stone grey")
  1696. Part66.Rotation = Vector3.new(0, -90, 0)
  1697. Part66.Anchored = true
  1698. Part66.FormFactor = Enum.FormFactor.Plate
  1699. Part66.Size = Vector3.new(2, 0.400000006, 2)
  1700. Part66.CFrame = CFrame.new(60.4000931, 25.1122017, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1701. Part66.BottomSurface = Enum.SurfaceType.Smooth
  1702. Part66.TopSurface = Enum.SurfaceType.Smooth
  1703. Part66.Color = Color3.new(0.898039, 0.894118, 0.87451)
  1704. Part66.Position = Vector3.new(60.4000931, 25.1122017, -150.599976)
  1705. Part66.Orientation = Vector3.new(0, -90, 0)
  1706. Part66.Color = Color3.new(0.898039, 0.894118, 0.87451)
  1707. SpecialMesh67.Parent = Part66
  1708. SpecialMesh67.Scale = Vector3.new(1.5, 2, 2)
  1709. SpecialMesh67.MeshType = Enum.MeshType.Sphere
  1710. SpecialMesh67.Scale = Vector3.new(1.5, 2, 2)
  1711. Part68.Name = "Pole"
  1712. Part68.Parent = Model47
  1713. Part68.BrickColor = BrickColor.new("Mid gray")
  1714. Part68.Reflectance = 0.15000000596046
  1715. Part68.Rotation = Vector3.new(0, 0, -90)
  1716. Part68.Anchored = true
  1717. Part68.CanCollide = false
  1718. Part68.FormFactor = Enum.FormFactor.Symmetric
  1719. Part68.Size = Vector3.new(1, 12, 1)
  1720. Part68.CFrame = CFrame.new(64.4000931, 27.4122009, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  1721. Part68.BottomSurface = Enum.SurfaceType.Smooth
  1722. Part68.TopSurface = Enum.SurfaceType.Smooth
  1723. Part68.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1724. Part68.Position = Vector3.new(64.4000931, 27.4122009, -153.099976)
  1725. Part68.Orientation = Vector3.new(0, 0, -90)
  1726. Part68.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1727. CylinderMesh69.Parent = Part68
  1728. CylinderMesh69.Scale = Vector3.new(0.5, 1, 0.5)
  1729. CylinderMesh69.Scale = Vector3.new(0.5, 1, 0.5)
  1730. Model70.Name = "Functions"
  1731. Model70.Parent = Model46
  1732. Model71.Name = "Light"
  1733. Model71.Parent = Model70
  1734. Part72.Name = "Lightbulb"
  1735. Part72.Parent = Model71
  1736. Part72.Transparency = 0.5
  1737. Part72.Rotation = Vector3.new(180, 90, 0)
  1738. Part72.Anchored = true
  1739. Part72.CanCollide = false
  1740. Part72.FormFactor = Enum.FormFactor.Symmetric
  1741. Part72.Size = Vector3.new(2, 1, 2)
  1742. Part72.CFrame = CFrame.new(64.4000931, 32.6122589, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  1743. Part72.BackSurface = Enum.SurfaceType.Weld
  1744. Part72.BottomSurface = Enum.SurfaceType.Weld
  1745. Part72.FrontSurface = Enum.SurfaceType.Weld
  1746. Part72.LeftSurface = Enum.SurfaceType.Weld
  1747. Part72.RightSurface = Enum.SurfaceType.Weld
  1748. Part72.TopSurface = Enum.SurfaceType.Weld
  1749. Part72.Position = Vector3.new(64.4000931, 32.6122589, -146.600006)
  1750. Part72.Orientation = Vector3.new(0, 90, 180)
  1751. SpecialMesh73.Parent = Part72
  1752. SpecialMesh73.MeshId = "http://www.roblox.com/asset/?id=1376459"
  1753. SpecialMesh73.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  1754. SpecialMesh73.TextureId = "http://www.roblox.com/asset/?id=1376456"
  1755. SpecialMesh73.MeshType = Enum.MeshType.FileMesh
  1756. SpecialMesh73.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  1757. Part74.Name = "Light"
  1758. Part74.Parent = Model71
  1759. Part74.BrickColor = BrickColor.new("Cool yellow")
  1760. Part74.Transparency = 1
  1761. Part74.Anchored = true
  1762. Part74.CanCollide = false
  1763. Part74.FormFactor = Enum.FormFactor.Symmetric
  1764. Part74.Size = Vector3.new(2, 8, 2)
  1765. Part74.CFrame = CFrame.new(64.4000931, 28.1122017, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1766. Part74.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1767. Part74.Position = Vector3.new(64.4000931, 28.1122017, -146.600006)
  1768. Part74.Color = Color3.new(0.992157, 0.917647, 0.552941)
  1769. SpecialMesh75.Parent = Part74
  1770. SpecialMesh75.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1771. SpecialMesh75.Scale = Vector3.new(7, 13, 7)
  1772. SpecialMesh75.MeshType = Enum.MeshType.FileMesh
  1773. SpecialMesh75.Scale = Vector3.new(7, 13, 7)
  1774. Script76.Name = "Function"
  1775. Script76.Parent = Model71
  1776. table.insert(cors,sandbox(Script76,function()
  1777. local on = false
  1778.  
  1779. function check()
  1780. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  1781. if ((n > 6) and (n < 18)) then
  1782. if (on) then
  1783. on = false
  1784. wait(math.random()*5)
  1785. for i = 1,5 do
  1786. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  1787. wait()
  1788. end
  1789. script.Parent.Light.Transparency = 1
  1790. end
  1791. elseif not (on) then
  1792. on = true
  1793. wait(math.random()*5)
  1794. for i = 1,5 do
  1795. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  1796. wait()
  1797. end
  1798. script.Parent.Light.Transparency = 0.5
  1799. end
  1800. end
  1801.  
  1802. game.Lighting.LightingChanged:connect(check)
  1803. check()
  1804. end))
  1805. Part77.Name = "LightSocket"
  1806. Part77.Parent = Model71
  1807. Part77.BrickColor = BrickColor.new("Dark stone grey")
  1808. Part77.Anchored = true
  1809. Part77.FormFactor = Enum.FormFactor.Symmetric
  1810. Part77.Size = Vector3.new(2, 1, 2)
  1811. Part77.CFrame = CFrame.new(64.4000931, 32.6122589, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1812. Part77.BottomSurface = Enum.SurfaceType.Smooth
  1813. Part77.TopSurface = Enum.SurfaceType.Smooth
  1814. Part77.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1815. Part77.Position = Vector3.new(64.4000931, 32.6122589, -146.600006)
  1816. Part77.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1817. CylinderMesh78.Parent = Part77
  1818. CylinderMesh78.Offset = Vector3.new(0, 0.600000024, 0)
  1819. CylinderMesh78.Scale = Vector3.new(1, 0.5, 1)
  1820. CylinderMesh78.Scale = Vector3.new(1, 0.5, 1)
  1821. Model79.Name = "Door"
  1822. Model79.Parent = Model21
  1823. Part80.Name = "Bar"
  1824. Part80.Parent = Model79
  1825. Part80.Reflectance = 0.15000000596046
  1826. Part80.Anchored = true
  1827. Part80.FormFactor = Enum.FormFactor.Symmetric
  1828. Part80.Size = Vector3.new(1, 9, 1)
  1829. Part80.CFrame = CFrame.new(68.9000854, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1830. Part80.BottomSurface = Enum.SurfaceType.Smooth
  1831. Part80.TopSurface = Enum.SurfaceType.Smooth
  1832. Part80.Position = Vector3.new(68.9000854, 28.0122128, -139.100006)
  1833. CylinderMesh81.Parent = Part80
  1834. CylinderMesh81.Scale = Vector3.new(0.5, 1, 1)
  1835. CylinderMesh81.Scale = Vector3.new(0.5, 1, 1)
  1836. Part82.Name = "Bar"
  1837. Part82.Parent = Model79
  1838. Part82.Reflectance = 0.15000000596046
  1839. Part82.Anchored = true
  1840. Part82.FormFactor = Enum.FormFactor.Symmetric
  1841. Part82.Size = Vector3.new(1, 9, 1)
  1842. Part82.CFrame = CFrame.new(67.9000702, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1843. Part82.BottomSurface = Enum.SurfaceType.Smooth
  1844. Part82.TopSurface = Enum.SurfaceType.Smooth
  1845. Part82.Position = Vector3.new(67.9000702, 28.0122128, -139.100006)
  1846. CylinderMesh83.Parent = Part82
  1847. CylinderMesh83.Scale = Vector3.new(0.5, 1, 1)
  1848. CylinderMesh83.Scale = Vector3.new(0.5, 1, 1)
  1849. Part84.Name = "Bar"
  1850. Part84.Parent = Model79
  1851. Part84.Reflectance = 0.15000000596046
  1852. Part84.Anchored = true
  1853. Part84.FormFactor = Enum.FormFactor.Symmetric
  1854. Part84.Size = Vector3.new(1, 9, 1)
  1855. Part84.CFrame = CFrame.new(66.9001007, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1856. Part84.BottomSurface = Enum.SurfaceType.Smooth
  1857. Part84.TopSurface = Enum.SurfaceType.Smooth
  1858. Part84.Position = Vector3.new(66.9001007, 28.0122128, -139.100006)
  1859. CylinderMesh85.Parent = Part84
  1860. CylinderMesh85.Scale = Vector3.new(0.5, 1, 1)
  1861. CylinderMesh85.Scale = Vector3.new(0.5, 1, 1)
  1862. Part86.Name = "Bar"
  1863. Part86.Parent = Model79
  1864. Part86.Reflectance = 0.15000000596046
  1865. Part86.Anchored = true
  1866. Part86.FormFactor = Enum.FormFactor.Symmetric
  1867. Part86.Size = Vector3.new(1, 9, 1)
  1868. Part86.CFrame = CFrame.new(65.9000931, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1869. Part86.BottomSurface = Enum.SurfaceType.Smooth
  1870. Part86.TopSurface = Enum.SurfaceType.Smooth
  1871. Part86.Position = Vector3.new(65.9000931, 28.0122128, -139.100006)
  1872. CylinderMesh87.Parent = Part86
  1873. CylinderMesh87.Scale = Vector3.new(0.5, 1, 1)
  1874. CylinderMesh87.Scale = Vector3.new(0.5, 1, 1)
  1875. Part88.Name = "Bar"
  1876. Part88.Parent = Model79
  1877. Part88.Reflectance = 0.15000000596046
  1878. Part88.Anchored = true
  1879. Part88.FormFactor = Enum.FormFactor.Symmetric
  1880. Part88.Size = Vector3.new(1, 9, 1)
  1881. Part88.CFrame = CFrame.new(64.9000931, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1882. Part88.BottomSurface = Enum.SurfaceType.Smooth
  1883. Part88.TopSurface = Enum.SurfaceType.Smooth
  1884. Part88.Position = Vector3.new(64.9000931, 28.0122128, -139.100006)
  1885. CylinderMesh89.Parent = Part88
  1886. CylinderMesh89.Scale = Vector3.new(0.5, 1, 1)
  1887. CylinderMesh89.Scale = Vector3.new(0.5, 1, 1)
  1888. Part90.Name = "Bar"
  1889. Part90.Parent = Model79
  1890. Part90.Reflectance = 0.15000000596046
  1891. Part90.Anchored = true
  1892. Part90.FormFactor = Enum.FormFactor.Symmetric
  1893. Part90.Size = Vector3.new(1, 9, 1)
  1894. Part90.CFrame = CFrame.new(63.9000931, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1895. Part90.BottomSurface = Enum.SurfaceType.Smooth
  1896. Part90.TopSurface = Enum.SurfaceType.Smooth
  1897. Part90.Position = Vector3.new(63.9000931, 28.0122128, -139.100006)
  1898. CylinderMesh91.Parent = Part90
  1899. CylinderMesh91.Scale = Vector3.new(0.5, 1, 1)
  1900. CylinderMesh91.Scale = Vector3.new(0.5, 1, 1)
  1901. Script92.Name = "Main"
  1902. Script92.Parent = Model79
  1903. table.insert(cors,sandbox(Script92,function()
  1904. local _items = {}
  1905.  
  1906. local door = -1
  1907. -- -1 = Closed
  1908. -- 0 = Active
  1909. -- 1 = Open
  1910.  
  1911. function getItems()
  1912. for _,v in pairs(script.Parent:GetChildren()) do
  1913. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  1914. table.insert(_items,v)
  1915. end
  1916. end
  1917. end
  1918.  
  1919. function main()
  1920. local d = door
  1921. door = 0
  1922. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  1923. for i = 0,5,0.05 do
  1924. for _,v in pairs(_items) do
  1925. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  1926. end
  1927. wait()
  1928. end
  1929. if (d == (-1)) then
  1930. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  1931. elseif (d == 1) then
  1932. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  1933. end
  1934. door = d
  1935. end
  1936.  
  1937. script.Parent.Button.Click.MouseClick:connect(function()
  1938. if (door == 0) then return end
  1939. door = (door*(-1))
  1940. main()
  1941. end)
  1942.  
  1943. getItems()
  1944. end))
  1945. Part93.Name = "Button"
  1946. Part93.Parent = Model79
  1947. Part93.BrickColor = BrickColor.new("Really red")
  1948. Part93.Reflectance = 0.20000000298023
  1949. Part93.Transparency = 0.5
  1950. Part93.Rotation = Vector3.new(90, 0, -180)
  1951. Part93.Anchored = true
  1952. Part93.FormFactor = Enum.FormFactor.Plate
  1953. Part93.Size = Vector3.new(1, 0.400000006, 1)
  1954. Part93.CFrame = CFrame.new(61.9000702, 28.0121937, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  1955. Part93.BottomSurface = Enum.SurfaceType.Smooth
  1956. Part93.TopSurface = Enum.SurfaceType.Smooth
  1957. Part93.Color = Color3.new(1, 0, 0)
  1958. Part93.Position = Vector3.new(61.9000702, 28.0121937, -138.399994)
  1959. Part93.Orientation = Vector3.new(90, 180, 0)
  1960. Part93.Color = Color3.new(1, 0, 0)
  1961. BlockMesh94.Parent = Part93
  1962. CylinderMesh95.Parent = Part93
  1963. CylinderMesh95.Offset = Vector3.new(0, 0.150000006, 0)
  1964. CylinderMesh95.Scale = Vector3.new(1, 0.200000003, 1)
  1965. CylinderMesh95.Scale = Vector3.new(1, 0.200000003, 1)
  1966. ClickDetector96.Name = "Click"
  1967. ClickDetector96.Parent = Part93
  1968. Model97.Name = "PrisonCell"
  1969. Model97.Parent = Model1
  1970. Model98.Name = "Exterior"
  1971. Model98.Parent = Model97
  1972. Model99.Name = "Top"
  1973. Model99.Parent = Model98
  1974. Part100.Name = "Ceiling"
  1975. Part100.Parent = Model99
  1976. Part100.BrickColor = BrickColor.new("Brick yellow")
  1977. Part100.Anchored = true
  1978. Part100.FormFactor = Enum.FormFactor.Plate
  1979. Part100.Size = Vector3.new(12, 0.400000006, 14)
  1980. Part100.CFrame = CFrame.new(162.399994, 33.3122063, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1981. Part100.BottomSurface = Enum.SurfaceType.Smooth
  1982. Part100.TopSurface = Enum.SurfaceType.Smooth
  1983. Part100.Color = Color3.new(0.843137, 0.772549, 0.603922)
  1984. Part100.Position = Vector3.new(162.399994, 33.3122063, -146.599991)
  1985. Part100.Color = Color3.new(0.843137, 0.772549, 0.603922)
  1986. BlockMesh101.Parent = Part100
  1987. Part102.Name = "Top"
  1988. Part102.Parent = Model99
  1989. Part102.BrickColor = BrickColor.new("Dark stone grey")
  1990. Part102.Anchored = true
  1991. Part102.FormFactor = Enum.FormFactor.Symmetric
  1992. Part102.Size = Vector3.new(14, 1, 16)
  1993. Part102.CFrame = CFrame.new(162.399994, 34.012207, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1994. Part102.BottomSurface = Enum.SurfaceType.Smooth
  1995. Part102.TopSurface = Enum.SurfaceType.Smooth
  1996. Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1997. Part102.Position = Vector3.new(162.399994, 34.012207, -146.599991)
  1998. Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1999. BlockMesh103.Parent = Part102
  2000. Model104.Name = "Walls"
  2001. Model104.Parent = Model98
  2002. Part105.Parent = Model104
  2003. Part105.BrickColor = BrickColor.new("Dark stone grey")
  2004. Part105.Anchored = true
  2005. Part105.FormFactor = Enum.FormFactor.Symmetric
  2006. Part105.Size = Vector3.new(6, 1, 1)
  2007. Part105.CFrame = CFrame.new(164.399994, 33.0122108, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2008. Part105.BottomSurface = Enum.SurfaceType.Smooth
  2009. Part105.TopSurface = Enum.SurfaceType.Smooth
  2010. Part105.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2011. Part105.Position = Vector3.new(164.399994, 33.0122108, -139.100006)
  2012. Part105.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2013. BlockMesh106.Parent = Part105
  2014. Part107.Parent = Model104
  2015. Part107.BrickColor = BrickColor.new("Dark stone grey")
  2016. Part107.Anchored = true
  2017. Part107.FormFactor = Enum.FormFactor.Symmetric
  2018. Part107.Size = Vector3.new(6, 10, 1)
  2019. Part107.CFrame = CFrame.new(158.399994, 28.5121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2020. Part107.BottomSurface = Enum.SurfaceType.Smooth
  2021. Part107.TopSurface = Enum.SurfaceType.Smooth
  2022. Part107.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2023. Part107.Position = Vector3.new(158.399994, 28.5121994, -139.100006)
  2024. Part107.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2025. BlockMesh108.Parent = Part107
  2026. Part109.Parent = Model104
  2027. Part109.BrickColor = BrickColor.new("Dark stone grey")
  2028. Part109.Rotation = Vector3.new(-180, 0, -180)
  2029. Part109.Anchored = true
  2030. Part109.FormFactor = Enum.FormFactor.Symmetric
  2031. Part109.Size = Vector3.new(1, 10, 14)
  2032. Part109.CFrame = CFrame.new(155.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2033. Part109.BottomSurface = Enum.SurfaceType.Smooth
  2034. Part109.TopSurface = Enum.SurfaceType.Smooth
  2035. Part109.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2036. Part109.Position = Vector3.new(155.899994, 28.5121994, -146.599991)
  2037. Part109.Orientation = Vector3.new(0, 180, 0)
  2038. Part109.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2039. BlockMesh110.Parent = Part109
  2040. Part111.Parent = Model104
  2041. Part111.BrickColor = BrickColor.new("Dark stone grey")
  2042. Part111.Rotation = Vector3.new(0, -90, 0)
  2043. Part111.Anchored = true
  2044. Part111.FormFactor = Enum.FormFactor.Symmetric
  2045. Part111.Size = Vector3.new(1, 10, 14)
  2046. Part111.CFrame = CFrame.new(162.399994, 28.5121994, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2047. Part111.BottomSurface = Enum.SurfaceType.Smooth
  2048. Part111.TopSurface = Enum.SurfaceType.Smooth
  2049. Part111.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2050. Part111.Position = Vector3.new(162.399994, 28.5121994, -154.099976)
  2051. Part111.Orientation = Vector3.new(0, -90, 0)
  2052. Part111.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2053. BlockMesh112.Parent = Part111
  2054. Part113.Parent = Model104
  2055. Part113.BrickColor = BrickColor.new("Dark stone grey")
  2056. Part113.Rotation = Vector3.new(-180, 0, -180)
  2057. Part113.Anchored = true
  2058. Part113.FormFactor = Enum.FormFactor.Symmetric
  2059. Part113.Size = Vector3.new(1, 10, 14)
  2060. Part113.CFrame = CFrame.new(168.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2061. Part113.BottomSurface = Enum.SurfaceType.Smooth
  2062. Part113.TopSurface = Enum.SurfaceType.Smooth
  2063. Part113.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2064. Part113.Position = Vector3.new(168.899994, 28.5121994, -146.599991)
  2065. Part113.Orientation = Vector3.new(0, 180, 0)
  2066. Part113.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2067. BlockMesh114.Parent = Part113
  2068. Part115.Parent = Model104
  2069. Part115.BrickColor = BrickColor.new("Dark stone grey")
  2070. Part115.Rotation = Vector3.new(0, 90, 0)
  2071. Part115.Anchored = true
  2072. Part115.FormFactor = Enum.FormFactor.Symmetric
  2073. Part115.Size = Vector3.new(1, 10, 2)
  2074. Part115.CFrame = CFrame.new(168.399994, 28.5121994, -139.100006, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  2075. Part115.BottomSurface = Enum.SurfaceType.Smooth
  2076. Part115.TopSurface = Enum.SurfaceType.Smooth
  2077. Part115.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2078. Part115.Position = Vector3.new(168.399994, 28.5121994, -139.100006)
  2079. Part115.Orientation = Vector3.new(0, 90, 0)
  2080. Part115.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2081. BlockMesh116.Parent = Part115
  2082. Model117.Name = "Floor"
  2083. Model117.Parent = Model98
  2084. Part118.Name = "Floor"
  2085. Part118.Parent = Model117
  2086. Part118.BrickColor = BrickColor.new("Brick yellow")
  2087. Part118.Anchored = true
  2088. Part118.FormFactor = Enum.FormFactor.Plate
  2089. Part118.Size = Vector3.new(12, 0.400000006, 14)
  2090. Part118.CFrame = CFrame.new(162.399994, 23.7121944, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2091. Part118.BottomSurface = Enum.SurfaceType.Smooth
  2092. Part118.TopSurface = Enum.SurfaceType.Smooth
  2093. Part118.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2094. Part118.Position = Vector3.new(162.399994, 23.7121944, -146.599991)
  2095. Part118.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2096. BlockMesh119.Parent = Part118
  2097. Part120.Name = "Floor"
  2098. Part120.Parent = Model117
  2099. Part120.BrickColor = BrickColor.new("Brick yellow")
  2100. Part120.Anchored = true
  2101. Part120.CanCollide = false
  2102. Part120.FormFactor = Enum.FormFactor.Plate
  2103. Part120.Size = Vector3.new(6, 0.400000006, 1)
  2104. Part120.CFrame = CFrame.new(164.399994, 24.1122017, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2105. Part120.BottomSurface = Enum.SurfaceType.Smooth
  2106. Part120.TopSurface = Enum.SurfaceType.Smooth
  2107. Part120.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2108. Part120.Position = Vector3.new(164.399994, 24.1122017, -140.099991)
  2109. Part120.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2110. BlockMesh121.Parent = Part120
  2111. BlockMesh121.Offset = Vector3.new(0, -0.400000006, 1)
  2112. Model122.Name = "Items"
  2113. Model122.Parent = Model97
  2114. Model123.Name = "Furnish"
  2115. Model123.Parent = Model122
  2116. Model124.Name = "Bed"
  2117. Model124.Parent = Model123
  2118. Part125.Name = "Pole"
  2119. Part125.Parent = Model124
  2120. Part125.BrickColor = BrickColor.new("Mid gray")
  2121. Part125.Reflectance = 0.15000000596046
  2122. Part125.Anchored = true
  2123. Part125.CanCollide = false
  2124. Part125.FormFactor = Enum.FormFactor.Symmetric
  2125. Part125.Size = Vector3.new(1, 5, 1)
  2126. Part125.CFrame = CFrame.new(156.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2127. Part125.BottomSurface = Enum.SurfaceType.Smooth
  2128. Part125.TopSurface = Enum.SurfaceType.Smooth
  2129. Part125.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2130. Part125.Position = Vector3.new(156.899994, 26.4121971, -140.099991)
  2131. Part125.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2132. CylinderMesh126.Parent = Part125
  2133. CylinderMesh126.Scale = Vector3.new(0.5, 1, 0.5)
  2134. CylinderMesh126.Scale = Vector3.new(0.5, 1, 0.5)
  2135. Part127.Name = "Pole"
  2136. Part127.Parent = Model124
  2137. Part127.BrickColor = BrickColor.new("Mid gray")
  2138. Part127.Reflectance = 0.15000000596046
  2139. Part127.Anchored = true
  2140. Part127.CanCollide = false
  2141. Part127.FormFactor = Enum.FormFactor.Symmetric
  2142. Part127.Size = Vector3.new(1, 5, 1)
  2143. Part127.CFrame = CFrame.new(156.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2144. Part127.BottomSurface = Enum.SurfaceType.Smooth
  2145. Part127.TopSurface = Enum.SurfaceType.Smooth
  2146. Part127.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2147. Part127.Position = Vector3.new(156.899994, 26.4121971, -147.099991)
  2148. Part127.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2149. CylinderMesh128.Parent = Part127
  2150. CylinderMesh128.Scale = Vector3.new(0.5, 1, 0.5)
  2151. CylinderMesh128.Scale = Vector3.new(0.5, 1, 0.5)
  2152. Part129.Name = "Pole"
  2153. Part129.Parent = Model124
  2154. Part129.BrickColor = BrickColor.new("Mid gray")
  2155. Part129.Reflectance = 0.15000000596046
  2156. Part129.Anchored = true
  2157. Part129.CanCollide = false
  2158. Part129.FormFactor = Enum.FormFactor.Symmetric
  2159. Part129.Size = Vector3.new(1, 5, 1)
  2160. Part129.CFrame = CFrame.new(160.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2161. Part129.BottomSurface = Enum.SurfaceType.Smooth
  2162. Part129.TopSurface = Enum.SurfaceType.Smooth
  2163. Part129.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2164. Part129.Position = Vector3.new(160.899994, 26.4121971, -147.099991)
  2165. Part129.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2166. CylinderMesh130.Parent = Part129
  2167. CylinderMesh130.Scale = Vector3.new(0.5, 1, 0.5)
  2168. CylinderMesh130.Scale = Vector3.new(0.5, 1, 0.5)
  2169. Part131.Name = "Pole"
  2170. Part131.Parent = Model124
  2171. Part131.BrickColor = BrickColor.new("Mid gray")
  2172. Part131.Reflectance = 0.15000000596046
  2173. Part131.Anchored = true
  2174. Part131.CanCollide = false
  2175. Part131.FormFactor = Enum.FormFactor.Symmetric
  2176. Part131.Size = Vector3.new(1, 5, 1)
  2177. Part131.CFrame = CFrame.new(160.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2178. Part131.BottomSurface = Enum.SurfaceType.Smooth
  2179. Part131.TopSurface = Enum.SurfaceType.Smooth
  2180. Part131.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2181. Part131.Position = Vector3.new(160.899994, 26.4121971, -140.099991)
  2182. Part131.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2183. CylinderMesh132.Parent = Part131
  2184. CylinderMesh132.Scale = Vector3.new(0.5, 1, 0.5)
  2185. CylinderMesh132.Scale = Vector3.new(0.5, 1, 0.5)
  2186. Part133.Parent = Model124
  2187. Part133.BrickColor = BrickColor.new("Institutional white")
  2188. Part133.Rotation = Vector3.new(-180, 0, -180)
  2189. Part133.Anchored = true
  2190. Part133.FormFactor = Enum.FormFactor.Symmetric
  2191. Part133.Size = Vector3.new(3, 1, 6)
  2192. Part133.CFrame = CFrame.new(158.899994, 27.6122017, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2193. Part133.BottomSurface = Enum.SurfaceType.Smooth
  2194. Part133.TopSurface = Enum.SurfaceType.Smooth
  2195. Part133.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2196. Part133.Position = Vector3.new(158.899994, 27.6122017, -143.599991)
  2197. Part133.Orientation = Vector3.new(0, 180, 0)
  2198. Part133.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2199. BlockMesh134.Parent = Part133
  2200. BlockMesh134.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  2201. BlockMesh134.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  2202. Part135.Parent = Model124
  2203. Part135.BrickColor = BrickColor.new("Institutional white")
  2204. Part135.Rotation = Vector3.new(-180, 0, -180)
  2205. Part135.Anchored = true
  2206. Part135.FormFactor = Enum.FormFactor.Symmetric
  2207. Part135.Size = Vector3.new(3, 1, 6)
  2208. Part135.CFrame = CFrame.new(158.899994, 24.4121971, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2209. Part135.BottomSurface = Enum.SurfaceType.Smooth
  2210. Part135.TopSurface = Enum.SurfaceType.Smooth
  2211. Part135.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2212. Part135.Position = Vector3.new(158.899994, 24.4121971, -143.599991)
  2213. Part135.Orientation = Vector3.new(0, 180, 0)
  2214. Part135.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2215. BlockMesh136.Parent = Part135
  2216. BlockMesh136.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  2217. BlockMesh136.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  2218. Model137.Name = "Toilet"
  2219. Model137.Parent = Model123
  2220. Part138.Parent = Model137
  2221. Part138.BrickColor = BrickColor.new("Mid gray")
  2222. Part138.Rotation = Vector3.new(0, -90, 0)
  2223. Part138.Anchored = true
  2224. Part138.FormFactor = Enum.FormFactor.Symmetric
  2225. Part138.Size = Vector3.new(2, 3, 1)
  2226. Part138.CFrame = CFrame.new(156.899994, 26.4121971, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2227. Part138.BottomSurface = Enum.SurfaceType.Smooth
  2228. Part138.TopSurface = Enum.SurfaceType.Smooth
  2229. Part138.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2230. Part138.Position = Vector3.new(156.899994, 26.4121971, -150.599976)
  2231. Part138.Orientation = Vector3.new(0, -90, 0)
  2232. Part138.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2233. BlockMesh139.Parent = Part138
  2234. BlockMesh139.Scale = Vector3.new(1.5, 1, 1)
  2235. BlockMesh139.Scale = Vector3.new(1.5, 1, 1)
  2236. Part140.Parent = Model137
  2237. Part140.BrickColor = BrickColor.new("Mid gray")
  2238. Part140.Rotation = Vector3.new(0, -90, 0)
  2239. Part140.Anchored = true
  2240. Part140.FormFactor = Enum.FormFactor.Symmetric
  2241. Part140.Size = Vector3.new(2, 1, 3)
  2242. Part140.CFrame = CFrame.new(157.899994, 24.4121971, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2243. Part140.BottomSurface = Enum.SurfaceType.Smooth
  2244. Part140.TopSurface = Enum.SurfaceType.Smooth
  2245. Part140.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2246. Part140.Position = Vector3.new(157.899994, 24.4121971, -150.599976)
  2247. Part140.Orientation = Vector3.new(0, -90, 0)
  2248. Part140.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2249. BlockMesh141.Parent = Part140
  2250. Part142.Parent = Model137
  2251. Part142.BrickColor = BrickColor.new("Light stone grey")
  2252. Part142.Rotation = Vector3.new(0, -90, 0)
  2253. Part142.Anchored = true
  2254. Part142.FormFactor = Enum.FormFactor.Plate
  2255. Part142.Size = Vector3.new(2, 0.400000006, 2)
  2256. Part142.CFrame = CFrame.new(158.399994, 25.1122017, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2257. Part142.BottomSurface = Enum.SurfaceType.Smooth
  2258. Part142.TopSurface = Enum.SurfaceType.Smooth
  2259. Part142.Color = Color3.new(0.898039, 0.894118, 0.87451)
  2260. Part142.Position = Vector3.new(158.399994, 25.1122017, -150.599976)
  2261. Part142.Orientation = Vector3.new(0, -90, 0)
  2262. Part142.Color = Color3.new(0.898039, 0.894118, 0.87451)
  2263. SpecialMesh143.Parent = Part142
  2264. SpecialMesh143.Scale = Vector3.new(1.5, 2, 2)
  2265. SpecialMesh143.MeshType = Enum.MeshType.Sphere
  2266. SpecialMesh143.Scale = Vector3.new(1.5, 2, 2)
  2267. Part144.Name = "Pole"
  2268. Part144.Parent = Model123
  2269. Part144.BrickColor = BrickColor.new("Mid gray")
  2270. Part144.Reflectance = 0.15000000596046
  2271. Part144.Rotation = Vector3.new(0, 0, -90)
  2272. Part144.Anchored = true
  2273. Part144.CanCollide = false
  2274. Part144.FormFactor = Enum.FormFactor.Symmetric
  2275. Part144.Size = Vector3.new(1, 12, 1)
  2276. Part144.CFrame = CFrame.new(162.399994, 27.4121971, -153.099976, 0, 1, -0, -1, 0, 0, 0, 0, 1)
  2277. Part144.BottomSurface = Enum.SurfaceType.Smooth
  2278. Part144.TopSurface = Enum.SurfaceType.Smooth
  2279. Part144.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2280. Part144.Position = Vector3.new(162.399994, 27.4121971, -153.099976)
  2281. Part144.Orientation = Vector3.new(0, 0, -90)
  2282. Part144.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2283. CylinderMesh145.Parent = Part144
  2284. CylinderMesh145.Scale = Vector3.new(0.5, 1, 0.5)
  2285. CylinderMesh145.Scale = Vector3.new(0.5, 1, 0.5)
  2286. Model146.Name = "Functions"
  2287. Model146.Parent = Model122
  2288. Model147.Name = "Light"
  2289. Model147.Parent = Model146
  2290. Part148.Name = "Lightbulb"
  2291. Part148.Parent = Model147
  2292. Part148.Transparency = 0.5
  2293. Part148.Rotation = Vector3.new(180, 90, 0)
  2294. Part148.Anchored = true
  2295. Part148.CanCollide = false
  2296. Part148.FormFactor = Enum.FormFactor.Symmetric
  2297. Part148.Size = Vector3.new(2, 1, 2)
  2298. Part148.CFrame = CFrame.new(162.399994, 32.6122093, -146.599991, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  2299. Part148.BackSurface = Enum.SurfaceType.Weld
  2300. Part148.BottomSurface = Enum.SurfaceType.Weld
  2301. Part148.FrontSurface = Enum.SurfaceType.Weld
  2302. Part148.LeftSurface = Enum.SurfaceType.Weld
  2303. Part148.RightSurface = Enum.SurfaceType.Weld
  2304. Part148.TopSurface = Enum.SurfaceType.Weld
  2305. Part148.Position = Vector3.new(162.399994, 32.6122093, -146.599991)
  2306. Part148.Orientation = Vector3.new(0, 90, 180)
  2307. SpecialMesh149.Parent = Part148
  2308. SpecialMesh149.MeshId = "http://www.roblox.com/asset/?id=1376459"
  2309. SpecialMesh149.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  2310. SpecialMesh149.TextureId = "http://www.roblox.com/asset/?id=1376456"
  2311. SpecialMesh149.MeshType = Enum.MeshType.FileMesh
  2312. SpecialMesh149.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  2313. Part150.Name = "Light"
  2314. Part150.Parent = Model147
  2315. Part150.BrickColor = BrickColor.new("Cool yellow")
  2316. Part150.Transparency = 1
  2317. Part150.Anchored = true
  2318. Part150.CanCollide = false
  2319. Part150.FormFactor = Enum.FormFactor.Symmetric
  2320. Part150.Size = Vector3.new(2, 8, 2)
  2321. Part150.CFrame = CFrame.new(162.399994, 28.1122017, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2322. Part150.Color = Color3.new(0.992157, 0.917647, 0.552941)
  2323. Part150.Position = Vector3.new(162.399994, 28.1122017, -146.599991)
  2324. Part150.Color = Color3.new(0.992157, 0.917647, 0.552941)
  2325. SpecialMesh151.Parent = Part150
  2326. SpecialMesh151.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2327. SpecialMesh151.Scale = Vector3.new(7, 13, 7)
  2328. SpecialMesh151.MeshType = Enum.MeshType.FileMesh
  2329. SpecialMesh151.Scale = Vector3.new(7, 13, 7)
  2330. Script152.Name = "Function"
  2331. Script152.Parent = Model147
  2332. table.insert(cors,sandbox(Script152,function()
  2333. local on = false
  2334.  
  2335. function check()
  2336. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  2337. if ((n > 6) and (n < 18)) then
  2338. if (on) then
  2339. on = false
  2340. wait(math.random()*5)
  2341. for i = 1,5 do
  2342. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  2343. wait()
  2344. end
  2345. script.Parent.Light.Transparency = 1
  2346. end
  2347. elseif not (on) then
  2348. on = true
  2349. wait(math.random()*5)
  2350. for i = 1,5 do
  2351. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  2352. wait()
  2353. end
  2354. script.Parent.Light.Transparency = 0.5
  2355. end
  2356. end
  2357.  
  2358. game.Lighting.LightingChanged:connect(check)
  2359. check()
  2360. end))
  2361. Part153.Name = "LightSocket"
  2362. Part153.Parent = Model147
  2363. Part153.BrickColor = BrickColor.new("Dark stone grey")
  2364. Part153.Anchored = true
  2365. Part153.FormFactor = Enum.FormFactor.Symmetric
  2366. Part153.Size = Vector3.new(2, 1, 2)
  2367. Part153.CFrame = CFrame.new(162.399994, 32.6122093, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2368. Part153.BottomSurface = Enum.SurfaceType.Smooth
  2369. Part153.TopSurface = Enum.SurfaceType.Smooth
  2370. Part153.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2371. Part153.Position = Vector3.new(162.399994, 32.6122093, -146.599991)
  2372. Part153.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2373. CylinderMesh154.Parent = Part153
  2374. CylinderMesh154.Offset = Vector3.new(0, 0.600000024, 0)
  2375. CylinderMesh154.Scale = Vector3.new(1, 0.5, 1)
  2376. CylinderMesh154.Scale = Vector3.new(1, 0.5, 1)
  2377. Model155.Name = "Door"
  2378. Model155.Parent = Model97
  2379. Part156.Name = "Bar"
  2380. Part156.Parent = Model155
  2381. Part156.Reflectance = 0.15000000596046
  2382. Part156.Anchored = true
  2383. Part156.FormFactor = Enum.FormFactor.Symmetric
  2384. Part156.Size = Vector3.new(1, 9, 1)
  2385. Part156.CFrame = CFrame.new(166.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2386. Part156.BottomSurface = Enum.SurfaceType.Smooth
  2387. Part156.TopSurface = Enum.SurfaceType.Smooth
  2388. Part156.Position = Vector3.new(166.899994, 28.0121994, -139.100006)
  2389. CylinderMesh157.Parent = Part156
  2390. CylinderMesh157.Scale = Vector3.new(0.5, 1, 1)
  2391. CylinderMesh157.Scale = Vector3.new(0.5, 1, 1)
  2392. Part158.Name = "Bar"
  2393. Part158.Parent = Model155
  2394. Part158.Reflectance = 0.15000000596046
  2395. Part158.Anchored = true
  2396. Part158.FormFactor = Enum.FormFactor.Symmetric
  2397. Part158.Size = Vector3.new(1, 9, 1)
  2398. Part158.CFrame = CFrame.new(165.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2399. Part158.BottomSurface = Enum.SurfaceType.Smooth
  2400. Part158.TopSurface = Enum.SurfaceType.Smooth
  2401. Part158.Position = Vector3.new(165.899994, 28.0121994, -139.100006)
  2402. CylinderMesh159.Parent = Part158
  2403. CylinderMesh159.Scale = Vector3.new(0.5, 1, 1)
  2404. CylinderMesh159.Scale = Vector3.new(0.5, 1, 1)
  2405. Part160.Name = "Bar"
  2406. Part160.Parent = Model155
  2407. Part160.Reflectance = 0.15000000596046
  2408. Part160.Anchored = true
  2409. Part160.FormFactor = Enum.FormFactor.Symmetric
  2410. Part160.Size = Vector3.new(1, 9, 1)
  2411. Part160.CFrame = CFrame.new(164.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2412. Part160.BottomSurface = Enum.SurfaceType.Smooth
  2413. Part160.TopSurface = Enum.SurfaceType.Smooth
  2414. Part160.Position = Vector3.new(164.899994, 28.0121994, -139.100006)
  2415. CylinderMesh161.Parent = Part160
  2416. CylinderMesh161.Scale = Vector3.new(0.5, 1, 1)
  2417. CylinderMesh161.Scale = Vector3.new(0.5, 1, 1)
  2418. Part162.Name = "Bar"
  2419. Part162.Parent = Model155
  2420. Part162.Reflectance = 0.15000000596046
  2421. Part162.Anchored = true
  2422. Part162.FormFactor = Enum.FormFactor.Symmetric
  2423. Part162.Size = Vector3.new(1, 9, 1)
  2424. Part162.CFrame = CFrame.new(163.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2425. Part162.BottomSurface = Enum.SurfaceType.Smooth
  2426. Part162.TopSurface = Enum.SurfaceType.Smooth
  2427. Part162.Position = Vector3.new(163.899994, 28.0121994, -139.100006)
  2428. CylinderMesh163.Parent = Part162
  2429. CylinderMesh163.Scale = Vector3.new(0.5, 1, 1)
  2430. CylinderMesh163.Scale = Vector3.new(0.5, 1, 1)
  2431. Part164.Name = "Bar"
  2432. Part164.Parent = Model155
  2433. Part164.Reflectance = 0.15000000596046
  2434. Part164.Anchored = true
  2435. Part164.FormFactor = Enum.FormFactor.Symmetric
  2436. Part164.Size = Vector3.new(1, 9, 1)
  2437. Part164.CFrame = CFrame.new(162.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2438. Part164.BottomSurface = Enum.SurfaceType.Smooth
  2439. Part164.TopSurface = Enum.SurfaceType.Smooth
  2440. Part164.Position = Vector3.new(162.899994, 28.0121994, -139.100006)
  2441. CylinderMesh165.Parent = Part164
  2442. CylinderMesh165.Scale = Vector3.new(0.5, 1, 1)
  2443. CylinderMesh165.Scale = Vector3.new(0.5, 1, 1)
  2444. Part166.Name = "Bar"
  2445. Part166.Parent = Model155
  2446. Part166.Reflectance = 0.15000000596046
  2447. Part166.Anchored = true
  2448. Part166.FormFactor = Enum.FormFactor.Symmetric
  2449. Part166.Size = Vector3.new(1, 9, 1)
  2450. Part166.CFrame = CFrame.new(161.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2451. Part166.BottomSurface = Enum.SurfaceType.Smooth
  2452. Part166.TopSurface = Enum.SurfaceType.Smooth
  2453. Part166.Position = Vector3.new(161.899994, 28.0121994, -139.100006)
  2454. CylinderMesh167.Parent = Part166
  2455. CylinderMesh167.Scale = Vector3.new(0.5, 1, 1)
  2456. CylinderMesh167.Scale = Vector3.new(0.5, 1, 1)
  2457. Script168.Name = "Main"
  2458. Script168.Parent = Model155
  2459. table.insert(cors,sandbox(Script168,function()
  2460. local _items = {}
  2461.  
  2462. local door = -1
  2463. -- -1 = Closed
  2464. -- 0 = Active
  2465. -- 1 = Open
  2466.  
  2467. function getItems()
  2468. for _,v in pairs(script.Parent:GetChildren()) do
  2469. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  2470. table.insert(_items,v)
  2471. end
  2472. end
  2473. end
  2474.  
  2475. function main()
  2476. local d = door
  2477. door = 0
  2478. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  2479. for i = 0,5,0.05 do
  2480. for _,v in pairs(_items) do
  2481. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  2482. end
  2483. wait()
  2484. end
  2485. if (d == (-1)) then
  2486. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  2487. elseif (d == 1) then
  2488. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  2489. end
  2490. door = d
  2491. end
  2492.  
  2493. script.Parent.Button.Click.MouseClick:connect(function()
  2494. if (door == 0) then return end
  2495. door = (door*(-1))
  2496. main()
  2497. end)
  2498.  
  2499. getItems()
  2500. end))
  2501. Part169.Name = "Button"
  2502. Part169.Parent = Model155
  2503. Part169.BrickColor = BrickColor.new("Really red")
  2504. Part169.Reflectance = 0.20000000298023
  2505. Part169.Transparency = 0.5
  2506. Part169.Rotation = Vector3.new(90, 0, -180)
  2507. Part169.Anchored = true
  2508. Part169.FormFactor = Enum.FormFactor.Plate
  2509. Part169.Size = Vector3.new(1, 0.400000006, 1)
  2510. Part169.CFrame = CFrame.new(159.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  2511. Part169.BottomSurface = Enum.SurfaceType.Smooth
  2512. Part169.TopSurface = Enum.SurfaceType.Smooth
  2513. Part169.Color = Color3.new(1, 0, 0)
  2514. Part169.Position = Vector3.new(159.899994, 28.0121784, -138.399994)
  2515. Part169.Orientation = Vector3.new(90, 180, 0)
  2516. Part169.Color = Color3.new(1, 0, 0)
  2517. BlockMesh170.Parent = Part169
  2518. CylinderMesh171.Parent = Part169
  2519. CylinderMesh171.Offset = Vector3.new(0, 0.150000006, 0)
  2520. CylinderMesh171.Scale = Vector3.new(1, 0.200000003, 1)
  2521. CylinderMesh171.Scale = Vector3.new(1, 0.200000003, 1)
  2522. ClickDetector172.Name = "Click"
  2523. ClickDetector172.Parent = Part169
  2524. Model173.Name = "PrisonCell"
  2525. Model173.Parent = Model1
  2526. Model174.Name = "Exterior"
  2527. Model174.Parent = Model173
  2528. Model175.Name = "Top"
  2529. Model175.Parent = Model174
  2530. Part176.Name = "Ceiling"
  2531. Part176.Parent = Model175
  2532. Part176.BrickColor = BrickColor.new("Brick yellow")
  2533. Part176.Anchored = true
  2534. Part176.FormFactor = Enum.FormFactor.Plate
  2535. Part176.Size = Vector3.new(12, 0.400000006, 14)
  2536. Part176.CFrame = CFrame.new(120.399994, 33.3122063, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2537. Part176.BottomSurface = Enum.SurfaceType.Smooth
  2538. Part176.TopSurface = Enum.SurfaceType.Smooth
  2539. Part176.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2540. Part176.Position = Vector3.new(120.399994, 33.3122063, -146.599991)
  2541. Part176.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2542. BlockMesh177.Parent = Part176
  2543. Part178.Name = "Top"
  2544. Part178.Parent = Model175
  2545. Part178.BrickColor = BrickColor.new("Dark stone grey")
  2546. Part178.Anchored = true
  2547. Part178.FormFactor = Enum.FormFactor.Symmetric
  2548. Part178.Size = Vector3.new(14, 1, 16)
  2549. Part178.CFrame = CFrame.new(120.399994, 34.012207, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2550. Part178.BottomSurface = Enum.SurfaceType.Smooth
  2551. Part178.TopSurface = Enum.SurfaceType.Smooth
  2552. Part178.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2553. Part178.Position = Vector3.new(120.399994, 34.012207, -146.599991)
  2554. Part178.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2555. BlockMesh179.Parent = Part178
  2556. Model180.Name = "Walls"
  2557. Model180.Parent = Model174
  2558. Part181.Parent = Model180
  2559. Part181.BrickColor = BrickColor.new("Dark stone grey")
  2560. Part181.Anchored = true
  2561. Part181.FormFactor = Enum.FormFactor.Symmetric
  2562. Part181.Size = Vector3.new(6, 1, 1)
  2563. Part181.CFrame = CFrame.new(122.399994, 33.0122108, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2564. Part181.BottomSurface = Enum.SurfaceType.Smooth
  2565. Part181.TopSurface = Enum.SurfaceType.Smooth
  2566. Part181.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2567. Part181.Position = Vector3.new(122.399994, 33.0122108, -139.100006)
  2568. Part181.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2569. BlockMesh182.Parent = Part181
  2570. Part183.Parent = Model180
  2571. Part183.BrickColor = BrickColor.new("Dark stone grey")
  2572. Part183.Anchored = true
  2573. Part183.FormFactor = Enum.FormFactor.Symmetric
  2574. Part183.Size = Vector3.new(6, 10, 1)
  2575. Part183.CFrame = CFrame.new(116.400002, 28.5121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2576. Part183.BottomSurface = Enum.SurfaceType.Smooth
  2577. Part183.TopSurface = Enum.SurfaceType.Smooth
  2578. Part183.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2579. Part183.Position = Vector3.new(116.400002, 28.5121994, -139.100006)
  2580. Part183.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2581. BlockMesh184.Parent = Part183
  2582. Part185.Parent = Model180
  2583. Part185.BrickColor = BrickColor.new("Dark stone grey")
  2584. Part185.Rotation = Vector3.new(-180, 0, -180)
  2585. Part185.Anchored = true
  2586. Part185.FormFactor = Enum.FormFactor.Symmetric
  2587. Part185.Size = Vector3.new(1, 10, 14)
  2588. Part185.CFrame = CFrame.new(113.900002, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2589. Part185.BottomSurface = Enum.SurfaceType.Smooth
  2590. Part185.TopSurface = Enum.SurfaceType.Smooth
  2591. Part185.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2592. Part185.Position = Vector3.new(113.900002, 28.5121994, -146.599991)
  2593. Part185.Orientation = Vector3.new(0, 180, 0)
  2594. Part185.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2595. BlockMesh186.Parent = Part185
  2596. Part187.Parent = Model180
  2597. Part187.BrickColor = BrickColor.new("Dark stone grey")
  2598. Part187.Rotation = Vector3.new(0, -90, 0)
  2599. Part187.Anchored = true
  2600. Part187.FormFactor = Enum.FormFactor.Symmetric
  2601. Part187.Size = Vector3.new(1, 10, 14)
  2602. Part187.CFrame = CFrame.new(120.399994, 28.5121994, -154.099991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2603. Part187.BottomSurface = Enum.SurfaceType.Smooth
  2604. Part187.TopSurface = Enum.SurfaceType.Smooth
  2605. Part187.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2606. Part187.Position = Vector3.new(120.399994, 28.5121994, -154.099991)
  2607. Part187.Orientation = Vector3.new(0, -90, 0)
  2608. Part187.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2609. BlockMesh188.Parent = Part187
  2610. Part189.Parent = Model180
  2611. Part189.BrickColor = BrickColor.new("Dark stone grey")
  2612. Part189.Rotation = Vector3.new(-180, 0, -180)
  2613. Part189.Anchored = true
  2614. Part189.FormFactor = Enum.FormFactor.Symmetric
  2615. Part189.Size = Vector3.new(1, 10, 14)
  2616. Part189.CFrame = CFrame.new(126.899971, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2617. Part189.BottomSurface = Enum.SurfaceType.Smooth
  2618. Part189.TopSurface = Enum.SurfaceType.Smooth
  2619. Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2620. Part189.Position = Vector3.new(126.899971, 28.5121994, -146.599991)
  2621. Part189.Orientation = Vector3.new(0, 180, 0)
  2622. Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2623. BlockMesh190.Parent = Part189
  2624. Part191.Parent = Model180
  2625. Part191.BrickColor = BrickColor.new("Dark stone grey")
  2626. Part191.Rotation = Vector3.new(0, 90, 0)
  2627. Part191.Anchored = true
  2628. Part191.FormFactor = Enum.FormFactor.Symmetric
  2629. Part191.Size = Vector3.new(1, 10, 2)
  2630. Part191.CFrame = CFrame.new(126.399971, 28.5121994, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2631. Part191.BottomSurface = Enum.SurfaceType.Smooth
  2632. Part191.TopSurface = Enum.SurfaceType.Smooth
  2633. Part191.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2634. Part191.Position = Vector3.new(126.399971, 28.5121994, -139.100006)
  2635. Part191.Orientation = Vector3.new(0, 90, 0)
  2636. Part191.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2637. BlockMesh192.Parent = Part191
  2638. Model193.Name = "Floor"
  2639. Model193.Parent = Model174
  2640. Part194.Name = "Floor"
  2641. Part194.Parent = Model193
  2642. Part194.BrickColor = BrickColor.new("Brick yellow")
  2643. Part194.Anchored = true
  2644. Part194.FormFactor = Enum.FormFactor.Plate
  2645. Part194.Size = Vector3.new(12, 0.400000006, 14)
  2646. Part194.CFrame = CFrame.new(120.399994, 23.7121944, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2647. Part194.BottomSurface = Enum.SurfaceType.Smooth
  2648. Part194.TopSurface = Enum.SurfaceType.Smooth
  2649. Part194.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2650. Part194.Position = Vector3.new(120.399994, 23.7121944, -146.599991)
  2651. Part194.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2652. BlockMesh195.Parent = Part194
  2653. Part196.Name = "Floor"
  2654. Part196.Parent = Model193
  2655. Part196.BrickColor = BrickColor.new("Brick yellow")
  2656. Part196.Anchored = true
  2657. Part196.CanCollide = false
  2658. Part196.FormFactor = Enum.FormFactor.Plate
  2659. Part196.Size = Vector3.new(6, 0.400000006, 1)
  2660. Part196.CFrame = CFrame.new(122.399994, 24.1122017, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2661. Part196.BottomSurface = Enum.SurfaceType.Smooth
  2662. Part196.TopSurface = Enum.SurfaceType.Smooth
  2663. Part196.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2664. Part196.Position = Vector3.new(122.399994, 24.1122017, -140.100006)
  2665. Part196.Color = Color3.new(0.843137, 0.772549, 0.603922)
  2666. BlockMesh197.Parent = Part196
  2667. BlockMesh197.Offset = Vector3.new(0, -0.400000006, 1)
  2668. Model198.Name = "Items"
  2669. Model198.Parent = Model173
  2670. Model199.Name = "Furnish"
  2671. Model199.Parent = Model198
  2672. Model200.Name = "Bed"
  2673. Model200.Parent = Model199
  2674. Part201.Name = "Pole"
  2675. Part201.Parent = Model200
  2676. Part201.BrickColor = BrickColor.new("Mid gray")
  2677. Part201.Reflectance = 0.15000000596046
  2678. Part201.Anchored = true
  2679. Part201.CanCollide = false
  2680. Part201.FormFactor = Enum.FormFactor.Symmetric
  2681. Part201.Size = Vector3.new(1, 5, 1)
  2682. Part201.CFrame = CFrame.new(114.900002, 26.4121971, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2683. Part201.BottomSurface = Enum.SurfaceType.Smooth
  2684. Part201.TopSurface = Enum.SurfaceType.Smooth
  2685. Part201.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2686. Part201.Position = Vector3.new(114.900002, 26.4121971, -140.100006)
  2687. Part201.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2688. CylinderMesh202.Parent = Part201
  2689. CylinderMesh202.Scale = Vector3.new(0.5, 1, 0.5)
  2690. CylinderMesh202.Scale = Vector3.new(0.5, 1, 0.5)
  2691. Part203.Name = "Pole"
  2692. Part203.Parent = Model200
  2693. Part203.BrickColor = BrickColor.new("Mid gray")
  2694. Part203.Reflectance = 0.15000000596046
  2695. Part203.Anchored = true
  2696. Part203.CanCollide = false
  2697. Part203.FormFactor = Enum.FormFactor.Symmetric
  2698. Part203.Size = Vector3.new(1, 5, 1)
  2699. Part203.CFrame = CFrame.new(114.900002, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2700. Part203.BottomSurface = Enum.SurfaceType.Smooth
  2701. Part203.TopSurface = Enum.SurfaceType.Smooth
  2702. Part203.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2703. Part203.Position = Vector3.new(114.900002, 26.4121971, -147.099991)
  2704. Part203.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2705. CylinderMesh204.Parent = Part203
  2706. CylinderMesh204.Scale = Vector3.new(0.5, 1, 0.5)
  2707. CylinderMesh204.Scale = Vector3.new(0.5, 1, 0.5)
  2708. Part205.Name = "Pole"
  2709. Part205.Parent = Model200
  2710. Part205.BrickColor = BrickColor.new("Mid gray")
  2711. Part205.Reflectance = 0.15000000596046
  2712. Part205.Anchored = true
  2713. Part205.CanCollide = false
  2714. Part205.FormFactor = Enum.FormFactor.Symmetric
  2715. Part205.Size = Vector3.new(1, 5, 1)
  2716. Part205.CFrame = CFrame.new(118.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2717. Part205.BottomSurface = Enum.SurfaceType.Smooth
  2718. Part205.TopSurface = Enum.SurfaceType.Smooth
  2719. Part205.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2720. Part205.Position = Vector3.new(118.899994, 26.4121971, -147.099991)
  2721. Part205.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2722. CylinderMesh206.Parent = Part205
  2723. CylinderMesh206.Scale = Vector3.new(0.5, 1, 0.5)
  2724. CylinderMesh206.Scale = Vector3.new(0.5, 1, 0.5)
  2725. Part207.Name = "Pole"
  2726. Part207.Parent = Model200
  2727. Part207.BrickColor = BrickColor.new("Mid gray")
  2728. Part207.Reflectance = 0.15000000596046
  2729. Part207.Anchored = true
  2730. Part207.CanCollide = false
  2731. Part207.FormFactor = Enum.FormFactor.Symmetric
  2732. Part207.Size = Vector3.new(1, 5, 1)
  2733. Part207.CFrame = CFrame.new(118.899994, 26.4121971, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2734. Part207.BottomSurface = Enum.SurfaceType.Smooth
  2735. Part207.TopSurface = Enum.SurfaceType.Smooth
  2736. Part207.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2737. Part207.Position = Vector3.new(118.899994, 26.4121971, -140.100006)
  2738. Part207.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2739. CylinderMesh208.Parent = Part207
  2740. CylinderMesh208.Scale = Vector3.new(0.5, 1, 0.5)
  2741. CylinderMesh208.Scale = Vector3.new(0.5, 1, 0.5)
  2742. Part209.Parent = Model200
  2743. Part209.BrickColor = BrickColor.new("Institutional white")
  2744. Part209.Rotation = Vector3.new(-180, 0, -180)
  2745. Part209.Anchored = true
  2746. Part209.FormFactor = Enum.FormFactor.Symmetric
  2747. Part209.Size = Vector3.new(3, 1, 6)
  2748. Part209.CFrame = CFrame.new(116.899994, 27.6122017, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2749. Part209.BottomSurface = Enum.SurfaceType.Smooth
  2750. Part209.TopSurface = Enum.SurfaceType.Smooth
  2751. Part209.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2752. Part209.Position = Vector3.new(116.899994, 27.6122017, -143.599991)
  2753. Part209.Orientation = Vector3.new(0, 180, 0)
  2754. Part209.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2755. BlockMesh210.Parent = Part209
  2756. BlockMesh210.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  2757. BlockMesh210.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  2758. Part211.Parent = Model200
  2759. Part211.BrickColor = BrickColor.new("Institutional white")
  2760. Part211.Rotation = Vector3.new(-180, 0, -180)
  2761. Part211.Anchored = true
  2762. Part211.FormFactor = Enum.FormFactor.Symmetric
  2763. Part211.Size = Vector3.new(3, 1, 6)
  2764. Part211.CFrame = CFrame.new(116.899994, 24.4121971, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  2765. Part211.BottomSurface = Enum.SurfaceType.Smooth
  2766. Part211.TopSurface = Enum.SurfaceType.Smooth
  2767. Part211.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2768. Part211.Position = Vector3.new(116.899994, 24.4121971, -143.599991)
  2769. Part211.Orientation = Vector3.new(0, 180, 0)
  2770. Part211.Color = Color3.new(0.972549, 0.972549, 0.972549)
  2771. BlockMesh212.Parent = Part211
  2772. BlockMesh212.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  2773. BlockMesh212.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  2774. Model213.Name = "Toilet"
  2775. Model213.Parent = Model199
  2776. Part214.Parent = Model213
  2777. Part214.BrickColor = BrickColor.new("Mid gray")
  2778. Part214.Rotation = Vector3.new(0, -90, 0)
  2779. Part214.Anchored = true
  2780. Part214.FormFactor = Enum.FormFactor.Symmetric
  2781. Part214.Size = Vector3.new(2, 3, 1)
  2782. Part214.CFrame = CFrame.new(114.900002, 26.4121971, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2783. Part214.BottomSurface = Enum.SurfaceType.Smooth
  2784. Part214.TopSurface = Enum.SurfaceType.Smooth
  2785. Part214.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2786. Part214.Position = Vector3.new(114.900002, 26.4121971, -150.599976)
  2787. Part214.Orientation = Vector3.new(0, -90, 0)
  2788. Part214.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2789. BlockMesh215.Parent = Part214
  2790. BlockMesh215.Scale = Vector3.new(1.5, 1, 1)
  2791. BlockMesh215.Scale = Vector3.new(1.5, 1, 1)
  2792. Part216.Parent = Model213
  2793. Part216.BrickColor = BrickColor.new("Mid gray")
  2794. Part216.Rotation = Vector3.new(0, -90, 0)
  2795. Part216.Anchored = true
  2796. Part216.FormFactor = Enum.FormFactor.Symmetric
  2797. Part216.Size = Vector3.new(2, 1, 3)
  2798. Part216.CFrame = CFrame.new(115.900002, 24.4121971, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2799. Part216.BottomSurface = Enum.SurfaceType.Smooth
  2800. Part216.TopSurface = Enum.SurfaceType.Smooth
  2801. Part216.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2802. Part216.Position = Vector3.new(115.900002, 24.4121971, -150.599976)
  2803. Part216.Orientation = Vector3.new(0, -90, 0)
  2804. Part216.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2805. BlockMesh217.Parent = Part216
  2806. Part218.Parent = Model213
  2807. Part218.BrickColor = BrickColor.new("Light stone grey")
  2808. Part218.Rotation = Vector3.new(0, -90, 0)
  2809. Part218.Anchored = true
  2810. Part218.FormFactor = Enum.FormFactor.Plate
  2811. Part218.Size = Vector3.new(2, 0.400000006, 2)
  2812. Part218.CFrame = CFrame.new(116.400002, 25.1122017, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2813. Part218.BottomSurface = Enum.SurfaceType.Smooth
  2814. Part218.TopSurface = Enum.SurfaceType.Smooth
  2815. Part218.Color = Color3.new(0.898039, 0.894118, 0.87451)
  2816. Part218.Position = Vector3.new(116.400002, 25.1122017, -150.599976)
  2817. Part218.Orientation = Vector3.new(0, -90, 0)
  2818. Part218.Color = Color3.new(0.898039, 0.894118, 0.87451)
  2819. SpecialMesh219.Parent = Part218
  2820. SpecialMesh219.Scale = Vector3.new(1.5, 2, 2)
  2821. SpecialMesh219.MeshType = Enum.MeshType.Sphere
  2822. SpecialMesh219.Scale = Vector3.new(1.5, 2, 2)
  2823. Part220.Name = "Pole"
  2824. Part220.Parent = Model199
  2825. Part220.BrickColor = BrickColor.new("Mid gray")
  2826. Part220.Reflectance = 0.15000000596046
  2827. Part220.Rotation = Vector3.new(0, 0, -90)
  2828. Part220.Anchored = true
  2829. Part220.CanCollide = false
  2830. Part220.FormFactor = Enum.FormFactor.Symmetric
  2831. Part220.Size = Vector3.new(1, 12, 1)
  2832. Part220.CFrame = CFrame.new(120.399994, 27.4121971, -153.099991, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  2833. Part220.BottomSurface = Enum.SurfaceType.Smooth
  2834. Part220.TopSurface = Enum.SurfaceType.Smooth
  2835. Part220.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2836. Part220.Position = Vector3.new(120.399994, 27.4121971, -153.099991)
  2837. Part220.Orientation = Vector3.new(0, 0, -90)
  2838. Part220.Color = Color3.new(0.803922, 0.803922, 0.803922)
  2839. CylinderMesh221.Parent = Part220
  2840. CylinderMesh221.Scale = Vector3.new(0.5, 1, 0.5)
  2841. CylinderMesh221.Scale = Vector3.new(0.5, 1, 0.5)
  2842. Model222.Name = "Functions"
  2843. Model222.Parent = Model198
  2844. Model223.Name = "Light"
  2845. Model223.Parent = Model222
  2846. Part224.Name = "Lightbulb"
  2847. Part224.Parent = Model223
  2848. Part224.Transparency = 0.5
  2849. Part224.Rotation = Vector3.new(180, 90, 0)
  2850. Part224.Anchored = true
  2851. Part224.CanCollide = false
  2852. Part224.FormFactor = Enum.FormFactor.Symmetric
  2853. Part224.Size = Vector3.new(2, 1, 2)
  2854. Part224.CFrame = CFrame.new(120.399994, 32.6122093, -146.599991, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  2855. Part224.BackSurface = Enum.SurfaceType.Weld
  2856. Part224.BottomSurface = Enum.SurfaceType.Weld
  2857. Part224.FrontSurface = Enum.SurfaceType.Weld
  2858. Part224.LeftSurface = Enum.SurfaceType.Weld
  2859. Part224.RightSurface = Enum.SurfaceType.Weld
  2860. Part224.TopSurface = Enum.SurfaceType.Weld
  2861. Part224.Position = Vector3.new(120.399994, 32.6122093, -146.599991)
  2862. Part224.Orientation = Vector3.new(0, 90, 180)
  2863. SpecialMesh225.Parent = Part224
  2864. SpecialMesh225.MeshId = "http://www.roblox.com/asset/?id=1376459"
  2865. SpecialMesh225.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  2866. SpecialMesh225.TextureId = "http://www.roblox.com/asset/?id=1376456"
  2867. SpecialMesh225.MeshType = Enum.MeshType.FileMesh
  2868. SpecialMesh225.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  2869. Part226.Name = "Light"
  2870. Part226.Parent = Model223
  2871. Part226.BrickColor = BrickColor.new("Cool yellow")
  2872. Part226.Transparency = 1
  2873. Part226.Anchored = true
  2874. Part226.CanCollide = false
  2875. Part226.FormFactor = Enum.FormFactor.Symmetric
  2876. Part226.Size = Vector3.new(2, 8, 2)
  2877. Part226.CFrame = CFrame.new(120.399994, 28.1122017, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2878. Part226.Color = Color3.new(0.992157, 0.917647, 0.552941)
  2879. Part226.Position = Vector3.new(120.399994, 28.1122017, -146.599991)
  2880. Part226.Color = Color3.new(0.992157, 0.917647, 0.552941)
  2881. SpecialMesh227.Parent = Part226
  2882. SpecialMesh227.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2883. SpecialMesh227.Scale = Vector3.new(7, 13, 7)
  2884. SpecialMesh227.MeshType = Enum.MeshType.FileMesh
  2885. SpecialMesh227.Scale = Vector3.new(7, 13, 7)
  2886. Script228.Name = "Function"
  2887. Script228.Parent = Model223
  2888. table.insert(cors,sandbox(Script228,function()
  2889. local on = false
  2890.  
  2891. function check()
  2892. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  2893. if ((n > 6) and (n < 18)) then
  2894. if (on) then
  2895. on = false
  2896. wait(math.random()*5)
  2897. for i = 1,5 do
  2898. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  2899. wait()
  2900. end
  2901. script.Parent.Light.Transparency = 1
  2902. end
  2903. elseif not (on) then
  2904. on = true
  2905. wait(math.random()*5)
  2906. for i = 1,5 do
  2907. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  2908. wait()
  2909. end
  2910. script.Parent.Light.Transparency = 0.5
  2911. end
  2912. end
  2913.  
  2914. game.Lighting.LightingChanged:connect(check)
  2915. check()
  2916. end))
  2917. Part229.Name = "LightSocket"
  2918. Part229.Parent = Model223
  2919. Part229.BrickColor = BrickColor.new("Dark stone grey")
  2920. Part229.Anchored = true
  2921. Part229.FormFactor = Enum.FormFactor.Symmetric
  2922. Part229.Size = Vector3.new(2, 1, 2)
  2923. Part229.CFrame = CFrame.new(120.399994, 32.6122093, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2924. Part229.BottomSurface = Enum.SurfaceType.Smooth
  2925. Part229.TopSurface = Enum.SurfaceType.Smooth
  2926. Part229.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2927. Part229.Position = Vector3.new(120.399994, 32.6122093, -146.599991)
  2928. Part229.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2929. CylinderMesh230.Parent = Part229
  2930. CylinderMesh230.Offset = Vector3.new(0, 0.600000024, 0)
  2931. CylinderMesh230.Scale = Vector3.new(1, 0.5, 1)
  2932. CylinderMesh230.Scale = Vector3.new(1, 0.5, 1)
  2933. Model231.Name = "Door"
  2934. Model231.Parent = Model173
  2935. Part232.Name = "Bar"
  2936. Part232.Parent = Model231
  2937. Part232.Reflectance = 0.15000000596046
  2938. Part232.Anchored = true
  2939. Part232.FormFactor = Enum.FormFactor.Symmetric
  2940. Part232.Size = Vector3.new(1, 9, 1)
  2941. Part232.CFrame = CFrame.new(124.899979, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2942. Part232.BottomSurface = Enum.SurfaceType.Smooth
  2943. Part232.TopSurface = Enum.SurfaceType.Smooth
  2944. Part232.Position = Vector3.new(124.899979, 28.0121994, -139.100006)
  2945. CylinderMesh233.Parent = Part232
  2946. CylinderMesh233.Scale = Vector3.new(0.5, 1, 1)
  2947. CylinderMesh233.Scale = Vector3.new(0.5, 1, 1)
  2948. Part234.Name = "Bar"
  2949. Part234.Parent = Model231
  2950. Part234.Reflectance = 0.15000000596046
  2951. Part234.Anchored = true
  2952. Part234.FormFactor = Enum.FormFactor.Symmetric
  2953. Part234.Size = Vector3.new(1, 9, 1)
  2954. Part234.CFrame = CFrame.new(123.899979, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2955. Part234.BottomSurface = Enum.SurfaceType.Smooth
  2956. Part234.TopSurface = Enum.SurfaceType.Smooth
  2957. Part234.Position = Vector3.new(123.899979, 28.0121994, -139.100006)
  2958. CylinderMesh235.Parent = Part234
  2959. CylinderMesh235.Scale = Vector3.new(0.5, 1, 1)
  2960. CylinderMesh235.Scale = Vector3.new(0.5, 1, 1)
  2961. Part236.Name = "Bar"
  2962. Part236.Parent = Model231
  2963. Part236.Reflectance = 0.15000000596046
  2964. Part236.Anchored = true
  2965. Part236.FormFactor = Enum.FormFactor.Symmetric
  2966. Part236.Size = Vector3.new(1, 9, 1)
  2967. Part236.CFrame = CFrame.new(122.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2968. Part236.BottomSurface = Enum.SurfaceType.Smooth
  2969. Part236.TopSurface = Enum.SurfaceType.Smooth
  2970. Part236.Position = Vector3.new(122.899994, 28.0121994, -139.100006)
  2971. CylinderMesh237.Parent = Part236
  2972. CylinderMesh237.Scale = Vector3.new(0.5, 1, 1)
  2973. CylinderMesh237.Scale = Vector3.new(0.5, 1, 1)
  2974. Part238.Name = "Bar"
  2975. Part238.Parent = Model231
  2976. Part238.Reflectance = 0.15000000596046
  2977. Part238.Anchored = true
  2978. Part238.FormFactor = Enum.FormFactor.Symmetric
  2979. Part238.Size = Vector3.new(1, 9, 1)
  2980. Part238.CFrame = CFrame.new(121.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2981. Part238.BottomSurface = Enum.SurfaceType.Smooth
  2982. Part238.TopSurface = Enum.SurfaceType.Smooth
  2983. Part238.Position = Vector3.new(121.899994, 28.0121994, -139.100006)
  2984. CylinderMesh239.Parent = Part238
  2985. CylinderMesh239.Scale = Vector3.new(0.5, 1, 1)
  2986. CylinderMesh239.Scale = Vector3.new(0.5, 1, 1)
  2987. Part240.Name = "Bar"
  2988. Part240.Parent = Model231
  2989. Part240.Reflectance = 0.15000000596046
  2990. Part240.Anchored = true
  2991. Part240.FormFactor = Enum.FormFactor.Symmetric
  2992. Part240.Size = Vector3.new(1, 9, 1)
  2993. Part240.CFrame = CFrame.new(120.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2994. Part240.BottomSurface = Enum.SurfaceType.Smooth
  2995. Part240.TopSurface = Enum.SurfaceType.Smooth
  2996. Part240.Position = Vector3.new(120.899994, 28.0121994, -139.100006)
  2997. CylinderMesh241.Parent = Part240
  2998. CylinderMesh241.Scale = Vector3.new(0.5, 1, 1)
  2999. CylinderMesh241.Scale = Vector3.new(0.5, 1, 1)
  3000. Part242.Name = "Bar"
  3001. Part242.Parent = Model231
  3002. Part242.Reflectance = 0.15000000596046
  3003. Part242.Anchored = true
  3004. Part242.FormFactor = Enum.FormFactor.Symmetric
  3005. Part242.Size = Vector3.new(1, 9, 1)
  3006. Part242.CFrame = CFrame.new(119.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3007. Part242.BottomSurface = Enum.SurfaceType.Smooth
  3008. Part242.TopSurface = Enum.SurfaceType.Smooth
  3009. Part242.Position = Vector3.new(119.899994, 28.0121994, -139.100006)
  3010. CylinderMesh243.Parent = Part242
  3011. CylinderMesh243.Scale = Vector3.new(0.5, 1, 1)
  3012. CylinderMesh243.Scale = Vector3.new(0.5, 1, 1)
  3013. Script244.Name = "Main"
  3014. Script244.Parent = Model231
  3015. table.insert(cors,sandbox(Script244,function()
  3016. local _items = {}
  3017.  
  3018. local door = -1
  3019. -- -1 = Closed
  3020. -- 0 = Active
  3021. -- 1 = Open
  3022.  
  3023. function getItems()
  3024. for _,v in pairs(script.Parent:GetChildren()) do
  3025. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  3026. table.insert(_items,v)
  3027. end
  3028. end
  3029. end
  3030.  
  3031. function main()
  3032. local d = door
  3033. door = 0
  3034. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  3035. for i = 0,5,0.05 do
  3036. for _,v in pairs(_items) do
  3037. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  3038. end
  3039. wait()
  3040. end
  3041. if (d == (-1)) then
  3042. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  3043. elseif (d == 1) then
  3044. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  3045. end
  3046. door = d
  3047. end
  3048.  
  3049. script.Parent.Button.Click.MouseClick:connect(function()
  3050. if (door == 0) then return end
  3051. door = (door*(-1))
  3052. main()
  3053. end)
  3054.  
  3055. getItems()
  3056. end))
  3057. Part245.Name = "Button"
  3058. Part245.Parent = Model231
  3059. Part245.BrickColor = BrickColor.new("Really red")
  3060. Part245.Reflectance = 0.20000000298023
  3061. Part245.Transparency = 0.5
  3062. Part245.Rotation = Vector3.new(90, 0, -180)
  3063. Part245.Anchored = true
  3064. Part245.FormFactor = Enum.FormFactor.Plate
  3065. Part245.Size = Vector3.new(1, 0.400000006, 1)
  3066. Part245.CFrame = CFrame.new(117.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  3067. Part245.BottomSurface = Enum.SurfaceType.Smooth
  3068. Part245.TopSurface = Enum.SurfaceType.Smooth
  3069. Part245.Color = Color3.new(1, 0, 0)
  3070. Part245.Position = Vector3.new(117.899994, 28.0121784, -138.399994)
  3071. Part245.Orientation = Vector3.new(90, 180, 0)
  3072. Part245.Color = Color3.new(1, 0, 0)
  3073. BlockMesh246.Parent = Part245
  3074. CylinderMesh247.Parent = Part245
  3075. CylinderMesh247.Offset = Vector3.new(0, 0.150000006, 0)
  3076. CylinderMesh247.Scale = Vector3.new(1, 0.200000003, 1)
  3077. CylinderMesh247.Scale = Vector3.new(1, 0.200000003, 1)
  3078. ClickDetector248.Name = "Click"
  3079. ClickDetector248.Parent = Part245
  3080. Model249.Parent = Model1
  3081. Model250.Name = "PrisonCell"
  3082. Model250.Parent = Model249
  3083. Model251.Name = "Exterior"
  3084. Model251.Parent = Model250
  3085. Model252.Name = "Top"
  3086. Model252.Parent = Model251
  3087. Part253.Name = "Ceiling"
  3088. Part253.Parent = Model252
  3089. Part253.BrickColor = BrickColor.new("Brick yellow")
  3090. Part253.Anchored = true
  3091. Part253.FormFactor = Enum.FormFactor.Plate
  3092. Part253.Size = Vector3.new(12, 0.400000006, 14)
  3093. Part253.CFrame = CFrame.new(120.399986, 19.512167, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3094. Part253.BottomSurface = Enum.SurfaceType.Smooth
  3095. Part253.TopSurface = Enum.SurfaceType.Smooth
  3096. Part253.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3097. Part253.Position = Vector3.new(120.399986, 19.512167, -146.600006)
  3098. Part253.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3099. BlockMesh254.Parent = Part253
  3100. Part255.Name = "Top"
  3101. Part255.Parent = Model252
  3102. Part255.BrickColor = BrickColor.new("Dark stone grey")
  3103. Part255.Anchored = true
  3104. Part255.FormFactor = Enum.FormFactor.Symmetric
  3105. Part255.Size = Vector3.new(14, 1, 16)
  3106. Part255.CFrame = CFrame.new(120.399986, 20.2121506, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3107. Part255.BottomSurface = Enum.SurfaceType.Smooth
  3108. Part255.TopSurface = Enum.SurfaceType.Smooth
  3109. Part255.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3110. Part255.Position = Vector3.new(120.399986, 20.2121506, -146.600006)
  3111. Part255.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3112. BlockMesh256.Parent = Part255
  3113. Model257.Name = "Walls"
  3114. Model257.Parent = Model251
  3115. Part258.Parent = Model257
  3116. Part258.BrickColor = BrickColor.new("Dark stone grey")
  3117. Part258.Anchored = true
  3118. Part258.FormFactor = Enum.FormFactor.Symmetric
  3119. Part258.Size = Vector3.new(6, 1, 1)
  3120. Part258.CFrame = CFrame.new(122.399986, 19.2121429, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3121. Part258.BottomSurface = Enum.SurfaceType.Smooth
  3122. Part258.TopSurface = Enum.SurfaceType.Smooth
  3123. Part258.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3124. Part258.Position = Vector3.new(122.399986, 19.2121429, -139.100006)
  3125. Part258.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3126. BlockMesh259.Parent = Part258
  3127. Part260.Parent = Model257
  3128. Part260.BrickColor = BrickColor.new("Dark stone grey")
  3129. Part260.Anchored = true
  3130. Part260.FormFactor = Enum.FormFactor.Symmetric
  3131. Part260.Size = Vector3.new(6, 10, 1)
  3132. Part260.CFrame = CFrame.new(116.399994, 14.7121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3133. Part260.BottomSurface = Enum.SurfaceType.Smooth
  3134. Part260.TopSurface = Enum.SurfaceType.Smooth
  3135. Part260.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3136. Part260.Position = Vector3.new(116.399994, 14.7121191, -139.100006)
  3137. Part260.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3138. BlockMesh261.Parent = Part260
  3139. Part262.Parent = Model257
  3140. Part262.BrickColor = BrickColor.new("Dark stone grey")
  3141. Part262.Rotation = Vector3.new(-180, 0, -180)
  3142. Part262.Anchored = true
  3143. Part262.FormFactor = Enum.FormFactor.Symmetric
  3144. Part262.Size = Vector3.new(1, 10, 14)
  3145. Part262.CFrame = CFrame.new(113.899986, 14.7121191, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3146. Part262.BottomSurface = Enum.SurfaceType.Smooth
  3147. Part262.TopSurface = Enum.SurfaceType.Smooth
  3148. Part262.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3149. Part262.Position = Vector3.new(113.899986, 14.7121191, -146.600006)
  3150. Part262.Orientation = Vector3.new(0, 180, 0)
  3151. Part262.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3152. BlockMesh263.Parent = Part262
  3153. Part264.Parent = Model257
  3154. Part264.BrickColor = BrickColor.new("Dark stone grey")
  3155. Part264.Rotation = Vector3.new(0, -90, 0)
  3156. Part264.Anchored = true
  3157. Part264.FormFactor = Enum.FormFactor.Symmetric
  3158. Part264.Size = Vector3.new(1, 10, 14)
  3159. Part264.CFrame = CFrame.new(120.399986, 14.7121191, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3160. Part264.BottomSurface = Enum.SurfaceType.Smooth
  3161. Part264.TopSurface = Enum.SurfaceType.Smooth
  3162. Part264.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3163. Part264.Position = Vector3.new(120.399986, 14.7121191, -154.099976)
  3164. Part264.Orientation = Vector3.new(0, -90, 0)
  3165. Part264.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3166. BlockMesh265.Parent = Part264
  3167. Part266.Parent = Model257
  3168. Part266.BrickColor = BrickColor.new("Dark stone grey")
  3169. Part266.Rotation = Vector3.new(-180, 0, -180)
  3170. Part266.Anchored = true
  3171. Part266.FormFactor = Enum.FormFactor.Symmetric
  3172. Part266.Size = Vector3.new(1, 10, 14)
  3173. Part266.CFrame = CFrame.new(126.899979, 14.7121191, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3174. Part266.BottomSurface = Enum.SurfaceType.Smooth
  3175. Part266.TopSurface = Enum.SurfaceType.Smooth
  3176. Part266.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3177. Part266.Position = Vector3.new(126.899979, 14.7121191, -146.600006)
  3178. Part266.Orientation = Vector3.new(0, 180, 0)
  3179. Part266.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3180. BlockMesh267.Parent = Part266
  3181. Part268.Parent = Model257
  3182. Part268.BrickColor = BrickColor.new("Dark stone grey")
  3183. Part268.Rotation = Vector3.new(0, 90, 0)
  3184. Part268.Anchored = true
  3185. Part268.FormFactor = Enum.FormFactor.Symmetric
  3186. Part268.Size = Vector3.new(1, 10, 2)
  3187. Part268.CFrame = CFrame.new(126.399979, 14.7121191, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3188. Part268.BottomSurface = Enum.SurfaceType.Smooth
  3189. Part268.TopSurface = Enum.SurfaceType.Smooth
  3190. Part268.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3191. Part268.Position = Vector3.new(126.399979, 14.7121191, -139.100006)
  3192. Part268.Orientation = Vector3.new(0, 90, 0)
  3193. Part268.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3194. BlockMesh269.Parent = Part268
  3195. Model270.Name = "Floor"
  3196. Model270.Parent = Model251
  3197. Part271.Name = "Floor"
  3198. Part271.Parent = Model270
  3199. Part271.BrickColor = BrickColor.new("Brick yellow")
  3200. Part271.Anchored = true
  3201. Part271.FormFactor = Enum.FormFactor.Plate
  3202. Part271.Size = Vector3.new(12, 0.400000006, 14)
  3203. Part271.CFrame = CFrame.new(120.399986, 9.91214752, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3204. Part271.BottomSurface = Enum.SurfaceType.Smooth
  3205. Part271.TopSurface = Enum.SurfaceType.Smooth
  3206. Part271.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3207. Part271.Position = Vector3.new(120.399986, 9.91214752, -146.600006)
  3208. Part271.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3209. BlockMesh272.Parent = Part271
  3210. Part273.Name = "Floor"
  3211. Part273.Parent = Model270
  3212. Part273.BrickColor = BrickColor.new("Brick yellow")
  3213. Part273.Anchored = true
  3214. Part273.CanCollide = false
  3215. Part273.FormFactor = Enum.FormFactor.Plate
  3216. Part273.Size = Vector3.new(6, 0.400000006, 1)
  3217. Part273.CFrame = CFrame.new(122.399986, 10.3121395, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3218. Part273.BottomSurface = Enum.SurfaceType.Smooth
  3219. Part273.TopSurface = Enum.SurfaceType.Smooth
  3220. Part273.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3221. Part273.Position = Vector3.new(122.399986, 10.3121395, -140.100006)
  3222. Part273.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3223. BlockMesh274.Parent = Part273
  3224. BlockMesh274.Offset = Vector3.new(0, -0.400000006, 1)
  3225. Model275.Name = "Items"
  3226. Model275.Parent = Model250
  3227. Model276.Name = "Furnish"
  3228. Model276.Parent = Model275
  3229. Model277.Name = "Bed"
  3230. Model277.Parent = Model276
  3231. Part278.Name = "Pole"
  3232. Part278.Parent = Model277
  3233. Part278.BrickColor = BrickColor.new("Mid gray")
  3234. Part278.Reflectance = 0.15000000596046
  3235. Part278.Anchored = true
  3236. Part278.CanCollide = false
  3237. Part278.FormFactor = Enum.FormFactor.Symmetric
  3238. Part278.Size = Vector3.new(1, 5, 1)
  3239. Part278.CFrame = CFrame.new(114.899994, 12.6121292, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3240. Part278.BottomSurface = Enum.SurfaceType.Smooth
  3241. Part278.TopSurface = Enum.SurfaceType.Smooth
  3242. Part278.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3243. Part278.Position = Vector3.new(114.899994, 12.6121292, -140.100006)
  3244. Part278.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3245. CylinderMesh279.Parent = Part278
  3246. CylinderMesh279.Scale = Vector3.new(0.5, 1, 0.5)
  3247. CylinderMesh279.Scale = Vector3.new(0.5, 1, 0.5)
  3248. Part280.Name = "Pole"
  3249. Part280.Parent = Model277
  3250. Part280.BrickColor = BrickColor.new("Mid gray")
  3251. Part280.Reflectance = 0.15000000596046
  3252. Part280.Anchored = true
  3253. Part280.CanCollide = false
  3254. Part280.FormFactor = Enum.FormFactor.Symmetric
  3255. Part280.Size = Vector3.new(1, 5, 1)
  3256. Part280.CFrame = CFrame.new(114.899994, 12.6121292, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3257. Part280.BottomSurface = Enum.SurfaceType.Smooth
  3258. Part280.TopSurface = Enum.SurfaceType.Smooth
  3259. Part280.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3260. Part280.Position = Vector3.new(114.899994, 12.6121292, -147.100006)
  3261. Part280.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3262. CylinderMesh281.Parent = Part280
  3263. CylinderMesh281.Scale = Vector3.new(0.5, 1, 0.5)
  3264. CylinderMesh281.Scale = Vector3.new(0.5, 1, 0.5)
  3265. Part282.Name = "Pole"
  3266. Part282.Parent = Model277
  3267. Part282.BrickColor = BrickColor.new("Mid gray")
  3268. Part282.Reflectance = 0.15000000596046
  3269. Part282.Anchored = true
  3270. Part282.CanCollide = false
  3271. Part282.FormFactor = Enum.FormFactor.Symmetric
  3272. Part282.Size = Vector3.new(1, 5, 1)
  3273. Part282.CFrame = CFrame.new(118.899986, 12.6121292, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3274. Part282.BottomSurface = Enum.SurfaceType.Smooth
  3275. Part282.TopSurface = Enum.SurfaceType.Smooth
  3276. Part282.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3277. Part282.Position = Vector3.new(118.899986, 12.6121292, -147.100006)
  3278. Part282.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3279. CylinderMesh283.Parent = Part282
  3280. CylinderMesh283.Scale = Vector3.new(0.5, 1, 0.5)
  3281. CylinderMesh283.Scale = Vector3.new(0.5, 1, 0.5)
  3282. Part284.Name = "Pole"
  3283. Part284.Parent = Model277
  3284. Part284.BrickColor = BrickColor.new("Mid gray")
  3285. Part284.Reflectance = 0.15000000596046
  3286. Part284.Anchored = true
  3287. Part284.CanCollide = false
  3288. Part284.FormFactor = Enum.FormFactor.Symmetric
  3289. Part284.Size = Vector3.new(1, 5, 1)
  3290. Part284.CFrame = CFrame.new(118.899986, 12.6121292, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3291. Part284.BottomSurface = Enum.SurfaceType.Smooth
  3292. Part284.TopSurface = Enum.SurfaceType.Smooth
  3293. Part284.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3294. Part284.Position = Vector3.new(118.899986, 12.6121292, -140.100006)
  3295. Part284.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3296. CylinderMesh285.Parent = Part284
  3297. CylinderMesh285.Scale = Vector3.new(0.5, 1, 0.5)
  3298. CylinderMesh285.Scale = Vector3.new(0.5, 1, 0.5)
  3299. Part286.Parent = Model277
  3300. Part286.BrickColor = BrickColor.new("Institutional white")
  3301. Part286.Rotation = Vector3.new(-180, 0, -180)
  3302. Part286.Anchored = true
  3303. Part286.FormFactor = Enum.FormFactor.Symmetric
  3304. Part286.Size = Vector3.new(3, 1, 6)
  3305. Part286.CFrame = CFrame.new(116.899986, 13.8121252, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3306. Part286.BottomSurface = Enum.SurfaceType.Smooth
  3307. Part286.TopSurface = Enum.SurfaceType.Smooth
  3308. Part286.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3309. Part286.Position = Vector3.new(116.899986, 13.8121252, -143.600006)
  3310. Part286.Orientation = Vector3.new(0, 180, 0)
  3311. Part286.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3312. BlockMesh287.Parent = Part286
  3313. BlockMesh287.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  3314. BlockMesh287.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  3315. Part288.Parent = Model277
  3316. Part288.BrickColor = BrickColor.new("Institutional white")
  3317. Part288.Rotation = Vector3.new(-180, 0, -180)
  3318. Part288.Anchored = true
  3319. Part288.FormFactor = Enum.FormFactor.Symmetric
  3320. Part288.Size = Vector3.new(3, 1, 6)
  3321. Part288.CFrame = CFrame.new(116.899986, 10.6121435, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3322. Part288.BottomSurface = Enum.SurfaceType.Smooth
  3323. Part288.TopSurface = Enum.SurfaceType.Smooth
  3324. Part288.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3325. Part288.Position = Vector3.new(116.899986, 10.6121435, -143.600006)
  3326. Part288.Orientation = Vector3.new(0, 180, 0)
  3327. Part288.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3328. BlockMesh289.Parent = Part288
  3329. BlockMesh289.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  3330. BlockMesh289.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  3331. Model290.Name = "Toilet"
  3332. Model290.Parent = Model276
  3333. Part291.Parent = Model290
  3334. Part291.BrickColor = BrickColor.new("Mid gray")
  3335. Part291.Rotation = Vector3.new(0, -90, 0)
  3336. Part291.Anchored = true
  3337. Part291.FormFactor = Enum.FormFactor.Symmetric
  3338. Part291.Size = Vector3.new(2, 3, 1)
  3339. Part291.CFrame = CFrame.new(114.899994, 12.6121292, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3340. Part291.BottomSurface = Enum.SurfaceType.Smooth
  3341. Part291.TopSurface = Enum.SurfaceType.Smooth
  3342. Part291.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3343. Part291.Position = Vector3.new(114.899994, 12.6121292, -150.599976)
  3344. Part291.Orientation = Vector3.new(0, -90, 0)
  3345. Part291.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3346. BlockMesh292.Parent = Part291
  3347. BlockMesh292.Scale = Vector3.new(1.5, 1, 1)
  3348. BlockMesh292.Scale = Vector3.new(1.5, 1, 1)
  3349. Part293.Parent = Model290
  3350. Part293.BrickColor = BrickColor.new("Mid gray")
  3351. Part293.Rotation = Vector3.new(0, -90, 0)
  3352. Part293.Anchored = true
  3353. Part293.FormFactor = Enum.FormFactor.Symmetric
  3354. Part293.Size = Vector3.new(2, 1, 3)
  3355. Part293.CFrame = CFrame.new(115.899994, 10.6121435, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3356. Part293.BottomSurface = Enum.SurfaceType.Smooth
  3357. Part293.TopSurface = Enum.SurfaceType.Smooth
  3358. Part293.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3359. Part293.Position = Vector3.new(115.899994, 10.6121435, -150.599976)
  3360. Part293.Orientation = Vector3.new(0, -90, 0)
  3361. Part293.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3362. BlockMesh294.Parent = Part293
  3363. Part295.Parent = Model290
  3364. Part295.BrickColor = BrickColor.new("Light stone grey")
  3365. Part295.Rotation = Vector3.new(0, -90, 0)
  3366. Part295.Anchored = true
  3367. Part295.FormFactor = Enum.FormFactor.Plate
  3368. Part295.Size = Vector3.new(2, 0.400000006, 2)
  3369. Part295.CFrame = CFrame.new(116.399994, 11.3121252, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3370. Part295.BottomSurface = Enum.SurfaceType.Smooth
  3371. Part295.TopSurface = Enum.SurfaceType.Smooth
  3372. Part295.Color = Color3.new(0.898039, 0.894118, 0.87451)
  3373. Part295.Position = Vector3.new(116.399994, 11.3121252, -150.599976)
  3374. Part295.Orientation = Vector3.new(0, -90, 0)
  3375. Part295.Color = Color3.new(0.898039, 0.894118, 0.87451)
  3376. SpecialMesh296.Parent = Part295
  3377. SpecialMesh296.Scale = Vector3.new(1.5, 2, 2)
  3378. SpecialMesh296.MeshType = Enum.MeshType.Sphere
  3379. SpecialMesh296.Scale = Vector3.new(1.5, 2, 2)
  3380. Part297.Name = "Pole"
  3381. Part297.Parent = Model276
  3382. Part297.BrickColor = BrickColor.new("Mid gray")
  3383. Part297.Reflectance = 0.15000000596046
  3384. Part297.Rotation = Vector3.new(0, 0, -90)
  3385. Part297.Anchored = true
  3386. Part297.CanCollide = false
  3387. Part297.FormFactor = Enum.FormFactor.Symmetric
  3388. Part297.Size = Vector3.new(1, 12, 1)
  3389. Part297.CFrame = CFrame.new(120.399986, 13.6121292, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  3390. Part297.BottomSurface = Enum.SurfaceType.Smooth
  3391. Part297.TopSurface = Enum.SurfaceType.Smooth
  3392. Part297.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3393. Part297.Position = Vector3.new(120.399986, 13.6121292, -153.099976)
  3394. Part297.Orientation = Vector3.new(0, 0, -90)
  3395. Part297.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3396. CylinderMesh298.Parent = Part297
  3397. CylinderMesh298.Scale = Vector3.new(0.5, 1, 0.5)
  3398. CylinderMesh298.Scale = Vector3.new(0.5, 1, 0.5)
  3399. Model299.Name = "Functions"
  3400. Model299.Parent = Model275
  3401. Model300.Name = "Light"
  3402. Model300.Parent = Model299
  3403. Part301.Name = "Lightbulb"
  3404. Part301.Parent = Model300
  3405. Part301.Transparency = 0.5
  3406. Part301.Rotation = Vector3.new(180, 90, 0)
  3407. Part301.Anchored = true
  3408. Part301.CanCollide = false
  3409. Part301.FormFactor = Enum.FormFactor.Symmetric
  3410. Part301.Size = Vector3.new(2, 1, 2)
  3411. Part301.CFrame = CFrame.new(120.399986, 18.8121414, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  3412. Part301.BackSurface = Enum.SurfaceType.Weld
  3413. Part301.BottomSurface = Enum.SurfaceType.Weld
  3414. Part301.FrontSurface = Enum.SurfaceType.Weld
  3415. Part301.LeftSurface = Enum.SurfaceType.Weld
  3416. Part301.RightSurface = Enum.SurfaceType.Weld
  3417. Part301.TopSurface = Enum.SurfaceType.Weld
  3418. Part301.Position = Vector3.new(120.399986, 18.8121414, -146.600006)
  3419. Part301.Orientation = Vector3.new(0, 90, 180)
  3420. SpecialMesh302.Parent = Part301
  3421. SpecialMesh302.MeshId = "http://www.roblox.com/asset/?id=1376459"
  3422. SpecialMesh302.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  3423. SpecialMesh302.TextureId = "http://www.roblox.com/asset/?id=1376456"
  3424. SpecialMesh302.MeshType = Enum.MeshType.FileMesh
  3425. SpecialMesh302.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  3426. Part303.Name = "Light"
  3427. Part303.Parent = Model300
  3428. Part303.BrickColor = BrickColor.new("Cool yellow")
  3429. Part303.Transparency = 1
  3430. Part303.Anchored = true
  3431. Part303.CanCollide = false
  3432. Part303.FormFactor = Enum.FormFactor.Symmetric
  3433. Part303.Size = Vector3.new(2, 8, 2)
  3434. Part303.CFrame = CFrame.new(120.399986, 14.3121176, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3435. Part303.Color = Color3.new(0.992157, 0.917647, 0.552941)
  3436. Part303.Position = Vector3.new(120.399986, 14.3121176, -146.600006)
  3437. Part303.Color = Color3.new(0.992157, 0.917647, 0.552941)
  3438. SpecialMesh304.Parent = Part303
  3439. SpecialMesh304.MeshId = "http://www.roblox.com/asset/?id=1033714"
  3440. SpecialMesh304.Scale = Vector3.new(7, 13, 7)
  3441. SpecialMesh304.MeshType = Enum.MeshType.FileMesh
  3442. SpecialMesh304.Scale = Vector3.new(7, 13, 7)
  3443. Script305.Name = "Function"
  3444. Script305.Parent = Model300
  3445. table.insert(cors,sandbox(Script305,function()
  3446. local on = false
  3447.  
  3448. function check()
  3449. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  3450. if ((n > 6) and (n < 18)) then
  3451. if (on) then
  3452. on = false
  3453. wait(math.random()*5)
  3454. for i = 1,5 do
  3455. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  3456. wait()
  3457. end
  3458. script.Parent.Light.Transparency = 1
  3459. end
  3460. elseif not (on) then
  3461. on = true
  3462. wait(math.random()*5)
  3463. for i = 1,5 do
  3464. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  3465. wait()
  3466. end
  3467. script.Parent.Light.Transparency = 0.5
  3468. end
  3469. end
  3470.  
  3471. game.Lighting.LightingChanged:connect(check)
  3472. check()
  3473. end))
  3474. Part306.Name = "LightSocket"
  3475. Part306.Parent = Model300
  3476. Part306.BrickColor = BrickColor.new("Dark stone grey")
  3477. Part306.Anchored = true
  3478. Part306.FormFactor = Enum.FormFactor.Symmetric
  3479. Part306.Size = Vector3.new(2, 1, 2)
  3480. Part306.CFrame = CFrame.new(120.399986, 18.8121414, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3481. Part306.BottomSurface = Enum.SurfaceType.Smooth
  3482. Part306.TopSurface = Enum.SurfaceType.Smooth
  3483. Part306.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3484. Part306.Position = Vector3.new(120.399986, 18.8121414, -146.600006)
  3485. Part306.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3486. CylinderMesh307.Parent = Part306
  3487. CylinderMesh307.Offset = Vector3.new(0, 0.600000024, 0)
  3488. CylinderMesh307.Scale = Vector3.new(1, 0.5, 1)
  3489. CylinderMesh307.Scale = Vector3.new(1, 0.5, 1)
  3490. Model308.Name = "Door"
  3491. Model308.Parent = Model250
  3492. Part309.Name = "Bar"
  3493. Part309.Parent = Model308
  3494. Part309.Reflectance = 0.15000000596046
  3495. Part309.Anchored = true
  3496. Part309.FormFactor = Enum.FormFactor.Symmetric
  3497. Part309.Size = Vector3.new(1, 9, 1)
  3498. Part309.CFrame = CFrame.new(124.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3499. Part309.BottomSurface = Enum.SurfaceType.Smooth
  3500. Part309.TopSurface = Enum.SurfaceType.Smooth
  3501. Part309.Position = Vector3.new(124.899986, 14.2121191, -139.100006)
  3502. CylinderMesh310.Parent = Part309
  3503. CylinderMesh310.Scale = Vector3.new(0.5, 1, 1)
  3504. CylinderMesh310.Scale = Vector3.new(0.5, 1, 1)
  3505. Part311.Name = "Bar"
  3506. Part311.Parent = Model308
  3507. Part311.Reflectance = 0.15000000596046
  3508. Part311.Anchored = true
  3509. Part311.FormFactor = Enum.FormFactor.Symmetric
  3510. Part311.Size = Vector3.new(1, 9, 1)
  3511. Part311.CFrame = CFrame.new(123.899971, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3512. Part311.BottomSurface = Enum.SurfaceType.Smooth
  3513. Part311.TopSurface = Enum.SurfaceType.Smooth
  3514. Part311.Position = Vector3.new(123.899971, 14.2121191, -139.100006)
  3515. CylinderMesh312.Parent = Part311
  3516. CylinderMesh312.Scale = Vector3.new(0.5, 1, 1)
  3517. CylinderMesh312.Scale = Vector3.new(0.5, 1, 1)
  3518. Part313.Name = "Bar"
  3519. Part313.Parent = Model308
  3520. Part313.Reflectance = 0.15000000596046
  3521. Part313.Anchored = true
  3522. Part313.FormFactor = Enum.FormFactor.Symmetric
  3523. Part313.Size = Vector3.new(1, 9, 1)
  3524. Part313.CFrame = CFrame.new(122.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3525. Part313.BottomSurface = Enum.SurfaceType.Smooth
  3526. Part313.TopSurface = Enum.SurfaceType.Smooth
  3527. Part313.Position = Vector3.new(122.899986, 14.2121191, -139.100006)
  3528. CylinderMesh314.Parent = Part313
  3529. CylinderMesh314.Scale = Vector3.new(0.5, 1, 1)
  3530. CylinderMesh314.Scale = Vector3.new(0.5, 1, 1)
  3531. Part315.Name = "Bar"
  3532. Part315.Parent = Model308
  3533. Part315.Reflectance = 0.15000000596046
  3534. Part315.Anchored = true
  3535. Part315.FormFactor = Enum.FormFactor.Symmetric
  3536. Part315.Size = Vector3.new(1, 9, 1)
  3537. Part315.CFrame = CFrame.new(121.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3538. Part315.BottomSurface = Enum.SurfaceType.Smooth
  3539. Part315.TopSurface = Enum.SurfaceType.Smooth
  3540. Part315.Position = Vector3.new(121.899986, 14.2121191, -139.100006)
  3541. CylinderMesh316.Parent = Part315
  3542. CylinderMesh316.Scale = Vector3.new(0.5, 1, 1)
  3543. CylinderMesh316.Scale = Vector3.new(0.5, 1, 1)
  3544. Part317.Name = "Bar"
  3545. Part317.Parent = Model308
  3546. Part317.Reflectance = 0.15000000596046
  3547. Part317.Anchored = true
  3548. Part317.FormFactor = Enum.FormFactor.Symmetric
  3549. Part317.Size = Vector3.new(1, 9, 1)
  3550. Part317.CFrame = CFrame.new(120.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3551. Part317.BottomSurface = Enum.SurfaceType.Smooth
  3552. Part317.TopSurface = Enum.SurfaceType.Smooth
  3553. Part317.Position = Vector3.new(120.899986, 14.2121191, -139.100006)
  3554. CylinderMesh318.Parent = Part317
  3555. CylinderMesh318.Scale = Vector3.new(0.5, 1, 1)
  3556. CylinderMesh318.Scale = Vector3.new(0.5, 1, 1)
  3557. Part319.Name = "Bar"
  3558. Part319.Parent = Model308
  3559. Part319.Reflectance = 0.15000000596046
  3560. Part319.Anchored = true
  3561. Part319.FormFactor = Enum.FormFactor.Symmetric
  3562. Part319.Size = Vector3.new(1, 9, 1)
  3563. Part319.CFrame = CFrame.new(119.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3564. Part319.BottomSurface = Enum.SurfaceType.Smooth
  3565. Part319.TopSurface = Enum.SurfaceType.Smooth
  3566. Part319.Position = Vector3.new(119.899986, 14.2121191, -139.100006)
  3567. CylinderMesh320.Parent = Part319
  3568. CylinderMesh320.Scale = Vector3.new(0.5, 1, 1)
  3569. CylinderMesh320.Scale = Vector3.new(0.5, 1, 1)
  3570. Script321.Name = "Main"
  3571. Script321.Parent = Model308
  3572. table.insert(cors,sandbox(Script321,function()
  3573. local _items = {}
  3574.  
  3575. local door = -1
  3576. -- -1 = Closed
  3577. -- 0 = Active
  3578. -- 1 = Open
  3579.  
  3580. function getItems()
  3581. for _,v in pairs(script.Parent:GetChildren()) do
  3582. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  3583. table.insert(_items,v)
  3584. end
  3585. end
  3586. end
  3587.  
  3588. function main()
  3589. local d = door
  3590. door = 0
  3591. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  3592. for i = 0,5,0.05 do
  3593. for _,v in pairs(_items) do
  3594. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  3595. end
  3596. wait()
  3597. end
  3598. if (d == (-1)) then
  3599. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  3600. elseif (d == 1) then
  3601. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  3602. end
  3603. door = d
  3604. end
  3605.  
  3606. script.Parent.Button.Click.MouseClick:connect(function()
  3607. if (door == 0) then return end
  3608. door = (door*(-1))
  3609. main()
  3610. end)
  3611.  
  3612. getItems()
  3613. end))
  3614. Part322.Name = "Button"
  3615. Part322.Parent = Model308
  3616. Part322.BrickColor = BrickColor.new("Really red")
  3617. Part322.Reflectance = 0.20000000298023
  3618. Part322.Transparency = 0.5
  3619. Part322.Rotation = Vector3.new(90, 0, -180)
  3620. Part322.Anchored = true
  3621. Part322.FormFactor = Enum.FormFactor.Plate
  3622. Part322.Size = Vector3.new(1, 0.400000006, 1)
  3623. Part322.CFrame = CFrame.new(117.899986, 14.2121134, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  3624. Part322.BottomSurface = Enum.SurfaceType.Smooth
  3625. Part322.TopSurface = Enum.SurfaceType.Smooth
  3626. Part322.Color = Color3.new(1, 0, 0)
  3627. Part322.Position = Vector3.new(117.899986, 14.2121134, -138.399994)
  3628. Part322.Orientation = Vector3.new(90, 180, 0)
  3629. Part322.Color = Color3.new(1, 0, 0)
  3630. BlockMesh323.Parent = Part322
  3631. CylinderMesh324.Parent = Part322
  3632. CylinderMesh324.Offset = Vector3.new(0, 0.150000006, 0)
  3633. CylinderMesh324.Scale = Vector3.new(1, 0.200000003, 1)
  3634. CylinderMesh324.Scale = Vector3.new(1, 0.200000003, 1)
  3635. ClickDetector325.Name = "Click"
  3636. ClickDetector325.Parent = Part322
  3637. Model326.Name = "PrisonCell"
  3638. Model326.Parent = Model1
  3639. Model327.Name = "Exterior"
  3640. Model327.Parent = Model326
  3641. Model328.Name = "Top"
  3642. Model328.Parent = Model327
  3643. Part329.Name = "Ceiling"
  3644. Part329.Parent = Model328
  3645. Part329.BrickColor = BrickColor.new("Brick yellow")
  3646. Part329.Anchored = true
  3647. Part329.FormFactor = Enum.FormFactor.Plate
  3648. Part329.Size = Vector3.new(12, 0.400000006, 14)
  3649. Part329.CFrame = CFrame.new(78.3999939, 33.7121582, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3650. Part329.BottomSurface = Enum.SurfaceType.Smooth
  3651. Part329.TopSurface = Enum.SurfaceType.Smooth
  3652. Part329.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3653. Part329.Position = Vector3.new(78.3999939, 33.7121582, -146.600006)
  3654. Part329.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3655. BlockMesh330.Parent = Part329
  3656. Part331.Name = "Top"
  3657. Part331.Parent = Model328
  3658. Part331.BrickColor = BrickColor.new("Dark stone grey")
  3659. Part331.Anchored = true
  3660. Part331.FormFactor = Enum.FormFactor.Symmetric
  3661. Part331.Size = Vector3.new(14, 1, 16)
  3662. Part331.CFrame = CFrame.new(78.3999939, 34.4121437, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3663. Part331.BottomSurface = Enum.SurfaceType.Smooth
  3664. Part331.TopSurface = Enum.SurfaceType.Smooth
  3665. Part331.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3666. Part331.Position = Vector3.new(78.3999939, 34.4121437, -146.600006)
  3667. Part331.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3668. BlockMesh332.Parent = Part331
  3669. Model333.Name = "Walls"
  3670. Model333.Parent = Model327
  3671. Part334.Parent = Model333
  3672. Part334.BrickColor = BrickColor.new("Dark stone grey")
  3673. Part334.Anchored = true
  3674. Part334.FormFactor = Enum.FormFactor.Symmetric
  3675. Part334.Size = Vector3.new(6, 1, 1)
  3676. Part334.CFrame = CFrame.new(80.3999939, 33.4121552, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3677. Part334.BottomSurface = Enum.SurfaceType.Smooth
  3678. Part334.TopSurface = Enum.SurfaceType.Smooth
  3679. Part334.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3680. Part334.Position = Vector3.new(80.3999939, 33.4121552, -139.100006)
  3681. Part334.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3682. BlockMesh335.Parent = Part334
  3683. Part336.Parent = Model333
  3684. Part336.BrickColor = BrickColor.new("Dark stone grey")
  3685. Part336.Anchored = true
  3686. Part336.FormFactor = Enum.FormFactor.Symmetric
  3687. Part336.Size = Vector3.new(6, 10, 1)
  3688. Part336.CFrame = CFrame.new(74.3999939, 28.9121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3689. Part336.BottomSurface = Enum.SurfaceType.Smooth
  3690. Part336.TopSurface = Enum.SurfaceType.Smooth
  3691. Part336.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3692. Part336.Position = Vector3.new(74.3999939, 28.9121418, -139.100006)
  3693. Part336.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3694. BlockMesh337.Parent = Part336
  3695. Part338.Parent = Model333
  3696. Part338.BrickColor = BrickColor.new("Dark stone grey")
  3697. Part338.Rotation = Vector3.new(-180, 0, -180)
  3698. Part338.Anchored = true
  3699. Part338.FormFactor = Enum.FormFactor.Symmetric
  3700. Part338.Size = Vector3.new(1, 10, 14)
  3701. Part338.CFrame = CFrame.new(71.8999939, 28.9121418, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3702. Part338.BottomSurface = Enum.SurfaceType.Smooth
  3703. Part338.TopSurface = Enum.SurfaceType.Smooth
  3704. Part338.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3705. Part338.Position = Vector3.new(71.8999939, 28.9121418, -146.600006)
  3706. Part338.Orientation = Vector3.new(0, 180, 0)
  3707. Part338.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3708. BlockMesh339.Parent = Part338
  3709. Part340.Parent = Model333
  3710. Part340.BrickColor = BrickColor.new("Dark stone grey")
  3711. Part340.Rotation = Vector3.new(0, -90, 0)
  3712. Part340.Anchored = true
  3713. Part340.FormFactor = Enum.FormFactor.Symmetric
  3714. Part340.Size = Vector3.new(1, 10, 14)
  3715. Part340.CFrame = CFrame.new(78.3999939, 28.9121418, -154.099991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3716. Part340.BottomSurface = Enum.SurfaceType.Smooth
  3717. Part340.TopSurface = Enum.SurfaceType.Smooth
  3718. Part340.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3719. Part340.Position = Vector3.new(78.3999939, 28.9121418, -154.099991)
  3720. Part340.Orientation = Vector3.new(0, -90, 0)
  3721. Part340.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3722. BlockMesh341.Parent = Part340
  3723. Part342.Parent = Model333
  3724. Part342.BrickColor = BrickColor.new("Dark stone grey")
  3725. Part342.Rotation = Vector3.new(-180, 0, -180)
  3726. Part342.Anchored = true
  3727. Part342.FormFactor = Enum.FormFactor.Symmetric
  3728. Part342.Size = Vector3.new(1, 10, 14)
  3729. Part342.CFrame = CFrame.new(84.8999939, 28.9121418, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3730. Part342.BottomSurface = Enum.SurfaceType.Smooth
  3731. Part342.TopSurface = Enum.SurfaceType.Smooth
  3732. Part342.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3733. Part342.Position = Vector3.new(84.8999939, 28.9121418, -146.600006)
  3734. Part342.Orientation = Vector3.new(0, 180, 0)
  3735. Part342.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3736. BlockMesh343.Parent = Part342
  3737. Part344.Parent = Model333
  3738. Part344.BrickColor = BrickColor.new("Dark stone grey")
  3739. Part344.Rotation = Vector3.new(0, 90, 0)
  3740. Part344.Anchored = true
  3741. Part344.FormFactor = Enum.FormFactor.Symmetric
  3742. Part344.Size = Vector3.new(1, 10, 2)
  3743. Part344.CFrame = CFrame.new(84.3999939, 28.9121418, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3744. Part344.BottomSurface = Enum.SurfaceType.Smooth
  3745. Part344.TopSurface = Enum.SurfaceType.Smooth
  3746. Part344.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3747. Part344.Position = Vector3.new(84.3999939, 28.9121418, -139.100006)
  3748. Part344.Orientation = Vector3.new(0, 90, 0)
  3749. Part344.Color = Color3.new(0.388235, 0.372549, 0.384314)
  3750. BlockMesh345.Parent = Part344
  3751. Model346.Name = "Floor"
  3752. Model346.Parent = Model327
  3753. Part347.Name = "Floor"
  3754. Part347.Parent = Model346
  3755. Part347.BrickColor = BrickColor.new("Brick yellow")
  3756. Part347.Anchored = true
  3757. Part347.FormFactor = Enum.FormFactor.Plate
  3758. Part347.Size = Vector3.new(12, 0.400000006, 14)
  3759. Part347.CFrame = CFrame.new(78.3999939, 24.1121387, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3760. Part347.BottomSurface = Enum.SurfaceType.Smooth
  3761. Part347.TopSurface = Enum.SurfaceType.Smooth
  3762. Part347.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3763. Part347.Position = Vector3.new(78.3999939, 24.1121387, -146.600006)
  3764. Part347.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3765. BlockMesh348.Parent = Part347
  3766. Part349.Name = "Floor"
  3767. Part349.Parent = Model346
  3768. Part349.BrickColor = BrickColor.new("Brick yellow")
  3769. Part349.Anchored = true
  3770. Part349.CanCollide = false
  3771. Part349.FormFactor = Enum.FormFactor.Plate
  3772. Part349.Size = Vector3.new(6, 0.400000006, 1)
  3773. Part349.CFrame = CFrame.new(80.3999939, 24.5121365, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3774. Part349.BottomSurface = Enum.SurfaceType.Smooth
  3775. Part349.TopSurface = Enum.SurfaceType.Smooth
  3776. Part349.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3777. Part349.Position = Vector3.new(80.3999939, 24.5121365, -140.100006)
  3778. Part349.Color = Color3.new(0.843137, 0.772549, 0.603922)
  3779. BlockMesh350.Parent = Part349
  3780. BlockMesh350.Offset = Vector3.new(0, -0.400000006, 1)
  3781. Model351.Name = "Items"
  3782. Model351.Parent = Model326
  3783. Model352.Name = "Furnish"
  3784. Model352.Parent = Model351
  3785. Model353.Name = "Bed"
  3786. Model353.Parent = Model352
  3787. Part354.Name = "Pole"
  3788. Part354.Parent = Model353
  3789. Part354.BrickColor = BrickColor.new("Mid gray")
  3790. Part354.Reflectance = 0.15000000596046
  3791. Part354.Anchored = true
  3792. Part354.CanCollide = false
  3793. Part354.FormFactor = Enum.FormFactor.Symmetric
  3794. Part354.Size = Vector3.new(1, 5, 1)
  3795. Part354.CFrame = CFrame.new(72.8999939, 26.8121338, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3796. Part354.BottomSurface = Enum.SurfaceType.Smooth
  3797. Part354.TopSurface = Enum.SurfaceType.Smooth
  3798. Part354.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3799. Part354.Position = Vector3.new(72.8999939, 26.8121338, -140.100006)
  3800. Part354.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3801. CylinderMesh355.Parent = Part354
  3802. CylinderMesh355.Scale = Vector3.new(0.5, 1, 0.5)
  3803. CylinderMesh355.Scale = Vector3.new(0.5, 1, 0.5)
  3804. Part356.Name = "Pole"
  3805. Part356.Parent = Model353
  3806. Part356.BrickColor = BrickColor.new("Mid gray")
  3807. Part356.Reflectance = 0.15000000596046
  3808. Part356.Anchored = true
  3809. Part356.CanCollide = false
  3810. Part356.FormFactor = Enum.FormFactor.Symmetric
  3811. Part356.Size = Vector3.new(1, 5, 1)
  3812. Part356.CFrame = CFrame.new(72.8999939, 26.8121338, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3813. Part356.BottomSurface = Enum.SurfaceType.Smooth
  3814. Part356.TopSurface = Enum.SurfaceType.Smooth
  3815. Part356.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3816. Part356.Position = Vector3.new(72.8999939, 26.8121338, -147.100006)
  3817. Part356.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3818. CylinderMesh357.Parent = Part356
  3819. CylinderMesh357.Scale = Vector3.new(0.5, 1, 0.5)
  3820. CylinderMesh357.Scale = Vector3.new(0.5, 1, 0.5)
  3821. Part358.Name = "Pole"
  3822. Part358.Parent = Model353
  3823. Part358.BrickColor = BrickColor.new("Mid gray")
  3824. Part358.Reflectance = 0.15000000596046
  3825. Part358.Anchored = true
  3826. Part358.CanCollide = false
  3827. Part358.FormFactor = Enum.FormFactor.Symmetric
  3828. Part358.Size = Vector3.new(1, 5, 1)
  3829. Part358.CFrame = CFrame.new(76.8999939, 26.8121338, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3830. Part358.BottomSurface = Enum.SurfaceType.Smooth
  3831. Part358.TopSurface = Enum.SurfaceType.Smooth
  3832. Part358.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3833. Part358.Position = Vector3.new(76.8999939, 26.8121338, -147.100006)
  3834. Part358.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3835. CylinderMesh359.Parent = Part358
  3836. CylinderMesh359.Scale = Vector3.new(0.5, 1, 0.5)
  3837. CylinderMesh359.Scale = Vector3.new(0.5, 1, 0.5)
  3838. Part360.Name = "Pole"
  3839. Part360.Parent = Model353
  3840. Part360.BrickColor = BrickColor.new("Mid gray")
  3841. Part360.Reflectance = 0.15000000596046
  3842. Part360.Anchored = true
  3843. Part360.CanCollide = false
  3844. Part360.FormFactor = Enum.FormFactor.Symmetric
  3845. Part360.Size = Vector3.new(1, 5, 1)
  3846. Part360.CFrame = CFrame.new(76.8999939, 26.8121338, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3847. Part360.BottomSurface = Enum.SurfaceType.Smooth
  3848. Part360.TopSurface = Enum.SurfaceType.Smooth
  3849. Part360.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3850. Part360.Position = Vector3.new(76.8999939, 26.8121338, -140.100006)
  3851. Part360.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3852. CylinderMesh361.Parent = Part360
  3853. CylinderMesh361.Scale = Vector3.new(0.5, 1, 0.5)
  3854. CylinderMesh361.Scale = Vector3.new(0.5, 1, 0.5)
  3855. Part362.Parent = Model353
  3856. Part362.BrickColor = BrickColor.new("Institutional white")
  3857. Part362.Rotation = Vector3.new(-180, 0, -180)
  3858. Part362.Anchored = true
  3859. Part362.FormFactor = Enum.FormFactor.Symmetric
  3860. Part362.Size = Vector3.new(3, 1, 6)
  3861. Part362.CFrame = CFrame.new(74.8999939, 28.0121403, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3862. Part362.BottomSurface = Enum.SurfaceType.Smooth
  3863. Part362.TopSurface = Enum.SurfaceType.Smooth
  3864. Part362.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3865. Part362.Position = Vector3.new(74.8999939, 28.0121403, -143.600006)
  3866. Part362.Orientation = Vector3.new(0, 180, 0)
  3867. Part362.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3868. BlockMesh363.Parent = Part362
  3869. BlockMesh363.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  3870. BlockMesh363.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  3871. Part364.Parent = Model353
  3872. Part364.BrickColor = BrickColor.new("Institutional white")
  3873. Part364.Rotation = Vector3.new(-180, 0, -180)
  3874. Part364.Anchored = true
  3875. Part364.FormFactor = Enum.FormFactor.Symmetric
  3876. Part364.Size = Vector3.new(3, 1, 6)
  3877. Part364.CFrame = CFrame.new(74.8999939, 24.8121281, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  3878. Part364.BottomSurface = Enum.SurfaceType.Smooth
  3879. Part364.TopSurface = Enum.SurfaceType.Smooth
  3880. Part364.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3881. Part364.Position = Vector3.new(74.8999939, 24.8121281, -143.600006)
  3882. Part364.Orientation = Vector3.new(0, 180, 0)
  3883. Part364.Color = Color3.new(0.972549, 0.972549, 0.972549)
  3884. BlockMesh365.Parent = Part364
  3885. BlockMesh365.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  3886. BlockMesh365.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  3887. Model366.Name = "Toilet"
  3888. Model366.Parent = Model352
  3889. Part367.Parent = Model366
  3890. Part367.BrickColor = BrickColor.new("Mid gray")
  3891. Part367.Rotation = Vector3.new(0, -90, 0)
  3892. Part367.Anchored = true
  3893. Part367.FormFactor = Enum.FormFactor.Symmetric
  3894. Part367.Size = Vector3.new(2, 3, 1)
  3895. Part367.CFrame = CFrame.new(72.8999939, 26.8121338, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3896. Part367.BottomSurface = Enum.SurfaceType.Smooth
  3897. Part367.TopSurface = Enum.SurfaceType.Smooth
  3898. Part367.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3899. Part367.Position = Vector3.new(72.8999939, 26.8121338, -150.599991)
  3900. Part367.Orientation = Vector3.new(0, -90, 0)
  3901. Part367.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3902. BlockMesh368.Parent = Part367
  3903. BlockMesh368.Scale = Vector3.new(1.5, 1, 1)
  3904. BlockMesh368.Scale = Vector3.new(1.5, 1, 1)
  3905. Part369.Parent = Model366
  3906. Part369.BrickColor = BrickColor.new("Mid gray")
  3907. Part369.Rotation = Vector3.new(0, -90, 0)
  3908. Part369.Anchored = true
  3909. Part369.FormFactor = Enum.FormFactor.Symmetric
  3910. Part369.Size = Vector3.new(2, 1, 3)
  3911. Part369.CFrame = CFrame.new(73.8999939, 24.8121281, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3912. Part369.BottomSurface = Enum.SurfaceType.Smooth
  3913. Part369.TopSurface = Enum.SurfaceType.Smooth
  3914. Part369.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3915. Part369.Position = Vector3.new(73.8999939, 24.8121281, -150.599991)
  3916. Part369.Orientation = Vector3.new(0, -90, 0)
  3917. Part369.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3918. BlockMesh370.Parent = Part369
  3919. Part371.Parent = Model366
  3920. Part371.BrickColor = BrickColor.new("Light stone grey")
  3921. Part371.Rotation = Vector3.new(0, -90, 0)
  3922. Part371.Anchored = true
  3923. Part371.FormFactor = Enum.FormFactor.Plate
  3924. Part371.Size = Vector3.new(2, 0.400000006, 2)
  3925. Part371.CFrame = CFrame.new(74.3999939, 25.5121365, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3926. Part371.BottomSurface = Enum.SurfaceType.Smooth
  3927. Part371.TopSurface = Enum.SurfaceType.Smooth
  3928. Part371.Color = Color3.new(0.898039, 0.894118, 0.87451)
  3929. Part371.Position = Vector3.new(74.3999939, 25.5121365, -150.599991)
  3930. Part371.Orientation = Vector3.new(0, -90, 0)
  3931. Part371.Color = Color3.new(0.898039, 0.894118, 0.87451)
  3932. SpecialMesh372.Parent = Part371
  3933. SpecialMesh372.Scale = Vector3.new(1.5, 2, 2)
  3934. SpecialMesh372.MeshType = Enum.MeshType.Sphere
  3935. SpecialMesh372.Scale = Vector3.new(1.5, 2, 2)
  3936. Part373.Name = "Pole"
  3937. Part373.Parent = Model352
  3938. Part373.BrickColor = BrickColor.new("Mid gray")
  3939. Part373.Reflectance = 0.15000000596046
  3940. Part373.Rotation = Vector3.new(0, 0, -90)
  3941. Part373.Anchored = true
  3942. Part373.CanCollide = false
  3943. Part373.FormFactor = Enum.FormFactor.Symmetric
  3944. Part373.Size = Vector3.new(1, 12, 1)
  3945. Part373.CFrame = CFrame.new(78.3999939, 27.8121338, -153.099991, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  3946. Part373.BottomSurface = Enum.SurfaceType.Smooth
  3947. Part373.TopSurface = Enum.SurfaceType.Smooth
  3948. Part373.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3949. Part373.Position = Vector3.new(78.3999939, 27.8121338, -153.099991)
  3950. Part373.Orientation = Vector3.new(0, 0, -90)
  3951. Part373.Color = Color3.new(0.803922, 0.803922, 0.803922)
  3952. CylinderMesh374.Parent = Part373
  3953. CylinderMesh374.Scale = Vector3.new(0.5, 1, 0.5)
  3954. CylinderMesh374.Scale = Vector3.new(0.5, 1, 0.5)
  3955. Model375.Name = "Functions"
  3956. Model375.Parent = Model351
  3957. Model376.Name = "Light"
  3958. Model376.Parent = Model375
  3959. Part377.Name = "Lightbulb"
  3960. Part377.Parent = Model376
  3961. Part377.Transparency = 0.5
  3962. Part377.Rotation = Vector3.new(180, 90, 0)
  3963. Part377.Anchored = true
  3964. Part377.CanCollide = false
  3965. Part377.FormFactor = Enum.FormFactor.Symmetric
  3966. Part377.Size = Vector3.new(2, 1, 2)
  3967. Part377.CFrame = CFrame.new(78.3999939, 33.0121536, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  3968. Part377.BackSurface = Enum.SurfaceType.Weld
  3969. Part377.BottomSurface = Enum.SurfaceType.Weld
  3970. Part377.FrontSurface = Enum.SurfaceType.Weld
  3971. Part377.LeftSurface = Enum.SurfaceType.Weld
  3972. Part377.RightSurface = Enum.SurfaceType.Weld
  3973. Part377.TopSurface = Enum.SurfaceType.Weld
  3974. Part377.Position = Vector3.new(78.3999939, 33.0121536, -146.600006)
  3975. Part377.Orientation = Vector3.new(0, 90, 180)
  3976. SpecialMesh378.Parent = Part377
  3977. SpecialMesh378.MeshId = "http://www.roblox.com/asset/?id=1376459"
  3978. SpecialMesh378.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  3979. SpecialMesh378.TextureId = "http://www.roblox.com/asset/?id=1376456"
  3980. SpecialMesh378.MeshType = Enum.MeshType.FileMesh
  3981. SpecialMesh378.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  3982. Part379.Name = "Light"
  3983. Part379.Parent = Model376
  3984. Part379.BrickColor = BrickColor.new("Cool yellow")
  3985. Part379.Transparency = 1
  3986. Part379.Anchored = true
  3987. Part379.CanCollide = false
  3988. Part379.FormFactor = Enum.FormFactor.Symmetric
  3989. Part379.Size = Vector3.new(2, 8, 2)
  3990. Part379.CFrame = CFrame.new(78.3999939, 28.5121403, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  3991. Part379.Color = Color3.new(0.992157, 0.917647, 0.552941)
  3992. Part379.Position = Vector3.new(78.3999939, 28.5121403, -146.600006)
  3993. Part379.Color = Color3.new(0.992157, 0.917647, 0.552941)
  3994. SpecialMesh380.Parent = Part379
  3995. SpecialMesh380.MeshId = "http://www.roblox.com/asset/?id=1033714"
  3996. SpecialMesh380.Scale = Vector3.new(7, 13, 7)
  3997. SpecialMesh380.MeshType = Enum.MeshType.FileMesh
  3998. SpecialMesh380.Scale = Vector3.new(7, 13, 7)
  3999. Script381.Name = "Function"
  4000. Script381.Parent = Model376
  4001. table.insert(cors,sandbox(Script381,function()
  4002. local on = false
  4003.  
  4004. function check()
  4005. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  4006. if ((n > 6) and (n < 18)) then
  4007. if (on) then
  4008. on = false
  4009. wait(math.random()*5)
  4010. for i = 1,5 do
  4011. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  4012. wait()
  4013. end
  4014. script.Parent.Light.Transparency = 1
  4015. end
  4016. elseif not (on) then
  4017. on = true
  4018. wait(math.random()*5)
  4019. for i = 1,5 do
  4020. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  4021. wait()
  4022. end
  4023. script.Parent.Light.Transparency = 0.5
  4024. end
  4025. end
  4026.  
  4027. game.Lighting.LightingChanged:connect(check)
  4028. check()
  4029. end))
  4030. Part382.Name = "LightSocket"
  4031. Part382.Parent = Model376
  4032. Part382.BrickColor = BrickColor.new("Dark stone grey")
  4033. Part382.Anchored = true
  4034. Part382.FormFactor = Enum.FormFactor.Symmetric
  4035. Part382.Size = Vector3.new(2, 1, 2)
  4036. Part382.CFrame = CFrame.new(78.3999939, 33.0121536, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4037. Part382.BottomSurface = Enum.SurfaceType.Smooth
  4038. Part382.TopSurface = Enum.SurfaceType.Smooth
  4039. Part382.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4040. Part382.Position = Vector3.new(78.3999939, 33.0121536, -146.600006)
  4041. Part382.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4042. CylinderMesh383.Parent = Part382
  4043. CylinderMesh383.Offset = Vector3.new(0, 0.600000024, 0)
  4044. CylinderMesh383.Scale = Vector3.new(1, 0.5, 1)
  4045. CylinderMesh383.Scale = Vector3.new(1, 0.5, 1)
  4046. Model384.Name = "Door"
  4047. Model384.Parent = Model326
  4048. Part385.Name = "Bar"
  4049. Part385.Parent = Model384
  4050. Part385.Reflectance = 0.15000000596046
  4051. Part385.Anchored = true
  4052. Part385.FormFactor = Enum.FormFactor.Symmetric
  4053. Part385.Size = Vector3.new(1, 9, 1)
  4054. Part385.CFrame = CFrame.new(82.8999939, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4055. Part385.BottomSurface = Enum.SurfaceType.Smooth
  4056. Part385.TopSurface = Enum.SurfaceType.Smooth
  4057. Part385.Position = Vector3.new(82.8999939, 28.4121418, -139.100006)
  4058. CylinderMesh386.Parent = Part385
  4059. CylinderMesh386.Scale = Vector3.new(0.5, 1, 1)
  4060. CylinderMesh386.Scale = Vector3.new(0.5, 1, 1)
  4061. Part387.Name = "Bar"
  4062. Part387.Parent = Model384
  4063. Part387.Reflectance = 0.15000000596046
  4064. Part387.Anchored = true
  4065. Part387.FormFactor = Enum.FormFactor.Symmetric
  4066. Part387.Size = Vector3.new(1, 9, 1)
  4067. Part387.CFrame = CFrame.new(81.9000015, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4068. Part387.BottomSurface = Enum.SurfaceType.Smooth
  4069. Part387.TopSurface = Enum.SurfaceType.Smooth
  4070. Part387.Position = Vector3.new(81.9000015, 28.4121418, -139.100006)
  4071. CylinderMesh388.Parent = Part387
  4072. CylinderMesh388.Scale = Vector3.new(0.5, 1, 1)
  4073. CylinderMesh388.Scale = Vector3.new(0.5, 1, 1)
  4074. Part389.Name = "Bar"
  4075. Part389.Parent = Model384
  4076. Part389.Reflectance = 0.15000000596046
  4077. Part389.Anchored = true
  4078. Part389.FormFactor = Enum.FormFactor.Symmetric
  4079. Part389.Size = Vector3.new(1, 9, 1)
  4080. Part389.CFrame = CFrame.new(80.9000015, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4081. Part389.BottomSurface = Enum.SurfaceType.Smooth
  4082. Part389.TopSurface = Enum.SurfaceType.Smooth
  4083. Part389.Position = Vector3.new(80.9000015, 28.4121418, -139.100006)
  4084. CylinderMesh390.Parent = Part389
  4085. CylinderMesh390.Scale = Vector3.new(0.5, 1, 1)
  4086. CylinderMesh390.Scale = Vector3.new(0.5, 1, 1)
  4087. Part391.Name = "Bar"
  4088. Part391.Parent = Model384
  4089. Part391.Reflectance = 0.15000000596046
  4090. Part391.Anchored = true
  4091. Part391.FormFactor = Enum.FormFactor.Symmetric
  4092. Part391.Size = Vector3.new(1, 9, 1)
  4093. Part391.CFrame = CFrame.new(79.8999939, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4094. Part391.BottomSurface = Enum.SurfaceType.Smooth
  4095. Part391.TopSurface = Enum.SurfaceType.Smooth
  4096. Part391.Position = Vector3.new(79.8999939, 28.4121418, -139.100006)
  4097. CylinderMesh392.Parent = Part391
  4098. CylinderMesh392.Scale = Vector3.new(0.5, 1, 1)
  4099. CylinderMesh392.Scale = Vector3.new(0.5, 1, 1)
  4100. Part393.Name = "Bar"
  4101. Part393.Parent = Model384
  4102. Part393.Reflectance = 0.15000000596046
  4103. Part393.Anchored = true
  4104. Part393.FormFactor = Enum.FormFactor.Symmetric
  4105. Part393.Size = Vector3.new(1, 9, 1)
  4106. Part393.CFrame = CFrame.new(78.8999939, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4107. Part393.BottomSurface = Enum.SurfaceType.Smooth
  4108. Part393.TopSurface = Enum.SurfaceType.Smooth
  4109. Part393.Position = Vector3.new(78.8999939, 28.4121418, -139.100006)
  4110. CylinderMesh394.Parent = Part393
  4111. CylinderMesh394.Scale = Vector3.new(0.5, 1, 1)
  4112. CylinderMesh394.Scale = Vector3.new(0.5, 1, 1)
  4113. Part395.Name = "Bar"
  4114. Part395.Parent = Model384
  4115. Part395.Reflectance = 0.15000000596046
  4116. Part395.Anchored = true
  4117. Part395.FormFactor = Enum.FormFactor.Symmetric
  4118. Part395.Size = Vector3.new(1, 9, 1)
  4119. Part395.CFrame = CFrame.new(77.8999939, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4120. Part395.BottomSurface = Enum.SurfaceType.Smooth
  4121. Part395.TopSurface = Enum.SurfaceType.Smooth
  4122. Part395.Position = Vector3.new(77.8999939, 28.4121418, -139.100006)
  4123. CylinderMesh396.Parent = Part395
  4124. CylinderMesh396.Scale = Vector3.new(0.5, 1, 1)
  4125. CylinderMesh396.Scale = Vector3.new(0.5, 1, 1)
  4126. Script397.Name = "Main"
  4127. Script397.Parent = Model384
  4128. table.insert(cors,sandbox(Script397,function()
  4129. local _items = {}
  4130.  
  4131. local door = -1
  4132. -- -1 = Closed
  4133. -- 0 = Active
  4134. -- 1 = Open
  4135.  
  4136. function getItems()
  4137. for _,v in pairs(script.Parent:GetChildren()) do
  4138. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  4139. table.insert(_items,v)
  4140. end
  4141. end
  4142. end
  4143.  
  4144. function main()
  4145. local d = door
  4146. door = 0
  4147. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  4148. for i = 0,5,0.05 do
  4149. for _,v in pairs(_items) do
  4150. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  4151. end
  4152. wait()
  4153. end
  4154. if (d == (-1)) then
  4155. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  4156. elseif (d == 1) then
  4157. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  4158. end
  4159. door = d
  4160. end
  4161.  
  4162. script.Parent.Button.Click.MouseClick:connect(function()
  4163. if (door == 0) then return end
  4164. door = (door*(-1))
  4165. main()
  4166. end)
  4167.  
  4168. getItems()
  4169. end))
  4170. Part398.Name = "Button"
  4171. Part398.Parent = Model384
  4172. Part398.BrickColor = BrickColor.new("Really red")
  4173. Part398.Reflectance = 0.20000000298023
  4174. Part398.Transparency = 0.5
  4175. Part398.Rotation = Vector3.new(90, 0, -180)
  4176. Part398.Anchored = true
  4177. Part398.FormFactor = Enum.FormFactor.Plate
  4178. Part398.Size = Vector3.new(1, 0.400000006, 1)
  4179. Part398.CFrame = CFrame.new(75.8999939, 28.4121132, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  4180. Part398.BottomSurface = Enum.SurfaceType.Smooth
  4181. Part398.TopSurface = Enum.SurfaceType.Smooth
  4182. Part398.Color = Color3.new(1, 0, 0)
  4183. Part398.Position = Vector3.new(75.8999939, 28.4121132, -138.399994)
  4184. Part398.Orientation = Vector3.new(90, 180, 0)
  4185. Part398.Color = Color3.new(1, 0, 0)
  4186. BlockMesh399.Parent = Part398
  4187. CylinderMesh400.Parent = Part398
  4188. CylinderMesh400.Offset = Vector3.new(0, 0.150000006, 0)
  4189. CylinderMesh400.Scale = Vector3.new(1, 0.200000003, 1)
  4190. CylinderMesh400.Scale = Vector3.new(1, 0.200000003, 1)
  4191. ClickDetector401.Name = "Click"
  4192. ClickDetector401.Parent = Part398
  4193. Model402.Parent = Model1
  4194. Model403.Name = "PrisonCell"
  4195. Model403.Parent = Model402
  4196. Model404.Name = "Exterior"
  4197. Model404.Parent = Model403
  4198. Model405.Name = "Top"
  4199. Model405.Parent = Model404
  4200. Part406.Name = "Ceiling"
  4201. Part406.Parent = Model405
  4202. Part406.BrickColor = BrickColor.new("Brick yellow")
  4203. Part406.Anchored = true
  4204. Part406.FormFactor = Enum.FormFactor.Plate
  4205. Part406.Size = Vector3.new(12, 0.400000006, 14)
  4206. Part406.CFrame = CFrame.new(106.399994, 19.7121372, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4207. Part406.BottomSurface = Enum.SurfaceType.Smooth
  4208. Part406.TopSurface = Enum.SurfaceType.Smooth
  4209. Part406.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4210. Part406.Position = Vector3.new(106.399994, 19.7121372, -146.600006)
  4211. Part406.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4212. BlockMesh407.Parent = Part406
  4213. Part408.Name = "Top"
  4214. Part408.Parent = Model405
  4215. Part408.BrickColor = BrickColor.new("Dark stone grey")
  4216. Part408.Anchored = true
  4217. Part408.FormFactor = Enum.FormFactor.Symmetric
  4218. Part408.Size = Vector3.new(14, 1, 16)
  4219. Part408.CFrame = CFrame.new(106.399994, 20.4121323, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4220. Part408.BottomSurface = Enum.SurfaceType.Smooth
  4221. Part408.TopSurface = Enum.SurfaceType.Smooth
  4222. Part408.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4223. Part408.Position = Vector3.new(106.399994, 20.4121323, -146.600006)
  4224. Part408.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4225. BlockMesh409.Parent = Part408
  4226. Model410.Name = "Walls"
  4227. Model410.Parent = Model404
  4228. Part411.Parent = Model410
  4229. Part411.BrickColor = BrickColor.new("Dark stone grey")
  4230. Part411.Anchored = true
  4231. Part411.FormFactor = Enum.FormFactor.Symmetric
  4232. Part411.Size = Vector3.new(6, 1, 1)
  4233. Part411.CFrame = CFrame.new(108.399986, 19.4121323, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4234. Part411.BottomSurface = Enum.SurfaceType.Smooth
  4235. Part411.TopSurface = Enum.SurfaceType.Smooth
  4236. Part411.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4237. Part411.Position = Vector3.new(108.399986, 19.4121323, -139.100006)
  4238. Part411.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4239. BlockMesh412.Parent = Part411
  4240. Part413.Parent = Model410
  4241. Part413.BrickColor = BrickColor.new("Dark stone grey")
  4242. Part413.Anchored = true
  4243. Part413.FormFactor = Enum.FormFactor.Symmetric
  4244. Part413.Size = Vector3.new(6, 10, 1)
  4245. Part413.CFrame = CFrame.new(102.399986, 14.9121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4246. Part413.BottomSurface = Enum.SurfaceType.Smooth
  4247. Part413.TopSurface = Enum.SurfaceType.Smooth
  4248. Part413.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4249. Part413.Position = Vector3.new(102.399986, 14.9121256, -139.100006)
  4250. Part413.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4251. BlockMesh414.Parent = Part413
  4252. Part415.Parent = Model410
  4253. Part415.BrickColor = BrickColor.new("Dark stone grey")
  4254. Part415.Rotation = Vector3.new(-180, 0, -180)
  4255. Part415.Anchored = true
  4256. Part415.FormFactor = Enum.FormFactor.Symmetric
  4257. Part415.Size = Vector3.new(1, 10, 14)
  4258. Part415.CFrame = CFrame.new(99.8999863, 14.9121256, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4259. Part415.BottomSurface = Enum.SurfaceType.Smooth
  4260. Part415.TopSurface = Enum.SurfaceType.Smooth
  4261. Part415.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4262. Part415.Position = Vector3.new(99.8999863, 14.9121256, -146.600006)
  4263. Part415.Orientation = Vector3.new(0, 180, 0)
  4264. Part415.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4265. BlockMesh416.Parent = Part415
  4266. Part417.Parent = Model410
  4267. Part417.BrickColor = BrickColor.new("Dark stone grey")
  4268. Part417.Rotation = Vector3.new(0, -90, 0)
  4269. Part417.Anchored = true
  4270. Part417.FormFactor = Enum.FormFactor.Symmetric
  4271. Part417.Size = Vector3.new(1, 10, 14)
  4272. Part417.CFrame = CFrame.new(106.399994, 14.9121256, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4273. Part417.BottomSurface = Enum.SurfaceType.Smooth
  4274. Part417.TopSurface = Enum.SurfaceType.Smooth
  4275. Part417.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4276. Part417.Position = Vector3.new(106.399994, 14.9121256, -154.099976)
  4277. Part417.Orientation = Vector3.new(0, -90, 0)
  4278. Part417.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4279. BlockMesh418.Parent = Part417
  4280. Part419.Parent = Model410
  4281. Part419.BrickColor = BrickColor.new("Dark stone grey")
  4282. Part419.Rotation = Vector3.new(-180, 0, -180)
  4283. Part419.Anchored = true
  4284. Part419.FormFactor = Enum.FormFactor.Symmetric
  4285. Part419.Size = Vector3.new(1, 10, 14)
  4286. Part419.CFrame = CFrame.new(112.899986, 14.9121256, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4287. Part419.BottomSurface = Enum.SurfaceType.Smooth
  4288. Part419.TopSurface = Enum.SurfaceType.Smooth
  4289. Part419.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4290. Part419.Position = Vector3.new(112.899986, 14.9121256, -146.600006)
  4291. Part419.Orientation = Vector3.new(0, 180, 0)
  4292. Part419.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4293. BlockMesh420.Parent = Part419
  4294. Part421.Parent = Model410
  4295. Part421.BrickColor = BrickColor.new("Dark stone grey")
  4296. Part421.Rotation = Vector3.new(0, 90, 0)
  4297. Part421.Anchored = true
  4298. Part421.FormFactor = Enum.FormFactor.Symmetric
  4299. Part421.Size = Vector3.new(1, 10, 2)
  4300. Part421.CFrame = CFrame.new(112.399986, 14.9121256, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4301. Part421.BottomSurface = Enum.SurfaceType.Smooth
  4302. Part421.TopSurface = Enum.SurfaceType.Smooth
  4303. Part421.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4304. Part421.Position = Vector3.new(112.399986, 14.9121256, -139.100006)
  4305. Part421.Orientation = Vector3.new(0, 90, 0)
  4306. Part421.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4307. BlockMesh422.Parent = Part421
  4308. Model423.Name = "Floor"
  4309. Model423.Parent = Model404
  4310. Part424.Name = "Floor"
  4311. Part424.Parent = Model423
  4312. Part424.BrickColor = BrickColor.new("Brick yellow")
  4313. Part424.Anchored = true
  4314. Part424.FormFactor = Enum.FormFactor.Plate
  4315. Part424.Size = Vector3.new(12, 0.400000006, 14)
  4316. Part424.CFrame = CFrame.new(106.399994, 10.1121416, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4317. Part424.BottomSurface = Enum.SurfaceType.Smooth
  4318. Part424.TopSurface = Enum.SurfaceType.Smooth
  4319. Part424.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4320. Part424.Position = Vector3.new(106.399994, 10.1121416, -146.600006)
  4321. Part424.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4322. BlockMesh425.Parent = Part424
  4323. Part426.Name = "Floor"
  4324. Part426.Parent = Model423
  4325. Part426.BrickColor = BrickColor.new("Brick yellow")
  4326. Part426.Anchored = true
  4327. Part426.CanCollide = false
  4328. Part426.FormFactor = Enum.FormFactor.Plate
  4329. Part426.Size = Vector3.new(6, 0.400000006, 1)
  4330. Part426.CFrame = CFrame.new(108.399986, 10.5121231, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4331. Part426.BottomSurface = Enum.SurfaceType.Smooth
  4332. Part426.TopSurface = Enum.SurfaceType.Smooth
  4333. Part426.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4334. Part426.Position = Vector3.new(108.399986, 10.5121231, -140.100006)
  4335. Part426.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4336. BlockMesh427.Parent = Part426
  4337. BlockMesh427.Offset = Vector3.new(0, -0.400000006, 1)
  4338. Model428.Name = "Items"
  4339. Model428.Parent = Model403
  4340. Model429.Name = "Furnish"
  4341. Model429.Parent = Model428
  4342. Model430.Name = "Bed"
  4343. Model430.Parent = Model429
  4344. Part431.Name = "Pole"
  4345. Part431.Parent = Model430
  4346. Part431.BrickColor = BrickColor.new("Mid gray")
  4347. Part431.Reflectance = 0.15000000596046
  4348. Part431.Anchored = true
  4349. Part431.CanCollide = false
  4350. Part431.FormFactor = Enum.FormFactor.Symmetric
  4351. Part431.Size = Vector3.new(1, 5, 1)
  4352. Part431.CFrame = CFrame.new(100.899986, 12.8121252, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4353. Part431.BottomSurface = Enum.SurfaceType.Smooth
  4354. Part431.TopSurface = Enum.SurfaceType.Smooth
  4355. Part431.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4356. Part431.Position = Vector3.new(100.899986, 12.8121252, -140.100006)
  4357. Part431.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4358. CylinderMesh432.Parent = Part431
  4359. CylinderMesh432.Scale = Vector3.new(0.5, 1, 0.5)
  4360. CylinderMesh432.Scale = Vector3.new(0.5, 1, 0.5)
  4361. Part433.Name = "Pole"
  4362. Part433.Parent = Model430
  4363. Part433.BrickColor = BrickColor.new("Mid gray")
  4364. Part433.Reflectance = 0.15000000596046
  4365. Part433.Anchored = true
  4366. Part433.CanCollide = false
  4367. Part433.FormFactor = Enum.FormFactor.Symmetric
  4368. Part433.Size = Vector3.new(1, 5, 1)
  4369. Part433.CFrame = CFrame.new(100.899986, 12.8121252, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4370. Part433.BottomSurface = Enum.SurfaceType.Smooth
  4371. Part433.TopSurface = Enum.SurfaceType.Smooth
  4372. Part433.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4373. Part433.Position = Vector3.new(100.899986, 12.8121252, -147.100006)
  4374. Part433.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4375. CylinderMesh434.Parent = Part433
  4376. CylinderMesh434.Scale = Vector3.new(0.5, 1, 0.5)
  4377. CylinderMesh434.Scale = Vector3.new(0.5, 1, 0.5)
  4378. Part435.Name = "Pole"
  4379. Part435.Parent = Model430
  4380. Part435.BrickColor = BrickColor.new("Mid gray")
  4381. Part435.Reflectance = 0.15000000596046
  4382. Part435.Anchored = true
  4383. Part435.CanCollide = false
  4384. Part435.FormFactor = Enum.FormFactor.Symmetric
  4385. Part435.Size = Vector3.new(1, 5, 1)
  4386. Part435.CFrame = CFrame.new(104.899986, 12.8121252, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4387. Part435.BottomSurface = Enum.SurfaceType.Smooth
  4388. Part435.TopSurface = Enum.SurfaceType.Smooth
  4389. Part435.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4390. Part435.Position = Vector3.new(104.899986, 12.8121252, -147.100006)
  4391. Part435.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4392. CylinderMesh436.Parent = Part435
  4393. CylinderMesh436.Scale = Vector3.new(0.5, 1, 0.5)
  4394. CylinderMesh436.Scale = Vector3.new(0.5, 1, 0.5)
  4395. Part437.Name = "Pole"
  4396. Part437.Parent = Model430
  4397. Part437.BrickColor = BrickColor.new("Mid gray")
  4398. Part437.Reflectance = 0.15000000596046
  4399. Part437.Anchored = true
  4400. Part437.CanCollide = false
  4401. Part437.FormFactor = Enum.FormFactor.Symmetric
  4402. Part437.Size = Vector3.new(1, 5, 1)
  4403. Part437.CFrame = CFrame.new(104.899986, 12.8121252, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4404. Part437.BottomSurface = Enum.SurfaceType.Smooth
  4405. Part437.TopSurface = Enum.SurfaceType.Smooth
  4406. Part437.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4407. Part437.Position = Vector3.new(104.899986, 12.8121252, -140.100006)
  4408. Part437.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4409. CylinderMesh438.Parent = Part437
  4410. CylinderMesh438.Scale = Vector3.new(0.5, 1, 0.5)
  4411. CylinderMesh438.Scale = Vector3.new(0.5, 1, 0.5)
  4412. Part439.Parent = Model430
  4413. Part439.BrickColor = BrickColor.new("Institutional white")
  4414. Part439.Rotation = Vector3.new(-180, 0, -180)
  4415. Part439.Anchored = true
  4416. Part439.FormFactor = Enum.FormFactor.Symmetric
  4417. Part439.Size = Vector3.new(3, 1, 6)
  4418. Part439.CFrame = CFrame.new(102.899986, 14.0121212, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4419. Part439.BottomSurface = Enum.SurfaceType.Smooth
  4420. Part439.TopSurface = Enum.SurfaceType.Smooth
  4421. Part439.Color = Color3.new(0.972549, 0.972549, 0.972549)
  4422. Part439.Position = Vector3.new(102.899986, 14.0121212, -143.600006)
  4423. Part439.Orientation = Vector3.new(0, 180, 0)
  4424. Part439.Color = Color3.new(0.972549, 0.972549, 0.972549)
  4425. BlockMesh440.Parent = Part439
  4426. BlockMesh440.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  4427. BlockMesh440.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  4428. Part441.Parent = Model430
  4429. Part441.BrickColor = BrickColor.new("Institutional white")
  4430. Part441.Rotation = Vector3.new(-180, 0, -180)
  4431. Part441.Anchored = true
  4432. Part441.FormFactor = Enum.FormFactor.Symmetric
  4433. Part441.Size = Vector3.new(3, 1, 6)
  4434. Part441.CFrame = CFrame.new(102.899986, 10.8121271, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4435. Part441.BottomSurface = Enum.SurfaceType.Smooth
  4436. Part441.TopSurface = Enum.SurfaceType.Smooth
  4437. Part441.Color = Color3.new(0.972549, 0.972549, 0.972549)
  4438. Part441.Position = Vector3.new(102.899986, 10.8121271, -143.600006)
  4439. Part441.Orientation = Vector3.new(0, 180, 0)
  4440. Part441.Color = Color3.new(0.972549, 0.972549, 0.972549)
  4441. BlockMesh442.Parent = Part441
  4442. BlockMesh442.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  4443. BlockMesh442.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  4444. Model443.Name = "Toilet"
  4445. Model443.Parent = Model429
  4446. Part444.Parent = Model443
  4447. Part444.BrickColor = BrickColor.new("Mid gray")
  4448. Part444.Rotation = Vector3.new(0, -90, 0)
  4449. Part444.Anchored = true
  4450. Part444.FormFactor = Enum.FormFactor.Symmetric
  4451. Part444.Size = Vector3.new(2, 3, 1)
  4452. Part444.CFrame = CFrame.new(100.899986, 12.8121252, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4453. Part444.BottomSurface = Enum.SurfaceType.Smooth
  4454. Part444.TopSurface = Enum.SurfaceType.Smooth
  4455. Part444.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4456. Part444.Position = Vector3.new(100.899986, 12.8121252, -150.599976)
  4457. Part444.Orientation = Vector3.new(0, -90, 0)
  4458. Part444.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4459. BlockMesh445.Parent = Part444
  4460. BlockMesh445.Scale = Vector3.new(1.5, 1, 1)
  4461. BlockMesh445.Scale = Vector3.new(1.5, 1, 1)
  4462. Part446.Parent = Model443
  4463. Part446.BrickColor = BrickColor.new("Mid gray")
  4464. Part446.Rotation = Vector3.new(0, -90, 0)
  4465. Part446.Anchored = true
  4466. Part446.FormFactor = Enum.FormFactor.Symmetric
  4467. Part446.Size = Vector3.new(2, 1, 3)
  4468. Part446.CFrame = CFrame.new(101.899986, 10.8121271, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4469. Part446.BottomSurface = Enum.SurfaceType.Smooth
  4470. Part446.TopSurface = Enum.SurfaceType.Smooth
  4471. Part446.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4472. Part446.Position = Vector3.new(101.899986, 10.8121271, -150.599976)
  4473. Part446.Orientation = Vector3.new(0, -90, 0)
  4474. Part446.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4475. BlockMesh447.Parent = Part446
  4476. Part448.Parent = Model443
  4477. Part448.BrickColor = BrickColor.new("Light stone grey")
  4478. Part448.Rotation = Vector3.new(0, -90, 0)
  4479. Part448.Anchored = true
  4480. Part448.FormFactor = Enum.FormFactor.Plate
  4481. Part448.Size = Vector3.new(2, 0.400000006, 2)
  4482. Part448.CFrame = CFrame.new(102.399986, 11.5121231, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4483. Part448.BottomSurface = Enum.SurfaceType.Smooth
  4484. Part448.TopSurface = Enum.SurfaceType.Smooth
  4485. Part448.Color = Color3.new(0.898039, 0.894118, 0.87451)
  4486. Part448.Position = Vector3.new(102.399986, 11.5121231, -150.599976)
  4487. Part448.Orientation = Vector3.new(0, -90, 0)
  4488. Part448.Color = Color3.new(0.898039, 0.894118, 0.87451)
  4489. SpecialMesh449.Parent = Part448
  4490. SpecialMesh449.Scale = Vector3.new(1.5, 2, 2)
  4491. SpecialMesh449.MeshType = Enum.MeshType.Sphere
  4492. SpecialMesh449.Scale = Vector3.new(1.5, 2, 2)
  4493. Part450.Name = "Pole"
  4494. Part450.Parent = Model429
  4495. Part450.BrickColor = BrickColor.new("Mid gray")
  4496. Part450.Reflectance = 0.15000000596046
  4497. Part450.Rotation = Vector3.new(0, 0, -90)
  4498. Part450.Anchored = true
  4499. Part450.CanCollide = false
  4500. Part450.FormFactor = Enum.FormFactor.Symmetric
  4501. Part450.Size = Vector3.new(1, 12, 1)
  4502. Part450.CFrame = CFrame.new(106.399994, 13.8121252, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  4503. Part450.BottomSurface = Enum.SurfaceType.Smooth
  4504. Part450.TopSurface = Enum.SurfaceType.Smooth
  4505. Part450.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4506. Part450.Position = Vector3.new(106.399994, 13.8121252, -153.099976)
  4507. Part450.Orientation = Vector3.new(0, 0, -90)
  4508. Part450.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4509. CylinderMesh451.Parent = Part450
  4510. CylinderMesh451.Scale = Vector3.new(0.5, 1, 0.5)
  4511. CylinderMesh451.Scale = Vector3.new(0.5, 1, 0.5)
  4512. Model452.Name = "Functions"
  4513. Model452.Parent = Model428
  4514. Model453.Name = "Light"
  4515. Model453.Parent = Model452
  4516. Part454.Name = "Lightbulb"
  4517. Part454.Parent = Model453
  4518. Part454.Transparency = 0.5
  4519. Part454.Rotation = Vector3.new(180, 90, 0)
  4520. Part454.Anchored = true
  4521. Part454.CanCollide = false
  4522. Part454.FormFactor = Enum.FormFactor.Symmetric
  4523. Part454.Size = Vector3.new(2, 1, 2)
  4524. Part454.CFrame = CFrame.new(106.399994, 19.0121365, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  4525. Part454.BackSurface = Enum.SurfaceType.Weld
  4526. Part454.BottomSurface = Enum.SurfaceType.Weld
  4527. Part454.FrontSurface = Enum.SurfaceType.Weld
  4528. Part454.LeftSurface = Enum.SurfaceType.Weld
  4529. Part454.RightSurface = Enum.SurfaceType.Weld
  4530. Part454.TopSurface = Enum.SurfaceType.Weld
  4531. Part454.Position = Vector3.new(106.399994, 19.0121365, -146.600006)
  4532. Part454.Orientation = Vector3.new(0, 90, 180)
  4533. SpecialMesh455.Parent = Part454
  4534. SpecialMesh455.MeshId = "http://www.roblox.com/asset/?id=1376459"
  4535. SpecialMesh455.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  4536. SpecialMesh455.TextureId = "http://www.roblox.com/asset/?id=1376456"
  4537. SpecialMesh455.MeshType = Enum.MeshType.FileMesh
  4538. SpecialMesh455.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  4539. Part456.Name = "Light"
  4540. Part456.Parent = Model453
  4541. Part456.BrickColor = BrickColor.new("Cool yellow")
  4542. Part456.Transparency = 1
  4543. Part456.Anchored = true
  4544. Part456.CanCollide = false
  4545. Part456.FormFactor = Enum.FormFactor.Symmetric
  4546. Part456.Size = Vector3.new(2, 8, 2)
  4547. Part456.CFrame = CFrame.new(106.399994, 14.5121136, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4548. Part456.Color = Color3.new(0.992157, 0.917647, 0.552941)
  4549. Part456.Position = Vector3.new(106.399994, 14.5121136, -146.600006)
  4550. Part456.Color = Color3.new(0.992157, 0.917647, 0.552941)
  4551. SpecialMesh457.Parent = Part456
  4552. SpecialMesh457.MeshId = "http://www.roblox.com/asset/?id=1033714"
  4553. SpecialMesh457.Scale = Vector3.new(7, 13, 7)
  4554. SpecialMesh457.MeshType = Enum.MeshType.FileMesh
  4555. SpecialMesh457.Scale = Vector3.new(7, 13, 7)
  4556. Script458.Name = "Function"
  4557. Script458.Parent = Model453
  4558. table.insert(cors,sandbox(Script458,function()
  4559. local on = false
  4560.  
  4561. function check()
  4562. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  4563. if ((n > 6) and (n < 18)) then
  4564. if (on) then
  4565. on = false
  4566. wait(math.random()*5)
  4567. for i = 1,5 do
  4568. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  4569. wait()
  4570. end
  4571. script.Parent.Light.Transparency = 1
  4572. end
  4573. elseif not (on) then
  4574. on = true
  4575. wait(math.random()*5)
  4576. for i = 1,5 do
  4577. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  4578. wait()
  4579. end
  4580. script.Parent.Light.Transparency = 0.5
  4581. end
  4582. end
  4583.  
  4584. game.Lighting.LightingChanged:connect(check)
  4585. check()
  4586. end))
  4587. Part459.Name = "LightSocket"
  4588. Part459.Parent = Model453
  4589. Part459.BrickColor = BrickColor.new("Dark stone grey")
  4590. Part459.Anchored = true
  4591. Part459.FormFactor = Enum.FormFactor.Symmetric
  4592. Part459.Size = Vector3.new(2, 1, 2)
  4593. Part459.CFrame = CFrame.new(106.399994, 19.0121365, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4594. Part459.BottomSurface = Enum.SurfaceType.Smooth
  4595. Part459.TopSurface = Enum.SurfaceType.Smooth
  4596. Part459.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4597. Part459.Position = Vector3.new(106.399994, 19.0121365, -146.600006)
  4598. Part459.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4599. CylinderMesh460.Parent = Part459
  4600. CylinderMesh460.Offset = Vector3.new(0, 0.600000024, 0)
  4601. CylinderMesh460.Scale = Vector3.new(1, 0.5, 1)
  4602. CylinderMesh460.Scale = Vector3.new(1, 0.5, 1)
  4603. Model461.Name = "Door"
  4604. Model461.Parent = Model403
  4605. Part462.Name = "Bar"
  4606. Part462.Parent = Model461
  4607. Part462.Reflectance = 0.15000000596046
  4608. Part462.Anchored = true
  4609. Part462.FormFactor = Enum.FormFactor.Symmetric
  4610. Part462.Size = Vector3.new(1, 9, 1)
  4611. Part462.CFrame = CFrame.new(110.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4612. Part462.BottomSurface = Enum.SurfaceType.Smooth
  4613. Part462.TopSurface = Enum.SurfaceType.Smooth
  4614. Part462.Position = Vector3.new(110.899986, 14.4121256, -139.100006)
  4615. CylinderMesh463.Parent = Part462
  4616. CylinderMesh463.Scale = Vector3.new(0.5, 1, 1)
  4617. CylinderMesh463.Scale = Vector3.new(0.5, 1, 1)
  4618. Part464.Name = "Bar"
  4619. Part464.Parent = Model461
  4620. Part464.Reflectance = 0.15000000596046
  4621. Part464.Anchored = true
  4622. Part464.FormFactor = Enum.FormFactor.Symmetric
  4623. Part464.Size = Vector3.new(1, 9, 1)
  4624. Part464.CFrame = CFrame.new(109.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4625. Part464.BottomSurface = Enum.SurfaceType.Smooth
  4626. Part464.TopSurface = Enum.SurfaceType.Smooth
  4627. Part464.Position = Vector3.new(109.899986, 14.4121256, -139.100006)
  4628. CylinderMesh465.Parent = Part464
  4629. CylinderMesh465.Scale = Vector3.new(0.5, 1, 1)
  4630. CylinderMesh465.Scale = Vector3.new(0.5, 1, 1)
  4631. Part466.Name = "Bar"
  4632. Part466.Parent = Model461
  4633. Part466.Reflectance = 0.15000000596046
  4634. Part466.Anchored = true
  4635. Part466.FormFactor = Enum.FormFactor.Symmetric
  4636. Part466.Size = Vector3.new(1, 9, 1)
  4637. Part466.CFrame = CFrame.new(108.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4638. Part466.BottomSurface = Enum.SurfaceType.Smooth
  4639. Part466.TopSurface = Enum.SurfaceType.Smooth
  4640. Part466.Position = Vector3.new(108.899986, 14.4121256, -139.100006)
  4641. CylinderMesh467.Parent = Part466
  4642. CylinderMesh467.Scale = Vector3.new(0.5, 1, 1)
  4643. CylinderMesh467.Scale = Vector3.new(0.5, 1, 1)
  4644. Part468.Name = "Bar"
  4645. Part468.Parent = Model461
  4646. Part468.Reflectance = 0.15000000596046
  4647. Part468.Anchored = true
  4648. Part468.FormFactor = Enum.FormFactor.Symmetric
  4649. Part468.Size = Vector3.new(1, 9, 1)
  4650. Part468.CFrame = CFrame.new(107.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4651. Part468.BottomSurface = Enum.SurfaceType.Smooth
  4652. Part468.TopSurface = Enum.SurfaceType.Smooth
  4653. Part468.Position = Vector3.new(107.899986, 14.4121256, -139.100006)
  4654. CylinderMesh469.Parent = Part468
  4655. CylinderMesh469.Scale = Vector3.new(0.5, 1, 1)
  4656. CylinderMesh469.Scale = Vector3.new(0.5, 1, 1)
  4657. Part470.Name = "Bar"
  4658. Part470.Parent = Model461
  4659. Part470.Reflectance = 0.15000000596046
  4660. Part470.Anchored = true
  4661. Part470.FormFactor = Enum.FormFactor.Symmetric
  4662. Part470.Size = Vector3.new(1, 9, 1)
  4663. Part470.CFrame = CFrame.new(106.899994, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4664. Part470.BottomSurface = Enum.SurfaceType.Smooth
  4665. Part470.TopSurface = Enum.SurfaceType.Smooth
  4666. Part470.Position = Vector3.new(106.899994, 14.4121256, -139.100006)
  4667. CylinderMesh471.Parent = Part470
  4668. CylinderMesh471.Scale = Vector3.new(0.5, 1, 1)
  4669. CylinderMesh471.Scale = Vector3.new(0.5, 1, 1)
  4670. Part472.Name = "Bar"
  4671. Part472.Parent = Model461
  4672. Part472.Reflectance = 0.15000000596046
  4673. Part472.Anchored = true
  4674. Part472.FormFactor = Enum.FormFactor.Symmetric
  4675. Part472.Size = Vector3.new(1, 9, 1)
  4676. Part472.CFrame = CFrame.new(105.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4677. Part472.BottomSurface = Enum.SurfaceType.Smooth
  4678. Part472.TopSurface = Enum.SurfaceType.Smooth
  4679. Part472.Position = Vector3.new(105.899986, 14.4121256, -139.100006)
  4680. CylinderMesh473.Parent = Part472
  4681. CylinderMesh473.Scale = Vector3.new(0.5, 1, 1)
  4682. CylinderMesh473.Scale = Vector3.new(0.5, 1, 1)
  4683. Script474.Name = "Main"
  4684. Script474.Parent = Model461
  4685. table.insert(cors,sandbox(Script474,function()
  4686. local _items = {}
  4687.  
  4688. local door = -1
  4689. -- -1 = Closed
  4690. -- 0 = Active
  4691. -- 1 = Open
  4692.  
  4693. function getItems()
  4694. for _,v in pairs(script.Parent:GetChildren()) do
  4695. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  4696. table.insert(_items,v)
  4697. end
  4698. end
  4699. end
  4700.  
  4701. function main()
  4702. local d = door
  4703. door = 0
  4704. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  4705. for i = 0,5,0.05 do
  4706. for _,v in pairs(_items) do
  4707. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  4708. end
  4709. wait()
  4710. end
  4711. if (d == (-1)) then
  4712. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  4713. elseif (d == 1) then
  4714. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  4715. end
  4716. door = d
  4717. end
  4718.  
  4719. script.Parent.Button.Click.MouseClick:connect(function()
  4720. if (door == 0) then return end
  4721. door = (door*(-1))
  4722. main()
  4723. end)
  4724.  
  4725. getItems()
  4726. end))
  4727. Part475.Name = "Button"
  4728. Part475.Parent = Model461
  4729. Part475.BrickColor = BrickColor.new("Really red")
  4730. Part475.Reflectance = 0.20000000298023
  4731. Part475.Transparency = 0.5
  4732. Part475.Rotation = Vector3.new(90, 0, -180)
  4733. Part475.Anchored = true
  4734. Part475.FormFactor = Enum.FormFactor.Plate
  4735. Part475.Size = Vector3.new(1, 0.400000006, 1)
  4736. Part475.CFrame = CFrame.new(103.899986, 14.4121075, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  4737. Part475.BottomSurface = Enum.SurfaceType.Smooth
  4738. Part475.TopSurface = Enum.SurfaceType.Smooth
  4739. Part475.Color = Color3.new(1, 0, 0)
  4740. Part475.Position = Vector3.new(103.899986, 14.4121075, -138.399994)
  4741. Part475.Orientation = Vector3.new(90, 180, 0)
  4742. Part475.Color = Color3.new(1, 0, 0)
  4743. BlockMesh476.Parent = Part475
  4744. CylinderMesh477.Parent = Part475
  4745. CylinderMesh477.Offset = Vector3.new(0, 0.150000006, 0)
  4746. CylinderMesh477.Scale = Vector3.new(1, 0.200000003, 1)
  4747. CylinderMesh477.Scale = Vector3.new(1, 0.200000003, 1)
  4748. ClickDetector478.Name = "Click"
  4749. ClickDetector478.Parent = Part475
  4750. Part479.Parent = Model1
  4751. Part479.Anchored = true
  4752. Part479.Size = Vector3.new(12.3999996, 8, 87.4000015)
  4753. Part479.CFrame = CFrame.new(150, 5.11211967, -83.7000122, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4754. Part479.Position = Vector3.new(150, 5.11211967, -83.7000122)
  4755. Part480.Parent = Model1
  4756. Part480.Anchored = true
  4757. Part480.Size = Vector3.new(6.80000019, 1, 9)
  4758. Part480.CFrame = CFrame.new(172.600037, 9.01211357, -24.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4759. Part480.Position = Vector3.new(172.600037, 9.01211357, -24.3000031)
  4760. Part481.Parent = Model1
  4761. Part481.Anchored = true
  4762. Part481.Size = Vector3.new(6.80000019, 1, 2)
  4763. Part481.CFrame = CFrame.new(106, 7.01211929, -40.4000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4764. Part481.Position = Vector3.new(106, 7.01211929, -40.4000092)
  4765. Model482.Parent = Model1
  4766. Model483.Name = "PrisonCell"
  4767. Model483.Parent = Model482
  4768. Model484.Name = "Exterior"
  4769. Model484.Parent = Model483
  4770. Model485.Name = "Top"
  4771. Model485.Parent = Model484
  4772. Part486.Name = "Ceiling"
  4773. Part486.Parent = Model485
  4774. Part486.BrickColor = BrickColor.new("Brick yellow")
  4775. Part486.Anchored = true
  4776. Part486.FormFactor = Enum.FormFactor.Plate
  4777. Part486.Size = Vector3.new(12, 0.400000006, 14)
  4778. Part486.CFrame = CFrame.new(64.4000931, 19.3122692, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4779. Part486.BottomSurface = Enum.SurfaceType.Smooth
  4780. Part486.TopSurface = Enum.SurfaceType.Smooth
  4781. Part486.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4782. Part486.Position = Vector3.new(64.4000931, 19.3122692, -146.600006)
  4783. Part486.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4784. BlockMesh487.Parent = Part486
  4785. Part488.Name = "Top"
  4786. Part488.Parent = Model485
  4787. Part488.BrickColor = BrickColor.new("Dark stone grey")
  4788. Part488.Anchored = true
  4789. Part488.FormFactor = Enum.FormFactor.Symmetric
  4790. Part488.Size = Vector3.new(14, 1, 16)
  4791. Part488.CFrame = CFrame.new(64.4000931, 20.0122852, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4792. Part488.BottomSurface = Enum.SurfaceType.Smooth
  4793. Part488.TopSurface = Enum.SurfaceType.Smooth
  4794. Part488.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4795. Part488.Position = Vector3.new(64.4000931, 20.0122852, -146.600006)
  4796. Part488.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4797. BlockMesh489.Parent = Part488
  4798. Model490.Name = "Walls"
  4799. Model490.Parent = Model484
  4800. Part491.Parent = Model490
  4801. Part491.BrickColor = BrickColor.new("Dark stone grey")
  4802. Part491.Anchored = true
  4803. Part491.FormFactor = Enum.FormFactor.Symmetric
  4804. Part491.Size = Vector3.new(6, 1, 1)
  4805. Part491.CFrame = CFrame.new(66.4000931, 19.0122452, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4806. Part491.BottomSurface = Enum.SurfaceType.Smooth
  4807. Part491.TopSurface = Enum.SurfaceType.Smooth
  4808. Part491.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4809. Part491.Position = Vector3.new(66.4000931, 19.0122452, -139.100006)
  4810. Part491.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4811. BlockMesh492.Parent = Part491
  4812. Part493.Parent = Model490
  4813. Part493.BrickColor = BrickColor.new("Dark stone grey")
  4814. Part493.Anchored = true
  4815. Part493.FormFactor = Enum.FormFactor.Symmetric
  4816. Part493.Size = Vector3.new(6, 10, 1)
  4817. Part493.CFrame = CFrame.new(60.4000931, 14.5121851, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4818. Part493.BottomSurface = Enum.SurfaceType.Smooth
  4819. Part493.TopSurface = Enum.SurfaceType.Smooth
  4820. Part493.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4821. Part493.Position = Vector3.new(60.4000931, 14.5121851, -139.100006)
  4822. Part493.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4823. BlockMesh494.Parent = Part493
  4824. Part495.Parent = Model490
  4825. Part495.BrickColor = BrickColor.new("Dark stone grey")
  4826. Part495.Rotation = Vector3.new(-180, 0, -180)
  4827. Part495.Anchored = true
  4828. Part495.FormFactor = Enum.FormFactor.Symmetric
  4829. Part495.Size = Vector3.new(1, 10, 14)
  4830. Part495.CFrame = CFrame.new(57.9000854, 14.5121851, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4831. Part495.BottomSurface = Enum.SurfaceType.Smooth
  4832. Part495.TopSurface = Enum.SurfaceType.Smooth
  4833. Part495.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4834. Part495.Position = Vector3.new(57.9000854, 14.5121851, -146.600006)
  4835. Part495.Orientation = Vector3.new(0, 180, 0)
  4836. Part495.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4837. BlockMesh496.Parent = Part495
  4838. Part497.Parent = Model490
  4839. Part497.BrickColor = BrickColor.new("Dark stone grey")
  4840. Part497.Rotation = Vector3.new(0, -90, 0)
  4841. Part497.Anchored = true
  4842. Part497.FormFactor = Enum.FormFactor.Symmetric
  4843. Part497.Size = Vector3.new(1, 10, 14)
  4844. Part497.CFrame = CFrame.new(64.4000931, 14.5121851, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  4845. Part497.BottomSurface = Enum.SurfaceType.Smooth
  4846. Part497.TopSurface = Enum.SurfaceType.Smooth
  4847. Part497.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4848. Part497.Position = Vector3.new(64.4000931, 14.5121851, -154.099976)
  4849. Part497.Orientation = Vector3.new(0, -90, 0)
  4850. Part497.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4851. BlockMesh498.Parent = Part497
  4852. Part499.Parent = Model490
  4853. Part499.BrickColor = BrickColor.new("Dark stone grey")
  4854. Part499.Rotation = Vector3.new(-180, 0, -180)
  4855. Part499.Anchored = true
  4856. Part499.FormFactor = Enum.FormFactor.Symmetric
  4857. Part499.Size = Vector3.new(1, 10, 14)
  4858. Part499.CFrame = CFrame.new(70.9001007, 14.5121851, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4859. Part499.BottomSurface = Enum.SurfaceType.Smooth
  4860. Part499.TopSurface = Enum.SurfaceType.Smooth
  4861. Part499.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4862. Part499.Position = Vector3.new(70.9001007, 14.5121851, -146.600006)
  4863. Part499.Orientation = Vector3.new(0, 180, 0)
  4864. Part499.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4865. BlockMesh500.Parent = Part499
  4866. Part501.Parent = Model490
  4867. Part501.BrickColor = BrickColor.new("Dark stone grey")
  4868. Part501.Rotation = Vector3.new(0, 90, 0)
  4869. Part501.Anchored = true
  4870. Part501.FormFactor = Enum.FormFactor.Symmetric
  4871. Part501.Size = Vector3.new(1, 10, 2)
  4872. Part501.CFrame = CFrame.new(70.4001007, 14.5121851, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4873. Part501.BottomSurface = Enum.SurfaceType.Smooth
  4874. Part501.TopSurface = Enum.SurfaceType.Smooth
  4875. Part501.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4876. Part501.Position = Vector3.new(70.4001007, 14.5121851, -139.100006)
  4877. Part501.Orientation = Vector3.new(0, 90, 0)
  4878. Part501.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4879. BlockMesh502.Parent = Part501
  4880. Model503.Name = "Floor"
  4881. Model503.Parent = Model484
  4882. Part504.Name = "Floor"
  4883. Part504.Parent = Model503
  4884. Part504.BrickColor = BrickColor.new("Brick yellow")
  4885. Part504.Anchored = true
  4886. Part504.FormFactor = Enum.FormFactor.Plate
  4887. Part504.Size = Vector3.new(12, 0.400000006, 14)
  4888. Part504.CFrame = CFrame.new(64.4000931, 9.71223164, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4889. Part504.BottomSurface = Enum.SurfaceType.Smooth
  4890. Part504.TopSurface = Enum.SurfaceType.Smooth
  4891. Part504.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4892. Part504.Position = Vector3.new(64.4000931, 9.71223164, -146.600006)
  4893. Part504.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4894. BlockMesh505.Parent = Part504
  4895. Part506.Name = "Floor"
  4896. Part506.Parent = Model503
  4897. Part506.BrickColor = BrickColor.new("Brick yellow")
  4898. Part506.Anchored = true
  4899. Part506.CanCollide = false
  4900. Part506.FormFactor = Enum.FormFactor.Plate
  4901. Part506.Size = Vector3.new(6, 0.400000006, 1)
  4902. Part506.CFrame = CFrame.new(66.4000931, 10.1122255, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4903. Part506.BottomSurface = Enum.SurfaceType.Smooth
  4904. Part506.TopSurface = Enum.SurfaceType.Smooth
  4905. Part506.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4906. Part506.Position = Vector3.new(66.4000931, 10.1122255, -140.100006)
  4907. Part506.Color = Color3.new(0.843137, 0.772549, 0.603922)
  4908. BlockMesh507.Parent = Part506
  4909. BlockMesh507.Offset = Vector3.new(0, -0.400000006, 1)
  4910. Model508.Name = "Items"
  4911. Model508.Parent = Model483
  4912. Model509.Name = "Furnish"
  4913. Model509.Parent = Model508
  4914. Model510.Name = "Bed"
  4915. Model510.Parent = Model509
  4916. Part511.Name = "Pole"
  4917. Part511.Parent = Model510
  4918. Part511.BrickColor = BrickColor.new("Mid gray")
  4919. Part511.Reflectance = 0.15000000596046
  4920. Part511.Anchored = true
  4921. Part511.CanCollide = false
  4922. Part511.FormFactor = Enum.FormFactor.Symmetric
  4923. Part511.Size = Vector3.new(1, 5, 1)
  4924. Part511.CFrame = CFrame.new(58.9000702, 12.4121952, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4925. Part511.BottomSurface = Enum.SurfaceType.Smooth
  4926. Part511.TopSurface = Enum.SurfaceType.Smooth
  4927. Part511.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4928. Part511.Position = Vector3.new(58.9000702, 12.4121952, -140.100006)
  4929. Part511.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4930. CylinderMesh512.Parent = Part511
  4931. CylinderMesh512.Scale = Vector3.new(0.5, 1, 0.5)
  4932. CylinderMesh512.Scale = Vector3.new(0.5, 1, 0.5)
  4933. Part513.Name = "Pole"
  4934. Part513.Parent = Model510
  4935. Part513.BrickColor = BrickColor.new("Mid gray")
  4936. Part513.Reflectance = 0.15000000596046
  4937. Part513.Anchored = true
  4938. Part513.CanCollide = false
  4939. Part513.FormFactor = Enum.FormFactor.Symmetric
  4940. Part513.Size = Vector3.new(1, 5, 1)
  4941. Part513.CFrame = CFrame.new(58.9000702, 12.4121952, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4942. Part513.BottomSurface = Enum.SurfaceType.Smooth
  4943. Part513.TopSurface = Enum.SurfaceType.Smooth
  4944. Part513.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4945. Part513.Position = Vector3.new(58.9000702, 12.4121952, -147.100006)
  4946. Part513.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4947. CylinderMesh514.Parent = Part513
  4948. CylinderMesh514.Scale = Vector3.new(0.5, 1, 0.5)
  4949. CylinderMesh514.Scale = Vector3.new(0.5, 1, 0.5)
  4950. Part515.Name = "Pole"
  4951. Part515.Parent = Model510
  4952. Part515.BrickColor = BrickColor.new("Mid gray")
  4953. Part515.Reflectance = 0.15000000596046
  4954. Part515.Anchored = true
  4955. Part515.CanCollide = false
  4956. Part515.FormFactor = Enum.FormFactor.Symmetric
  4957. Part515.Size = Vector3.new(1, 5, 1)
  4958. Part515.CFrame = CFrame.new(62.9000702, 12.4121952, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4959. Part515.BottomSurface = Enum.SurfaceType.Smooth
  4960. Part515.TopSurface = Enum.SurfaceType.Smooth
  4961. Part515.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4962. Part515.Position = Vector3.new(62.9000702, 12.4121952, -147.100006)
  4963. Part515.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4964. CylinderMesh516.Parent = Part515
  4965. CylinderMesh516.Scale = Vector3.new(0.5, 1, 0.5)
  4966. CylinderMesh516.Scale = Vector3.new(0.5, 1, 0.5)
  4967. Part517.Name = "Pole"
  4968. Part517.Parent = Model510
  4969. Part517.BrickColor = BrickColor.new("Mid gray")
  4970. Part517.Reflectance = 0.15000000596046
  4971. Part517.Anchored = true
  4972. Part517.CanCollide = false
  4973. Part517.FormFactor = Enum.FormFactor.Symmetric
  4974. Part517.Size = Vector3.new(1, 5, 1)
  4975. Part517.CFrame = CFrame.new(62.9000702, 12.4121952, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4976. Part517.BottomSurface = Enum.SurfaceType.Smooth
  4977. Part517.TopSurface = Enum.SurfaceType.Smooth
  4978. Part517.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4979. Part517.Position = Vector3.new(62.9000702, 12.4121952, -140.100006)
  4980. Part517.Color = Color3.new(0.803922, 0.803922, 0.803922)
  4981. CylinderMesh518.Parent = Part517
  4982. CylinderMesh518.Scale = Vector3.new(0.5, 1, 0.5)
  4983. CylinderMesh518.Scale = Vector3.new(0.5, 1, 0.5)
  4984. Part519.Parent = Model510
  4985. Part519.BrickColor = BrickColor.new("Institutional white")
  4986. Part519.Rotation = Vector3.new(-180, 0, -180)
  4987. Part519.Anchored = true
  4988. Part519.FormFactor = Enum.FormFactor.Symmetric
  4989. Part519.Size = Vector3.new(3, 1, 6)
  4990. Part519.CFrame = CFrame.new(60.9000702, 13.6121912, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  4991. Part519.BottomSurface = Enum.SurfaceType.Smooth
  4992. Part519.TopSurface = Enum.SurfaceType.Smooth
  4993. Part519.Color = Color3.new(0.972549, 0.972549, 0.972549)
  4994. Part519.Position = Vector3.new(60.9000702, 13.6121912, -143.600006)
  4995. Part519.Orientation = Vector3.new(0, 180, 0)
  4996. Part519.Color = Color3.new(0.972549, 0.972549, 0.972549)
  4997. BlockMesh520.Parent = Part519
  4998. BlockMesh520.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  4999. BlockMesh520.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  5000. Part521.Parent = Model510
  5001. Part521.BrickColor = BrickColor.new("Institutional white")
  5002. Part521.Rotation = Vector3.new(-180, 0, -180)
  5003. Part521.Anchored = true
  5004. Part521.FormFactor = Enum.FormFactor.Symmetric
  5005. Part521.Size = Vector3.new(3, 1, 6)
  5006. Part521.CFrame = CFrame.new(60.9000702, 10.4122276, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  5007. Part521.BottomSurface = Enum.SurfaceType.Smooth
  5008. Part521.TopSurface = Enum.SurfaceType.Smooth
  5009. Part521.Color = Color3.new(0.972549, 0.972549, 0.972549)
  5010. Part521.Position = Vector3.new(60.9000702, 10.4122276, -143.600006)
  5011. Part521.Orientation = Vector3.new(0, 180, 0)
  5012. Part521.Color = Color3.new(0.972549, 0.972549, 0.972549)
  5013. BlockMesh522.Parent = Part521
  5014. BlockMesh522.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  5015. BlockMesh522.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  5016. Model523.Name = "Toilet"
  5017. Model523.Parent = Model509
  5018. Part524.Parent = Model523
  5019. Part524.BrickColor = BrickColor.new("Mid gray")
  5020. Part524.Rotation = Vector3.new(0, -90, 0)
  5021. Part524.Anchored = true
  5022. Part524.FormFactor = Enum.FormFactor.Symmetric
  5023. Part524.Size = Vector3.new(2, 3, 1)
  5024. Part524.CFrame = CFrame.new(58.9000702, 12.4121952, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5025. Part524.BottomSurface = Enum.SurfaceType.Smooth
  5026. Part524.TopSurface = Enum.SurfaceType.Smooth
  5027. Part524.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5028. Part524.Position = Vector3.new(58.9000702, 12.4121952, -150.599976)
  5029. Part524.Orientation = Vector3.new(0, -90, 0)
  5030. Part524.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5031. BlockMesh525.Parent = Part524
  5032. BlockMesh525.Scale = Vector3.new(1.5, 1, 1)
  5033. BlockMesh525.Scale = Vector3.new(1.5, 1, 1)
  5034. Part526.Parent = Model523
  5035. Part526.BrickColor = BrickColor.new("Mid gray")
  5036. Part526.Rotation = Vector3.new(0, -90, 0)
  5037. Part526.Anchored = true
  5038. Part526.FormFactor = Enum.FormFactor.Symmetric
  5039. Part526.Size = Vector3.new(2, 1, 3)
  5040. Part526.CFrame = CFrame.new(59.9000931, 10.4122276, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5041. Part526.BottomSurface = Enum.SurfaceType.Smooth
  5042. Part526.TopSurface = Enum.SurfaceType.Smooth
  5043. Part526.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5044. Part526.Position = Vector3.new(59.9000931, 10.4122276, -150.599976)
  5045. Part526.Orientation = Vector3.new(0, -90, 0)
  5046. Part526.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5047. BlockMesh527.Parent = Part526
  5048. Part528.Parent = Model523
  5049. Part528.BrickColor = BrickColor.new("Light stone grey")
  5050. Part528.Rotation = Vector3.new(0, -90, 0)
  5051. Part528.Anchored = true
  5052. Part528.FormFactor = Enum.FormFactor.Plate
  5053. Part528.Size = Vector3.new(2, 0.400000006, 2)
  5054. Part528.CFrame = CFrame.new(60.4000931, 11.1121931, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5055. Part528.BottomSurface = Enum.SurfaceType.Smooth
  5056. Part528.TopSurface = Enum.SurfaceType.Smooth
  5057. Part528.Color = Color3.new(0.898039, 0.894118, 0.87451)
  5058. Part528.Position = Vector3.new(60.4000931, 11.1121931, -150.599976)
  5059. Part528.Orientation = Vector3.new(0, -90, 0)
  5060. Part528.Color = Color3.new(0.898039, 0.894118, 0.87451)
  5061. SpecialMesh529.Parent = Part528
  5062. SpecialMesh529.Scale = Vector3.new(1.5, 2, 2)
  5063. SpecialMesh529.MeshType = Enum.MeshType.Sphere
  5064. SpecialMesh529.Scale = Vector3.new(1.5, 2, 2)
  5065. Part530.Name = "Pole"
  5066. Part530.Parent = Model509
  5067. Part530.BrickColor = BrickColor.new("Mid gray")
  5068. Part530.Reflectance = 0.15000000596046
  5069. Part530.Rotation = Vector3.new(0, 0, -90)
  5070. Part530.Anchored = true
  5071. Part530.CanCollide = false
  5072. Part530.FormFactor = Enum.FormFactor.Symmetric
  5073. Part530.Size = Vector3.new(1, 12, 1)
  5074. Part530.CFrame = CFrame.new(64.4000931, 13.4121952, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  5075. Part530.BottomSurface = Enum.SurfaceType.Smooth
  5076. Part530.TopSurface = Enum.SurfaceType.Smooth
  5077. Part530.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5078. Part530.Position = Vector3.new(64.4000931, 13.4121952, -153.099976)
  5079. Part530.Orientation = Vector3.new(0, 0, -90)
  5080. Part530.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5081. CylinderMesh531.Parent = Part530
  5082. CylinderMesh531.Scale = Vector3.new(0.5, 1, 0.5)
  5083. CylinderMesh531.Scale = Vector3.new(0.5, 1, 0.5)
  5084. Model532.Name = "Functions"
  5085. Model532.Parent = Model508
  5086. Model533.Name = "Light"
  5087. Model533.Parent = Model532
  5088. Part534.Name = "Lightbulb"
  5089. Part534.Parent = Model533
  5090. Part534.Transparency = 0.5
  5091. Part534.Rotation = Vector3.new(180, 90, 0)
  5092. Part534.Anchored = true
  5093. Part534.CanCollide = false
  5094. Part534.FormFactor = Enum.FormFactor.Symmetric
  5095. Part534.Size = Vector3.new(2, 1, 2)
  5096. Part534.CFrame = CFrame.new(64.4000931, 18.6122532, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  5097. Part534.BackSurface = Enum.SurfaceType.Weld
  5098. Part534.BottomSurface = Enum.SurfaceType.Weld
  5099. Part534.FrontSurface = Enum.SurfaceType.Weld
  5100. Part534.LeftSurface = Enum.SurfaceType.Weld
  5101. Part534.RightSurface = Enum.SurfaceType.Weld
  5102. Part534.TopSurface = Enum.SurfaceType.Weld
  5103. Part534.Position = Vector3.new(64.4000931, 18.6122532, -146.600006)
  5104. Part534.Orientation = Vector3.new(0, 90, 180)
  5105. SpecialMesh535.Parent = Part534
  5106. SpecialMesh535.MeshId = "http://www.roblox.com/asset/?id=1376459"
  5107. SpecialMesh535.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  5108. SpecialMesh535.TextureId = "http://www.roblox.com/asset/?id=1376456"
  5109. SpecialMesh535.MeshType = Enum.MeshType.FileMesh
  5110. SpecialMesh535.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  5111. Part536.Name = "Light"
  5112. Part536.Parent = Model533
  5113. Part536.BrickColor = BrickColor.new("Cool yellow")
  5114. Part536.Transparency = 1
  5115. Part536.Anchored = true
  5116. Part536.CanCollide = false
  5117. Part536.FormFactor = Enum.FormFactor.Symmetric
  5118. Part536.Size = Vector3.new(2, 8, 2)
  5119. Part536.CFrame = CFrame.new(64.4000931, 14.1121912, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5120. Part536.Color = Color3.new(0.992157, 0.917647, 0.552941)
  5121. Part536.Position = Vector3.new(64.4000931, 14.1121912, -146.600006)
  5122. Part536.Color = Color3.new(0.992157, 0.917647, 0.552941)
  5123. SpecialMesh537.Parent = Part536
  5124. SpecialMesh537.MeshId = "http://www.roblox.com/asset/?id=1033714"
  5125. SpecialMesh537.Scale = Vector3.new(7, 13, 7)
  5126. SpecialMesh537.MeshType = Enum.MeshType.FileMesh
  5127. SpecialMesh537.Scale = Vector3.new(7, 13, 7)
  5128. Script538.Name = "Function"
  5129. Script538.Parent = Model533
  5130. table.insert(cors,sandbox(Script538,function()
  5131. local on = false
  5132.  
  5133. function check()
  5134. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  5135. if ((n > 6) and (n < 18)) then
  5136. if (on) then
  5137. on = false
  5138. wait(math.random()*5)
  5139. for i = 1,5 do
  5140. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  5141. wait()
  5142. end
  5143. script.Parent.Light.Transparency = 1
  5144. end
  5145. elseif not (on) then
  5146. on = true
  5147. wait(math.random()*5)
  5148. for i = 1,5 do
  5149. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  5150. wait()
  5151. end
  5152. script.Parent.Light.Transparency = 0.5
  5153. end
  5154. end
  5155.  
  5156. game.Lighting.LightingChanged:connect(check)
  5157. check()
  5158. end))
  5159. Part539.Name = "LightSocket"
  5160. Part539.Parent = Model533
  5161. Part539.BrickColor = BrickColor.new("Dark stone grey")
  5162. Part539.Anchored = true
  5163. Part539.FormFactor = Enum.FormFactor.Symmetric
  5164. Part539.Size = Vector3.new(2, 1, 2)
  5165. Part539.CFrame = CFrame.new(64.4000931, 18.6122532, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5166. Part539.BottomSurface = Enum.SurfaceType.Smooth
  5167. Part539.TopSurface = Enum.SurfaceType.Smooth
  5168. Part539.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5169. Part539.Position = Vector3.new(64.4000931, 18.6122532, -146.600006)
  5170. Part539.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5171. CylinderMesh540.Parent = Part539
  5172. CylinderMesh540.Offset = Vector3.new(0, 0.600000024, 0)
  5173. CylinderMesh540.Scale = Vector3.new(1, 0.5, 1)
  5174. CylinderMesh540.Scale = Vector3.new(1, 0.5, 1)
  5175. Model541.Name = "Door"
  5176. Model541.Parent = Model483
  5177. Part542.Name = "Bar"
  5178. Part542.Parent = Model541
  5179. Part542.Reflectance = 0.15000000596046
  5180. Part542.Anchored = true
  5181. Part542.FormFactor = Enum.FormFactor.Symmetric
  5182. Part542.Size = Vector3.new(1, 9, 1)
  5183. Part542.CFrame = CFrame.new(68.9000854, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5184. Part542.BottomSurface = Enum.SurfaceType.Smooth
  5185. Part542.TopSurface = Enum.SurfaceType.Smooth
  5186. Part542.Position = Vector3.new(68.9000854, 14.0121956, -139.100006)
  5187. CylinderMesh543.Parent = Part542
  5188. CylinderMesh543.Scale = Vector3.new(0.5, 1, 1)
  5189. CylinderMesh543.Scale = Vector3.new(0.5, 1, 1)
  5190. Part544.Name = "Bar"
  5191. Part544.Parent = Model541
  5192. Part544.Reflectance = 0.15000000596046
  5193. Part544.Anchored = true
  5194. Part544.FormFactor = Enum.FormFactor.Symmetric
  5195. Part544.Size = Vector3.new(1, 9, 1)
  5196. Part544.CFrame = CFrame.new(67.9000702, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5197. Part544.BottomSurface = Enum.SurfaceType.Smooth
  5198. Part544.TopSurface = Enum.SurfaceType.Smooth
  5199. Part544.Position = Vector3.new(67.9000702, 14.0121956, -139.100006)
  5200. CylinderMesh545.Parent = Part544
  5201. CylinderMesh545.Scale = Vector3.new(0.5, 1, 1)
  5202. CylinderMesh545.Scale = Vector3.new(0.5, 1, 1)
  5203. Part546.Name = "Bar"
  5204. Part546.Parent = Model541
  5205. Part546.Reflectance = 0.15000000596046
  5206. Part546.Anchored = true
  5207. Part546.FormFactor = Enum.FormFactor.Symmetric
  5208. Part546.Size = Vector3.new(1, 9, 1)
  5209. Part546.CFrame = CFrame.new(66.9001007, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5210. Part546.BottomSurface = Enum.SurfaceType.Smooth
  5211. Part546.TopSurface = Enum.SurfaceType.Smooth
  5212. Part546.Position = Vector3.new(66.9001007, 14.0121956, -139.100006)
  5213. CylinderMesh547.Parent = Part546
  5214. CylinderMesh547.Scale = Vector3.new(0.5, 1, 1)
  5215. CylinderMesh547.Scale = Vector3.new(0.5, 1, 1)
  5216. Part548.Name = "Bar"
  5217. Part548.Parent = Model541
  5218. Part548.Reflectance = 0.15000000596046
  5219. Part548.Anchored = true
  5220. Part548.FormFactor = Enum.FormFactor.Symmetric
  5221. Part548.Size = Vector3.new(1, 9, 1)
  5222. Part548.CFrame = CFrame.new(65.9000931, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5223. Part548.BottomSurface = Enum.SurfaceType.Smooth
  5224. Part548.TopSurface = Enum.SurfaceType.Smooth
  5225. Part548.Position = Vector3.new(65.9000931, 14.0121956, -139.100006)
  5226. CylinderMesh549.Parent = Part548
  5227. CylinderMesh549.Scale = Vector3.new(0.5, 1, 1)
  5228. CylinderMesh549.Scale = Vector3.new(0.5, 1, 1)
  5229. Part550.Name = "Bar"
  5230. Part550.Parent = Model541
  5231. Part550.Reflectance = 0.15000000596046
  5232. Part550.Anchored = true
  5233. Part550.FormFactor = Enum.FormFactor.Symmetric
  5234. Part550.Size = Vector3.new(1, 9, 1)
  5235. Part550.CFrame = CFrame.new(64.9000931, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5236. Part550.BottomSurface = Enum.SurfaceType.Smooth
  5237. Part550.TopSurface = Enum.SurfaceType.Smooth
  5238. Part550.Position = Vector3.new(64.9000931, 14.0121956, -139.100006)
  5239. CylinderMesh551.Parent = Part550
  5240. CylinderMesh551.Scale = Vector3.new(0.5, 1, 1)
  5241. CylinderMesh551.Scale = Vector3.new(0.5, 1, 1)
  5242. Part552.Name = "Bar"
  5243. Part552.Parent = Model541
  5244. Part552.Reflectance = 0.15000000596046
  5245. Part552.Anchored = true
  5246. Part552.FormFactor = Enum.FormFactor.Symmetric
  5247. Part552.Size = Vector3.new(1, 9, 1)
  5248. Part552.CFrame = CFrame.new(63.9000931, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5249. Part552.BottomSurface = Enum.SurfaceType.Smooth
  5250. Part552.TopSurface = Enum.SurfaceType.Smooth
  5251. Part552.Position = Vector3.new(63.9000931, 14.0121956, -139.100006)
  5252. CylinderMesh553.Parent = Part552
  5253. CylinderMesh553.Scale = Vector3.new(0.5, 1, 1)
  5254. CylinderMesh553.Scale = Vector3.new(0.5, 1, 1)
  5255. Script554.Name = "Main"
  5256. Script554.Parent = Model541
  5257. table.insert(cors,sandbox(Script554,function()
  5258. local _items = {}
  5259.  
  5260. local door = -1
  5261. -- -1 = Closed
  5262. -- 0 = Active
  5263. -- 1 = Open
  5264.  
  5265. function getItems()
  5266. for _,v in pairs(script.Parent:GetChildren()) do
  5267. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  5268. table.insert(_items,v)
  5269. end
  5270. end
  5271. end
  5272.  
  5273. function main()
  5274. local d = door
  5275. door = 0
  5276. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  5277. for i = 0,5,0.05 do
  5278. for _,v in pairs(_items) do
  5279. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  5280. end
  5281. wait()
  5282. end
  5283. if (d == (-1)) then
  5284. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  5285. elseif (d == 1) then
  5286. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  5287. end
  5288. door = d
  5289. end
  5290.  
  5291. script.Parent.Button.Click.MouseClick:connect(function()
  5292. if (door == 0) then return end
  5293. door = (door*(-1))
  5294. main()
  5295. end)
  5296.  
  5297. getItems()
  5298. end))
  5299. Part555.Name = "Button"
  5300. Part555.Parent = Model541
  5301. Part555.BrickColor = BrickColor.new("Really red")
  5302. Part555.Reflectance = 0.20000000298023
  5303. Part555.Transparency = 0.5
  5304. Part555.Rotation = Vector3.new(90, 0, -180)
  5305. Part555.Anchored = true
  5306. Part555.FormFactor = Enum.FormFactor.Plate
  5307. Part555.Size = Vector3.new(1, 0.400000006, 1)
  5308. Part555.CFrame = CFrame.new(61.9000702, 14.0121851, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  5309. Part555.BottomSurface = Enum.SurfaceType.Smooth
  5310. Part555.TopSurface = Enum.SurfaceType.Smooth
  5311. Part555.Color = Color3.new(1, 0, 0)
  5312. Part555.Position = Vector3.new(61.9000702, 14.0121851, -138.399994)
  5313. Part555.Orientation = Vector3.new(90, 180, 0)
  5314. Part555.Color = Color3.new(1, 0, 0)
  5315. BlockMesh556.Parent = Part555
  5316. CylinderMesh557.Parent = Part555
  5317. CylinderMesh557.Offset = Vector3.new(0, 0.150000006, 0)
  5318. CylinderMesh557.Scale = Vector3.new(1, 0.200000003, 1)
  5319. CylinderMesh557.Scale = Vector3.new(1, 0.200000003, 1)
  5320. ClickDetector558.Name = "Click"
  5321. ClickDetector558.Parent = Part555
  5322. Model559.Parent = Model1
  5323. Model560.Name = "PrisonCell"
  5324. Model560.Parent = Model559
  5325. Model561.Name = "Exterior"
  5326. Model561.Parent = Model560
  5327. Model562.Name = "Top"
  5328. Model562.Parent = Model561
  5329. Part563.Name = "Ceiling"
  5330. Part563.Parent = Model562
  5331. Part563.BrickColor = BrickColor.new("Brick yellow")
  5332. Part563.Anchored = true
  5333. Part563.FormFactor = Enum.FormFactor.Plate
  5334. Part563.Size = Vector3.new(12, 0.400000006, 14)
  5335. Part563.CFrame = CFrame.new(162.399994, 19.312233, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5336. Part563.BottomSurface = Enum.SurfaceType.Smooth
  5337. Part563.TopSurface = Enum.SurfaceType.Smooth
  5338. Part563.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5339. Part563.Position = Vector3.new(162.399994, 19.312233, -146.600006)
  5340. Part563.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5341. BlockMesh564.Parent = Part563
  5342. Part565.Name = "Top"
  5343. Part565.Parent = Model562
  5344. Part565.BrickColor = BrickColor.new("Dark stone grey")
  5345. Part565.Anchored = true
  5346. Part565.FormFactor = Enum.FormFactor.Symmetric
  5347. Part565.Size = Vector3.new(14, 1, 16)
  5348. Part565.CFrame = CFrame.new(162.399994, 20.0122223, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5349. Part565.BottomSurface = Enum.SurfaceType.Smooth
  5350. Part565.TopSurface = Enum.SurfaceType.Smooth
  5351. Part565.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5352. Part565.Position = Vector3.new(162.399994, 20.0122223, -146.600006)
  5353. Part565.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5354. BlockMesh566.Parent = Part565
  5355. Model567.Name = "Walls"
  5356. Model567.Parent = Model561
  5357. Part568.Parent = Model567
  5358. Part568.BrickColor = BrickColor.new("Dark stone grey")
  5359. Part568.Anchored = true
  5360. Part568.FormFactor = Enum.FormFactor.Symmetric
  5361. Part568.Size = Vector3.new(6, 1, 1)
  5362. Part568.CFrame = CFrame.new(164.399994, 19.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5363. Part568.BottomSurface = Enum.SurfaceType.Smooth
  5364. Part568.TopSurface = Enum.SurfaceType.Smooth
  5365. Part568.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5366. Part568.Position = Vector3.new(164.399994, 19.0121956, -139.100006)
  5367. Part568.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5368. BlockMesh569.Parent = Part568
  5369. Part570.Parent = Model567
  5370. Part570.BrickColor = BrickColor.new("Dark stone grey")
  5371. Part570.Anchored = true
  5372. Part570.FormFactor = Enum.FormFactor.Symmetric
  5373. Part570.Size = Vector3.new(6, 10, 1)
  5374. Part570.CFrame = CFrame.new(158.399994, 14.5121851, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5375. Part570.BottomSurface = Enum.SurfaceType.Smooth
  5376. Part570.TopSurface = Enum.SurfaceType.Smooth
  5377. Part570.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5378. Part570.Position = Vector3.new(158.399994, 14.5121851, -139.100006)
  5379. Part570.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5380. BlockMesh571.Parent = Part570
  5381. Part572.Parent = Model567
  5382. Part572.BrickColor = BrickColor.new("Dark stone grey")
  5383. Part572.Rotation = Vector3.new(-180, 0, -180)
  5384. Part572.Anchored = true
  5385. Part572.FormFactor = Enum.FormFactor.Symmetric
  5386. Part572.Size = Vector3.new(1, 10, 14)
  5387. Part572.CFrame = CFrame.new(155.899994, 14.5121851, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  5388. Part572.BottomSurface = Enum.SurfaceType.Smooth
  5389. Part572.TopSurface = Enum.SurfaceType.Smooth
  5390. Part572.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5391. Part572.Position = Vector3.new(155.899994, 14.5121851, -146.600006)
  5392. Part572.Orientation = Vector3.new(0, 180, 0)
  5393. Part572.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5394. BlockMesh573.Parent = Part572
  5395. Part574.Parent = Model567
  5396. Part574.BrickColor = BrickColor.new("Dark stone grey")
  5397. Part574.Rotation = Vector3.new(0, -90, 0)
  5398. Part574.Anchored = true
  5399. Part574.FormFactor = Enum.FormFactor.Symmetric
  5400. Part574.Size = Vector3.new(1, 10, 14)
  5401. Part574.CFrame = CFrame.new(162.399994, 14.5121851, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5402. Part574.BottomSurface = Enum.SurfaceType.Smooth
  5403. Part574.TopSurface = Enum.SurfaceType.Smooth
  5404. Part574.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5405. Part574.Position = Vector3.new(162.399994, 14.5121851, -154.099976)
  5406. Part574.Orientation = Vector3.new(0, -90, 0)
  5407. Part574.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5408. BlockMesh575.Parent = Part574
  5409. Part576.Parent = Model567
  5410. Part576.BrickColor = BrickColor.new("Dark stone grey")
  5411. Part576.Rotation = Vector3.new(-180, 0, -180)
  5412. Part576.Anchored = true
  5413. Part576.FormFactor = Enum.FormFactor.Symmetric
  5414. Part576.Size = Vector3.new(1, 10, 14)
  5415. Part576.CFrame = CFrame.new(168.899994, 14.5121851, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  5416. Part576.BottomSurface = Enum.SurfaceType.Smooth
  5417. Part576.TopSurface = Enum.SurfaceType.Smooth
  5418. Part576.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5419. Part576.Position = Vector3.new(168.899994, 14.5121851, -146.600006)
  5420. Part576.Orientation = Vector3.new(0, 180, 0)
  5421. Part576.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5422. BlockMesh577.Parent = Part576
  5423. Part578.Parent = Model567
  5424. Part578.BrickColor = BrickColor.new("Dark stone grey")
  5425. Part578.Rotation = Vector3.new(0, 90, 0)
  5426. Part578.Anchored = true
  5427. Part578.FormFactor = Enum.FormFactor.Symmetric
  5428. Part578.Size = Vector3.new(1, 10, 2)
  5429. Part578.CFrame = CFrame.new(168.399994, 14.5121851, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5430. Part578.BottomSurface = Enum.SurfaceType.Smooth
  5431. Part578.TopSurface = Enum.SurfaceType.Smooth
  5432. Part578.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5433. Part578.Position = Vector3.new(168.399994, 14.5121851, -139.100006)
  5434. Part578.Orientation = Vector3.new(0, 90, 0)
  5435. Part578.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5436. BlockMesh579.Parent = Part578
  5437. Model580.Name = "Floor"
  5438. Model580.Parent = Model561
  5439. Part581.Name = "Floor"
  5440. Part581.Parent = Model580
  5441. Part581.BrickColor = BrickColor.new("Brick yellow")
  5442. Part581.Anchored = true
  5443. Part581.FormFactor = Enum.FormFactor.Plate
  5444. Part581.Size = Vector3.new(12, 0.400000006, 14)
  5445. Part581.CFrame = CFrame.new(162.399994, 9.71219158, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5446. Part581.BottomSurface = Enum.SurfaceType.Smooth
  5447. Part581.TopSurface = Enum.SurfaceType.Smooth
  5448. Part581.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5449. Part581.Position = Vector3.new(162.399994, 9.71219158, -146.600006)
  5450. Part581.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5451. BlockMesh582.Parent = Part581
  5452. Part583.Name = "Floor"
  5453. Part583.Parent = Model580
  5454. Part583.BrickColor = BrickColor.new("Brick yellow")
  5455. Part583.Anchored = true
  5456. Part583.CanCollide = false
  5457. Part583.FormFactor = Enum.FormFactor.Plate
  5458. Part583.Size = Vector3.new(6, 0.400000006, 1)
  5459. Part583.CFrame = CFrame.new(164.399994, 10.1121836, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5460. Part583.BottomSurface = Enum.SurfaceType.Smooth
  5461. Part583.TopSurface = Enum.SurfaceType.Smooth
  5462. Part583.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5463. Part583.Position = Vector3.new(164.399994, 10.1121836, -140.100006)
  5464. Part583.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5465. BlockMesh584.Parent = Part583
  5466. BlockMesh584.Offset = Vector3.new(0, -0.400000006, 1)
  5467. Model585.Name = "Items"
  5468. Model585.Parent = Model560
  5469. Model586.Name = "Furnish"
  5470. Model586.Parent = Model585
  5471. Model587.Name = "Bed"
  5472. Model587.Parent = Model586
  5473. Part588.Name = "Pole"
  5474. Part588.Parent = Model587
  5475. Part588.BrickColor = BrickColor.new("Mid gray")
  5476. Part588.Reflectance = 0.15000000596046
  5477. Part588.Anchored = true
  5478. Part588.CanCollide = false
  5479. Part588.FormFactor = Enum.FormFactor.Symmetric
  5480. Part588.Size = Vector3.new(1, 5, 1)
  5481. Part588.CFrame = CFrame.new(156.899994, 12.4121656, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5482. Part588.BottomSurface = Enum.SurfaceType.Smooth
  5483. Part588.TopSurface = Enum.SurfaceType.Smooth
  5484. Part588.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5485. Part588.Position = Vector3.new(156.899994, 12.4121656, -140.100006)
  5486. Part588.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5487. CylinderMesh589.Parent = Part588
  5488. CylinderMesh589.Scale = Vector3.new(0.5, 1, 0.5)
  5489. CylinderMesh589.Scale = Vector3.new(0.5, 1, 0.5)
  5490. Part590.Name = "Pole"
  5491. Part590.Parent = Model587
  5492. Part590.BrickColor = BrickColor.new("Mid gray")
  5493. Part590.Reflectance = 0.15000000596046
  5494. Part590.Anchored = true
  5495. Part590.CanCollide = false
  5496. Part590.FormFactor = Enum.FormFactor.Symmetric
  5497. Part590.Size = Vector3.new(1, 5, 1)
  5498. Part590.CFrame = CFrame.new(156.899994, 12.4121656, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5499. Part590.BottomSurface = Enum.SurfaceType.Smooth
  5500. Part590.TopSurface = Enum.SurfaceType.Smooth
  5501. Part590.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5502. Part590.Position = Vector3.new(156.899994, 12.4121656, -147.100006)
  5503. Part590.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5504. CylinderMesh591.Parent = Part590
  5505. CylinderMesh591.Scale = Vector3.new(0.5, 1, 0.5)
  5506. CylinderMesh591.Scale = Vector3.new(0.5, 1, 0.5)
  5507. Part592.Name = "Pole"
  5508. Part592.Parent = Model587
  5509. Part592.BrickColor = BrickColor.new("Mid gray")
  5510. Part592.Reflectance = 0.15000000596046
  5511. Part592.Anchored = true
  5512. Part592.CanCollide = false
  5513. Part592.FormFactor = Enum.FormFactor.Symmetric
  5514. Part592.Size = Vector3.new(1, 5, 1)
  5515. Part592.CFrame = CFrame.new(160.899994, 12.4121656, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5516. Part592.BottomSurface = Enum.SurfaceType.Smooth
  5517. Part592.TopSurface = Enum.SurfaceType.Smooth
  5518. Part592.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5519. Part592.Position = Vector3.new(160.899994, 12.4121656, -147.100006)
  5520. Part592.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5521. CylinderMesh593.Parent = Part592
  5522. CylinderMesh593.Scale = Vector3.new(0.5, 1, 0.5)
  5523. CylinderMesh593.Scale = Vector3.new(0.5, 1, 0.5)
  5524. Part594.Name = "Pole"
  5525. Part594.Parent = Model587
  5526. Part594.BrickColor = BrickColor.new("Mid gray")
  5527. Part594.Reflectance = 0.15000000596046
  5528. Part594.Anchored = true
  5529. Part594.CanCollide = false
  5530. Part594.FormFactor = Enum.FormFactor.Symmetric
  5531. Part594.Size = Vector3.new(1, 5, 1)
  5532. Part594.CFrame = CFrame.new(160.899994, 12.4121656, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5533. Part594.BottomSurface = Enum.SurfaceType.Smooth
  5534. Part594.TopSurface = Enum.SurfaceType.Smooth
  5535. Part594.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5536. Part594.Position = Vector3.new(160.899994, 12.4121656, -140.100006)
  5537. Part594.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5538. CylinderMesh595.Parent = Part594
  5539. CylinderMesh595.Scale = Vector3.new(0.5, 1, 0.5)
  5540. CylinderMesh595.Scale = Vector3.new(0.5, 1, 0.5)
  5541. Part596.Parent = Model587
  5542. Part596.BrickColor = BrickColor.new("Institutional white")
  5543. Part596.Rotation = Vector3.new(-180, 0, -180)
  5544. Part596.Anchored = true
  5545. Part596.FormFactor = Enum.FormFactor.Symmetric
  5546. Part596.Size = Vector3.new(3, 1, 6)
  5547. Part596.CFrame = CFrame.new(158.899994, 13.6121836, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  5548. Part596.BottomSurface = Enum.SurfaceType.Smooth
  5549. Part596.TopSurface = Enum.SurfaceType.Smooth
  5550. Part596.Color = Color3.new(0.972549, 0.972549, 0.972549)
  5551. Part596.Position = Vector3.new(158.899994, 13.6121836, -143.600006)
  5552. Part596.Orientation = Vector3.new(0, 180, 0)
  5553. Part596.Color = Color3.new(0.972549, 0.972549, 0.972549)
  5554. BlockMesh597.Parent = Part596
  5555. BlockMesh597.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  5556. BlockMesh597.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  5557. Part598.Parent = Model587
  5558. Part598.BrickColor = BrickColor.new("Institutional white")
  5559. Part598.Rotation = Vector3.new(-180, 0, -180)
  5560. Part598.Anchored = true
  5561. Part598.FormFactor = Enum.FormFactor.Symmetric
  5562. Part598.Size = Vector3.new(3, 1, 6)
  5563. Part598.CFrame = CFrame.new(158.899994, 10.4121914, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  5564. Part598.BottomSurface = Enum.SurfaceType.Smooth
  5565. Part598.TopSurface = Enum.SurfaceType.Smooth
  5566. Part598.Color = Color3.new(0.972549, 0.972549, 0.972549)
  5567. Part598.Position = Vector3.new(158.899994, 10.4121914, -143.600006)
  5568. Part598.Orientation = Vector3.new(0, 180, 0)
  5569. Part598.Color = Color3.new(0.972549, 0.972549, 0.972549)
  5570. BlockMesh599.Parent = Part598
  5571. BlockMesh599.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  5572. BlockMesh599.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  5573. Model600.Name = "Toilet"
  5574. Model600.Parent = Model586
  5575. Part601.Parent = Model600
  5576. Part601.BrickColor = BrickColor.new("Mid gray")
  5577. Part601.Rotation = Vector3.new(0, -90, 0)
  5578. Part601.Anchored = true
  5579. Part601.FormFactor = Enum.FormFactor.Symmetric
  5580. Part601.Size = Vector3.new(2, 3, 1)
  5581. Part601.CFrame = CFrame.new(156.899994, 12.4121656, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5582. Part601.BottomSurface = Enum.SurfaceType.Smooth
  5583. Part601.TopSurface = Enum.SurfaceType.Smooth
  5584. Part601.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5585. Part601.Position = Vector3.new(156.899994, 12.4121656, -150.599976)
  5586. Part601.Orientation = Vector3.new(0, -90, 0)
  5587. Part601.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5588. BlockMesh602.Parent = Part601
  5589. BlockMesh602.Scale = Vector3.new(1.5, 1, 1)
  5590. BlockMesh602.Scale = Vector3.new(1.5, 1, 1)
  5591. Part603.Parent = Model600
  5592. Part603.BrickColor = BrickColor.new("Mid gray")
  5593. Part603.Rotation = Vector3.new(0, -90, 0)
  5594. Part603.Anchored = true
  5595. Part603.FormFactor = Enum.FormFactor.Symmetric
  5596. Part603.Size = Vector3.new(2, 1, 3)
  5597. Part603.CFrame = CFrame.new(157.899994, 10.4121914, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5598. Part603.BottomSurface = Enum.SurfaceType.Smooth
  5599. Part603.TopSurface = Enum.SurfaceType.Smooth
  5600. Part603.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5601. Part603.Position = Vector3.new(157.899994, 10.4121914, -150.599976)
  5602. Part603.Orientation = Vector3.new(0, -90, 0)
  5603. Part603.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5604. BlockMesh604.Parent = Part603
  5605. Part605.Parent = Model600
  5606. Part605.BrickColor = BrickColor.new("Light stone grey")
  5607. Part605.Rotation = Vector3.new(0, -90, 0)
  5608. Part605.Anchored = true
  5609. Part605.FormFactor = Enum.FormFactor.Plate
  5610. Part605.Size = Vector3.new(2, 0.400000006, 2)
  5611. Part605.CFrame = CFrame.new(158.399994, 11.1121693, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5612. Part605.BottomSurface = Enum.SurfaceType.Smooth
  5613. Part605.TopSurface = Enum.SurfaceType.Smooth
  5614. Part605.Color = Color3.new(0.898039, 0.894118, 0.87451)
  5615. Part605.Position = Vector3.new(158.399994, 11.1121693, -150.599976)
  5616. Part605.Orientation = Vector3.new(0, -90, 0)
  5617. Part605.Color = Color3.new(0.898039, 0.894118, 0.87451)
  5618. SpecialMesh606.Parent = Part605
  5619. SpecialMesh606.Scale = Vector3.new(1.5, 2, 2)
  5620. SpecialMesh606.MeshType = Enum.MeshType.Sphere
  5621. SpecialMesh606.Scale = Vector3.new(1.5, 2, 2)
  5622. Part607.Name = "Pole"
  5623. Part607.Parent = Model586
  5624. Part607.BrickColor = BrickColor.new("Mid gray")
  5625. Part607.Reflectance = 0.15000000596046
  5626. Part607.Rotation = Vector3.new(0, 0, -90)
  5627. Part607.Anchored = true
  5628. Part607.CanCollide = false
  5629. Part607.FormFactor = Enum.FormFactor.Symmetric
  5630. Part607.Size = Vector3.new(1, 12, 1)
  5631. Part607.CFrame = CFrame.new(162.399994, 13.4121876, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  5632. Part607.BottomSurface = Enum.SurfaceType.Smooth
  5633. Part607.TopSurface = Enum.SurfaceType.Smooth
  5634. Part607.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5635. Part607.Position = Vector3.new(162.399994, 13.4121876, -153.099976)
  5636. Part607.Orientation = Vector3.new(0, 0, -90)
  5637. Part607.Color = Color3.new(0.803922, 0.803922, 0.803922)
  5638. CylinderMesh608.Parent = Part607
  5639. CylinderMesh608.Scale = Vector3.new(0.5, 1, 0.5)
  5640. CylinderMesh608.Scale = Vector3.new(0.5, 1, 0.5)
  5641. Model609.Name = "Functions"
  5642. Model609.Parent = Model585
  5643. Model610.Name = "Light"
  5644. Model610.Parent = Model609
  5645. Part611.Name = "Lightbulb"
  5646. Part611.Parent = Model610
  5647. Part611.Transparency = 0.5
  5648. Part611.Rotation = Vector3.new(180, 90, 0)
  5649. Part611.Anchored = true
  5650. Part611.CanCollide = false
  5651. Part611.FormFactor = Enum.FormFactor.Symmetric
  5652. Part611.Size = Vector3.new(2, 1, 2)
  5653. Part611.CFrame = CFrame.new(162.399994, 18.6122074, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  5654. Part611.BackSurface = Enum.SurfaceType.Weld
  5655. Part611.BottomSurface = Enum.SurfaceType.Weld
  5656. Part611.FrontSurface = Enum.SurfaceType.Weld
  5657. Part611.LeftSurface = Enum.SurfaceType.Weld
  5658. Part611.RightSurface = Enum.SurfaceType.Weld
  5659. Part611.TopSurface = Enum.SurfaceType.Weld
  5660. Part611.Position = Vector3.new(162.399994, 18.6122074, -146.600006)
  5661. Part611.Orientation = Vector3.new(0, 90, 180)
  5662. SpecialMesh612.Parent = Part611
  5663. SpecialMesh612.MeshId = "http://www.roblox.com/asset/?id=1376459"
  5664. SpecialMesh612.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  5665. SpecialMesh612.TextureId = "http://www.roblox.com/asset/?id=1376456"
  5666. SpecialMesh612.MeshType = Enum.MeshType.FileMesh
  5667. SpecialMesh612.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  5668. Part613.Name = "Light"
  5669. Part613.Parent = Model610
  5670. Part613.BrickColor = BrickColor.new("Cool yellow")
  5671. Part613.Transparency = 1
  5672. Part613.Anchored = true
  5673. Part613.CanCollide = false
  5674. Part613.FormFactor = Enum.FormFactor.Symmetric
  5675. Part613.Size = Vector3.new(2, 8, 2)
  5676. Part613.CFrame = CFrame.new(162.399994, 14.1121836, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5677. Part613.Color = Color3.new(0.992157, 0.917647, 0.552941)
  5678. Part613.Position = Vector3.new(162.399994, 14.1121836, -146.600006)
  5679. Part613.Color = Color3.new(0.992157, 0.917647, 0.552941)
  5680. SpecialMesh614.Parent = Part613
  5681. SpecialMesh614.MeshId = "http://www.roblox.com/asset/?id=1033714"
  5682. SpecialMesh614.Scale = Vector3.new(7, 13, 7)
  5683. SpecialMesh614.MeshType = Enum.MeshType.FileMesh
  5684. SpecialMesh614.Scale = Vector3.new(7, 13, 7)
  5685. Script615.Name = "Function"
  5686. Script615.Parent = Model610
  5687. table.insert(cors,sandbox(Script615,function()
  5688. local on = false
  5689.  
  5690. function check()
  5691. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  5692. if ((n > 6) and (n < 18)) then
  5693. if (on) then
  5694. on = false
  5695. wait(math.random()*5)
  5696. for i = 1,5 do
  5697. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  5698. wait()
  5699. end
  5700. script.Parent.Light.Transparency = 1
  5701. end
  5702. elseif not (on) then
  5703. on = true
  5704. wait(math.random()*5)
  5705. for i = 1,5 do
  5706. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  5707. wait()
  5708. end
  5709. script.Parent.Light.Transparency = 0.5
  5710. end
  5711. end
  5712.  
  5713. game.Lighting.LightingChanged:connect(check)
  5714. check()
  5715. end))
  5716. Part616.Name = "LightSocket"
  5717. Part616.Parent = Model610
  5718. Part616.BrickColor = BrickColor.new("Dark stone grey")
  5719. Part616.Anchored = true
  5720. Part616.FormFactor = Enum.FormFactor.Symmetric
  5721. Part616.Size = Vector3.new(2, 1, 2)
  5722. Part616.CFrame = CFrame.new(162.399994, 18.6122074, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5723. Part616.BottomSurface = Enum.SurfaceType.Smooth
  5724. Part616.TopSurface = Enum.SurfaceType.Smooth
  5725. Part616.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5726. Part616.Position = Vector3.new(162.399994, 18.6122074, -146.600006)
  5727. Part616.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5728. CylinderMesh617.Parent = Part616
  5729. CylinderMesh617.Offset = Vector3.new(0, 0.600000024, 0)
  5730. CylinderMesh617.Scale = Vector3.new(1, 0.5, 1)
  5731. CylinderMesh617.Scale = Vector3.new(1, 0.5, 1)
  5732. Model618.Name = "Door"
  5733. Model618.Parent = Model560
  5734. Part619.Name = "Bar"
  5735. Part619.Parent = Model618
  5736. Part619.Reflectance = 0.15000000596046
  5737. Part619.Anchored = true
  5738. Part619.FormFactor = Enum.FormFactor.Symmetric
  5739. Part619.Size = Vector3.new(1, 9, 1)
  5740. Part619.CFrame = CFrame.new(166.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5741. Part619.BottomSurface = Enum.SurfaceType.Smooth
  5742. Part619.TopSurface = Enum.SurfaceType.Smooth
  5743. Part619.Position = Vector3.new(166.899994, 14.0121794, -139.100006)
  5744. CylinderMesh620.Parent = Part619
  5745. CylinderMesh620.Scale = Vector3.new(0.5, 1, 1)
  5746. CylinderMesh620.Scale = Vector3.new(0.5, 1, 1)
  5747. Part621.Name = "Bar"
  5748. Part621.Parent = Model618
  5749. Part621.Reflectance = 0.15000000596046
  5750. Part621.Anchored = true
  5751. Part621.FormFactor = Enum.FormFactor.Symmetric
  5752. Part621.Size = Vector3.new(1, 9, 1)
  5753. Part621.CFrame = CFrame.new(165.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5754. Part621.BottomSurface = Enum.SurfaceType.Smooth
  5755. Part621.TopSurface = Enum.SurfaceType.Smooth
  5756. Part621.Position = Vector3.new(165.899994, 14.0121794, -139.100006)
  5757. CylinderMesh622.Parent = Part621
  5758. CylinderMesh622.Scale = Vector3.new(0.5, 1, 1)
  5759. CylinderMesh622.Scale = Vector3.new(0.5, 1, 1)
  5760. Part623.Name = "Bar"
  5761. Part623.Parent = Model618
  5762. Part623.Reflectance = 0.15000000596046
  5763. Part623.Anchored = true
  5764. Part623.FormFactor = Enum.FormFactor.Symmetric
  5765. Part623.Size = Vector3.new(1, 9, 1)
  5766. Part623.CFrame = CFrame.new(164.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5767. Part623.BottomSurface = Enum.SurfaceType.Smooth
  5768. Part623.TopSurface = Enum.SurfaceType.Smooth
  5769. Part623.Position = Vector3.new(164.899994, 14.0121794, -139.100006)
  5770. CylinderMesh624.Parent = Part623
  5771. CylinderMesh624.Scale = Vector3.new(0.5, 1, 1)
  5772. CylinderMesh624.Scale = Vector3.new(0.5, 1, 1)
  5773. Part625.Name = "Bar"
  5774. Part625.Parent = Model618
  5775. Part625.Reflectance = 0.15000000596046
  5776. Part625.Anchored = true
  5777. Part625.FormFactor = Enum.FormFactor.Symmetric
  5778. Part625.Size = Vector3.new(1, 9, 1)
  5779. Part625.CFrame = CFrame.new(163.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5780. Part625.BottomSurface = Enum.SurfaceType.Smooth
  5781. Part625.TopSurface = Enum.SurfaceType.Smooth
  5782. Part625.Position = Vector3.new(163.899994, 14.0121794, -139.100006)
  5783. CylinderMesh626.Parent = Part625
  5784. CylinderMesh626.Scale = Vector3.new(0.5, 1, 1)
  5785. CylinderMesh626.Scale = Vector3.new(0.5, 1, 1)
  5786. Part627.Name = "Bar"
  5787. Part627.Parent = Model618
  5788. Part627.Reflectance = 0.15000000596046
  5789. Part627.Anchored = true
  5790. Part627.FormFactor = Enum.FormFactor.Symmetric
  5791. Part627.Size = Vector3.new(1, 9, 1)
  5792. Part627.CFrame = CFrame.new(162.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5793. Part627.BottomSurface = Enum.SurfaceType.Smooth
  5794. Part627.TopSurface = Enum.SurfaceType.Smooth
  5795. Part627.Position = Vector3.new(162.899994, 14.0121794, -139.100006)
  5796. CylinderMesh628.Parent = Part627
  5797. CylinderMesh628.Scale = Vector3.new(0.5, 1, 1)
  5798. CylinderMesh628.Scale = Vector3.new(0.5, 1, 1)
  5799. Part629.Name = "Bar"
  5800. Part629.Parent = Model618
  5801. Part629.Reflectance = 0.15000000596046
  5802. Part629.Anchored = true
  5803. Part629.FormFactor = Enum.FormFactor.Symmetric
  5804. Part629.Size = Vector3.new(1, 9, 1)
  5805. Part629.CFrame = CFrame.new(161.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5806. Part629.BottomSurface = Enum.SurfaceType.Smooth
  5807. Part629.TopSurface = Enum.SurfaceType.Smooth
  5808. Part629.Position = Vector3.new(161.899994, 14.0121794, -139.100006)
  5809. CylinderMesh630.Parent = Part629
  5810. CylinderMesh630.Scale = Vector3.new(0.5, 1, 1)
  5811. CylinderMesh630.Scale = Vector3.new(0.5, 1, 1)
  5812. Script631.Name = "Main"
  5813. Script631.Parent = Model618
  5814. table.insert(cors,sandbox(Script631,function()
  5815. local _items = {}
  5816.  
  5817. local door = -1
  5818. -- -1 = Closed
  5819. -- 0 = Active
  5820. -- 1 = Open
  5821.  
  5822. function getItems()
  5823. for _,v in pairs(script.Parent:GetChildren()) do
  5824. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  5825. table.insert(_items,v)
  5826. end
  5827. end
  5828. end
  5829.  
  5830. function main()
  5831. local d = door
  5832. door = 0
  5833. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  5834. for i = 0,5,0.05 do
  5835. for _,v in pairs(_items) do
  5836. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  5837. end
  5838. wait()
  5839. end
  5840. if (d == (-1)) then
  5841. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  5842. elseif (d == 1) then
  5843. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  5844. end
  5845. door = d
  5846. end
  5847.  
  5848. script.Parent.Button.Click.MouseClick:connect(function()
  5849. if (door == 0) then return end
  5850. door = (door*(-1))
  5851. main()
  5852. end)
  5853.  
  5854. getItems()
  5855. end))
  5856. Part632.Name = "Button"
  5857. Part632.Parent = Model618
  5858. Part632.BrickColor = BrickColor.new("Really red")
  5859. Part632.Reflectance = 0.20000000298023
  5860. Part632.Transparency = 0.5
  5861. Part632.Rotation = Vector3.new(90, 0, -180)
  5862. Part632.Anchored = true
  5863. Part632.FormFactor = Enum.FormFactor.Plate
  5864. Part632.Size = Vector3.new(1, 0.400000006, 1)
  5865. Part632.CFrame = CFrame.new(159.899994, 14.0121574, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  5866. Part632.BottomSurface = Enum.SurfaceType.Smooth
  5867. Part632.TopSurface = Enum.SurfaceType.Smooth
  5868. Part632.Color = Color3.new(1, 0, 0)
  5869. Part632.Position = Vector3.new(159.899994, 14.0121574, -138.399994)
  5870. Part632.Orientation = Vector3.new(90, 180, 0)
  5871. Part632.Color = Color3.new(1, 0, 0)
  5872. BlockMesh633.Parent = Part632
  5873. CylinderMesh634.Parent = Part632
  5874. CylinderMesh634.Offset = Vector3.new(0, 0.150000006, 0)
  5875. CylinderMesh634.Scale = Vector3.new(1, 0.200000003, 1)
  5876. CylinderMesh634.Scale = Vector3.new(1, 0.200000003, 1)
  5877. ClickDetector635.Name = "Click"
  5878. ClickDetector635.Parent = Part632
  5879. Model636.Parent = Model1
  5880. Model637.Name = "PrisonCell"
  5881. Model637.Parent = Model636
  5882. Model638.Name = "Exterior"
  5883. Model638.Parent = Model637
  5884. Model639.Name = "Top"
  5885. Model639.Parent = Model638
  5886. Part640.Name = "Ceiling"
  5887. Part640.Parent = Model639
  5888. Part640.BrickColor = BrickColor.new("Brick yellow")
  5889. Part640.Anchored = true
  5890. Part640.FormFactor = Enum.FormFactor.Plate
  5891. Part640.Size = Vector3.new(12, 0.400000006, 14)
  5892. Part640.CFrame = CFrame.new(134.399994, 19.5121784, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5893. Part640.BottomSurface = Enum.SurfaceType.Smooth
  5894. Part640.TopSurface = Enum.SurfaceType.Smooth
  5895. Part640.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5896. Part640.Position = Vector3.new(134.399994, 19.5121784, -146.600006)
  5897. Part640.Color = Color3.new(0.843137, 0.772549, 0.603922)
  5898. BlockMesh641.Parent = Part640
  5899. Part642.Name = "Top"
  5900. Part642.Parent = Model639
  5901. Part642.BrickColor = BrickColor.new("Dark stone grey")
  5902. Part642.Anchored = true
  5903. Part642.FormFactor = Enum.FormFactor.Symmetric
  5904. Part642.Size = Vector3.new(14, 1, 16)
  5905. Part642.CFrame = CFrame.new(134.399994, 20.2121735, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5906. Part642.BottomSurface = Enum.SurfaceType.Smooth
  5907. Part642.TopSurface = Enum.SurfaceType.Smooth
  5908. Part642.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5909. Part642.Position = Vector3.new(134.399994, 20.2121735, -146.600006)
  5910. Part642.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5911. BlockMesh643.Parent = Part642
  5912. Model644.Name = "Walls"
  5913. Model644.Parent = Model638
  5914. Part645.Parent = Model644
  5915. Part645.BrickColor = BrickColor.new("Dark stone grey")
  5916. Part645.Anchored = true
  5917. Part645.FormFactor = Enum.FormFactor.Symmetric
  5918. Part645.Size = Vector3.new(6, 1, 1)
  5919. Part645.CFrame = CFrame.new(136.399979, 19.2121506, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5920. Part645.BottomSurface = Enum.SurfaceType.Smooth
  5921. Part645.TopSurface = Enum.SurfaceType.Smooth
  5922. Part645.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5923. Part645.Position = Vector3.new(136.399979, 19.2121506, -139.100006)
  5924. Part645.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5925. BlockMesh646.Parent = Part645
  5926. Part647.Parent = Model644
  5927. Part647.BrickColor = BrickColor.new("Dark stone grey")
  5928. Part647.Anchored = true
  5929. Part647.FormFactor = Enum.FormFactor.Symmetric
  5930. Part647.Size = Vector3.new(6, 10, 1)
  5931. Part647.CFrame = CFrame.new(130.399994, 14.7121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  5932. Part647.BottomSurface = Enum.SurfaceType.Smooth
  5933. Part647.TopSurface = Enum.SurfaceType.Smooth
  5934. Part647.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5935. Part647.Position = Vector3.new(130.399994, 14.7121296, -139.100006)
  5936. Part647.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5937. BlockMesh648.Parent = Part647
  5938. Part649.Parent = Model644
  5939. Part649.BrickColor = BrickColor.new("Dark stone grey")
  5940. Part649.Rotation = Vector3.new(-180, 0, -180)
  5941. Part649.Anchored = true
  5942. Part649.FormFactor = Enum.FormFactor.Symmetric
  5943. Part649.Size = Vector3.new(1, 10, 14)
  5944. Part649.CFrame = CFrame.new(127.899986, 14.7121296, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  5945. Part649.BottomSurface = Enum.SurfaceType.Smooth
  5946. Part649.TopSurface = Enum.SurfaceType.Smooth
  5947. Part649.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5948. Part649.Position = Vector3.new(127.899986, 14.7121296, -146.600006)
  5949. Part649.Orientation = Vector3.new(0, 180, 0)
  5950. Part649.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5951. BlockMesh650.Parent = Part649
  5952. Part651.Parent = Model644
  5953. Part651.BrickColor = BrickColor.new("Dark stone grey")
  5954. Part651.Rotation = Vector3.new(0, -90, 0)
  5955. Part651.Anchored = true
  5956. Part651.FormFactor = Enum.FormFactor.Symmetric
  5957. Part651.Size = Vector3.new(1, 10, 14)
  5958. Part651.CFrame = CFrame.new(134.399994, 14.7121296, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  5959. Part651.BottomSurface = Enum.SurfaceType.Smooth
  5960. Part651.TopSurface = Enum.SurfaceType.Smooth
  5961. Part651.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5962. Part651.Position = Vector3.new(134.399994, 14.7121296, -154.099976)
  5963. Part651.Orientation = Vector3.new(0, -90, 0)
  5964. Part651.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5965. BlockMesh652.Parent = Part651
  5966. Part653.Parent = Model644
  5967. Part653.BrickColor = BrickColor.new("Dark stone grey")
  5968. Part653.Rotation = Vector3.new(-180, 0, -180)
  5969. Part653.Anchored = true
  5970. Part653.FormFactor = Enum.FormFactor.Symmetric
  5971. Part653.Size = Vector3.new(1, 10, 14)
  5972. Part653.CFrame = CFrame.new(140.899979, 14.7121296, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  5973. Part653.BottomSurface = Enum.SurfaceType.Smooth
  5974. Part653.TopSurface = Enum.SurfaceType.Smooth
  5975. Part653.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5976. Part653.Position = Vector3.new(140.899979, 14.7121296, -146.600006)
  5977. Part653.Orientation = Vector3.new(0, 180, 0)
  5978. Part653.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5979. BlockMesh654.Parent = Part653
  5980. Part655.Parent = Model644
  5981. Part655.BrickColor = BrickColor.new("Dark stone grey")
  5982. Part655.Rotation = Vector3.new(0, 90, 0)
  5983. Part655.Anchored = true
  5984. Part655.FormFactor = Enum.FormFactor.Symmetric
  5985. Part655.Size = Vector3.new(1, 10, 2)
  5986. Part655.CFrame = CFrame.new(140.399979, 14.7121296, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5987. Part655.BottomSurface = Enum.SurfaceType.Smooth
  5988. Part655.TopSurface = Enum.SurfaceType.Smooth
  5989. Part655.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5990. Part655.Position = Vector3.new(140.399979, 14.7121296, -139.100006)
  5991. Part655.Orientation = Vector3.new(0, 90, 0)
  5992. Part655.Color = Color3.new(0.388235, 0.372549, 0.384314)
  5993. BlockMesh656.Parent = Part655
  5994. Model657.Name = "Floor"
  5995. Model657.Parent = Model638
  5996. Part658.Name = "Floor"
  5997. Part658.Parent = Model657
  5998. Part658.BrickColor = BrickColor.new("Brick yellow")
  5999. Part658.Anchored = true
  6000. Part658.FormFactor = Enum.FormFactor.Plate
  6001. Part658.Size = Vector3.new(12, 0.400000006, 14)
  6002. Part658.CFrame = CFrame.new(134.399994, 9.91214943, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6003. Part658.BottomSurface = Enum.SurfaceType.Smooth
  6004. Part658.TopSurface = Enum.SurfaceType.Smooth
  6005. Part658.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6006. Part658.Position = Vector3.new(134.399994, 9.91214943, -146.600006)
  6007. Part658.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6008. BlockMesh659.Parent = Part658
  6009. Part660.Name = "Floor"
  6010. Part660.Parent = Model657
  6011. Part660.BrickColor = BrickColor.new("Brick yellow")
  6012. Part660.Anchored = true
  6013. Part660.CanCollide = false
  6014. Part660.FormFactor = Enum.FormFactor.Plate
  6015. Part660.Size = Vector3.new(6, 0.400000006, 1)
  6016. Part660.CFrame = CFrame.new(136.399979, 10.3121414, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6017. Part660.BottomSurface = Enum.SurfaceType.Smooth
  6018. Part660.TopSurface = Enum.SurfaceType.Smooth
  6019. Part660.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6020. Part660.Position = Vector3.new(136.399979, 10.3121414, -140.100006)
  6021. Part660.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6022. BlockMesh661.Parent = Part660
  6023. BlockMesh661.Offset = Vector3.new(0, -0.400000006, 1)
  6024. Model662.Name = "Items"
  6025. Model662.Parent = Model637
  6026. Model663.Name = "Furnish"
  6027. Model663.Parent = Model662
  6028. Model664.Name = "Bed"
  6029. Model664.Parent = Model663
  6030. Part665.Name = "Pole"
  6031. Part665.Parent = Model664
  6032. Part665.BrickColor = BrickColor.new("Mid gray")
  6033. Part665.Reflectance = 0.15000000596046
  6034. Part665.Anchored = true
  6035. Part665.CanCollide = false
  6036. Part665.FormFactor = Enum.FormFactor.Symmetric
  6037. Part665.Size = Vector3.new(1, 5, 1)
  6038. Part665.CFrame = CFrame.new(128.899994, 12.612134, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6039. Part665.BottomSurface = Enum.SurfaceType.Smooth
  6040. Part665.TopSurface = Enum.SurfaceType.Smooth
  6041. Part665.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6042. Part665.Position = Vector3.new(128.899994, 12.612134, -140.100006)
  6043. Part665.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6044. CylinderMesh666.Parent = Part665
  6045. CylinderMesh666.Scale = Vector3.new(0.5, 1, 0.5)
  6046. CylinderMesh666.Scale = Vector3.new(0.5, 1, 0.5)
  6047. Part667.Name = "Pole"
  6048. Part667.Parent = Model664
  6049. Part667.BrickColor = BrickColor.new("Mid gray")
  6050. Part667.Reflectance = 0.15000000596046
  6051. Part667.Anchored = true
  6052. Part667.CanCollide = false
  6053. Part667.FormFactor = Enum.FormFactor.Symmetric
  6054. Part667.Size = Vector3.new(1, 5, 1)
  6055. Part667.CFrame = CFrame.new(128.899994, 12.612134, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6056. Part667.BottomSurface = Enum.SurfaceType.Smooth
  6057. Part667.TopSurface = Enum.SurfaceType.Smooth
  6058. Part667.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6059. Part667.Position = Vector3.new(128.899994, 12.612134, -147.100006)
  6060. Part667.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6061. CylinderMesh668.Parent = Part667
  6062. CylinderMesh668.Scale = Vector3.new(0.5, 1, 0.5)
  6063. CylinderMesh668.Scale = Vector3.new(0.5, 1, 0.5)
  6064. Part669.Name = "Pole"
  6065. Part669.Parent = Model664
  6066. Part669.BrickColor = BrickColor.new("Mid gray")
  6067. Part669.Reflectance = 0.15000000596046
  6068. Part669.Anchored = true
  6069. Part669.CanCollide = false
  6070. Part669.FormFactor = Enum.FormFactor.Symmetric
  6071. Part669.Size = Vector3.new(1, 5, 1)
  6072. Part669.CFrame = CFrame.new(132.899994, 12.612134, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6073. Part669.BottomSurface = Enum.SurfaceType.Smooth
  6074. Part669.TopSurface = Enum.SurfaceType.Smooth
  6075. Part669.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6076. Part669.Position = Vector3.new(132.899994, 12.612134, -147.100006)
  6077. Part669.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6078. CylinderMesh670.Parent = Part669
  6079. CylinderMesh670.Scale = Vector3.new(0.5, 1, 0.5)
  6080. CylinderMesh670.Scale = Vector3.new(0.5, 1, 0.5)
  6081. Part671.Name = "Pole"
  6082. Part671.Parent = Model664
  6083. Part671.BrickColor = BrickColor.new("Mid gray")
  6084. Part671.Reflectance = 0.15000000596046
  6085. Part671.Anchored = true
  6086. Part671.CanCollide = false
  6087. Part671.FormFactor = Enum.FormFactor.Symmetric
  6088. Part671.Size = Vector3.new(1, 5, 1)
  6089. Part671.CFrame = CFrame.new(132.899994, 12.612134, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6090. Part671.BottomSurface = Enum.SurfaceType.Smooth
  6091. Part671.TopSurface = Enum.SurfaceType.Smooth
  6092. Part671.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6093. Part671.Position = Vector3.new(132.899994, 12.612134, -140.100006)
  6094. Part671.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6095. CylinderMesh672.Parent = Part671
  6096. CylinderMesh672.Scale = Vector3.new(0.5, 1, 0.5)
  6097. CylinderMesh672.Scale = Vector3.new(0.5, 1, 0.5)
  6098. Part673.Parent = Model664
  6099. Part673.BrickColor = BrickColor.new("Institutional white")
  6100. Part673.Rotation = Vector3.new(-180, 0, -180)
  6101. Part673.Anchored = true
  6102. Part673.FormFactor = Enum.FormFactor.Symmetric
  6103. Part673.Size = Vector3.new(3, 1, 6)
  6104. Part673.CFrame = CFrame.new(130.899994, 13.8121376, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6105. Part673.BottomSurface = Enum.SurfaceType.Smooth
  6106. Part673.TopSurface = Enum.SurfaceType.Smooth
  6107. Part673.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6108. Part673.Position = Vector3.new(130.899994, 13.8121376, -143.600006)
  6109. Part673.Orientation = Vector3.new(0, 180, 0)
  6110. Part673.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6111. BlockMesh674.Parent = Part673
  6112. BlockMesh674.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  6113. BlockMesh674.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  6114. Part675.Parent = Model664
  6115. Part675.BrickColor = BrickColor.new("Institutional white")
  6116. Part675.Rotation = Vector3.new(-180, 0, -180)
  6117. Part675.Anchored = true
  6118. Part675.FormFactor = Enum.FormFactor.Symmetric
  6119. Part675.Size = Vector3.new(3, 1, 6)
  6120. Part675.CFrame = CFrame.new(130.899994, 10.6121454, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6121. Part675.BottomSurface = Enum.SurfaceType.Smooth
  6122. Part675.TopSurface = Enum.SurfaceType.Smooth
  6123. Part675.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6124. Part675.Position = Vector3.new(130.899994, 10.6121454, -143.600006)
  6125. Part675.Orientation = Vector3.new(0, 180, 0)
  6126. Part675.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6127. BlockMesh676.Parent = Part675
  6128. BlockMesh676.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  6129. BlockMesh676.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  6130. Model677.Name = "Toilet"
  6131. Model677.Parent = Model663
  6132. Part678.Parent = Model677
  6133. Part678.BrickColor = BrickColor.new("Mid gray")
  6134. Part678.Rotation = Vector3.new(0, -90, 0)
  6135. Part678.Anchored = true
  6136. Part678.FormFactor = Enum.FormFactor.Symmetric
  6137. Part678.Size = Vector3.new(2, 3, 1)
  6138. Part678.CFrame = CFrame.new(128.899994, 12.612134, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  6139. Part678.BottomSurface = Enum.SurfaceType.Smooth
  6140. Part678.TopSurface = Enum.SurfaceType.Smooth
  6141. Part678.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6142. Part678.Position = Vector3.new(128.899994, 12.612134, -150.599976)
  6143. Part678.Orientation = Vector3.new(0, -90, 0)
  6144. Part678.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6145. BlockMesh679.Parent = Part678
  6146. BlockMesh679.Scale = Vector3.new(1.5, 1, 1)
  6147. BlockMesh679.Scale = Vector3.new(1.5, 1, 1)
  6148. Part680.Parent = Model677
  6149. Part680.BrickColor = BrickColor.new("Mid gray")
  6150. Part680.Rotation = Vector3.new(0, -90, 0)
  6151. Part680.Anchored = true
  6152. Part680.FormFactor = Enum.FormFactor.Symmetric
  6153. Part680.Size = Vector3.new(2, 1, 3)
  6154. Part680.CFrame = CFrame.new(129.899994, 10.6121454, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  6155. Part680.BottomSurface = Enum.SurfaceType.Smooth
  6156. Part680.TopSurface = Enum.SurfaceType.Smooth
  6157. Part680.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6158. Part680.Position = Vector3.new(129.899994, 10.6121454, -150.599976)
  6159. Part680.Orientation = Vector3.new(0, -90, 0)
  6160. Part680.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6161. BlockMesh681.Parent = Part680
  6162. Part682.Parent = Model677
  6163. Part682.BrickColor = BrickColor.new("Light stone grey")
  6164. Part682.Rotation = Vector3.new(0, -90, 0)
  6165. Part682.Anchored = true
  6166. Part682.FormFactor = Enum.FormFactor.Plate
  6167. Part682.Size = Vector3.new(2, 0.400000006, 2)
  6168. Part682.CFrame = CFrame.new(130.399994, 11.3121271, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  6169. Part682.BottomSurface = Enum.SurfaceType.Smooth
  6170. Part682.TopSurface = Enum.SurfaceType.Smooth
  6171. Part682.Color = Color3.new(0.898039, 0.894118, 0.87451)
  6172. Part682.Position = Vector3.new(130.399994, 11.3121271, -150.599976)
  6173. Part682.Orientation = Vector3.new(0, -90, 0)
  6174. Part682.Color = Color3.new(0.898039, 0.894118, 0.87451)
  6175. SpecialMesh683.Parent = Part682
  6176. SpecialMesh683.Scale = Vector3.new(1.5, 2, 2)
  6177. SpecialMesh683.MeshType = Enum.MeshType.Sphere
  6178. SpecialMesh683.Scale = Vector3.new(1.5, 2, 2)
  6179. Part684.Name = "Pole"
  6180. Part684.Parent = Model663
  6181. Part684.BrickColor = BrickColor.new("Mid gray")
  6182. Part684.Reflectance = 0.15000000596046
  6183. Part684.Rotation = Vector3.new(0, 0, -90)
  6184. Part684.Anchored = true
  6185. Part684.CanCollide = false
  6186. Part684.FormFactor = Enum.FormFactor.Symmetric
  6187. Part684.Size = Vector3.new(1, 12, 1)
  6188. Part684.CFrame = CFrame.new(134.399994, 13.612134, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  6189. Part684.BottomSurface = Enum.SurfaceType.Smooth
  6190. Part684.TopSurface = Enum.SurfaceType.Smooth
  6191. Part684.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6192. Part684.Position = Vector3.new(134.399994, 13.612134, -153.099976)
  6193. Part684.Orientation = Vector3.new(0, 0, -90)
  6194. Part684.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6195. CylinderMesh685.Parent = Part684
  6196. CylinderMesh685.Scale = Vector3.new(0.5, 1, 0.5)
  6197. CylinderMesh685.Scale = Vector3.new(0.5, 1, 0.5)
  6198. Model686.Name = "Functions"
  6199. Model686.Parent = Model662
  6200. Model687.Name = "Light"
  6201. Model687.Parent = Model686
  6202. Part688.Name = "Lightbulb"
  6203. Part688.Parent = Model687
  6204. Part688.Transparency = 0.5
  6205. Part688.Rotation = Vector3.new(180, 90, 0)
  6206. Part688.Anchored = true
  6207. Part688.CanCollide = false
  6208. Part688.FormFactor = Enum.FormFactor.Symmetric
  6209. Part688.Size = Vector3.new(2, 1, 2)
  6210. Part688.CFrame = CFrame.new(134.399994, 18.8121567, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  6211. Part688.BackSurface = Enum.SurfaceType.Weld
  6212. Part688.BottomSurface = Enum.SurfaceType.Weld
  6213. Part688.FrontSurface = Enum.SurfaceType.Weld
  6214. Part688.LeftSurface = Enum.SurfaceType.Weld
  6215. Part688.RightSurface = Enum.SurfaceType.Weld
  6216. Part688.TopSurface = Enum.SurfaceType.Weld
  6217. Part688.Position = Vector3.new(134.399994, 18.8121567, -146.600006)
  6218. Part688.Orientation = Vector3.new(0, 90, 180)
  6219. SpecialMesh689.Parent = Part688
  6220. SpecialMesh689.MeshId = "http://www.roblox.com/asset/?id=1376459"
  6221. SpecialMesh689.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  6222. SpecialMesh689.TextureId = "http://www.roblox.com/asset/?id=1376456"
  6223. SpecialMesh689.MeshType = Enum.MeshType.FileMesh
  6224. SpecialMesh689.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  6225. Part690.Name = "Light"
  6226. Part690.Parent = Model687
  6227. Part690.BrickColor = BrickColor.new("Cool yellow")
  6228. Part690.Transparency = 1
  6229. Part690.Anchored = true
  6230. Part690.CanCollide = false
  6231. Part690.FormFactor = Enum.FormFactor.Symmetric
  6232. Part690.Size = Vector3.new(2, 8, 2)
  6233. Part690.CFrame = CFrame.new(134.399994, 14.3121271, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6234. Part690.Color = Color3.new(0.992157, 0.917647, 0.552941)
  6235. Part690.Position = Vector3.new(134.399994, 14.3121271, -146.600006)
  6236. Part690.Color = Color3.new(0.992157, 0.917647, 0.552941)
  6237. SpecialMesh691.Parent = Part690
  6238. SpecialMesh691.MeshId = "http://www.roblox.com/asset/?id=1033714"
  6239. SpecialMesh691.Scale = Vector3.new(7, 13, 7)
  6240. SpecialMesh691.MeshType = Enum.MeshType.FileMesh
  6241. SpecialMesh691.Scale = Vector3.new(7, 13, 7)
  6242. Script692.Name = "Function"
  6243. Script692.Parent = Model687
  6244. table.insert(cors,sandbox(Script692,function()
  6245. local on = false
  6246.  
  6247. function check()
  6248. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  6249. if ((n > 6) and (n < 18)) then
  6250. if (on) then
  6251. on = false
  6252. wait(math.random()*5)
  6253. for i = 1,5 do
  6254. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  6255. wait()
  6256. end
  6257. script.Parent.Light.Transparency = 1
  6258. end
  6259. elseif not (on) then
  6260. on = true
  6261. wait(math.random()*5)
  6262. for i = 1,5 do
  6263. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  6264. wait()
  6265. end
  6266. script.Parent.Light.Transparency = 0.5
  6267. end
  6268. end
  6269.  
  6270. game.Lighting.LightingChanged:connect(check)
  6271. check()
  6272. end))
  6273. Part693.Name = "LightSocket"
  6274. Part693.Parent = Model687
  6275. Part693.BrickColor = BrickColor.new("Dark stone grey")
  6276. Part693.Anchored = true
  6277. Part693.FormFactor = Enum.FormFactor.Symmetric
  6278. Part693.Size = Vector3.new(2, 1, 2)
  6279. Part693.CFrame = CFrame.new(134.399994, 18.8121567, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6280. Part693.BottomSurface = Enum.SurfaceType.Smooth
  6281. Part693.TopSurface = Enum.SurfaceType.Smooth
  6282. Part693.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6283. Part693.Position = Vector3.new(134.399994, 18.8121567, -146.600006)
  6284. Part693.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6285. CylinderMesh694.Parent = Part693
  6286. CylinderMesh694.Offset = Vector3.new(0, 0.600000024, 0)
  6287. CylinderMesh694.Scale = Vector3.new(1, 0.5, 1)
  6288. CylinderMesh694.Scale = Vector3.new(1, 0.5, 1)
  6289. Model695.Name = "Door"
  6290. Model695.Parent = Model637
  6291. Part696.Name = "Bar"
  6292. Part696.Parent = Model695
  6293. Part696.Reflectance = 0.15000000596046
  6294. Part696.Anchored = true
  6295. Part696.FormFactor = Enum.FormFactor.Symmetric
  6296. Part696.Size = Vector3.new(1, 9, 1)
  6297. Part696.CFrame = CFrame.new(138.899979, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6298. Part696.BottomSurface = Enum.SurfaceType.Smooth
  6299. Part696.TopSurface = Enum.SurfaceType.Smooth
  6300. Part696.Position = Vector3.new(138.899979, 14.2121296, -139.100006)
  6301. CylinderMesh697.Parent = Part696
  6302. CylinderMesh697.Scale = Vector3.new(0.5, 1, 1)
  6303. CylinderMesh697.Scale = Vector3.new(0.5, 1, 1)
  6304. Part698.Name = "Bar"
  6305. Part698.Parent = Model695
  6306. Part698.Reflectance = 0.15000000596046
  6307. Part698.Anchored = true
  6308. Part698.FormFactor = Enum.FormFactor.Symmetric
  6309. Part698.Size = Vector3.new(1, 9, 1)
  6310. Part698.CFrame = CFrame.new(137.899963, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6311. Part698.BottomSurface = Enum.SurfaceType.Smooth
  6312. Part698.TopSurface = Enum.SurfaceType.Smooth
  6313. Part698.Position = Vector3.new(137.899963, 14.2121296, -139.100006)
  6314. CylinderMesh699.Parent = Part698
  6315. CylinderMesh699.Scale = Vector3.new(0.5, 1, 1)
  6316. CylinderMesh699.Scale = Vector3.new(0.5, 1, 1)
  6317. Part700.Name = "Bar"
  6318. Part700.Parent = Model695
  6319. Part700.Reflectance = 0.15000000596046
  6320. Part700.Anchored = true
  6321. Part700.FormFactor = Enum.FormFactor.Symmetric
  6322. Part700.Size = Vector3.new(1, 9, 1)
  6323. Part700.CFrame = CFrame.new(136.899979, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6324. Part700.BottomSurface = Enum.SurfaceType.Smooth
  6325. Part700.TopSurface = Enum.SurfaceType.Smooth
  6326. Part700.Position = Vector3.new(136.899979, 14.2121296, -139.100006)
  6327. CylinderMesh701.Parent = Part700
  6328. CylinderMesh701.Scale = Vector3.new(0.5, 1, 1)
  6329. CylinderMesh701.Scale = Vector3.new(0.5, 1, 1)
  6330. Part702.Name = "Bar"
  6331. Part702.Parent = Model695
  6332. Part702.Reflectance = 0.15000000596046
  6333. Part702.Anchored = true
  6334. Part702.FormFactor = Enum.FormFactor.Symmetric
  6335. Part702.Size = Vector3.new(1, 9, 1)
  6336. Part702.CFrame = CFrame.new(135.899979, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6337. Part702.BottomSurface = Enum.SurfaceType.Smooth
  6338. Part702.TopSurface = Enum.SurfaceType.Smooth
  6339. Part702.Position = Vector3.new(135.899979, 14.2121296, -139.100006)
  6340. CylinderMesh703.Parent = Part702
  6341. CylinderMesh703.Scale = Vector3.new(0.5, 1, 1)
  6342. CylinderMesh703.Scale = Vector3.new(0.5, 1, 1)
  6343. Part704.Name = "Bar"
  6344. Part704.Parent = Model695
  6345. Part704.Reflectance = 0.15000000596046
  6346. Part704.Anchored = true
  6347. Part704.FormFactor = Enum.FormFactor.Symmetric
  6348. Part704.Size = Vector3.new(1, 9, 1)
  6349. Part704.CFrame = CFrame.new(134.899994, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6350. Part704.BottomSurface = Enum.SurfaceType.Smooth
  6351. Part704.TopSurface = Enum.SurfaceType.Smooth
  6352. Part704.Position = Vector3.new(134.899994, 14.2121296, -139.100006)
  6353. CylinderMesh705.Parent = Part704
  6354. CylinderMesh705.Scale = Vector3.new(0.5, 1, 1)
  6355. CylinderMesh705.Scale = Vector3.new(0.5, 1, 1)
  6356. Part706.Name = "Bar"
  6357. Part706.Parent = Model695
  6358. Part706.Reflectance = 0.15000000596046
  6359. Part706.Anchored = true
  6360. Part706.FormFactor = Enum.FormFactor.Symmetric
  6361. Part706.Size = Vector3.new(1, 9, 1)
  6362. Part706.CFrame = CFrame.new(133.899994, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6363. Part706.BottomSurface = Enum.SurfaceType.Smooth
  6364. Part706.TopSurface = Enum.SurfaceType.Smooth
  6365. Part706.Position = Vector3.new(133.899994, 14.2121296, -139.100006)
  6366. CylinderMesh707.Parent = Part706
  6367. CylinderMesh707.Scale = Vector3.new(0.5, 1, 1)
  6368. CylinderMesh707.Scale = Vector3.new(0.5, 1, 1)
  6369. Script708.Name = "Main"
  6370. Script708.Parent = Model695
  6371. table.insert(cors,sandbox(Script708,function()
  6372. local _items = {}
  6373.  
  6374. local door = -1
  6375. -- -1 = Closed
  6376. -- 0 = Active
  6377. -- 1 = Open
  6378.  
  6379. function getItems()
  6380. for _,v in pairs(script.Parent:GetChildren()) do
  6381. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  6382. table.insert(_items,v)
  6383. end
  6384. end
  6385. end
  6386.  
  6387. function main()
  6388. local d = door
  6389. door = 0
  6390. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  6391. for i = 0,5,0.05 do
  6392. for _,v in pairs(_items) do
  6393. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  6394. end
  6395. wait()
  6396. end
  6397. if (d == (-1)) then
  6398. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  6399. elseif (d == 1) then
  6400. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  6401. end
  6402. door = d
  6403. end
  6404.  
  6405. script.Parent.Button.Click.MouseClick:connect(function()
  6406. if (door == 0) then return end
  6407. door = (door*(-1))
  6408. main()
  6409. end)
  6410.  
  6411. getItems()
  6412. end))
  6413. Part709.Name = "Button"
  6414. Part709.Parent = Model695
  6415. Part709.BrickColor = BrickColor.new("Really red")
  6416. Part709.Reflectance = 0.20000000298023
  6417. Part709.Transparency = 0.5
  6418. Part709.Rotation = Vector3.new(90, 0, -180)
  6419. Part709.Anchored = true
  6420. Part709.FormFactor = Enum.FormFactor.Plate
  6421. Part709.Size = Vector3.new(1, 0.400000006, 1)
  6422. Part709.CFrame = CFrame.new(131.899994, 14.2121134, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  6423. Part709.BottomSurface = Enum.SurfaceType.Smooth
  6424. Part709.TopSurface = Enum.SurfaceType.Smooth
  6425. Part709.Color = Color3.new(1, 0, 0)
  6426. Part709.Position = Vector3.new(131.899994, 14.2121134, -138.399994)
  6427. Part709.Orientation = Vector3.new(90, 180, 0)
  6428. Part709.Color = Color3.new(1, 0, 0)
  6429. BlockMesh710.Parent = Part709
  6430. CylinderMesh711.Parent = Part709
  6431. CylinderMesh711.Offset = Vector3.new(0, 0.150000006, 0)
  6432. CylinderMesh711.Scale = Vector3.new(1, 0.200000003, 1)
  6433. CylinderMesh711.Scale = Vector3.new(1, 0.200000003, 1)
  6434. ClickDetector712.Name = "Click"
  6435. ClickDetector712.Parent = Part709
  6436. Model713.Parent = Model1
  6437. Model714.Name = "PrisonCell"
  6438. Model714.Parent = Model713
  6439. Model715.Name = "Exterior"
  6440. Model715.Parent = Model714
  6441. Model716.Name = "Top"
  6442. Model716.Parent = Model715
  6443. Part717.Name = "Ceiling"
  6444. Part717.Parent = Model716
  6445. Part717.BrickColor = BrickColor.new("Brick yellow")
  6446. Part717.Anchored = true
  6447. Part717.FormFactor = Enum.FormFactor.Plate
  6448. Part717.Size = Vector3.new(12, 0.400000006, 14)
  6449. Part717.CFrame = CFrame.new(148.399994, 19.3122559, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6450. Part717.BottomSurface = Enum.SurfaceType.Smooth
  6451. Part717.TopSurface = Enum.SurfaceType.Smooth
  6452. Part717.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6453. Part717.Position = Vector3.new(148.399994, 19.3122559, -146.600006)
  6454. Part717.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6455. BlockMesh718.Parent = Part717
  6456. Part719.Name = "Top"
  6457. Part719.Parent = Model716
  6458. Part719.BrickColor = BrickColor.new("Dark stone grey")
  6459. Part719.Anchored = true
  6460. Part719.FormFactor = Enum.FormFactor.Symmetric
  6461. Part719.Size = Vector3.new(14, 1, 16)
  6462. Part719.CFrame = CFrame.new(148.399994, 20.0122395, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6463. Part719.BottomSurface = Enum.SurfaceType.Smooth
  6464. Part719.TopSurface = Enum.SurfaceType.Smooth
  6465. Part719.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6466. Part719.Position = Vector3.new(148.399994, 20.0122395, -146.600006)
  6467. Part719.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6468. BlockMesh720.Parent = Part719
  6469. Model721.Name = "Walls"
  6470. Model721.Parent = Model715
  6471. Part722.Parent = Model721
  6472. Part722.BrickColor = BrickColor.new("Dark stone grey")
  6473. Part722.Anchored = true
  6474. Part722.FormFactor = Enum.FormFactor.Symmetric
  6475. Part722.Size = Vector3.new(6, 1, 1)
  6476. Part722.CFrame = CFrame.new(150.399994, 19.0122185, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6477. Part722.BottomSurface = Enum.SurfaceType.Smooth
  6478. Part722.TopSurface = Enum.SurfaceType.Smooth
  6479. Part722.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6480. Part722.Position = Vector3.new(150.399994, 19.0122185, -139.100006)
  6481. Part722.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6482. BlockMesh723.Parent = Part722
  6483. Part724.Parent = Model721
  6484. Part724.BrickColor = BrickColor.new("Dark stone grey")
  6485. Part724.Anchored = true
  6486. Part724.FormFactor = Enum.FormFactor.Symmetric
  6487. Part724.Size = Vector3.new(6, 10, 1)
  6488. Part724.CFrame = CFrame.new(144.399994, 14.5121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6489. Part724.BottomSurface = Enum.SurfaceType.Smooth
  6490. Part724.TopSurface = Enum.SurfaceType.Smooth
  6491. Part724.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6492. Part724.Position = Vector3.new(144.399994, 14.5121956, -139.100006)
  6493. Part724.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6494. BlockMesh725.Parent = Part724
  6495. Part726.Parent = Model721
  6496. Part726.BrickColor = BrickColor.new("Dark stone grey")
  6497. Part726.Rotation = Vector3.new(-180, 0, -180)
  6498. Part726.Anchored = true
  6499. Part726.FormFactor = Enum.FormFactor.Symmetric
  6500. Part726.Size = Vector3.new(1, 10, 14)
  6501. Part726.CFrame = CFrame.new(141.899979, 14.5121956, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6502. Part726.BottomSurface = Enum.SurfaceType.Smooth
  6503. Part726.TopSurface = Enum.SurfaceType.Smooth
  6504. Part726.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6505. Part726.Position = Vector3.new(141.899979, 14.5121956, -146.600006)
  6506. Part726.Orientation = Vector3.new(0, 180, 0)
  6507. Part726.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6508. BlockMesh727.Parent = Part726
  6509. Part728.Parent = Model721
  6510. Part728.BrickColor = BrickColor.new("Dark stone grey")
  6511. Part728.Rotation = Vector3.new(0, -90, 0)
  6512. Part728.Anchored = true
  6513. Part728.FormFactor = Enum.FormFactor.Symmetric
  6514. Part728.Size = Vector3.new(1, 10, 14)
  6515. Part728.CFrame = CFrame.new(148.399994, 14.5121956, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  6516. Part728.BottomSurface = Enum.SurfaceType.Smooth
  6517. Part728.TopSurface = Enum.SurfaceType.Smooth
  6518. Part728.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6519. Part728.Position = Vector3.new(148.399994, 14.5121956, -154.099976)
  6520. Part728.Orientation = Vector3.new(0, -90, 0)
  6521. Part728.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6522. BlockMesh729.Parent = Part728
  6523. Part730.Parent = Model721
  6524. Part730.BrickColor = BrickColor.new("Dark stone grey")
  6525. Part730.Rotation = Vector3.new(-180, 0, -180)
  6526. Part730.Anchored = true
  6527. Part730.FormFactor = Enum.FormFactor.Symmetric
  6528. Part730.Size = Vector3.new(1, 10, 14)
  6529. Part730.CFrame = CFrame.new(154.899979, 14.5121956, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6530. Part730.BottomSurface = Enum.SurfaceType.Smooth
  6531. Part730.TopSurface = Enum.SurfaceType.Smooth
  6532. Part730.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6533. Part730.Position = Vector3.new(154.899979, 14.5121956, -146.600006)
  6534. Part730.Orientation = Vector3.new(0, 180, 0)
  6535. Part730.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6536. BlockMesh731.Parent = Part730
  6537. Part732.Parent = Model721
  6538. Part732.BrickColor = BrickColor.new("Dark stone grey")
  6539. Part732.Rotation = Vector3.new(0, 90, 0)
  6540. Part732.Anchored = true
  6541. Part732.FormFactor = Enum.FormFactor.Symmetric
  6542. Part732.Size = Vector3.new(1, 10, 2)
  6543. Part732.CFrame = CFrame.new(154.399979, 14.5121956, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  6544. Part732.BottomSurface = Enum.SurfaceType.Smooth
  6545. Part732.TopSurface = Enum.SurfaceType.Smooth
  6546. Part732.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6547. Part732.Position = Vector3.new(154.399979, 14.5121956, -139.100006)
  6548. Part732.Orientation = Vector3.new(0, 90, 0)
  6549. Part732.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6550. BlockMesh733.Parent = Part732
  6551. Model734.Name = "Floor"
  6552. Model734.Parent = Model715
  6553. Part735.Name = "Floor"
  6554. Part735.Parent = Model734
  6555. Part735.BrickColor = BrickColor.new("Brick yellow")
  6556. Part735.Anchored = true
  6557. Part735.FormFactor = Enum.FormFactor.Plate
  6558. Part735.Size = Vector3.new(12, 0.400000006, 14)
  6559. Part735.CFrame = CFrame.new(148.399994, 9.71221161, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6560. Part735.BottomSurface = Enum.SurfaceType.Smooth
  6561. Part735.TopSurface = Enum.SurfaceType.Smooth
  6562. Part735.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6563. Part735.Position = Vector3.new(148.399994, 9.71221161, -146.600006)
  6564. Part735.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6565. BlockMesh736.Parent = Part735
  6566. Part737.Name = "Floor"
  6567. Part737.Parent = Model734
  6568. Part737.BrickColor = BrickColor.new("Brick yellow")
  6569. Part737.Anchored = true
  6570. Part737.CanCollide = false
  6571. Part737.FormFactor = Enum.FormFactor.Plate
  6572. Part737.Size = Vector3.new(6, 0.400000006, 1)
  6573. Part737.CFrame = CFrame.new(150.399994, 10.1122036, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6574. Part737.BottomSurface = Enum.SurfaceType.Smooth
  6575. Part737.TopSurface = Enum.SurfaceType.Smooth
  6576. Part737.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6577. Part737.Position = Vector3.new(150.399994, 10.1122036, -140.100006)
  6578. Part737.Color = Color3.new(0.843137, 0.772549, 0.603922)
  6579. BlockMesh738.Parent = Part737
  6580. BlockMesh738.Offset = Vector3.new(0, -0.400000006, 1)
  6581. Model739.Name = "Items"
  6582. Model739.Parent = Model714
  6583. Model740.Name = "Furnish"
  6584. Model740.Parent = Model739
  6585. Model741.Name = "Bed"
  6586. Model741.Parent = Model740
  6587. Part742.Name = "Pole"
  6588. Part742.Parent = Model741
  6589. Part742.BrickColor = BrickColor.new("Mid gray")
  6590. Part742.Reflectance = 0.15000000596046
  6591. Part742.Anchored = true
  6592. Part742.CanCollide = false
  6593. Part742.FormFactor = Enum.FormFactor.Symmetric
  6594. Part742.Size = Vector3.new(1, 5, 1)
  6595. Part742.CFrame = CFrame.new(142.899994, 12.4121876, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6596. Part742.BottomSurface = Enum.SurfaceType.Smooth
  6597. Part742.TopSurface = Enum.SurfaceType.Smooth
  6598. Part742.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6599. Part742.Position = Vector3.new(142.899994, 12.4121876, -140.100006)
  6600. Part742.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6601. CylinderMesh743.Parent = Part742
  6602. CylinderMesh743.Scale = Vector3.new(0.5, 1, 0.5)
  6603. CylinderMesh743.Scale = Vector3.new(0.5, 1, 0.5)
  6604. Part744.Name = "Pole"
  6605. Part744.Parent = Model741
  6606. Part744.BrickColor = BrickColor.new("Mid gray")
  6607. Part744.Reflectance = 0.15000000596046
  6608. Part744.Anchored = true
  6609. Part744.CanCollide = false
  6610. Part744.FormFactor = Enum.FormFactor.Symmetric
  6611. Part744.Size = Vector3.new(1, 5, 1)
  6612. Part744.CFrame = CFrame.new(142.899994, 12.4121876, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6613. Part744.BottomSurface = Enum.SurfaceType.Smooth
  6614. Part744.TopSurface = Enum.SurfaceType.Smooth
  6615. Part744.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6616. Part744.Position = Vector3.new(142.899994, 12.4121876, -147.100006)
  6617. Part744.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6618. CylinderMesh745.Parent = Part744
  6619. CylinderMesh745.Scale = Vector3.new(0.5, 1, 0.5)
  6620. CylinderMesh745.Scale = Vector3.new(0.5, 1, 0.5)
  6621. Part746.Name = "Pole"
  6622. Part746.Parent = Model741
  6623. Part746.BrickColor = BrickColor.new("Mid gray")
  6624. Part746.Reflectance = 0.15000000596046
  6625. Part746.Anchored = true
  6626. Part746.CanCollide = false
  6627. Part746.FormFactor = Enum.FormFactor.Symmetric
  6628. Part746.Size = Vector3.new(1, 5, 1)
  6629. Part746.CFrame = CFrame.new(146.899979, 12.4121876, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6630. Part746.BottomSurface = Enum.SurfaceType.Smooth
  6631. Part746.TopSurface = Enum.SurfaceType.Smooth
  6632. Part746.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6633. Part746.Position = Vector3.new(146.899979, 12.4121876, -147.100006)
  6634. Part746.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6635. CylinderMesh747.Parent = Part746
  6636. CylinderMesh747.Scale = Vector3.new(0.5, 1, 0.5)
  6637. CylinderMesh747.Scale = Vector3.new(0.5, 1, 0.5)
  6638. Part748.Name = "Pole"
  6639. Part748.Parent = Model741
  6640. Part748.BrickColor = BrickColor.new("Mid gray")
  6641. Part748.Reflectance = 0.15000000596046
  6642. Part748.Anchored = true
  6643. Part748.CanCollide = false
  6644. Part748.FormFactor = Enum.FormFactor.Symmetric
  6645. Part748.Size = Vector3.new(1, 5, 1)
  6646. Part748.CFrame = CFrame.new(146.899979, 12.4121876, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6647. Part748.BottomSurface = Enum.SurfaceType.Smooth
  6648. Part748.TopSurface = Enum.SurfaceType.Smooth
  6649. Part748.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6650. Part748.Position = Vector3.new(146.899979, 12.4121876, -140.100006)
  6651. Part748.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6652. CylinderMesh749.Parent = Part748
  6653. CylinderMesh749.Scale = Vector3.new(0.5, 1, 0.5)
  6654. CylinderMesh749.Scale = Vector3.new(0.5, 1, 0.5)
  6655. Part750.Parent = Model741
  6656. Part750.BrickColor = BrickColor.new("Institutional white")
  6657. Part750.Rotation = Vector3.new(-180, 0, -180)
  6658. Part750.Anchored = true
  6659. Part750.FormFactor = Enum.FormFactor.Symmetric
  6660. Part750.Size = Vector3.new(3, 1, 6)
  6661. Part750.CFrame = CFrame.new(144.899994, 13.6121931, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6662. Part750.BottomSurface = Enum.SurfaceType.Smooth
  6663. Part750.TopSurface = Enum.SurfaceType.Smooth
  6664. Part750.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6665. Part750.Position = Vector3.new(144.899994, 13.6121931, -143.600006)
  6666. Part750.Orientation = Vector3.new(0, 180, 0)
  6667. Part750.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6668. BlockMesh751.Parent = Part750
  6669. BlockMesh751.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  6670. BlockMesh751.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  6671. Part752.Parent = Model741
  6672. Part752.BrickColor = BrickColor.new("Institutional white")
  6673. Part752.Rotation = Vector3.new(-180, 0, -180)
  6674. Part752.Anchored = true
  6675. Part752.FormFactor = Enum.FormFactor.Symmetric
  6676. Part752.Size = Vector3.new(3, 1, 6)
  6677. Part752.CFrame = CFrame.new(144.899994, 10.4122095, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  6678. Part752.BottomSurface = Enum.SurfaceType.Smooth
  6679. Part752.TopSurface = Enum.SurfaceType.Smooth
  6680. Part752.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6681. Part752.Position = Vector3.new(144.899994, 10.4122095, -143.600006)
  6682. Part752.Orientation = Vector3.new(0, 180, 0)
  6683. Part752.Color = Color3.new(0.972549, 0.972549, 0.972549)
  6684. BlockMesh753.Parent = Part752
  6685. BlockMesh753.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  6686. BlockMesh753.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  6687. Model754.Name = "Toilet"
  6688. Model754.Parent = Model740
  6689. Part755.Parent = Model754
  6690. Part755.BrickColor = BrickColor.new("Mid gray")
  6691. Part755.Rotation = Vector3.new(0, -90, 0)
  6692. Part755.Anchored = true
  6693. Part755.FormFactor = Enum.FormFactor.Symmetric
  6694. Part755.Size = Vector3.new(2, 3, 1)
  6695. Part755.CFrame = CFrame.new(142.899994, 12.4121876, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  6696. Part755.BottomSurface = Enum.SurfaceType.Smooth
  6697. Part755.TopSurface = Enum.SurfaceType.Smooth
  6698. Part755.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6699. Part755.Position = Vector3.new(142.899994, 12.4121876, -150.599976)
  6700. Part755.Orientation = Vector3.new(0, -90, 0)
  6701. Part755.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6702. BlockMesh756.Parent = Part755
  6703. BlockMesh756.Scale = Vector3.new(1.5, 1, 1)
  6704. BlockMesh756.Scale = Vector3.new(1.5, 1, 1)
  6705. Part757.Parent = Model754
  6706. Part757.BrickColor = BrickColor.new("Mid gray")
  6707. Part757.Rotation = Vector3.new(0, -90, 0)
  6708. Part757.Anchored = true
  6709. Part757.FormFactor = Enum.FormFactor.Symmetric
  6710. Part757.Size = Vector3.new(2, 1, 3)
  6711. Part757.CFrame = CFrame.new(143.899994, 10.4122095, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  6712. Part757.BottomSurface = Enum.SurfaceType.Smooth
  6713. Part757.TopSurface = Enum.SurfaceType.Smooth
  6714. Part757.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6715. Part757.Position = Vector3.new(143.899994, 10.4122095, -150.599976)
  6716. Part757.Orientation = Vector3.new(0, -90, 0)
  6717. Part757.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6718. BlockMesh758.Parent = Part757
  6719. Part759.Parent = Model754
  6720. Part759.BrickColor = BrickColor.new("Light stone grey")
  6721. Part759.Rotation = Vector3.new(0, -90, 0)
  6722. Part759.Anchored = true
  6723. Part759.FormFactor = Enum.FormFactor.Plate
  6724. Part759.Size = Vector3.new(2, 0.400000006, 2)
  6725. Part759.CFrame = CFrame.new(144.399994, 11.1121874, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  6726. Part759.BottomSurface = Enum.SurfaceType.Smooth
  6727. Part759.TopSurface = Enum.SurfaceType.Smooth
  6728. Part759.Color = Color3.new(0.898039, 0.894118, 0.87451)
  6729. Part759.Position = Vector3.new(144.399994, 11.1121874, -150.599976)
  6730. Part759.Orientation = Vector3.new(0, -90, 0)
  6731. Part759.Color = Color3.new(0.898039, 0.894118, 0.87451)
  6732. SpecialMesh760.Parent = Part759
  6733. SpecialMesh760.Scale = Vector3.new(1.5, 2, 2)
  6734. SpecialMesh760.MeshType = Enum.MeshType.Sphere
  6735. SpecialMesh760.Scale = Vector3.new(1.5, 2, 2)
  6736. Part761.Name = "Pole"
  6737. Part761.Parent = Model740
  6738. Part761.BrickColor = BrickColor.new("Mid gray")
  6739. Part761.Reflectance = 0.15000000596046
  6740. Part761.Rotation = Vector3.new(0, 0, -90)
  6741. Part761.Anchored = true
  6742. Part761.CanCollide = false
  6743. Part761.FormFactor = Enum.FormFactor.Symmetric
  6744. Part761.Size = Vector3.new(1, 12, 1)
  6745. Part761.CFrame = CFrame.new(148.399994, 13.4121971, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  6746. Part761.BottomSurface = Enum.SurfaceType.Smooth
  6747. Part761.TopSurface = Enum.SurfaceType.Smooth
  6748. Part761.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6749. Part761.Position = Vector3.new(148.399994, 13.4121971, -153.099976)
  6750. Part761.Orientation = Vector3.new(0, 0, -90)
  6751. Part761.Color = Color3.new(0.803922, 0.803922, 0.803922)
  6752. CylinderMesh762.Parent = Part761
  6753. CylinderMesh762.Scale = Vector3.new(0.5, 1, 0.5)
  6754. CylinderMesh762.Scale = Vector3.new(0.5, 1, 0.5)
  6755. Model763.Name = "Functions"
  6756. Model763.Parent = Model739
  6757. Model764.Name = "Light"
  6758. Model764.Parent = Model763
  6759. Part765.Name = "Lightbulb"
  6760. Part765.Parent = Model764
  6761. Part765.Transparency = 0.5
  6762. Part765.Rotation = Vector3.new(180, 90, 0)
  6763. Part765.Anchored = true
  6764. Part765.CanCollide = false
  6765. Part765.FormFactor = Enum.FormFactor.Symmetric
  6766. Part765.Size = Vector3.new(2, 1, 2)
  6767. Part765.CFrame = CFrame.new(148.399994, 18.6122246, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, -0)
  6768. Part765.BackSurface = Enum.SurfaceType.Weld
  6769. Part765.BottomSurface = Enum.SurfaceType.Weld
  6770. Part765.FrontSurface = Enum.SurfaceType.Weld
  6771. Part765.LeftSurface = Enum.SurfaceType.Weld
  6772. Part765.RightSurface = Enum.SurfaceType.Weld
  6773. Part765.TopSurface = Enum.SurfaceType.Weld
  6774. Part765.Position = Vector3.new(148.399994, 18.6122246, -146.600006)
  6775. Part765.Orientation = Vector3.new(0, 90, 180)
  6776. SpecialMesh766.Parent = Part765
  6777. SpecialMesh766.MeshId = "http://www.roblox.com/asset/?id=1376459"
  6778. SpecialMesh766.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  6779. SpecialMesh766.TextureId = "http://www.roblox.com/asset/?id=1376456"
  6780. SpecialMesh766.MeshType = Enum.MeshType.FileMesh
  6781. SpecialMesh766.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  6782. Part767.Name = "Light"
  6783. Part767.Parent = Model764
  6784. Part767.BrickColor = BrickColor.new("Cool yellow")
  6785. Part767.Transparency = 1
  6786. Part767.Anchored = true
  6787. Part767.CanCollide = false
  6788. Part767.FormFactor = Enum.FormFactor.Symmetric
  6789. Part767.Size = Vector3.new(2, 8, 2)
  6790. Part767.CFrame = CFrame.new(148.399994, 14.1121931, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6791. Part767.Color = Color3.new(0.992157, 0.917647, 0.552941)
  6792. Part767.Position = Vector3.new(148.399994, 14.1121931, -146.600006)
  6793. Part767.Color = Color3.new(0.992157, 0.917647, 0.552941)
  6794. SpecialMesh768.Parent = Part767
  6795. SpecialMesh768.MeshId = "http://www.roblox.com/asset/?id=1033714"
  6796. SpecialMesh768.Scale = Vector3.new(7, 13, 7)
  6797. SpecialMesh768.MeshType = Enum.MeshType.FileMesh
  6798. SpecialMesh768.Scale = Vector3.new(7, 13, 7)
  6799. Script769.Name = "Function"
  6800. Script769.Parent = Model764
  6801. table.insert(cors,sandbox(Script769,function()
  6802. local on = false
  6803.  
  6804. function check()
  6805. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  6806. if ((n > 6) and (n < 18)) then
  6807. if (on) then
  6808. on = false
  6809. wait(math.random()*5)
  6810. for i = 1,5 do
  6811. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  6812. wait()
  6813. end
  6814. script.Parent.Light.Transparency = 1
  6815. end
  6816. elseif not (on) then
  6817. on = true
  6818. wait(math.random()*5)
  6819. for i = 1,5 do
  6820. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  6821. wait()
  6822. end
  6823. script.Parent.Light.Transparency = 0.5
  6824. end
  6825. end
  6826.  
  6827. game.Lighting.LightingChanged:connect(check)
  6828. check()
  6829. end))
  6830. Part770.Name = "LightSocket"
  6831. Part770.Parent = Model764
  6832. Part770.BrickColor = BrickColor.new("Dark stone grey")
  6833. Part770.Anchored = true
  6834. Part770.FormFactor = Enum.FormFactor.Symmetric
  6835. Part770.Size = Vector3.new(2, 1, 2)
  6836. Part770.CFrame = CFrame.new(148.399994, 18.6122246, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6837. Part770.BottomSurface = Enum.SurfaceType.Smooth
  6838. Part770.TopSurface = Enum.SurfaceType.Smooth
  6839. Part770.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6840. Part770.Position = Vector3.new(148.399994, 18.6122246, -146.600006)
  6841. Part770.Color = Color3.new(0.388235, 0.372549, 0.384314)
  6842. CylinderMesh771.Parent = Part770
  6843. CylinderMesh771.Offset = Vector3.new(0, 0.600000024, 0)
  6844. CylinderMesh771.Scale = Vector3.new(1, 0.5, 1)
  6845. CylinderMesh771.Scale = Vector3.new(1, 0.5, 1)
  6846. Model772.Name = "Door"
  6847. Model772.Parent = Model714
  6848. Part773.Name = "Bar"
  6849. Part773.Parent = Model772
  6850. Part773.Reflectance = 0.15000000596046
  6851. Part773.Anchored = true
  6852. Part773.FormFactor = Enum.FormFactor.Symmetric
  6853. Part773.Size = Vector3.new(1, 9, 1)
  6854. Part773.CFrame = CFrame.new(152.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6855. Part773.BottomSurface = Enum.SurfaceType.Smooth
  6856. Part773.TopSurface = Enum.SurfaceType.Smooth
  6857. Part773.Position = Vector3.new(152.899994, 14.0121956, -139.100006)
  6858. CylinderMesh774.Parent = Part773
  6859. CylinderMesh774.Scale = Vector3.new(0.5, 1, 1)
  6860. CylinderMesh774.Scale = Vector3.new(0.5, 1, 1)
  6861. Part775.Name = "Bar"
  6862. Part775.Parent = Model772
  6863. Part775.Reflectance = 0.15000000596046
  6864. Part775.Anchored = true
  6865. Part775.FormFactor = Enum.FormFactor.Symmetric
  6866. Part775.Size = Vector3.new(1, 9, 1)
  6867. Part775.CFrame = CFrame.new(151.899963, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6868. Part775.BottomSurface = Enum.SurfaceType.Smooth
  6869. Part775.TopSurface = Enum.SurfaceType.Smooth
  6870. Part775.Position = Vector3.new(151.899963, 14.0121956, -139.100006)
  6871. CylinderMesh776.Parent = Part775
  6872. CylinderMesh776.Scale = Vector3.new(0.5, 1, 1)
  6873. CylinderMesh776.Scale = Vector3.new(0.5, 1, 1)
  6874. Part777.Name = "Bar"
  6875. Part777.Parent = Model772
  6876. Part777.Reflectance = 0.15000000596046
  6877. Part777.Anchored = true
  6878. Part777.FormFactor = Enum.FormFactor.Symmetric
  6879. Part777.Size = Vector3.new(1, 9, 1)
  6880. Part777.CFrame = CFrame.new(150.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6881. Part777.BottomSurface = Enum.SurfaceType.Smooth
  6882. Part777.TopSurface = Enum.SurfaceType.Smooth
  6883. Part777.Position = Vector3.new(150.899994, 14.0121956, -139.100006)
  6884. CylinderMesh778.Parent = Part777
  6885. CylinderMesh778.Scale = Vector3.new(0.5, 1, 1)
  6886. CylinderMesh778.Scale = Vector3.new(0.5, 1, 1)
  6887. Part779.Name = "Bar"
  6888. Part779.Parent = Model772
  6889. Part779.Reflectance = 0.15000000596046
  6890. Part779.Anchored = true
  6891. Part779.FormFactor = Enum.FormFactor.Symmetric
  6892. Part779.Size = Vector3.new(1, 9, 1)
  6893. Part779.CFrame = CFrame.new(149.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6894. Part779.BottomSurface = Enum.SurfaceType.Smooth
  6895. Part779.TopSurface = Enum.SurfaceType.Smooth
  6896. Part779.Position = Vector3.new(149.899994, 14.0121956, -139.100006)
  6897. CylinderMesh780.Parent = Part779
  6898. CylinderMesh780.Scale = Vector3.new(0.5, 1, 1)
  6899. CylinderMesh780.Scale = Vector3.new(0.5, 1, 1)
  6900. Part781.Name = "Bar"
  6901. Part781.Parent = Model772
  6902. Part781.Reflectance = 0.15000000596046
  6903. Part781.Anchored = true
  6904. Part781.FormFactor = Enum.FormFactor.Symmetric
  6905. Part781.Size = Vector3.new(1, 9, 1)
  6906. Part781.CFrame = CFrame.new(148.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6907. Part781.BottomSurface = Enum.SurfaceType.Smooth
  6908. Part781.TopSurface = Enum.SurfaceType.Smooth
  6909. Part781.Position = Vector3.new(148.899994, 14.0121956, -139.100006)
  6910. CylinderMesh782.Parent = Part781
  6911. CylinderMesh782.Scale = Vector3.new(0.5, 1, 1)
  6912. CylinderMesh782.Scale = Vector3.new(0.5, 1, 1)
  6913. Part783.Name = "Bar"
  6914. Part783.Parent = Model772
  6915. Part783.Reflectance = 0.15000000596046
  6916. Part783.Anchored = true
  6917. Part783.FormFactor = Enum.FormFactor.Symmetric
  6918. Part783.Size = Vector3.new(1, 9, 1)
  6919. Part783.CFrame = CFrame.new(147.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6920. Part783.BottomSurface = Enum.SurfaceType.Smooth
  6921. Part783.TopSurface = Enum.SurfaceType.Smooth
  6922. Part783.Position = Vector3.new(147.899994, 14.0121956, -139.100006)
  6923. CylinderMesh784.Parent = Part783
  6924. CylinderMesh784.Scale = Vector3.new(0.5, 1, 1)
  6925. CylinderMesh784.Scale = Vector3.new(0.5, 1, 1)
  6926. Script785.Name = "Main"
  6927. Script785.Parent = Model772
  6928. table.insert(cors,sandbox(Script785,function()
  6929. local _items = {}
  6930.  
  6931. local door = -1
  6932. -- -1 = Closed
  6933. -- 0 = Active
  6934. -- 1 = Open
  6935.  
  6936. function getItems()
  6937. for _,v in pairs(script.Parent:GetChildren()) do
  6938. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  6939. table.insert(_items,v)
  6940. end
  6941. end
  6942. end
  6943.  
  6944. function main()
  6945. local d = door
  6946. door = 0
  6947. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  6948. for i = 0,5,0.05 do
  6949. for _,v in pairs(_items) do
  6950. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  6951. end
  6952. wait()
  6953. end
  6954. if (d == (-1)) then
  6955. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  6956. elseif (d == 1) then
  6957. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  6958. end
  6959. door = d
  6960. end
  6961.  
  6962. script.Parent.Button.Click.MouseClick:connect(function()
  6963. if (door == 0) then return end
  6964. door = (door*(-1))
  6965. main()
  6966. end)
  6967.  
  6968. getItems()
  6969. end))
  6970. Part786.Name = "Button"
  6971. Part786.Parent = Model772
  6972. Part786.BrickColor = BrickColor.new("Really red")
  6973. Part786.Reflectance = 0.20000000298023
  6974. Part786.Transparency = 0.5
  6975. Part786.Rotation = Vector3.new(90, 0, -180)
  6976. Part786.Anchored = true
  6977. Part786.FormFactor = Enum.FormFactor.Plate
  6978. Part786.Size = Vector3.new(1, 0.400000006, 1)
  6979. Part786.CFrame = CFrame.new(145.899979, 14.0121756, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  6980. Part786.BottomSurface = Enum.SurfaceType.Smooth
  6981. Part786.TopSurface = Enum.SurfaceType.Smooth
  6982. Part786.Color = Color3.new(1, 0, 0)
  6983. Part786.Position = Vector3.new(145.899979, 14.0121756, -138.399994)
  6984. Part786.Orientation = Vector3.new(90, 180, 0)
  6985. Part786.Color = Color3.new(1, 0, 0)
  6986. BlockMesh787.Parent = Part786
  6987. CylinderMesh788.Parent = Part786
  6988. CylinderMesh788.Offset = Vector3.new(0, 0.150000006, 0)
  6989. CylinderMesh788.Scale = Vector3.new(1, 0.200000003, 1)
  6990. CylinderMesh788.Scale = Vector3.new(1, 0.200000003, 1)
  6991. ClickDetector789.Name = "Click"
  6992. ClickDetector789.Parent = Part786
  6993. Model790.Parent = Model1
  6994. Model791.Name = "PrisonCell"
  6995. Model791.Parent = Model790
  6996. Model792.Name = "Exterior"
  6997. Model792.Parent = Model791
  6998. Model793.Name = "Top"
  6999. Model793.Parent = Model792
  7000. Part794.Name = "Ceiling"
  7001. Part794.Parent = Model793
  7002. Part794.BrickColor = BrickColor.new("Brick yellow")
  7003. Part794.Anchored = true
  7004. Part794.FormFactor = Enum.FormFactor.Plate
  7005. Part794.Size = Vector3.new(12, 0.400000006, 14)
  7006. Part794.CFrame = CFrame.new(92.3999939, 19.512167, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7007. Part794.BottomSurface = Enum.SurfaceType.Smooth
  7008. Part794.TopSurface = Enum.SurfaceType.Smooth
  7009. Part794.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7010. Part794.Position = Vector3.new(92.3999939, 19.512167, -146.600006)
  7011. Part794.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7012. BlockMesh795.Parent = Part794
  7013. Part796.Name = "Top"
  7014. Part796.Parent = Model793
  7015. Part796.BrickColor = BrickColor.new("Dark stone grey")
  7016. Part796.Anchored = true
  7017. Part796.FormFactor = Enum.FormFactor.Symmetric
  7018. Part796.Size = Vector3.new(14, 1, 16)
  7019. Part796.CFrame = CFrame.new(92.3999939, 20.2121658, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7020. Part796.BottomSurface = Enum.SurfaceType.Smooth
  7021. Part796.TopSurface = Enum.SurfaceType.Smooth
  7022. Part796.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7023. Part796.Position = Vector3.new(92.3999939, 20.2121658, -146.600006)
  7024. Part796.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7025. BlockMesh797.Parent = Part796
  7026. Model798.Name = "Walls"
  7027. Model798.Parent = Model792
  7028. Part799.Parent = Model798
  7029. Part799.BrickColor = BrickColor.new("Dark stone grey")
  7030. Part799.Anchored = true
  7031. Part799.FormFactor = Enum.FormFactor.Symmetric
  7032. Part799.Size = Vector3.new(6, 1, 1)
  7033. Part799.CFrame = CFrame.new(94.3999939, 19.2121334, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7034. Part799.BottomSurface = Enum.SurfaceType.Smooth
  7035. Part799.TopSurface = Enum.SurfaceType.Smooth
  7036. Part799.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7037. Part799.Position = Vector3.new(94.3999939, 19.2121334, -139.100006)
  7038. Part799.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7039. BlockMesh800.Parent = Part799
  7040. Part801.Parent = Model798
  7041. Part801.BrickColor = BrickColor.new("Dark stone grey")
  7042. Part801.Anchored = true
  7043. Part801.FormFactor = Enum.FormFactor.Symmetric
  7044. Part801.Size = Vector3.new(6, 10, 1)
  7045. Part801.CFrame = CFrame.new(88.3999939, 14.7121096, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7046. Part801.BottomSurface = Enum.SurfaceType.Smooth
  7047. Part801.TopSurface = Enum.SurfaceType.Smooth
  7048. Part801.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7049. Part801.Position = Vector3.new(88.3999939, 14.7121096, -139.100006)
  7050. Part801.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7051. BlockMesh802.Parent = Part801
  7052. Part803.Parent = Model798
  7053. Part803.BrickColor = BrickColor.new("Dark stone grey")
  7054. Part803.Rotation = Vector3.new(-180, 0, -180)
  7055. Part803.Anchored = true
  7056. Part803.FormFactor = Enum.FormFactor.Symmetric
  7057. Part803.Size = Vector3.new(1, 10, 14)
  7058. Part803.CFrame = CFrame.new(85.8999939, 14.7121096, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7059. Part803.BottomSurface = Enum.SurfaceType.Smooth
  7060. Part803.TopSurface = Enum.SurfaceType.Smooth
  7061. Part803.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7062. Part803.Position = Vector3.new(85.8999939, 14.7121096, -146.600006)
  7063. Part803.Orientation = Vector3.new(0, 180, 0)
  7064. Part803.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7065. BlockMesh804.Parent = Part803
  7066. Part805.Parent = Model798
  7067. Part805.BrickColor = BrickColor.new("Dark stone grey")
  7068. Part805.Rotation = Vector3.new(0, -90, 0)
  7069. Part805.Anchored = true
  7070. Part805.FormFactor = Enum.FormFactor.Symmetric
  7071. Part805.Size = Vector3.new(1, 10, 14)
  7072. Part805.CFrame = CFrame.new(92.3999939, 14.7121096, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7073. Part805.BottomSurface = Enum.SurfaceType.Smooth
  7074. Part805.TopSurface = Enum.SurfaceType.Smooth
  7075. Part805.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7076. Part805.Position = Vector3.new(92.3999939, 14.7121096, -154.099976)
  7077. Part805.Orientation = Vector3.new(0, -90, 0)
  7078. Part805.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7079. BlockMesh806.Parent = Part805
  7080. Part807.Parent = Model798
  7081. Part807.BrickColor = BrickColor.new("Dark stone grey")
  7082. Part807.Rotation = Vector3.new(-180, 0, -180)
  7083. Part807.Anchored = true
  7084. Part807.FormFactor = Enum.FormFactor.Symmetric
  7085. Part807.Size = Vector3.new(1, 10, 14)
  7086. Part807.CFrame = CFrame.new(98.8999939, 14.7121096, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7087. Part807.BottomSurface = Enum.SurfaceType.Smooth
  7088. Part807.TopSurface = Enum.SurfaceType.Smooth
  7089. Part807.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7090. Part807.Position = Vector3.new(98.8999939, 14.7121096, -146.600006)
  7091. Part807.Orientation = Vector3.new(0, 180, 0)
  7092. Part807.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7093. BlockMesh808.Parent = Part807
  7094. Part809.Parent = Model798
  7095. Part809.BrickColor = BrickColor.new("Dark stone grey")
  7096. Part809.Rotation = Vector3.new(0, 90, 0)
  7097. Part809.Anchored = true
  7098. Part809.FormFactor = Enum.FormFactor.Symmetric
  7099. Part809.Size = Vector3.new(1, 10, 2)
  7100. Part809.CFrame = CFrame.new(98.3999939, 14.7121096, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7101. Part809.BottomSurface = Enum.SurfaceType.Smooth
  7102. Part809.TopSurface = Enum.SurfaceType.Smooth
  7103. Part809.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7104. Part809.Position = Vector3.new(98.3999939, 14.7121096, -139.100006)
  7105. Part809.Orientation = Vector3.new(0, 90, 0)
  7106. Part809.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7107. BlockMesh810.Parent = Part809
  7108. Model811.Name = "Floor"
  7109. Model811.Parent = Model792
  7110. Part812.Name = "Floor"
  7111. Part812.Parent = Model811
  7112. Part812.BrickColor = BrickColor.new("Brick yellow")
  7113. Part812.Anchored = true
  7114. Part812.FormFactor = Enum.FormFactor.Plate
  7115. Part812.Size = Vector3.new(12, 0.400000006, 14)
  7116. Part812.CFrame = CFrame.new(92.3999939, 9.91213512, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7117. Part812.BottomSurface = Enum.SurfaceType.Smooth
  7118. Part812.TopSurface = Enum.SurfaceType.Smooth
  7119. Part812.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7120. Part812.Position = Vector3.new(92.3999939, 9.91213512, -146.600006)
  7121. Part812.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7122. BlockMesh813.Parent = Part812
  7123. Part814.Name = "Floor"
  7124. Part814.Parent = Model811
  7125. Part814.BrickColor = BrickColor.new("Brick yellow")
  7126. Part814.Anchored = true
  7127. Part814.CanCollide = false
  7128. Part814.FormFactor = Enum.FormFactor.Plate
  7129. Part814.Size = Vector3.new(6, 0.400000006, 1)
  7130. Part814.CFrame = CFrame.new(94.3999939, 10.3121271, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7131. Part814.BottomSurface = Enum.SurfaceType.Smooth
  7132. Part814.TopSurface = Enum.SurfaceType.Smooth
  7133. Part814.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7134. Part814.Position = Vector3.new(94.3999939, 10.3121271, -140.100006)
  7135. Part814.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7136. BlockMesh815.Parent = Part814
  7137. BlockMesh815.Offset = Vector3.new(0, -0.400000006, 1)
  7138. Model816.Name = "Items"
  7139. Model816.Parent = Model791
  7140. Model817.Name = "Furnish"
  7141. Model817.Parent = Model816
  7142. Model818.Name = "Bed"
  7143. Model818.Parent = Model817
  7144. Part819.Name = "Pole"
  7145. Part819.Parent = Model818
  7146. Part819.BrickColor = BrickColor.new("Mid gray")
  7147. Part819.Reflectance = 0.15000000596046
  7148. Part819.Anchored = true
  7149. Part819.CanCollide = false
  7150. Part819.FormFactor = Enum.FormFactor.Symmetric
  7151. Part819.Size = Vector3.new(1, 5, 1)
  7152. Part819.CFrame = CFrame.new(86.8999939, 12.6121216, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7153. Part819.BottomSurface = Enum.SurfaceType.Smooth
  7154. Part819.TopSurface = Enum.SurfaceType.Smooth
  7155. Part819.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7156. Part819.Position = Vector3.new(86.8999939, 12.6121216, -140.100006)
  7157. Part819.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7158. CylinderMesh820.Parent = Part819
  7159. CylinderMesh820.Scale = Vector3.new(0.5, 1, 0.5)
  7160. CylinderMesh820.Scale = Vector3.new(0.5, 1, 0.5)
  7161. Part821.Name = "Pole"
  7162. Part821.Parent = Model818
  7163. Part821.BrickColor = BrickColor.new("Mid gray")
  7164. Part821.Reflectance = 0.15000000596046
  7165. Part821.Anchored = true
  7166. Part821.CanCollide = false
  7167. Part821.FormFactor = Enum.FormFactor.Symmetric
  7168. Part821.Size = Vector3.new(1, 5, 1)
  7169. Part821.CFrame = CFrame.new(86.8999939, 12.6121216, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7170. Part821.BottomSurface = Enum.SurfaceType.Smooth
  7171. Part821.TopSurface = Enum.SurfaceType.Smooth
  7172. Part821.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7173. Part821.Position = Vector3.new(86.8999939, 12.6121216, -147.100006)
  7174. Part821.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7175. CylinderMesh822.Parent = Part821
  7176. CylinderMesh822.Scale = Vector3.new(0.5, 1, 0.5)
  7177. CylinderMesh822.Scale = Vector3.new(0.5, 1, 0.5)
  7178. Part823.Name = "Pole"
  7179. Part823.Parent = Model818
  7180. Part823.BrickColor = BrickColor.new("Mid gray")
  7181. Part823.Reflectance = 0.15000000596046
  7182. Part823.Anchored = true
  7183. Part823.CanCollide = false
  7184. Part823.FormFactor = Enum.FormFactor.Symmetric
  7185. Part823.Size = Vector3.new(1, 5, 1)
  7186. Part823.CFrame = CFrame.new(90.8999863, 12.6121216, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7187. Part823.BottomSurface = Enum.SurfaceType.Smooth
  7188. Part823.TopSurface = Enum.SurfaceType.Smooth
  7189. Part823.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7190. Part823.Position = Vector3.new(90.8999863, 12.6121216, -147.100006)
  7191. Part823.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7192. CylinderMesh824.Parent = Part823
  7193. CylinderMesh824.Scale = Vector3.new(0.5, 1, 0.5)
  7194. CylinderMesh824.Scale = Vector3.new(0.5, 1, 0.5)
  7195. Part825.Name = "Pole"
  7196. Part825.Parent = Model818
  7197. Part825.BrickColor = BrickColor.new("Mid gray")
  7198. Part825.Reflectance = 0.15000000596046
  7199. Part825.Anchored = true
  7200. Part825.CanCollide = false
  7201. Part825.FormFactor = Enum.FormFactor.Symmetric
  7202. Part825.Size = Vector3.new(1, 5, 1)
  7203. Part825.CFrame = CFrame.new(90.8999863, 12.6121216, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7204. Part825.BottomSurface = Enum.SurfaceType.Smooth
  7205. Part825.TopSurface = Enum.SurfaceType.Smooth
  7206. Part825.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7207. Part825.Position = Vector3.new(90.8999863, 12.6121216, -140.100006)
  7208. Part825.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7209. CylinderMesh826.Parent = Part825
  7210. CylinderMesh826.Scale = Vector3.new(0.5, 1, 0.5)
  7211. CylinderMesh826.Scale = Vector3.new(0.5, 1, 0.5)
  7212. Part827.Parent = Model818
  7213. Part827.BrickColor = BrickColor.new("Institutional white")
  7214. Part827.Rotation = Vector3.new(-180, 0, -180)
  7215. Part827.Anchored = true
  7216. Part827.FormFactor = Enum.FormFactor.Symmetric
  7217. Part827.Size = Vector3.new(3, 1, 6)
  7218. Part827.CFrame = CFrame.new(88.8999939, 13.8121071, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7219. Part827.BottomSurface = Enum.SurfaceType.Smooth
  7220. Part827.TopSurface = Enum.SurfaceType.Smooth
  7221. Part827.Color = Color3.new(0.972549, 0.972549, 0.972549)
  7222. Part827.Position = Vector3.new(88.8999939, 13.8121071, -143.600006)
  7223. Part827.Orientation = Vector3.new(0, 180, 0)
  7224. Part827.Color = Color3.new(0.972549, 0.972549, 0.972549)
  7225. BlockMesh828.Parent = Part827
  7226. BlockMesh828.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  7227. BlockMesh828.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  7228. Part829.Parent = Model818
  7229. Part829.BrickColor = BrickColor.new("Institutional white")
  7230. Part829.Rotation = Vector3.new(-180, 0, -180)
  7231. Part829.Anchored = true
  7232. Part829.FormFactor = Enum.FormFactor.Symmetric
  7233. Part829.Size = Vector3.new(3, 1, 6)
  7234. Part829.CFrame = CFrame.new(88.8999939, 10.6121311, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7235. Part829.BottomSurface = Enum.SurfaceType.Smooth
  7236. Part829.TopSurface = Enum.SurfaceType.Smooth
  7237. Part829.Color = Color3.new(0.972549, 0.972549, 0.972549)
  7238. Part829.Position = Vector3.new(88.8999939, 10.6121311, -143.600006)
  7239. Part829.Orientation = Vector3.new(0, 180, 0)
  7240. Part829.Color = Color3.new(0.972549, 0.972549, 0.972549)
  7241. BlockMesh830.Parent = Part829
  7242. BlockMesh830.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  7243. BlockMesh830.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  7244. Model831.Name = "Toilet"
  7245. Model831.Parent = Model817
  7246. Part832.Parent = Model831
  7247. Part832.BrickColor = BrickColor.new("Mid gray")
  7248. Part832.Rotation = Vector3.new(0, -90, 0)
  7249. Part832.Anchored = true
  7250. Part832.FormFactor = Enum.FormFactor.Symmetric
  7251. Part832.Size = Vector3.new(2, 3, 1)
  7252. Part832.CFrame = CFrame.new(86.8999939, 12.6121216, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7253. Part832.BottomSurface = Enum.SurfaceType.Smooth
  7254. Part832.TopSurface = Enum.SurfaceType.Smooth
  7255. Part832.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7256. Part832.Position = Vector3.new(86.8999939, 12.6121216, -150.599976)
  7257. Part832.Orientation = Vector3.new(0, -90, 0)
  7258. Part832.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7259. BlockMesh833.Parent = Part832
  7260. BlockMesh833.Scale = Vector3.new(1.5, 1, 1)
  7261. BlockMesh833.Scale = Vector3.new(1.5, 1, 1)
  7262. Part834.Parent = Model831
  7263. Part834.BrickColor = BrickColor.new("Mid gray")
  7264. Part834.Rotation = Vector3.new(0, -90, 0)
  7265. Part834.Anchored = true
  7266. Part834.FormFactor = Enum.FormFactor.Symmetric
  7267. Part834.Size = Vector3.new(2, 1, 3)
  7268. Part834.CFrame = CFrame.new(87.8999939, 10.6121311, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7269. Part834.BottomSurface = Enum.SurfaceType.Smooth
  7270. Part834.TopSurface = Enum.SurfaceType.Smooth
  7271. Part834.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7272. Part834.Position = Vector3.new(87.8999939, 10.6121311, -150.599976)
  7273. Part834.Orientation = Vector3.new(0, -90, 0)
  7274. Part834.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7275. BlockMesh835.Parent = Part834
  7276. Part836.Parent = Model831
  7277. Part836.BrickColor = BrickColor.new("Light stone grey")
  7278. Part836.Rotation = Vector3.new(0, -90, 0)
  7279. Part836.Anchored = true
  7280. Part836.FormFactor = Enum.FormFactor.Plate
  7281. Part836.Size = Vector3.new(2, 0.400000006, 2)
  7282. Part836.CFrame = CFrame.new(88.3999939, 11.3121176, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7283. Part836.BottomSurface = Enum.SurfaceType.Smooth
  7284. Part836.TopSurface = Enum.SurfaceType.Smooth
  7285. Part836.Color = Color3.new(0.898039, 0.894118, 0.87451)
  7286. Part836.Position = Vector3.new(88.3999939, 11.3121176, -150.599976)
  7287. Part836.Orientation = Vector3.new(0, -90, 0)
  7288. Part836.Color = Color3.new(0.898039, 0.894118, 0.87451)
  7289. SpecialMesh837.Parent = Part836
  7290. SpecialMesh837.Scale = Vector3.new(1.5, 2, 2)
  7291. SpecialMesh837.MeshType = Enum.MeshType.Sphere
  7292. SpecialMesh837.Scale = Vector3.new(1.5, 2, 2)
  7293. Part838.Name = "Pole"
  7294. Part838.Parent = Model817
  7295. Part838.BrickColor = BrickColor.new("Mid gray")
  7296. Part838.Reflectance = 0.15000000596046
  7297. Part838.Rotation = Vector3.new(0, 0, -90)
  7298. Part838.Anchored = true
  7299. Part838.CanCollide = false
  7300. Part838.FormFactor = Enum.FormFactor.Symmetric
  7301. Part838.Size = Vector3.new(1, 12, 1)
  7302. Part838.CFrame = CFrame.new(92.3999939, 13.6121216, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  7303. Part838.BottomSurface = Enum.SurfaceType.Smooth
  7304. Part838.TopSurface = Enum.SurfaceType.Smooth
  7305. Part838.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7306. Part838.Position = Vector3.new(92.3999939, 13.6121216, -153.099976)
  7307. Part838.Orientation = Vector3.new(0, 0, -90)
  7308. Part838.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7309. CylinderMesh839.Parent = Part838
  7310. CylinderMesh839.Scale = Vector3.new(0.5, 1, 0.5)
  7311. CylinderMesh839.Scale = Vector3.new(0.5, 1, 0.5)
  7312. Model840.Name = "Functions"
  7313. Model840.Parent = Model816
  7314. Model841.Name = "Light"
  7315. Model841.Parent = Model840
  7316. Part842.Name = "Lightbulb"
  7317. Part842.Parent = Model841
  7318. Part842.Transparency = 0.5
  7319. Part842.Rotation = Vector3.new(180, 90, 0)
  7320. Part842.Anchored = true
  7321. Part842.CanCollide = false
  7322. Part842.FormFactor = Enum.FormFactor.Symmetric
  7323. Part842.Size = Vector3.new(2, 1, 2)
  7324. Part842.CFrame = CFrame.new(92.3999939, 18.8121376, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  7325. Part842.BackSurface = Enum.SurfaceType.Weld
  7326. Part842.BottomSurface = Enum.SurfaceType.Weld
  7327. Part842.FrontSurface = Enum.SurfaceType.Weld
  7328. Part842.LeftSurface = Enum.SurfaceType.Weld
  7329. Part842.RightSurface = Enum.SurfaceType.Weld
  7330. Part842.TopSurface = Enum.SurfaceType.Weld
  7331. Part842.Position = Vector3.new(92.3999939, 18.8121376, -146.600006)
  7332. Part842.Orientation = Vector3.new(0, 90, 180)
  7333. SpecialMesh843.Parent = Part842
  7334. SpecialMesh843.MeshId = "http://www.roblox.com/asset/?id=1376459"
  7335. SpecialMesh843.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  7336. SpecialMesh843.TextureId = "http://www.roblox.com/asset/?id=1376456"
  7337. SpecialMesh843.MeshType = Enum.MeshType.FileMesh
  7338. SpecialMesh843.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  7339. Part844.Name = "Light"
  7340. Part844.Parent = Model841
  7341. Part844.BrickColor = BrickColor.new("Cool yellow")
  7342. Part844.Transparency = 1
  7343. Part844.Anchored = true
  7344. Part844.CanCollide = false
  7345. Part844.FormFactor = Enum.FormFactor.Symmetric
  7346. Part844.Size = Vector3.new(2, 8, 2)
  7347. Part844.CFrame = CFrame.new(92.3999939, 14.3121071, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7348. Part844.Color = Color3.new(0.992157, 0.917647, 0.552941)
  7349. Part844.Position = Vector3.new(92.3999939, 14.3121071, -146.600006)
  7350. Part844.Color = Color3.new(0.992157, 0.917647, 0.552941)
  7351. SpecialMesh845.Parent = Part844
  7352. SpecialMesh845.MeshId = "http://www.roblox.com/asset/?id=1033714"
  7353. SpecialMesh845.Scale = Vector3.new(7, 13, 7)
  7354. SpecialMesh845.MeshType = Enum.MeshType.FileMesh
  7355. SpecialMesh845.Scale = Vector3.new(7, 13, 7)
  7356. Script846.Name = "Function"
  7357. Script846.Parent = Model841
  7358. table.insert(cors,sandbox(Script846,function()
  7359. local on = false
  7360.  
  7361. function check()
  7362. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  7363. if ((n > 6) and (n < 18)) then
  7364. if (on) then
  7365. on = false
  7366. wait(math.random()*5)
  7367. for i = 1,5 do
  7368. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  7369. wait()
  7370. end
  7371. script.Parent.Light.Transparency = 1
  7372. end
  7373. elseif not (on) then
  7374. on = true
  7375. wait(math.random()*5)
  7376. for i = 1,5 do
  7377. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  7378. wait()
  7379. end
  7380. script.Parent.Light.Transparency = 0.5
  7381. end
  7382. end
  7383.  
  7384. game.Lighting.LightingChanged:connect(check)
  7385. check()
  7386. end))
  7387. Part847.Name = "LightSocket"
  7388. Part847.Parent = Model841
  7389. Part847.BrickColor = BrickColor.new("Dark stone grey")
  7390. Part847.Anchored = true
  7391. Part847.FormFactor = Enum.FormFactor.Symmetric
  7392. Part847.Size = Vector3.new(2, 1, 2)
  7393. Part847.CFrame = CFrame.new(92.3999939, 18.8121376, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7394. Part847.BottomSurface = Enum.SurfaceType.Smooth
  7395. Part847.TopSurface = Enum.SurfaceType.Smooth
  7396. Part847.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7397. Part847.Position = Vector3.new(92.3999939, 18.8121376, -146.600006)
  7398. Part847.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7399. CylinderMesh848.Parent = Part847
  7400. CylinderMesh848.Offset = Vector3.new(0, 0.600000024, 0)
  7401. CylinderMesh848.Scale = Vector3.new(1, 0.5, 1)
  7402. CylinderMesh848.Scale = Vector3.new(1, 0.5, 1)
  7403. Model849.Name = "Door"
  7404. Model849.Parent = Model791
  7405. Part850.Name = "Bar"
  7406. Part850.Parent = Model849
  7407. Part850.Reflectance = 0.15000000596046
  7408. Part850.Anchored = true
  7409. Part850.FormFactor = Enum.FormFactor.Symmetric
  7410. Part850.Size = Vector3.new(1, 9, 1)
  7411. Part850.CFrame = CFrame.new(96.8999863, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7412. Part850.BottomSurface = Enum.SurfaceType.Smooth
  7413. Part850.TopSurface = Enum.SurfaceType.Smooth
  7414. Part850.Position = Vector3.new(96.8999863, 14.2121134, -139.100006)
  7415. CylinderMesh851.Parent = Part850
  7416. CylinderMesh851.Scale = Vector3.new(0.5, 1, 1)
  7417. CylinderMesh851.Scale = Vector3.new(0.5, 1, 1)
  7418. Part852.Name = "Bar"
  7419. Part852.Parent = Model849
  7420. Part852.Reflectance = 0.15000000596046
  7421. Part852.Anchored = true
  7422. Part852.FormFactor = Enum.FormFactor.Symmetric
  7423. Part852.Size = Vector3.new(1, 9, 1)
  7424. Part852.CFrame = CFrame.new(95.8999786, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7425. Part852.BottomSurface = Enum.SurfaceType.Smooth
  7426. Part852.TopSurface = Enum.SurfaceType.Smooth
  7427. Part852.Position = Vector3.new(95.8999786, 14.2121134, -139.100006)
  7428. CylinderMesh853.Parent = Part852
  7429. CylinderMesh853.Scale = Vector3.new(0.5, 1, 1)
  7430. CylinderMesh853.Scale = Vector3.new(0.5, 1, 1)
  7431. Part854.Name = "Bar"
  7432. Part854.Parent = Model849
  7433. Part854.Reflectance = 0.15000000596046
  7434. Part854.Anchored = true
  7435. Part854.FormFactor = Enum.FormFactor.Symmetric
  7436. Part854.Size = Vector3.new(1, 9, 1)
  7437. Part854.CFrame = CFrame.new(94.9000015, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7438. Part854.BottomSurface = Enum.SurfaceType.Smooth
  7439. Part854.TopSurface = Enum.SurfaceType.Smooth
  7440. Part854.Position = Vector3.new(94.9000015, 14.2121134, -139.100006)
  7441. CylinderMesh855.Parent = Part854
  7442. CylinderMesh855.Scale = Vector3.new(0.5, 1, 1)
  7443. CylinderMesh855.Scale = Vector3.new(0.5, 1, 1)
  7444. Part856.Name = "Bar"
  7445. Part856.Parent = Model849
  7446. Part856.Reflectance = 0.15000000596046
  7447. Part856.Anchored = true
  7448. Part856.FormFactor = Enum.FormFactor.Symmetric
  7449. Part856.Size = Vector3.new(1, 9, 1)
  7450. Part856.CFrame = CFrame.new(93.8999939, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7451. Part856.BottomSurface = Enum.SurfaceType.Smooth
  7452. Part856.TopSurface = Enum.SurfaceType.Smooth
  7453. Part856.Position = Vector3.new(93.8999939, 14.2121134, -139.100006)
  7454. CylinderMesh857.Parent = Part856
  7455. CylinderMesh857.Scale = Vector3.new(0.5, 1, 1)
  7456. CylinderMesh857.Scale = Vector3.new(0.5, 1, 1)
  7457. Part858.Name = "Bar"
  7458. Part858.Parent = Model849
  7459. Part858.Reflectance = 0.15000000596046
  7460. Part858.Anchored = true
  7461. Part858.FormFactor = Enum.FormFactor.Symmetric
  7462. Part858.Size = Vector3.new(1, 9, 1)
  7463. Part858.CFrame = CFrame.new(92.8999939, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7464. Part858.BottomSurface = Enum.SurfaceType.Smooth
  7465. Part858.TopSurface = Enum.SurfaceType.Smooth
  7466. Part858.Position = Vector3.new(92.8999939, 14.2121134, -139.100006)
  7467. CylinderMesh859.Parent = Part858
  7468. CylinderMesh859.Scale = Vector3.new(0.5, 1, 1)
  7469. CylinderMesh859.Scale = Vector3.new(0.5, 1, 1)
  7470. Part860.Name = "Bar"
  7471. Part860.Parent = Model849
  7472. Part860.Reflectance = 0.15000000596046
  7473. Part860.Anchored = true
  7474. Part860.FormFactor = Enum.FormFactor.Symmetric
  7475. Part860.Size = Vector3.new(1, 9, 1)
  7476. Part860.CFrame = CFrame.new(91.8999939, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7477. Part860.BottomSurface = Enum.SurfaceType.Smooth
  7478. Part860.TopSurface = Enum.SurfaceType.Smooth
  7479. Part860.Position = Vector3.new(91.8999939, 14.2121134, -139.100006)
  7480. CylinderMesh861.Parent = Part860
  7481. CylinderMesh861.Scale = Vector3.new(0.5, 1, 1)
  7482. CylinderMesh861.Scale = Vector3.new(0.5, 1, 1)
  7483. Script862.Name = "Main"
  7484. Script862.Parent = Model849
  7485. table.insert(cors,sandbox(Script862,function()
  7486. local _items = {}
  7487.  
  7488. local door = -1
  7489. -- -1 = Closed
  7490. -- 0 = Active
  7491. -- 1 = Open
  7492.  
  7493. function getItems()
  7494. for _,v in pairs(script.Parent:GetChildren()) do
  7495. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  7496. table.insert(_items,v)
  7497. end
  7498. end
  7499. end
  7500.  
  7501. function main()
  7502. local d = door
  7503. door = 0
  7504. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  7505. for i = 0,5,0.05 do
  7506. for _,v in pairs(_items) do
  7507. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  7508. end
  7509. wait()
  7510. end
  7511. if (d == (-1)) then
  7512. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  7513. elseif (d == 1) then
  7514. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  7515. end
  7516. door = d
  7517. end
  7518.  
  7519. script.Parent.Button.Click.MouseClick:connect(function()
  7520. if (door == 0) then return end
  7521. door = (door*(-1))
  7522. main()
  7523. end)
  7524.  
  7525. getItems()
  7526. end))
  7527. Part863.Name = "Button"
  7528. Part863.Parent = Model849
  7529. Part863.BrickColor = BrickColor.new("Really red")
  7530. Part863.Reflectance = 0.20000000298023
  7531. Part863.Transparency = 0.5
  7532. Part863.Rotation = Vector3.new(90, 0, -180)
  7533. Part863.Anchored = true
  7534. Part863.FormFactor = Enum.FormFactor.Plate
  7535. Part863.Size = Vector3.new(1, 0.400000006, 1)
  7536. Part863.CFrame = CFrame.new(89.8999939, 14.2120914, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  7537. Part863.BottomSurface = Enum.SurfaceType.Smooth
  7538. Part863.TopSurface = Enum.SurfaceType.Smooth
  7539. Part863.Color = Color3.new(1, 0, 0)
  7540. Part863.Position = Vector3.new(89.8999939, 14.2120914, -138.399994)
  7541. Part863.Orientation = Vector3.new(90, 180, 0)
  7542. Part863.Color = Color3.new(1, 0, 0)
  7543. BlockMesh864.Parent = Part863
  7544. CylinderMesh865.Parent = Part863
  7545. CylinderMesh865.Offset = Vector3.new(0, 0.150000006, 0)
  7546. CylinderMesh865.Scale = Vector3.new(1, 0.200000003, 1)
  7547. CylinderMesh865.Scale = Vector3.new(1, 0.200000003, 1)
  7548. ClickDetector866.Name = "Click"
  7549. ClickDetector866.Parent = Part863
  7550. Model867.Parent = Model1
  7551. Model868.Name = "PrisonCell"
  7552. Model868.Parent = Model867
  7553. Model869.Name = "Exterior"
  7554. Model869.Parent = Model868
  7555. Model870.Name = "Top"
  7556. Model870.Parent = Model869
  7557. Part871.Name = "Ceiling"
  7558. Part871.Parent = Model870
  7559. Part871.BrickColor = BrickColor.new("Brick yellow")
  7560. Part871.Anchored = true
  7561. Part871.FormFactor = Enum.FormFactor.Plate
  7562. Part871.Size = Vector3.new(12, 0.400000006, 14)
  7563. Part871.CFrame = CFrame.new(78.3999863, 19.512167, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7564. Part871.BottomSurface = Enum.SurfaceType.Smooth
  7565. Part871.TopSurface = Enum.SurfaceType.Smooth
  7566. Part871.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7567. Part871.Position = Vector3.new(78.3999863, 19.512167, -146.600006)
  7568. Part871.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7569. BlockMesh872.Parent = Part871
  7570. Part873.Name = "Top"
  7571. Part873.Parent = Model870
  7572. Part873.BrickColor = BrickColor.new("Dark stone grey")
  7573. Part873.Anchored = true
  7574. Part873.FormFactor = Enum.FormFactor.Symmetric
  7575. Part873.Size = Vector3.new(14, 1, 16)
  7576. Part873.CFrame = CFrame.new(78.3999863, 20.212183, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7577. Part873.BottomSurface = Enum.SurfaceType.Smooth
  7578. Part873.TopSurface = Enum.SurfaceType.Smooth
  7579. Part873.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7580. Part873.Position = Vector3.new(78.3999863, 20.212183, -146.600006)
  7581. Part873.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7582. BlockMesh874.Parent = Part873
  7583. Model875.Name = "Walls"
  7584. Model875.Parent = Model869
  7585. Part876.Parent = Model875
  7586. Part876.BrickColor = BrickColor.new("Dark stone grey")
  7587. Part876.Anchored = true
  7588. Part876.FormFactor = Enum.FormFactor.Symmetric
  7589. Part876.Size = Vector3.new(6, 1, 1)
  7590. Part876.CFrame = CFrame.new(80.3999939, 19.2121391, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7591. Part876.BottomSurface = Enum.SurfaceType.Smooth
  7592. Part876.TopSurface = Enum.SurfaceType.Smooth
  7593. Part876.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7594. Part876.Position = Vector3.new(80.3999939, 19.2121391, -139.100006)
  7595. Part876.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7596. BlockMesh877.Parent = Part876
  7597. Part878.Parent = Model875
  7598. Part878.BrickColor = BrickColor.new("Dark stone grey")
  7599. Part878.Anchored = true
  7600. Part878.FormFactor = Enum.FormFactor.Symmetric
  7601. Part878.Size = Vector3.new(6, 10, 1)
  7602. Part878.CFrame = CFrame.new(74.3999863, 14.7121077, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7603. Part878.BottomSurface = Enum.SurfaceType.Smooth
  7604. Part878.TopSurface = Enum.SurfaceType.Smooth
  7605. Part878.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7606. Part878.Position = Vector3.new(74.3999863, 14.7121077, -139.100006)
  7607. Part878.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7608. BlockMesh879.Parent = Part878
  7609. Part880.Parent = Model875
  7610. Part880.BrickColor = BrickColor.new("Dark stone grey")
  7611. Part880.Rotation = Vector3.new(-180, 0, -180)
  7612. Part880.Anchored = true
  7613. Part880.FormFactor = Enum.FormFactor.Symmetric
  7614. Part880.Size = Vector3.new(1, 10, 14)
  7615. Part880.CFrame = CFrame.new(71.8999863, 14.7121077, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7616. Part880.BottomSurface = Enum.SurfaceType.Smooth
  7617. Part880.TopSurface = Enum.SurfaceType.Smooth
  7618. Part880.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7619. Part880.Position = Vector3.new(71.8999863, 14.7121077, -146.600006)
  7620. Part880.Orientation = Vector3.new(0, 180, 0)
  7621. Part880.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7622. BlockMesh881.Parent = Part880
  7623. Part882.Parent = Model875
  7624. Part882.BrickColor = BrickColor.new("Dark stone grey")
  7625. Part882.Rotation = Vector3.new(0, -90, 0)
  7626. Part882.Anchored = true
  7627. Part882.FormFactor = Enum.FormFactor.Symmetric
  7628. Part882.Size = Vector3.new(1, 10, 14)
  7629. Part882.CFrame = CFrame.new(78.3999863, 14.7121077, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7630. Part882.BottomSurface = Enum.SurfaceType.Smooth
  7631. Part882.TopSurface = Enum.SurfaceType.Smooth
  7632. Part882.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7633. Part882.Position = Vector3.new(78.3999863, 14.7121077, -154.099976)
  7634. Part882.Orientation = Vector3.new(0, -90, 0)
  7635. Part882.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7636. BlockMesh883.Parent = Part882
  7637. Part884.Parent = Model875
  7638. Part884.BrickColor = BrickColor.new("Dark stone grey")
  7639. Part884.Rotation = Vector3.new(-180, 0, -180)
  7640. Part884.Anchored = true
  7641. Part884.FormFactor = Enum.FormFactor.Symmetric
  7642. Part884.Size = Vector3.new(1, 10, 14)
  7643. Part884.CFrame = CFrame.new(84.9000015, 14.7121077, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7644. Part884.BottomSurface = Enum.SurfaceType.Smooth
  7645. Part884.TopSurface = Enum.SurfaceType.Smooth
  7646. Part884.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7647. Part884.Position = Vector3.new(84.9000015, 14.7121077, -146.600006)
  7648. Part884.Orientation = Vector3.new(0, 180, 0)
  7649. Part884.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7650. BlockMesh885.Parent = Part884
  7651. Part886.Parent = Model875
  7652. Part886.BrickColor = BrickColor.new("Dark stone grey")
  7653. Part886.Rotation = Vector3.new(0, 90, 0)
  7654. Part886.Anchored = true
  7655. Part886.FormFactor = Enum.FormFactor.Symmetric
  7656. Part886.Size = Vector3.new(1, 10, 2)
  7657. Part886.CFrame = CFrame.new(84.4000015, 14.7121077, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  7658. Part886.BottomSurface = Enum.SurfaceType.Smooth
  7659. Part886.TopSurface = Enum.SurfaceType.Smooth
  7660. Part886.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7661. Part886.Position = Vector3.new(84.4000015, 14.7121077, -139.100006)
  7662. Part886.Orientation = Vector3.new(0, 90, 0)
  7663. Part886.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7664. BlockMesh887.Parent = Part886
  7665. Model888.Name = "Floor"
  7666. Model888.Parent = Model869
  7667. Part889.Name = "Floor"
  7668. Part889.Parent = Model888
  7669. Part889.BrickColor = BrickColor.new("Brick yellow")
  7670. Part889.Anchored = true
  7671. Part889.FormFactor = Enum.FormFactor.Plate
  7672. Part889.Size = Vector3.new(12, 0.400000006, 14)
  7673. Part889.CFrame = CFrame.new(78.3999863, 9.91214752, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7674. Part889.BottomSurface = Enum.SurfaceType.Smooth
  7675. Part889.TopSurface = Enum.SurfaceType.Smooth
  7676. Part889.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7677. Part889.Position = Vector3.new(78.3999863, 9.91214752, -146.600006)
  7678. Part889.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7679. BlockMesh890.Parent = Part889
  7680. Part891.Name = "Floor"
  7681. Part891.Parent = Model888
  7682. Part891.BrickColor = BrickColor.new("Brick yellow")
  7683. Part891.Anchored = true
  7684. Part891.CanCollide = false
  7685. Part891.FormFactor = Enum.FormFactor.Plate
  7686. Part891.Size = Vector3.new(6, 0.400000006, 1)
  7687. Part891.CFrame = CFrame.new(80.3999939, 10.3121395, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7688. Part891.BottomSurface = Enum.SurfaceType.Smooth
  7689. Part891.TopSurface = Enum.SurfaceType.Smooth
  7690. Part891.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7691. Part891.Position = Vector3.new(80.3999939, 10.3121395, -140.100006)
  7692. Part891.Color = Color3.new(0.843137, 0.772549, 0.603922)
  7693. BlockMesh892.Parent = Part891
  7694. BlockMesh892.Offset = Vector3.new(0, -0.400000006, 1)
  7695. Model893.Name = "Items"
  7696. Model893.Parent = Model868
  7697. Model894.Name = "Furnish"
  7698. Model894.Parent = Model893
  7699. Model895.Name = "Bed"
  7700. Model895.Parent = Model894
  7701. Part896.Name = "Pole"
  7702. Part896.Parent = Model895
  7703. Part896.BrickColor = BrickColor.new("Mid gray")
  7704. Part896.Reflectance = 0.15000000596046
  7705. Part896.Anchored = true
  7706. Part896.CanCollide = false
  7707. Part896.FormFactor = Enum.FormFactor.Symmetric
  7708. Part896.Size = Vector3.new(1, 5, 1)
  7709. Part896.CFrame = CFrame.new(72.8999863, 12.6121111, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7710. Part896.BottomSurface = Enum.SurfaceType.Smooth
  7711. Part896.TopSurface = Enum.SurfaceType.Smooth
  7712. Part896.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7713. Part896.Position = Vector3.new(72.8999863, 12.6121111, -140.100006)
  7714. Part896.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7715. CylinderMesh897.Parent = Part896
  7716. CylinderMesh897.Scale = Vector3.new(0.5, 1, 0.5)
  7717. CylinderMesh897.Scale = Vector3.new(0.5, 1, 0.5)
  7718. Part898.Name = "Pole"
  7719. Part898.Parent = Model895
  7720. Part898.BrickColor = BrickColor.new("Mid gray")
  7721. Part898.Reflectance = 0.15000000596046
  7722. Part898.Anchored = true
  7723. Part898.CanCollide = false
  7724. Part898.FormFactor = Enum.FormFactor.Symmetric
  7725. Part898.Size = Vector3.new(1, 5, 1)
  7726. Part898.CFrame = CFrame.new(72.8999863, 12.6121111, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7727. Part898.BottomSurface = Enum.SurfaceType.Smooth
  7728. Part898.TopSurface = Enum.SurfaceType.Smooth
  7729. Part898.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7730. Part898.Position = Vector3.new(72.8999863, 12.6121111, -147.100006)
  7731. Part898.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7732. CylinderMesh899.Parent = Part898
  7733. CylinderMesh899.Scale = Vector3.new(0.5, 1, 0.5)
  7734. CylinderMesh899.Scale = Vector3.new(0.5, 1, 0.5)
  7735. Part900.Name = "Pole"
  7736. Part900.Parent = Model895
  7737. Part900.BrickColor = BrickColor.new("Mid gray")
  7738. Part900.Reflectance = 0.15000000596046
  7739. Part900.Anchored = true
  7740. Part900.CanCollide = false
  7741. Part900.FormFactor = Enum.FormFactor.Symmetric
  7742. Part900.Size = Vector3.new(1, 5, 1)
  7743. Part900.CFrame = CFrame.new(76.8999863, 12.6121111, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7744. Part900.BottomSurface = Enum.SurfaceType.Smooth
  7745. Part900.TopSurface = Enum.SurfaceType.Smooth
  7746. Part900.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7747. Part900.Position = Vector3.new(76.8999863, 12.6121111, -147.100006)
  7748. Part900.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7749. CylinderMesh901.Parent = Part900
  7750. CylinderMesh901.Scale = Vector3.new(0.5, 1, 0.5)
  7751. CylinderMesh901.Scale = Vector3.new(0.5, 1, 0.5)
  7752. Part902.Name = "Pole"
  7753. Part902.Parent = Model895
  7754. Part902.BrickColor = BrickColor.new("Mid gray")
  7755. Part902.Reflectance = 0.15000000596046
  7756. Part902.Anchored = true
  7757. Part902.CanCollide = false
  7758. Part902.FormFactor = Enum.FormFactor.Symmetric
  7759. Part902.Size = Vector3.new(1, 5, 1)
  7760. Part902.CFrame = CFrame.new(76.8999863, 12.6121111, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7761. Part902.BottomSurface = Enum.SurfaceType.Smooth
  7762. Part902.TopSurface = Enum.SurfaceType.Smooth
  7763. Part902.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7764. Part902.Position = Vector3.new(76.8999863, 12.6121111, -140.100006)
  7765. Part902.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7766. CylinderMesh903.Parent = Part902
  7767. CylinderMesh903.Scale = Vector3.new(0.5, 1, 0.5)
  7768. CylinderMesh903.Scale = Vector3.new(0.5, 1, 0.5)
  7769. Part904.Parent = Model895
  7770. Part904.BrickColor = BrickColor.new("Institutional white")
  7771. Part904.Rotation = Vector3.new(-180, 0, -180)
  7772. Part904.Anchored = true
  7773. Part904.FormFactor = Enum.FormFactor.Symmetric
  7774. Part904.Size = Vector3.new(3, 1, 6)
  7775. Part904.CFrame = CFrame.new(74.8999863, 13.8121071, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7776. Part904.BottomSurface = Enum.SurfaceType.Smooth
  7777. Part904.TopSurface = Enum.SurfaceType.Smooth
  7778. Part904.Color = Color3.new(0.972549, 0.972549, 0.972549)
  7779. Part904.Position = Vector3.new(74.8999863, 13.8121071, -143.600006)
  7780. Part904.Orientation = Vector3.new(0, 180, 0)
  7781. Part904.Color = Color3.new(0.972549, 0.972549, 0.972549)
  7782. BlockMesh905.Parent = Part904
  7783. BlockMesh905.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  7784. BlockMesh905.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  7785. Part906.Parent = Model895
  7786. Part906.BrickColor = BrickColor.new("Institutional white")
  7787. Part906.Rotation = Vector3.new(-180, 0, -180)
  7788. Part906.Anchored = true
  7789. Part906.FormFactor = Enum.FormFactor.Symmetric
  7790. Part906.Size = Vector3.new(3, 1, 6)
  7791. Part906.CFrame = CFrame.new(74.8999863, 10.6121435, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  7792. Part906.BottomSurface = Enum.SurfaceType.Smooth
  7793. Part906.TopSurface = Enum.SurfaceType.Smooth
  7794. Part906.Color = Color3.new(0.972549, 0.972549, 0.972549)
  7795. Part906.Position = Vector3.new(74.8999863, 10.6121435, -143.600006)
  7796. Part906.Orientation = Vector3.new(0, 180, 0)
  7797. Part906.Color = Color3.new(0.972549, 0.972549, 0.972549)
  7798. BlockMesh907.Parent = Part906
  7799. BlockMesh907.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  7800. BlockMesh907.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  7801. Model908.Name = "Toilet"
  7802. Model908.Parent = Model894
  7803. Part909.Parent = Model908
  7804. Part909.BrickColor = BrickColor.new("Mid gray")
  7805. Part909.Rotation = Vector3.new(0, -90, 0)
  7806. Part909.Anchored = true
  7807. Part909.FormFactor = Enum.FormFactor.Symmetric
  7808. Part909.Size = Vector3.new(2, 3, 1)
  7809. Part909.CFrame = CFrame.new(72.8999863, 12.6121111, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7810. Part909.BottomSurface = Enum.SurfaceType.Smooth
  7811. Part909.TopSurface = Enum.SurfaceType.Smooth
  7812. Part909.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7813. Part909.Position = Vector3.new(72.8999863, 12.6121111, -150.599976)
  7814. Part909.Orientation = Vector3.new(0, -90, 0)
  7815. Part909.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7816. BlockMesh910.Parent = Part909
  7817. BlockMesh910.Scale = Vector3.new(1.5, 1, 1)
  7818. BlockMesh910.Scale = Vector3.new(1.5, 1, 1)
  7819. Part911.Parent = Model908
  7820. Part911.BrickColor = BrickColor.new("Mid gray")
  7821. Part911.Rotation = Vector3.new(0, -90, 0)
  7822. Part911.Anchored = true
  7823. Part911.FormFactor = Enum.FormFactor.Symmetric
  7824. Part911.Size = Vector3.new(2, 1, 3)
  7825. Part911.CFrame = CFrame.new(73.8999863, 10.6121435, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7826. Part911.BottomSurface = Enum.SurfaceType.Smooth
  7827. Part911.TopSurface = Enum.SurfaceType.Smooth
  7828. Part911.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7829. Part911.Position = Vector3.new(73.8999863, 10.6121435, -150.599976)
  7830. Part911.Orientation = Vector3.new(0, -90, 0)
  7831. Part911.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7832. BlockMesh912.Parent = Part911
  7833. Part913.Parent = Model908
  7834. Part913.BrickColor = BrickColor.new("Light stone grey")
  7835. Part913.Rotation = Vector3.new(0, -90, 0)
  7836. Part913.Anchored = true
  7837. Part913.FormFactor = Enum.FormFactor.Plate
  7838. Part913.Size = Vector3.new(2, 0.400000006, 2)
  7839. Part913.CFrame = CFrame.new(74.3999863, 11.3121157, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  7840. Part913.BottomSurface = Enum.SurfaceType.Smooth
  7841. Part913.TopSurface = Enum.SurfaceType.Smooth
  7842. Part913.Color = Color3.new(0.898039, 0.894118, 0.87451)
  7843. Part913.Position = Vector3.new(74.3999863, 11.3121157, -150.599976)
  7844. Part913.Orientation = Vector3.new(0, -90, 0)
  7845. Part913.Color = Color3.new(0.898039, 0.894118, 0.87451)
  7846. SpecialMesh914.Parent = Part913
  7847. SpecialMesh914.Scale = Vector3.new(1.5, 2, 2)
  7848. SpecialMesh914.MeshType = Enum.MeshType.Sphere
  7849. SpecialMesh914.Scale = Vector3.new(1.5, 2, 2)
  7850. Part915.Name = "Pole"
  7851. Part915.Parent = Model894
  7852. Part915.BrickColor = BrickColor.new("Mid gray")
  7853. Part915.Reflectance = 0.15000000596046
  7854. Part915.Rotation = Vector3.new(0, 0, -90)
  7855. Part915.Anchored = true
  7856. Part915.CanCollide = false
  7857. Part915.FormFactor = Enum.FormFactor.Symmetric
  7858. Part915.Size = Vector3.new(1, 12, 1)
  7859. Part915.CFrame = CFrame.new(78.3999863, 13.6121111, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  7860. Part915.BottomSurface = Enum.SurfaceType.Smooth
  7861. Part915.TopSurface = Enum.SurfaceType.Smooth
  7862. Part915.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7863. Part915.Position = Vector3.new(78.3999863, 13.6121111, -153.099976)
  7864. Part915.Orientation = Vector3.new(0, 0, -90)
  7865. Part915.Color = Color3.new(0.803922, 0.803922, 0.803922)
  7866. CylinderMesh916.Parent = Part915
  7867. CylinderMesh916.Scale = Vector3.new(0.5, 1, 0.5)
  7868. CylinderMesh916.Scale = Vector3.new(0.5, 1, 0.5)
  7869. Model917.Name = "Functions"
  7870. Model917.Parent = Model893
  7871. Model918.Name = "Light"
  7872. Model918.Parent = Model917
  7873. Part919.Name = "Lightbulb"
  7874. Part919.Parent = Model918
  7875. Part919.Transparency = 0.5
  7876. Part919.Rotation = Vector3.new(180, 90, 0)
  7877. Part919.Anchored = true
  7878. Part919.CanCollide = false
  7879. Part919.FormFactor = Enum.FormFactor.Symmetric
  7880. Part919.Size = Vector3.new(2, 1, 2)
  7881. Part919.CFrame = CFrame.new(78.3999863, 18.8121414, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  7882. Part919.BackSurface = Enum.SurfaceType.Weld
  7883. Part919.BottomSurface = Enum.SurfaceType.Weld
  7884. Part919.FrontSurface = Enum.SurfaceType.Weld
  7885. Part919.LeftSurface = Enum.SurfaceType.Weld
  7886. Part919.RightSurface = Enum.SurfaceType.Weld
  7887. Part919.TopSurface = Enum.SurfaceType.Weld
  7888. Part919.Position = Vector3.new(78.3999863, 18.8121414, -146.600006)
  7889. Part919.Orientation = Vector3.new(0, 90, 180)
  7890. SpecialMesh920.Parent = Part919
  7891. SpecialMesh920.MeshId = "http://www.roblox.com/asset/?id=1376459"
  7892. SpecialMesh920.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  7893. SpecialMesh920.TextureId = "http://www.roblox.com/asset/?id=1376456"
  7894. SpecialMesh920.MeshType = Enum.MeshType.FileMesh
  7895. SpecialMesh920.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  7896. Part921.Name = "Light"
  7897. Part921.Parent = Model918
  7898. Part921.BrickColor = BrickColor.new("Cool yellow")
  7899. Part921.Transparency = 1
  7900. Part921.Anchored = true
  7901. Part921.CanCollide = false
  7902. Part921.FormFactor = Enum.FormFactor.Symmetric
  7903. Part921.Size = Vector3.new(2, 8, 2)
  7904. Part921.CFrame = CFrame.new(78.3999863, 14.3121071, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7905. Part921.Color = Color3.new(0.992157, 0.917647, 0.552941)
  7906. Part921.Position = Vector3.new(78.3999863, 14.3121071, -146.600006)
  7907. Part921.Color = Color3.new(0.992157, 0.917647, 0.552941)
  7908. SpecialMesh922.Parent = Part921
  7909. SpecialMesh922.MeshId = "http://www.roblox.com/asset/?id=1033714"
  7910. SpecialMesh922.Scale = Vector3.new(7, 13, 7)
  7911. SpecialMesh922.MeshType = Enum.MeshType.FileMesh
  7912. SpecialMesh922.Scale = Vector3.new(7, 13, 7)
  7913. Script923.Name = "Function"
  7914. Script923.Parent = Model918
  7915. table.insert(cors,sandbox(Script923,function()
  7916. local on = false
  7917.  
  7918. function check()
  7919. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  7920. if ((n > 6) and (n < 18)) then
  7921. if (on) then
  7922. on = false
  7923. wait(math.random()*5)
  7924. for i = 1,5 do
  7925. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  7926. wait()
  7927. end
  7928. script.Parent.Light.Transparency = 1
  7929. end
  7930. elseif not (on) then
  7931. on = true
  7932. wait(math.random()*5)
  7933. for i = 1,5 do
  7934. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  7935. wait()
  7936. end
  7937. script.Parent.Light.Transparency = 0.5
  7938. end
  7939. end
  7940.  
  7941. game.Lighting.LightingChanged:connect(check)
  7942. check()
  7943. end))
  7944. Part924.Name = "LightSocket"
  7945. Part924.Parent = Model918
  7946. Part924.BrickColor = BrickColor.new("Dark stone grey")
  7947. Part924.Anchored = true
  7948. Part924.FormFactor = Enum.FormFactor.Symmetric
  7949. Part924.Size = Vector3.new(2, 1, 2)
  7950. Part924.CFrame = CFrame.new(78.3999863, 18.8121414, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7951. Part924.BottomSurface = Enum.SurfaceType.Smooth
  7952. Part924.TopSurface = Enum.SurfaceType.Smooth
  7953. Part924.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7954. Part924.Position = Vector3.new(78.3999863, 18.8121414, -146.600006)
  7955. Part924.Color = Color3.new(0.388235, 0.372549, 0.384314)
  7956. CylinderMesh925.Parent = Part924
  7957. CylinderMesh925.Offset = Vector3.new(0, 0.600000024, 0)
  7958. CylinderMesh925.Scale = Vector3.new(1, 0.5, 1)
  7959. CylinderMesh925.Scale = Vector3.new(1, 0.5, 1)
  7960. Model926.Name = "Door"
  7961. Model926.Parent = Model868
  7962. Part927.Name = "Bar"
  7963. Part927.Parent = Model926
  7964. Part927.Reflectance = 0.15000000596046
  7965. Part927.Anchored = true
  7966. Part927.FormFactor = Enum.FormFactor.Symmetric
  7967. Part927.Size = Vector3.new(1, 9, 1)
  7968. Part927.CFrame = CFrame.new(82.8999939, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7969. Part927.BottomSurface = Enum.SurfaceType.Smooth
  7970. Part927.TopSurface = Enum.SurfaceType.Smooth
  7971. Part927.Position = Vector3.new(82.8999939, 14.2121134, -139.100006)
  7972. CylinderMesh928.Parent = Part927
  7973. CylinderMesh928.Scale = Vector3.new(0.5, 1, 1)
  7974. CylinderMesh928.Scale = Vector3.new(0.5, 1, 1)
  7975. Part929.Name = "Bar"
  7976. Part929.Parent = Model926
  7977. Part929.Reflectance = 0.15000000596046
  7978. Part929.Anchored = true
  7979. Part929.FormFactor = Enum.FormFactor.Symmetric
  7980. Part929.Size = Vector3.new(1, 9, 1)
  7981. Part929.CFrame = CFrame.new(81.8999786, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7982. Part929.BottomSurface = Enum.SurfaceType.Smooth
  7983. Part929.TopSurface = Enum.SurfaceType.Smooth
  7984. Part929.Position = Vector3.new(81.8999786, 14.2121134, -139.100006)
  7985. CylinderMesh930.Parent = Part929
  7986. CylinderMesh930.Scale = Vector3.new(0.5, 1, 1)
  7987. CylinderMesh930.Scale = Vector3.new(0.5, 1, 1)
  7988. Part931.Name = "Bar"
  7989. Part931.Parent = Model926
  7990. Part931.Reflectance = 0.15000000596046
  7991. Part931.Anchored = true
  7992. Part931.FormFactor = Enum.FormFactor.Symmetric
  7993. Part931.Size = Vector3.new(1, 9, 1)
  7994. Part931.CFrame = CFrame.new(80.9000015, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  7995. Part931.BottomSurface = Enum.SurfaceType.Smooth
  7996. Part931.TopSurface = Enum.SurfaceType.Smooth
  7997. Part931.Position = Vector3.new(80.9000015, 14.2121134, -139.100006)
  7998. CylinderMesh932.Parent = Part931
  7999. CylinderMesh932.Scale = Vector3.new(0.5, 1, 1)
  8000. CylinderMesh932.Scale = Vector3.new(0.5, 1, 1)
  8001. Part933.Name = "Bar"
  8002. Part933.Parent = Model926
  8003. Part933.Reflectance = 0.15000000596046
  8004. Part933.Anchored = true
  8005. Part933.FormFactor = Enum.FormFactor.Symmetric
  8006. Part933.Size = Vector3.new(1, 9, 1)
  8007. Part933.CFrame = CFrame.new(79.8999863, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8008. Part933.BottomSurface = Enum.SurfaceType.Smooth
  8009. Part933.TopSurface = Enum.SurfaceType.Smooth
  8010. Part933.Position = Vector3.new(79.8999863, 14.2121134, -139.100006)
  8011. CylinderMesh934.Parent = Part933
  8012. CylinderMesh934.Scale = Vector3.new(0.5, 1, 1)
  8013. CylinderMesh934.Scale = Vector3.new(0.5, 1, 1)
  8014. Part935.Name = "Bar"
  8015. Part935.Parent = Model926
  8016. Part935.Reflectance = 0.15000000596046
  8017. Part935.Anchored = true
  8018. Part935.FormFactor = Enum.FormFactor.Symmetric
  8019. Part935.Size = Vector3.new(1, 9, 1)
  8020. Part935.CFrame = CFrame.new(78.8999863, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8021. Part935.BottomSurface = Enum.SurfaceType.Smooth
  8022. Part935.TopSurface = Enum.SurfaceType.Smooth
  8023. Part935.Position = Vector3.new(78.8999863, 14.2121134, -139.100006)
  8024. CylinderMesh936.Parent = Part935
  8025. CylinderMesh936.Scale = Vector3.new(0.5, 1, 1)
  8026. CylinderMesh936.Scale = Vector3.new(0.5, 1, 1)
  8027. Part937.Name = "Bar"
  8028. Part937.Parent = Model926
  8029. Part937.Reflectance = 0.15000000596046
  8030. Part937.Anchored = true
  8031. Part937.FormFactor = Enum.FormFactor.Symmetric
  8032. Part937.Size = Vector3.new(1, 9, 1)
  8033. Part937.CFrame = CFrame.new(77.8999863, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8034. Part937.BottomSurface = Enum.SurfaceType.Smooth
  8035. Part937.TopSurface = Enum.SurfaceType.Smooth
  8036. Part937.Position = Vector3.new(77.8999863, 14.2121134, -139.100006)
  8037. CylinderMesh938.Parent = Part937
  8038. CylinderMesh938.Scale = Vector3.new(0.5, 1, 1)
  8039. CylinderMesh938.Scale = Vector3.new(0.5, 1, 1)
  8040. Script939.Name = "Main"
  8041. Script939.Parent = Model926
  8042. table.insert(cors,sandbox(Script939,function()
  8043. local _items = {}
  8044.  
  8045. local door = -1
  8046. -- -1 = Closed
  8047. -- 0 = Active
  8048. -- 1 = Open
  8049.  
  8050. function getItems()
  8051. for _,v in pairs(script.Parent:GetChildren()) do
  8052. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  8053. table.insert(_items,v)
  8054. end
  8055. end
  8056. end
  8057.  
  8058. function main()
  8059. local d = door
  8060. door = 0
  8061. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  8062. for i = 0,5,0.05 do
  8063. for _,v in pairs(_items) do
  8064. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  8065. end
  8066. wait()
  8067. end
  8068. if (d == (-1)) then
  8069. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  8070. elseif (d == 1) then
  8071. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  8072. end
  8073. door = d
  8074. end
  8075.  
  8076. script.Parent.Button.Click.MouseClick:connect(function()
  8077. if (door == 0) then return end
  8078. door = (door*(-1))
  8079. main()
  8080. end)
  8081.  
  8082. getItems()
  8083. end))
  8084. Part940.Name = "Button"
  8085. Part940.Parent = Model926
  8086. Part940.BrickColor = BrickColor.new("Really red")
  8087. Part940.Reflectance = 0.20000000298023
  8088. Part940.Transparency = 0.5
  8089. Part940.Rotation = Vector3.new(90, 0, -180)
  8090. Part940.Anchored = true
  8091. Part940.FormFactor = Enum.FormFactor.Plate
  8092. Part940.Size = Vector3.new(1, 0.400000006, 1)
  8093. Part940.CFrame = CFrame.new(75.8999863, 14.2120914, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  8094. Part940.BottomSurface = Enum.SurfaceType.Smooth
  8095. Part940.TopSurface = Enum.SurfaceType.Smooth
  8096. Part940.Color = Color3.new(1, 0, 0)
  8097. Part940.Position = Vector3.new(75.8999863, 14.2120914, -138.399994)
  8098. Part940.Orientation = Vector3.new(90, 180, 0)
  8099. Part940.Color = Color3.new(1, 0, 0)
  8100. BlockMesh941.Parent = Part940
  8101. CylinderMesh942.Parent = Part940
  8102. CylinderMesh942.Offset = Vector3.new(0, 0.150000006, 0)
  8103. CylinderMesh942.Scale = Vector3.new(1, 0.200000003, 1)
  8104. CylinderMesh942.Scale = Vector3.new(1, 0.200000003, 1)
  8105. ClickDetector943.Name = "Click"
  8106. ClickDetector943.Parent = Part940
  8107. Model944.Name = "PrisonCell"
  8108. Model944.Parent = Model1
  8109. Model945.Name = "Exterior"
  8110. Model945.Parent = Model944
  8111. Model946.Name = "Top"
  8112. Model946.Parent = Model945
  8113. Part947.Name = "Ceiling"
  8114. Part947.Parent = Model946
  8115. Part947.BrickColor = BrickColor.new("Brick yellow")
  8116. Part947.Anchored = true
  8117. Part947.FormFactor = Enum.FormFactor.Plate
  8118. Part947.Size = Vector3.new(12, 0.400000006, 14)
  8119. Part947.CFrame = CFrame.new(134.399994, 33.3122063, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8120. Part947.BottomSurface = Enum.SurfaceType.Smooth
  8121. Part947.TopSurface = Enum.SurfaceType.Smooth
  8122. Part947.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8123. Part947.Position = Vector3.new(134.399994, 33.3122063, -146.599991)
  8124. Part947.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8125. BlockMesh948.Parent = Part947
  8126. Part949.Name = "Top"
  8127. Part949.Parent = Model946
  8128. Part949.BrickColor = BrickColor.new("Dark stone grey")
  8129. Part949.Anchored = true
  8130. Part949.FormFactor = Enum.FormFactor.Symmetric
  8131. Part949.Size = Vector3.new(14, 1, 16)
  8132. Part949.CFrame = CFrame.new(134.399994, 34.012207, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8133. Part949.BottomSurface = Enum.SurfaceType.Smooth
  8134. Part949.TopSurface = Enum.SurfaceType.Smooth
  8135. Part949.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8136. Part949.Position = Vector3.new(134.399994, 34.012207, -146.599991)
  8137. Part949.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8138. BlockMesh950.Parent = Part949
  8139. Model951.Name = "Walls"
  8140. Model951.Parent = Model945
  8141. Part952.Parent = Model951
  8142. Part952.BrickColor = BrickColor.new("Dark stone grey")
  8143. Part952.Anchored = true
  8144. Part952.FormFactor = Enum.FormFactor.Symmetric
  8145. Part952.Size = Vector3.new(6, 1, 1)
  8146. Part952.CFrame = CFrame.new(136.399994, 33.0122108, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8147. Part952.BottomSurface = Enum.SurfaceType.Smooth
  8148. Part952.TopSurface = Enum.SurfaceType.Smooth
  8149. Part952.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8150. Part952.Position = Vector3.new(136.399994, 33.0122108, -139.099991)
  8151. Part952.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8152. BlockMesh953.Parent = Part952
  8153. Part954.Parent = Model951
  8154. Part954.BrickColor = BrickColor.new("Dark stone grey")
  8155. Part954.Anchored = true
  8156. Part954.FormFactor = Enum.FormFactor.Symmetric
  8157. Part954.Size = Vector3.new(6, 10, 1)
  8158. Part954.CFrame = CFrame.new(130.399994, 28.5121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8159. Part954.BottomSurface = Enum.SurfaceType.Smooth
  8160. Part954.TopSurface = Enum.SurfaceType.Smooth
  8161. Part954.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8162. Part954.Position = Vector3.new(130.399994, 28.5121994, -139.099991)
  8163. Part954.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8164. BlockMesh955.Parent = Part954
  8165. Part956.Parent = Model951
  8166. Part956.BrickColor = BrickColor.new("Dark stone grey")
  8167. Part956.Rotation = Vector3.new(-180, 0, -180)
  8168. Part956.Anchored = true
  8169. Part956.FormFactor = Enum.FormFactor.Symmetric
  8170. Part956.Size = Vector3.new(1, 10, 14)
  8171. Part956.CFrame = CFrame.new(127.899986, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8172. Part956.BottomSurface = Enum.SurfaceType.Smooth
  8173. Part956.TopSurface = Enum.SurfaceType.Smooth
  8174. Part956.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8175. Part956.Position = Vector3.new(127.899986, 28.5121994, -146.599991)
  8176. Part956.Orientation = Vector3.new(0, 180, 0)
  8177. Part956.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8178. BlockMesh957.Parent = Part956
  8179. Part958.Parent = Model951
  8180. Part958.BrickColor = BrickColor.new("Dark stone grey")
  8181. Part958.Rotation = Vector3.new(0, -90, 0)
  8182. Part958.Anchored = true
  8183. Part958.FormFactor = Enum.FormFactor.Symmetric
  8184. Part958.Size = Vector3.new(1, 10, 14)
  8185. Part958.CFrame = CFrame.new(134.399994, 28.5121994, -154.099991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8186. Part958.BottomSurface = Enum.SurfaceType.Smooth
  8187. Part958.TopSurface = Enum.SurfaceType.Smooth
  8188. Part958.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8189. Part958.Position = Vector3.new(134.399994, 28.5121994, -154.099991)
  8190. Part958.Orientation = Vector3.new(0, -90, 0)
  8191. Part958.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8192. BlockMesh959.Parent = Part958
  8193. Part960.Parent = Model951
  8194. Part960.BrickColor = BrickColor.new("Dark stone grey")
  8195. Part960.Rotation = Vector3.new(-180, 0, -180)
  8196. Part960.Anchored = true
  8197. Part960.FormFactor = Enum.FormFactor.Symmetric
  8198. Part960.Size = Vector3.new(1, 10, 14)
  8199. Part960.CFrame = CFrame.new(140.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8200. Part960.BottomSurface = Enum.SurfaceType.Smooth
  8201. Part960.TopSurface = Enum.SurfaceType.Smooth
  8202. Part960.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8203. Part960.Position = Vector3.new(140.899994, 28.5121994, -146.599991)
  8204. Part960.Orientation = Vector3.new(0, 180, 0)
  8205. Part960.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8206. BlockMesh961.Parent = Part960
  8207. Part962.Parent = Model951
  8208. Part962.BrickColor = BrickColor.new("Dark stone grey")
  8209. Part962.Rotation = Vector3.new(0, 90, 0)
  8210. Part962.Anchored = true
  8211. Part962.FormFactor = Enum.FormFactor.Symmetric
  8212. Part962.Size = Vector3.new(1, 10, 2)
  8213. Part962.CFrame = CFrame.new(140.399994, 28.5121994, -139.099991, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  8214. Part962.BottomSurface = Enum.SurfaceType.Smooth
  8215. Part962.TopSurface = Enum.SurfaceType.Smooth
  8216. Part962.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8217. Part962.Position = Vector3.new(140.399994, 28.5121994, -139.099991)
  8218. Part962.Orientation = Vector3.new(0, 90, 0)
  8219. Part962.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8220. BlockMesh963.Parent = Part962
  8221. Model964.Name = "Floor"
  8222. Model964.Parent = Model945
  8223. Part965.Name = "Floor"
  8224. Part965.Parent = Model964
  8225. Part965.BrickColor = BrickColor.new("Brick yellow")
  8226. Part965.Anchored = true
  8227. Part965.FormFactor = Enum.FormFactor.Plate
  8228. Part965.Size = Vector3.new(12, 0.400000006, 14)
  8229. Part965.CFrame = CFrame.new(134.399994, 23.7121944, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8230. Part965.BottomSurface = Enum.SurfaceType.Smooth
  8231. Part965.TopSurface = Enum.SurfaceType.Smooth
  8232. Part965.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8233. Part965.Position = Vector3.new(134.399994, 23.7121944, -146.599991)
  8234. Part965.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8235. BlockMesh966.Parent = Part965
  8236. Part967.Name = "Floor"
  8237. Part967.Parent = Model964
  8238. Part967.BrickColor = BrickColor.new("Brick yellow")
  8239. Part967.Anchored = true
  8240. Part967.CanCollide = false
  8241. Part967.FormFactor = Enum.FormFactor.Plate
  8242. Part967.Size = Vector3.new(6, 0.400000006, 1)
  8243. Part967.CFrame = CFrame.new(136.399994, 24.1122017, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8244. Part967.BottomSurface = Enum.SurfaceType.Smooth
  8245. Part967.TopSurface = Enum.SurfaceType.Smooth
  8246. Part967.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8247. Part967.Position = Vector3.new(136.399994, 24.1122017, -140.099991)
  8248. Part967.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8249. BlockMesh968.Parent = Part967
  8250. BlockMesh968.Offset = Vector3.new(0, -0.400000006, 1)
  8251. Model969.Name = "Items"
  8252. Model969.Parent = Model944
  8253. Model970.Name = "Furnish"
  8254. Model970.Parent = Model969
  8255. Model971.Name = "Bed"
  8256. Model971.Parent = Model970
  8257. Part972.Name = "Pole"
  8258. Part972.Parent = Model971
  8259. Part972.BrickColor = BrickColor.new("Mid gray")
  8260. Part972.Reflectance = 0.15000000596046
  8261. Part972.Anchored = true
  8262. Part972.CanCollide = false
  8263. Part972.FormFactor = Enum.FormFactor.Symmetric
  8264. Part972.Size = Vector3.new(1, 5, 1)
  8265. Part972.CFrame = CFrame.new(128.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8266. Part972.BottomSurface = Enum.SurfaceType.Smooth
  8267. Part972.TopSurface = Enum.SurfaceType.Smooth
  8268. Part972.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8269. Part972.Position = Vector3.new(128.899994, 26.4121971, -140.099991)
  8270. Part972.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8271. CylinderMesh973.Parent = Part972
  8272. CylinderMesh973.Scale = Vector3.new(0.5, 1, 0.5)
  8273. CylinderMesh973.Scale = Vector3.new(0.5, 1, 0.5)
  8274. Part974.Name = "Pole"
  8275. Part974.Parent = Model971
  8276. Part974.BrickColor = BrickColor.new("Mid gray")
  8277. Part974.Reflectance = 0.15000000596046
  8278. Part974.Anchored = true
  8279. Part974.CanCollide = false
  8280. Part974.FormFactor = Enum.FormFactor.Symmetric
  8281. Part974.Size = Vector3.new(1, 5, 1)
  8282. Part974.CFrame = CFrame.new(128.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8283. Part974.BottomSurface = Enum.SurfaceType.Smooth
  8284. Part974.TopSurface = Enum.SurfaceType.Smooth
  8285. Part974.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8286. Part974.Position = Vector3.new(128.899994, 26.4121971, -147.099991)
  8287. Part974.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8288. CylinderMesh975.Parent = Part974
  8289. CylinderMesh975.Scale = Vector3.new(0.5, 1, 0.5)
  8290. CylinderMesh975.Scale = Vector3.new(0.5, 1, 0.5)
  8291. Part976.Name = "Pole"
  8292. Part976.Parent = Model971
  8293. Part976.BrickColor = BrickColor.new("Mid gray")
  8294. Part976.Reflectance = 0.15000000596046
  8295. Part976.Anchored = true
  8296. Part976.CanCollide = false
  8297. Part976.FormFactor = Enum.FormFactor.Symmetric
  8298. Part976.Size = Vector3.new(1, 5, 1)
  8299. Part976.CFrame = CFrame.new(132.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8300. Part976.BottomSurface = Enum.SurfaceType.Smooth
  8301. Part976.TopSurface = Enum.SurfaceType.Smooth
  8302. Part976.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8303. Part976.Position = Vector3.new(132.899994, 26.4121971, -147.099991)
  8304. Part976.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8305. CylinderMesh977.Parent = Part976
  8306. CylinderMesh977.Scale = Vector3.new(0.5, 1, 0.5)
  8307. CylinderMesh977.Scale = Vector3.new(0.5, 1, 0.5)
  8308. Part978.Name = "Pole"
  8309. Part978.Parent = Model971
  8310. Part978.BrickColor = BrickColor.new("Mid gray")
  8311. Part978.Reflectance = 0.15000000596046
  8312. Part978.Anchored = true
  8313. Part978.CanCollide = false
  8314. Part978.FormFactor = Enum.FormFactor.Symmetric
  8315. Part978.Size = Vector3.new(1, 5, 1)
  8316. Part978.CFrame = CFrame.new(132.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8317. Part978.BottomSurface = Enum.SurfaceType.Smooth
  8318. Part978.TopSurface = Enum.SurfaceType.Smooth
  8319. Part978.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8320. Part978.Position = Vector3.new(132.899994, 26.4121971, -140.099991)
  8321. Part978.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8322. CylinderMesh979.Parent = Part978
  8323. CylinderMesh979.Scale = Vector3.new(0.5, 1, 0.5)
  8324. CylinderMesh979.Scale = Vector3.new(0.5, 1, 0.5)
  8325. Part980.Parent = Model971
  8326. Part980.BrickColor = BrickColor.new("Institutional white")
  8327. Part980.Rotation = Vector3.new(-180, 0, -180)
  8328. Part980.Anchored = true
  8329. Part980.FormFactor = Enum.FormFactor.Symmetric
  8330. Part980.Size = Vector3.new(3, 1, 6)
  8331. Part980.CFrame = CFrame.new(130.899994, 27.6122017, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8332. Part980.BottomSurface = Enum.SurfaceType.Smooth
  8333. Part980.TopSurface = Enum.SurfaceType.Smooth
  8334. Part980.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8335. Part980.Position = Vector3.new(130.899994, 27.6122017, -143.599991)
  8336. Part980.Orientation = Vector3.new(0, 180, 0)
  8337. Part980.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8338. BlockMesh981.Parent = Part980
  8339. BlockMesh981.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  8340. BlockMesh981.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  8341. Part982.Parent = Model971
  8342. Part982.BrickColor = BrickColor.new("Institutional white")
  8343. Part982.Rotation = Vector3.new(-180, 0, -180)
  8344. Part982.Anchored = true
  8345. Part982.FormFactor = Enum.FormFactor.Symmetric
  8346. Part982.Size = Vector3.new(3, 1, 6)
  8347. Part982.CFrame = CFrame.new(130.899994, 24.4121971, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8348. Part982.BottomSurface = Enum.SurfaceType.Smooth
  8349. Part982.TopSurface = Enum.SurfaceType.Smooth
  8350. Part982.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8351. Part982.Position = Vector3.new(130.899994, 24.4121971, -143.599991)
  8352. Part982.Orientation = Vector3.new(0, 180, 0)
  8353. Part982.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8354. BlockMesh983.Parent = Part982
  8355. BlockMesh983.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  8356. BlockMesh983.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  8357. Model984.Name = "Toilet"
  8358. Model984.Parent = Model970
  8359. Part985.Parent = Model984
  8360. Part985.BrickColor = BrickColor.new("Mid gray")
  8361. Part985.Rotation = Vector3.new(0, -90, 0)
  8362. Part985.Anchored = true
  8363. Part985.FormFactor = Enum.FormFactor.Symmetric
  8364. Part985.Size = Vector3.new(2, 3, 1)
  8365. Part985.CFrame = CFrame.new(128.899994, 26.4121971, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8366. Part985.BottomSurface = Enum.SurfaceType.Smooth
  8367. Part985.TopSurface = Enum.SurfaceType.Smooth
  8368. Part985.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8369. Part985.Position = Vector3.new(128.899994, 26.4121971, -150.599991)
  8370. Part985.Orientation = Vector3.new(0, -90, 0)
  8371. Part985.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8372. BlockMesh986.Parent = Part985
  8373. BlockMesh986.Scale = Vector3.new(1.5, 1, 1)
  8374. BlockMesh986.Scale = Vector3.new(1.5, 1, 1)
  8375. Part987.Parent = Model984
  8376. Part987.BrickColor = BrickColor.new("Mid gray")
  8377. Part987.Rotation = Vector3.new(0, -90, 0)
  8378. Part987.Anchored = true
  8379. Part987.FormFactor = Enum.FormFactor.Symmetric
  8380. Part987.Size = Vector3.new(2, 1, 3)
  8381. Part987.CFrame = CFrame.new(129.899994, 24.4121971, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8382. Part987.BottomSurface = Enum.SurfaceType.Smooth
  8383. Part987.TopSurface = Enum.SurfaceType.Smooth
  8384. Part987.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8385. Part987.Position = Vector3.new(129.899994, 24.4121971, -150.599991)
  8386. Part987.Orientation = Vector3.new(0, -90, 0)
  8387. Part987.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8388. BlockMesh988.Parent = Part987
  8389. Part989.Parent = Model984
  8390. Part989.BrickColor = BrickColor.new("Light stone grey")
  8391. Part989.Rotation = Vector3.new(0, -90, 0)
  8392. Part989.Anchored = true
  8393. Part989.FormFactor = Enum.FormFactor.Plate
  8394. Part989.Size = Vector3.new(2, 0.400000006, 2)
  8395. Part989.CFrame = CFrame.new(130.399994, 25.1122017, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8396. Part989.BottomSurface = Enum.SurfaceType.Smooth
  8397. Part989.TopSurface = Enum.SurfaceType.Smooth
  8398. Part989.Color = Color3.new(0.898039, 0.894118, 0.87451)
  8399. Part989.Position = Vector3.new(130.399994, 25.1122017, -150.599991)
  8400. Part989.Orientation = Vector3.new(0, -90, 0)
  8401. Part989.Color = Color3.new(0.898039, 0.894118, 0.87451)
  8402. SpecialMesh990.Parent = Part989
  8403. SpecialMesh990.Scale = Vector3.new(1.5, 2, 2)
  8404. SpecialMesh990.MeshType = Enum.MeshType.Sphere
  8405. SpecialMesh990.Scale = Vector3.new(1.5, 2, 2)
  8406. Part991.Name = "Pole"
  8407. Part991.Parent = Model970
  8408. Part991.BrickColor = BrickColor.new("Mid gray")
  8409. Part991.Reflectance = 0.15000000596046
  8410. Part991.Rotation = Vector3.new(0, 0, -90)
  8411. Part991.Anchored = true
  8412. Part991.CanCollide = false
  8413. Part991.FormFactor = Enum.FormFactor.Symmetric
  8414. Part991.Size = Vector3.new(1, 12, 1)
  8415. Part991.CFrame = CFrame.new(134.399994, 27.4121971, -153.099991, 0, 1, -0, -1, 0, 0, 0, 0, 1)
  8416. Part991.BottomSurface = Enum.SurfaceType.Smooth
  8417. Part991.TopSurface = Enum.SurfaceType.Smooth
  8418. Part991.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8419. Part991.Position = Vector3.new(134.399994, 27.4121971, -153.099991)
  8420. Part991.Orientation = Vector3.new(0, 0, -90)
  8421. Part991.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8422. CylinderMesh992.Parent = Part991
  8423. CylinderMesh992.Scale = Vector3.new(0.5, 1, 0.5)
  8424. CylinderMesh992.Scale = Vector3.new(0.5, 1, 0.5)
  8425. Model993.Name = "Functions"
  8426. Model993.Parent = Model969
  8427. Model994.Name = "Light"
  8428. Model994.Parent = Model993
  8429. Part995.Name = "Lightbulb"
  8430. Part995.Parent = Model994
  8431. Part995.Transparency = 0.5
  8432. Part995.Rotation = Vector3.new(180, 90, 0)
  8433. Part995.Anchored = true
  8434. Part995.CanCollide = false
  8435. Part995.FormFactor = Enum.FormFactor.Symmetric
  8436. Part995.Size = Vector3.new(2, 1, 2)
  8437. Part995.CFrame = CFrame.new(134.399994, 32.6122093, -146.599991, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  8438. Part995.BackSurface = Enum.SurfaceType.Weld
  8439. Part995.BottomSurface = Enum.SurfaceType.Weld
  8440. Part995.FrontSurface = Enum.SurfaceType.Weld
  8441. Part995.LeftSurface = Enum.SurfaceType.Weld
  8442. Part995.RightSurface = Enum.SurfaceType.Weld
  8443. Part995.TopSurface = Enum.SurfaceType.Weld
  8444. Part995.Position = Vector3.new(134.399994, 32.6122093, -146.599991)
  8445. Part995.Orientation = Vector3.new(0, 90, 180)
  8446. SpecialMesh996.Parent = Part995
  8447. SpecialMesh996.MeshId = "http://www.roblox.com/asset/?id=1376459"
  8448. SpecialMesh996.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  8449. SpecialMesh996.TextureId = "http://www.roblox.com/asset/?id=1376456"
  8450. SpecialMesh996.MeshType = Enum.MeshType.FileMesh
  8451. SpecialMesh996.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  8452. Part997.Name = "Light"
  8453. Part997.Parent = Model994
  8454. Part997.BrickColor = BrickColor.new("Cool yellow")
  8455. Part997.Transparency = 1
  8456. Part997.Anchored = true
  8457. Part997.CanCollide = false
  8458. Part997.FormFactor = Enum.FormFactor.Symmetric
  8459. Part997.Size = Vector3.new(2, 8, 2)
  8460. Part997.CFrame = CFrame.new(134.399994, 28.1122017, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8461. Part997.Color = Color3.new(0.992157, 0.917647, 0.552941)
  8462. Part997.Position = Vector3.new(134.399994, 28.1122017, -146.599991)
  8463. Part997.Color = Color3.new(0.992157, 0.917647, 0.552941)
  8464. SpecialMesh998.Parent = Part997
  8465. SpecialMesh998.MeshId = "http://www.roblox.com/asset/?id=1033714"
  8466. SpecialMesh998.Scale = Vector3.new(7, 13, 7)
  8467. SpecialMesh998.MeshType = Enum.MeshType.FileMesh
  8468. SpecialMesh998.Scale = Vector3.new(7, 13, 7)
  8469. Script999.Name = "Function"
  8470. Script999.Parent = Model994
  8471. table.insert(cors,sandbox(Script999,function()
  8472. local on = false
  8473.  
  8474. function check()
  8475. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  8476. if ((n > 6) and (n < 18)) then
  8477. if (on) then
  8478. on = false
  8479. wait(math.random()*5)
  8480. for i = 1,5 do
  8481. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  8482. wait()
  8483. end
  8484. script.Parent.Light.Transparency = 1
  8485. end
  8486. elseif not (on) then
  8487. on = true
  8488. wait(math.random()*5)
  8489. for i = 1,5 do
  8490. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  8491. wait()
  8492. end
  8493. script.Parent.Light.Transparency = 0.5
  8494. end
  8495. end
  8496.  
  8497. game.Lighting.LightingChanged:connect(check)
  8498. check()
  8499. end))
  8500. Part1000.Name = "LightSocket"
  8501. Part1000.Parent = Model994
  8502. Part1000.BrickColor = BrickColor.new("Dark stone grey")
  8503. Part1000.Anchored = true
  8504. Part1000.FormFactor = Enum.FormFactor.Symmetric
  8505. Part1000.Size = Vector3.new(2, 1, 2)
  8506. Part1000.CFrame = CFrame.new(134.399994, 32.6122093, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8507. Part1000.BottomSurface = Enum.SurfaceType.Smooth
  8508. Part1000.TopSurface = Enum.SurfaceType.Smooth
  8509. Part1000.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8510. Part1000.Position = Vector3.new(134.399994, 32.6122093, -146.599991)
  8511. Part1000.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8512. CylinderMesh1001.Parent = Part1000
  8513. CylinderMesh1001.Offset = Vector3.new(0, 0.600000024, 0)
  8514. CylinderMesh1001.Scale = Vector3.new(1, 0.5, 1)
  8515. CylinderMesh1001.Scale = Vector3.new(1, 0.5, 1)
  8516. Model1002.Name = "Door"
  8517. Model1002.Parent = Model944
  8518. Part1003.Name = "Bar"
  8519. Part1003.Parent = Model1002
  8520. Part1003.Reflectance = 0.15000000596046
  8521. Part1003.Anchored = true
  8522. Part1003.FormFactor = Enum.FormFactor.Symmetric
  8523. Part1003.Size = Vector3.new(1, 9, 1)
  8524. Part1003.CFrame = CFrame.new(138.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8525. Part1003.BottomSurface = Enum.SurfaceType.Smooth
  8526. Part1003.TopSurface = Enum.SurfaceType.Smooth
  8527. Part1003.Position = Vector3.new(138.899994, 28.0121994, -139.099991)
  8528. CylinderMesh1004.Parent = Part1003
  8529. CylinderMesh1004.Scale = Vector3.new(0.5, 1, 1)
  8530. CylinderMesh1004.Scale = Vector3.new(0.5, 1, 1)
  8531. Part1005.Name = "Bar"
  8532. Part1005.Parent = Model1002
  8533. Part1005.Reflectance = 0.15000000596046
  8534. Part1005.Anchored = true
  8535. Part1005.FormFactor = Enum.FormFactor.Symmetric
  8536. Part1005.Size = Vector3.new(1, 9, 1)
  8537. Part1005.CFrame = CFrame.new(137.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8538. Part1005.BottomSurface = Enum.SurfaceType.Smooth
  8539. Part1005.TopSurface = Enum.SurfaceType.Smooth
  8540. Part1005.Position = Vector3.new(137.899994, 28.0121994, -139.099991)
  8541. CylinderMesh1006.Parent = Part1005
  8542. CylinderMesh1006.Scale = Vector3.new(0.5, 1, 1)
  8543. CylinderMesh1006.Scale = Vector3.new(0.5, 1, 1)
  8544. Part1007.Name = "Bar"
  8545. Part1007.Parent = Model1002
  8546. Part1007.Reflectance = 0.15000000596046
  8547. Part1007.Anchored = true
  8548. Part1007.FormFactor = Enum.FormFactor.Symmetric
  8549. Part1007.Size = Vector3.new(1, 9, 1)
  8550. Part1007.CFrame = CFrame.new(136.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8551. Part1007.BottomSurface = Enum.SurfaceType.Smooth
  8552. Part1007.TopSurface = Enum.SurfaceType.Smooth
  8553. Part1007.Position = Vector3.new(136.899994, 28.0121994, -139.099991)
  8554. CylinderMesh1008.Parent = Part1007
  8555. CylinderMesh1008.Scale = Vector3.new(0.5, 1, 1)
  8556. CylinderMesh1008.Scale = Vector3.new(0.5, 1, 1)
  8557. Part1009.Name = "Bar"
  8558. Part1009.Parent = Model1002
  8559. Part1009.Reflectance = 0.15000000596046
  8560. Part1009.Anchored = true
  8561. Part1009.FormFactor = Enum.FormFactor.Symmetric
  8562. Part1009.Size = Vector3.new(1, 9, 1)
  8563. Part1009.CFrame = CFrame.new(135.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8564. Part1009.BottomSurface = Enum.SurfaceType.Smooth
  8565. Part1009.TopSurface = Enum.SurfaceType.Smooth
  8566. Part1009.Position = Vector3.new(135.899994, 28.0121994, -139.099991)
  8567. CylinderMesh1010.Parent = Part1009
  8568. CylinderMesh1010.Scale = Vector3.new(0.5, 1, 1)
  8569. CylinderMesh1010.Scale = Vector3.new(0.5, 1, 1)
  8570. Part1011.Name = "Bar"
  8571. Part1011.Parent = Model1002
  8572. Part1011.Reflectance = 0.15000000596046
  8573. Part1011.Anchored = true
  8574. Part1011.FormFactor = Enum.FormFactor.Symmetric
  8575. Part1011.Size = Vector3.new(1, 9, 1)
  8576. Part1011.CFrame = CFrame.new(134.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8577. Part1011.BottomSurface = Enum.SurfaceType.Smooth
  8578. Part1011.TopSurface = Enum.SurfaceType.Smooth
  8579. Part1011.Position = Vector3.new(134.899994, 28.0121994, -139.099991)
  8580. CylinderMesh1012.Parent = Part1011
  8581. CylinderMesh1012.Scale = Vector3.new(0.5, 1, 1)
  8582. CylinderMesh1012.Scale = Vector3.new(0.5, 1, 1)
  8583. Part1013.Name = "Bar"
  8584. Part1013.Parent = Model1002
  8585. Part1013.Reflectance = 0.15000000596046
  8586. Part1013.Anchored = true
  8587. Part1013.FormFactor = Enum.FormFactor.Symmetric
  8588. Part1013.Size = Vector3.new(1, 9, 1)
  8589. Part1013.CFrame = CFrame.new(133.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8590. Part1013.BottomSurface = Enum.SurfaceType.Smooth
  8591. Part1013.TopSurface = Enum.SurfaceType.Smooth
  8592. Part1013.Position = Vector3.new(133.899994, 28.0121994, -139.099991)
  8593. CylinderMesh1014.Parent = Part1013
  8594. CylinderMesh1014.Scale = Vector3.new(0.5, 1, 1)
  8595. CylinderMesh1014.Scale = Vector3.new(0.5, 1, 1)
  8596. Script1015.Name = "Main"
  8597. Script1015.Parent = Model1002
  8598. table.insert(cors,sandbox(Script1015,function()
  8599. local _items = {}
  8600.  
  8601. local door = -1
  8602. -- -1 = Closed
  8603. -- 0 = Active
  8604. -- 1 = Open
  8605.  
  8606. function getItems()
  8607. for _,v in pairs(script.Parent:GetChildren()) do
  8608. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  8609. table.insert(_items,v)
  8610. end
  8611. end
  8612. end
  8613.  
  8614. function main()
  8615. local d = door
  8616. door = 0
  8617. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  8618. for i = 0,5,0.05 do
  8619. for _,v in pairs(_items) do
  8620. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  8621. end
  8622. wait()
  8623. end
  8624. if (d == (-1)) then
  8625. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  8626. elseif (d == 1) then
  8627. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  8628. end
  8629. door = d
  8630. end
  8631.  
  8632. script.Parent.Button.Click.MouseClick:connect(function()
  8633. if (door == 0) then return end
  8634. door = (door*(-1))
  8635. main()
  8636. end)
  8637.  
  8638. getItems()
  8639. end))
  8640. Part1016.Name = "Button"
  8641. Part1016.Parent = Model1002
  8642. Part1016.BrickColor = BrickColor.new("Really red")
  8643. Part1016.Reflectance = 0.20000000298023
  8644. Part1016.Transparency = 0.5
  8645. Part1016.Rotation = Vector3.new(90, 0, -180)
  8646. Part1016.Anchored = true
  8647. Part1016.FormFactor = Enum.FormFactor.Plate
  8648. Part1016.Size = Vector3.new(1, 0.400000006, 1)
  8649. Part1016.CFrame = CFrame.new(131.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  8650. Part1016.BottomSurface = Enum.SurfaceType.Smooth
  8651. Part1016.TopSurface = Enum.SurfaceType.Smooth
  8652. Part1016.Color = Color3.new(1, 0, 0)
  8653. Part1016.Position = Vector3.new(131.899994, 28.0121784, -138.399994)
  8654. Part1016.Orientation = Vector3.new(90, 180, 0)
  8655. Part1016.Color = Color3.new(1, 0, 0)
  8656. BlockMesh1017.Parent = Part1016
  8657. CylinderMesh1018.Parent = Part1016
  8658. CylinderMesh1018.Offset = Vector3.new(0, 0.150000006, 0)
  8659. CylinderMesh1018.Scale = Vector3.new(1, 0.200000003, 1)
  8660. CylinderMesh1018.Scale = Vector3.new(1, 0.200000003, 1)
  8661. ClickDetector1019.Name = "Click"
  8662. ClickDetector1019.Parent = Part1016
  8663. Model1020.Name = "PrisonCell"
  8664. Model1020.Parent = Model1
  8665. Model1021.Name = "Exterior"
  8666. Model1021.Parent = Model1020
  8667. Model1022.Name = "Top"
  8668. Model1022.Parent = Model1021
  8669. Part1023.Name = "Ceiling"
  8670. Part1023.Parent = Model1022
  8671. Part1023.BrickColor = BrickColor.new("Brick yellow")
  8672. Part1023.Anchored = true
  8673. Part1023.FormFactor = Enum.FormFactor.Plate
  8674. Part1023.Size = Vector3.new(12, 0.400000006, 14)
  8675. Part1023.CFrame = CFrame.new(92.3999939, 33.3122101, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8676. Part1023.BottomSurface = Enum.SurfaceType.Smooth
  8677. Part1023.TopSurface = Enum.SurfaceType.Smooth
  8678. Part1023.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8679. Part1023.Position = Vector3.new(92.3999939, 33.3122101, -146.600006)
  8680. Part1023.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8681. BlockMesh1024.Parent = Part1023
  8682. Part1025.Name = "Top"
  8683. Part1025.Parent = Model1022
  8684. Part1025.BrickColor = BrickColor.new("Dark stone grey")
  8685. Part1025.Anchored = true
  8686. Part1025.FormFactor = Enum.FormFactor.Symmetric
  8687. Part1025.Size = Vector3.new(14, 1, 16)
  8688. Part1025.CFrame = CFrame.new(92.3999939, 34.0122032, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8689. Part1025.BottomSurface = Enum.SurfaceType.Smooth
  8690. Part1025.TopSurface = Enum.SurfaceType.Smooth
  8691. Part1025.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8692. Part1025.Position = Vector3.new(92.3999939, 34.0122032, -146.600006)
  8693. Part1025.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8694. BlockMesh1026.Parent = Part1025
  8695. Model1027.Name = "Walls"
  8696. Model1027.Parent = Model1021
  8697. Part1028.Parent = Model1027
  8698. Part1028.BrickColor = BrickColor.new("Dark stone grey")
  8699. Part1028.Anchored = true
  8700. Part1028.FormFactor = Enum.FormFactor.Symmetric
  8701. Part1028.Size = Vector3.new(6, 1, 1)
  8702. Part1028.CFrame = CFrame.new(94.3999939, 33.0122108, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8703. Part1028.BottomSurface = Enum.SurfaceType.Smooth
  8704. Part1028.TopSurface = Enum.SurfaceType.Smooth
  8705. Part1028.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8706. Part1028.Position = Vector3.new(94.3999939, 33.0122108, -139.099991)
  8707. Part1028.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8708. BlockMesh1029.Parent = Part1028
  8709. Part1030.Parent = Model1027
  8710. Part1030.BrickColor = BrickColor.new("Dark stone grey")
  8711. Part1030.Anchored = true
  8712. Part1030.FormFactor = Enum.FormFactor.Symmetric
  8713. Part1030.Size = Vector3.new(6, 10, 1)
  8714. Part1030.CFrame = CFrame.new(88.3999939, 28.5121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8715. Part1030.BottomSurface = Enum.SurfaceType.Smooth
  8716. Part1030.TopSurface = Enum.SurfaceType.Smooth
  8717. Part1030.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8718. Part1030.Position = Vector3.new(88.3999939, 28.5121994, -139.099991)
  8719. Part1030.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8720. BlockMesh1031.Parent = Part1030
  8721. Part1032.Parent = Model1027
  8722. Part1032.BrickColor = BrickColor.new("Dark stone grey")
  8723. Part1032.Rotation = Vector3.new(-180, 0, -180)
  8724. Part1032.Anchored = true
  8725. Part1032.FormFactor = Enum.FormFactor.Symmetric
  8726. Part1032.Size = Vector3.new(1, 10, 14)
  8727. Part1032.CFrame = CFrame.new(85.8999939, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8728. Part1032.BottomSurface = Enum.SurfaceType.Smooth
  8729. Part1032.TopSurface = Enum.SurfaceType.Smooth
  8730. Part1032.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8731. Part1032.Position = Vector3.new(85.8999939, 28.5121994, -146.600006)
  8732. Part1032.Orientation = Vector3.new(0, 180, 0)
  8733. Part1032.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8734. BlockMesh1033.Parent = Part1032
  8735. Part1034.Parent = Model1027
  8736. Part1034.BrickColor = BrickColor.new("Dark stone grey")
  8737. Part1034.Rotation = Vector3.new(0, -90, 0)
  8738. Part1034.Anchored = true
  8739. Part1034.FormFactor = Enum.FormFactor.Symmetric
  8740. Part1034.Size = Vector3.new(1, 10, 14)
  8741. Part1034.CFrame = CFrame.new(92.3999939, 28.5121994, -154.100006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8742. Part1034.BottomSurface = Enum.SurfaceType.Smooth
  8743. Part1034.TopSurface = Enum.SurfaceType.Smooth
  8744. Part1034.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8745. Part1034.Position = Vector3.new(92.3999939, 28.5121994, -154.100006)
  8746. Part1034.Orientation = Vector3.new(0, -90, 0)
  8747. Part1034.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8748. BlockMesh1035.Parent = Part1034
  8749. Part1036.Parent = Model1027
  8750. Part1036.BrickColor = BrickColor.new("Dark stone grey")
  8751. Part1036.Rotation = Vector3.new(-180, 0, -180)
  8752. Part1036.Anchored = true
  8753. Part1036.FormFactor = Enum.FormFactor.Symmetric
  8754. Part1036.Size = Vector3.new(1, 10, 14)
  8755. Part1036.CFrame = CFrame.new(98.8999939, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8756. Part1036.BottomSurface = Enum.SurfaceType.Smooth
  8757. Part1036.TopSurface = Enum.SurfaceType.Smooth
  8758. Part1036.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8759. Part1036.Position = Vector3.new(98.8999939, 28.5121994, -146.600006)
  8760. Part1036.Orientation = Vector3.new(0, 180, 0)
  8761. Part1036.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8762. BlockMesh1037.Parent = Part1036
  8763. Part1038.Parent = Model1027
  8764. Part1038.BrickColor = BrickColor.new("Dark stone grey")
  8765. Part1038.Rotation = Vector3.new(0, 90, 0)
  8766. Part1038.Anchored = true
  8767. Part1038.FormFactor = Enum.FormFactor.Symmetric
  8768. Part1038.Size = Vector3.new(1, 10, 2)
  8769. Part1038.CFrame = CFrame.new(98.3999939, 28.5121994, -139.099991, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  8770. Part1038.BottomSurface = Enum.SurfaceType.Smooth
  8771. Part1038.TopSurface = Enum.SurfaceType.Smooth
  8772. Part1038.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8773. Part1038.Position = Vector3.new(98.3999939, 28.5121994, -139.099991)
  8774. Part1038.Orientation = Vector3.new(0, 90, 0)
  8775. Part1038.Color = Color3.new(0.388235, 0.372549, 0.384314)
  8776. BlockMesh1039.Parent = Part1038
  8777. Model1040.Name = "Floor"
  8778. Model1040.Parent = Model1021
  8779. Part1041.Name = "Floor"
  8780. Part1041.Parent = Model1040
  8781. Part1041.BrickColor = BrickColor.new("Brick yellow")
  8782. Part1041.Anchored = true
  8783. Part1041.FormFactor = Enum.FormFactor.Plate
  8784. Part1041.Size = Vector3.new(12, 0.400000006, 14)
  8785. Part1041.CFrame = CFrame.new(92.3999939, 23.7121944, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8786. Part1041.BottomSurface = Enum.SurfaceType.Smooth
  8787. Part1041.TopSurface = Enum.SurfaceType.Smooth
  8788. Part1041.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8789. Part1041.Position = Vector3.new(92.3999939, 23.7121944, -146.600006)
  8790. Part1041.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8791. BlockMesh1042.Parent = Part1041
  8792. Part1043.Name = "Floor"
  8793. Part1043.Parent = Model1040
  8794. Part1043.BrickColor = BrickColor.new("Brick yellow")
  8795. Part1043.Anchored = true
  8796. Part1043.CanCollide = false
  8797. Part1043.FormFactor = Enum.FormFactor.Plate
  8798. Part1043.Size = Vector3.new(6, 0.400000006, 1)
  8799. Part1043.CFrame = CFrame.new(94.3999939, 24.1122017, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8800. Part1043.BottomSurface = Enum.SurfaceType.Smooth
  8801. Part1043.TopSurface = Enum.SurfaceType.Smooth
  8802. Part1043.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8803. Part1043.Position = Vector3.new(94.3999939, 24.1122017, -140.100006)
  8804. Part1043.Color = Color3.new(0.843137, 0.772549, 0.603922)
  8805. BlockMesh1044.Parent = Part1043
  8806. BlockMesh1044.Offset = Vector3.new(0, -0.400000006, 1)
  8807. Model1045.Name = "Items"
  8808. Model1045.Parent = Model1020
  8809. Model1046.Name = "Furnish"
  8810. Model1046.Parent = Model1045
  8811. Model1047.Name = "Bed"
  8812. Model1047.Parent = Model1046
  8813. Part1048.Name = "Pole"
  8814. Part1048.Parent = Model1047
  8815. Part1048.BrickColor = BrickColor.new("Mid gray")
  8816. Part1048.Reflectance = 0.15000000596046
  8817. Part1048.Anchored = true
  8818. Part1048.CanCollide = false
  8819. Part1048.FormFactor = Enum.FormFactor.Symmetric
  8820. Part1048.Size = Vector3.new(1, 5, 1)
  8821. Part1048.CFrame = CFrame.new(86.8999939, 26.4121952, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8822. Part1048.BottomSurface = Enum.SurfaceType.Smooth
  8823. Part1048.TopSurface = Enum.SurfaceType.Smooth
  8824. Part1048.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8825. Part1048.Position = Vector3.new(86.8999939, 26.4121952, -140.100006)
  8826. Part1048.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8827. CylinderMesh1049.Parent = Part1048
  8828. CylinderMesh1049.Scale = Vector3.new(0.5, 1, 0.5)
  8829. CylinderMesh1049.Scale = Vector3.new(0.5, 1, 0.5)
  8830. Part1050.Name = "Pole"
  8831. Part1050.Parent = Model1047
  8832. Part1050.BrickColor = BrickColor.new("Mid gray")
  8833. Part1050.Reflectance = 0.15000000596046
  8834. Part1050.Anchored = true
  8835. Part1050.CanCollide = false
  8836. Part1050.FormFactor = Enum.FormFactor.Symmetric
  8837. Part1050.Size = Vector3.new(1, 5, 1)
  8838. Part1050.CFrame = CFrame.new(86.8999939, 26.4121952, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8839. Part1050.BottomSurface = Enum.SurfaceType.Smooth
  8840. Part1050.TopSurface = Enum.SurfaceType.Smooth
  8841. Part1050.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8842. Part1050.Position = Vector3.new(86.8999939, 26.4121952, -147.100006)
  8843. Part1050.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8844. CylinderMesh1051.Parent = Part1050
  8845. CylinderMesh1051.Scale = Vector3.new(0.5, 1, 0.5)
  8846. CylinderMesh1051.Scale = Vector3.new(0.5, 1, 0.5)
  8847. Part1052.Name = "Pole"
  8848. Part1052.Parent = Model1047
  8849. Part1052.BrickColor = BrickColor.new("Mid gray")
  8850. Part1052.Reflectance = 0.15000000596046
  8851. Part1052.Anchored = true
  8852. Part1052.CanCollide = false
  8853. Part1052.FormFactor = Enum.FormFactor.Symmetric
  8854. Part1052.Size = Vector3.new(1, 5, 1)
  8855. Part1052.CFrame = CFrame.new(90.8999939, 26.4121952, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8856. Part1052.BottomSurface = Enum.SurfaceType.Smooth
  8857. Part1052.TopSurface = Enum.SurfaceType.Smooth
  8858. Part1052.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8859. Part1052.Position = Vector3.new(90.8999939, 26.4121952, -147.100006)
  8860. Part1052.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8861. CylinderMesh1053.Parent = Part1052
  8862. CylinderMesh1053.Scale = Vector3.new(0.5, 1, 0.5)
  8863. CylinderMesh1053.Scale = Vector3.new(0.5, 1, 0.5)
  8864. Part1054.Name = "Pole"
  8865. Part1054.Parent = Model1047
  8866. Part1054.BrickColor = BrickColor.new("Mid gray")
  8867. Part1054.Reflectance = 0.15000000596046
  8868. Part1054.Anchored = true
  8869. Part1054.CanCollide = false
  8870. Part1054.FormFactor = Enum.FormFactor.Symmetric
  8871. Part1054.Size = Vector3.new(1, 5, 1)
  8872. Part1054.CFrame = CFrame.new(90.8999939, 26.4121952, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  8873. Part1054.BottomSurface = Enum.SurfaceType.Smooth
  8874. Part1054.TopSurface = Enum.SurfaceType.Smooth
  8875. Part1054.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8876. Part1054.Position = Vector3.new(90.8999939, 26.4121952, -140.100006)
  8877. Part1054.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8878. CylinderMesh1055.Parent = Part1054
  8879. CylinderMesh1055.Scale = Vector3.new(0.5, 1, 0.5)
  8880. CylinderMesh1055.Scale = Vector3.new(0.5, 1, 0.5)
  8881. Part1056.Parent = Model1047
  8882. Part1056.BrickColor = BrickColor.new("Institutional white")
  8883. Part1056.Rotation = Vector3.new(-180, 0, -180)
  8884. Part1056.Anchored = true
  8885. Part1056.FormFactor = Enum.FormFactor.Symmetric
  8886. Part1056.Size = Vector3.new(3, 1, 6)
  8887. Part1056.CFrame = CFrame.new(88.8999939, 27.6122017, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8888. Part1056.BottomSurface = Enum.SurfaceType.Smooth
  8889. Part1056.TopSurface = Enum.SurfaceType.Smooth
  8890. Part1056.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8891. Part1056.Position = Vector3.new(88.8999939, 27.6122017, -143.600006)
  8892. Part1056.Orientation = Vector3.new(0, 180, 0)
  8893. Part1056.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8894. BlockMesh1057.Parent = Part1056
  8895. BlockMesh1057.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  8896. BlockMesh1057.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  8897. Part1058.Parent = Model1047
  8898. Part1058.BrickColor = BrickColor.new("Institutional white")
  8899. Part1058.Rotation = Vector3.new(-180, 0, -180)
  8900. Part1058.Anchored = true
  8901. Part1058.FormFactor = Enum.FormFactor.Symmetric
  8902. Part1058.Size = Vector3.new(3, 1, 6)
  8903. Part1058.CFrame = CFrame.new(88.8999939, 24.4121952, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  8904. Part1058.BottomSurface = Enum.SurfaceType.Smooth
  8905. Part1058.TopSurface = Enum.SurfaceType.Smooth
  8906. Part1058.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8907. Part1058.Position = Vector3.new(88.8999939, 24.4121952, -143.600006)
  8908. Part1058.Orientation = Vector3.new(0, 180, 0)
  8909. Part1058.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8910. BlockMesh1059.Parent = Part1058
  8911. BlockMesh1059.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  8912. BlockMesh1059.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  8913. Model1060.Name = "Toilet"
  8914. Model1060.Parent = Model1046
  8915. Part1061.Parent = Model1060
  8916. Part1061.BrickColor = BrickColor.new("Mid gray")
  8917. Part1061.Rotation = Vector3.new(0, -90, 0)
  8918. Part1061.Anchored = true
  8919. Part1061.FormFactor = Enum.FormFactor.Symmetric
  8920. Part1061.Size = Vector3.new(2, 3, 1)
  8921. Part1061.CFrame = CFrame.new(86.8999939, 26.4121952, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8922. Part1061.BottomSurface = Enum.SurfaceType.Smooth
  8923. Part1061.TopSurface = Enum.SurfaceType.Smooth
  8924. Part1061.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8925. Part1061.Position = Vector3.new(86.8999939, 26.4121952, -150.600006)
  8926. Part1061.Orientation = Vector3.new(0, -90, 0)
  8927. Part1061.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8928. BlockMesh1062.Parent = Part1061
  8929. BlockMesh1062.Scale = Vector3.new(1.5, 1, 1)
  8930. BlockMesh1062.Scale = Vector3.new(1.5, 1, 1)
  8931. Part1063.Parent = Model1060
  8932. Part1063.BrickColor = BrickColor.new("Mid gray")
  8933. Part1063.Rotation = Vector3.new(0, -90, 0)
  8934. Part1063.Anchored = true
  8935. Part1063.FormFactor = Enum.FormFactor.Symmetric
  8936. Part1063.Size = Vector3.new(2, 1, 3)
  8937. Part1063.CFrame = CFrame.new(87.9000015, 24.4121952, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8938. Part1063.BottomSurface = Enum.SurfaceType.Smooth
  8939. Part1063.TopSurface = Enum.SurfaceType.Smooth
  8940. Part1063.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8941. Part1063.Position = Vector3.new(87.9000015, 24.4121952, -150.600006)
  8942. Part1063.Orientation = Vector3.new(0, -90, 0)
  8943. Part1063.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8944. BlockMesh1064.Parent = Part1063
  8945. Part1065.Parent = Model1060
  8946. Part1065.BrickColor = BrickColor.new("Light stone grey")
  8947. Part1065.Rotation = Vector3.new(0, -90, 0)
  8948. Part1065.Anchored = true
  8949. Part1065.FormFactor = Enum.FormFactor.Plate
  8950. Part1065.Size = Vector3.new(2, 0.400000006, 2)
  8951. Part1065.CFrame = CFrame.new(88.3999939, 25.1122017, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  8952. Part1065.BottomSurface = Enum.SurfaceType.Smooth
  8953. Part1065.TopSurface = Enum.SurfaceType.Smooth
  8954. Part1065.Color = Color3.new(0.898039, 0.894118, 0.87451)
  8955. Part1065.Position = Vector3.new(88.3999939, 25.1122017, -150.600006)
  8956. Part1065.Orientation = Vector3.new(0, -90, 0)
  8957. Part1065.Color = Color3.new(0.898039, 0.894118, 0.87451)
  8958. SpecialMesh1066.Parent = Part1065
  8959. SpecialMesh1066.Scale = Vector3.new(1.5, 2, 2)
  8960. SpecialMesh1066.MeshType = Enum.MeshType.Sphere
  8961. SpecialMesh1066.Scale = Vector3.new(1.5, 2, 2)
  8962. Part1067.Name = "Pole"
  8963. Part1067.Parent = Model1046
  8964. Part1067.BrickColor = BrickColor.new("Mid gray")
  8965. Part1067.Reflectance = 0.15000000596046
  8966. Part1067.Rotation = Vector3.new(0, 0, -90)
  8967. Part1067.Anchored = true
  8968. Part1067.CanCollide = false
  8969. Part1067.FormFactor = Enum.FormFactor.Symmetric
  8970. Part1067.Size = Vector3.new(1, 12, 1)
  8971. Part1067.CFrame = CFrame.new(92.3999939, 27.4121952, -153.100006, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  8972. Part1067.BottomSurface = Enum.SurfaceType.Smooth
  8973. Part1067.TopSurface = Enum.SurfaceType.Smooth
  8974. Part1067.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8975. Part1067.Position = Vector3.new(92.3999939, 27.4121952, -153.100006)
  8976. Part1067.Orientation = Vector3.new(0, 0, -90)
  8977. Part1067.Color = Color3.new(0.803922, 0.803922, 0.803922)
  8978. CylinderMesh1068.Parent = Part1067
  8979. CylinderMesh1068.Scale = Vector3.new(0.5, 1, 0.5)
  8980. CylinderMesh1068.Scale = Vector3.new(0.5, 1, 0.5)
  8981. Model1069.Name = "Functions"
  8982. Model1069.Parent = Model1045
  8983. Model1070.Name = "Light"
  8984. Model1070.Parent = Model1069
  8985. Part1071.Name = "Lightbulb"
  8986. Part1071.Parent = Model1070
  8987. Part1071.Transparency = 0.5
  8988. Part1071.Rotation = Vector3.new(180, 90, 0)
  8989. Part1071.Anchored = true
  8990. Part1071.CanCollide = false
  8991. Part1071.FormFactor = Enum.FormFactor.Symmetric
  8992. Part1071.Size = Vector3.new(2, 1, 2)
  8993. Part1071.CFrame = CFrame.new(92.3999939, 32.6122093, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  8994. Part1071.BackSurface = Enum.SurfaceType.Weld
  8995. Part1071.BottomSurface = Enum.SurfaceType.Weld
  8996. Part1071.FrontSurface = Enum.SurfaceType.Weld
  8997. Part1071.LeftSurface = Enum.SurfaceType.Weld
  8998. Part1071.RightSurface = Enum.SurfaceType.Weld
  8999. Part1071.TopSurface = Enum.SurfaceType.Weld
  9000. Part1071.Position = Vector3.new(92.3999939, 32.6122093, -146.600006)
  9001. Part1071.Orientation = Vector3.new(0, 90, 180)
  9002. SpecialMesh1072.Parent = Part1071
  9003. SpecialMesh1072.MeshId = "http://www.roblox.com/asset/?id=1376459"
  9004. SpecialMesh1072.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  9005. SpecialMesh1072.TextureId = "http://www.roblox.com/asset/?id=1376456"
  9006. SpecialMesh1072.MeshType = Enum.MeshType.FileMesh
  9007. SpecialMesh1072.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  9008. Part1073.Name = "Light"
  9009. Part1073.Parent = Model1070
  9010. Part1073.BrickColor = BrickColor.new("Cool yellow")
  9011. Part1073.Transparency = 1
  9012. Part1073.Anchored = true
  9013. Part1073.CanCollide = false
  9014. Part1073.FormFactor = Enum.FormFactor.Symmetric
  9015. Part1073.Size = Vector3.new(2, 8, 2)
  9016. Part1073.CFrame = CFrame.new(92.3999939, 28.1122017, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9017. Part1073.Color = Color3.new(0.992157, 0.917647, 0.552941)
  9018. Part1073.Position = Vector3.new(92.3999939, 28.1122017, -146.600006)
  9019. Part1073.Color = Color3.new(0.992157, 0.917647, 0.552941)
  9020. SpecialMesh1074.Parent = Part1073
  9021. SpecialMesh1074.MeshId = "http://www.roblox.com/asset/?id=1033714"
  9022. SpecialMesh1074.Scale = Vector3.new(7, 13, 7)
  9023. SpecialMesh1074.MeshType = Enum.MeshType.FileMesh
  9024. SpecialMesh1074.Scale = Vector3.new(7, 13, 7)
  9025. Script1075.Name = "Function"
  9026. Script1075.Parent = Model1070
  9027. table.insert(cors,sandbox(Script1075,function()
  9028. local on = false
  9029.  
  9030. function check()
  9031. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  9032. if ((n > 6) and (n < 18)) then
  9033. if (on) then
  9034. on = false
  9035. wait(math.random()*5)
  9036. for i = 1,5 do
  9037. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  9038. wait()
  9039. end
  9040. script.Parent.Light.Transparency = 1
  9041. end
  9042. elseif not (on) then
  9043. on = true
  9044. wait(math.random()*5)
  9045. for i = 1,5 do
  9046. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  9047. wait()
  9048. end
  9049. script.Parent.Light.Transparency = 0.5
  9050. end
  9051. end
  9052.  
  9053. game.Lighting.LightingChanged:connect(check)
  9054. check()
  9055. end))
  9056. Part1076.Name = "LightSocket"
  9057. Part1076.Parent = Model1070
  9058. Part1076.BrickColor = BrickColor.new("Dark stone grey")
  9059. Part1076.Anchored = true
  9060. Part1076.FormFactor = Enum.FormFactor.Symmetric
  9061. Part1076.Size = Vector3.new(2, 1, 2)
  9062. Part1076.CFrame = CFrame.new(92.3999939, 32.6122093, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9063. Part1076.BottomSurface = Enum.SurfaceType.Smooth
  9064. Part1076.TopSurface = Enum.SurfaceType.Smooth
  9065. Part1076.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9066. Part1076.Position = Vector3.new(92.3999939, 32.6122093, -146.600006)
  9067. Part1076.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9068. CylinderMesh1077.Parent = Part1076
  9069. CylinderMesh1077.Offset = Vector3.new(0, 0.600000024, 0)
  9070. CylinderMesh1077.Scale = Vector3.new(1, 0.5, 1)
  9071. CylinderMesh1077.Scale = Vector3.new(1, 0.5, 1)
  9072. Model1078.Name = "Door"
  9073. Model1078.Parent = Model1020
  9074. Part1079.Name = "Bar"
  9075. Part1079.Parent = Model1078
  9076. Part1079.Reflectance = 0.15000000596046
  9077. Part1079.Anchored = true
  9078. Part1079.FormFactor = Enum.FormFactor.Symmetric
  9079. Part1079.Size = Vector3.new(1, 9, 1)
  9080. Part1079.CFrame = CFrame.new(96.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9081. Part1079.BottomSurface = Enum.SurfaceType.Smooth
  9082. Part1079.TopSurface = Enum.SurfaceType.Smooth
  9083. Part1079.Position = Vector3.new(96.8999939, 28.0121994, -139.099991)
  9084. CylinderMesh1080.Parent = Part1079
  9085. CylinderMesh1080.Scale = Vector3.new(0.5, 1, 1)
  9086. CylinderMesh1080.Scale = Vector3.new(0.5, 1, 1)
  9087. Part1081.Name = "Bar"
  9088. Part1081.Parent = Model1078
  9089. Part1081.Reflectance = 0.15000000596046
  9090. Part1081.Anchored = true
  9091. Part1081.FormFactor = Enum.FormFactor.Symmetric
  9092. Part1081.Size = Vector3.new(1, 9, 1)
  9093. Part1081.CFrame = CFrame.new(95.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9094. Part1081.BottomSurface = Enum.SurfaceType.Smooth
  9095. Part1081.TopSurface = Enum.SurfaceType.Smooth
  9096. Part1081.Position = Vector3.new(95.8999939, 28.0121994, -139.099991)
  9097. CylinderMesh1082.Parent = Part1081
  9098. CylinderMesh1082.Scale = Vector3.new(0.5, 1, 1)
  9099. CylinderMesh1082.Scale = Vector3.new(0.5, 1, 1)
  9100. Part1083.Name = "Bar"
  9101. Part1083.Parent = Model1078
  9102. Part1083.Reflectance = 0.15000000596046
  9103. Part1083.Anchored = true
  9104. Part1083.FormFactor = Enum.FormFactor.Symmetric
  9105. Part1083.Size = Vector3.new(1, 9, 1)
  9106. Part1083.CFrame = CFrame.new(94.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9107. Part1083.BottomSurface = Enum.SurfaceType.Smooth
  9108. Part1083.TopSurface = Enum.SurfaceType.Smooth
  9109. Part1083.Position = Vector3.new(94.8999939, 28.0121994, -139.099991)
  9110. CylinderMesh1084.Parent = Part1083
  9111. CylinderMesh1084.Scale = Vector3.new(0.5, 1, 1)
  9112. CylinderMesh1084.Scale = Vector3.new(0.5, 1, 1)
  9113. Part1085.Name = "Bar"
  9114. Part1085.Parent = Model1078
  9115. Part1085.Reflectance = 0.15000000596046
  9116. Part1085.Anchored = true
  9117. Part1085.FormFactor = Enum.FormFactor.Symmetric
  9118. Part1085.Size = Vector3.new(1, 9, 1)
  9119. Part1085.CFrame = CFrame.new(93.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9120. Part1085.BottomSurface = Enum.SurfaceType.Smooth
  9121. Part1085.TopSurface = Enum.SurfaceType.Smooth
  9122. Part1085.Position = Vector3.new(93.8999939, 28.0121994, -139.099991)
  9123. CylinderMesh1086.Parent = Part1085
  9124. CylinderMesh1086.Scale = Vector3.new(0.5, 1, 1)
  9125. CylinderMesh1086.Scale = Vector3.new(0.5, 1, 1)
  9126. Part1087.Name = "Bar"
  9127. Part1087.Parent = Model1078
  9128. Part1087.Reflectance = 0.15000000596046
  9129. Part1087.Anchored = true
  9130. Part1087.FormFactor = Enum.FormFactor.Symmetric
  9131. Part1087.Size = Vector3.new(1, 9, 1)
  9132. Part1087.CFrame = CFrame.new(92.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9133. Part1087.BottomSurface = Enum.SurfaceType.Smooth
  9134. Part1087.TopSurface = Enum.SurfaceType.Smooth
  9135. Part1087.Position = Vector3.new(92.8999939, 28.0121994, -139.099991)
  9136. CylinderMesh1088.Parent = Part1087
  9137. CylinderMesh1088.Scale = Vector3.new(0.5, 1, 1)
  9138. CylinderMesh1088.Scale = Vector3.new(0.5, 1, 1)
  9139. Part1089.Name = "Bar"
  9140. Part1089.Parent = Model1078
  9141. Part1089.Reflectance = 0.15000000596046
  9142. Part1089.Anchored = true
  9143. Part1089.FormFactor = Enum.FormFactor.Symmetric
  9144. Part1089.Size = Vector3.new(1, 9, 1)
  9145. Part1089.CFrame = CFrame.new(91.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9146. Part1089.BottomSurface = Enum.SurfaceType.Smooth
  9147. Part1089.TopSurface = Enum.SurfaceType.Smooth
  9148. Part1089.Position = Vector3.new(91.8999939, 28.0121994, -139.099991)
  9149. CylinderMesh1090.Parent = Part1089
  9150. CylinderMesh1090.Scale = Vector3.new(0.5, 1, 1)
  9151. CylinderMesh1090.Scale = Vector3.new(0.5, 1, 1)
  9152. Script1091.Name = "Main"
  9153. Script1091.Parent = Model1078
  9154. table.insert(cors,sandbox(Script1091,function()
  9155. local _items = {}
  9156.  
  9157. local door = -1
  9158. -- -1 = Closed
  9159. -- 0 = Active
  9160. -- 1 = Open
  9161.  
  9162. function getItems()
  9163. for _,v in pairs(script.Parent:GetChildren()) do
  9164. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  9165. table.insert(_items,v)
  9166. end
  9167. end
  9168. end
  9169.  
  9170. function main()
  9171. local d = door
  9172. door = 0
  9173. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  9174. for i = 0,5,0.05 do
  9175. for _,v in pairs(_items) do
  9176. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  9177. end
  9178. wait()
  9179. end
  9180. if (d == (-1)) then
  9181. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  9182. elseif (d == 1) then
  9183. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  9184. end
  9185. door = d
  9186. end
  9187.  
  9188. script.Parent.Button.Click.MouseClick:connect(function()
  9189. if (door == 0) then return end
  9190. door = (door*(-1))
  9191. main()
  9192. end)
  9193.  
  9194. getItems()
  9195. end))
  9196. Part1092.Name = "Button"
  9197. Part1092.Parent = Model1078
  9198. Part1092.BrickColor = BrickColor.new("Really red")
  9199. Part1092.Reflectance = 0.20000000298023
  9200. Part1092.Transparency = 0.5
  9201. Part1092.Rotation = Vector3.new(90, 0, -180)
  9202. Part1092.Anchored = true
  9203. Part1092.FormFactor = Enum.FormFactor.Plate
  9204. Part1092.Size = Vector3.new(1, 0.400000006, 1)
  9205. Part1092.CFrame = CFrame.new(89.8999939, 28.012167, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  9206. Part1092.BottomSurface = Enum.SurfaceType.Smooth
  9207. Part1092.TopSurface = Enum.SurfaceType.Smooth
  9208. Part1092.Color = Color3.new(1, 0, 0)
  9209. Part1092.Position = Vector3.new(89.8999939, 28.012167, -138.399994)
  9210. Part1092.Orientation = Vector3.new(90, 180, 0)
  9211. Part1092.Color = Color3.new(1, 0, 0)
  9212. BlockMesh1093.Parent = Part1092
  9213. CylinderMesh1094.Parent = Part1092
  9214. CylinderMesh1094.Offset = Vector3.new(0, 0.150000006, 0)
  9215. CylinderMesh1094.Scale = Vector3.new(1, 0.200000003, 1)
  9216. CylinderMesh1094.Scale = Vector3.new(1, 0.200000003, 1)
  9217. ClickDetector1095.Name = "Click"
  9218. ClickDetector1095.Parent = Part1092
  9219. Model1096.Name = "PrisonCell"
  9220. Model1096.Parent = Model1
  9221. Model1097.Name = "Exterior"
  9222. Model1097.Parent = Model1096
  9223. Model1098.Name = "Top"
  9224. Model1098.Parent = Model1097
  9225. Part1099.Name = "Ceiling"
  9226. Part1099.Parent = Model1098
  9227. Part1099.BrickColor = BrickColor.new("Brick yellow")
  9228. Part1099.Anchored = true
  9229. Part1099.FormFactor = Enum.FormFactor.Plate
  9230. Part1099.Size = Vector3.new(12, 0.400000006, 14)
  9231. Part1099.CFrame = CFrame.new(148.399994, 33.3122063, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9232. Part1099.BottomSurface = Enum.SurfaceType.Smooth
  9233. Part1099.TopSurface = Enum.SurfaceType.Smooth
  9234. Part1099.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9235. Part1099.Position = Vector3.new(148.399994, 33.3122063, -146.599991)
  9236. Part1099.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9237. BlockMesh1100.Parent = Part1099
  9238. Part1101.Name = "Top"
  9239. Part1101.Parent = Model1098
  9240. Part1101.BrickColor = BrickColor.new("Dark stone grey")
  9241. Part1101.Anchored = true
  9242. Part1101.FormFactor = Enum.FormFactor.Symmetric
  9243. Part1101.Size = Vector3.new(14, 1, 16)
  9244. Part1101.CFrame = CFrame.new(148.399994, 34.012207, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9245. Part1101.BottomSurface = Enum.SurfaceType.Smooth
  9246. Part1101.TopSurface = Enum.SurfaceType.Smooth
  9247. Part1101.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9248. Part1101.Position = Vector3.new(148.399994, 34.012207, -146.599991)
  9249. Part1101.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9250. BlockMesh1102.Parent = Part1101
  9251. Model1103.Name = "Walls"
  9252. Model1103.Parent = Model1097
  9253. Part1104.Parent = Model1103
  9254. Part1104.BrickColor = BrickColor.new("Dark stone grey")
  9255. Part1104.Anchored = true
  9256. Part1104.FormFactor = Enum.FormFactor.Symmetric
  9257. Part1104.Size = Vector3.new(6, 1, 1)
  9258. Part1104.CFrame = CFrame.new(150.399994, 33.0122108, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9259. Part1104.BottomSurface = Enum.SurfaceType.Smooth
  9260. Part1104.TopSurface = Enum.SurfaceType.Smooth
  9261. Part1104.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9262. Part1104.Position = Vector3.new(150.399994, 33.0122108, -139.099991)
  9263. Part1104.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9264. BlockMesh1105.Parent = Part1104
  9265. Part1106.Parent = Model1103
  9266. Part1106.BrickColor = BrickColor.new("Dark stone grey")
  9267. Part1106.Anchored = true
  9268. Part1106.FormFactor = Enum.FormFactor.Symmetric
  9269. Part1106.Size = Vector3.new(6, 10, 1)
  9270. Part1106.CFrame = CFrame.new(144.399994, 28.5121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9271. Part1106.BottomSurface = Enum.SurfaceType.Smooth
  9272. Part1106.TopSurface = Enum.SurfaceType.Smooth
  9273. Part1106.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9274. Part1106.Position = Vector3.new(144.399994, 28.5121994, -139.099991)
  9275. Part1106.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9276. BlockMesh1107.Parent = Part1106
  9277. Part1108.Parent = Model1103
  9278. Part1108.BrickColor = BrickColor.new("Dark stone grey")
  9279. Part1108.Rotation = Vector3.new(-180, 0, -180)
  9280. Part1108.Anchored = true
  9281. Part1108.FormFactor = Enum.FormFactor.Symmetric
  9282. Part1108.Size = Vector3.new(1, 10, 14)
  9283. Part1108.CFrame = CFrame.new(141.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9284. Part1108.BottomSurface = Enum.SurfaceType.Smooth
  9285. Part1108.TopSurface = Enum.SurfaceType.Smooth
  9286. Part1108.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9287. Part1108.Position = Vector3.new(141.899994, 28.5121994, -146.599991)
  9288. Part1108.Orientation = Vector3.new(0, 180, 0)
  9289. Part1108.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9290. BlockMesh1109.Parent = Part1108
  9291. Part1110.Parent = Model1103
  9292. Part1110.BrickColor = BrickColor.new("Dark stone grey")
  9293. Part1110.Rotation = Vector3.new(0, -90, 0)
  9294. Part1110.Anchored = true
  9295. Part1110.FormFactor = Enum.FormFactor.Symmetric
  9296. Part1110.Size = Vector3.new(1, 10, 14)
  9297. Part1110.CFrame = CFrame.new(148.399994, 28.5121994, -154.100006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  9298. Part1110.BottomSurface = Enum.SurfaceType.Smooth
  9299. Part1110.TopSurface = Enum.SurfaceType.Smooth
  9300. Part1110.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9301. Part1110.Position = Vector3.new(148.399994, 28.5121994, -154.100006)
  9302. Part1110.Orientation = Vector3.new(0, -90, 0)
  9303. Part1110.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9304. BlockMesh1111.Parent = Part1110
  9305. Part1112.Parent = Model1103
  9306. Part1112.BrickColor = BrickColor.new("Dark stone grey")
  9307. Part1112.Rotation = Vector3.new(-180, 0, -180)
  9308. Part1112.Anchored = true
  9309. Part1112.FormFactor = Enum.FormFactor.Symmetric
  9310. Part1112.Size = Vector3.new(1, 10, 14)
  9311. Part1112.CFrame = CFrame.new(154.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9312. Part1112.BottomSurface = Enum.SurfaceType.Smooth
  9313. Part1112.TopSurface = Enum.SurfaceType.Smooth
  9314. Part1112.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9315. Part1112.Position = Vector3.new(154.899994, 28.5121994, -146.599991)
  9316. Part1112.Orientation = Vector3.new(0, 180, 0)
  9317. Part1112.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9318. BlockMesh1113.Parent = Part1112
  9319. Part1114.Parent = Model1103
  9320. Part1114.BrickColor = BrickColor.new("Dark stone grey")
  9321. Part1114.Rotation = Vector3.new(0, 90, 0)
  9322. Part1114.Anchored = true
  9323. Part1114.FormFactor = Enum.FormFactor.Symmetric
  9324. Part1114.Size = Vector3.new(1, 10, 2)
  9325. Part1114.CFrame = CFrame.new(154.399994, 28.5121994, -139.099991, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  9326. Part1114.BottomSurface = Enum.SurfaceType.Smooth
  9327. Part1114.TopSurface = Enum.SurfaceType.Smooth
  9328. Part1114.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9329. Part1114.Position = Vector3.new(154.399994, 28.5121994, -139.099991)
  9330. Part1114.Orientation = Vector3.new(0, 90, 0)
  9331. Part1114.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9332. BlockMesh1115.Parent = Part1114
  9333. Model1116.Name = "Floor"
  9334. Model1116.Parent = Model1097
  9335. Part1117.Name = "Floor"
  9336. Part1117.Parent = Model1116
  9337. Part1117.BrickColor = BrickColor.new("Brick yellow")
  9338. Part1117.Anchored = true
  9339. Part1117.FormFactor = Enum.FormFactor.Plate
  9340. Part1117.Size = Vector3.new(12, 0.400000006, 14)
  9341. Part1117.CFrame = CFrame.new(148.399994, 23.7121944, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9342. Part1117.BottomSurface = Enum.SurfaceType.Smooth
  9343. Part1117.TopSurface = Enum.SurfaceType.Smooth
  9344. Part1117.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9345. Part1117.Position = Vector3.new(148.399994, 23.7121944, -146.599991)
  9346. Part1117.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9347. BlockMesh1118.Parent = Part1117
  9348. Part1119.Name = "Floor"
  9349. Part1119.Parent = Model1116
  9350. Part1119.BrickColor = BrickColor.new("Brick yellow")
  9351. Part1119.Anchored = true
  9352. Part1119.CanCollide = false
  9353. Part1119.FormFactor = Enum.FormFactor.Plate
  9354. Part1119.Size = Vector3.new(6, 0.400000006, 1)
  9355. Part1119.CFrame = CFrame.new(150.399994, 24.1122017, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9356. Part1119.BottomSurface = Enum.SurfaceType.Smooth
  9357. Part1119.TopSurface = Enum.SurfaceType.Smooth
  9358. Part1119.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9359. Part1119.Position = Vector3.new(150.399994, 24.1122017, -140.099991)
  9360. Part1119.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9361. BlockMesh1120.Parent = Part1119
  9362. BlockMesh1120.Offset = Vector3.new(0, -0.400000006, 1)
  9363. Model1121.Name = "Items"
  9364. Model1121.Parent = Model1096
  9365. Model1122.Name = "Furnish"
  9366. Model1122.Parent = Model1121
  9367. Model1123.Name = "Bed"
  9368. Model1123.Parent = Model1122
  9369. Part1124.Name = "Pole"
  9370. Part1124.Parent = Model1123
  9371. Part1124.BrickColor = BrickColor.new("Mid gray")
  9372. Part1124.Reflectance = 0.15000000596046
  9373. Part1124.Anchored = true
  9374. Part1124.CanCollide = false
  9375. Part1124.FormFactor = Enum.FormFactor.Symmetric
  9376. Part1124.Size = Vector3.new(1, 5, 1)
  9377. Part1124.CFrame = CFrame.new(142.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9378. Part1124.BottomSurface = Enum.SurfaceType.Smooth
  9379. Part1124.TopSurface = Enum.SurfaceType.Smooth
  9380. Part1124.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9381. Part1124.Position = Vector3.new(142.899994, 26.4121971, -140.099991)
  9382. Part1124.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9383. CylinderMesh1125.Parent = Part1124
  9384. CylinderMesh1125.Scale = Vector3.new(0.5, 1, 0.5)
  9385. CylinderMesh1125.Scale = Vector3.new(0.5, 1, 0.5)
  9386. Part1126.Name = "Pole"
  9387. Part1126.Parent = Model1123
  9388. Part1126.BrickColor = BrickColor.new("Mid gray")
  9389. Part1126.Reflectance = 0.15000000596046
  9390. Part1126.Anchored = true
  9391. Part1126.CanCollide = false
  9392. Part1126.FormFactor = Enum.FormFactor.Symmetric
  9393. Part1126.Size = Vector3.new(1, 5, 1)
  9394. Part1126.CFrame = CFrame.new(142.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9395. Part1126.BottomSurface = Enum.SurfaceType.Smooth
  9396. Part1126.TopSurface = Enum.SurfaceType.Smooth
  9397. Part1126.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9398. Part1126.Position = Vector3.new(142.899994, 26.4121971, -147.099991)
  9399. Part1126.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9400. CylinderMesh1127.Parent = Part1126
  9401. CylinderMesh1127.Scale = Vector3.new(0.5, 1, 0.5)
  9402. CylinderMesh1127.Scale = Vector3.new(0.5, 1, 0.5)
  9403. Part1128.Name = "Pole"
  9404. Part1128.Parent = Model1123
  9405. Part1128.BrickColor = BrickColor.new("Mid gray")
  9406. Part1128.Reflectance = 0.15000000596046
  9407. Part1128.Anchored = true
  9408. Part1128.CanCollide = false
  9409. Part1128.FormFactor = Enum.FormFactor.Symmetric
  9410. Part1128.Size = Vector3.new(1, 5, 1)
  9411. Part1128.CFrame = CFrame.new(146.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9412. Part1128.BottomSurface = Enum.SurfaceType.Smooth
  9413. Part1128.TopSurface = Enum.SurfaceType.Smooth
  9414. Part1128.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9415. Part1128.Position = Vector3.new(146.899994, 26.4121971, -147.099991)
  9416. Part1128.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9417. CylinderMesh1129.Parent = Part1128
  9418. CylinderMesh1129.Scale = Vector3.new(0.5, 1, 0.5)
  9419. CylinderMesh1129.Scale = Vector3.new(0.5, 1, 0.5)
  9420. Part1130.Name = "Pole"
  9421. Part1130.Parent = Model1123
  9422. Part1130.BrickColor = BrickColor.new("Mid gray")
  9423. Part1130.Reflectance = 0.15000000596046
  9424. Part1130.Anchored = true
  9425. Part1130.CanCollide = false
  9426. Part1130.FormFactor = Enum.FormFactor.Symmetric
  9427. Part1130.Size = Vector3.new(1, 5, 1)
  9428. Part1130.CFrame = CFrame.new(146.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9429. Part1130.BottomSurface = Enum.SurfaceType.Smooth
  9430. Part1130.TopSurface = Enum.SurfaceType.Smooth
  9431. Part1130.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9432. Part1130.Position = Vector3.new(146.899994, 26.4121971, -140.099991)
  9433. Part1130.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9434. CylinderMesh1131.Parent = Part1130
  9435. CylinderMesh1131.Scale = Vector3.new(0.5, 1, 0.5)
  9436. CylinderMesh1131.Scale = Vector3.new(0.5, 1, 0.5)
  9437. Part1132.Parent = Model1123
  9438. Part1132.BrickColor = BrickColor.new("Institutional white")
  9439. Part1132.Rotation = Vector3.new(-180, 0, -180)
  9440. Part1132.Anchored = true
  9441. Part1132.FormFactor = Enum.FormFactor.Symmetric
  9442. Part1132.Size = Vector3.new(3, 1, 6)
  9443. Part1132.CFrame = CFrame.new(144.899994, 27.6122017, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9444. Part1132.BottomSurface = Enum.SurfaceType.Smooth
  9445. Part1132.TopSurface = Enum.SurfaceType.Smooth
  9446. Part1132.Color = Color3.new(0.972549, 0.972549, 0.972549)
  9447. Part1132.Position = Vector3.new(144.899994, 27.6122017, -143.599991)
  9448. Part1132.Orientation = Vector3.new(0, 180, 0)
  9449. Part1132.Color = Color3.new(0.972549, 0.972549, 0.972549)
  9450. BlockMesh1133.Parent = Part1132
  9451. BlockMesh1133.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  9452. BlockMesh1133.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  9453. Part1134.Parent = Model1123
  9454. Part1134.BrickColor = BrickColor.new("Institutional white")
  9455. Part1134.Rotation = Vector3.new(-180, 0, -180)
  9456. Part1134.Anchored = true
  9457. Part1134.FormFactor = Enum.FormFactor.Symmetric
  9458. Part1134.Size = Vector3.new(3, 1, 6)
  9459. Part1134.CFrame = CFrame.new(144.899994, 24.4121971, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9460. Part1134.BottomSurface = Enum.SurfaceType.Smooth
  9461. Part1134.TopSurface = Enum.SurfaceType.Smooth
  9462. Part1134.Color = Color3.new(0.972549, 0.972549, 0.972549)
  9463. Part1134.Position = Vector3.new(144.899994, 24.4121971, -143.599991)
  9464. Part1134.Orientation = Vector3.new(0, 180, 0)
  9465. Part1134.Color = Color3.new(0.972549, 0.972549, 0.972549)
  9466. BlockMesh1135.Parent = Part1134
  9467. BlockMesh1135.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  9468. BlockMesh1135.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  9469. Model1136.Name = "Toilet"
  9470. Model1136.Parent = Model1122
  9471. Part1137.Parent = Model1136
  9472. Part1137.BrickColor = BrickColor.new("Mid gray")
  9473. Part1137.Rotation = Vector3.new(0, -90, 0)
  9474. Part1137.Anchored = true
  9475. Part1137.FormFactor = Enum.FormFactor.Symmetric
  9476. Part1137.Size = Vector3.new(2, 3, 1)
  9477. Part1137.CFrame = CFrame.new(142.899994, 26.4121971, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  9478. Part1137.BottomSurface = Enum.SurfaceType.Smooth
  9479. Part1137.TopSurface = Enum.SurfaceType.Smooth
  9480. Part1137.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9481. Part1137.Position = Vector3.new(142.899994, 26.4121971, -150.599991)
  9482. Part1137.Orientation = Vector3.new(0, -90, 0)
  9483. Part1137.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9484. BlockMesh1138.Parent = Part1137
  9485. BlockMesh1138.Scale = Vector3.new(1.5, 1, 1)
  9486. BlockMesh1138.Scale = Vector3.new(1.5, 1, 1)
  9487. Part1139.Parent = Model1136
  9488. Part1139.BrickColor = BrickColor.new("Mid gray")
  9489. Part1139.Rotation = Vector3.new(0, -90, 0)
  9490. Part1139.Anchored = true
  9491. Part1139.FormFactor = Enum.FormFactor.Symmetric
  9492. Part1139.Size = Vector3.new(2, 1, 3)
  9493. Part1139.CFrame = CFrame.new(143.899994, 24.4121971, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  9494. Part1139.BottomSurface = Enum.SurfaceType.Smooth
  9495. Part1139.TopSurface = Enum.SurfaceType.Smooth
  9496. Part1139.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9497. Part1139.Position = Vector3.new(143.899994, 24.4121971, -150.599991)
  9498. Part1139.Orientation = Vector3.new(0, -90, 0)
  9499. Part1139.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9500. BlockMesh1140.Parent = Part1139
  9501. Part1141.Parent = Model1136
  9502. Part1141.BrickColor = BrickColor.new("Light stone grey")
  9503. Part1141.Rotation = Vector3.new(0, -90, 0)
  9504. Part1141.Anchored = true
  9505. Part1141.FormFactor = Enum.FormFactor.Plate
  9506. Part1141.Size = Vector3.new(2, 0.400000006, 2)
  9507. Part1141.CFrame = CFrame.new(144.399994, 25.1122017, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  9508. Part1141.BottomSurface = Enum.SurfaceType.Smooth
  9509. Part1141.TopSurface = Enum.SurfaceType.Smooth
  9510. Part1141.Color = Color3.new(0.898039, 0.894118, 0.87451)
  9511. Part1141.Position = Vector3.new(144.399994, 25.1122017, -150.599991)
  9512. Part1141.Orientation = Vector3.new(0, -90, 0)
  9513. Part1141.Color = Color3.new(0.898039, 0.894118, 0.87451)
  9514. SpecialMesh1142.Parent = Part1141
  9515. SpecialMesh1142.Scale = Vector3.new(1.5, 2, 2)
  9516. SpecialMesh1142.MeshType = Enum.MeshType.Sphere
  9517. SpecialMesh1142.Scale = Vector3.new(1.5, 2, 2)
  9518. Part1143.Name = "Pole"
  9519. Part1143.Parent = Model1122
  9520. Part1143.BrickColor = BrickColor.new("Mid gray")
  9521. Part1143.Reflectance = 0.15000000596046
  9522. Part1143.Rotation = Vector3.new(0, 0, -90)
  9523. Part1143.Anchored = true
  9524. Part1143.CanCollide = false
  9525. Part1143.FormFactor = Enum.FormFactor.Symmetric
  9526. Part1143.Size = Vector3.new(1, 12, 1)
  9527. Part1143.CFrame = CFrame.new(148.399994, 27.4121971, -153.100006, 0, 1, -0, -1, 0, 0, 0, 0, 1)
  9528. Part1143.BottomSurface = Enum.SurfaceType.Smooth
  9529. Part1143.TopSurface = Enum.SurfaceType.Smooth
  9530. Part1143.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9531. Part1143.Position = Vector3.new(148.399994, 27.4121971, -153.100006)
  9532. Part1143.Orientation = Vector3.new(0, 0, -90)
  9533. Part1143.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9534. CylinderMesh1144.Parent = Part1143
  9535. CylinderMesh1144.Scale = Vector3.new(0.5, 1, 0.5)
  9536. CylinderMesh1144.Scale = Vector3.new(0.5, 1, 0.5)
  9537. Model1145.Name = "Functions"
  9538. Model1145.Parent = Model1121
  9539. Model1146.Name = "Light"
  9540. Model1146.Parent = Model1145
  9541. Part1147.Name = "Lightbulb"
  9542. Part1147.Parent = Model1146
  9543. Part1147.Transparency = 0.5
  9544. Part1147.Rotation = Vector3.new(180, 90, 0)
  9545. Part1147.Anchored = true
  9546. Part1147.CanCollide = false
  9547. Part1147.FormFactor = Enum.FormFactor.Symmetric
  9548. Part1147.Size = Vector3.new(2, 1, 2)
  9549. Part1147.CFrame = CFrame.new(148.399994, 32.6122093, -146.599991, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  9550. Part1147.BackSurface = Enum.SurfaceType.Weld
  9551. Part1147.BottomSurface = Enum.SurfaceType.Weld
  9552. Part1147.FrontSurface = Enum.SurfaceType.Weld
  9553. Part1147.LeftSurface = Enum.SurfaceType.Weld
  9554. Part1147.RightSurface = Enum.SurfaceType.Weld
  9555. Part1147.TopSurface = Enum.SurfaceType.Weld
  9556. Part1147.Position = Vector3.new(148.399994, 32.6122093, -146.599991)
  9557. Part1147.Orientation = Vector3.new(0, 90, 180)
  9558. SpecialMesh1148.Parent = Part1147
  9559. SpecialMesh1148.MeshId = "http://www.roblox.com/asset/?id=1376459"
  9560. SpecialMesh1148.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  9561. SpecialMesh1148.TextureId = "http://www.roblox.com/asset/?id=1376456"
  9562. SpecialMesh1148.MeshType = Enum.MeshType.FileMesh
  9563. SpecialMesh1148.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  9564. Part1149.Name = "Light"
  9565. Part1149.Parent = Model1146
  9566. Part1149.BrickColor = BrickColor.new("Cool yellow")
  9567. Part1149.Transparency = 1
  9568. Part1149.Anchored = true
  9569. Part1149.CanCollide = false
  9570. Part1149.FormFactor = Enum.FormFactor.Symmetric
  9571. Part1149.Size = Vector3.new(2, 8, 2)
  9572. Part1149.CFrame = CFrame.new(148.399994, 28.1122017, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9573. Part1149.Color = Color3.new(0.992157, 0.917647, 0.552941)
  9574. Part1149.Position = Vector3.new(148.399994, 28.1122017, -146.599991)
  9575. Part1149.Color = Color3.new(0.992157, 0.917647, 0.552941)
  9576. SpecialMesh1150.Parent = Part1149
  9577. SpecialMesh1150.MeshId = "http://www.roblox.com/asset/?id=1033714"
  9578. SpecialMesh1150.Scale = Vector3.new(7, 13, 7)
  9579. SpecialMesh1150.MeshType = Enum.MeshType.FileMesh
  9580. SpecialMesh1150.Scale = Vector3.new(7, 13, 7)
  9581. Script1151.Name = "Function"
  9582. Script1151.Parent = Model1146
  9583. table.insert(cors,sandbox(Script1151,function()
  9584. local on = false
  9585.  
  9586. function check()
  9587. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  9588. if ((n > 6) and (n < 18)) then
  9589. if (on) then
  9590. on = false
  9591. wait(math.random()*5)
  9592. for i = 1,5 do
  9593. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  9594. wait()
  9595. end
  9596. script.Parent.Light.Transparency = 1
  9597. end
  9598. elseif not (on) then
  9599. on = true
  9600. wait(math.random()*5)
  9601. for i = 1,5 do
  9602. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  9603. wait()
  9604. end
  9605. script.Parent.Light.Transparency = 0.5
  9606. end
  9607. end
  9608.  
  9609. game.Lighting.LightingChanged:connect(check)
  9610. check()
  9611. end))
  9612. Part1152.Name = "LightSocket"
  9613. Part1152.Parent = Model1146
  9614. Part1152.BrickColor = BrickColor.new("Dark stone grey")
  9615. Part1152.Anchored = true
  9616. Part1152.FormFactor = Enum.FormFactor.Symmetric
  9617. Part1152.Size = Vector3.new(2, 1, 2)
  9618. Part1152.CFrame = CFrame.new(148.399994, 32.6122093, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9619. Part1152.BottomSurface = Enum.SurfaceType.Smooth
  9620. Part1152.TopSurface = Enum.SurfaceType.Smooth
  9621. Part1152.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9622. Part1152.Position = Vector3.new(148.399994, 32.6122093, -146.599991)
  9623. Part1152.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9624. CylinderMesh1153.Parent = Part1152
  9625. CylinderMesh1153.Offset = Vector3.new(0, 0.600000024, 0)
  9626. CylinderMesh1153.Scale = Vector3.new(1, 0.5, 1)
  9627. CylinderMesh1153.Scale = Vector3.new(1, 0.5, 1)
  9628. Model1154.Name = "Door"
  9629. Model1154.Parent = Model1096
  9630. Part1155.Name = "Bar"
  9631. Part1155.Parent = Model1154
  9632. Part1155.Reflectance = 0.15000000596046
  9633. Part1155.Anchored = true
  9634. Part1155.FormFactor = Enum.FormFactor.Symmetric
  9635. Part1155.Size = Vector3.new(1, 9, 1)
  9636. Part1155.CFrame = CFrame.new(152.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9637. Part1155.BottomSurface = Enum.SurfaceType.Smooth
  9638. Part1155.TopSurface = Enum.SurfaceType.Smooth
  9639. Part1155.Position = Vector3.new(152.899994, 28.0121994, -139.099991)
  9640. CylinderMesh1156.Parent = Part1155
  9641. CylinderMesh1156.Scale = Vector3.new(0.5, 1, 1)
  9642. CylinderMesh1156.Scale = Vector3.new(0.5, 1, 1)
  9643. Part1157.Name = "Bar"
  9644. Part1157.Parent = Model1154
  9645. Part1157.Reflectance = 0.15000000596046
  9646. Part1157.Anchored = true
  9647. Part1157.FormFactor = Enum.FormFactor.Symmetric
  9648. Part1157.Size = Vector3.new(1, 9, 1)
  9649. Part1157.CFrame = CFrame.new(151.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9650. Part1157.BottomSurface = Enum.SurfaceType.Smooth
  9651. Part1157.TopSurface = Enum.SurfaceType.Smooth
  9652. Part1157.Position = Vector3.new(151.899994, 28.0121994, -139.099991)
  9653. CylinderMesh1158.Parent = Part1157
  9654. CylinderMesh1158.Scale = Vector3.new(0.5, 1, 1)
  9655. CylinderMesh1158.Scale = Vector3.new(0.5, 1, 1)
  9656. Part1159.Name = "Bar"
  9657. Part1159.Parent = Model1154
  9658. Part1159.Reflectance = 0.15000000596046
  9659. Part1159.Anchored = true
  9660. Part1159.FormFactor = Enum.FormFactor.Symmetric
  9661. Part1159.Size = Vector3.new(1, 9, 1)
  9662. Part1159.CFrame = CFrame.new(150.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9663. Part1159.BottomSurface = Enum.SurfaceType.Smooth
  9664. Part1159.TopSurface = Enum.SurfaceType.Smooth
  9665. Part1159.Position = Vector3.new(150.899994, 28.0121994, -139.099991)
  9666. CylinderMesh1160.Parent = Part1159
  9667. CylinderMesh1160.Scale = Vector3.new(0.5, 1, 1)
  9668. CylinderMesh1160.Scale = Vector3.new(0.5, 1, 1)
  9669. Part1161.Name = "Bar"
  9670. Part1161.Parent = Model1154
  9671. Part1161.Reflectance = 0.15000000596046
  9672. Part1161.Anchored = true
  9673. Part1161.FormFactor = Enum.FormFactor.Symmetric
  9674. Part1161.Size = Vector3.new(1, 9, 1)
  9675. Part1161.CFrame = CFrame.new(149.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9676. Part1161.BottomSurface = Enum.SurfaceType.Smooth
  9677. Part1161.TopSurface = Enum.SurfaceType.Smooth
  9678. Part1161.Position = Vector3.new(149.899994, 28.0121994, -139.099991)
  9679. CylinderMesh1162.Parent = Part1161
  9680. CylinderMesh1162.Scale = Vector3.new(0.5, 1, 1)
  9681. CylinderMesh1162.Scale = Vector3.new(0.5, 1, 1)
  9682. Part1163.Name = "Bar"
  9683. Part1163.Parent = Model1154
  9684. Part1163.Reflectance = 0.15000000596046
  9685. Part1163.Anchored = true
  9686. Part1163.FormFactor = Enum.FormFactor.Symmetric
  9687. Part1163.Size = Vector3.new(1, 9, 1)
  9688. Part1163.CFrame = CFrame.new(148.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9689. Part1163.BottomSurface = Enum.SurfaceType.Smooth
  9690. Part1163.TopSurface = Enum.SurfaceType.Smooth
  9691. Part1163.Position = Vector3.new(148.899994, 28.0121994, -139.099991)
  9692. CylinderMesh1164.Parent = Part1163
  9693. CylinderMesh1164.Scale = Vector3.new(0.5, 1, 1)
  9694. CylinderMesh1164.Scale = Vector3.new(0.5, 1, 1)
  9695. Part1165.Name = "Bar"
  9696. Part1165.Parent = Model1154
  9697. Part1165.Reflectance = 0.15000000596046
  9698. Part1165.Anchored = true
  9699. Part1165.FormFactor = Enum.FormFactor.Symmetric
  9700. Part1165.Size = Vector3.new(1, 9, 1)
  9701. Part1165.CFrame = CFrame.new(147.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9702. Part1165.BottomSurface = Enum.SurfaceType.Smooth
  9703. Part1165.TopSurface = Enum.SurfaceType.Smooth
  9704. Part1165.Position = Vector3.new(147.899994, 28.0121994, -139.099991)
  9705. CylinderMesh1166.Parent = Part1165
  9706. CylinderMesh1166.Scale = Vector3.new(0.5, 1, 1)
  9707. CylinderMesh1166.Scale = Vector3.new(0.5, 1, 1)
  9708. Script1167.Name = "Main"
  9709. Script1167.Parent = Model1154
  9710. table.insert(cors,sandbox(Script1167,function()
  9711. local _items = {}
  9712.  
  9713. local door = -1
  9714. -- -1 = Closed
  9715. -- 0 = Active
  9716. -- 1 = Open
  9717.  
  9718. function getItems()
  9719. for _,v in pairs(script.Parent:GetChildren()) do
  9720. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  9721. table.insert(_items,v)
  9722. end
  9723. end
  9724. end
  9725.  
  9726. function main()
  9727. local d = door
  9728. door = 0
  9729. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  9730. for i = 0,5,0.05 do
  9731. for _,v in pairs(_items) do
  9732. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  9733. end
  9734. wait()
  9735. end
  9736. if (d == (-1)) then
  9737. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  9738. elseif (d == 1) then
  9739. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  9740. end
  9741. door = d
  9742. end
  9743.  
  9744. script.Parent.Button.Click.MouseClick:connect(function()
  9745. if (door == 0) then return end
  9746. door = (door*(-1))
  9747. main()
  9748. end)
  9749.  
  9750. getItems()
  9751. end))
  9752. Part1168.Name = "Button"
  9753. Part1168.Parent = Model1154
  9754. Part1168.BrickColor = BrickColor.new("Really red")
  9755. Part1168.Reflectance = 0.20000000298023
  9756. Part1168.Transparency = 0.5
  9757. Part1168.Rotation = Vector3.new(90, 0, -180)
  9758. Part1168.Anchored = true
  9759. Part1168.FormFactor = Enum.FormFactor.Plate
  9760. Part1168.Size = Vector3.new(1, 0.400000006, 1)
  9761. Part1168.CFrame = CFrame.new(145.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  9762. Part1168.BottomSurface = Enum.SurfaceType.Smooth
  9763. Part1168.TopSurface = Enum.SurfaceType.Smooth
  9764. Part1168.Color = Color3.new(1, 0, 0)
  9765. Part1168.Position = Vector3.new(145.899994, 28.0121784, -138.399994)
  9766. Part1168.Orientation = Vector3.new(90, 180, 0)
  9767. Part1168.Color = Color3.new(1, 0, 0)
  9768. BlockMesh1169.Parent = Part1168
  9769. CylinderMesh1170.Parent = Part1168
  9770. CylinderMesh1170.Offset = Vector3.new(0, 0.150000006, 0)
  9771. CylinderMesh1170.Scale = Vector3.new(1, 0.200000003, 1)
  9772. CylinderMesh1170.Scale = Vector3.new(1, 0.200000003, 1)
  9773. ClickDetector1171.Name = "Click"
  9774. ClickDetector1171.Parent = Part1168
  9775. Model1172.Name = "PrisonCell"
  9776. Model1172.Parent = Model1
  9777. Model1173.Name = "Exterior"
  9778. Model1173.Parent = Model1172
  9779. Model1174.Name = "Top"
  9780. Model1174.Parent = Model1173
  9781. Part1175.Name = "Ceiling"
  9782. Part1175.Parent = Model1174
  9783. Part1175.BrickColor = BrickColor.new("Brick yellow")
  9784. Part1175.Anchored = true
  9785. Part1175.FormFactor = Enum.FormFactor.Plate
  9786. Part1175.Size = Vector3.new(12, 0.400000006, 14)
  9787. Part1175.CFrame = CFrame.new(106.399994, 33.3122063, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9788. Part1175.BottomSurface = Enum.SurfaceType.Smooth
  9789. Part1175.TopSurface = Enum.SurfaceType.Smooth
  9790. Part1175.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9791. Part1175.Position = Vector3.new(106.399994, 33.3122063, -146.600006)
  9792. Part1175.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9793. BlockMesh1176.Parent = Part1175
  9794. Part1177.Name = "Top"
  9795. Part1177.Parent = Model1174
  9796. Part1177.BrickColor = BrickColor.new("Dark stone grey")
  9797. Part1177.Anchored = true
  9798. Part1177.FormFactor = Enum.FormFactor.Symmetric
  9799. Part1177.Size = Vector3.new(14, 1, 16)
  9800. Part1177.CFrame = CFrame.new(106.399994, 34.012207, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9801. Part1177.BottomSurface = Enum.SurfaceType.Smooth
  9802. Part1177.TopSurface = Enum.SurfaceType.Smooth
  9803. Part1177.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9804. Part1177.Position = Vector3.new(106.399994, 34.012207, -146.600006)
  9805. Part1177.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9806. BlockMesh1178.Parent = Part1177
  9807. Model1179.Name = "Walls"
  9808. Model1179.Parent = Model1173
  9809. Part1180.Parent = Model1179
  9810. Part1180.BrickColor = BrickColor.new("Dark stone grey")
  9811. Part1180.Anchored = true
  9812. Part1180.FormFactor = Enum.FormFactor.Symmetric
  9813. Part1180.Size = Vector3.new(6, 1, 1)
  9814. Part1180.CFrame = CFrame.new(108.400002, 33.0122108, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9815. Part1180.BottomSurface = Enum.SurfaceType.Smooth
  9816. Part1180.TopSurface = Enum.SurfaceType.Smooth
  9817. Part1180.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9818. Part1180.Position = Vector3.new(108.400002, 33.0122108, -139.100006)
  9819. Part1180.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9820. BlockMesh1181.Parent = Part1180
  9821. Part1182.Parent = Model1179
  9822. Part1182.BrickColor = BrickColor.new("Dark stone grey")
  9823. Part1182.Anchored = true
  9824. Part1182.FormFactor = Enum.FormFactor.Symmetric
  9825. Part1182.Size = Vector3.new(6, 10, 1)
  9826. Part1182.CFrame = CFrame.new(102.399994, 28.5121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9827. Part1182.BottomSurface = Enum.SurfaceType.Smooth
  9828. Part1182.TopSurface = Enum.SurfaceType.Smooth
  9829. Part1182.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9830. Part1182.Position = Vector3.new(102.399994, 28.5121994, -139.100006)
  9831. Part1182.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9832. BlockMesh1183.Parent = Part1182
  9833. Part1184.Parent = Model1179
  9834. Part1184.BrickColor = BrickColor.new("Dark stone grey")
  9835. Part1184.Rotation = Vector3.new(-180, 0, -180)
  9836. Part1184.Anchored = true
  9837. Part1184.FormFactor = Enum.FormFactor.Symmetric
  9838. Part1184.Size = Vector3.new(1, 10, 14)
  9839. Part1184.CFrame = CFrame.new(99.8999939, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9840. Part1184.BottomSurface = Enum.SurfaceType.Smooth
  9841. Part1184.TopSurface = Enum.SurfaceType.Smooth
  9842. Part1184.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9843. Part1184.Position = Vector3.new(99.8999939, 28.5121994, -146.600006)
  9844. Part1184.Orientation = Vector3.new(0, 180, 0)
  9845. Part1184.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9846. BlockMesh1185.Parent = Part1184
  9847. Part1186.Parent = Model1179
  9848. Part1186.BrickColor = BrickColor.new("Dark stone grey")
  9849. Part1186.Rotation = Vector3.new(0, -90, 0)
  9850. Part1186.Anchored = true
  9851. Part1186.FormFactor = Enum.FormFactor.Symmetric
  9852. Part1186.Size = Vector3.new(1, 10, 14)
  9853. Part1186.CFrame = CFrame.new(106.399994, 28.5121994, -154.100006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  9854. Part1186.BottomSurface = Enum.SurfaceType.Smooth
  9855. Part1186.TopSurface = Enum.SurfaceType.Smooth
  9856. Part1186.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9857. Part1186.Position = Vector3.new(106.399994, 28.5121994, -154.100006)
  9858. Part1186.Orientation = Vector3.new(0, -90, 0)
  9859. Part1186.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9860. BlockMesh1187.Parent = Part1186
  9861. Part1188.Parent = Model1179
  9862. Part1188.BrickColor = BrickColor.new("Dark stone grey")
  9863. Part1188.Rotation = Vector3.new(-180, 0, -180)
  9864. Part1188.Anchored = true
  9865. Part1188.FormFactor = Enum.FormFactor.Symmetric
  9866. Part1188.Size = Vector3.new(1, 10, 14)
  9867. Part1188.CFrame = CFrame.new(112.899994, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  9868. Part1188.BottomSurface = Enum.SurfaceType.Smooth
  9869. Part1188.TopSurface = Enum.SurfaceType.Smooth
  9870. Part1188.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9871. Part1188.Position = Vector3.new(112.899994, 28.5121994, -146.600006)
  9872. Part1188.Orientation = Vector3.new(0, 180, 0)
  9873. Part1188.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9874. BlockMesh1189.Parent = Part1188
  9875. Part1190.Parent = Model1179
  9876. Part1190.BrickColor = BrickColor.new("Dark stone grey")
  9877. Part1190.Rotation = Vector3.new(0, 90, 0)
  9878. Part1190.Anchored = true
  9879. Part1190.FormFactor = Enum.FormFactor.Symmetric
  9880. Part1190.Size = Vector3.new(1, 10, 2)
  9881. Part1190.CFrame = CFrame.new(112.399994, 28.5121994, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  9882. Part1190.BottomSurface = Enum.SurfaceType.Smooth
  9883. Part1190.TopSurface = Enum.SurfaceType.Smooth
  9884. Part1190.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9885. Part1190.Position = Vector3.new(112.399994, 28.5121994, -139.100006)
  9886. Part1190.Orientation = Vector3.new(0, 90, 0)
  9887. Part1190.Color = Color3.new(0.388235, 0.372549, 0.384314)
  9888. BlockMesh1191.Parent = Part1190
  9889. Model1192.Name = "Floor"
  9890. Model1192.Parent = Model1173
  9891. Part1193.Name = "Floor"
  9892. Part1193.Parent = Model1192
  9893. Part1193.BrickColor = BrickColor.new("Brick yellow")
  9894. Part1193.Anchored = true
  9895. Part1193.FormFactor = Enum.FormFactor.Plate
  9896. Part1193.Size = Vector3.new(12, 0.400000006, 14)
  9897. Part1193.CFrame = CFrame.new(106.399994, 23.7121944, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9898. Part1193.BottomSurface = Enum.SurfaceType.Smooth
  9899. Part1193.TopSurface = Enum.SurfaceType.Smooth
  9900. Part1193.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9901. Part1193.Position = Vector3.new(106.399994, 23.7121944, -146.600006)
  9902. Part1193.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9903. BlockMesh1194.Parent = Part1193
  9904. Part1195.Name = "Floor"
  9905. Part1195.Parent = Model1192
  9906. Part1195.BrickColor = BrickColor.new("Brick yellow")
  9907. Part1195.Anchored = true
  9908. Part1195.CanCollide = false
  9909. Part1195.FormFactor = Enum.FormFactor.Plate
  9910. Part1195.Size = Vector3.new(6, 0.400000006, 1)
  9911. Part1195.CFrame = CFrame.new(108.400002, 24.1122017, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9912. Part1195.BottomSurface = Enum.SurfaceType.Smooth
  9913. Part1195.TopSurface = Enum.SurfaceType.Smooth
  9914. Part1195.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9915. Part1195.Position = Vector3.new(108.400002, 24.1122017, -140.100006)
  9916. Part1195.Color = Color3.new(0.843137, 0.772549, 0.603922)
  9917. BlockMesh1196.Parent = Part1195
  9918. BlockMesh1196.Offset = Vector3.new(0, -0.400000006, 1)
  9919. Model1197.Name = "Items"
  9920. Model1197.Parent = Model1172
  9921. Model1198.Name = "Furnish"
  9922. Model1198.Parent = Model1197
  9923. Model1199.Name = "Bed"
  9924. Model1199.Parent = Model1198
  9925. Part1200.Name = "Pole"
  9926. Part1200.Parent = Model1199
  9927. Part1200.BrickColor = BrickColor.new("Mid gray")
  9928. Part1200.Reflectance = 0.15000000596046
  9929. Part1200.Anchored = true
  9930. Part1200.CanCollide = false
  9931. Part1200.FormFactor = Enum.FormFactor.Symmetric
  9932. Part1200.Size = Vector3.new(1, 5, 1)
  9933. Part1200.CFrame = CFrame.new(100.899994, 26.4121971, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9934. Part1200.BottomSurface = Enum.SurfaceType.Smooth
  9935. Part1200.TopSurface = Enum.SurfaceType.Smooth
  9936. Part1200.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9937. Part1200.Position = Vector3.new(100.899994, 26.4121971, -140.100006)
  9938. Part1200.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9939. CylinderMesh1201.Parent = Part1200
  9940. CylinderMesh1201.Scale = Vector3.new(0.5, 1, 0.5)
  9941. CylinderMesh1201.Scale = Vector3.new(0.5, 1, 0.5)
  9942. Part1202.Name = "Pole"
  9943. Part1202.Parent = Model1199
  9944. Part1202.BrickColor = BrickColor.new("Mid gray")
  9945. Part1202.Reflectance = 0.15000000596046
  9946. Part1202.Anchored = true
  9947. Part1202.CanCollide = false
  9948. Part1202.FormFactor = Enum.FormFactor.Symmetric
  9949. Part1202.Size = Vector3.new(1, 5, 1)
  9950. Part1202.CFrame = CFrame.new(100.899994, 26.4121971, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9951. Part1202.BottomSurface = Enum.SurfaceType.Smooth
  9952. Part1202.TopSurface = Enum.SurfaceType.Smooth
  9953. Part1202.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9954. Part1202.Position = Vector3.new(100.899994, 26.4121971, -147.100006)
  9955. Part1202.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9956. CylinderMesh1203.Parent = Part1202
  9957. CylinderMesh1203.Scale = Vector3.new(0.5, 1, 0.5)
  9958. CylinderMesh1203.Scale = Vector3.new(0.5, 1, 0.5)
  9959. Part1204.Name = "Pole"
  9960. Part1204.Parent = Model1199
  9961. Part1204.BrickColor = BrickColor.new("Mid gray")
  9962. Part1204.Reflectance = 0.15000000596046
  9963. Part1204.Anchored = true
  9964. Part1204.CanCollide = false
  9965. Part1204.FormFactor = Enum.FormFactor.Symmetric
  9966. Part1204.Size = Vector3.new(1, 5, 1)
  9967. Part1204.CFrame = CFrame.new(104.899994, 26.4121971, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9968. Part1204.BottomSurface = Enum.SurfaceType.Smooth
  9969. Part1204.TopSurface = Enum.SurfaceType.Smooth
  9970. Part1204.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9971. Part1204.Position = Vector3.new(104.899994, 26.4121971, -147.100006)
  9972. Part1204.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9973. CylinderMesh1205.Parent = Part1204
  9974. CylinderMesh1205.Scale = Vector3.new(0.5, 1, 0.5)
  9975. CylinderMesh1205.Scale = Vector3.new(0.5, 1, 0.5)
  9976. Part1206.Name = "Pole"
  9977. Part1206.Parent = Model1199
  9978. Part1206.BrickColor = BrickColor.new("Mid gray")
  9979. Part1206.Reflectance = 0.15000000596046
  9980. Part1206.Anchored = true
  9981. Part1206.CanCollide = false
  9982. Part1206.FormFactor = Enum.FormFactor.Symmetric
  9983. Part1206.Size = Vector3.new(1, 5, 1)
  9984. Part1206.CFrame = CFrame.new(104.899994, 26.4121971, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  9985. Part1206.BottomSurface = Enum.SurfaceType.Smooth
  9986. Part1206.TopSurface = Enum.SurfaceType.Smooth
  9987. Part1206.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9988. Part1206.Position = Vector3.new(104.899994, 26.4121971, -140.100006)
  9989. Part1206.Color = Color3.new(0.803922, 0.803922, 0.803922)
  9990. CylinderMesh1207.Parent = Part1206
  9991. CylinderMesh1207.Scale = Vector3.new(0.5, 1, 0.5)
  9992. CylinderMesh1207.Scale = Vector3.new(0.5, 1, 0.5)
  9993. Part1208.Parent = Model1199
  9994. Part1208.BrickColor = BrickColor.new("Institutional white")
  9995. Part1208.Rotation = Vector3.new(-180, 0, -180)
  9996. Part1208.Anchored = true
  9997. Part1208.FormFactor = Enum.FormFactor.Symmetric
  9998. Part1208.Size = Vector3.new(3, 1, 6)
  9999. Part1208.CFrame = CFrame.new(102.899994, 27.6122017, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  10000. Part1208.BottomSurface = Enum.SurfaceType.Smooth
  10001. Part1208.TopSurface = Enum.SurfaceType.Smooth
  10002. Part1208.Color = Color3.new(0.972549, 0.972549, 0.972549)
  10003. Part1208.Position = Vector3.new(102.899994, 27.6122017, -143.600006)
  10004. Part1208.Orientation = Vector3.new(0, 180, 0)
  10005. Part1208.Color = Color3.new(0.972549, 0.972549, 0.972549)
  10006. BlockMesh1209.Parent = Part1208
  10007. BlockMesh1209.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  10008. BlockMesh1209.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  10009. Part1210.Parent = Model1199
  10010. Part1210.BrickColor = BrickColor.new("Institutional white")
  10011. Part1210.Rotation = Vector3.new(-180, 0, -180)
  10012. Part1210.Anchored = true
  10013. Part1210.FormFactor = Enum.FormFactor.Symmetric
  10014. Part1210.Size = Vector3.new(3, 1, 6)
  10015. Part1210.CFrame = CFrame.new(102.899994, 24.4121971, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  10016. Part1210.BottomSurface = Enum.SurfaceType.Smooth
  10017. Part1210.TopSurface = Enum.SurfaceType.Smooth
  10018. Part1210.Color = Color3.new(0.972549, 0.972549, 0.972549)
  10019. Part1210.Position = Vector3.new(102.899994, 24.4121971, -143.600006)
  10020. Part1210.Orientation = Vector3.new(0, 180, 0)
  10021. Part1210.Color = Color3.new(0.972549, 0.972549, 0.972549)
  10022. BlockMesh1211.Parent = Part1210
  10023. BlockMesh1211.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  10024. BlockMesh1211.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
  10025. Model1212.Name = "Toilet"
  10026. Model1212.Parent = Model1198
  10027. Part1213.Parent = Model1212
  10028. Part1213.BrickColor = BrickColor.new("Mid gray")
  10029. Part1213.Rotation = Vector3.new(0, -90, 0)
  10030. Part1213.Anchored = true
  10031. Part1213.FormFactor = Enum.FormFactor.Symmetric
  10032. Part1213.Size = Vector3.new(2, 3, 1)
  10033. Part1213.CFrame = CFrame.new(100.899994, 26.4121971, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  10034. Part1213.BottomSurface = Enum.SurfaceType.Smooth
  10035. Part1213.TopSurface = Enum.SurfaceType.Smooth
  10036. Part1213.Color = Color3.new(0.803922, 0.803922, 0.803922)
  10037. Part1213.Position = Vector3.new(100.899994, 26.4121971, -150.600006)
  10038. Part1213.Orientation = Vector3.new(0, -90, 0)
  10039. Part1213.Color = Color3.new(0.803922, 0.803922, 0.803922)
  10040. BlockMesh1214.Parent = Part1213
  10041. BlockMesh1214.Scale = Vector3.new(1.5, 1, 1)
  10042. BlockMesh1214.Scale = Vector3.new(1.5, 1, 1)
  10043. Part1215.Parent = Model1212
  10044. Part1215.BrickColor = BrickColor.new("Mid gray")
  10045. Part1215.Rotation = Vector3.new(0, -90, 0)
  10046. Part1215.Anchored = true
  10047. Part1215.FormFactor = Enum.FormFactor.Symmetric
  10048. Part1215.Size = Vector3.new(2, 1, 3)
  10049. Part1215.CFrame = CFrame.new(101.899994, 24.4121971, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  10050. Part1215.BottomSurface = Enum.SurfaceType.Smooth
  10051. Part1215.TopSurface = Enum.SurfaceType.Smooth
  10052. Part1215.Color = Color3.new(0.803922, 0.803922, 0.803922)
  10053. Part1215.Position = Vector3.new(101.899994, 24.4121971, -150.600006)
  10054. Part1215.Orientation = Vector3.new(0, -90, 0)
  10055. Part1215.Color = Color3.new(0.803922, 0.803922, 0.803922)
  10056. BlockMesh1216.Parent = Part1215
  10057. Part1217.Parent = Model1212
  10058. Part1217.BrickColor = BrickColor.new("Light stone grey")
  10059. Part1217.Rotation = Vector3.new(0, -90, 0)
  10060. Part1217.Anchored = true
  10061. Part1217.FormFactor = Enum.FormFactor.Plate
  10062. Part1217.Size = Vector3.new(2, 0.400000006, 2)
  10063. Part1217.CFrame = CFrame.new(102.399994, 25.1122017, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  10064. Part1217.BottomSurface = Enum.SurfaceType.Smooth
  10065. Part1217.TopSurface = Enum.SurfaceType.Smooth
  10066. Part1217.Color = Color3.new(0.898039, 0.894118, 0.87451)
  10067. Part1217.Position = Vector3.new(102.399994, 25.1122017, -150.600006)
  10068. Part1217.Orientation = Vector3.new(0, -90, 0)
  10069. Part1217.Color = Color3.new(0.898039, 0.894118, 0.87451)
  10070. SpecialMesh1218.Parent = Part1217
  10071. SpecialMesh1218.Scale = Vector3.new(1.5, 2, 2)
  10072. SpecialMesh1218.MeshType = Enum.MeshType.Sphere
  10073. SpecialMesh1218.Scale = Vector3.new(1.5, 2, 2)
  10074. Part1219.Name = "Pole"
  10075. Part1219.Parent = Model1198
  10076. Part1219.BrickColor = BrickColor.new("Mid gray")
  10077. Part1219.Reflectance = 0.15000000596046
  10078. Part1219.Rotation = Vector3.new(0, 0, -90)
  10079. Part1219.Anchored = true
  10080. Part1219.CanCollide = false
  10081. Part1219.FormFactor = Enum.FormFactor.Symmetric
  10082. Part1219.Size = Vector3.new(1, 12, 1)
  10083. Part1219.CFrame = CFrame.new(106.399994, 27.4121971, -153.100006, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  10084. Part1219.BottomSurface = Enum.SurfaceType.Smooth
  10085. Part1219.TopSurface = Enum.SurfaceType.Smooth
  10086. Part1219.Color = Color3.new(0.803922, 0.803922, 0.803922)
  10087. Part1219.Position = Vector3.new(106.399994, 27.4121971, -153.100006)
  10088. Part1219.Orientation = Vector3.new(0, 0, -90)
  10089. Part1219.Color = Color3.new(0.803922, 0.803922, 0.803922)
  10090. CylinderMesh1220.Parent = Part1219
  10091. CylinderMesh1220.Scale = Vector3.new(0.5, 1, 0.5)
  10092. CylinderMesh1220.Scale = Vector3.new(0.5, 1, 0.5)
  10093. Model1221.Name = "Functions"
  10094. Model1221.Parent = Model1197
  10095. Model1222.Name = "Light"
  10096. Model1222.Parent = Model1221
  10097. Part1223.Name = "Lightbulb"
  10098. Part1223.Parent = Model1222
  10099. Part1223.Transparency = 0.5
  10100. Part1223.Rotation = Vector3.new(180, 90, 0)
  10101. Part1223.Anchored = true
  10102. Part1223.CanCollide = false
  10103. Part1223.FormFactor = Enum.FormFactor.Symmetric
  10104. Part1223.Size = Vector3.new(2, 1, 2)
  10105. Part1223.CFrame = CFrame.new(106.399994, 32.6122093, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
  10106. Part1223.BackSurface = Enum.SurfaceType.Weld
  10107. Part1223.BottomSurface = Enum.SurfaceType.Weld
  10108. Part1223.FrontSurface = Enum.SurfaceType.Weld
  10109. Part1223.LeftSurface = Enum.SurfaceType.Weld
  10110. Part1223.RightSurface = Enum.SurfaceType.Weld
  10111. Part1223.TopSurface = Enum.SurfaceType.Weld
  10112. Part1223.Position = Vector3.new(106.399994, 32.6122093, -146.600006)
  10113. Part1223.Orientation = Vector3.new(0, 90, 180)
  10114. SpecialMesh1224.Parent = Part1223
  10115. SpecialMesh1224.MeshId = "http://www.roblox.com/asset/?id=1376459"
  10116. SpecialMesh1224.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  10117. SpecialMesh1224.TextureId = "http://www.roblox.com/asset/?id=1376456"
  10118. SpecialMesh1224.MeshType = Enum.MeshType.FileMesh
  10119. SpecialMesh1224.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
  10120. Part1225.Name = "Light"
  10121. Part1225.Parent = Model1222
  10122. Part1225.BrickColor = BrickColor.new("Cool yellow")
  10123. Part1225.Transparency = 1
  10124. Part1225.Anchored = true
  10125. Part1225.CanCollide = false
  10126. Part1225.FormFactor = Enum.FormFactor.Symmetric
  10127. Part1225.Size = Vector3.new(2, 8, 2)
  10128. Part1225.CFrame = CFrame.new(106.399994, 28.1122017, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10129. Part1225.Color = Color3.new(0.992157, 0.917647, 0.552941)
  10130. Part1225.Position = Vector3.new(106.399994, 28.1122017, -146.600006)
  10131. Part1225.Color = Color3.new(0.992157, 0.917647, 0.552941)
  10132. SpecialMesh1226.Parent = Part1225
  10133. SpecialMesh1226.MeshId = "http://www.roblox.com/asset/?id=1033714"
  10134. SpecialMesh1226.Scale = Vector3.new(7, 13, 7)
  10135. SpecialMesh1226.MeshType = Enum.MeshType.FileMesh
  10136. SpecialMesh1226.Scale = Vector3.new(7, 13, 7)
  10137. Script1227.Name = "Function"
  10138. Script1227.Parent = Model1222
  10139. table.insert(cors,sandbox(Script1227,function()
  10140. local on = false
  10141.  
  10142. function check()
  10143. local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
  10144. if ((n > 6) and (n < 18)) then
  10145. if (on) then
  10146. on = false
  10147. wait(math.random()*5)
  10148. for i = 1,5 do
  10149. script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
  10150. wait()
  10151. end
  10152. script.Parent.Light.Transparency = 1
  10153. end
  10154. elseif not (on) then
  10155. on = true
  10156. wait(math.random()*5)
  10157. for i = 1,5 do
  10158. script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
  10159. wait()
  10160. end
  10161. script.Parent.Light.Transparency = 0.5
  10162. end
  10163. end
  10164.  
  10165. game.Lighting.LightingChanged:connect(check)
  10166. check()
  10167. end))
  10168. Part1228.Name = "LightSocket"
  10169. Part1228.Parent = Model1222
  10170. Part1228.BrickColor = BrickColor.new("Dark stone grey")
  10171. Part1228.Anchored = true
  10172. Part1228.FormFactor = Enum.FormFactor.Symmetric
  10173. Part1228.Size = Vector3.new(2, 1, 2)
  10174. Part1228.CFrame = CFrame.new(106.399994, 32.6122093, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10175. Part1228.BottomSurface = Enum.SurfaceType.Smooth
  10176. Part1228.TopSurface = Enum.SurfaceType.Smooth
  10177. Part1228.Color = Color3.new(0.388235, 0.372549, 0.384314)
  10178. Part1228.Position = Vector3.new(106.399994, 32.6122093, -146.600006)
  10179. Part1228.Color = Color3.new(0.388235, 0.372549, 0.384314)
  10180. CylinderMesh1229.Parent = Part1228
  10181. CylinderMesh1229.Offset = Vector3.new(0, 0.600000024, 0)
  10182. CylinderMesh1229.Scale = Vector3.new(1, 0.5, 1)
  10183. CylinderMesh1229.Scale = Vector3.new(1, 0.5, 1)
  10184. Model1230.Name = "Door"
  10185. Model1230.Parent = Model1172
  10186. Part1231.Name = "Bar"
  10187. Part1231.Parent = Model1230
  10188. Part1231.Reflectance = 0.15000000596046
  10189. Part1231.Anchored = true
  10190. Part1231.FormFactor = Enum.FormFactor.Symmetric
  10191. Part1231.Size = Vector3.new(1, 9, 1)
  10192. Part1231.CFrame = CFrame.new(110.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10193. Part1231.BottomSurface = Enum.SurfaceType.Smooth
  10194. Part1231.TopSurface = Enum.SurfaceType.Smooth
  10195. Part1231.Position = Vector3.new(110.899994, 28.0121994, -139.100006)
  10196. CylinderMesh1232.Parent = Part1231
  10197. CylinderMesh1232.Scale = Vector3.new(0.5, 1, 1)
  10198. CylinderMesh1232.Scale = Vector3.new(0.5, 1, 1)
  10199. Part1233.Name = "Bar"
  10200. Part1233.Parent = Model1230
  10201. Part1233.Reflectance = 0.15000000596046
  10202. Part1233.Anchored = true
  10203. Part1233.FormFactor = Enum.FormFactor.Symmetric
  10204. Part1233.Size = Vector3.new(1, 9, 1)
  10205. Part1233.CFrame = CFrame.new(109.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10206. Part1233.BottomSurface = Enum.SurfaceType.Smooth
  10207. Part1233.TopSurface = Enum.SurfaceType.Smooth
  10208. Part1233.Position = Vector3.new(109.899994, 28.0121994, -139.100006)
  10209. CylinderMesh1234.Parent = Part1233
  10210. CylinderMesh1234.Scale = Vector3.new(0.5, 1, 1)
  10211. CylinderMesh1234.Scale = Vector3.new(0.5, 1, 1)
  10212. Part1235.Name = "Bar"
  10213. Part1235.Parent = Model1230
  10214. Part1235.Reflectance = 0.15000000596046
  10215. Part1235.Anchored = true
  10216. Part1235.FormFactor = Enum.FormFactor.Symmetric
  10217. Part1235.Size = Vector3.new(1, 9, 1)
  10218. Part1235.CFrame = CFrame.new(108.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10219. Part1235.BottomSurface = Enum.SurfaceType.Smooth
  10220. Part1235.TopSurface = Enum.SurfaceType.Smooth
  10221. Part1235.Position = Vector3.new(108.899994, 28.0121994, -139.100006)
  10222. CylinderMesh1236.Parent = Part1235
  10223. CylinderMesh1236.Scale = Vector3.new(0.5, 1, 1)
  10224. CylinderMesh1236.Scale = Vector3.new(0.5, 1, 1)
  10225. Part1237.Name = "Bar"
  10226. Part1237.Parent = Model1230
  10227. Part1237.Reflectance = 0.15000000596046
  10228. Part1237.Anchored = true
  10229. Part1237.FormFactor = Enum.FormFactor.Symmetric
  10230. Part1237.Size = Vector3.new(1, 9, 1)
  10231. Part1237.CFrame = CFrame.new(107.900002, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10232. Part1237.BottomSurface = Enum.SurfaceType.Smooth
  10233. Part1237.TopSurface = Enum.SurfaceType.Smooth
  10234. Part1237.Position = Vector3.new(107.900002, 28.0121994, -139.100006)
  10235. CylinderMesh1238.Parent = Part1237
  10236. CylinderMesh1238.Scale = Vector3.new(0.5, 1, 1)
  10237. CylinderMesh1238.Scale = Vector3.new(0.5, 1, 1)
  10238. Part1239.Name = "Bar"
  10239. Part1239.Parent = Model1230
  10240. Part1239.Reflectance = 0.15000000596046
  10241. Part1239.Anchored = true
  10242. Part1239.FormFactor = Enum.FormFactor.Symmetric
  10243. Part1239.Size = Vector3.new(1, 9, 1)
  10244. Part1239.CFrame = CFrame.new(106.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10245. Part1239.BottomSurface = Enum.SurfaceType.Smooth
  10246. Part1239.TopSurface = Enum.SurfaceType.Smooth
  10247. Part1239.Position = Vector3.new(106.899994, 28.0121994, -139.100006)
  10248. CylinderMesh1240.Parent = Part1239
  10249. CylinderMesh1240.Scale = Vector3.new(0.5, 1, 1)
  10250. CylinderMesh1240.Scale = Vector3.new(0.5, 1, 1)
  10251. Part1241.Name = "Bar"
  10252. Part1241.Parent = Model1230
  10253. Part1241.Reflectance = 0.15000000596046
  10254. Part1241.Anchored = true
  10255. Part1241.FormFactor = Enum.FormFactor.Symmetric
  10256. Part1241.Size = Vector3.new(1, 9, 1)
  10257. Part1241.CFrame = CFrame.new(105.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10258. Part1241.BottomSurface = Enum.SurfaceType.Smooth
  10259. Part1241.TopSurface = Enum.SurfaceType.Smooth
  10260. Part1241.Position = Vector3.new(105.899994, 28.0121994, -139.100006)
  10261. CylinderMesh1242.Parent = Part1241
  10262. CylinderMesh1242.Scale = Vector3.new(0.5, 1, 1)
  10263. CylinderMesh1242.Scale = Vector3.new(0.5, 1, 1)
  10264. Script1243.Name = "Main"
  10265. Script1243.Parent = Model1230
  10266. table.insert(cors,sandbox(Script1243,function()
  10267. local _items = {}
  10268.  
  10269. local door = -1
  10270. -- -1 = Closed
  10271. -- 0 = Active
  10272. -- 1 = Open
  10273.  
  10274. function getItems()
  10275. for _,v in pairs(script.Parent:GetChildren()) do
  10276. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  10277. table.insert(_items,v)
  10278. end
  10279. end
  10280. end
  10281.  
  10282. function main()
  10283. local d = door
  10284. door = 0
  10285. script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
  10286. for i = 0,5,0.05 do
  10287. for _,v in pairs(_items) do
  10288. v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
  10289. end
  10290. wait()
  10291. end
  10292. if (d == (-1)) then
  10293. script.Parent.Button.BrickColor = BrickColor.new("Really red")
  10294. elseif (d == 1) then
  10295. script.Parent.Button.BrickColor = BrickColor.new("Bright green")
  10296. end
  10297. door = d
  10298. end
  10299.  
  10300. script.Parent.Button.Click.MouseClick:connect(function()
  10301. if (door == 0) then return end
  10302. door = (door*(-1))
  10303. main()
  10304. end)
  10305.  
  10306. getItems()
  10307. end))
  10308. Part1244.Name = "Button"
  10309. Part1244.Parent = Model1230
  10310. Part1244.BrickColor = BrickColor.new("Really red")
  10311. Part1244.Reflectance = 0.20000000298023
  10312. Part1244.Transparency = 0.5
  10313. Part1244.Rotation = Vector3.new(90, 0, -180)
  10314. Part1244.Anchored = true
  10315. Part1244.FormFactor = Enum.FormFactor.Plate
  10316. Part1244.Size = Vector3.new(1, 0.400000006, 1)
  10317. Part1244.CFrame = CFrame.new(103.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
  10318. Part1244.BottomSurface = Enum.SurfaceType.Smooth
  10319. Part1244.TopSurface = Enum.SurfaceType.Smooth
  10320. Part1244.Color = Color3.new(1, 0, 0)
  10321. Part1244.Position = Vector3.new(103.899994, 28.0121784, -138.399994)
  10322. Part1244.Orientation = Vector3.new(90, 180, 0)
  10323. Part1244.Color = Color3.new(1, 0, 0)
  10324. BlockMesh1245.Parent = Part1244
  10325. CylinderMesh1246.Parent = Part1244
  10326. CylinderMesh1246.Offset = Vector3.new(0, 0.150000006, 0)
  10327. CylinderMesh1246.Scale = Vector3.new(1, 0.200000003, 1)
  10328. CylinderMesh1246.Scale = Vector3.new(1, 0.200000003, 1)
  10329. ClickDetector1247.Name = "Click"
  10330. ClickDetector1247.Parent = Part1244
  10331. Part1248.Parent = Model1
  10332. Part1248.Anchored = true
  10333. Part1248.Size = Vector3.new(6.80000019, 1.00000024, 7.60000038)
  10334. Part1248.CFrame = CFrame.new(105.199997, 3.01212311, -43.2000122, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10335. Part1248.Position = Vector3.new(105.199997, 3.01212311, -43.2000122)
  10336. Part1249.Parent = Model1
  10337. Part1249.Anchored = true
  10338. Part1249.Size = Vector3.new(19.3999996, 8, 100)
  10339. Part1249.CFrame = CFrame.new(165.899994, 5.11211967, -89.4000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10340. Part1249.Position = Vector3.new(165.899994, 5.11211967, -89.4000092)
  10341. Part1250.Parent = Model1
  10342. Part1250.Anchored = true
  10343. Part1250.Size = Vector3.new(6.80000019, 1, 4.80000019)
  10344. Part1250.CFrame = CFrame.new(105.599998, 5.01211929, -41.8000145, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10345. Part1250.Position = Vector3.new(105.599998, 5.01211929, -41.8000145)
  10346. Part1251.Parent = Model1
  10347. Part1251.Anchored = true
  10348. Part1251.Size = Vector3.new(6.80000019, 1, 6.20000029)
  10349. Part1251.CFrame = CFrame.new(105.400002, 4.01212311, -42.5000076, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10350. Part1251.Position = Vector3.new(105.400002, 4.01212311, -42.5000076)
  10351. Part1252.Parent = Model1
  10352. Part1252.Anchored = true
  10353. Part1252.Size = Vector3.new(6.80000019, 1, 3.4000001)
  10354. Part1252.CFrame = CFrame.new(105.800003, 6.01211929, -41.1000061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10355. Part1252.Position = Vector3.new(105.800003, 6.01211929, -41.1000061)
  10356. Part1253.Parent = Model1
  10357. Part1253.Anchored = true
  10358. Part1253.Size = Vector3.new(18, 9.39999962, 100)
  10359. Part1253.CFrame = CFrame.new(65.7999954, 4.81212044, -89.4000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10360. Part1253.Position = Vector3.new(65.7999954, 4.81212044, -89.4000092)
  10361. Part1254.Parent = Model1
  10362. Part1254.Anchored = true
  10363. Part1254.Size = Vector3.new(89.4000015, 1, 10.3999996)
  10364. Part1254.CFrame = CFrame.new(124.099968, 8.61211967, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10365. Part1254.Position = Vector3.new(124.099968, 8.61211967, -23.5999908)
  10366. Part1255.Parent = Model1
  10367. Part1255.Anchored = true
  10368. Part1255.Size = Vector3.new(9.60000038, 1.00000012, 3.4000001)
  10369. Part1255.CFrame = CFrame.new(62.1999893, 20.4121227, -128.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10370. Part1255.Position = Vector3.new(62.1999893, 20.4121227, -128.099991)
  10371. Part1256.Parent = Model1
  10372. Part1256.Anchored = true
  10373. Part1256.Size = Vector3.new(9.60000038, 1.00000012, 3.4000001)
  10374. Part1256.CFrame = CFrame.new(61.7999878, 18.4121227, -125.299988, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10375. Part1256.Position = Vector3.new(61.7999878, 18.4121227, -125.299988)
  10376. Part1257.Parent = Model1
  10377. Part1257.Anchored = true
  10378. Part1257.Size = Vector3.new(9.60000038, 6.5999999, 2)
  10379. Part1257.CFrame = CFrame.new(61.7999878, 13.2121134, -121.199982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10380. Part1257.Position = Vector3.new(61.7999878, 13.2121134, -121.199982)
  10381. Part1258.Parent = Model1
  10382. Part1258.Anchored = true
  10383. Part1258.Size = Vector3.new(13.8000002, 1, 87.4000015)
  10384. Part1258.CFrame = CFrame.new(150.699997, 0.612123489, -83.9000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10385. Part1258.Position = Vector3.new(150.699997, 0.612123489, -83.9000092)
  10386. Part1259.Parent = Model1
  10387. Part1259.Anchored = true
  10388. Part1259.Size = Vector3.new(6.80000019, 1, 10.3999996)
  10389. Part1259.CFrame = CFrame.new(81.1999664, 7.61211872, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10390. Part1259.Position = Vector3.new(81.1999664, 7.61211872, -23.5999908)
  10391. Part1260.Parent = Model1
  10392. Part1260.Anchored = true
  10393. Part1260.Size = Vector3.new(6.80000019, 1, 10.3999996)
  10394. Part1260.CFrame = CFrame.new(73.1999893, 2.61212349, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10395. Part1260.Position = Vector3.new(73.1999893, 2.61212349, -23.5999908)
  10396. Part1261.Parent = Model1
  10397. Part1261.Anchored = true
  10398. Part1261.Size = Vector3.new(6.80000019, 1, 10.3999996)
  10399. Part1261.CFrame = CFrame.new(71.5999908, 1.6121254, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10400. Part1261.Position = Vector3.new(71.5999908, 1.6121254, -23.5999908)
  10401. Part1262.Parent = Model1
  10402. Part1262.Anchored = true
  10403. Part1262.Size = Vector3.new(135.600006, 1.00000226, 137.800003)
  10404. Part1262.CFrame = CFrame.new(116.400032, 45.0121307, -85.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10405. Part1262.Position = Vector3.new(116.400032, 45.0121307, -85.3000031)
  10406. Part1263.Parent = Model1
  10407. Part1263.Anchored = true
  10408. Part1263.Size = Vector3.new(6.80000019, 1, 10.3999996)
  10409. Part1263.CFrame = CFrame.new(77.9999771, 5.61211967, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10410. Part1263.Position = Vector3.new(77.9999771, 5.61211967, -23.5999908)
  10411. Part1264.Parent = Model1
  10412. Part1264.Anchored = true
  10413. Part1264.Size = Vector3.new(6.79999971, 1.00000024, 9)
  10414. Part1264.CFrame = CFrame.new(105, 2.01212311, -43.9000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10415. Part1264.Position = Vector3.new(105, 2.01212311, -43.9000092)
  10416. Part1265.Parent = Model1
  10417. Part1265.Anchored = true
  10418. Part1265.Size = Vector3.new(104.799995, 44.3999977, 2)
  10419. Part1265.CFrame = CFrame.new(116.399994, 22.3121243, -17.3999939, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10420. Part1265.Position = Vector3.new(116.399994, 22.3121243, -17.3999939)
  10421. Part1266.Parent = Model1
  10422. Part1266.BrickColor = BrickColor.new("Medium blue")
  10423. Part1266.Transparency = 0.40000000596046
  10424. Part1266.Rotation = Vector3.new(-180, 0, -180)
  10425. Part1266.CanCollide = false
  10426. Part1266.Size = Vector3.new(7, 8.40000057, 1)
  10427. Part1266.CFrame = CFrame.new(172.500031, 4.31212425, -17.5000076, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  10428. Part1266.Color = Color3.new(0.431373, 0.6, 0.792157)
  10429. Part1266.Position = Vector3.new(172.500031, 4.31212425, -17.5000076)
  10430. Part1266.Orientation = Vector3.new(0, 180, 0)
  10431. Part1266.Color = Color3.new(0.431373, 0.6, 0.792157)
  10432. Decal1267.Parent = Part1266
  10433. Decal1267.Texture = "http://www.roblox.com/asset/?id=12929140"
  10434. Decal1267.Face = Enum.NormalId.Back
  10435. Decal1268.Parent = Part1266
  10436. Decal1268.Texture = "http://www.roblox.com/asset/?id=12929140"
  10437. Part1269.Parent = Model1
  10438. Part1269.Anchored = true
  10439. Part1269.Size = Vector3.new(74, 30.3999996, 0.600000024)
  10440. Part1269.CFrame = CFrame.new(115.199989, 26.5121269, -16.0999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10441. Part1269.Position = Vector3.new(115.199989, 26.5121269, -16.0999908)
  10442. Decal1270.Parent = Part1269
  10443. Decal1270.Texture = "http://www.roblox.com/asset/?id=42638982"
  10444. Decal1270.Face = Enum.NormalId.Back
  10445. Part1271.Parent = Model1
  10446. Part1271.Anchored = true
  10447. Part1271.Size = Vector3.new(6.80000019, 1, 10.3999996)
  10448. Part1271.CFrame = CFrame.new(74.7999802, 3.61212349, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10449. Part1271.Position = Vector3.new(74.7999802, 3.61212349, -23.5999908)
  10450. Part1272.Parent = Model1
  10451. Part1272.Anchored = true
  10452. Part1272.Size = Vector3.new(9.60000038, 8, 4.80000019)
  10453. Part1272.CFrame = CFrame.new(61.5999908, 13.9121151, -124.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10454. Part1272.Position = Vector3.new(61.5999908, 13.9121151, -124.599991)
  10455. Part1273.Parent = Model1
  10456. Part1273.BrickColor = BrickColor.new("Medium blue")
  10457. Part1273.Transparency = 0.40000000596046
  10458. Part1273.Rotation = Vector3.new(-180, 0, -180)
  10459. Part1273.CanCollide = false
  10460. Part1273.Size = Vector3.new(7, 8.40000057, 1)
  10461. Part1273.CFrame = CFrame.new(60.2999954, 4.31212425, -17.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  10462. Part1273.Color = Color3.new(0.431373, 0.6, 0.792157)
  10463. Part1273.Position = Vector3.new(60.2999954, 4.31212425, -17.3000031)
  10464. Part1273.Orientation = Vector3.new(0, 180, 0)
  10465. Part1273.Color = Color3.new(0.431373, 0.6, 0.792157)
  10466. Decal1274.Parent = Part1273
  10467. Decal1274.Texture = "http://www.roblox.com/asset/?id=12929140"
  10468. Decal1274.Face = Enum.NormalId.Back
  10469. Decal1275.Parent = Part1273
  10470. Decal1275.Texture = "http://www.roblox.com/asset/?id=12929140"
  10471. Part1276.Parent = Model1
  10472. Part1276.Anchored = true
  10473. Part1276.Size = Vector3.new(9.60000038, 1.00000012, 2)
  10474. Part1276.CFrame = CFrame.new(61.7999954, 10.0121136, -113.200012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  10475. Part1276.Position = Vector3.new(61.7999954, 10.0121136, -113.200012)
  10476. for i,v in pairs(mas:GetChildren()) do
  10477. v.Parent = workspace
  10478. pcall(function() v:MakeJoints() end)
  10479. end
  10480. mas:Destroy()
  10481. for i,v in pairs(cors) do
  10482. spawn(function()
  10483. pcall(v)
  10484. end)
  10485. end
Advertisement
Add Comment
Please, Sign In to add comment