Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made By im1amazing_guy/cooldude78_cool
- --Discord: im1amazing_guy#4446
- --Subscribe to me on youtube at https://www.youtube.com/channel/UCoYmyLAtvtUte7AsPoksdvA
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- local chil = workspace:GetChildren()
- for i,v in pairs(chil) do
- if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
- v:Destroy()
- end
- end
- Part0 = Instance.new("Part")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- Part5 = Instance.new("Part")
- Part6 = Instance.new("Part")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- Part9 = Instance.new("Part")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- Part13 = Instance.new("Part")
- Part14 = Instance.new("Part")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Part19 = Instance.new("Part")
- Model20 = Instance.new("Model")
- Model21 = Instance.new("Model")
- Model22 = Instance.new("Model")
- Model23 = Instance.new("Model")
- Part24 = Instance.new("Part")
- BlockMesh25 = Instance.new("BlockMesh")
- Part26 = Instance.new("Part")
- BlockMesh27 = Instance.new("BlockMesh")
- Model28 = Instance.new("Model")
- Part29 = Instance.new("Part")
- BlockMesh30 = Instance.new("BlockMesh")
- Part31 = Instance.new("Part")
- BlockMesh32 = Instance.new("BlockMesh")
- Part33 = Instance.new("Part")
- BlockMesh34 = Instance.new("BlockMesh")
- Part35 = Instance.new("Part")
- BlockMesh36 = Instance.new("BlockMesh")
- Part37 = Instance.new("Part")
- BlockMesh38 = Instance.new("BlockMesh")
- Part39 = Instance.new("Part")
- BlockMesh40 = Instance.new("BlockMesh")
- Model41 = Instance.new("Model")
- Part42 = Instance.new("Part")
- BlockMesh43 = Instance.new("BlockMesh")
- Part44 = Instance.new("Part")
- BlockMesh45 = Instance.new("BlockMesh")
- Model46 = Instance.new("Model")
- Model47 = Instance.new("Model")
- Model48 = Instance.new("Model")
- Part49 = Instance.new("Part")
- CylinderMesh50 = Instance.new("CylinderMesh")
- Part51 = Instance.new("Part")
- CylinderMesh52 = Instance.new("CylinderMesh")
- Part53 = Instance.new("Part")
- CylinderMesh54 = Instance.new("CylinderMesh")
- Part55 = Instance.new("Part")
- CylinderMesh56 = Instance.new("CylinderMesh")
- Part57 = Instance.new("Part")
- BlockMesh58 = Instance.new("BlockMesh")
- Part59 = Instance.new("Part")
- BlockMesh60 = Instance.new("BlockMesh")
- Model61 = Instance.new("Model")
- Part62 = Instance.new("Part")
- BlockMesh63 = Instance.new("BlockMesh")
- Part64 = Instance.new("Part")
- BlockMesh65 = Instance.new("BlockMesh")
- Part66 = Instance.new("Part")
- SpecialMesh67 = Instance.new("SpecialMesh")
- Part68 = Instance.new("Part")
- CylinderMesh69 = Instance.new("CylinderMesh")
- Model70 = Instance.new("Model")
- Model71 = Instance.new("Model")
- Part72 = Instance.new("Part")
- SpecialMesh73 = Instance.new("SpecialMesh")
- Part74 = Instance.new("Part")
- SpecialMesh75 = Instance.new("SpecialMesh")
- Script76 = Instance.new("Script")
- Part77 = Instance.new("Part")
- CylinderMesh78 = Instance.new("CylinderMesh")
- Model79 = Instance.new("Model")
- Part80 = Instance.new("Part")
- CylinderMesh81 = Instance.new("CylinderMesh")
- Part82 = Instance.new("Part")
- CylinderMesh83 = Instance.new("CylinderMesh")
- Part84 = Instance.new("Part")
- CylinderMesh85 = Instance.new("CylinderMesh")
- Part86 = Instance.new("Part")
- CylinderMesh87 = Instance.new("CylinderMesh")
- Part88 = Instance.new("Part")
- CylinderMesh89 = Instance.new("CylinderMesh")
- Part90 = Instance.new("Part")
- CylinderMesh91 = Instance.new("CylinderMesh")
- Script92 = Instance.new("Script")
- Part93 = Instance.new("Part")
- BlockMesh94 = Instance.new("BlockMesh")
- CylinderMesh95 = Instance.new("CylinderMesh")
- ClickDetector96 = Instance.new("ClickDetector")
- Model97 = Instance.new("Model")
- Model98 = Instance.new("Model")
- Model99 = Instance.new("Model")
- Part100 = Instance.new("Part")
- BlockMesh101 = Instance.new("BlockMesh")
- Part102 = Instance.new("Part")
- BlockMesh103 = Instance.new("BlockMesh")
- Model104 = Instance.new("Model")
- Part105 = Instance.new("Part")
- BlockMesh106 = Instance.new("BlockMesh")
- Part107 = Instance.new("Part")
- BlockMesh108 = Instance.new("BlockMesh")
- Part109 = Instance.new("Part")
- BlockMesh110 = Instance.new("BlockMesh")
- Part111 = Instance.new("Part")
- BlockMesh112 = Instance.new("BlockMesh")
- Part113 = Instance.new("Part")
- BlockMesh114 = Instance.new("BlockMesh")
- Part115 = Instance.new("Part")
- BlockMesh116 = Instance.new("BlockMesh")
- Model117 = Instance.new("Model")
- Part118 = Instance.new("Part")
- BlockMesh119 = Instance.new("BlockMesh")
- Part120 = Instance.new("Part")
- BlockMesh121 = Instance.new("BlockMesh")
- Model122 = Instance.new("Model")
- Model123 = Instance.new("Model")
- Model124 = Instance.new("Model")
- Part125 = Instance.new("Part")
- CylinderMesh126 = Instance.new("CylinderMesh")
- Part127 = Instance.new("Part")
- CylinderMesh128 = Instance.new("CylinderMesh")
- Part129 = Instance.new("Part")
- CylinderMesh130 = Instance.new("CylinderMesh")
- Part131 = Instance.new("Part")
- CylinderMesh132 = Instance.new("CylinderMesh")
- Part133 = Instance.new("Part")
- BlockMesh134 = Instance.new("BlockMesh")
- Part135 = Instance.new("Part")
- BlockMesh136 = Instance.new("BlockMesh")
- Model137 = Instance.new("Model")
- Part138 = Instance.new("Part")
- BlockMesh139 = Instance.new("BlockMesh")
- Part140 = Instance.new("Part")
- BlockMesh141 = Instance.new("BlockMesh")
- Part142 = Instance.new("Part")
- SpecialMesh143 = Instance.new("SpecialMesh")
- Part144 = Instance.new("Part")
- CylinderMesh145 = Instance.new("CylinderMesh")
- Model146 = Instance.new("Model")
- Model147 = Instance.new("Model")
- Part148 = Instance.new("Part")
- SpecialMesh149 = Instance.new("SpecialMesh")
- Part150 = Instance.new("Part")
- SpecialMesh151 = Instance.new("SpecialMesh")
- Script152 = Instance.new("Script")
- Part153 = Instance.new("Part")
- CylinderMesh154 = Instance.new("CylinderMesh")
- Model155 = Instance.new("Model")
- Part156 = Instance.new("Part")
- CylinderMesh157 = Instance.new("CylinderMesh")
- Part158 = Instance.new("Part")
- CylinderMesh159 = Instance.new("CylinderMesh")
- Part160 = Instance.new("Part")
- CylinderMesh161 = Instance.new("CylinderMesh")
- Part162 = Instance.new("Part")
- CylinderMesh163 = Instance.new("CylinderMesh")
- Part164 = Instance.new("Part")
- CylinderMesh165 = Instance.new("CylinderMesh")
- Part166 = Instance.new("Part")
- CylinderMesh167 = Instance.new("CylinderMesh")
- Script168 = Instance.new("Script")
- Part169 = Instance.new("Part")
- BlockMesh170 = Instance.new("BlockMesh")
- CylinderMesh171 = Instance.new("CylinderMesh")
- ClickDetector172 = Instance.new("ClickDetector")
- Model173 = Instance.new("Model")
- Model174 = Instance.new("Model")
- Model175 = Instance.new("Model")
- Part176 = Instance.new("Part")
- BlockMesh177 = Instance.new("BlockMesh")
- Part178 = Instance.new("Part")
- BlockMesh179 = Instance.new("BlockMesh")
- Model180 = Instance.new("Model")
- Part181 = Instance.new("Part")
- BlockMesh182 = Instance.new("BlockMesh")
- Part183 = Instance.new("Part")
- BlockMesh184 = Instance.new("BlockMesh")
- Part185 = Instance.new("Part")
- BlockMesh186 = Instance.new("BlockMesh")
- Part187 = Instance.new("Part")
- BlockMesh188 = Instance.new("BlockMesh")
- Part189 = Instance.new("Part")
- BlockMesh190 = Instance.new("BlockMesh")
- Part191 = Instance.new("Part")
- BlockMesh192 = Instance.new("BlockMesh")
- Model193 = Instance.new("Model")
- Part194 = Instance.new("Part")
- BlockMesh195 = Instance.new("BlockMesh")
- Part196 = Instance.new("Part")
- BlockMesh197 = Instance.new("BlockMesh")
- Model198 = Instance.new("Model")
- Model199 = Instance.new("Model")
- Model200 = Instance.new("Model")
- Part201 = Instance.new("Part")
- CylinderMesh202 = Instance.new("CylinderMesh")
- Part203 = Instance.new("Part")
- CylinderMesh204 = Instance.new("CylinderMesh")
- Part205 = Instance.new("Part")
- CylinderMesh206 = Instance.new("CylinderMesh")
- Part207 = Instance.new("Part")
- CylinderMesh208 = Instance.new("CylinderMesh")
- Part209 = Instance.new("Part")
- BlockMesh210 = Instance.new("BlockMesh")
- Part211 = Instance.new("Part")
- BlockMesh212 = Instance.new("BlockMesh")
- Model213 = Instance.new("Model")
- Part214 = Instance.new("Part")
- BlockMesh215 = Instance.new("BlockMesh")
- Part216 = Instance.new("Part")
- BlockMesh217 = Instance.new("BlockMesh")
- Part218 = Instance.new("Part")
- SpecialMesh219 = Instance.new("SpecialMesh")
- Part220 = Instance.new("Part")
- CylinderMesh221 = Instance.new("CylinderMesh")
- Model222 = Instance.new("Model")
- Model223 = Instance.new("Model")
- Part224 = Instance.new("Part")
- SpecialMesh225 = Instance.new("SpecialMesh")
- Part226 = Instance.new("Part")
- SpecialMesh227 = Instance.new("SpecialMesh")
- Script228 = Instance.new("Script")
- Part229 = Instance.new("Part")
- CylinderMesh230 = Instance.new("CylinderMesh")
- Model231 = Instance.new("Model")
- Part232 = Instance.new("Part")
- CylinderMesh233 = Instance.new("CylinderMesh")
- Part234 = Instance.new("Part")
- CylinderMesh235 = Instance.new("CylinderMesh")
- Part236 = Instance.new("Part")
- CylinderMesh237 = Instance.new("CylinderMesh")
- Part238 = Instance.new("Part")
- CylinderMesh239 = Instance.new("CylinderMesh")
- Part240 = Instance.new("Part")
- CylinderMesh241 = Instance.new("CylinderMesh")
- Part242 = Instance.new("Part")
- CylinderMesh243 = Instance.new("CylinderMesh")
- Script244 = Instance.new("Script")
- Part245 = Instance.new("Part")
- BlockMesh246 = Instance.new("BlockMesh")
- CylinderMesh247 = Instance.new("CylinderMesh")
- ClickDetector248 = Instance.new("ClickDetector")
- Model249 = Instance.new("Model")
- Model250 = Instance.new("Model")
- Model251 = Instance.new("Model")
- Model252 = Instance.new("Model")
- Part253 = Instance.new("Part")
- BlockMesh254 = Instance.new("BlockMesh")
- Part255 = Instance.new("Part")
- BlockMesh256 = Instance.new("BlockMesh")
- Model257 = Instance.new("Model")
- Part258 = Instance.new("Part")
- BlockMesh259 = Instance.new("BlockMesh")
- Part260 = Instance.new("Part")
- BlockMesh261 = Instance.new("BlockMesh")
- Part262 = Instance.new("Part")
- BlockMesh263 = Instance.new("BlockMesh")
- Part264 = Instance.new("Part")
- BlockMesh265 = Instance.new("BlockMesh")
- Part266 = Instance.new("Part")
- BlockMesh267 = Instance.new("BlockMesh")
- Part268 = Instance.new("Part")
- BlockMesh269 = Instance.new("BlockMesh")
- Model270 = Instance.new("Model")
- Part271 = Instance.new("Part")
- BlockMesh272 = Instance.new("BlockMesh")
- Part273 = Instance.new("Part")
- BlockMesh274 = Instance.new("BlockMesh")
- Model275 = Instance.new("Model")
- Model276 = Instance.new("Model")
- Model277 = Instance.new("Model")
- Part278 = Instance.new("Part")
- CylinderMesh279 = Instance.new("CylinderMesh")
- Part280 = Instance.new("Part")
- CylinderMesh281 = Instance.new("CylinderMesh")
- Part282 = Instance.new("Part")
- CylinderMesh283 = Instance.new("CylinderMesh")
- Part284 = Instance.new("Part")
- CylinderMesh285 = Instance.new("CylinderMesh")
- Part286 = Instance.new("Part")
- BlockMesh287 = Instance.new("BlockMesh")
- Part288 = Instance.new("Part")
- BlockMesh289 = Instance.new("BlockMesh")
- Model290 = Instance.new("Model")
- Part291 = Instance.new("Part")
- BlockMesh292 = Instance.new("BlockMesh")
- Part293 = Instance.new("Part")
- BlockMesh294 = Instance.new("BlockMesh")
- Part295 = Instance.new("Part")
- SpecialMesh296 = Instance.new("SpecialMesh")
- Part297 = Instance.new("Part")
- CylinderMesh298 = Instance.new("CylinderMesh")
- Model299 = Instance.new("Model")
- Model300 = Instance.new("Model")
- Part301 = Instance.new("Part")
- SpecialMesh302 = Instance.new("SpecialMesh")
- Part303 = Instance.new("Part")
- SpecialMesh304 = Instance.new("SpecialMesh")
- Script305 = Instance.new("Script")
- Part306 = Instance.new("Part")
- CylinderMesh307 = Instance.new("CylinderMesh")
- Model308 = Instance.new("Model")
- Part309 = Instance.new("Part")
- CylinderMesh310 = Instance.new("CylinderMesh")
- Part311 = Instance.new("Part")
- CylinderMesh312 = Instance.new("CylinderMesh")
- Part313 = Instance.new("Part")
- CylinderMesh314 = Instance.new("CylinderMesh")
- Part315 = Instance.new("Part")
- CylinderMesh316 = Instance.new("CylinderMesh")
- Part317 = Instance.new("Part")
- CylinderMesh318 = Instance.new("CylinderMesh")
- Part319 = Instance.new("Part")
- CylinderMesh320 = Instance.new("CylinderMesh")
- Script321 = Instance.new("Script")
- Part322 = Instance.new("Part")
- BlockMesh323 = Instance.new("BlockMesh")
- CylinderMesh324 = Instance.new("CylinderMesh")
- ClickDetector325 = Instance.new("ClickDetector")
- Model326 = Instance.new("Model")
- Model327 = Instance.new("Model")
- Model328 = Instance.new("Model")
- Part329 = Instance.new("Part")
- BlockMesh330 = Instance.new("BlockMesh")
- Part331 = Instance.new("Part")
- BlockMesh332 = Instance.new("BlockMesh")
- Model333 = Instance.new("Model")
- Part334 = Instance.new("Part")
- BlockMesh335 = Instance.new("BlockMesh")
- Part336 = Instance.new("Part")
- BlockMesh337 = Instance.new("BlockMesh")
- Part338 = Instance.new("Part")
- BlockMesh339 = Instance.new("BlockMesh")
- Part340 = Instance.new("Part")
- BlockMesh341 = Instance.new("BlockMesh")
- Part342 = Instance.new("Part")
- BlockMesh343 = Instance.new("BlockMesh")
- Part344 = Instance.new("Part")
- BlockMesh345 = Instance.new("BlockMesh")
- Model346 = Instance.new("Model")
- Part347 = Instance.new("Part")
- BlockMesh348 = Instance.new("BlockMesh")
- Part349 = Instance.new("Part")
- BlockMesh350 = Instance.new("BlockMesh")
- Model351 = Instance.new("Model")
- Model352 = Instance.new("Model")
- Model353 = Instance.new("Model")
- Part354 = Instance.new("Part")
- CylinderMesh355 = Instance.new("CylinderMesh")
- Part356 = Instance.new("Part")
- CylinderMesh357 = Instance.new("CylinderMesh")
- Part358 = Instance.new("Part")
- CylinderMesh359 = Instance.new("CylinderMesh")
- Part360 = Instance.new("Part")
- CylinderMesh361 = Instance.new("CylinderMesh")
- Part362 = Instance.new("Part")
- BlockMesh363 = Instance.new("BlockMesh")
- Part364 = Instance.new("Part")
- BlockMesh365 = Instance.new("BlockMesh")
- Model366 = Instance.new("Model")
- Part367 = Instance.new("Part")
- BlockMesh368 = Instance.new("BlockMesh")
- Part369 = Instance.new("Part")
- BlockMesh370 = Instance.new("BlockMesh")
- Part371 = Instance.new("Part")
- SpecialMesh372 = Instance.new("SpecialMesh")
- Part373 = Instance.new("Part")
- CylinderMesh374 = Instance.new("CylinderMesh")
- Model375 = Instance.new("Model")
- Model376 = Instance.new("Model")
- Part377 = Instance.new("Part")
- SpecialMesh378 = Instance.new("SpecialMesh")
- Part379 = Instance.new("Part")
- SpecialMesh380 = Instance.new("SpecialMesh")
- Script381 = Instance.new("Script")
- Part382 = Instance.new("Part")
- CylinderMesh383 = Instance.new("CylinderMesh")
- Model384 = Instance.new("Model")
- Part385 = Instance.new("Part")
- CylinderMesh386 = Instance.new("CylinderMesh")
- Part387 = Instance.new("Part")
- CylinderMesh388 = Instance.new("CylinderMesh")
- Part389 = Instance.new("Part")
- CylinderMesh390 = Instance.new("CylinderMesh")
- Part391 = Instance.new("Part")
- CylinderMesh392 = Instance.new("CylinderMesh")
- Part393 = Instance.new("Part")
- CylinderMesh394 = Instance.new("CylinderMesh")
- Part395 = Instance.new("Part")
- CylinderMesh396 = Instance.new("CylinderMesh")
- Script397 = Instance.new("Script")
- Part398 = Instance.new("Part")
- BlockMesh399 = Instance.new("BlockMesh")
- CylinderMesh400 = Instance.new("CylinderMesh")
- ClickDetector401 = Instance.new("ClickDetector")
- Model402 = Instance.new("Model")
- Model403 = Instance.new("Model")
- Model404 = Instance.new("Model")
- Model405 = Instance.new("Model")
- Part406 = Instance.new("Part")
- BlockMesh407 = Instance.new("BlockMesh")
- Part408 = Instance.new("Part")
- BlockMesh409 = Instance.new("BlockMesh")
- Model410 = Instance.new("Model")
- Part411 = Instance.new("Part")
- BlockMesh412 = Instance.new("BlockMesh")
- Part413 = Instance.new("Part")
- BlockMesh414 = Instance.new("BlockMesh")
- Part415 = Instance.new("Part")
- BlockMesh416 = Instance.new("BlockMesh")
- Part417 = Instance.new("Part")
- BlockMesh418 = Instance.new("BlockMesh")
- Part419 = Instance.new("Part")
- BlockMesh420 = Instance.new("BlockMesh")
- Part421 = Instance.new("Part")
- BlockMesh422 = Instance.new("BlockMesh")
- Model423 = Instance.new("Model")
- Part424 = Instance.new("Part")
- BlockMesh425 = Instance.new("BlockMesh")
- Part426 = Instance.new("Part")
- BlockMesh427 = Instance.new("BlockMesh")
- Model428 = Instance.new("Model")
- Model429 = Instance.new("Model")
- Model430 = Instance.new("Model")
- Part431 = Instance.new("Part")
- CylinderMesh432 = Instance.new("CylinderMesh")
- Part433 = Instance.new("Part")
- CylinderMesh434 = Instance.new("CylinderMesh")
- Part435 = Instance.new("Part")
- CylinderMesh436 = Instance.new("CylinderMesh")
- Part437 = Instance.new("Part")
- CylinderMesh438 = Instance.new("CylinderMesh")
- Part439 = Instance.new("Part")
- BlockMesh440 = Instance.new("BlockMesh")
- Part441 = Instance.new("Part")
- BlockMesh442 = Instance.new("BlockMesh")
- Model443 = Instance.new("Model")
- Part444 = Instance.new("Part")
- BlockMesh445 = Instance.new("BlockMesh")
- Part446 = Instance.new("Part")
- BlockMesh447 = Instance.new("BlockMesh")
- Part448 = Instance.new("Part")
- SpecialMesh449 = Instance.new("SpecialMesh")
- Part450 = Instance.new("Part")
- CylinderMesh451 = Instance.new("CylinderMesh")
- Model452 = Instance.new("Model")
- Model453 = Instance.new("Model")
- Part454 = Instance.new("Part")
- SpecialMesh455 = Instance.new("SpecialMesh")
- Part456 = Instance.new("Part")
- SpecialMesh457 = Instance.new("SpecialMesh")
- Script458 = Instance.new("Script")
- Part459 = Instance.new("Part")
- CylinderMesh460 = Instance.new("CylinderMesh")
- Model461 = Instance.new("Model")
- Part462 = Instance.new("Part")
- CylinderMesh463 = Instance.new("CylinderMesh")
- Part464 = Instance.new("Part")
- CylinderMesh465 = Instance.new("CylinderMesh")
- Part466 = Instance.new("Part")
- CylinderMesh467 = Instance.new("CylinderMesh")
- Part468 = Instance.new("Part")
- CylinderMesh469 = Instance.new("CylinderMesh")
- Part470 = Instance.new("Part")
- CylinderMesh471 = Instance.new("CylinderMesh")
- Part472 = Instance.new("Part")
- CylinderMesh473 = Instance.new("CylinderMesh")
- Script474 = Instance.new("Script")
- Part475 = Instance.new("Part")
- BlockMesh476 = Instance.new("BlockMesh")
- CylinderMesh477 = Instance.new("CylinderMesh")
- ClickDetector478 = Instance.new("ClickDetector")
- Part479 = Instance.new("Part")
- Part480 = Instance.new("Part")
- Part481 = Instance.new("Part")
- Model482 = Instance.new("Model")
- Model483 = Instance.new("Model")
- Model484 = Instance.new("Model")
- Model485 = Instance.new("Model")
- Part486 = Instance.new("Part")
- BlockMesh487 = Instance.new("BlockMesh")
- Part488 = Instance.new("Part")
- BlockMesh489 = Instance.new("BlockMesh")
- Model490 = Instance.new("Model")
- Part491 = Instance.new("Part")
- BlockMesh492 = Instance.new("BlockMesh")
- Part493 = Instance.new("Part")
- BlockMesh494 = Instance.new("BlockMesh")
- Part495 = Instance.new("Part")
- BlockMesh496 = Instance.new("BlockMesh")
- Part497 = Instance.new("Part")
- BlockMesh498 = Instance.new("BlockMesh")
- Part499 = Instance.new("Part")
- BlockMesh500 = Instance.new("BlockMesh")
- Part501 = Instance.new("Part")
- BlockMesh502 = Instance.new("BlockMesh")
- Model503 = Instance.new("Model")
- Part504 = Instance.new("Part")
- BlockMesh505 = Instance.new("BlockMesh")
- Part506 = Instance.new("Part")
- BlockMesh507 = Instance.new("BlockMesh")
- Model508 = Instance.new("Model")
- Model509 = Instance.new("Model")
- Model510 = Instance.new("Model")
- Part511 = Instance.new("Part")
- CylinderMesh512 = Instance.new("CylinderMesh")
- Part513 = Instance.new("Part")
- CylinderMesh514 = Instance.new("CylinderMesh")
- Part515 = Instance.new("Part")
- CylinderMesh516 = Instance.new("CylinderMesh")
- Part517 = Instance.new("Part")
- CylinderMesh518 = Instance.new("CylinderMesh")
- Part519 = Instance.new("Part")
- BlockMesh520 = Instance.new("BlockMesh")
- Part521 = Instance.new("Part")
- BlockMesh522 = Instance.new("BlockMesh")
- Model523 = Instance.new("Model")
- Part524 = Instance.new("Part")
- BlockMesh525 = Instance.new("BlockMesh")
- Part526 = Instance.new("Part")
- BlockMesh527 = Instance.new("BlockMesh")
- Part528 = Instance.new("Part")
- SpecialMesh529 = Instance.new("SpecialMesh")
- Part530 = Instance.new("Part")
- CylinderMesh531 = Instance.new("CylinderMesh")
- Model532 = Instance.new("Model")
- Model533 = Instance.new("Model")
- Part534 = Instance.new("Part")
- SpecialMesh535 = Instance.new("SpecialMesh")
- Part536 = Instance.new("Part")
- SpecialMesh537 = Instance.new("SpecialMesh")
- Script538 = Instance.new("Script")
- Part539 = Instance.new("Part")
- CylinderMesh540 = Instance.new("CylinderMesh")
- Model541 = Instance.new("Model")
- Part542 = Instance.new("Part")
- CylinderMesh543 = Instance.new("CylinderMesh")
- Part544 = Instance.new("Part")
- CylinderMesh545 = Instance.new("CylinderMesh")
- Part546 = Instance.new("Part")
- CylinderMesh547 = Instance.new("CylinderMesh")
- Part548 = Instance.new("Part")
- CylinderMesh549 = Instance.new("CylinderMesh")
- Part550 = Instance.new("Part")
- CylinderMesh551 = Instance.new("CylinderMesh")
- Part552 = Instance.new("Part")
- CylinderMesh553 = Instance.new("CylinderMesh")
- Script554 = Instance.new("Script")
- Part555 = Instance.new("Part")
- BlockMesh556 = Instance.new("BlockMesh")
- CylinderMesh557 = Instance.new("CylinderMesh")
- ClickDetector558 = Instance.new("ClickDetector")
- Model559 = Instance.new("Model")
- Model560 = Instance.new("Model")
- Model561 = Instance.new("Model")
- Model562 = Instance.new("Model")
- Part563 = Instance.new("Part")
- BlockMesh564 = Instance.new("BlockMesh")
- Part565 = Instance.new("Part")
- BlockMesh566 = Instance.new("BlockMesh")
- Model567 = Instance.new("Model")
- Part568 = Instance.new("Part")
- BlockMesh569 = Instance.new("BlockMesh")
- Part570 = Instance.new("Part")
- BlockMesh571 = Instance.new("BlockMesh")
- Part572 = Instance.new("Part")
- BlockMesh573 = Instance.new("BlockMesh")
- Part574 = Instance.new("Part")
- BlockMesh575 = Instance.new("BlockMesh")
- Part576 = Instance.new("Part")
- BlockMesh577 = Instance.new("BlockMesh")
- Part578 = Instance.new("Part")
- BlockMesh579 = Instance.new("BlockMesh")
- Model580 = Instance.new("Model")
- Part581 = Instance.new("Part")
- BlockMesh582 = Instance.new("BlockMesh")
- Part583 = Instance.new("Part")
- BlockMesh584 = Instance.new("BlockMesh")
- Model585 = Instance.new("Model")
- Model586 = Instance.new("Model")
- Model587 = Instance.new("Model")
- Part588 = Instance.new("Part")
- CylinderMesh589 = Instance.new("CylinderMesh")
- Part590 = Instance.new("Part")
- CylinderMesh591 = Instance.new("CylinderMesh")
- Part592 = Instance.new("Part")
- CylinderMesh593 = Instance.new("CylinderMesh")
- Part594 = Instance.new("Part")
- CylinderMesh595 = Instance.new("CylinderMesh")
- Part596 = Instance.new("Part")
- BlockMesh597 = Instance.new("BlockMesh")
- Part598 = Instance.new("Part")
- BlockMesh599 = Instance.new("BlockMesh")
- Model600 = Instance.new("Model")
- Part601 = Instance.new("Part")
- BlockMesh602 = Instance.new("BlockMesh")
- Part603 = Instance.new("Part")
- BlockMesh604 = Instance.new("BlockMesh")
- Part605 = Instance.new("Part")
- SpecialMesh606 = Instance.new("SpecialMesh")
- Part607 = Instance.new("Part")
- CylinderMesh608 = Instance.new("CylinderMesh")
- Model609 = Instance.new("Model")
- Model610 = Instance.new("Model")
- Part611 = Instance.new("Part")
- SpecialMesh612 = Instance.new("SpecialMesh")
- Part613 = Instance.new("Part")
- SpecialMesh614 = Instance.new("SpecialMesh")
- Script615 = Instance.new("Script")
- Part616 = Instance.new("Part")
- CylinderMesh617 = Instance.new("CylinderMesh")
- Model618 = Instance.new("Model")
- Part619 = Instance.new("Part")
- CylinderMesh620 = Instance.new("CylinderMesh")
- Part621 = Instance.new("Part")
- CylinderMesh622 = Instance.new("CylinderMesh")
- Part623 = Instance.new("Part")
- CylinderMesh624 = Instance.new("CylinderMesh")
- Part625 = Instance.new("Part")
- CylinderMesh626 = Instance.new("CylinderMesh")
- Part627 = Instance.new("Part")
- CylinderMesh628 = Instance.new("CylinderMesh")
- Part629 = Instance.new("Part")
- CylinderMesh630 = Instance.new("CylinderMesh")
- Script631 = Instance.new("Script")
- Part632 = Instance.new("Part")
- BlockMesh633 = Instance.new("BlockMesh")
- CylinderMesh634 = Instance.new("CylinderMesh")
- ClickDetector635 = Instance.new("ClickDetector")
- Model636 = Instance.new("Model")
- Model637 = Instance.new("Model")
- Model638 = Instance.new("Model")
- Model639 = Instance.new("Model")
- Part640 = Instance.new("Part")
- BlockMesh641 = Instance.new("BlockMesh")
- Part642 = Instance.new("Part")
- BlockMesh643 = Instance.new("BlockMesh")
- Model644 = Instance.new("Model")
- Part645 = Instance.new("Part")
- BlockMesh646 = Instance.new("BlockMesh")
- Part647 = Instance.new("Part")
- BlockMesh648 = Instance.new("BlockMesh")
- Part649 = Instance.new("Part")
- BlockMesh650 = Instance.new("BlockMesh")
- Part651 = Instance.new("Part")
- BlockMesh652 = Instance.new("BlockMesh")
- Part653 = Instance.new("Part")
- BlockMesh654 = Instance.new("BlockMesh")
- Part655 = Instance.new("Part")
- BlockMesh656 = Instance.new("BlockMesh")
- Model657 = Instance.new("Model")
- Part658 = Instance.new("Part")
- BlockMesh659 = Instance.new("BlockMesh")
- Part660 = Instance.new("Part")
- BlockMesh661 = Instance.new("BlockMesh")
- Model662 = Instance.new("Model")
- Model663 = Instance.new("Model")
- Model664 = Instance.new("Model")
- Part665 = Instance.new("Part")
- CylinderMesh666 = Instance.new("CylinderMesh")
- Part667 = Instance.new("Part")
- CylinderMesh668 = Instance.new("CylinderMesh")
- Part669 = Instance.new("Part")
- CylinderMesh670 = Instance.new("CylinderMesh")
- Part671 = Instance.new("Part")
- CylinderMesh672 = Instance.new("CylinderMesh")
- Part673 = Instance.new("Part")
- BlockMesh674 = Instance.new("BlockMesh")
- Part675 = Instance.new("Part")
- BlockMesh676 = Instance.new("BlockMesh")
- Model677 = Instance.new("Model")
- Part678 = Instance.new("Part")
- BlockMesh679 = Instance.new("BlockMesh")
- Part680 = Instance.new("Part")
- BlockMesh681 = Instance.new("BlockMesh")
- Part682 = Instance.new("Part")
- SpecialMesh683 = Instance.new("SpecialMesh")
- Part684 = Instance.new("Part")
- CylinderMesh685 = Instance.new("CylinderMesh")
- Model686 = Instance.new("Model")
- Model687 = Instance.new("Model")
- Part688 = Instance.new("Part")
- SpecialMesh689 = Instance.new("SpecialMesh")
- Part690 = Instance.new("Part")
- SpecialMesh691 = Instance.new("SpecialMesh")
- Script692 = Instance.new("Script")
- Part693 = Instance.new("Part")
- CylinderMesh694 = Instance.new("CylinderMesh")
- Model695 = Instance.new("Model")
- Part696 = Instance.new("Part")
- CylinderMesh697 = Instance.new("CylinderMesh")
- Part698 = Instance.new("Part")
- CylinderMesh699 = Instance.new("CylinderMesh")
- Part700 = Instance.new("Part")
- CylinderMesh701 = Instance.new("CylinderMesh")
- Part702 = Instance.new("Part")
- CylinderMesh703 = Instance.new("CylinderMesh")
- Part704 = Instance.new("Part")
- CylinderMesh705 = Instance.new("CylinderMesh")
- Part706 = Instance.new("Part")
- CylinderMesh707 = Instance.new("CylinderMesh")
- Script708 = Instance.new("Script")
- Part709 = Instance.new("Part")
- BlockMesh710 = Instance.new("BlockMesh")
- CylinderMesh711 = Instance.new("CylinderMesh")
- ClickDetector712 = Instance.new("ClickDetector")
- Model713 = Instance.new("Model")
- Model714 = Instance.new("Model")
- Model715 = Instance.new("Model")
- Model716 = Instance.new("Model")
- Part717 = Instance.new("Part")
- BlockMesh718 = Instance.new("BlockMesh")
- Part719 = Instance.new("Part")
- BlockMesh720 = Instance.new("BlockMesh")
- Model721 = Instance.new("Model")
- Part722 = Instance.new("Part")
- BlockMesh723 = Instance.new("BlockMesh")
- Part724 = Instance.new("Part")
- BlockMesh725 = Instance.new("BlockMesh")
- Part726 = Instance.new("Part")
- BlockMesh727 = Instance.new("BlockMesh")
- Part728 = Instance.new("Part")
- BlockMesh729 = Instance.new("BlockMesh")
- Part730 = Instance.new("Part")
- BlockMesh731 = Instance.new("BlockMesh")
- Part732 = Instance.new("Part")
- BlockMesh733 = Instance.new("BlockMesh")
- Model734 = Instance.new("Model")
- Part735 = Instance.new("Part")
- BlockMesh736 = Instance.new("BlockMesh")
- Part737 = Instance.new("Part")
- BlockMesh738 = Instance.new("BlockMesh")
- Model739 = Instance.new("Model")
- Model740 = Instance.new("Model")
- Model741 = Instance.new("Model")
- Part742 = Instance.new("Part")
- CylinderMesh743 = Instance.new("CylinderMesh")
- Part744 = Instance.new("Part")
- CylinderMesh745 = Instance.new("CylinderMesh")
- Part746 = Instance.new("Part")
- CylinderMesh747 = Instance.new("CylinderMesh")
- Part748 = Instance.new("Part")
- CylinderMesh749 = Instance.new("CylinderMesh")
- Part750 = Instance.new("Part")
- BlockMesh751 = Instance.new("BlockMesh")
- Part752 = Instance.new("Part")
- BlockMesh753 = Instance.new("BlockMesh")
- Model754 = Instance.new("Model")
- Part755 = Instance.new("Part")
- BlockMesh756 = Instance.new("BlockMesh")
- Part757 = Instance.new("Part")
- BlockMesh758 = Instance.new("BlockMesh")
- Part759 = Instance.new("Part")
- SpecialMesh760 = Instance.new("SpecialMesh")
- Part761 = Instance.new("Part")
- CylinderMesh762 = Instance.new("CylinderMesh")
- Model763 = Instance.new("Model")
- Model764 = Instance.new("Model")
- Part765 = Instance.new("Part")
- SpecialMesh766 = Instance.new("SpecialMesh")
- Part767 = Instance.new("Part")
- SpecialMesh768 = Instance.new("SpecialMesh")
- Script769 = Instance.new("Script")
- Part770 = Instance.new("Part")
- CylinderMesh771 = Instance.new("CylinderMesh")
- Model772 = Instance.new("Model")
- Part773 = Instance.new("Part")
- CylinderMesh774 = Instance.new("CylinderMesh")
- Part775 = Instance.new("Part")
- CylinderMesh776 = Instance.new("CylinderMesh")
- Part777 = Instance.new("Part")
- CylinderMesh778 = Instance.new("CylinderMesh")
- Part779 = Instance.new("Part")
- CylinderMesh780 = Instance.new("CylinderMesh")
- Part781 = Instance.new("Part")
- CylinderMesh782 = Instance.new("CylinderMesh")
- Part783 = Instance.new("Part")
- CylinderMesh784 = Instance.new("CylinderMesh")
- Script785 = Instance.new("Script")
- Part786 = Instance.new("Part")
- BlockMesh787 = Instance.new("BlockMesh")
- CylinderMesh788 = Instance.new("CylinderMesh")
- ClickDetector789 = Instance.new("ClickDetector")
- Model790 = Instance.new("Model")
- Model791 = Instance.new("Model")
- Model792 = Instance.new("Model")
- Model793 = Instance.new("Model")
- Part794 = Instance.new("Part")
- BlockMesh795 = Instance.new("BlockMesh")
- Part796 = Instance.new("Part")
- BlockMesh797 = Instance.new("BlockMesh")
- Model798 = Instance.new("Model")
- Part799 = Instance.new("Part")
- BlockMesh800 = Instance.new("BlockMesh")
- Part801 = Instance.new("Part")
- BlockMesh802 = Instance.new("BlockMesh")
- Part803 = Instance.new("Part")
- BlockMesh804 = Instance.new("BlockMesh")
- Part805 = Instance.new("Part")
- BlockMesh806 = Instance.new("BlockMesh")
- Part807 = Instance.new("Part")
- BlockMesh808 = Instance.new("BlockMesh")
- Part809 = Instance.new("Part")
- BlockMesh810 = Instance.new("BlockMesh")
- Model811 = Instance.new("Model")
- Part812 = Instance.new("Part")
- BlockMesh813 = Instance.new("BlockMesh")
- Part814 = Instance.new("Part")
- BlockMesh815 = Instance.new("BlockMesh")
- Model816 = Instance.new("Model")
- Model817 = Instance.new("Model")
- Model818 = Instance.new("Model")
- Part819 = Instance.new("Part")
- CylinderMesh820 = Instance.new("CylinderMesh")
- Part821 = Instance.new("Part")
- CylinderMesh822 = Instance.new("CylinderMesh")
- Part823 = Instance.new("Part")
- CylinderMesh824 = Instance.new("CylinderMesh")
- Part825 = Instance.new("Part")
- CylinderMesh826 = Instance.new("CylinderMesh")
- Part827 = Instance.new("Part")
- BlockMesh828 = Instance.new("BlockMesh")
- Part829 = Instance.new("Part")
- BlockMesh830 = Instance.new("BlockMesh")
- Model831 = Instance.new("Model")
- Part832 = Instance.new("Part")
- BlockMesh833 = Instance.new("BlockMesh")
- Part834 = Instance.new("Part")
- BlockMesh835 = Instance.new("BlockMesh")
- Part836 = Instance.new("Part")
- SpecialMesh837 = Instance.new("SpecialMesh")
- Part838 = Instance.new("Part")
- CylinderMesh839 = Instance.new("CylinderMesh")
- Model840 = Instance.new("Model")
- Model841 = Instance.new("Model")
- Part842 = Instance.new("Part")
- SpecialMesh843 = Instance.new("SpecialMesh")
- Part844 = Instance.new("Part")
- SpecialMesh845 = Instance.new("SpecialMesh")
- Script846 = Instance.new("Script")
- Part847 = Instance.new("Part")
- CylinderMesh848 = Instance.new("CylinderMesh")
- Model849 = Instance.new("Model")
- Part850 = Instance.new("Part")
- CylinderMesh851 = Instance.new("CylinderMesh")
- Part852 = Instance.new("Part")
- CylinderMesh853 = Instance.new("CylinderMesh")
- Part854 = Instance.new("Part")
- CylinderMesh855 = Instance.new("CylinderMesh")
- Part856 = Instance.new("Part")
- CylinderMesh857 = Instance.new("CylinderMesh")
- Part858 = Instance.new("Part")
- CylinderMesh859 = Instance.new("CylinderMesh")
- Part860 = Instance.new("Part")
- CylinderMesh861 = Instance.new("CylinderMesh")
- Script862 = Instance.new("Script")
- Part863 = Instance.new("Part")
- BlockMesh864 = Instance.new("BlockMesh")
- CylinderMesh865 = Instance.new("CylinderMesh")
- ClickDetector866 = Instance.new("ClickDetector")
- Model867 = Instance.new("Model")
- Model868 = Instance.new("Model")
- Model869 = Instance.new("Model")
- Model870 = Instance.new("Model")
- Part871 = Instance.new("Part")
- BlockMesh872 = Instance.new("BlockMesh")
- Part873 = Instance.new("Part")
- BlockMesh874 = Instance.new("BlockMesh")
- Model875 = Instance.new("Model")
- Part876 = Instance.new("Part")
- BlockMesh877 = Instance.new("BlockMesh")
- Part878 = Instance.new("Part")
- BlockMesh879 = Instance.new("BlockMesh")
- Part880 = Instance.new("Part")
- BlockMesh881 = Instance.new("BlockMesh")
- Part882 = Instance.new("Part")
- BlockMesh883 = Instance.new("BlockMesh")
- Part884 = Instance.new("Part")
- BlockMesh885 = Instance.new("BlockMesh")
- Part886 = Instance.new("Part")
- BlockMesh887 = Instance.new("BlockMesh")
- Model888 = Instance.new("Model")
- Part889 = Instance.new("Part")
- BlockMesh890 = Instance.new("BlockMesh")
- Part891 = Instance.new("Part")
- BlockMesh892 = Instance.new("BlockMesh")
- Model893 = Instance.new("Model")
- Model894 = Instance.new("Model")
- Model895 = Instance.new("Model")
- Part896 = Instance.new("Part")
- CylinderMesh897 = Instance.new("CylinderMesh")
- Part898 = Instance.new("Part")
- CylinderMesh899 = Instance.new("CylinderMesh")
- Part900 = Instance.new("Part")
- CylinderMesh901 = Instance.new("CylinderMesh")
- Part902 = Instance.new("Part")
- CylinderMesh903 = Instance.new("CylinderMesh")
- Part904 = Instance.new("Part")
- BlockMesh905 = Instance.new("BlockMesh")
- Part906 = Instance.new("Part")
- BlockMesh907 = Instance.new("BlockMesh")
- Model908 = Instance.new("Model")
- Part909 = Instance.new("Part")
- BlockMesh910 = Instance.new("BlockMesh")
- Part911 = Instance.new("Part")
- BlockMesh912 = Instance.new("BlockMesh")
- Part913 = Instance.new("Part")
- SpecialMesh914 = Instance.new("SpecialMesh")
- Part915 = Instance.new("Part")
- CylinderMesh916 = Instance.new("CylinderMesh")
- Model917 = Instance.new("Model")
- Model918 = Instance.new("Model")
- Part919 = Instance.new("Part")
- SpecialMesh920 = Instance.new("SpecialMesh")
- Part921 = Instance.new("Part")
- SpecialMesh922 = Instance.new("SpecialMesh")
- Script923 = Instance.new("Script")
- Part924 = Instance.new("Part")
- CylinderMesh925 = Instance.new("CylinderMesh")
- Model926 = Instance.new("Model")
- Part927 = Instance.new("Part")
- CylinderMesh928 = Instance.new("CylinderMesh")
- Part929 = Instance.new("Part")
- CylinderMesh930 = Instance.new("CylinderMesh")
- Part931 = Instance.new("Part")
- CylinderMesh932 = Instance.new("CylinderMesh")
- Part933 = Instance.new("Part")
- CylinderMesh934 = Instance.new("CylinderMesh")
- Part935 = Instance.new("Part")
- CylinderMesh936 = Instance.new("CylinderMesh")
- Part937 = Instance.new("Part")
- CylinderMesh938 = Instance.new("CylinderMesh")
- Script939 = Instance.new("Script")
- Part940 = Instance.new("Part")
- BlockMesh941 = Instance.new("BlockMesh")
- CylinderMesh942 = Instance.new("CylinderMesh")
- ClickDetector943 = Instance.new("ClickDetector")
- Model944 = Instance.new("Model")
- Model945 = Instance.new("Model")
- Model946 = Instance.new("Model")
- Part947 = Instance.new("Part")
- BlockMesh948 = Instance.new("BlockMesh")
- Part949 = Instance.new("Part")
- BlockMesh950 = Instance.new("BlockMesh")
- Model951 = Instance.new("Model")
- Part952 = Instance.new("Part")
- BlockMesh953 = Instance.new("BlockMesh")
- Part954 = Instance.new("Part")
- BlockMesh955 = Instance.new("BlockMesh")
- Part956 = Instance.new("Part")
- BlockMesh957 = Instance.new("BlockMesh")
- Part958 = Instance.new("Part")
- BlockMesh959 = Instance.new("BlockMesh")
- Part960 = Instance.new("Part")
- BlockMesh961 = Instance.new("BlockMesh")
- Part962 = Instance.new("Part")
- BlockMesh963 = Instance.new("BlockMesh")
- Model964 = Instance.new("Model")
- Part965 = Instance.new("Part")
- BlockMesh966 = Instance.new("BlockMesh")
- Part967 = Instance.new("Part")
- BlockMesh968 = Instance.new("BlockMesh")
- Model969 = Instance.new("Model")
- Model970 = Instance.new("Model")
- Model971 = Instance.new("Model")
- Part972 = Instance.new("Part")
- CylinderMesh973 = Instance.new("CylinderMesh")
- Part974 = Instance.new("Part")
- CylinderMesh975 = Instance.new("CylinderMesh")
- Part976 = Instance.new("Part")
- CylinderMesh977 = Instance.new("CylinderMesh")
- Part978 = Instance.new("Part")
- CylinderMesh979 = Instance.new("CylinderMesh")
- Part980 = Instance.new("Part")
- BlockMesh981 = Instance.new("BlockMesh")
- Part982 = Instance.new("Part")
- BlockMesh983 = Instance.new("BlockMesh")
- Model984 = Instance.new("Model")
- Part985 = Instance.new("Part")
- BlockMesh986 = Instance.new("BlockMesh")
- Part987 = Instance.new("Part")
- BlockMesh988 = Instance.new("BlockMesh")
- Part989 = Instance.new("Part")
- SpecialMesh990 = Instance.new("SpecialMesh")
- Part991 = Instance.new("Part")
- CylinderMesh992 = Instance.new("CylinderMesh")
- Model993 = Instance.new("Model")
- Model994 = Instance.new("Model")
- Part995 = Instance.new("Part")
- SpecialMesh996 = Instance.new("SpecialMesh")
- Part997 = Instance.new("Part")
- SpecialMesh998 = Instance.new("SpecialMesh")
- Script999 = Instance.new("Script")
- Part1000 = Instance.new("Part")
- CylinderMesh1001 = Instance.new("CylinderMesh")
- Model1002 = Instance.new("Model")
- Part1003 = Instance.new("Part")
- CylinderMesh1004 = Instance.new("CylinderMesh")
- Part1005 = Instance.new("Part")
- CylinderMesh1006 = Instance.new("CylinderMesh")
- Part1007 = Instance.new("Part")
- CylinderMesh1008 = Instance.new("CylinderMesh")
- Part1009 = Instance.new("Part")
- CylinderMesh1010 = Instance.new("CylinderMesh")
- Part1011 = Instance.new("Part")
- CylinderMesh1012 = Instance.new("CylinderMesh")
- Part1013 = Instance.new("Part")
- CylinderMesh1014 = Instance.new("CylinderMesh")
- Script1015 = Instance.new("Script")
- Part1016 = Instance.new("Part")
- BlockMesh1017 = Instance.new("BlockMesh")
- CylinderMesh1018 = Instance.new("CylinderMesh")
- ClickDetector1019 = Instance.new("ClickDetector")
- Model1020 = Instance.new("Model")
- Model1021 = Instance.new("Model")
- Model1022 = Instance.new("Model")
- Part1023 = Instance.new("Part")
- BlockMesh1024 = Instance.new("BlockMesh")
- Part1025 = Instance.new("Part")
- BlockMesh1026 = Instance.new("BlockMesh")
- Model1027 = Instance.new("Model")
- Part1028 = Instance.new("Part")
- BlockMesh1029 = Instance.new("BlockMesh")
- Part1030 = Instance.new("Part")
- BlockMesh1031 = Instance.new("BlockMesh")
- Part1032 = Instance.new("Part")
- BlockMesh1033 = Instance.new("BlockMesh")
- Part1034 = Instance.new("Part")
- BlockMesh1035 = Instance.new("BlockMesh")
- Part1036 = Instance.new("Part")
- BlockMesh1037 = Instance.new("BlockMesh")
- Part1038 = Instance.new("Part")
- BlockMesh1039 = Instance.new("BlockMesh")
- Model1040 = Instance.new("Model")
- Part1041 = Instance.new("Part")
- BlockMesh1042 = Instance.new("BlockMesh")
- Part1043 = Instance.new("Part")
- BlockMesh1044 = Instance.new("BlockMesh")
- Model1045 = Instance.new("Model")
- Model1046 = Instance.new("Model")
- Model1047 = Instance.new("Model")
- Part1048 = Instance.new("Part")
- CylinderMesh1049 = Instance.new("CylinderMesh")
- Part1050 = Instance.new("Part")
- CylinderMesh1051 = Instance.new("CylinderMesh")
- Part1052 = Instance.new("Part")
- CylinderMesh1053 = Instance.new("CylinderMesh")
- Part1054 = Instance.new("Part")
- CylinderMesh1055 = Instance.new("CylinderMesh")
- Part1056 = Instance.new("Part")
- BlockMesh1057 = Instance.new("BlockMesh")
- Part1058 = Instance.new("Part")
- BlockMesh1059 = Instance.new("BlockMesh")
- Model1060 = Instance.new("Model")
- Part1061 = Instance.new("Part")
- BlockMesh1062 = Instance.new("BlockMesh")
- Part1063 = Instance.new("Part")
- BlockMesh1064 = Instance.new("BlockMesh")
- Part1065 = Instance.new("Part")
- SpecialMesh1066 = Instance.new("SpecialMesh")
- Part1067 = Instance.new("Part")
- CylinderMesh1068 = Instance.new("CylinderMesh")
- Model1069 = Instance.new("Model")
- Model1070 = Instance.new("Model")
- Part1071 = Instance.new("Part")
- SpecialMesh1072 = Instance.new("SpecialMesh")
- Part1073 = Instance.new("Part")
- SpecialMesh1074 = Instance.new("SpecialMesh")
- Script1075 = Instance.new("Script")
- Part1076 = Instance.new("Part")
- CylinderMesh1077 = Instance.new("CylinderMesh")
- Model1078 = Instance.new("Model")
- Part1079 = Instance.new("Part")
- CylinderMesh1080 = Instance.new("CylinderMesh")
- Part1081 = Instance.new("Part")
- CylinderMesh1082 = Instance.new("CylinderMesh")
- Part1083 = Instance.new("Part")
- CylinderMesh1084 = Instance.new("CylinderMesh")
- Part1085 = Instance.new("Part")
- CylinderMesh1086 = Instance.new("CylinderMesh")
- Part1087 = Instance.new("Part")
- CylinderMesh1088 = Instance.new("CylinderMesh")
- Part1089 = Instance.new("Part")
- CylinderMesh1090 = Instance.new("CylinderMesh")
- Script1091 = Instance.new("Script")
- Part1092 = Instance.new("Part")
- BlockMesh1093 = Instance.new("BlockMesh")
- CylinderMesh1094 = Instance.new("CylinderMesh")
- ClickDetector1095 = Instance.new("ClickDetector")
- Model1096 = Instance.new("Model")
- Model1097 = Instance.new("Model")
- Model1098 = Instance.new("Model")
- Part1099 = Instance.new("Part")
- BlockMesh1100 = Instance.new("BlockMesh")
- Part1101 = Instance.new("Part")
- BlockMesh1102 = Instance.new("BlockMesh")
- Model1103 = Instance.new("Model")
- Part1104 = Instance.new("Part")
- BlockMesh1105 = Instance.new("BlockMesh")
- Part1106 = Instance.new("Part")
- BlockMesh1107 = Instance.new("BlockMesh")
- Part1108 = Instance.new("Part")
- BlockMesh1109 = Instance.new("BlockMesh")
- Part1110 = Instance.new("Part")
- BlockMesh1111 = Instance.new("BlockMesh")
- Part1112 = Instance.new("Part")
- BlockMesh1113 = Instance.new("BlockMesh")
- Part1114 = Instance.new("Part")
- BlockMesh1115 = Instance.new("BlockMesh")
- Model1116 = Instance.new("Model")
- Part1117 = Instance.new("Part")
- BlockMesh1118 = Instance.new("BlockMesh")
- Part1119 = Instance.new("Part")
- BlockMesh1120 = Instance.new("BlockMesh")
- Model1121 = Instance.new("Model")
- Model1122 = Instance.new("Model")
- Model1123 = Instance.new("Model")
- Part1124 = Instance.new("Part")
- CylinderMesh1125 = Instance.new("CylinderMesh")
- Part1126 = Instance.new("Part")
- CylinderMesh1127 = Instance.new("CylinderMesh")
- Part1128 = Instance.new("Part")
- CylinderMesh1129 = Instance.new("CylinderMesh")
- Part1130 = Instance.new("Part")
- CylinderMesh1131 = Instance.new("CylinderMesh")
- Part1132 = Instance.new("Part")
- BlockMesh1133 = Instance.new("BlockMesh")
- Part1134 = Instance.new("Part")
- BlockMesh1135 = Instance.new("BlockMesh")
- Model1136 = Instance.new("Model")
- Part1137 = Instance.new("Part")
- BlockMesh1138 = Instance.new("BlockMesh")
- Part1139 = Instance.new("Part")
- BlockMesh1140 = Instance.new("BlockMesh")
- Part1141 = Instance.new("Part")
- SpecialMesh1142 = Instance.new("SpecialMesh")
- Part1143 = Instance.new("Part")
- CylinderMesh1144 = Instance.new("CylinderMesh")
- Model1145 = Instance.new("Model")
- Model1146 = Instance.new("Model")
- Part1147 = Instance.new("Part")
- SpecialMesh1148 = Instance.new("SpecialMesh")
- Part1149 = Instance.new("Part")
- SpecialMesh1150 = Instance.new("SpecialMesh")
- Script1151 = Instance.new("Script")
- Part1152 = Instance.new("Part")
- CylinderMesh1153 = Instance.new("CylinderMesh")
- Model1154 = Instance.new("Model")
- Part1155 = Instance.new("Part")
- CylinderMesh1156 = Instance.new("CylinderMesh")
- Part1157 = Instance.new("Part")
- CylinderMesh1158 = Instance.new("CylinderMesh")
- Part1159 = Instance.new("Part")
- CylinderMesh1160 = Instance.new("CylinderMesh")
- Part1161 = Instance.new("Part")
- CylinderMesh1162 = Instance.new("CylinderMesh")
- Part1163 = Instance.new("Part")
- CylinderMesh1164 = Instance.new("CylinderMesh")
- Part1165 = Instance.new("Part")
- CylinderMesh1166 = Instance.new("CylinderMesh")
- Script1167 = Instance.new("Script")
- Part1168 = Instance.new("Part")
- BlockMesh1169 = Instance.new("BlockMesh")
- CylinderMesh1170 = Instance.new("CylinderMesh")
- ClickDetector1171 = Instance.new("ClickDetector")
- Model1172 = Instance.new("Model")
- Model1173 = Instance.new("Model")
- Model1174 = Instance.new("Model")
- Part1175 = Instance.new("Part")
- BlockMesh1176 = Instance.new("BlockMesh")
- Part1177 = Instance.new("Part")
- BlockMesh1178 = Instance.new("BlockMesh")
- Model1179 = Instance.new("Model")
- Part1180 = Instance.new("Part")
- BlockMesh1181 = Instance.new("BlockMesh")
- Part1182 = Instance.new("Part")
- BlockMesh1183 = Instance.new("BlockMesh")
- Part1184 = Instance.new("Part")
- BlockMesh1185 = Instance.new("BlockMesh")
- Part1186 = Instance.new("Part")
- BlockMesh1187 = Instance.new("BlockMesh")
- Part1188 = Instance.new("Part")
- BlockMesh1189 = Instance.new("BlockMesh")
- Part1190 = Instance.new("Part")
- BlockMesh1191 = Instance.new("BlockMesh")
- Model1192 = Instance.new("Model")
- Part1193 = Instance.new("Part")
- BlockMesh1194 = Instance.new("BlockMesh")
- Part1195 = Instance.new("Part")
- BlockMesh1196 = Instance.new("BlockMesh")
- Model1197 = Instance.new("Model")
- Model1198 = Instance.new("Model")
- Model1199 = Instance.new("Model")
- Part1200 = Instance.new("Part")
- CylinderMesh1201 = Instance.new("CylinderMesh")
- Part1202 = Instance.new("Part")
- CylinderMesh1203 = Instance.new("CylinderMesh")
- Part1204 = Instance.new("Part")
- CylinderMesh1205 = Instance.new("CylinderMesh")
- Part1206 = Instance.new("Part")
- CylinderMesh1207 = Instance.new("CylinderMesh")
- Part1208 = Instance.new("Part")
- BlockMesh1209 = Instance.new("BlockMesh")
- Part1210 = Instance.new("Part")
- BlockMesh1211 = Instance.new("BlockMesh")
- Model1212 = Instance.new("Model")
- Part1213 = Instance.new("Part")
- BlockMesh1214 = Instance.new("BlockMesh")
- Part1215 = Instance.new("Part")
- BlockMesh1216 = Instance.new("BlockMesh")
- Part1217 = Instance.new("Part")
- SpecialMesh1218 = Instance.new("SpecialMesh")
- Part1219 = Instance.new("Part")
- CylinderMesh1220 = Instance.new("CylinderMesh")
- Model1221 = Instance.new("Model")
- Model1222 = Instance.new("Model")
- Part1223 = Instance.new("Part")
- SpecialMesh1224 = Instance.new("SpecialMesh")
- Part1225 = Instance.new("Part")
- SpecialMesh1226 = Instance.new("SpecialMesh")
- Script1227 = Instance.new("Script")
- Part1228 = Instance.new("Part")
- CylinderMesh1229 = Instance.new("CylinderMesh")
- Model1230 = Instance.new("Model")
- Part1231 = Instance.new("Part")
- CylinderMesh1232 = Instance.new("CylinderMesh")
- Part1233 = Instance.new("Part")
- CylinderMesh1234 = Instance.new("CylinderMesh")
- Part1235 = Instance.new("Part")
- CylinderMesh1236 = Instance.new("CylinderMesh")
- Part1237 = Instance.new("Part")
- CylinderMesh1238 = Instance.new("CylinderMesh")
- Part1239 = Instance.new("Part")
- CylinderMesh1240 = Instance.new("CylinderMesh")
- Part1241 = Instance.new("Part")
- CylinderMesh1242 = Instance.new("CylinderMesh")
- Script1243 = Instance.new("Script")
- Part1244 = Instance.new("Part")
- BlockMesh1245 = Instance.new("BlockMesh")
- CylinderMesh1246 = Instance.new("CylinderMesh")
- ClickDetector1247 = Instance.new("ClickDetector")
- Part1248 = Instance.new("Part")
- Part1249 = Instance.new("Part")
- Part1250 = Instance.new("Part")
- Part1251 = Instance.new("Part")
- Part1252 = Instance.new("Part")
- Part1253 = Instance.new("Part")
- Part1254 = Instance.new("Part")
- Part1255 = Instance.new("Part")
- Part1256 = Instance.new("Part")
- Part1257 = Instance.new("Part")
- Part1258 = Instance.new("Part")
- Part1259 = Instance.new("Part")
- Part1260 = Instance.new("Part")
- Part1261 = Instance.new("Part")
- Part1262 = Instance.new("Part")
- Part1263 = Instance.new("Part")
- Part1264 = Instance.new("Part")
- Part1265 = Instance.new("Part")
- Part1266 = Instance.new("Part")
- Decal1267 = Instance.new("Decal")
- Decal1268 = Instance.new("Decal")
- Part1269 = Instance.new("Part")
- Decal1270 = Instance.new("Decal")
- Part1271 = Instance.new("Part")
- Part1272 = Instance.new("Part")
- Part1273 = Instance.new("Part")
- Decal1274 = Instance.new("Decal")
- Decal1275 = Instance.new("Decal")
- Part1276 = Instance.new("Part")
- Part0.Name = "Baseplate"
- Part0.Parent = mas
- Part0.Material = Enum.Material.Grass
- Part0.BrickColor = BrickColor.new("Bright green")
- Part0.Anchored = true
- Part0.Locked = true
- Part0.FormFactor = Enum.FormFactor.Symmetric
- Part0.Size = Vector3.new(2048, 20, 2048)
- Part0.CFrame = CFrame.new(60, -10, -337.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part0.Position = Vector3.new(60, -10, -337.5)
- Part0.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Model1.Parent = mas
- Part2.Parent = Model1
- Part2.Anchored = true
- Part2.Size = Vector3.new(6.80000019, 1, 10.3999996)
- Part2.CFrame = CFrame.new(76.3999786, 4.61211967, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part2.Position = Vector3.new(76.3999786, 4.61211967, -23.5999908)
- Part3.Parent = Model1
- Part3.Anchored = true
- Part3.Size = Vector3.new(117.400002, 9.39999962, 10.4000015)
- Part3.CFrame = CFrame.new(115.699997, 4.81212044, -34.2000046, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.Position = Vector3.new(115.699997, 4.81212044, -34.2000046)
- Part4.Parent = Model1
- Part4.Anchored = true
- Part4.Size = Vector3.new(117.400002, 2.4000001, 23)
- Part4.CFrame = CFrame.new(116.100082, 22.3121891, -142.699966, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.Position = Vector3.new(116.100082, 22.3121891, -142.699966)
- Part5.Parent = Model1
- Part5.Anchored = true
- Part5.Size = Vector3.new(6.79999971, 1.00000024, 10.3999996)
- Part5.CFrame = CFrame.new(105, 1.01212311, -44.6000061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part5.Position = Vector3.new(105, 1.01212311, -44.6000061)
- Part6.Parent = Model1
- Part6.Anchored = true
- Part6.Size = Vector3.new(9.60000038, 1.00000012, 3.4000001)
- Part6.CFrame = CFrame.new(61.9999847, 19.4121227, -126.699982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part6.Position = Vector3.new(61.9999847, 19.4121227, -126.699982)
- Part7.Parent = Model1
- Part7.Anchored = true
- Part7.Size = Vector3.new(81, 9.39999962, 11.8000002)
- Part7.CFrame = CFrame.new(115.299995, 4.81212044, -134.300003, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part7.Position = Vector3.new(115.299995, 4.81212044, -134.300003)
- Part8.Parent = Model1
- Part8.Anchored = true
- Part8.Size = Vector3.new(6.80000019, 1, 10.3999996)
- Part8.CFrame = CFrame.new(79.599968, 6.61211967, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part8.Position = Vector3.new(79.599968, 6.61211967, -23.5999908)
- Part9.Parent = Model1
- Part9.Anchored = true
- Part9.Size = Vector3.new(117.400002, 9.39999962, 14.6000004)
- Part9.CFrame = CFrame.new(116.5, 4.81212044, -147.899994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part9.Position = Vector3.new(116.5, 4.81212044, -147.899994)
- Part10.Parent = Model1
- Part10.Anchored = true
- Part10.Size = Vector3.new(6.80000019, 1, 10.3999996)
- Part10.CFrame = CFrame.new(69.9999924, 0.612123489, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part10.Position = Vector3.new(69.9999924, 0.612123489, -23.5999908)
- Part11.Parent = Model1
- Part11.Anchored = true
- Part11.Size = Vector3.new(6.80000019, 36, 2)
- Part11.CFrame = CFrame.new(60.3999939, 26.5121269, -17.4000015, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part11.Position = Vector3.new(60.3999939, 26.5121269, -17.4000015)
- Part12.Parent = Model1
- Part12.Anchored = true
- Part12.Size = Vector3.new(6.80000019, 36, 2)
- Part12.CFrame = CFrame.new(172.600037, 26.5121269, -17.6000061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part12.Position = Vector3.new(172.600037, 26.5121269, -17.6000061)
- Part13.Parent = Model1
- Part13.Anchored = true
- Part13.Size = Vector3.new(9.60000038, 1.00000012, 3.4000001)
- Part13.CFrame = CFrame.new(62.3999939, 21.4121284, -129.499985, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part13.Position = Vector3.new(62.3999939, 21.4121284, -129.499985)
- Part14.Parent = Model1
- Part14.Anchored = true
- Part14.Size = Vector3.new(8.19999981, 44.4000015, 137.800003)
- Part14.CFrame = CFrame.new(180.100037, 22.3121243, -85.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part14.Position = Vector3.new(180.100037, 22.3121243, -85.3000031)
- Part15.Parent = Model1
- Part15.Anchored = true
- Part15.Size = Vector3.new(8.19999981, 44.4000015, 137.800003)
- Part15.CFrame = CFrame.new(52.6999893, 22.3121243, -85.2999954, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part15.Position = Vector3.new(52.6999893, 22.3121243, -85.2999954)
- Part16.Parent = Model1
- Part16.Rotation = Vector3.new(0, 90, 0)
- Part16.Anchored = true
- Part16.Size = Vector3.new(8.19999981, 44.4000015, 137.800003)
- 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)
- Part16.Position = Vector3.new(116.699989, 22.3121243, -159.299988)
- Part16.Orientation = Vector3.new(0, 90, 0)
- Part17.Parent = Model1
- Part17.Anchored = true
- Part17.Size = Vector3.new(9.60000038, 5.19999981, 2)
- Part17.CFrame = CFrame.new(61.9999847, 12.5121136, -119.199982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part17.Position = Vector3.new(61.9999847, 12.5121136, -119.199982)
- Part18.Parent = Model1
- Part18.Anchored = true
- Part18.Size = Vector3.new(9.60000038, 3.79999995, 2)
- Part18.CFrame = CFrame.new(62.1999893, 11.8121176, -117.199982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part18.Position = Vector3.new(62.1999893, 11.8121176, -117.199982)
- Part19.Parent = Model1
- Part19.Anchored = true
- Part19.Size = Vector3.new(9.60000038, 2.4000001, 2)
- Part19.CFrame = CFrame.new(62.3999939, 11.1121197, -115.199982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part19.Position = Vector3.new(62.3999939, 11.1121197, -115.199982)
- Model20.Parent = Model1
- Model21.Name = "PrisonCell"
- Model21.Parent = Model20
- Model22.Name = "Exterior"
- Model22.Parent = Model21
- Model23.Name = "Top"
- Model23.Parent = Model22
- Part24.Name = "Ceiling"
- Part24.Parent = Model23
- Part24.BrickColor = BrickColor.new("Brick yellow")
- Part24.Anchored = true
- Part24.FormFactor = Enum.FormFactor.Plate
- Part24.Size = Vector3.new(12, 0.400000006, 14)
- Part24.CFrame = CFrame.new(64.4000931, 33.3122864, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part24.BottomSurface = Enum.SurfaceType.Smooth
- Part24.TopSurface = Enum.SurfaceType.Smooth
- Part24.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part24.Position = Vector3.new(64.4000931, 33.3122864, -146.600006)
- Part24.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh25.Parent = Part24
- Part26.Name = "Top"
- Part26.Parent = Model23
- Part26.BrickColor = BrickColor.new("Dark stone grey")
- Part26.Anchored = true
- Part26.FormFactor = Enum.FormFactor.Symmetric
- Part26.Size = Vector3.new(14, 1, 16)
- Part26.CFrame = CFrame.new(64.4000931, 34.0122948, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part26.BottomSurface = Enum.SurfaceType.Smooth
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part26.Position = Vector3.new(64.4000931, 34.0122948, -146.600006)
- Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh27.Parent = Part26
- Model28.Name = "Walls"
- Model28.Parent = Model22
- Part29.Parent = Model28
- Part29.BrickColor = BrickColor.new("Dark stone grey")
- Part29.Anchored = true
- Part29.FormFactor = Enum.FormFactor.Symmetric
- Part29.Size = Vector3.new(6, 1, 1)
- Part29.CFrame = CFrame.new(66.4000931, 33.0122604, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part29.Position = Vector3.new(66.4000931, 33.0122604, -139.100006)
- Part29.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh30.Parent = Part29
- Part31.Parent = Model28
- Part31.BrickColor = BrickColor.new("Dark stone grey")
- Part31.Anchored = true
- Part31.FormFactor = Enum.FormFactor.Symmetric
- Part31.Size = Vector3.new(6, 10, 1)
- Part31.CFrame = CFrame.new(60.4000931, 28.5121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part31.Position = Vector3.new(60.4000931, 28.5121994, -139.100006)
- Part31.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh32.Parent = Part31
- Part33.Parent = Model28
- Part33.BrickColor = BrickColor.new("Dark stone grey")
- Part33.Rotation = Vector3.new(-180, 0, -180)
- Part33.Anchored = true
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.Size = Vector3.new(1, 10, 14)
- Part33.CFrame = CFrame.new(57.9000854, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part33.Position = Vector3.new(57.9000854, 28.5121994, -146.600006)
- Part33.Orientation = Vector3.new(0, 180, 0)
- Part33.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh34.Parent = Part33
- Part35.Parent = Model28
- Part35.BrickColor = BrickColor.new("Dark stone grey")
- Part35.Rotation = Vector3.new(0, -90, 0)
- Part35.Anchored = true
- Part35.FormFactor = Enum.FormFactor.Symmetric
- Part35.Size = Vector3.new(1, 10, 14)
- Part35.CFrame = CFrame.new(64.4000931, 28.5121994, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part35.BottomSurface = Enum.SurfaceType.Smooth
- Part35.TopSurface = Enum.SurfaceType.Smooth
- Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part35.Position = Vector3.new(64.4000931, 28.5121994, -154.099976)
- Part35.Orientation = Vector3.new(0, -90, 0)
- Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh36.Parent = Part35
- Part37.Parent = Model28
- Part37.BrickColor = BrickColor.new("Dark stone grey")
- Part37.Rotation = Vector3.new(-180, 0, -180)
- Part37.Anchored = true
- Part37.FormFactor = Enum.FormFactor.Symmetric
- Part37.Size = Vector3.new(1, 10, 14)
- Part37.CFrame = CFrame.new(70.9001007, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part37.Position = Vector3.new(70.9001007, 28.5121994, -146.600006)
- Part37.Orientation = Vector3.new(0, 180, 0)
- Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh38.Parent = Part37
- Part39.Parent = Model28
- Part39.BrickColor = BrickColor.new("Dark stone grey")
- Part39.Rotation = Vector3.new(0, 90, 0)
- Part39.Anchored = true
- Part39.FormFactor = Enum.FormFactor.Symmetric
- Part39.Size = Vector3.new(1, 10, 2)
- Part39.CFrame = CFrame.new(70.4001007, 28.5121994, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part39.BottomSurface = Enum.SurfaceType.Smooth
- Part39.TopSurface = Enum.SurfaceType.Smooth
- Part39.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part39.Position = Vector3.new(70.4001007, 28.5121994, -139.100006)
- Part39.Orientation = Vector3.new(0, 90, 0)
- Part39.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh40.Parent = Part39
- Model41.Name = "Floor"
- Model41.Parent = Model22
- Part42.Name = "Floor"
- Part42.Parent = Model41
- Part42.BrickColor = BrickColor.new("Brick yellow")
- Part42.Anchored = true
- Part42.FormFactor = Enum.FormFactor.Plate
- Part42.Size = Vector3.new(12, 0.400000006, 14)
- Part42.CFrame = CFrame.new(64.4000931, 23.7122288, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part42.BottomSurface = Enum.SurfaceType.Smooth
- Part42.TopSurface = Enum.SurfaceType.Smooth
- Part42.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part42.Position = Vector3.new(64.4000931, 23.7122288, -146.600006)
- Part42.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh43.Parent = Part42
- Part44.Name = "Floor"
- Part44.Parent = Model41
- Part44.BrickColor = BrickColor.new("Brick yellow")
- Part44.Anchored = true
- Part44.CanCollide = false
- Part44.FormFactor = Enum.FormFactor.Plate
- Part44.Size = Vector3.new(6, 0.400000006, 1)
- Part44.CFrame = CFrame.new(66.4000931, 24.1122246, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part44.BottomSurface = Enum.SurfaceType.Smooth
- Part44.TopSurface = Enum.SurfaceType.Smooth
- Part44.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part44.Position = Vector3.new(66.4000931, 24.1122246, -140.100006)
- Part44.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh45.Parent = Part44
- BlockMesh45.Offset = Vector3.new(0, -0.400000006, 1)
- Model46.Name = "Items"
- Model46.Parent = Model21
- Model47.Name = "Furnish"
- Model47.Parent = Model46
- Model48.Name = "Bed"
- Model48.Parent = Model47
- Part49.Name = "Pole"
- Part49.Parent = Model48
- Part49.BrickColor = BrickColor.new("Mid gray")
- Part49.Reflectance = 0.15000000596046
- Part49.Anchored = true
- Part49.CanCollide = false
- Part49.FormFactor = Enum.FormFactor.Symmetric
- Part49.Size = Vector3.new(1, 5, 1)
- Part49.CFrame = CFrame.new(58.9000702, 26.4122009, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part49.BottomSurface = Enum.SurfaceType.Smooth
- Part49.TopSurface = Enum.SurfaceType.Smooth
- Part49.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part49.Position = Vector3.new(58.9000702, 26.4122009, -140.100006)
- Part49.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh50.Parent = Part49
- CylinderMesh50.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh50.Scale = Vector3.new(0.5, 1, 0.5)
- Part51.Name = "Pole"
- Part51.Parent = Model48
- Part51.BrickColor = BrickColor.new("Mid gray")
- Part51.Reflectance = 0.15000000596046
- Part51.Anchored = true
- Part51.CanCollide = false
- Part51.FormFactor = Enum.FormFactor.Symmetric
- Part51.Size = Vector3.new(1, 5, 1)
- Part51.CFrame = CFrame.new(58.9000702, 26.4122009, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part51.BottomSurface = Enum.SurfaceType.Smooth
- Part51.TopSurface = Enum.SurfaceType.Smooth
- Part51.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part51.Position = Vector3.new(58.9000702, 26.4122009, -147.100006)
- Part51.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh52.Parent = Part51
- CylinderMesh52.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh52.Scale = Vector3.new(0.5, 1, 0.5)
- Part53.Name = "Pole"
- Part53.Parent = Model48
- Part53.BrickColor = BrickColor.new("Mid gray")
- Part53.Reflectance = 0.15000000596046
- Part53.Anchored = true
- Part53.CanCollide = false
- Part53.FormFactor = Enum.FormFactor.Symmetric
- Part53.Size = Vector3.new(1, 5, 1)
- Part53.CFrame = CFrame.new(62.9000702, 26.4122009, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part53.BottomSurface = Enum.SurfaceType.Smooth
- Part53.TopSurface = Enum.SurfaceType.Smooth
- Part53.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part53.Position = Vector3.new(62.9000702, 26.4122009, -147.100006)
- Part53.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh54.Parent = Part53
- CylinderMesh54.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh54.Scale = Vector3.new(0.5, 1, 0.5)
- Part55.Name = "Pole"
- Part55.Parent = Model48
- Part55.BrickColor = BrickColor.new("Mid gray")
- Part55.Reflectance = 0.15000000596046
- Part55.Anchored = true
- Part55.CanCollide = false
- Part55.FormFactor = Enum.FormFactor.Symmetric
- Part55.Size = Vector3.new(1, 5, 1)
- Part55.CFrame = CFrame.new(62.9000702, 26.4122009, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part55.BottomSurface = Enum.SurfaceType.Smooth
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part55.Position = Vector3.new(62.9000702, 26.4122009, -140.100006)
- Part55.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh56.Parent = Part55
- CylinderMesh56.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh56.Scale = Vector3.new(0.5, 1, 0.5)
- Part57.Parent = Model48
- Part57.BrickColor = BrickColor.new("Institutional white")
- Part57.Rotation = Vector3.new(-180, 0, -180)
- Part57.Anchored = true
- Part57.FormFactor = Enum.FormFactor.Symmetric
- Part57.Size = Vector3.new(3, 1, 6)
- Part57.CFrame = CFrame.new(60.9000702, 27.6122017, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part57.BottomSurface = Enum.SurfaceType.Smooth
- Part57.TopSurface = Enum.SurfaceType.Smooth
- Part57.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part57.Position = Vector3.new(60.9000702, 27.6122017, -143.600006)
- Part57.Orientation = Vector3.new(0, 180, 0)
- Part57.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh58.Parent = Part57
- BlockMesh58.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh58.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part59.Parent = Model48
- Part59.BrickColor = BrickColor.new("Institutional white")
- Part59.Rotation = Vector3.new(-180, 0, -180)
- Part59.Anchored = true
- Part59.FormFactor = Enum.FormFactor.Symmetric
- Part59.Size = Vector3.new(3, 1, 6)
- Part59.CFrame = CFrame.new(60.9000702, 24.4122372, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part59.BottomSurface = Enum.SurfaceType.Smooth
- Part59.TopSurface = Enum.SurfaceType.Smooth
- Part59.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part59.Position = Vector3.new(60.9000702, 24.4122372, -143.600006)
- Part59.Orientation = Vector3.new(0, 180, 0)
- Part59.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh60.Parent = Part59
- BlockMesh60.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh60.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model61.Name = "Toilet"
- Model61.Parent = Model47
- Part62.Parent = Model61
- Part62.BrickColor = BrickColor.new("Mid gray")
- Part62.Rotation = Vector3.new(0, -90, 0)
- Part62.Anchored = true
- Part62.FormFactor = Enum.FormFactor.Symmetric
- Part62.Size = Vector3.new(2, 3, 1)
- Part62.CFrame = CFrame.new(58.9000702, 26.4122009, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part62.BottomSurface = Enum.SurfaceType.Smooth
- Part62.TopSurface = Enum.SurfaceType.Smooth
- Part62.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part62.Position = Vector3.new(58.9000702, 26.4122009, -150.599976)
- Part62.Orientation = Vector3.new(0, -90, 0)
- Part62.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh63.Parent = Part62
- BlockMesh63.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh63.Scale = Vector3.new(1.5, 1, 1)
- Part64.Parent = Model61
- Part64.BrickColor = BrickColor.new("Mid gray")
- Part64.Rotation = Vector3.new(0, -90, 0)
- Part64.Anchored = true
- Part64.FormFactor = Enum.FormFactor.Symmetric
- Part64.Size = Vector3.new(2, 1, 3)
- Part64.CFrame = CFrame.new(59.9000931, 24.4122372, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part64.BottomSurface = Enum.SurfaceType.Smooth
- Part64.TopSurface = Enum.SurfaceType.Smooth
- Part64.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part64.Position = Vector3.new(59.9000931, 24.4122372, -150.599976)
- Part64.Orientation = Vector3.new(0, -90, 0)
- Part64.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh65.Parent = Part64
- Part66.Parent = Model61
- Part66.BrickColor = BrickColor.new("Light stone grey")
- Part66.Rotation = Vector3.new(0, -90, 0)
- Part66.Anchored = true
- Part66.FormFactor = Enum.FormFactor.Plate
- Part66.Size = Vector3.new(2, 0.400000006, 2)
- Part66.CFrame = CFrame.new(60.4000931, 25.1122017, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part66.BottomSurface = Enum.SurfaceType.Smooth
- Part66.TopSurface = Enum.SurfaceType.Smooth
- Part66.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part66.Position = Vector3.new(60.4000931, 25.1122017, -150.599976)
- Part66.Orientation = Vector3.new(0, -90, 0)
- Part66.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh67.Parent = Part66
- SpecialMesh67.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh67.MeshType = Enum.MeshType.Sphere
- SpecialMesh67.Scale = Vector3.new(1.5, 2, 2)
- Part68.Name = "Pole"
- Part68.Parent = Model47
- Part68.BrickColor = BrickColor.new("Mid gray")
- Part68.Reflectance = 0.15000000596046
- Part68.Rotation = Vector3.new(0, 0, -90)
- Part68.Anchored = true
- Part68.CanCollide = false
- Part68.FormFactor = Enum.FormFactor.Symmetric
- Part68.Size = Vector3.new(1, 12, 1)
- Part68.CFrame = CFrame.new(64.4000931, 27.4122009, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part68.BottomSurface = Enum.SurfaceType.Smooth
- Part68.TopSurface = Enum.SurfaceType.Smooth
- Part68.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part68.Position = Vector3.new(64.4000931, 27.4122009, -153.099976)
- Part68.Orientation = Vector3.new(0, 0, -90)
- Part68.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh69.Parent = Part68
- CylinderMesh69.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh69.Scale = Vector3.new(0.5, 1, 0.5)
- Model70.Name = "Functions"
- Model70.Parent = Model46
- Model71.Name = "Light"
- Model71.Parent = Model70
- Part72.Name = "Lightbulb"
- Part72.Parent = Model71
- Part72.Transparency = 0.5
- Part72.Rotation = Vector3.new(180, 90, 0)
- Part72.Anchored = true
- Part72.CanCollide = false
- Part72.FormFactor = Enum.FormFactor.Symmetric
- Part72.Size = Vector3.new(2, 1, 2)
- Part72.CFrame = CFrame.new(64.4000931, 32.6122589, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part72.BackSurface = Enum.SurfaceType.Weld
- Part72.BottomSurface = Enum.SurfaceType.Weld
- Part72.FrontSurface = Enum.SurfaceType.Weld
- Part72.LeftSurface = Enum.SurfaceType.Weld
- Part72.RightSurface = Enum.SurfaceType.Weld
- Part72.TopSurface = Enum.SurfaceType.Weld
- Part72.Position = Vector3.new(64.4000931, 32.6122589, -146.600006)
- Part72.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh73.Parent = Part72
- SpecialMesh73.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh73.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh73.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh73.MeshType = Enum.MeshType.FileMesh
- SpecialMesh73.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part74.Name = "Light"
- Part74.Parent = Model71
- Part74.BrickColor = BrickColor.new("Cool yellow")
- Part74.Transparency = 1
- Part74.Anchored = true
- Part74.CanCollide = false
- Part74.FormFactor = Enum.FormFactor.Symmetric
- Part74.Size = Vector3.new(2, 8, 2)
- Part74.CFrame = CFrame.new(64.4000931, 28.1122017, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part74.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part74.Position = Vector3.new(64.4000931, 28.1122017, -146.600006)
- Part74.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh75.Parent = Part74
- SpecialMesh75.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh75.Scale = Vector3.new(7, 13, 7)
- SpecialMesh75.MeshType = Enum.MeshType.FileMesh
- SpecialMesh75.Scale = Vector3.new(7, 13, 7)
- Script76.Name = "Function"
- Script76.Parent = Model71
- table.insert(cors,sandbox(Script76,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part77.Name = "LightSocket"
- Part77.Parent = Model71
- Part77.BrickColor = BrickColor.new("Dark stone grey")
- Part77.Anchored = true
- Part77.FormFactor = Enum.FormFactor.Symmetric
- Part77.Size = Vector3.new(2, 1, 2)
- Part77.CFrame = CFrame.new(64.4000931, 32.6122589, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part77.BottomSurface = Enum.SurfaceType.Smooth
- Part77.TopSurface = Enum.SurfaceType.Smooth
- Part77.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part77.Position = Vector3.new(64.4000931, 32.6122589, -146.600006)
- Part77.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh78.Parent = Part77
- CylinderMesh78.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh78.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh78.Scale = Vector3.new(1, 0.5, 1)
- Model79.Name = "Door"
- Model79.Parent = Model21
- Part80.Name = "Bar"
- Part80.Parent = Model79
- Part80.Reflectance = 0.15000000596046
- Part80.Anchored = true
- Part80.FormFactor = Enum.FormFactor.Symmetric
- Part80.Size = Vector3.new(1, 9, 1)
- Part80.CFrame = CFrame.new(68.9000854, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part80.BottomSurface = Enum.SurfaceType.Smooth
- Part80.TopSurface = Enum.SurfaceType.Smooth
- Part80.Position = Vector3.new(68.9000854, 28.0122128, -139.100006)
- CylinderMesh81.Parent = Part80
- CylinderMesh81.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh81.Scale = Vector3.new(0.5, 1, 1)
- Part82.Name = "Bar"
- Part82.Parent = Model79
- Part82.Reflectance = 0.15000000596046
- Part82.Anchored = true
- Part82.FormFactor = Enum.FormFactor.Symmetric
- Part82.Size = Vector3.new(1, 9, 1)
- Part82.CFrame = CFrame.new(67.9000702, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part82.BottomSurface = Enum.SurfaceType.Smooth
- Part82.TopSurface = Enum.SurfaceType.Smooth
- Part82.Position = Vector3.new(67.9000702, 28.0122128, -139.100006)
- CylinderMesh83.Parent = Part82
- CylinderMesh83.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh83.Scale = Vector3.new(0.5, 1, 1)
- Part84.Name = "Bar"
- Part84.Parent = Model79
- Part84.Reflectance = 0.15000000596046
- Part84.Anchored = true
- Part84.FormFactor = Enum.FormFactor.Symmetric
- Part84.Size = Vector3.new(1, 9, 1)
- Part84.CFrame = CFrame.new(66.9001007, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part84.BottomSurface = Enum.SurfaceType.Smooth
- Part84.TopSurface = Enum.SurfaceType.Smooth
- Part84.Position = Vector3.new(66.9001007, 28.0122128, -139.100006)
- CylinderMesh85.Parent = Part84
- CylinderMesh85.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh85.Scale = Vector3.new(0.5, 1, 1)
- Part86.Name = "Bar"
- Part86.Parent = Model79
- Part86.Reflectance = 0.15000000596046
- Part86.Anchored = true
- Part86.FormFactor = Enum.FormFactor.Symmetric
- Part86.Size = Vector3.new(1, 9, 1)
- Part86.CFrame = CFrame.new(65.9000931, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part86.BottomSurface = Enum.SurfaceType.Smooth
- Part86.TopSurface = Enum.SurfaceType.Smooth
- Part86.Position = Vector3.new(65.9000931, 28.0122128, -139.100006)
- CylinderMesh87.Parent = Part86
- CylinderMesh87.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh87.Scale = Vector3.new(0.5, 1, 1)
- Part88.Name = "Bar"
- Part88.Parent = Model79
- Part88.Reflectance = 0.15000000596046
- Part88.Anchored = true
- Part88.FormFactor = Enum.FormFactor.Symmetric
- Part88.Size = Vector3.new(1, 9, 1)
- Part88.CFrame = CFrame.new(64.9000931, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part88.BottomSurface = Enum.SurfaceType.Smooth
- Part88.TopSurface = Enum.SurfaceType.Smooth
- Part88.Position = Vector3.new(64.9000931, 28.0122128, -139.100006)
- CylinderMesh89.Parent = Part88
- CylinderMesh89.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh89.Scale = Vector3.new(0.5, 1, 1)
- Part90.Name = "Bar"
- Part90.Parent = Model79
- Part90.Reflectance = 0.15000000596046
- Part90.Anchored = true
- Part90.FormFactor = Enum.FormFactor.Symmetric
- Part90.Size = Vector3.new(1, 9, 1)
- Part90.CFrame = CFrame.new(63.9000931, 28.0122128, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part90.BottomSurface = Enum.SurfaceType.Smooth
- Part90.TopSurface = Enum.SurfaceType.Smooth
- Part90.Position = Vector3.new(63.9000931, 28.0122128, -139.100006)
- CylinderMesh91.Parent = Part90
- CylinderMesh91.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh91.Scale = Vector3.new(0.5, 1, 1)
- Script92.Name = "Main"
- Script92.Parent = Model79
- table.insert(cors,sandbox(Script92,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part93.Name = "Button"
- Part93.Parent = Model79
- Part93.BrickColor = BrickColor.new("Really red")
- Part93.Reflectance = 0.20000000298023
- Part93.Transparency = 0.5
- Part93.Rotation = Vector3.new(90, 0, -180)
- Part93.Anchored = true
- Part93.FormFactor = Enum.FormFactor.Plate
- Part93.Size = Vector3.new(1, 0.400000006, 1)
- Part93.CFrame = CFrame.new(61.9000702, 28.0121937, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part93.BottomSurface = Enum.SurfaceType.Smooth
- Part93.TopSurface = Enum.SurfaceType.Smooth
- Part93.Color = Color3.new(1, 0, 0)
- Part93.Position = Vector3.new(61.9000702, 28.0121937, -138.399994)
- Part93.Orientation = Vector3.new(90, 180, 0)
- Part93.Color = Color3.new(1, 0, 0)
- BlockMesh94.Parent = Part93
- CylinderMesh95.Parent = Part93
- CylinderMesh95.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh95.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh95.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector96.Name = "Click"
- ClickDetector96.Parent = Part93
- Model97.Name = "PrisonCell"
- Model97.Parent = Model1
- Model98.Name = "Exterior"
- Model98.Parent = Model97
- Model99.Name = "Top"
- Model99.Parent = Model98
- Part100.Name = "Ceiling"
- Part100.Parent = Model99
- Part100.BrickColor = BrickColor.new("Brick yellow")
- Part100.Anchored = true
- Part100.FormFactor = Enum.FormFactor.Plate
- Part100.Size = Vector3.new(12, 0.400000006, 14)
- Part100.CFrame = CFrame.new(162.399994, 33.3122063, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part100.BottomSurface = Enum.SurfaceType.Smooth
- Part100.TopSurface = Enum.SurfaceType.Smooth
- Part100.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part100.Position = Vector3.new(162.399994, 33.3122063, -146.599991)
- Part100.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh101.Parent = Part100
- Part102.Name = "Top"
- Part102.Parent = Model99
- Part102.BrickColor = BrickColor.new("Dark stone grey")
- Part102.Anchored = true
- Part102.FormFactor = Enum.FormFactor.Symmetric
- Part102.Size = Vector3.new(14, 1, 16)
- Part102.CFrame = CFrame.new(162.399994, 34.012207, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part102.BottomSurface = Enum.SurfaceType.Smooth
- Part102.TopSurface = Enum.SurfaceType.Smooth
- Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part102.Position = Vector3.new(162.399994, 34.012207, -146.599991)
- Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh103.Parent = Part102
- Model104.Name = "Walls"
- Model104.Parent = Model98
- Part105.Parent = Model104
- Part105.BrickColor = BrickColor.new("Dark stone grey")
- Part105.Anchored = true
- Part105.FormFactor = Enum.FormFactor.Symmetric
- Part105.Size = Vector3.new(6, 1, 1)
- Part105.CFrame = CFrame.new(164.399994, 33.0122108, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part105.BottomSurface = Enum.SurfaceType.Smooth
- Part105.TopSurface = Enum.SurfaceType.Smooth
- Part105.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part105.Position = Vector3.new(164.399994, 33.0122108, -139.100006)
- Part105.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh106.Parent = Part105
- Part107.Parent = Model104
- Part107.BrickColor = BrickColor.new("Dark stone grey")
- Part107.Anchored = true
- Part107.FormFactor = Enum.FormFactor.Symmetric
- Part107.Size = Vector3.new(6, 10, 1)
- Part107.CFrame = CFrame.new(158.399994, 28.5121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part107.BottomSurface = Enum.SurfaceType.Smooth
- Part107.TopSurface = Enum.SurfaceType.Smooth
- Part107.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part107.Position = Vector3.new(158.399994, 28.5121994, -139.100006)
- Part107.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh108.Parent = Part107
- Part109.Parent = Model104
- Part109.BrickColor = BrickColor.new("Dark stone grey")
- Part109.Rotation = Vector3.new(-180, 0, -180)
- Part109.Anchored = true
- Part109.FormFactor = Enum.FormFactor.Symmetric
- Part109.Size = Vector3.new(1, 10, 14)
- Part109.CFrame = CFrame.new(155.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part109.BottomSurface = Enum.SurfaceType.Smooth
- Part109.TopSurface = Enum.SurfaceType.Smooth
- Part109.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part109.Position = Vector3.new(155.899994, 28.5121994, -146.599991)
- Part109.Orientation = Vector3.new(0, 180, 0)
- Part109.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh110.Parent = Part109
- Part111.Parent = Model104
- Part111.BrickColor = BrickColor.new("Dark stone grey")
- Part111.Rotation = Vector3.new(0, -90, 0)
- Part111.Anchored = true
- Part111.FormFactor = Enum.FormFactor.Symmetric
- Part111.Size = Vector3.new(1, 10, 14)
- Part111.CFrame = CFrame.new(162.399994, 28.5121994, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part111.BottomSurface = Enum.SurfaceType.Smooth
- Part111.TopSurface = Enum.SurfaceType.Smooth
- Part111.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part111.Position = Vector3.new(162.399994, 28.5121994, -154.099976)
- Part111.Orientation = Vector3.new(0, -90, 0)
- Part111.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh112.Parent = Part111
- Part113.Parent = Model104
- Part113.BrickColor = BrickColor.new("Dark stone grey")
- Part113.Rotation = Vector3.new(-180, 0, -180)
- Part113.Anchored = true
- Part113.FormFactor = Enum.FormFactor.Symmetric
- Part113.Size = Vector3.new(1, 10, 14)
- Part113.CFrame = CFrame.new(168.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part113.BottomSurface = Enum.SurfaceType.Smooth
- Part113.TopSurface = Enum.SurfaceType.Smooth
- Part113.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part113.Position = Vector3.new(168.899994, 28.5121994, -146.599991)
- Part113.Orientation = Vector3.new(0, 180, 0)
- Part113.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh114.Parent = Part113
- Part115.Parent = Model104
- Part115.BrickColor = BrickColor.new("Dark stone grey")
- Part115.Rotation = Vector3.new(0, 90, 0)
- Part115.Anchored = true
- Part115.FormFactor = Enum.FormFactor.Symmetric
- Part115.Size = Vector3.new(1, 10, 2)
- Part115.CFrame = CFrame.new(168.399994, 28.5121994, -139.100006, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part115.BottomSurface = Enum.SurfaceType.Smooth
- Part115.TopSurface = Enum.SurfaceType.Smooth
- Part115.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part115.Position = Vector3.new(168.399994, 28.5121994, -139.100006)
- Part115.Orientation = Vector3.new(0, 90, 0)
- Part115.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh116.Parent = Part115
- Model117.Name = "Floor"
- Model117.Parent = Model98
- Part118.Name = "Floor"
- Part118.Parent = Model117
- Part118.BrickColor = BrickColor.new("Brick yellow")
- Part118.Anchored = true
- Part118.FormFactor = Enum.FormFactor.Plate
- Part118.Size = Vector3.new(12, 0.400000006, 14)
- Part118.CFrame = CFrame.new(162.399994, 23.7121944, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part118.BottomSurface = Enum.SurfaceType.Smooth
- Part118.TopSurface = Enum.SurfaceType.Smooth
- Part118.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part118.Position = Vector3.new(162.399994, 23.7121944, -146.599991)
- Part118.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh119.Parent = Part118
- Part120.Name = "Floor"
- Part120.Parent = Model117
- Part120.BrickColor = BrickColor.new("Brick yellow")
- Part120.Anchored = true
- Part120.CanCollide = false
- Part120.FormFactor = Enum.FormFactor.Plate
- Part120.Size = Vector3.new(6, 0.400000006, 1)
- Part120.CFrame = CFrame.new(164.399994, 24.1122017, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part120.BottomSurface = Enum.SurfaceType.Smooth
- Part120.TopSurface = Enum.SurfaceType.Smooth
- Part120.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part120.Position = Vector3.new(164.399994, 24.1122017, -140.099991)
- Part120.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh121.Parent = Part120
- BlockMesh121.Offset = Vector3.new(0, -0.400000006, 1)
- Model122.Name = "Items"
- Model122.Parent = Model97
- Model123.Name = "Furnish"
- Model123.Parent = Model122
- Model124.Name = "Bed"
- Model124.Parent = Model123
- Part125.Name = "Pole"
- Part125.Parent = Model124
- Part125.BrickColor = BrickColor.new("Mid gray")
- Part125.Reflectance = 0.15000000596046
- Part125.Anchored = true
- Part125.CanCollide = false
- Part125.FormFactor = Enum.FormFactor.Symmetric
- Part125.Size = Vector3.new(1, 5, 1)
- Part125.CFrame = CFrame.new(156.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part125.BottomSurface = Enum.SurfaceType.Smooth
- Part125.TopSurface = Enum.SurfaceType.Smooth
- Part125.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part125.Position = Vector3.new(156.899994, 26.4121971, -140.099991)
- Part125.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh126.Parent = Part125
- CylinderMesh126.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh126.Scale = Vector3.new(0.5, 1, 0.5)
- Part127.Name = "Pole"
- Part127.Parent = Model124
- Part127.BrickColor = BrickColor.new("Mid gray")
- Part127.Reflectance = 0.15000000596046
- Part127.Anchored = true
- Part127.CanCollide = false
- Part127.FormFactor = Enum.FormFactor.Symmetric
- Part127.Size = Vector3.new(1, 5, 1)
- Part127.CFrame = CFrame.new(156.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part127.BottomSurface = Enum.SurfaceType.Smooth
- Part127.TopSurface = Enum.SurfaceType.Smooth
- Part127.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part127.Position = Vector3.new(156.899994, 26.4121971, -147.099991)
- Part127.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh128.Parent = Part127
- CylinderMesh128.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh128.Scale = Vector3.new(0.5, 1, 0.5)
- Part129.Name = "Pole"
- Part129.Parent = Model124
- Part129.BrickColor = BrickColor.new("Mid gray")
- Part129.Reflectance = 0.15000000596046
- Part129.Anchored = true
- Part129.CanCollide = false
- Part129.FormFactor = Enum.FormFactor.Symmetric
- Part129.Size = Vector3.new(1, 5, 1)
- Part129.CFrame = CFrame.new(160.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part129.BottomSurface = Enum.SurfaceType.Smooth
- Part129.TopSurface = Enum.SurfaceType.Smooth
- Part129.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part129.Position = Vector3.new(160.899994, 26.4121971, -147.099991)
- Part129.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh130.Parent = Part129
- CylinderMesh130.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh130.Scale = Vector3.new(0.5, 1, 0.5)
- Part131.Name = "Pole"
- Part131.Parent = Model124
- Part131.BrickColor = BrickColor.new("Mid gray")
- Part131.Reflectance = 0.15000000596046
- Part131.Anchored = true
- Part131.CanCollide = false
- Part131.FormFactor = Enum.FormFactor.Symmetric
- Part131.Size = Vector3.new(1, 5, 1)
- Part131.CFrame = CFrame.new(160.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part131.BottomSurface = Enum.SurfaceType.Smooth
- Part131.TopSurface = Enum.SurfaceType.Smooth
- Part131.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part131.Position = Vector3.new(160.899994, 26.4121971, -140.099991)
- Part131.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh132.Parent = Part131
- CylinderMesh132.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh132.Scale = Vector3.new(0.5, 1, 0.5)
- Part133.Parent = Model124
- Part133.BrickColor = BrickColor.new("Institutional white")
- Part133.Rotation = Vector3.new(-180, 0, -180)
- Part133.Anchored = true
- Part133.FormFactor = Enum.FormFactor.Symmetric
- Part133.Size = Vector3.new(3, 1, 6)
- Part133.CFrame = CFrame.new(158.899994, 27.6122017, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part133.BottomSurface = Enum.SurfaceType.Smooth
- Part133.TopSurface = Enum.SurfaceType.Smooth
- Part133.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part133.Position = Vector3.new(158.899994, 27.6122017, -143.599991)
- Part133.Orientation = Vector3.new(0, 180, 0)
- Part133.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh134.Parent = Part133
- BlockMesh134.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh134.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part135.Parent = Model124
- Part135.BrickColor = BrickColor.new("Institutional white")
- Part135.Rotation = Vector3.new(-180, 0, -180)
- Part135.Anchored = true
- Part135.FormFactor = Enum.FormFactor.Symmetric
- Part135.Size = Vector3.new(3, 1, 6)
- Part135.CFrame = CFrame.new(158.899994, 24.4121971, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part135.BottomSurface = Enum.SurfaceType.Smooth
- Part135.TopSurface = Enum.SurfaceType.Smooth
- Part135.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part135.Position = Vector3.new(158.899994, 24.4121971, -143.599991)
- Part135.Orientation = Vector3.new(0, 180, 0)
- Part135.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh136.Parent = Part135
- BlockMesh136.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh136.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model137.Name = "Toilet"
- Model137.Parent = Model123
- Part138.Parent = Model137
- Part138.BrickColor = BrickColor.new("Mid gray")
- Part138.Rotation = Vector3.new(0, -90, 0)
- Part138.Anchored = true
- Part138.FormFactor = Enum.FormFactor.Symmetric
- Part138.Size = Vector3.new(2, 3, 1)
- Part138.CFrame = CFrame.new(156.899994, 26.4121971, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part138.BottomSurface = Enum.SurfaceType.Smooth
- Part138.TopSurface = Enum.SurfaceType.Smooth
- Part138.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part138.Position = Vector3.new(156.899994, 26.4121971, -150.599976)
- Part138.Orientation = Vector3.new(0, -90, 0)
- Part138.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh139.Parent = Part138
- BlockMesh139.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh139.Scale = Vector3.new(1.5, 1, 1)
- Part140.Parent = Model137
- Part140.BrickColor = BrickColor.new("Mid gray")
- Part140.Rotation = Vector3.new(0, -90, 0)
- Part140.Anchored = true
- Part140.FormFactor = Enum.FormFactor.Symmetric
- Part140.Size = Vector3.new(2, 1, 3)
- Part140.CFrame = CFrame.new(157.899994, 24.4121971, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part140.BottomSurface = Enum.SurfaceType.Smooth
- Part140.TopSurface = Enum.SurfaceType.Smooth
- Part140.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part140.Position = Vector3.new(157.899994, 24.4121971, -150.599976)
- Part140.Orientation = Vector3.new(0, -90, 0)
- Part140.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh141.Parent = Part140
- Part142.Parent = Model137
- Part142.BrickColor = BrickColor.new("Light stone grey")
- Part142.Rotation = Vector3.new(0, -90, 0)
- Part142.Anchored = true
- Part142.FormFactor = Enum.FormFactor.Plate
- Part142.Size = Vector3.new(2, 0.400000006, 2)
- Part142.CFrame = CFrame.new(158.399994, 25.1122017, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part142.BottomSurface = Enum.SurfaceType.Smooth
- Part142.TopSurface = Enum.SurfaceType.Smooth
- Part142.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part142.Position = Vector3.new(158.399994, 25.1122017, -150.599976)
- Part142.Orientation = Vector3.new(0, -90, 0)
- Part142.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh143.Parent = Part142
- SpecialMesh143.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh143.MeshType = Enum.MeshType.Sphere
- SpecialMesh143.Scale = Vector3.new(1.5, 2, 2)
- Part144.Name = "Pole"
- Part144.Parent = Model123
- Part144.BrickColor = BrickColor.new("Mid gray")
- Part144.Reflectance = 0.15000000596046
- Part144.Rotation = Vector3.new(0, 0, -90)
- Part144.Anchored = true
- Part144.CanCollide = false
- Part144.FormFactor = Enum.FormFactor.Symmetric
- Part144.Size = Vector3.new(1, 12, 1)
- Part144.CFrame = CFrame.new(162.399994, 27.4121971, -153.099976, 0, 1, -0, -1, 0, 0, 0, 0, 1)
- Part144.BottomSurface = Enum.SurfaceType.Smooth
- Part144.TopSurface = Enum.SurfaceType.Smooth
- Part144.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part144.Position = Vector3.new(162.399994, 27.4121971, -153.099976)
- Part144.Orientation = Vector3.new(0, 0, -90)
- Part144.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh145.Parent = Part144
- CylinderMesh145.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh145.Scale = Vector3.new(0.5, 1, 0.5)
- Model146.Name = "Functions"
- Model146.Parent = Model122
- Model147.Name = "Light"
- Model147.Parent = Model146
- Part148.Name = "Lightbulb"
- Part148.Parent = Model147
- Part148.Transparency = 0.5
- Part148.Rotation = Vector3.new(180, 90, 0)
- Part148.Anchored = true
- Part148.CanCollide = false
- Part148.FormFactor = Enum.FormFactor.Symmetric
- Part148.Size = Vector3.new(2, 1, 2)
- Part148.CFrame = CFrame.new(162.399994, 32.6122093, -146.599991, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part148.BackSurface = Enum.SurfaceType.Weld
- Part148.BottomSurface = Enum.SurfaceType.Weld
- Part148.FrontSurface = Enum.SurfaceType.Weld
- Part148.LeftSurface = Enum.SurfaceType.Weld
- Part148.RightSurface = Enum.SurfaceType.Weld
- Part148.TopSurface = Enum.SurfaceType.Weld
- Part148.Position = Vector3.new(162.399994, 32.6122093, -146.599991)
- Part148.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh149.Parent = Part148
- SpecialMesh149.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh149.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh149.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh149.MeshType = Enum.MeshType.FileMesh
- SpecialMesh149.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part150.Name = "Light"
- Part150.Parent = Model147
- Part150.BrickColor = BrickColor.new("Cool yellow")
- Part150.Transparency = 1
- Part150.Anchored = true
- Part150.CanCollide = false
- Part150.FormFactor = Enum.FormFactor.Symmetric
- Part150.Size = Vector3.new(2, 8, 2)
- Part150.CFrame = CFrame.new(162.399994, 28.1122017, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part150.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part150.Position = Vector3.new(162.399994, 28.1122017, -146.599991)
- Part150.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh151.Parent = Part150
- SpecialMesh151.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh151.Scale = Vector3.new(7, 13, 7)
- SpecialMesh151.MeshType = Enum.MeshType.FileMesh
- SpecialMesh151.Scale = Vector3.new(7, 13, 7)
- Script152.Name = "Function"
- Script152.Parent = Model147
- table.insert(cors,sandbox(Script152,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part153.Name = "LightSocket"
- Part153.Parent = Model147
- Part153.BrickColor = BrickColor.new("Dark stone grey")
- Part153.Anchored = true
- Part153.FormFactor = Enum.FormFactor.Symmetric
- Part153.Size = Vector3.new(2, 1, 2)
- Part153.CFrame = CFrame.new(162.399994, 32.6122093, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part153.BottomSurface = Enum.SurfaceType.Smooth
- Part153.TopSurface = Enum.SurfaceType.Smooth
- Part153.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part153.Position = Vector3.new(162.399994, 32.6122093, -146.599991)
- Part153.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh154.Parent = Part153
- CylinderMesh154.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh154.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh154.Scale = Vector3.new(1, 0.5, 1)
- Model155.Name = "Door"
- Model155.Parent = Model97
- Part156.Name = "Bar"
- Part156.Parent = Model155
- Part156.Reflectance = 0.15000000596046
- Part156.Anchored = true
- Part156.FormFactor = Enum.FormFactor.Symmetric
- Part156.Size = Vector3.new(1, 9, 1)
- Part156.CFrame = CFrame.new(166.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part156.BottomSurface = Enum.SurfaceType.Smooth
- Part156.TopSurface = Enum.SurfaceType.Smooth
- Part156.Position = Vector3.new(166.899994, 28.0121994, -139.100006)
- CylinderMesh157.Parent = Part156
- CylinderMesh157.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh157.Scale = Vector3.new(0.5, 1, 1)
- Part158.Name = "Bar"
- Part158.Parent = Model155
- Part158.Reflectance = 0.15000000596046
- Part158.Anchored = true
- Part158.FormFactor = Enum.FormFactor.Symmetric
- Part158.Size = Vector3.new(1, 9, 1)
- Part158.CFrame = CFrame.new(165.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part158.BottomSurface = Enum.SurfaceType.Smooth
- Part158.TopSurface = Enum.SurfaceType.Smooth
- Part158.Position = Vector3.new(165.899994, 28.0121994, -139.100006)
- CylinderMesh159.Parent = Part158
- CylinderMesh159.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh159.Scale = Vector3.new(0.5, 1, 1)
- Part160.Name = "Bar"
- Part160.Parent = Model155
- Part160.Reflectance = 0.15000000596046
- Part160.Anchored = true
- Part160.FormFactor = Enum.FormFactor.Symmetric
- Part160.Size = Vector3.new(1, 9, 1)
- Part160.CFrame = CFrame.new(164.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part160.BottomSurface = Enum.SurfaceType.Smooth
- Part160.TopSurface = Enum.SurfaceType.Smooth
- Part160.Position = Vector3.new(164.899994, 28.0121994, -139.100006)
- CylinderMesh161.Parent = Part160
- CylinderMesh161.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh161.Scale = Vector3.new(0.5, 1, 1)
- Part162.Name = "Bar"
- Part162.Parent = Model155
- Part162.Reflectance = 0.15000000596046
- Part162.Anchored = true
- Part162.FormFactor = Enum.FormFactor.Symmetric
- Part162.Size = Vector3.new(1, 9, 1)
- Part162.CFrame = CFrame.new(163.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part162.BottomSurface = Enum.SurfaceType.Smooth
- Part162.TopSurface = Enum.SurfaceType.Smooth
- Part162.Position = Vector3.new(163.899994, 28.0121994, -139.100006)
- CylinderMesh163.Parent = Part162
- CylinderMesh163.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh163.Scale = Vector3.new(0.5, 1, 1)
- Part164.Name = "Bar"
- Part164.Parent = Model155
- Part164.Reflectance = 0.15000000596046
- Part164.Anchored = true
- Part164.FormFactor = Enum.FormFactor.Symmetric
- Part164.Size = Vector3.new(1, 9, 1)
- Part164.CFrame = CFrame.new(162.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part164.BottomSurface = Enum.SurfaceType.Smooth
- Part164.TopSurface = Enum.SurfaceType.Smooth
- Part164.Position = Vector3.new(162.899994, 28.0121994, -139.100006)
- CylinderMesh165.Parent = Part164
- CylinderMesh165.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh165.Scale = Vector3.new(0.5, 1, 1)
- Part166.Name = "Bar"
- Part166.Parent = Model155
- Part166.Reflectance = 0.15000000596046
- Part166.Anchored = true
- Part166.FormFactor = Enum.FormFactor.Symmetric
- Part166.Size = Vector3.new(1, 9, 1)
- Part166.CFrame = CFrame.new(161.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part166.BottomSurface = Enum.SurfaceType.Smooth
- Part166.TopSurface = Enum.SurfaceType.Smooth
- Part166.Position = Vector3.new(161.899994, 28.0121994, -139.100006)
- CylinderMesh167.Parent = Part166
- CylinderMesh167.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh167.Scale = Vector3.new(0.5, 1, 1)
- Script168.Name = "Main"
- Script168.Parent = Model155
- table.insert(cors,sandbox(Script168,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part169.Name = "Button"
- Part169.Parent = Model155
- Part169.BrickColor = BrickColor.new("Really red")
- Part169.Reflectance = 0.20000000298023
- Part169.Transparency = 0.5
- Part169.Rotation = Vector3.new(90, 0, -180)
- Part169.Anchored = true
- Part169.FormFactor = Enum.FormFactor.Plate
- Part169.Size = Vector3.new(1, 0.400000006, 1)
- Part169.CFrame = CFrame.new(159.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part169.BottomSurface = Enum.SurfaceType.Smooth
- Part169.TopSurface = Enum.SurfaceType.Smooth
- Part169.Color = Color3.new(1, 0, 0)
- Part169.Position = Vector3.new(159.899994, 28.0121784, -138.399994)
- Part169.Orientation = Vector3.new(90, 180, 0)
- Part169.Color = Color3.new(1, 0, 0)
- BlockMesh170.Parent = Part169
- CylinderMesh171.Parent = Part169
- CylinderMesh171.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh171.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh171.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector172.Name = "Click"
- ClickDetector172.Parent = Part169
- Model173.Name = "PrisonCell"
- Model173.Parent = Model1
- Model174.Name = "Exterior"
- Model174.Parent = Model173
- Model175.Name = "Top"
- Model175.Parent = Model174
- Part176.Name = "Ceiling"
- Part176.Parent = Model175
- Part176.BrickColor = BrickColor.new("Brick yellow")
- Part176.Anchored = true
- Part176.FormFactor = Enum.FormFactor.Plate
- Part176.Size = Vector3.new(12, 0.400000006, 14)
- Part176.CFrame = CFrame.new(120.399994, 33.3122063, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part176.BottomSurface = Enum.SurfaceType.Smooth
- Part176.TopSurface = Enum.SurfaceType.Smooth
- Part176.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part176.Position = Vector3.new(120.399994, 33.3122063, -146.599991)
- Part176.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh177.Parent = Part176
- Part178.Name = "Top"
- Part178.Parent = Model175
- Part178.BrickColor = BrickColor.new("Dark stone grey")
- Part178.Anchored = true
- Part178.FormFactor = Enum.FormFactor.Symmetric
- Part178.Size = Vector3.new(14, 1, 16)
- Part178.CFrame = CFrame.new(120.399994, 34.012207, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part178.BottomSurface = Enum.SurfaceType.Smooth
- Part178.TopSurface = Enum.SurfaceType.Smooth
- Part178.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part178.Position = Vector3.new(120.399994, 34.012207, -146.599991)
- Part178.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh179.Parent = Part178
- Model180.Name = "Walls"
- Model180.Parent = Model174
- Part181.Parent = Model180
- Part181.BrickColor = BrickColor.new("Dark stone grey")
- Part181.Anchored = true
- Part181.FormFactor = Enum.FormFactor.Symmetric
- Part181.Size = Vector3.new(6, 1, 1)
- Part181.CFrame = CFrame.new(122.399994, 33.0122108, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part181.BottomSurface = Enum.SurfaceType.Smooth
- Part181.TopSurface = Enum.SurfaceType.Smooth
- Part181.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part181.Position = Vector3.new(122.399994, 33.0122108, -139.100006)
- Part181.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh182.Parent = Part181
- Part183.Parent = Model180
- Part183.BrickColor = BrickColor.new("Dark stone grey")
- Part183.Anchored = true
- Part183.FormFactor = Enum.FormFactor.Symmetric
- Part183.Size = Vector3.new(6, 10, 1)
- Part183.CFrame = CFrame.new(116.400002, 28.5121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part183.BottomSurface = Enum.SurfaceType.Smooth
- Part183.TopSurface = Enum.SurfaceType.Smooth
- Part183.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part183.Position = Vector3.new(116.400002, 28.5121994, -139.100006)
- Part183.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh184.Parent = Part183
- Part185.Parent = Model180
- Part185.BrickColor = BrickColor.new("Dark stone grey")
- Part185.Rotation = Vector3.new(-180, 0, -180)
- Part185.Anchored = true
- Part185.FormFactor = Enum.FormFactor.Symmetric
- Part185.Size = Vector3.new(1, 10, 14)
- Part185.CFrame = CFrame.new(113.900002, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part185.BottomSurface = Enum.SurfaceType.Smooth
- Part185.TopSurface = Enum.SurfaceType.Smooth
- Part185.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part185.Position = Vector3.new(113.900002, 28.5121994, -146.599991)
- Part185.Orientation = Vector3.new(0, 180, 0)
- Part185.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh186.Parent = Part185
- Part187.Parent = Model180
- Part187.BrickColor = BrickColor.new("Dark stone grey")
- Part187.Rotation = Vector3.new(0, -90, 0)
- Part187.Anchored = true
- Part187.FormFactor = Enum.FormFactor.Symmetric
- Part187.Size = Vector3.new(1, 10, 14)
- Part187.CFrame = CFrame.new(120.399994, 28.5121994, -154.099991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part187.BottomSurface = Enum.SurfaceType.Smooth
- Part187.TopSurface = Enum.SurfaceType.Smooth
- Part187.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part187.Position = Vector3.new(120.399994, 28.5121994, -154.099991)
- Part187.Orientation = Vector3.new(0, -90, 0)
- Part187.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh188.Parent = Part187
- Part189.Parent = Model180
- Part189.BrickColor = BrickColor.new("Dark stone grey")
- Part189.Rotation = Vector3.new(-180, 0, -180)
- Part189.Anchored = true
- Part189.FormFactor = Enum.FormFactor.Symmetric
- Part189.Size = Vector3.new(1, 10, 14)
- Part189.CFrame = CFrame.new(126.899971, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part189.BottomSurface = Enum.SurfaceType.Smooth
- Part189.TopSurface = Enum.SurfaceType.Smooth
- Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part189.Position = Vector3.new(126.899971, 28.5121994, -146.599991)
- Part189.Orientation = Vector3.new(0, 180, 0)
- Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh190.Parent = Part189
- Part191.Parent = Model180
- Part191.BrickColor = BrickColor.new("Dark stone grey")
- Part191.Rotation = Vector3.new(0, 90, 0)
- Part191.Anchored = true
- Part191.FormFactor = Enum.FormFactor.Symmetric
- Part191.Size = Vector3.new(1, 10, 2)
- Part191.CFrame = CFrame.new(126.399971, 28.5121994, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part191.BottomSurface = Enum.SurfaceType.Smooth
- Part191.TopSurface = Enum.SurfaceType.Smooth
- Part191.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part191.Position = Vector3.new(126.399971, 28.5121994, -139.100006)
- Part191.Orientation = Vector3.new(0, 90, 0)
- Part191.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh192.Parent = Part191
- Model193.Name = "Floor"
- Model193.Parent = Model174
- Part194.Name = "Floor"
- Part194.Parent = Model193
- Part194.BrickColor = BrickColor.new("Brick yellow")
- Part194.Anchored = true
- Part194.FormFactor = Enum.FormFactor.Plate
- Part194.Size = Vector3.new(12, 0.400000006, 14)
- Part194.CFrame = CFrame.new(120.399994, 23.7121944, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part194.BottomSurface = Enum.SurfaceType.Smooth
- Part194.TopSurface = Enum.SurfaceType.Smooth
- Part194.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part194.Position = Vector3.new(120.399994, 23.7121944, -146.599991)
- Part194.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh195.Parent = Part194
- Part196.Name = "Floor"
- Part196.Parent = Model193
- Part196.BrickColor = BrickColor.new("Brick yellow")
- Part196.Anchored = true
- Part196.CanCollide = false
- Part196.FormFactor = Enum.FormFactor.Plate
- Part196.Size = Vector3.new(6, 0.400000006, 1)
- Part196.CFrame = CFrame.new(122.399994, 24.1122017, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part196.BottomSurface = Enum.SurfaceType.Smooth
- Part196.TopSurface = Enum.SurfaceType.Smooth
- Part196.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part196.Position = Vector3.new(122.399994, 24.1122017, -140.100006)
- Part196.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh197.Parent = Part196
- BlockMesh197.Offset = Vector3.new(0, -0.400000006, 1)
- Model198.Name = "Items"
- Model198.Parent = Model173
- Model199.Name = "Furnish"
- Model199.Parent = Model198
- Model200.Name = "Bed"
- Model200.Parent = Model199
- Part201.Name = "Pole"
- Part201.Parent = Model200
- Part201.BrickColor = BrickColor.new("Mid gray")
- Part201.Reflectance = 0.15000000596046
- Part201.Anchored = true
- Part201.CanCollide = false
- Part201.FormFactor = Enum.FormFactor.Symmetric
- Part201.Size = Vector3.new(1, 5, 1)
- Part201.CFrame = CFrame.new(114.900002, 26.4121971, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part201.BottomSurface = Enum.SurfaceType.Smooth
- Part201.TopSurface = Enum.SurfaceType.Smooth
- Part201.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part201.Position = Vector3.new(114.900002, 26.4121971, -140.100006)
- Part201.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh202.Parent = Part201
- CylinderMesh202.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh202.Scale = Vector3.new(0.5, 1, 0.5)
- Part203.Name = "Pole"
- Part203.Parent = Model200
- Part203.BrickColor = BrickColor.new("Mid gray")
- Part203.Reflectance = 0.15000000596046
- Part203.Anchored = true
- Part203.CanCollide = false
- Part203.FormFactor = Enum.FormFactor.Symmetric
- Part203.Size = Vector3.new(1, 5, 1)
- Part203.CFrame = CFrame.new(114.900002, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part203.BottomSurface = Enum.SurfaceType.Smooth
- Part203.TopSurface = Enum.SurfaceType.Smooth
- Part203.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part203.Position = Vector3.new(114.900002, 26.4121971, -147.099991)
- Part203.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh204.Parent = Part203
- CylinderMesh204.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh204.Scale = Vector3.new(0.5, 1, 0.5)
- Part205.Name = "Pole"
- Part205.Parent = Model200
- Part205.BrickColor = BrickColor.new("Mid gray")
- Part205.Reflectance = 0.15000000596046
- Part205.Anchored = true
- Part205.CanCollide = false
- Part205.FormFactor = Enum.FormFactor.Symmetric
- Part205.Size = Vector3.new(1, 5, 1)
- Part205.CFrame = CFrame.new(118.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part205.BottomSurface = Enum.SurfaceType.Smooth
- Part205.TopSurface = Enum.SurfaceType.Smooth
- Part205.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part205.Position = Vector3.new(118.899994, 26.4121971, -147.099991)
- Part205.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh206.Parent = Part205
- CylinderMesh206.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh206.Scale = Vector3.new(0.5, 1, 0.5)
- Part207.Name = "Pole"
- Part207.Parent = Model200
- Part207.BrickColor = BrickColor.new("Mid gray")
- Part207.Reflectance = 0.15000000596046
- Part207.Anchored = true
- Part207.CanCollide = false
- Part207.FormFactor = Enum.FormFactor.Symmetric
- Part207.Size = Vector3.new(1, 5, 1)
- Part207.CFrame = CFrame.new(118.899994, 26.4121971, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part207.BottomSurface = Enum.SurfaceType.Smooth
- Part207.TopSurface = Enum.SurfaceType.Smooth
- Part207.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part207.Position = Vector3.new(118.899994, 26.4121971, -140.100006)
- Part207.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh208.Parent = Part207
- CylinderMesh208.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh208.Scale = Vector3.new(0.5, 1, 0.5)
- Part209.Parent = Model200
- Part209.BrickColor = BrickColor.new("Institutional white")
- Part209.Rotation = Vector3.new(-180, 0, -180)
- Part209.Anchored = true
- Part209.FormFactor = Enum.FormFactor.Symmetric
- Part209.Size = Vector3.new(3, 1, 6)
- Part209.CFrame = CFrame.new(116.899994, 27.6122017, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part209.BottomSurface = Enum.SurfaceType.Smooth
- Part209.TopSurface = Enum.SurfaceType.Smooth
- Part209.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part209.Position = Vector3.new(116.899994, 27.6122017, -143.599991)
- Part209.Orientation = Vector3.new(0, 180, 0)
- Part209.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh210.Parent = Part209
- BlockMesh210.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh210.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part211.Parent = Model200
- Part211.BrickColor = BrickColor.new("Institutional white")
- Part211.Rotation = Vector3.new(-180, 0, -180)
- Part211.Anchored = true
- Part211.FormFactor = Enum.FormFactor.Symmetric
- Part211.Size = Vector3.new(3, 1, 6)
- Part211.CFrame = CFrame.new(116.899994, 24.4121971, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part211.BottomSurface = Enum.SurfaceType.Smooth
- Part211.TopSurface = Enum.SurfaceType.Smooth
- Part211.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part211.Position = Vector3.new(116.899994, 24.4121971, -143.599991)
- Part211.Orientation = Vector3.new(0, 180, 0)
- Part211.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh212.Parent = Part211
- BlockMesh212.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh212.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model213.Name = "Toilet"
- Model213.Parent = Model199
- Part214.Parent = Model213
- Part214.BrickColor = BrickColor.new("Mid gray")
- Part214.Rotation = Vector3.new(0, -90, 0)
- Part214.Anchored = true
- Part214.FormFactor = Enum.FormFactor.Symmetric
- Part214.Size = Vector3.new(2, 3, 1)
- Part214.CFrame = CFrame.new(114.900002, 26.4121971, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part214.BottomSurface = Enum.SurfaceType.Smooth
- Part214.TopSurface = Enum.SurfaceType.Smooth
- Part214.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part214.Position = Vector3.new(114.900002, 26.4121971, -150.599976)
- Part214.Orientation = Vector3.new(0, -90, 0)
- Part214.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh215.Parent = Part214
- BlockMesh215.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh215.Scale = Vector3.new(1.5, 1, 1)
- Part216.Parent = Model213
- Part216.BrickColor = BrickColor.new("Mid gray")
- Part216.Rotation = Vector3.new(0, -90, 0)
- Part216.Anchored = true
- Part216.FormFactor = Enum.FormFactor.Symmetric
- Part216.Size = Vector3.new(2, 1, 3)
- Part216.CFrame = CFrame.new(115.900002, 24.4121971, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part216.BottomSurface = Enum.SurfaceType.Smooth
- Part216.TopSurface = Enum.SurfaceType.Smooth
- Part216.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part216.Position = Vector3.new(115.900002, 24.4121971, -150.599976)
- Part216.Orientation = Vector3.new(0, -90, 0)
- Part216.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh217.Parent = Part216
- Part218.Parent = Model213
- Part218.BrickColor = BrickColor.new("Light stone grey")
- Part218.Rotation = Vector3.new(0, -90, 0)
- Part218.Anchored = true
- Part218.FormFactor = Enum.FormFactor.Plate
- Part218.Size = Vector3.new(2, 0.400000006, 2)
- Part218.CFrame = CFrame.new(116.400002, 25.1122017, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part218.BottomSurface = Enum.SurfaceType.Smooth
- Part218.TopSurface = Enum.SurfaceType.Smooth
- Part218.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part218.Position = Vector3.new(116.400002, 25.1122017, -150.599976)
- Part218.Orientation = Vector3.new(0, -90, 0)
- Part218.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh219.Parent = Part218
- SpecialMesh219.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh219.MeshType = Enum.MeshType.Sphere
- SpecialMesh219.Scale = Vector3.new(1.5, 2, 2)
- Part220.Name = "Pole"
- Part220.Parent = Model199
- Part220.BrickColor = BrickColor.new("Mid gray")
- Part220.Reflectance = 0.15000000596046
- Part220.Rotation = Vector3.new(0, 0, -90)
- Part220.Anchored = true
- Part220.CanCollide = false
- Part220.FormFactor = Enum.FormFactor.Symmetric
- Part220.Size = Vector3.new(1, 12, 1)
- Part220.CFrame = CFrame.new(120.399994, 27.4121971, -153.099991, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part220.BottomSurface = Enum.SurfaceType.Smooth
- Part220.TopSurface = Enum.SurfaceType.Smooth
- Part220.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part220.Position = Vector3.new(120.399994, 27.4121971, -153.099991)
- Part220.Orientation = Vector3.new(0, 0, -90)
- Part220.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh221.Parent = Part220
- CylinderMesh221.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh221.Scale = Vector3.new(0.5, 1, 0.5)
- Model222.Name = "Functions"
- Model222.Parent = Model198
- Model223.Name = "Light"
- Model223.Parent = Model222
- Part224.Name = "Lightbulb"
- Part224.Parent = Model223
- Part224.Transparency = 0.5
- Part224.Rotation = Vector3.new(180, 90, 0)
- Part224.Anchored = true
- Part224.CanCollide = false
- Part224.FormFactor = Enum.FormFactor.Symmetric
- Part224.Size = Vector3.new(2, 1, 2)
- Part224.CFrame = CFrame.new(120.399994, 32.6122093, -146.599991, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part224.BackSurface = Enum.SurfaceType.Weld
- Part224.BottomSurface = Enum.SurfaceType.Weld
- Part224.FrontSurface = Enum.SurfaceType.Weld
- Part224.LeftSurface = Enum.SurfaceType.Weld
- Part224.RightSurface = Enum.SurfaceType.Weld
- Part224.TopSurface = Enum.SurfaceType.Weld
- Part224.Position = Vector3.new(120.399994, 32.6122093, -146.599991)
- Part224.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh225.Parent = Part224
- SpecialMesh225.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh225.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh225.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh225.MeshType = Enum.MeshType.FileMesh
- SpecialMesh225.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part226.Name = "Light"
- Part226.Parent = Model223
- Part226.BrickColor = BrickColor.new("Cool yellow")
- Part226.Transparency = 1
- Part226.Anchored = true
- Part226.CanCollide = false
- Part226.FormFactor = Enum.FormFactor.Symmetric
- Part226.Size = Vector3.new(2, 8, 2)
- Part226.CFrame = CFrame.new(120.399994, 28.1122017, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part226.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part226.Position = Vector3.new(120.399994, 28.1122017, -146.599991)
- Part226.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh227.Parent = Part226
- SpecialMesh227.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh227.Scale = Vector3.new(7, 13, 7)
- SpecialMesh227.MeshType = Enum.MeshType.FileMesh
- SpecialMesh227.Scale = Vector3.new(7, 13, 7)
- Script228.Name = "Function"
- Script228.Parent = Model223
- table.insert(cors,sandbox(Script228,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part229.Name = "LightSocket"
- Part229.Parent = Model223
- Part229.BrickColor = BrickColor.new("Dark stone grey")
- Part229.Anchored = true
- Part229.FormFactor = Enum.FormFactor.Symmetric
- Part229.Size = Vector3.new(2, 1, 2)
- Part229.CFrame = CFrame.new(120.399994, 32.6122093, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part229.BottomSurface = Enum.SurfaceType.Smooth
- Part229.TopSurface = Enum.SurfaceType.Smooth
- Part229.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part229.Position = Vector3.new(120.399994, 32.6122093, -146.599991)
- Part229.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh230.Parent = Part229
- CylinderMesh230.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh230.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh230.Scale = Vector3.new(1, 0.5, 1)
- Model231.Name = "Door"
- Model231.Parent = Model173
- Part232.Name = "Bar"
- Part232.Parent = Model231
- Part232.Reflectance = 0.15000000596046
- Part232.Anchored = true
- Part232.FormFactor = Enum.FormFactor.Symmetric
- Part232.Size = Vector3.new(1, 9, 1)
- Part232.CFrame = CFrame.new(124.899979, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part232.BottomSurface = Enum.SurfaceType.Smooth
- Part232.TopSurface = Enum.SurfaceType.Smooth
- Part232.Position = Vector3.new(124.899979, 28.0121994, -139.100006)
- CylinderMesh233.Parent = Part232
- CylinderMesh233.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh233.Scale = Vector3.new(0.5, 1, 1)
- Part234.Name = "Bar"
- Part234.Parent = Model231
- Part234.Reflectance = 0.15000000596046
- Part234.Anchored = true
- Part234.FormFactor = Enum.FormFactor.Symmetric
- Part234.Size = Vector3.new(1, 9, 1)
- Part234.CFrame = CFrame.new(123.899979, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part234.BottomSurface = Enum.SurfaceType.Smooth
- Part234.TopSurface = Enum.SurfaceType.Smooth
- Part234.Position = Vector3.new(123.899979, 28.0121994, -139.100006)
- CylinderMesh235.Parent = Part234
- CylinderMesh235.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh235.Scale = Vector3.new(0.5, 1, 1)
- Part236.Name = "Bar"
- Part236.Parent = Model231
- Part236.Reflectance = 0.15000000596046
- Part236.Anchored = true
- Part236.FormFactor = Enum.FormFactor.Symmetric
- Part236.Size = Vector3.new(1, 9, 1)
- Part236.CFrame = CFrame.new(122.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part236.BottomSurface = Enum.SurfaceType.Smooth
- Part236.TopSurface = Enum.SurfaceType.Smooth
- Part236.Position = Vector3.new(122.899994, 28.0121994, -139.100006)
- CylinderMesh237.Parent = Part236
- CylinderMesh237.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh237.Scale = Vector3.new(0.5, 1, 1)
- Part238.Name = "Bar"
- Part238.Parent = Model231
- Part238.Reflectance = 0.15000000596046
- Part238.Anchored = true
- Part238.FormFactor = Enum.FormFactor.Symmetric
- Part238.Size = Vector3.new(1, 9, 1)
- Part238.CFrame = CFrame.new(121.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part238.BottomSurface = Enum.SurfaceType.Smooth
- Part238.TopSurface = Enum.SurfaceType.Smooth
- Part238.Position = Vector3.new(121.899994, 28.0121994, -139.100006)
- CylinderMesh239.Parent = Part238
- CylinderMesh239.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh239.Scale = Vector3.new(0.5, 1, 1)
- Part240.Name = "Bar"
- Part240.Parent = Model231
- Part240.Reflectance = 0.15000000596046
- Part240.Anchored = true
- Part240.FormFactor = Enum.FormFactor.Symmetric
- Part240.Size = Vector3.new(1, 9, 1)
- Part240.CFrame = CFrame.new(120.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part240.BottomSurface = Enum.SurfaceType.Smooth
- Part240.TopSurface = Enum.SurfaceType.Smooth
- Part240.Position = Vector3.new(120.899994, 28.0121994, -139.100006)
- CylinderMesh241.Parent = Part240
- CylinderMesh241.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh241.Scale = Vector3.new(0.5, 1, 1)
- Part242.Name = "Bar"
- Part242.Parent = Model231
- Part242.Reflectance = 0.15000000596046
- Part242.Anchored = true
- Part242.FormFactor = Enum.FormFactor.Symmetric
- Part242.Size = Vector3.new(1, 9, 1)
- Part242.CFrame = CFrame.new(119.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part242.BottomSurface = Enum.SurfaceType.Smooth
- Part242.TopSurface = Enum.SurfaceType.Smooth
- Part242.Position = Vector3.new(119.899994, 28.0121994, -139.100006)
- CylinderMesh243.Parent = Part242
- CylinderMesh243.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh243.Scale = Vector3.new(0.5, 1, 1)
- Script244.Name = "Main"
- Script244.Parent = Model231
- table.insert(cors,sandbox(Script244,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part245.Name = "Button"
- Part245.Parent = Model231
- Part245.BrickColor = BrickColor.new("Really red")
- Part245.Reflectance = 0.20000000298023
- Part245.Transparency = 0.5
- Part245.Rotation = Vector3.new(90, 0, -180)
- Part245.Anchored = true
- Part245.FormFactor = Enum.FormFactor.Plate
- Part245.Size = Vector3.new(1, 0.400000006, 1)
- Part245.CFrame = CFrame.new(117.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part245.BottomSurface = Enum.SurfaceType.Smooth
- Part245.TopSurface = Enum.SurfaceType.Smooth
- Part245.Color = Color3.new(1, 0, 0)
- Part245.Position = Vector3.new(117.899994, 28.0121784, -138.399994)
- Part245.Orientation = Vector3.new(90, 180, 0)
- Part245.Color = Color3.new(1, 0, 0)
- BlockMesh246.Parent = Part245
- CylinderMesh247.Parent = Part245
- CylinderMesh247.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh247.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh247.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector248.Name = "Click"
- ClickDetector248.Parent = Part245
- Model249.Parent = Model1
- Model250.Name = "PrisonCell"
- Model250.Parent = Model249
- Model251.Name = "Exterior"
- Model251.Parent = Model250
- Model252.Name = "Top"
- Model252.Parent = Model251
- Part253.Name = "Ceiling"
- Part253.Parent = Model252
- Part253.BrickColor = BrickColor.new("Brick yellow")
- Part253.Anchored = true
- Part253.FormFactor = Enum.FormFactor.Plate
- Part253.Size = Vector3.new(12, 0.400000006, 14)
- Part253.CFrame = CFrame.new(120.399986, 19.512167, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part253.BottomSurface = Enum.SurfaceType.Smooth
- Part253.TopSurface = Enum.SurfaceType.Smooth
- Part253.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part253.Position = Vector3.new(120.399986, 19.512167, -146.600006)
- Part253.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh254.Parent = Part253
- Part255.Name = "Top"
- Part255.Parent = Model252
- Part255.BrickColor = BrickColor.new("Dark stone grey")
- Part255.Anchored = true
- Part255.FormFactor = Enum.FormFactor.Symmetric
- Part255.Size = Vector3.new(14, 1, 16)
- Part255.CFrame = CFrame.new(120.399986, 20.2121506, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part255.BottomSurface = Enum.SurfaceType.Smooth
- Part255.TopSurface = Enum.SurfaceType.Smooth
- Part255.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part255.Position = Vector3.new(120.399986, 20.2121506, -146.600006)
- Part255.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh256.Parent = Part255
- Model257.Name = "Walls"
- Model257.Parent = Model251
- Part258.Parent = Model257
- Part258.BrickColor = BrickColor.new("Dark stone grey")
- Part258.Anchored = true
- Part258.FormFactor = Enum.FormFactor.Symmetric
- Part258.Size = Vector3.new(6, 1, 1)
- Part258.CFrame = CFrame.new(122.399986, 19.2121429, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part258.BottomSurface = Enum.SurfaceType.Smooth
- Part258.TopSurface = Enum.SurfaceType.Smooth
- Part258.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part258.Position = Vector3.new(122.399986, 19.2121429, -139.100006)
- Part258.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh259.Parent = Part258
- Part260.Parent = Model257
- Part260.BrickColor = BrickColor.new("Dark stone grey")
- Part260.Anchored = true
- Part260.FormFactor = Enum.FormFactor.Symmetric
- Part260.Size = Vector3.new(6, 10, 1)
- Part260.CFrame = CFrame.new(116.399994, 14.7121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part260.BottomSurface = Enum.SurfaceType.Smooth
- Part260.TopSurface = Enum.SurfaceType.Smooth
- Part260.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part260.Position = Vector3.new(116.399994, 14.7121191, -139.100006)
- Part260.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh261.Parent = Part260
- Part262.Parent = Model257
- Part262.BrickColor = BrickColor.new("Dark stone grey")
- Part262.Rotation = Vector3.new(-180, 0, -180)
- Part262.Anchored = true
- Part262.FormFactor = Enum.FormFactor.Symmetric
- Part262.Size = Vector3.new(1, 10, 14)
- Part262.CFrame = CFrame.new(113.899986, 14.7121191, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part262.BottomSurface = Enum.SurfaceType.Smooth
- Part262.TopSurface = Enum.SurfaceType.Smooth
- Part262.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part262.Position = Vector3.new(113.899986, 14.7121191, -146.600006)
- Part262.Orientation = Vector3.new(0, 180, 0)
- Part262.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh263.Parent = Part262
- Part264.Parent = Model257
- Part264.BrickColor = BrickColor.new("Dark stone grey")
- Part264.Rotation = Vector3.new(0, -90, 0)
- Part264.Anchored = true
- Part264.FormFactor = Enum.FormFactor.Symmetric
- Part264.Size = Vector3.new(1, 10, 14)
- Part264.CFrame = CFrame.new(120.399986, 14.7121191, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part264.BottomSurface = Enum.SurfaceType.Smooth
- Part264.TopSurface = Enum.SurfaceType.Smooth
- Part264.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part264.Position = Vector3.new(120.399986, 14.7121191, -154.099976)
- Part264.Orientation = Vector3.new(0, -90, 0)
- Part264.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh265.Parent = Part264
- Part266.Parent = Model257
- Part266.BrickColor = BrickColor.new("Dark stone grey")
- Part266.Rotation = Vector3.new(-180, 0, -180)
- Part266.Anchored = true
- Part266.FormFactor = Enum.FormFactor.Symmetric
- Part266.Size = Vector3.new(1, 10, 14)
- Part266.CFrame = CFrame.new(126.899979, 14.7121191, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part266.BottomSurface = Enum.SurfaceType.Smooth
- Part266.TopSurface = Enum.SurfaceType.Smooth
- Part266.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part266.Position = Vector3.new(126.899979, 14.7121191, -146.600006)
- Part266.Orientation = Vector3.new(0, 180, 0)
- Part266.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh267.Parent = Part266
- Part268.Parent = Model257
- Part268.BrickColor = BrickColor.new("Dark stone grey")
- Part268.Rotation = Vector3.new(0, 90, 0)
- Part268.Anchored = true
- Part268.FormFactor = Enum.FormFactor.Symmetric
- Part268.Size = Vector3.new(1, 10, 2)
- Part268.CFrame = CFrame.new(126.399979, 14.7121191, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part268.BottomSurface = Enum.SurfaceType.Smooth
- Part268.TopSurface = Enum.SurfaceType.Smooth
- Part268.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part268.Position = Vector3.new(126.399979, 14.7121191, -139.100006)
- Part268.Orientation = Vector3.new(0, 90, 0)
- Part268.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh269.Parent = Part268
- Model270.Name = "Floor"
- Model270.Parent = Model251
- Part271.Name = "Floor"
- Part271.Parent = Model270
- Part271.BrickColor = BrickColor.new("Brick yellow")
- Part271.Anchored = true
- Part271.FormFactor = Enum.FormFactor.Plate
- Part271.Size = Vector3.new(12, 0.400000006, 14)
- Part271.CFrame = CFrame.new(120.399986, 9.91214752, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part271.BottomSurface = Enum.SurfaceType.Smooth
- Part271.TopSurface = Enum.SurfaceType.Smooth
- Part271.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part271.Position = Vector3.new(120.399986, 9.91214752, -146.600006)
- Part271.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh272.Parent = Part271
- Part273.Name = "Floor"
- Part273.Parent = Model270
- Part273.BrickColor = BrickColor.new("Brick yellow")
- Part273.Anchored = true
- Part273.CanCollide = false
- Part273.FormFactor = Enum.FormFactor.Plate
- Part273.Size = Vector3.new(6, 0.400000006, 1)
- Part273.CFrame = CFrame.new(122.399986, 10.3121395, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part273.BottomSurface = Enum.SurfaceType.Smooth
- Part273.TopSurface = Enum.SurfaceType.Smooth
- Part273.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part273.Position = Vector3.new(122.399986, 10.3121395, -140.100006)
- Part273.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh274.Parent = Part273
- BlockMesh274.Offset = Vector3.new(0, -0.400000006, 1)
- Model275.Name = "Items"
- Model275.Parent = Model250
- Model276.Name = "Furnish"
- Model276.Parent = Model275
- Model277.Name = "Bed"
- Model277.Parent = Model276
- Part278.Name = "Pole"
- Part278.Parent = Model277
- Part278.BrickColor = BrickColor.new("Mid gray")
- Part278.Reflectance = 0.15000000596046
- Part278.Anchored = true
- Part278.CanCollide = false
- Part278.FormFactor = Enum.FormFactor.Symmetric
- Part278.Size = Vector3.new(1, 5, 1)
- Part278.CFrame = CFrame.new(114.899994, 12.6121292, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part278.BottomSurface = Enum.SurfaceType.Smooth
- Part278.TopSurface = Enum.SurfaceType.Smooth
- Part278.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part278.Position = Vector3.new(114.899994, 12.6121292, -140.100006)
- Part278.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh279.Parent = Part278
- CylinderMesh279.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh279.Scale = Vector3.new(0.5, 1, 0.5)
- Part280.Name = "Pole"
- Part280.Parent = Model277
- Part280.BrickColor = BrickColor.new("Mid gray")
- Part280.Reflectance = 0.15000000596046
- Part280.Anchored = true
- Part280.CanCollide = false
- Part280.FormFactor = Enum.FormFactor.Symmetric
- Part280.Size = Vector3.new(1, 5, 1)
- Part280.CFrame = CFrame.new(114.899994, 12.6121292, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part280.BottomSurface = Enum.SurfaceType.Smooth
- Part280.TopSurface = Enum.SurfaceType.Smooth
- Part280.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part280.Position = Vector3.new(114.899994, 12.6121292, -147.100006)
- Part280.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh281.Parent = Part280
- CylinderMesh281.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh281.Scale = Vector3.new(0.5, 1, 0.5)
- Part282.Name = "Pole"
- Part282.Parent = Model277
- Part282.BrickColor = BrickColor.new("Mid gray")
- Part282.Reflectance = 0.15000000596046
- Part282.Anchored = true
- Part282.CanCollide = false
- Part282.FormFactor = Enum.FormFactor.Symmetric
- Part282.Size = Vector3.new(1, 5, 1)
- Part282.CFrame = CFrame.new(118.899986, 12.6121292, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part282.BottomSurface = Enum.SurfaceType.Smooth
- Part282.TopSurface = Enum.SurfaceType.Smooth
- Part282.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part282.Position = Vector3.new(118.899986, 12.6121292, -147.100006)
- Part282.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh283.Parent = Part282
- CylinderMesh283.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh283.Scale = Vector3.new(0.5, 1, 0.5)
- Part284.Name = "Pole"
- Part284.Parent = Model277
- Part284.BrickColor = BrickColor.new("Mid gray")
- Part284.Reflectance = 0.15000000596046
- Part284.Anchored = true
- Part284.CanCollide = false
- Part284.FormFactor = Enum.FormFactor.Symmetric
- Part284.Size = Vector3.new(1, 5, 1)
- Part284.CFrame = CFrame.new(118.899986, 12.6121292, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part284.BottomSurface = Enum.SurfaceType.Smooth
- Part284.TopSurface = Enum.SurfaceType.Smooth
- Part284.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part284.Position = Vector3.new(118.899986, 12.6121292, -140.100006)
- Part284.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh285.Parent = Part284
- CylinderMesh285.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh285.Scale = Vector3.new(0.5, 1, 0.5)
- Part286.Parent = Model277
- Part286.BrickColor = BrickColor.new("Institutional white")
- Part286.Rotation = Vector3.new(-180, 0, -180)
- Part286.Anchored = true
- Part286.FormFactor = Enum.FormFactor.Symmetric
- Part286.Size = Vector3.new(3, 1, 6)
- Part286.CFrame = CFrame.new(116.899986, 13.8121252, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part286.BottomSurface = Enum.SurfaceType.Smooth
- Part286.TopSurface = Enum.SurfaceType.Smooth
- Part286.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part286.Position = Vector3.new(116.899986, 13.8121252, -143.600006)
- Part286.Orientation = Vector3.new(0, 180, 0)
- Part286.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh287.Parent = Part286
- BlockMesh287.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh287.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part288.Parent = Model277
- Part288.BrickColor = BrickColor.new("Institutional white")
- Part288.Rotation = Vector3.new(-180, 0, -180)
- Part288.Anchored = true
- Part288.FormFactor = Enum.FormFactor.Symmetric
- Part288.Size = Vector3.new(3, 1, 6)
- Part288.CFrame = CFrame.new(116.899986, 10.6121435, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part288.BottomSurface = Enum.SurfaceType.Smooth
- Part288.TopSurface = Enum.SurfaceType.Smooth
- Part288.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part288.Position = Vector3.new(116.899986, 10.6121435, -143.600006)
- Part288.Orientation = Vector3.new(0, 180, 0)
- Part288.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh289.Parent = Part288
- BlockMesh289.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh289.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model290.Name = "Toilet"
- Model290.Parent = Model276
- Part291.Parent = Model290
- Part291.BrickColor = BrickColor.new("Mid gray")
- Part291.Rotation = Vector3.new(0, -90, 0)
- Part291.Anchored = true
- Part291.FormFactor = Enum.FormFactor.Symmetric
- Part291.Size = Vector3.new(2, 3, 1)
- Part291.CFrame = CFrame.new(114.899994, 12.6121292, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part291.BottomSurface = Enum.SurfaceType.Smooth
- Part291.TopSurface = Enum.SurfaceType.Smooth
- Part291.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part291.Position = Vector3.new(114.899994, 12.6121292, -150.599976)
- Part291.Orientation = Vector3.new(0, -90, 0)
- Part291.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh292.Parent = Part291
- BlockMesh292.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh292.Scale = Vector3.new(1.5, 1, 1)
- Part293.Parent = Model290
- Part293.BrickColor = BrickColor.new("Mid gray")
- Part293.Rotation = Vector3.new(0, -90, 0)
- Part293.Anchored = true
- Part293.FormFactor = Enum.FormFactor.Symmetric
- Part293.Size = Vector3.new(2, 1, 3)
- Part293.CFrame = CFrame.new(115.899994, 10.6121435, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part293.BottomSurface = Enum.SurfaceType.Smooth
- Part293.TopSurface = Enum.SurfaceType.Smooth
- Part293.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part293.Position = Vector3.new(115.899994, 10.6121435, -150.599976)
- Part293.Orientation = Vector3.new(0, -90, 0)
- Part293.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh294.Parent = Part293
- Part295.Parent = Model290
- Part295.BrickColor = BrickColor.new("Light stone grey")
- Part295.Rotation = Vector3.new(0, -90, 0)
- Part295.Anchored = true
- Part295.FormFactor = Enum.FormFactor.Plate
- Part295.Size = Vector3.new(2, 0.400000006, 2)
- Part295.CFrame = CFrame.new(116.399994, 11.3121252, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part295.BottomSurface = Enum.SurfaceType.Smooth
- Part295.TopSurface = Enum.SurfaceType.Smooth
- Part295.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part295.Position = Vector3.new(116.399994, 11.3121252, -150.599976)
- Part295.Orientation = Vector3.new(0, -90, 0)
- Part295.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh296.Parent = Part295
- SpecialMesh296.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh296.MeshType = Enum.MeshType.Sphere
- SpecialMesh296.Scale = Vector3.new(1.5, 2, 2)
- Part297.Name = "Pole"
- Part297.Parent = Model276
- Part297.BrickColor = BrickColor.new("Mid gray")
- Part297.Reflectance = 0.15000000596046
- Part297.Rotation = Vector3.new(0, 0, -90)
- Part297.Anchored = true
- Part297.CanCollide = false
- Part297.FormFactor = Enum.FormFactor.Symmetric
- Part297.Size = Vector3.new(1, 12, 1)
- Part297.CFrame = CFrame.new(120.399986, 13.6121292, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part297.BottomSurface = Enum.SurfaceType.Smooth
- Part297.TopSurface = Enum.SurfaceType.Smooth
- Part297.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part297.Position = Vector3.new(120.399986, 13.6121292, -153.099976)
- Part297.Orientation = Vector3.new(0, 0, -90)
- Part297.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh298.Parent = Part297
- CylinderMesh298.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh298.Scale = Vector3.new(0.5, 1, 0.5)
- Model299.Name = "Functions"
- Model299.Parent = Model275
- Model300.Name = "Light"
- Model300.Parent = Model299
- Part301.Name = "Lightbulb"
- Part301.Parent = Model300
- Part301.Transparency = 0.5
- Part301.Rotation = Vector3.new(180, 90, 0)
- Part301.Anchored = true
- Part301.CanCollide = false
- Part301.FormFactor = Enum.FormFactor.Symmetric
- Part301.Size = Vector3.new(2, 1, 2)
- Part301.CFrame = CFrame.new(120.399986, 18.8121414, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part301.BackSurface = Enum.SurfaceType.Weld
- Part301.BottomSurface = Enum.SurfaceType.Weld
- Part301.FrontSurface = Enum.SurfaceType.Weld
- Part301.LeftSurface = Enum.SurfaceType.Weld
- Part301.RightSurface = Enum.SurfaceType.Weld
- Part301.TopSurface = Enum.SurfaceType.Weld
- Part301.Position = Vector3.new(120.399986, 18.8121414, -146.600006)
- Part301.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh302.Parent = Part301
- SpecialMesh302.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh302.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh302.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh302.MeshType = Enum.MeshType.FileMesh
- SpecialMesh302.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part303.Name = "Light"
- Part303.Parent = Model300
- Part303.BrickColor = BrickColor.new("Cool yellow")
- Part303.Transparency = 1
- Part303.Anchored = true
- Part303.CanCollide = false
- Part303.FormFactor = Enum.FormFactor.Symmetric
- Part303.Size = Vector3.new(2, 8, 2)
- Part303.CFrame = CFrame.new(120.399986, 14.3121176, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part303.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part303.Position = Vector3.new(120.399986, 14.3121176, -146.600006)
- Part303.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh304.Parent = Part303
- SpecialMesh304.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh304.Scale = Vector3.new(7, 13, 7)
- SpecialMesh304.MeshType = Enum.MeshType.FileMesh
- SpecialMesh304.Scale = Vector3.new(7, 13, 7)
- Script305.Name = "Function"
- Script305.Parent = Model300
- table.insert(cors,sandbox(Script305,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part306.Name = "LightSocket"
- Part306.Parent = Model300
- Part306.BrickColor = BrickColor.new("Dark stone grey")
- Part306.Anchored = true
- Part306.FormFactor = Enum.FormFactor.Symmetric
- Part306.Size = Vector3.new(2, 1, 2)
- Part306.CFrame = CFrame.new(120.399986, 18.8121414, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part306.BottomSurface = Enum.SurfaceType.Smooth
- Part306.TopSurface = Enum.SurfaceType.Smooth
- Part306.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part306.Position = Vector3.new(120.399986, 18.8121414, -146.600006)
- Part306.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh307.Parent = Part306
- CylinderMesh307.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh307.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh307.Scale = Vector3.new(1, 0.5, 1)
- Model308.Name = "Door"
- Model308.Parent = Model250
- Part309.Name = "Bar"
- Part309.Parent = Model308
- Part309.Reflectance = 0.15000000596046
- Part309.Anchored = true
- Part309.FormFactor = Enum.FormFactor.Symmetric
- Part309.Size = Vector3.new(1, 9, 1)
- Part309.CFrame = CFrame.new(124.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part309.BottomSurface = Enum.SurfaceType.Smooth
- Part309.TopSurface = Enum.SurfaceType.Smooth
- Part309.Position = Vector3.new(124.899986, 14.2121191, -139.100006)
- CylinderMesh310.Parent = Part309
- CylinderMesh310.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh310.Scale = Vector3.new(0.5, 1, 1)
- Part311.Name = "Bar"
- Part311.Parent = Model308
- Part311.Reflectance = 0.15000000596046
- Part311.Anchored = true
- Part311.FormFactor = Enum.FormFactor.Symmetric
- Part311.Size = Vector3.new(1, 9, 1)
- Part311.CFrame = CFrame.new(123.899971, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part311.BottomSurface = Enum.SurfaceType.Smooth
- Part311.TopSurface = Enum.SurfaceType.Smooth
- Part311.Position = Vector3.new(123.899971, 14.2121191, -139.100006)
- CylinderMesh312.Parent = Part311
- CylinderMesh312.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh312.Scale = Vector3.new(0.5, 1, 1)
- Part313.Name = "Bar"
- Part313.Parent = Model308
- Part313.Reflectance = 0.15000000596046
- Part313.Anchored = true
- Part313.FormFactor = Enum.FormFactor.Symmetric
- Part313.Size = Vector3.new(1, 9, 1)
- Part313.CFrame = CFrame.new(122.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part313.BottomSurface = Enum.SurfaceType.Smooth
- Part313.TopSurface = Enum.SurfaceType.Smooth
- Part313.Position = Vector3.new(122.899986, 14.2121191, -139.100006)
- CylinderMesh314.Parent = Part313
- CylinderMesh314.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh314.Scale = Vector3.new(0.5, 1, 1)
- Part315.Name = "Bar"
- Part315.Parent = Model308
- Part315.Reflectance = 0.15000000596046
- Part315.Anchored = true
- Part315.FormFactor = Enum.FormFactor.Symmetric
- Part315.Size = Vector3.new(1, 9, 1)
- Part315.CFrame = CFrame.new(121.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part315.BottomSurface = Enum.SurfaceType.Smooth
- Part315.TopSurface = Enum.SurfaceType.Smooth
- Part315.Position = Vector3.new(121.899986, 14.2121191, -139.100006)
- CylinderMesh316.Parent = Part315
- CylinderMesh316.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh316.Scale = Vector3.new(0.5, 1, 1)
- Part317.Name = "Bar"
- Part317.Parent = Model308
- Part317.Reflectance = 0.15000000596046
- Part317.Anchored = true
- Part317.FormFactor = Enum.FormFactor.Symmetric
- Part317.Size = Vector3.new(1, 9, 1)
- Part317.CFrame = CFrame.new(120.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part317.BottomSurface = Enum.SurfaceType.Smooth
- Part317.TopSurface = Enum.SurfaceType.Smooth
- Part317.Position = Vector3.new(120.899986, 14.2121191, -139.100006)
- CylinderMesh318.Parent = Part317
- CylinderMesh318.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh318.Scale = Vector3.new(0.5, 1, 1)
- Part319.Name = "Bar"
- Part319.Parent = Model308
- Part319.Reflectance = 0.15000000596046
- Part319.Anchored = true
- Part319.FormFactor = Enum.FormFactor.Symmetric
- Part319.Size = Vector3.new(1, 9, 1)
- Part319.CFrame = CFrame.new(119.899986, 14.2121191, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part319.BottomSurface = Enum.SurfaceType.Smooth
- Part319.TopSurface = Enum.SurfaceType.Smooth
- Part319.Position = Vector3.new(119.899986, 14.2121191, -139.100006)
- CylinderMesh320.Parent = Part319
- CylinderMesh320.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh320.Scale = Vector3.new(0.5, 1, 1)
- Script321.Name = "Main"
- Script321.Parent = Model308
- table.insert(cors,sandbox(Script321,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part322.Name = "Button"
- Part322.Parent = Model308
- Part322.BrickColor = BrickColor.new("Really red")
- Part322.Reflectance = 0.20000000298023
- Part322.Transparency = 0.5
- Part322.Rotation = Vector3.new(90, 0, -180)
- Part322.Anchored = true
- Part322.FormFactor = Enum.FormFactor.Plate
- Part322.Size = Vector3.new(1, 0.400000006, 1)
- Part322.CFrame = CFrame.new(117.899986, 14.2121134, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part322.BottomSurface = Enum.SurfaceType.Smooth
- Part322.TopSurface = Enum.SurfaceType.Smooth
- Part322.Color = Color3.new(1, 0, 0)
- Part322.Position = Vector3.new(117.899986, 14.2121134, -138.399994)
- Part322.Orientation = Vector3.new(90, 180, 0)
- Part322.Color = Color3.new(1, 0, 0)
- BlockMesh323.Parent = Part322
- CylinderMesh324.Parent = Part322
- CylinderMesh324.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh324.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh324.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector325.Name = "Click"
- ClickDetector325.Parent = Part322
- Model326.Name = "PrisonCell"
- Model326.Parent = Model1
- Model327.Name = "Exterior"
- Model327.Parent = Model326
- Model328.Name = "Top"
- Model328.Parent = Model327
- Part329.Name = "Ceiling"
- Part329.Parent = Model328
- Part329.BrickColor = BrickColor.new("Brick yellow")
- Part329.Anchored = true
- Part329.FormFactor = Enum.FormFactor.Plate
- Part329.Size = Vector3.new(12, 0.400000006, 14)
- Part329.CFrame = CFrame.new(78.3999939, 33.7121582, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part329.BottomSurface = Enum.SurfaceType.Smooth
- Part329.TopSurface = Enum.SurfaceType.Smooth
- Part329.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part329.Position = Vector3.new(78.3999939, 33.7121582, -146.600006)
- Part329.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh330.Parent = Part329
- Part331.Name = "Top"
- Part331.Parent = Model328
- Part331.BrickColor = BrickColor.new("Dark stone grey")
- Part331.Anchored = true
- Part331.FormFactor = Enum.FormFactor.Symmetric
- Part331.Size = Vector3.new(14, 1, 16)
- Part331.CFrame = CFrame.new(78.3999939, 34.4121437, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part331.BottomSurface = Enum.SurfaceType.Smooth
- Part331.TopSurface = Enum.SurfaceType.Smooth
- Part331.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part331.Position = Vector3.new(78.3999939, 34.4121437, -146.600006)
- Part331.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh332.Parent = Part331
- Model333.Name = "Walls"
- Model333.Parent = Model327
- Part334.Parent = Model333
- Part334.BrickColor = BrickColor.new("Dark stone grey")
- Part334.Anchored = true
- Part334.FormFactor = Enum.FormFactor.Symmetric
- Part334.Size = Vector3.new(6, 1, 1)
- Part334.CFrame = CFrame.new(80.3999939, 33.4121552, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part334.BottomSurface = Enum.SurfaceType.Smooth
- Part334.TopSurface = Enum.SurfaceType.Smooth
- Part334.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part334.Position = Vector3.new(80.3999939, 33.4121552, -139.100006)
- Part334.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh335.Parent = Part334
- Part336.Parent = Model333
- Part336.BrickColor = BrickColor.new("Dark stone grey")
- Part336.Anchored = true
- Part336.FormFactor = Enum.FormFactor.Symmetric
- Part336.Size = Vector3.new(6, 10, 1)
- Part336.CFrame = CFrame.new(74.3999939, 28.9121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part336.BottomSurface = Enum.SurfaceType.Smooth
- Part336.TopSurface = Enum.SurfaceType.Smooth
- Part336.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part336.Position = Vector3.new(74.3999939, 28.9121418, -139.100006)
- Part336.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh337.Parent = Part336
- Part338.Parent = Model333
- Part338.BrickColor = BrickColor.new("Dark stone grey")
- Part338.Rotation = Vector3.new(-180, 0, -180)
- Part338.Anchored = true
- Part338.FormFactor = Enum.FormFactor.Symmetric
- Part338.Size = Vector3.new(1, 10, 14)
- Part338.CFrame = CFrame.new(71.8999939, 28.9121418, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part338.BottomSurface = Enum.SurfaceType.Smooth
- Part338.TopSurface = Enum.SurfaceType.Smooth
- Part338.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part338.Position = Vector3.new(71.8999939, 28.9121418, -146.600006)
- Part338.Orientation = Vector3.new(0, 180, 0)
- Part338.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh339.Parent = Part338
- Part340.Parent = Model333
- Part340.BrickColor = BrickColor.new("Dark stone grey")
- Part340.Rotation = Vector3.new(0, -90, 0)
- Part340.Anchored = true
- Part340.FormFactor = Enum.FormFactor.Symmetric
- Part340.Size = Vector3.new(1, 10, 14)
- Part340.CFrame = CFrame.new(78.3999939, 28.9121418, -154.099991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part340.BottomSurface = Enum.SurfaceType.Smooth
- Part340.TopSurface = Enum.SurfaceType.Smooth
- Part340.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part340.Position = Vector3.new(78.3999939, 28.9121418, -154.099991)
- Part340.Orientation = Vector3.new(0, -90, 0)
- Part340.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh341.Parent = Part340
- Part342.Parent = Model333
- Part342.BrickColor = BrickColor.new("Dark stone grey")
- Part342.Rotation = Vector3.new(-180, 0, -180)
- Part342.Anchored = true
- Part342.FormFactor = Enum.FormFactor.Symmetric
- Part342.Size = Vector3.new(1, 10, 14)
- Part342.CFrame = CFrame.new(84.8999939, 28.9121418, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part342.BottomSurface = Enum.SurfaceType.Smooth
- Part342.TopSurface = Enum.SurfaceType.Smooth
- Part342.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part342.Position = Vector3.new(84.8999939, 28.9121418, -146.600006)
- Part342.Orientation = Vector3.new(0, 180, 0)
- Part342.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh343.Parent = Part342
- Part344.Parent = Model333
- Part344.BrickColor = BrickColor.new("Dark stone grey")
- Part344.Rotation = Vector3.new(0, 90, 0)
- Part344.Anchored = true
- Part344.FormFactor = Enum.FormFactor.Symmetric
- Part344.Size = Vector3.new(1, 10, 2)
- Part344.CFrame = CFrame.new(84.3999939, 28.9121418, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part344.BottomSurface = Enum.SurfaceType.Smooth
- Part344.TopSurface = Enum.SurfaceType.Smooth
- Part344.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part344.Position = Vector3.new(84.3999939, 28.9121418, -139.100006)
- Part344.Orientation = Vector3.new(0, 90, 0)
- Part344.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh345.Parent = Part344
- Model346.Name = "Floor"
- Model346.Parent = Model327
- Part347.Name = "Floor"
- Part347.Parent = Model346
- Part347.BrickColor = BrickColor.new("Brick yellow")
- Part347.Anchored = true
- Part347.FormFactor = Enum.FormFactor.Plate
- Part347.Size = Vector3.new(12, 0.400000006, 14)
- Part347.CFrame = CFrame.new(78.3999939, 24.1121387, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part347.BottomSurface = Enum.SurfaceType.Smooth
- Part347.TopSurface = Enum.SurfaceType.Smooth
- Part347.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part347.Position = Vector3.new(78.3999939, 24.1121387, -146.600006)
- Part347.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh348.Parent = Part347
- Part349.Name = "Floor"
- Part349.Parent = Model346
- Part349.BrickColor = BrickColor.new("Brick yellow")
- Part349.Anchored = true
- Part349.CanCollide = false
- Part349.FormFactor = Enum.FormFactor.Plate
- Part349.Size = Vector3.new(6, 0.400000006, 1)
- Part349.CFrame = CFrame.new(80.3999939, 24.5121365, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part349.BottomSurface = Enum.SurfaceType.Smooth
- Part349.TopSurface = Enum.SurfaceType.Smooth
- Part349.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part349.Position = Vector3.new(80.3999939, 24.5121365, -140.100006)
- Part349.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh350.Parent = Part349
- BlockMesh350.Offset = Vector3.new(0, -0.400000006, 1)
- Model351.Name = "Items"
- Model351.Parent = Model326
- Model352.Name = "Furnish"
- Model352.Parent = Model351
- Model353.Name = "Bed"
- Model353.Parent = Model352
- Part354.Name = "Pole"
- Part354.Parent = Model353
- Part354.BrickColor = BrickColor.new("Mid gray")
- Part354.Reflectance = 0.15000000596046
- Part354.Anchored = true
- Part354.CanCollide = false
- Part354.FormFactor = Enum.FormFactor.Symmetric
- Part354.Size = Vector3.new(1, 5, 1)
- Part354.CFrame = CFrame.new(72.8999939, 26.8121338, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part354.BottomSurface = Enum.SurfaceType.Smooth
- Part354.TopSurface = Enum.SurfaceType.Smooth
- Part354.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part354.Position = Vector3.new(72.8999939, 26.8121338, -140.100006)
- Part354.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh355.Parent = Part354
- CylinderMesh355.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh355.Scale = Vector3.new(0.5, 1, 0.5)
- Part356.Name = "Pole"
- Part356.Parent = Model353
- Part356.BrickColor = BrickColor.new("Mid gray")
- Part356.Reflectance = 0.15000000596046
- Part356.Anchored = true
- Part356.CanCollide = false
- Part356.FormFactor = Enum.FormFactor.Symmetric
- Part356.Size = Vector3.new(1, 5, 1)
- Part356.CFrame = CFrame.new(72.8999939, 26.8121338, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part356.BottomSurface = Enum.SurfaceType.Smooth
- Part356.TopSurface = Enum.SurfaceType.Smooth
- Part356.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part356.Position = Vector3.new(72.8999939, 26.8121338, -147.100006)
- Part356.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh357.Parent = Part356
- CylinderMesh357.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh357.Scale = Vector3.new(0.5, 1, 0.5)
- Part358.Name = "Pole"
- Part358.Parent = Model353
- Part358.BrickColor = BrickColor.new("Mid gray")
- Part358.Reflectance = 0.15000000596046
- Part358.Anchored = true
- Part358.CanCollide = false
- Part358.FormFactor = Enum.FormFactor.Symmetric
- Part358.Size = Vector3.new(1, 5, 1)
- Part358.CFrame = CFrame.new(76.8999939, 26.8121338, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part358.BottomSurface = Enum.SurfaceType.Smooth
- Part358.TopSurface = Enum.SurfaceType.Smooth
- Part358.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part358.Position = Vector3.new(76.8999939, 26.8121338, -147.100006)
- Part358.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh359.Parent = Part358
- CylinderMesh359.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh359.Scale = Vector3.new(0.5, 1, 0.5)
- Part360.Name = "Pole"
- Part360.Parent = Model353
- Part360.BrickColor = BrickColor.new("Mid gray")
- Part360.Reflectance = 0.15000000596046
- Part360.Anchored = true
- Part360.CanCollide = false
- Part360.FormFactor = Enum.FormFactor.Symmetric
- Part360.Size = Vector3.new(1, 5, 1)
- Part360.CFrame = CFrame.new(76.8999939, 26.8121338, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part360.BottomSurface = Enum.SurfaceType.Smooth
- Part360.TopSurface = Enum.SurfaceType.Smooth
- Part360.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part360.Position = Vector3.new(76.8999939, 26.8121338, -140.100006)
- Part360.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh361.Parent = Part360
- CylinderMesh361.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh361.Scale = Vector3.new(0.5, 1, 0.5)
- Part362.Parent = Model353
- Part362.BrickColor = BrickColor.new("Institutional white")
- Part362.Rotation = Vector3.new(-180, 0, -180)
- Part362.Anchored = true
- Part362.FormFactor = Enum.FormFactor.Symmetric
- Part362.Size = Vector3.new(3, 1, 6)
- Part362.CFrame = CFrame.new(74.8999939, 28.0121403, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part362.BottomSurface = Enum.SurfaceType.Smooth
- Part362.TopSurface = Enum.SurfaceType.Smooth
- Part362.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part362.Position = Vector3.new(74.8999939, 28.0121403, -143.600006)
- Part362.Orientation = Vector3.new(0, 180, 0)
- Part362.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh363.Parent = Part362
- BlockMesh363.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh363.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part364.Parent = Model353
- Part364.BrickColor = BrickColor.new("Institutional white")
- Part364.Rotation = Vector3.new(-180, 0, -180)
- Part364.Anchored = true
- Part364.FormFactor = Enum.FormFactor.Symmetric
- Part364.Size = Vector3.new(3, 1, 6)
- Part364.CFrame = CFrame.new(74.8999939, 24.8121281, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part364.BottomSurface = Enum.SurfaceType.Smooth
- Part364.TopSurface = Enum.SurfaceType.Smooth
- Part364.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part364.Position = Vector3.new(74.8999939, 24.8121281, -143.600006)
- Part364.Orientation = Vector3.new(0, 180, 0)
- Part364.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh365.Parent = Part364
- BlockMesh365.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh365.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model366.Name = "Toilet"
- Model366.Parent = Model352
- Part367.Parent = Model366
- Part367.BrickColor = BrickColor.new("Mid gray")
- Part367.Rotation = Vector3.new(0, -90, 0)
- Part367.Anchored = true
- Part367.FormFactor = Enum.FormFactor.Symmetric
- Part367.Size = Vector3.new(2, 3, 1)
- Part367.CFrame = CFrame.new(72.8999939, 26.8121338, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part367.BottomSurface = Enum.SurfaceType.Smooth
- Part367.TopSurface = Enum.SurfaceType.Smooth
- Part367.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part367.Position = Vector3.new(72.8999939, 26.8121338, -150.599991)
- Part367.Orientation = Vector3.new(0, -90, 0)
- Part367.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh368.Parent = Part367
- BlockMesh368.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh368.Scale = Vector3.new(1.5, 1, 1)
- Part369.Parent = Model366
- Part369.BrickColor = BrickColor.new("Mid gray")
- Part369.Rotation = Vector3.new(0, -90, 0)
- Part369.Anchored = true
- Part369.FormFactor = Enum.FormFactor.Symmetric
- Part369.Size = Vector3.new(2, 1, 3)
- Part369.CFrame = CFrame.new(73.8999939, 24.8121281, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part369.BottomSurface = Enum.SurfaceType.Smooth
- Part369.TopSurface = Enum.SurfaceType.Smooth
- Part369.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part369.Position = Vector3.new(73.8999939, 24.8121281, -150.599991)
- Part369.Orientation = Vector3.new(0, -90, 0)
- Part369.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh370.Parent = Part369
- Part371.Parent = Model366
- Part371.BrickColor = BrickColor.new("Light stone grey")
- Part371.Rotation = Vector3.new(0, -90, 0)
- Part371.Anchored = true
- Part371.FormFactor = Enum.FormFactor.Plate
- Part371.Size = Vector3.new(2, 0.400000006, 2)
- Part371.CFrame = CFrame.new(74.3999939, 25.5121365, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part371.BottomSurface = Enum.SurfaceType.Smooth
- Part371.TopSurface = Enum.SurfaceType.Smooth
- Part371.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part371.Position = Vector3.new(74.3999939, 25.5121365, -150.599991)
- Part371.Orientation = Vector3.new(0, -90, 0)
- Part371.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh372.Parent = Part371
- SpecialMesh372.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh372.MeshType = Enum.MeshType.Sphere
- SpecialMesh372.Scale = Vector3.new(1.5, 2, 2)
- Part373.Name = "Pole"
- Part373.Parent = Model352
- Part373.BrickColor = BrickColor.new("Mid gray")
- Part373.Reflectance = 0.15000000596046
- Part373.Rotation = Vector3.new(0, 0, -90)
- Part373.Anchored = true
- Part373.CanCollide = false
- Part373.FormFactor = Enum.FormFactor.Symmetric
- Part373.Size = Vector3.new(1, 12, 1)
- Part373.CFrame = CFrame.new(78.3999939, 27.8121338, -153.099991, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part373.BottomSurface = Enum.SurfaceType.Smooth
- Part373.TopSurface = Enum.SurfaceType.Smooth
- Part373.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part373.Position = Vector3.new(78.3999939, 27.8121338, -153.099991)
- Part373.Orientation = Vector3.new(0, 0, -90)
- Part373.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh374.Parent = Part373
- CylinderMesh374.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh374.Scale = Vector3.new(0.5, 1, 0.5)
- Model375.Name = "Functions"
- Model375.Parent = Model351
- Model376.Name = "Light"
- Model376.Parent = Model375
- Part377.Name = "Lightbulb"
- Part377.Parent = Model376
- Part377.Transparency = 0.5
- Part377.Rotation = Vector3.new(180, 90, 0)
- Part377.Anchored = true
- Part377.CanCollide = false
- Part377.FormFactor = Enum.FormFactor.Symmetric
- Part377.Size = Vector3.new(2, 1, 2)
- Part377.CFrame = CFrame.new(78.3999939, 33.0121536, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part377.BackSurface = Enum.SurfaceType.Weld
- Part377.BottomSurface = Enum.SurfaceType.Weld
- Part377.FrontSurface = Enum.SurfaceType.Weld
- Part377.LeftSurface = Enum.SurfaceType.Weld
- Part377.RightSurface = Enum.SurfaceType.Weld
- Part377.TopSurface = Enum.SurfaceType.Weld
- Part377.Position = Vector3.new(78.3999939, 33.0121536, -146.600006)
- Part377.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh378.Parent = Part377
- SpecialMesh378.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh378.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh378.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh378.MeshType = Enum.MeshType.FileMesh
- SpecialMesh378.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part379.Name = "Light"
- Part379.Parent = Model376
- Part379.BrickColor = BrickColor.new("Cool yellow")
- Part379.Transparency = 1
- Part379.Anchored = true
- Part379.CanCollide = false
- Part379.FormFactor = Enum.FormFactor.Symmetric
- Part379.Size = Vector3.new(2, 8, 2)
- Part379.CFrame = CFrame.new(78.3999939, 28.5121403, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part379.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part379.Position = Vector3.new(78.3999939, 28.5121403, -146.600006)
- Part379.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh380.Parent = Part379
- SpecialMesh380.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh380.Scale = Vector3.new(7, 13, 7)
- SpecialMesh380.MeshType = Enum.MeshType.FileMesh
- SpecialMesh380.Scale = Vector3.new(7, 13, 7)
- Script381.Name = "Function"
- Script381.Parent = Model376
- table.insert(cors,sandbox(Script381,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part382.Name = "LightSocket"
- Part382.Parent = Model376
- Part382.BrickColor = BrickColor.new("Dark stone grey")
- Part382.Anchored = true
- Part382.FormFactor = Enum.FormFactor.Symmetric
- Part382.Size = Vector3.new(2, 1, 2)
- Part382.CFrame = CFrame.new(78.3999939, 33.0121536, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part382.BottomSurface = Enum.SurfaceType.Smooth
- Part382.TopSurface = Enum.SurfaceType.Smooth
- Part382.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part382.Position = Vector3.new(78.3999939, 33.0121536, -146.600006)
- Part382.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh383.Parent = Part382
- CylinderMesh383.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh383.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh383.Scale = Vector3.new(1, 0.5, 1)
- Model384.Name = "Door"
- Model384.Parent = Model326
- Part385.Name = "Bar"
- Part385.Parent = Model384
- Part385.Reflectance = 0.15000000596046
- Part385.Anchored = true
- Part385.FormFactor = Enum.FormFactor.Symmetric
- Part385.Size = Vector3.new(1, 9, 1)
- Part385.CFrame = CFrame.new(82.8999939, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part385.BottomSurface = Enum.SurfaceType.Smooth
- Part385.TopSurface = Enum.SurfaceType.Smooth
- Part385.Position = Vector3.new(82.8999939, 28.4121418, -139.100006)
- CylinderMesh386.Parent = Part385
- CylinderMesh386.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh386.Scale = Vector3.new(0.5, 1, 1)
- Part387.Name = "Bar"
- Part387.Parent = Model384
- Part387.Reflectance = 0.15000000596046
- Part387.Anchored = true
- Part387.FormFactor = Enum.FormFactor.Symmetric
- Part387.Size = Vector3.new(1, 9, 1)
- Part387.CFrame = CFrame.new(81.9000015, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part387.BottomSurface = Enum.SurfaceType.Smooth
- Part387.TopSurface = Enum.SurfaceType.Smooth
- Part387.Position = Vector3.new(81.9000015, 28.4121418, -139.100006)
- CylinderMesh388.Parent = Part387
- CylinderMesh388.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh388.Scale = Vector3.new(0.5, 1, 1)
- Part389.Name = "Bar"
- Part389.Parent = Model384
- Part389.Reflectance = 0.15000000596046
- Part389.Anchored = true
- Part389.FormFactor = Enum.FormFactor.Symmetric
- Part389.Size = Vector3.new(1, 9, 1)
- Part389.CFrame = CFrame.new(80.9000015, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part389.BottomSurface = Enum.SurfaceType.Smooth
- Part389.TopSurface = Enum.SurfaceType.Smooth
- Part389.Position = Vector3.new(80.9000015, 28.4121418, -139.100006)
- CylinderMesh390.Parent = Part389
- CylinderMesh390.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh390.Scale = Vector3.new(0.5, 1, 1)
- Part391.Name = "Bar"
- Part391.Parent = Model384
- Part391.Reflectance = 0.15000000596046
- Part391.Anchored = true
- Part391.FormFactor = Enum.FormFactor.Symmetric
- Part391.Size = Vector3.new(1, 9, 1)
- Part391.CFrame = CFrame.new(79.8999939, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part391.BottomSurface = Enum.SurfaceType.Smooth
- Part391.TopSurface = Enum.SurfaceType.Smooth
- Part391.Position = Vector3.new(79.8999939, 28.4121418, -139.100006)
- CylinderMesh392.Parent = Part391
- CylinderMesh392.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh392.Scale = Vector3.new(0.5, 1, 1)
- Part393.Name = "Bar"
- Part393.Parent = Model384
- Part393.Reflectance = 0.15000000596046
- Part393.Anchored = true
- Part393.FormFactor = Enum.FormFactor.Symmetric
- Part393.Size = Vector3.new(1, 9, 1)
- Part393.CFrame = CFrame.new(78.8999939, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part393.BottomSurface = Enum.SurfaceType.Smooth
- Part393.TopSurface = Enum.SurfaceType.Smooth
- Part393.Position = Vector3.new(78.8999939, 28.4121418, -139.100006)
- CylinderMesh394.Parent = Part393
- CylinderMesh394.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh394.Scale = Vector3.new(0.5, 1, 1)
- Part395.Name = "Bar"
- Part395.Parent = Model384
- Part395.Reflectance = 0.15000000596046
- Part395.Anchored = true
- Part395.FormFactor = Enum.FormFactor.Symmetric
- Part395.Size = Vector3.new(1, 9, 1)
- Part395.CFrame = CFrame.new(77.8999939, 28.4121418, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part395.BottomSurface = Enum.SurfaceType.Smooth
- Part395.TopSurface = Enum.SurfaceType.Smooth
- Part395.Position = Vector3.new(77.8999939, 28.4121418, -139.100006)
- CylinderMesh396.Parent = Part395
- CylinderMesh396.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh396.Scale = Vector3.new(0.5, 1, 1)
- Script397.Name = "Main"
- Script397.Parent = Model384
- table.insert(cors,sandbox(Script397,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part398.Name = "Button"
- Part398.Parent = Model384
- Part398.BrickColor = BrickColor.new("Really red")
- Part398.Reflectance = 0.20000000298023
- Part398.Transparency = 0.5
- Part398.Rotation = Vector3.new(90, 0, -180)
- Part398.Anchored = true
- Part398.FormFactor = Enum.FormFactor.Plate
- Part398.Size = Vector3.new(1, 0.400000006, 1)
- Part398.CFrame = CFrame.new(75.8999939, 28.4121132, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part398.BottomSurface = Enum.SurfaceType.Smooth
- Part398.TopSurface = Enum.SurfaceType.Smooth
- Part398.Color = Color3.new(1, 0, 0)
- Part398.Position = Vector3.new(75.8999939, 28.4121132, -138.399994)
- Part398.Orientation = Vector3.new(90, 180, 0)
- Part398.Color = Color3.new(1, 0, 0)
- BlockMesh399.Parent = Part398
- CylinderMesh400.Parent = Part398
- CylinderMesh400.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh400.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh400.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector401.Name = "Click"
- ClickDetector401.Parent = Part398
- Model402.Parent = Model1
- Model403.Name = "PrisonCell"
- Model403.Parent = Model402
- Model404.Name = "Exterior"
- Model404.Parent = Model403
- Model405.Name = "Top"
- Model405.Parent = Model404
- Part406.Name = "Ceiling"
- Part406.Parent = Model405
- Part406.BrickColor = BrickColor.new("Brick yellow")
- Part406.Anchored = true
- Part406.FormFactor = Enum.FormFactor.Plate
- Part406.Size = Vector3.new(12, 0.400000006, 14)
- Part406.CFrame = CFrame.new(106.399994, 19.7121372, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part406.BottomSurface = Enum.SurfaceType.Smooth
- Part406.TopSurface = Enum.SurfaceType.Smooth
- Part406.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part406.Position = Vector3.new(106.399994, 19.7121372, -146.600006)
- Part406.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh407.Parent = Part406
- Part408.Name = "Top"
- Part408.Parent = Model405
- Part408.BrickColor = BrickColor.new("Dark stone grey")
- Part408.Anchored = true
- Part408.FormFactor = Enum.FormFactor.Symmetric
- Part408.Size = Vector3.new(14, 1, 16)
- Part408.CFrame = CFrame.new(106.399994, 20.4121323, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part408.BottomSurface = Enum.SurfaceType.Smooth
- Part408.TopSurface = Enum.SurfaceType.Smooth
- Part408.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part408.Position = Vector3.new(106.399994, 20.4121323, -146.600006)
- Part408.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh409.Parent = Part408
- Model410.Name = "Walls"
- Model410.Parent = Model404
- Part411.Parent = Model410
- Part411.BrickColor = BrickColor.new("Dark stone grey")
- Part411.Anchored = true
- Part411.FormFactor = Enum.FormFactor.Symmetric
- Part411.Size = Vector3.new(6, 1, 1)
- Part411.CFrame = CFrame.new(108.399986, 19.4121323, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part411.BottomSurface = Enum.SurfaceType.Smooth
- Part411.TopSurface = Enum.SurfaceType.Smooth
- Part411.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part411.Position = Vector3.new(108.399986, 19.4121323, -139.100006)
- Part411.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh412.Parent = Part411
- Part413.Parent = Model410
- Part413.BrickColor = BrickColor.new("Dark stone grey")
- Part413.Anchored = true
- Part413.FormFactor = Enum.FormFactor.Symmetric
- Part413.Size = Vector3.new(6, 10, 1)
- Part413.CFrame = CFrame.new(102.399986, 14.9121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part413.BottomSurface = Enum.SurfaceType.Smooth
- Part413.TopSurface = Enum.SurfaceType.Smooth
- Part413.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part413.Position = Vector3.new(102.399986, 14.9121256, -139.100006)
- Part413.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh414.Parent = Part413
- Part415.Parent = Model410
- Part415.BrickColor = BrickColor.new("Dark stone grey")
- Part415.Rotation = Vector3.new(-180, 0, -180)
- Part415.Anchored = true
- Part415.FormFactor = Enum.FormFactor.Symmetric
- Part415.Size = Vector3.new(1, 10, 14)
- Part415.CFrame = CFrame.new(99.8999863, 14.9121256, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part415.BottomSurface = Enum.SurfaceType.Smooth
- Part415.TopSurface = Enum.SurfaceType.Smooth
- Part415.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part415.Position = Vector3.new(99.8999863, 14.9121256, -146.600006)
- Part415.Orientation = Vector3.new(0, 180, 0)
- Part415.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh416.Parent = Part415
- Part417.Parent = Model410
- Part417.BrickColor = BrickColor.new("Dark stone grey")
- Part417.Rotation = Vector3.new(0, -90, 0)
- Part417.Anchored = true
- Part417.FormFactor = Enum.FormFactor.Symmetric
- Part417.Size = Vector3.new(1, 10, 14)
- Part417.CFrame = CFrame.new(106.399994, 14.9121256, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part417.BottomSurface = Enum.SurfaceType.Smooth
- Part417.TopSurface = Enum.SurfaceType.Smooth
- Part417.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part417.Position = Vector3.new(106.399994, 14.9121256, -154.099976)
- Part417.Orientation = Vector3.new(0, -90, 0)
- Part417.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh418.Parent = Part417
- Part419.Parent = Model410
- Part419.BrickColor = BrickColor.new("Dark stone grey")
- Part419.Rotation = Vector3.new(-180, 0, -180)
- Part419.Anchored = true
- Part419.FormFactor = Enum.FormFactor.Symmetric
- Part419.Size = Vector3.new(1, 10, 14)
- Part419.CFrame = CFrame.new(112.899986, 14.9121256, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part419.BottomSurface = Enum.SurfaceType.Smooth
- Part419.TopSurface = Enum.SurfaceType.Smooth
- Part419.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part419.Position = Vector3.new(112.899986, 14.9121256, -146.600006)
- Part419.Orientation = Vector3.new(0, 180, 0)
- Part419.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh420.Parent = Part419
- Part421.Parent = Model410
- Part421.BrickColor = BrickColor.new("Dark stone grey")
- Part421.Rotation = Vector3.new(0, 90, 0)
- Part421.Anchored = true
- Part421.FormFactor = Enum.FormFactor.Symmetric
- Part421.Size = Vector3.new(1, 10, 2)
- Part421.CFrame = CFrame.new(112.399986, 14.9121256, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part421.BottomSurface = Enum.SurfaceType.Smooth
- Part421.TopSurface = Enum.SurfaceType.Smooth
- Part421.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part421.Position = Vector3.new(112.399986, 14.9121256, -139.100006)
- Part421.Orientation = Vector3.new(0, 90, 0)
- Part421.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh422.Parent = Part421
- Model423.Name = "Floor"
- Model423.Parent = Model404
- Part424.Name = "Floor"
- Part424.Parent = Model423
- Part424.BrickColor = BrickColor.new("Brick yellow")
- Part424.Anchored = true
- Part424.FormFactor = Enum.FormFactor.Plate
- Part424.Size = Vector3.new(12, 0.400000006, 14)
- Part424.CFrame = CFrame.new(106.399994, 10.1121416, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part424.BottomSurface = Enum.SurfaceType.Smooth
- Part424.TopSurface = Enum.SurfaceType.Smooth
- Part424.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part424.Position = Vector3.new(106.399994, 10.1121416, -146.600006)
- Part424.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh425.Parent = Part424
- Part426.Name = "Floor"
- Part426.Parent = Model423
- Part426.BrickColor = BrickColor.new("Brick yellow")
- Part426.Anchored = true
- Part426.CanCollide = false
- Part426.FormFactor = Enum.FormFactor.Plate
- Part426.Size = Vector3.new(6, 0.400000006, 1)
- Part426.CFrame = CFrame.new(108.399986, 10.5121231, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part426.BottomSurface = Enum.SurfaceType.Smooth
- Part426.TopSurface = Enum.SurfaceType.Smooth
- Part426.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part426.Position = Vector3.new(108.399986, 10.5121231, -140.100006)
- Part426.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh427.Parent = Part426
- BlockMesh427.Offset = Vector3.new(0, -0.400000006, 1)
- Model428.Name = "Items"
- Model428.Parent = Model403
- Model429.Name = "Furnish"
- Model429.Parent = Model428
- Model430.Name = "Bed"
- Model430.Parent = Model429
- Part431.Name = "Pole"
- Part431.Parent = Model430
- Part431.BrickColor = BrickColor.new("Mid gray")
- Part431.Reflectance = 0.15000000596046
- Part431.Anchored = true
- Part431.CanCollide = false
- Part431.FormFactor = Enum.FormFactor.Symmetric
- Part431.Size = Vector3.new(1, 5, 1)
- Part431.CFrame = CFrame.new(100.899986, 12.8121252, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part431.BottomSurface = Enum.SurfaceType.Smooth
- Part431.TopSurface = Enum.SurfaceType.Smooth
- Part431.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part431.Position = Vector3.new(100.899986, 12.8121252, -140.100006)
- Part431.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh432.Parent = Part431
- CylinderMesh432.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh432.Scale = Vector3.new(0.5, 1, 0.5)
- Part433.Name = "Pole"
- Part433.Parent = Model430
- Part433.BrickColor = BrickColor.new("Mid gray")
- Part433.Reflectance = 0.15000000596046
- Part433.Anchored = true
- Part433.CanCollide = false
- Part433.FormFactor = Enum.FormFactor.Symmetric
- Part433.Size = Vector3.new(1, 5, 1)
- Part433.CFrame = CFrame.new(100.899986, 12.8121252, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part433.BottomSurface = Enum.SurfaceType.Smooth
- Part433.TopSurface = Enum.SurfaceType.Smooth
- Part433.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part433.Position = Vector3.new(100.899986, 12.8121252, -147.100006)
- Part433.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh434.Parent = Part433
- CylinderMesh434.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh434.Scale = Vector3.new(0.5, 1, 0.5)
- Part435.Name = "Pole"
- Part435.Parent = Model430
- Part435.BrickColor = BrickColor.new("Mid gray")
- Part435.Reflectance = 0.15000000596046
- Part435.Anchored = true
- Part435.CanCollide = false
- Part435.FormFactor = Enum.FormFactor.Symmetric
- Part435.Size = Vector3.new(1, 5, 1)
- Part435.CFrame = CFrame.new(104.899986, 12.8121252, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part435.BottomSurface = Enum.SurfaceType.Smooth
- Part435.TopSurface = Enum.SurfaceType.Smooth
- Part435.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part435.Position = Vector3.new(104.899986, 12.8121252, -147.100006)
- Part435.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh436.Parent = Part435
- CylinderMesh436.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh436.Scale = Vector3.new(0.5, 1, 0.5)
- Part437.Name = "Pole"
- Part437.Parent = Model430
- Part437.BrickColor = BrickColor.new("Mid gray")
- Part437.Reflectance = 0.15000000596046
- Part437.Anchored = true
- Part437.CanCollide = false
- Part437.FormFactor = Enum.FormFactor.Symmetric
- Part437.Size = Vector3.new(1, 5, 1)
- Part437.CFrame = CFrame.new(104.899986, 12.8121252, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part437.BottomSurface = Enum.SurfaceType.Smooth
- Part437.TopSurface = Enum.SurfaceType.Smooth
- Part437.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part437.Position = Vector3.new(104.899986, 12.8121252, -140.100006)
- Part437.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh438.Parent = Part437
- CylinderMesh438.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh438.Scale = Vector3.new(0.5, 1, 0.5)
- Part439.Parent = Model430
- Part439.BrickColor = BrickColor.new("Institutional white")
- Part439.Rotation = Vector3.new(-180, 0, -180)
- Part439.Anchored = true
- Part439.FormFactor = Enum.FormFactor.Symmetric
- Part439.Size = Vector3.new(3, 1, 6)
- Part439.CFrame = CFrame.new(102.899986, 14.0121212, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part439.BottomSurface = Enum.SurfaceType.Smooth
- Part439.TopSurface = Enum.SurfaceType.Smooth
- Part439.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part439.Position = Vector3.new(102.899986, 14.0121212, -143.600006)
- Part439.Orientation = Vector3.new(0, 180, 0)
- Part439.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh440.Parent = Part439
- BlockMesh440.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh440.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part441.Parent = Model430
- Part441.BrickColor = BrickColor.new("Institutional white")
- Part441.Rotation = Vector3.new(-180, 0, -180)
- Part441.Anchored = true
- Part441.FormFactor = Enum.FormFactor.Symmetric
- Part441.Size = Vector3.new(3, 1, 6)
- Part441.CFrame = CFrame.new(102.899986, 10.8121271, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part441.BottomSurface = Enum.SurfaceType.Smooth
- Part441.TopSurface = Enum.SurfaceType.Smooth
- Part441.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part441.Position = Vector3.new(102.899986, 10.8121271, -143.600006)
- Part441.Orientation = Vector3.new(0, 180, 0)
- Part441.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh442.Parent = Part441
- BlockMesh442.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh442.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model443.Name = "Toilet"
- Model443.Parent = Model429
- Part444.Parent = Model443
- Part444.BrickColor = BrickColor.new("Mid gray")
- Part444.Rotation = Vector3.new(0, -90, 0)
- Part444.Anchored = true
- Part444.FormFactor = Enum.FormFactor.Symmetric
- Part444.Size = Vector3.new(2, 3, 1)
- Part444.CFrame = CFrame.new(100.899986, 12.8121252, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part444.BottomSurface = Enum.SurfaceType.Smooth
- Part444.TopSurface = Enum.SurfaceType.Smooth
- Part444.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part444.Position = Vector3.new(100.899986, 12.8121252, -150.599976)
- Part444.Orientation = Vector3.new(0, -90, 0)
- Part444.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh445.Parent = Part444
- BlockMesh445.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh445.Scale = Vector3.new(1.5, 1, 1)
- Part446.Parent = Model443
- Part446.BrickColor = BrickColor.new("Mid gray")
- Part446.Rotation = Vector3.new(0, -90, 0)
- Part446.Anchored = true
- Part446.FormFactor = Enum.FormFactor.Symmetric
- Part446.Size = Vector3.new(2, 1, 3)
- Part446.CFrame = CFrame.new(101.899986, 10.8121271, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part446.BottomSurface = Enum.SurfaceType.Smooth
- Part446.TopSurface = Enum.SurfaceType.Smooth
- Part446.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part446.Position = Vector3.new(101.899986, 10.8121271, -150.599976)
- Part446.Orientation = Vector3.new(0, -90, 0)
- Part446.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh447.Parent = Part446
- Part448.Parent = Model443
- Part448.BrickColor = BrickColor.new("Light stone grey")
- Part448.Rotation = Vector3.new(0, -90, 0)
- Part448.Anchored = true
- Part448.FormFactor = Enum.FormFactor.Plate
- Part448.Size = Vector3.new(2, 0.400000006, 2)
- Part448.CFrame = CFrame.new(102.399986, 11.5121231, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part448.BottomSurface = Enum.SurfaceType.Smooth
- Part448.TopSurface = Enum.SurfaceType.Smooth
- Part448.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part448.Position = Vector3.new(102.399986, 11.5121231, -150.599976)
- Part448.Orientation = Vector3.new(0, -90, 0)
- Part448.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh449.Parent = Part448
- SpecialMesh449.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh449.MeshType = Enum.MeshType.Sphere
- SpecialMesh449.Scale = Vector3.new(1.5, 2, 2)
- Part450.Name = "Pole"
- Part450.Parent = Model429
- Part450.BrickColor = BrickColor.new("Mid gray")
- Part450.Reflectance = 0.15000000596046
- Part450.Rotation = Vector3.new(0, 0, -90)
- Part450.Anchored = true
- Part450.CanCollide = false
- Part450.FormFactor = Enum.FormFactor.Symmetric
- Part450.Size = Vector3.new(1, 12, 1)
- Part450.CFrame = CFrame.new(106.399994, 13.8121252, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part450.BottomSurface = Enum.SurfaceType.Smooth
- Part450.TopSurface = Enum.SurfaceType.Smooth
- Part450.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part450.Position = Vector3.new(106.399994, 13.8121252, -153.099976)
- Part450.Orientation = Vector3.new(0, 0, -90)
- Part450.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh451.Parent = Part450
- CylinderMesh451.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh451.Scale = Vector3.new(0.5, 1, 0.5)
- Model452.Name = "Functions"
- Model452.Parent = Model428
- Model453.Name = "Light"
- Model453.Parent = Model452
- Part454.Name = "Lightbulb"
- Part454.Parent = Model453
- Part454.Transparency = 0.5
- Part454.Rotation = Vector3.new(180, 90, 0)
- Part454.Anchored = true
- Part454.CanCollide = false
- Part454.FormFactor = Enum.FormFactor.Symmetric
- Part454.Size = Vector3.new(2, 1, 2)
- Part454.CFrame = CFrame.new(106.399994, 19.0121365, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part454.BackSurface = Enum.SurfaceType.Weld
- Part454.BottomSurface = Enum.SurfaceType.Weld
- Part454.FrontSurface = Enum.SurfaceType.Weld
- Part454.LeftSurface = Enum.SurfaceType.Weld
- Part454.RightSurface = Enum.SurfaceType.Weld
- Part454.TopSurface = Enum.SurfaceType.Weld
- Part454.Position = Vector3.new(106.399994, 19.0121365, -146.600006)
- Part454.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh455.Parent = Part454
- SpecialMesh455.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh455.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh455.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh455.MeshType = Enum.MeshType.FileMesh
- SpecialMesh455.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part456.Name = "Light"
- Part456.Parent = Model453
- Part456.BrickColor = BrickColor.new("Cool yellow")
- Part456.Transparency = 1
- Part456.Anchored = true
- Part456.CanCollide = false
- Part456.FormFactor = Enum.FormFactor.Symmetric
- Part456.Size = Vector3.new(2, 8, 2)
- Part456.CFrame = CFrame.new(106.399994, 14.5121136, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part456.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part456.Position = Vector3.new(106.399994, 14.5121136, -146.600006)
- Part456.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh457.Parent = Part456
- SpecialMesh457.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh457.Scale = Vector3.new(7, 13, 7)
- SpecialMesh457.MeshType = Enum.MeshType.FileMesh
- SpecialMesh457.Scale = Vector3.new(7, 13, 7)
- Script458.Name = "Function"
- Script458.Parent = Model453
- table.insert(cors,sandbox(Script458,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part459.Name = "LightSocket"
- Part459.Parent = Model453
- Part459.BrickColor = BrickColor.new("Dark stone grey")
- Part459.Anchored = true
- Part459.FormFactor = Enum.FormFactor.Symmetric
- Part459.Size = Vector3.new(2, 1, 2)
- Part459.CFrame = CFrame.new(106.399994, 19.0121365, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part459.BottomSurface = Enum.SurfaceType.Smooth
- Part459.TopSurface = Enum.SurfaceType.Smooth
- Part459.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part459.Position = Vector3.new(106.399994, 19.0121365, -146.600006)
- Part459.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh460.Parent = Part459
- CylinderMesh460.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh460.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh460.Scale = Vector3.new(1, 0.5, 1)
- Model461.Name = "Door"
- Model461.Parent = Model403
- Part462.Name = "Bar"
- Part462.Parent = Model461
- Part462.Reflectance = 0.15000000596046
- Part462.Anchored = true
- Part462.FormFactor = Enum.FormFactor.Symmetric
- Part462.Size = Vector3.new(1, 9, 1)
- Part462.CFrame = CFrame.new(110.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part462.BottomSurface = Enum.SurfaceType.Smooth
- Part462.TopSurface = Enum.SurfaceType.Smooth
- Part462.Position = Vector3.new(110.899986, 14.4121256, -139.100006)
- CylinderMesh463.Parent = Part462
- CylinderMesh463.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh463.Scale = Vector3.new(0.5, 1, 1)
- Part464.Name = "Bar"
- Part464.Parent = Model461
- Part464.Reflectance = 0.15000000596046
- Part464.Anchored = true
- Part464.FormFactor = Enum.FormFactor.Symmetric
- Part464.Size = Vector3.new(1, 9, 1)
- Part464.CFrame = CFrame.new(109.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part464.BottomSurface = Enum.SurfaceType.Smooth
- Part464.TopSurface = Enum.SurfaceType.Smooth
- Part464.Position = Vector3.new(109.899986, 14.4121256, -139.100006)
- CylinderMesh465.Parent = Part464
- CylinderMesh465.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh465.Scale = Vector3.new(0.5, 1, 1)
- Part466.Name = "Bar"
- Part466.Parent = Model461
- Part466.Reflectance = 0.15000000596046
- Part466.Anchored = true
- Part466.FormFactor = Enum.FormFactor.Symmetric
- Part466.Size = Vector3.new(1, 9, 1)
- Part466.CFrame = CFrame.new(108.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part466.BottomSurface = Enum.SurfaceType.Smooth
- Part466.TopSurface = Enum.SurfaceType.Smooth
- Part466.Position = Vector3.new(108.899986, 14.4121256, -139.100006)
- CylinderMesh467.Parent = Part466
- CylinderMesh467.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh467.Scale = Vector3.new(0.5, 1, 1)
- Part468.Name = "Bar"
- Part468.Parent = Model461
- Part468.Reflectance = 0.15000000596046
- Part468.Anchored = true
- Part468.FormFactor = Enum.FormFactor.Symmetric
- Part468.Size = Vector3.new(1, 9, 1)
- Part468.CFrame = CFrame.new(107.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part468.BottomSurface = Enum.SurfaceType.Smooth
- Part468.TopSurface = Enum.SurfaceType.Smooth
- Part468.Position = Vector3.new(107.899986, 14.4121256, -139.100006)
- CylinderMesh469.Parent = Part468
- CylinderMesh469.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh469.Scale = Vector3.new(0.5, 1, 1)
- Part470.Name = "Bar"
- Part470.Parent = Model461
- Part470.Reflectance = 0.15000000596046
- Part470.Anchored = true
- Part470.FormFactor = Enum.FormFactor.Symmetric
- Part470.Size = Vector3.new(1, 9, 1)
- Part470.CFrame = CFrame.new(106.899994, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part470.BottomSurface = Enum.SurfaceType.Smooth
- Part470.TopSurface = Enum.SurfaceType.Smooth
- Part470.Position = Vector3.new(106.899994, 14.4121256, -139.100006)
- CylinderMesh471.Parent = Part470
- CylinderMesh471.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh471.Scale = Vector3.new(0.5, 1, 1)
- Part472.Name = "Bar"
- Part472.Parent = Model461
- Part472.Reflectance = 0.15000000596046
- Part472.Anchored = true
- Part472.FormFactor = Enum.FormFactor.Symmetric
- Part472.Size = Vector3.new(1, 9, 1)
- Part472.CFrame = CFrame.new(105.899986, 14.4121256, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part472.BottomSurface = Enum.SurfaceType.Smooth
- Part472.TopSurface = Enum.SurfaceType.Smooth
- Part472.Position = Vector3.new(105.899986, 14.4121256, -139.100006)
- CylinderMesh473.Parent = Part472
- CylinderMesh473.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh473.Scale = Vector3.new(0.5, 1, 1)
- Script474.Name = "Main"
- Script474.Parent = Model461
- table.insert(cors,sandbox(Script474,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part475.Name = "Button"
- Part475.Parent = Model461
- Part475.BrickColor = BrickColor.new("Really red")
- Part475.Reflectance = 0.20000000298023
- Part475.Transparency = 0.5
- Part475.Rotation = Vector3.new(90, 0, -180)
- Part475.Anchored = true
- Part475.FormFactor = Enum.FormFactor.Plate
- Part475.Size = Vector3.new(1, 0.400000006, 1)
- Part475.CFrame = CFrame.new(103.899986, 14.4121075, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part475.BottomSurface = Enum.SurfaceType.Smooth
- Part475.TopSurface = Enum.SurfaceType.Smooth
- Part475.Color = Color3.new(1, 0, 0)
- Part475.Position = Vector3.new(103.899986, 14.4121075, -138.399994)
- Part475.Orientation = Vector3.new(90, 180, 0)
- Part475.Color = Color3.new(1, 0, 0)
- BlockMesh476.Parent = Part475
- CylinderMesh477.Parent = Part475
- CylinderMesh477.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh477.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh477.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector478.Name = "Click"
- ClickDetector478.Parent = Part475
- Part479.Parent = Model1
- Part479.Anchored = true
- Part479.Size = Vector3.new(12.3999996, 8, 87.4000015)
- Part479.CFrame = CFrame.new(150, 5.11211967, -83.7000122, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part479.Position = Vector3.new(150, 5.11211967, -83.7000122)
- Part480.Parent = Model1
- Part480.Anchored = true
- Part480.Size = Vector3.new(6.80000019, 1, 9)
- Part480.CFrame = CFrame.new(172.600037, 9.01211357, -24.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part480.Position = Vector3.new(172.600037, 9.01211357, -24.3000031)
- Part481.Parent = Model1
- Part481.Anchored = true
- Part481.Size = Vector3.new(6.80000019, 1, 2)
- Part481.CFrame = CFrame.new(106, 7.01211929, -40.4000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part481.Position = Vector3.new(106, 7.01211929, -40.4000092)
- Model482.Parent = Model1
- Model483.Name = "PrisonCell"
- Model483.Parent = Model482
- Model484.Name = "Exterior"
- Model484.Parent = Model483
- Model485.Name = "Top"
- Model485.Parent = Model484
- Part486.Name = "Ceiling"
- Part486.Parent = Model485
- Part486.BrickColor = BrickColor.new("Brick yellow")
- Part486.Anchored = true
- Part486.FormFactor = Enum.FormFactor.Plate
- Part486.Size = Vector3.new(12, 0.400000006, 14)
- Part486.CFrame = CFrame.new(64.4000931, 19.3122692, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part486.BottomSurface = Enum.SurfaceType.Smooth
- Part486.TopSurface = Enum.SurfaceType.Smooth
- Part486.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part486.Position = Vector3.new(64.4000931, 19.3122692, -146.600006)
- Part486.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh487.Parent = Part486
- Part488.Name = "Top"
- Part488.Parent = Model485
- Part488.BrickColor = BrickColor.new("Dark stone grey")
- Part488.Anchored = true
- Part488.FormFactor = Enum.FormFactor.Symmetric
- Part488.Size = Vector3.new(14, 1, 16)
- Part488.CFrame = CFrame.new(64.4000931, 20.0122852, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part488.BottomSurface = Enum.SurfaceType.Smooth
- Part488.TopSurface = Enum.SurfaceType.Smooth
- Part488.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part488.Position = Vector3.new(64.4000931, 20.0122852, -146.600006)
- Part488.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh489.Parent = Part488
- Model490.Name = "Walls"
- Model490.Parent = Model484
- Part491.Parent = Model490
- Part491.BrickColor = BrickColor.new("Dark stone grey")
- Part491.Anchored = true
- Part491.FormFactor = Enum.FormFactor.Symmetric
- Part491.Size = Vector3.new(6, 1, 1)
- Part491.CFrame = CFrame.new(66.4000931, 19.0122452, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part491.BottomSurface = Enum.SurfaceType.Smooth
- Part491.TopSurface = Enum.SurfaceType.Smooth
- Part491.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part491.Position = Vector3.new(66.4000931, 19.0122452, -139.100006)
- Part491.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh492.Parent = Part491
- Part493.Parent = Model490
- Part493.BrickColor = BrickColor.new("Dark stone grey")
- Part493.Anchored = true
- Part493.FormFactor = Enum.FormFactor.Symmetric
- Part493.Size = Vector3.new(6, 10, 1)
- Part493.CFrame = CFrame.new(60.4000931, 14.5121851, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part493.BottomSurface = Enum.SurfaceType.Smooth
- Part493.TopSurface = Enum.SurfaceType.Smooth
- Part493.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part493.Position = Vector3.new(60.4000931, 14.5121851, -139.100006)
- Part493.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh494.Parent = Part493
- Part495.Parent = Model490
- Part495.BrickColor = BrickColor.new("Dark stone grey")
- Part495.Rotation = Vector3.new(-180, 0, -180)
- Part495.Anchored = true
- Part495.FormFactor = Enum.FormFactor.Symmetric
- Part495.Size = Vector3.new(1, 10, 14)
- Part495.CFrame = CFrame.new(57.9000854, 14.5121851, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part495.BottomSurface = Enum.SurfaceType.Smooth
- Part495.TopSurface = Enum.SurfaceType.Smooth
- Part495.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part495.Position = Vector3.new(57.9000854, 14.5121851, -146.600006)
- Part495.Orientation = Vector3.new(0, 180, 0)
- Part495.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh496.Parent = Part495
- Part497.Parent = Model490
- Part497.BrickColor = BrickColor.new("Dark stone grey")
- Part497.Rotation = Vector3.new(0, -90, 0)
- Part497.Anchored = true
- Part497.FormFactor = Enum.FormFactor.Symmetric
- Part497.Size = Vector3.new(1, 10, 14)
- Part497.CFrame = CFrame.new(64.4000931, 14.5121851, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part497.BottomSurface = Enum.SurfaceType.Smooth
- Part497.TopSurface = Enum.SurfaceType.Smooth
- Part497.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part497.Position = Vector3.new(64.4000931, 14.5121851, -154.099976)
- Part497.Orientation = Vector3.new(0, -90, 0)
- Part497.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh498.Parent = Part497
- Part499.Parent = Model490
- Part499.BrickColor = BrickColor.new("Dark stone grey")
- Part499.Rotation = Vector3.new(-180, 0, -180)
- Part499.Anchored = true
- Part499.FormFactor = Enum.FormFactor.Symmetric
- Part499.Size = Vector3.new(1, 10, 14)
- Part499.CFrame = CFrame.new(70.9001007, 14.5121851, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part499.BottomSurface = Enum.SurfaceType.Smooth
- Part499.TopSurface = Enum.SurfaceType.Smooth
- Part499.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part499.Position = Vector3.new(70.9001007, 14.5121851, -146.600006)
- Part499.Orientation = Vector3.new(0, 180, 0)
- Part499.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh500.Parent = Part499
- Part501.Parent = Model490
- Part501.BrickColor = BrickColor.new("Dark stone grey")
- Part501.Rotation = Vector3.new(0, 90, 0)
- Part501.Anchored = true
- Part501.FormFactor = Enum.FormFactor.Symmetric
- Part501.Size = Vector3.new(1, 10, 2)
- Part501.CFrame = CFrame.new(70.4001007, 14.5121851, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part501.BottomSurface = Enum.SurfaceType.Smooth
- Part501.TopSurface = Enum.SurfaceType.Smooth
- Part501.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part501.Position = Vector3.new(70.4001007, 14.5121851, -139.100006)
- Part501.Orientation = Vector3.new(0, 90, 0)
- Part501.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh502.Parent = Part501
- Model503.Name = "Floor"
- Model503.Parent = Model484
- Part504.Name = "Floor"
- Part504.Parent = Model503
- Part504.BrickColor = BrickColor.new("Brick yellow")
- Part504.Anchored = true
- Part504.FormFactor = Enum.FormFactor.Plate
- Part504.Size = Vector3.new(12, 0.400000006, 14)
- Part504.CFrame = CFrame.new(64.4000931, 9.71223164, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part504.BottomSurface = Enum.SurfaceType.Smooth
- Part504.TopSurface = Enum.SurfaceType.Smooth
- Part504.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part504.Position = Vector3.new(64.4000931, 9.71223164, -146.600006)
- Part504.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh505.Parent = Part504
- Part506.Name = "Floor"
- Part506.Parent = Model503
- Part506.BrickColor = BrickColor.new("Brick yellow")
- Part506.Anchored = true
- Part506.CanCollide = false
- Part506.FormFactor = Enum.FormFactor.Plate
- Part506.Size = Vector3.new(6, 0.400000006, 1)
- Part506.CFrame = CFrame.new(66.4000931, 10.1122255, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part506.BottomSurface = Enum.SurfaceType.Smooth
- Part506.TopSurface = Enum.SurfaceType.Smooth
- Part506.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part506.Position = Vector3.new(66.4000931, 10.1122255, -140.100006)
- Part506.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh507.Parent = Part506
- BlockMesh507.Offset = Vector3.new(0, -0.400000006, 1)
- Model508.Name = "Items"
- Model508.Parent = Model483
- Model509.Name = "Furnish"
- Model509.Parent = Model508
- Model510.Name = "Bed"
- Model510.Parent = Model509
- Part511.Name = "Pole"
- Part511.Parent = Model510
- Part511.BrickColor = BrickColor.new("Mid gray")
- Part511.Reflectance = 0.15000000596046
- Part511.Anchored = true
- Part511.CanCollide = false
- Part511.FormFactor = Enum.FormFactor.Symmetric
- Part511.Size = Vector3.new(1, 5, 1)
- Part511.CFrame = CFrame.new(58.9000702, 12.4121952, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part511.BottomSurface = Enum.SurfaceType.Smooth
- Part511.TopSurface = Enum.SurfaceType.Smooth
- Part511.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part511.Position = Vector3.new(58.9000702, 12.4121952, -140.100006)
- Part511.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh512.Parent = Part511
- CylinderMesh512.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh512.Scale = Vector3.new(0.5, 1, 0.5)
- Part513.Name = "Pole"
- Part513.Parent = Model510
- Part513.BrickColor = BrickColor.new("Mid gray")
- Part513.Reflectance = 0.15000000596046
- Part513.Anchored = true
- Part513.CanCollide = false
- Part513.FormFactor = Enum.FormFactor.Symmetric
- Part513.Size = Vector3.new(1, 5, 1)
- Part513.CFrame = CFrame.new(58.9000702, 12.4121952, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part513.BottomSurface = Enum.SurfaceType.Smooth
- Part513.TopSurface = Enum.SurfaceType.Smooth
- Part513.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part513.Position = Vector3.new(58.9000702, 12.4121952, -147.100006)
- Part513.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh514.Parent = Part513
- CylinderMesh514.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh514.Scale = Vector3.new(0.5, 1, 0.5)
- Part515.Name = "Pole"
- Part515.Parent = Model510
- Part515.BrickColor = BrickColor.new("Mid gray")
- Part515.Reflectance = 0.15000000596046
- Part515.Anchored = true
- Part515.CanCollide = false
- Part515.FormFactor = Enum.FormFactor.Symmetric
- Part515.Size = Vector3.new(1, 5, 1)
- Part515.CFrame = CFrame.new(62.9000702, 12.4121952, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part515.BottomSurface = Enum.SurfaceType.Smooth
- Part515.TopSurface = Enum.SurfaceType.Smooth
- Part515.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part515.Position = Vector3.new(62.9000702, 12.4121952, -147.100006)
- Part515.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh516.Parent = Part515
- CylinderMesh516.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh516.Scale = Vector3.new(0.5, 1, 0.5)
- Part517.Name = "Pole"
- Part517.Parent = Model510
- Part517.BrickColor = BrickColor.new("Mid gray")
- Part517.Reflectance = 0.15000000596046
- Part517.Anchored = true
- Part517.CanCollide = false
- Part517.FormFactor = Enum.FormFactor.Symmetric
- Part517.Size = Vector3.new(1, 5, 1)
- Part517.CFrame = CFrame.new(62.9000702, 12.4121952, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part517.BottomSurface = Enum.SurfaceType.Smooth
- Part517.TopSurface = Enum.SurfaceType.Smooth
- Part517.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part517.Position = Vector3.new(62.9000702, 12.4121952, -140.100006)
- Part517.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh518.Parent = Part517
- CylinderMesh518.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh518.Scale = Vector3.new(0.5, 1, 0.5)
- Part519.Parent = Model510
- Part519.BrickColor = BrickColor.new("Institutional white")
- Part519.Rotation = Vector3.new(-180, 0, -180)
- Part519.Anchored = true
- Part519.FormFactor = Enum.FormFactor.Symmetric
- Part519.Size = Vector3.new(3, 1, 6)
- Part519.CFrame = CFrame.new(60.9000702, 13.6121912, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part519.BottomSurface = Enum.SurfaceType.Smooth
- Part519.TopSurface = Enum.SurfaceType.Smooth
- Part519.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part519.Position = Vector3.new(60.9000702, 13.6121912, -143.600006)
- Part519.Orientation = Vector3.new(0, 180, 0)
- Part519.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh520.Parent = Part519
- BlockMesh520.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh520.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part521.Parent = Model510
- Part521.BrickColor = BrickColor.new("Institutional white")
- Part521.Rotation = Vector3.new(-180, 0, -180)
- Part521.Anchored = true
- Part521.FormFactor = Enum.FormFactor.Symmetric
- Part521.Size = Vector3.new(3, 1, 6)
- Part521.CFrame = CFrame.new(60.9000702, 10.4122276, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part521.BottomSurface = Enum.SurfaceType.Smooth
- Part521.TopSurface = Enum.SurfaceType.Smooth
- Part521.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part521.Position = Vector3.new(60.9000702, 10.4122276, -143.600006)
- Part521.Orientation = Vector3.new(0, 180, 0)
- Part521.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh522.Parent = Part521
- BlockMesh522.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh522.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model523.Name = "Toilet"
- Model523.Parent = Model509
- Part524.Parent = Model523
- Part524.BrickColor = BrickColor.new("Mid gray")
- Part524.Rotation = Vector3.new(0, -90, 0)
- Part524.Anchored = true
- Part524.FormFactor = Enum.FormFactor.Symmetric
- Part524.Size = Vector3.new(2, 3, 1)
- Part524.CFrame = CFrame.new(58.9000702, 12.4121952, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part524.BottomSurface = Enum.SurfaceType.Smooth
- Part524.TopSurface = Enum.SurfaceType.Smooth
- Part524.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part524.Position = Vector3.new(58.9000702, 12.4121952, -150.599976)
- Part524.Orientation = Vector3.new(0, -90, 0)
- Part524.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh525.Parent = Part524
- BlockMesh525.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh525.Scale = Vector3.new(1.5, 1, 1)
- Part526.Parent = Model523
- Part526.BrickColor = BrickColor.new("Mid gray")
- Part526.Rotation = Vector3.new(0, -90, 0)
- Part526.Anchored = true
- Part526.FormFactor = Enum.FormFactor.Symmetric
- Part526.Size = Vector3.new(2, 1, 3)
- Part526.CFrame = CFrame.new(59.9000931, 10.4122276, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part526.BottomSurface = Enum.SurfaceType.Smooth
- Part526.TopSurface = Enum.SurfaceType.Smooth
- Part526.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part526.Position = Vector3.new(59.9000931, 10.4122276, -150.599976)
- Part526.Orientation = Vector3.new(0, -90, 0)
- Part526.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh527.Parent = Part526
- Part528.Parent = Model523
- Part528.BrickColor = BrickColor.new("Light stone grey")
- Part528.Rotation = Vector3.new(0, -90, 0)
- Part528.Anchored = true
- Part528.FormFactor = Enum.FormFactor.Plate
- Part528.Size = Vector3.new(2, 0.400000006, 2)
- Part528.CFrame = CFrame.new(60.4000931, 11.1121931, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part528.BottomSurface = Enum.SurfaceType.Smooth
- Part528.TopSurface = Enum.SurfaceType.Smooth
- Part528.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part528.Position = Vector3.new(60.4000931, 11.1121931, -150.599976)
- Part528.Orientation = Vector3.new(0, -90, 0)
- Part528.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh529.Parent = Part528
- SpecialMesh529.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh529.MeshType = Enum.MeshType.Sphere
- SpecialMesh529.Scale = Vector3.new(1.5, 2, 2)
- Part530.Name = "Pole"
- Part530.Parent = Model509
- Part530.BrickColor = BrickColor.new("Mid gray")
- Part530.Reflectance = 0.15000000596046
- Part530.Rotation = Vector3.new(0, 0, -90)
- Part530.Anchored = true
- Part530.CanCollide = false
- Part530.FormFactor = Enum.FormFactor.Symmetric
- Part530.Size = Vector3.new(1, 12, 1)
- Part530.CFrame = CFrame.new(64.4000931, 13.4121952, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part530.BottomSurface = Enum.SurfaceType.Smooth
- Part530.TopSurface = Enum.SurfaceType.Smooth
- Part530.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part530.Position = Vector3.new(64.4000931, 13.4121952, -153.099976)
- Part530.Orientation = Vector3.new(0, 0, -90)
- Part530.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh531.Parent = Part530
- CylinderMesh531.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh531.Scale = Vector3.new(0.5, 1, 0.5)
- Model532.Name = "Functions"
- Model532.Parent = Model508
- Model533.Name = "Light"
- Model533.Parent = Model532
- Part534.Name = "Lightbulb"
- Part534.Parent = Model533
- Part534.Transparency = 0.5
- Part534.Rotation = Vector3.new(180, 90, 0)
- Part534.Anchored = true
- Part534.CanCollide = false
- Part534.FormFactor = Enum.FormFactor.Symmetric
- Part534.Size = Vector3.new(2, 1, 2)
- Part534.CFrame = CFrame.new(64.4000931, 18.6122532, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part534.BackSurface = Enum.SurfaceType.Weld
- Part534.BottomSurface = Enum.SurfaceType.Weld
- Part534.FrontSurface = Enum.SurfaceType.Weld
- Part534.LeftSurface = Enum.SurfaceType.Weld
- Part534.RightSurface = Enum.SurfaceType.Weld
- Part534.TopSurface = Enum.SurfaceType.Weld
- Part534.Position = Vector3.new(64.4000931, 18.6122532, -146.600006)
- Part534.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh535.Parent = Part534
- SpecialMesh535.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh535.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh535.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh535.MeshType = Enum.MeshType.FileMesh
- SpecialMesh535.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part536.Name = "Light"
- Part536.Parent = Model533
- Part536.BrickColor = BrickColor.new("Cool yellow")
- Part536.Transparency = 1
- Part536.Anchored = true
- Part536.CanCollide = false
- Part536.FormFactor = Enum.FormFactor.Symmetric
- Part536.Size = Vector3.new(2, 8, 2)
- Part536.CFrame = CFrame.new(64.4000931, 14.1121912, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part536.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part536.Position = Vector3.new(64.4000931, 14.1121912, -146.600006)
- Part536.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh537.Parent = Part536
- SpecialMesh537.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh537.Scale = Vector3.new(7, 13, 7)
- SpecialMesh537.MeshType = Enum.MeshType.FileMesh
- SpecialMesh537.Scale = Vector3.new(7, 13, 7)
- Script538.Name = "Function"
- Script538.Parent = Model533
- table.insert(cors,sandbox(Script538,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part539.Name = "LightSocket"
- Part539.Parent = Model533
- Part539.BrickColor = BrickColor.new("Dark stone grey")
- Part539.Anchored = true
- Part539.FormFactor = Enum.FormFactor.Symmetric
- Part539.Size = Vector3.new(2, 1, 2)
- Part539.CFrame = CFrame.new(64.4000931, 18.6122532, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part539.BottomSurface = Enum.SurfaceType.Smooth
- Part539.TopSurface = Enum.SurfaceType.Smooth
- Part539.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part539.Position = Vector3.new(64.4000931, 18.6122532, -146.600006)
- Part539.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh540.Parent = Part539
- CylinderMesh540.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh540.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh540.Scale = Vector3.new(1, 0.5, 1)
- Model541.Name = "Door"
- Model541.Parent = Model483
- Part542.Name = "Bar"
- Part542.Parent = Model541
- Part542.Reflectance = 0.15000000596046
- Part542.Anchored = true
- Part542.FormFactor = Enum.FormFactor.Symmetric
- Part542.Size = Vector3.new(1, 9, 1)
- Part542.CFrame = CFrame.new(68.9000854, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part542.BottomSurface = Enum.SurfaceType.Smooth
- Part542.TopSurface = Enum.SurfaceType.Smooth
- Part542.Position = Vector3.new(68.9000854, 14.0121956, -139.100006)
- CylinderMesh543.Parent = Part542
- CylinderMesh543.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh543.Scale = Vector3.new(0.5, 1, 1)
- Part544.Name = "Bar"
- Part544.Parent = Model541
- Part544.Reflectance = 0.15000000596046
- Part544.Anchored = true
- Part544.FormFactor = Enum.FormFactor.Symmetric
- Part544.Size = Vector3.new(1, 9, 1)
- Part544.CFrame = CFrame.new(67.9000702, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part544.BottomSurface = Enum.SurfaceType.Smooth
- Part544.TopSurface = Enum.SurfaceType.Smooth
- Part544.Position = Vector3.new(67.9000702, 14.0121956, -139.100006)
- CylinderMesh545.Parent = Part544
- CylinderMesh545.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh545.Scale = Vector3.new(0.5, 1, 1)
- Part546.Name = "Bar"
- Part546.Parent = Model541
- Part546.Reflectance = 0.15000000596046
- Part546.Anchored = true
- Part546.FormFactor = Enum.FormFactor.Symmetric
- Part546.Size = Vector3.new(1, 9, 1)
- Part546.CFrame = CFrame.new(66.9001007, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part546.BottomSurface = Enum.SurfaceType.Smooth
- Part546.TopSurface = Enum.SurfaceType.Smooth
- Part546.Position = Vector3.new(66.9001007, 14.0121956, -139.100006)
- CylinderMesh547.Parent = Part546
- CylinderMesh547.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh547.Scale = Vector3.new(0.5, 1, 1)
- Part548.Name = "Bar"
- Part548.Parent = Model541
- Part548.Reflectance = 0.15000000596046
- Part548.Anchored = true
- Part548.FormFactor = Enum.FormFactor.Symmetric
- Part548.Size = Vector3.new(1, 9, 1)
- Part548.CFrame = CFrame.new(65.9000931, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part548.BottomSurface = Enum.SurfaceType.Smooth
- Part548.TopSurface = Enum.SurfaceType.Smooth
- Part548.Position = Vector3.new(65.9000931, 14.0121956, -139.100006)
- CylinderMesh549.Parent = Part548
- CylinderMesh549.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh549.Scale = Vector3.new(0.5, 1, 1)
- Part550.Name = "Bar"
- Part550.Parent = Model541
- Part550.Reflectance = 0.15000000596046
- Part550.Anchored = true
- Part550.FormFactor = Enum.FormFactor.Symmetric
- Part550.Size = Vector3.new(1, 9, 1)
- Part550.CFrame = CFrame.new(64.9000931, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part550.BottomSurface = Enum.SurfaceType.Smooth
- Part550.TopSurface = Enum.SurfaceType.Smooth
- Part550.Position = Vector3.new(64.9000931, 14.0121956, -139.100006)
- CylinderMesh551.Parent = Part550
- CylinderMesh551.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh551.Scale = Vector3.new(0.5, 1, 1)
- Part552.Name = "Bar"
- Part552.Parent = Model541
- Part552.Reflectance = 0.15000000596046
- Part552.Anchored = true
- Part552.FormFactor = Enum.FormFactor.Symmetric
- Part552.Size = Vector3.new(1, 9, 1)
- Part552.CFrame = CFrame.new(63.9000931, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part552.BottomSurface = Enum.SurfaceType.Smooth
- Part552.TopSurface = Enum.SurfaceType.Smooth
- Part552.Position = Vector3.new(63.9000931, 14.0121956, -139.100006)
- CylinderMesh553.Parent = Part552
- CylinderMesh553.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh553.Scale = Vector3.new(0.5, 1, 1)
- Script554.Name = "Main"
- Script554.Parent = Model541
- table.insert(cors,sandbox(Script554,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part555.Name = "Button"
- Part555.Parent = Model541
- Part555.BrickColor = BrickColor.new("Really red")
- Part555.Reflectance = 0.20000000298023
- Part555.Transparency = 0.5
- Part555.Rotation = Vector3.new(90, 0, -180)
- Part555.Anchored = true
- Part555.FormFactor = Enum.FormFactor.Plate
- Part555.Size = Vector3.new(1, 0.400000006, 1)
- Part555.CFrame = CFrame.new(61.9000702, 14.0121851, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part555.BottomSurface = Enum.SurfaceType.Smooth
- Part555.TopSurface = Enum.SurfaceType.Smooth
- Part555.Color = Color3.new(1, 0, 0)
- Part555.Position = Vector3.new(61.9000702, 14.0121851, -138.399994)
- Part555.Orientation = Vector3.new(90, 180, 0)
- Part555.Color = Color3.new(1, 0, 0)
- BlockMesh556.Parent = Part555
- CylinderMesh557.Parent = Part555
- CylinderMesh557.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh557.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh557.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector558.Name = "Click"
- ClickDetector558.Parent = Part555
- Model559.Parent = Model1
- Model560.Name = "PrisonCell"
- Model560.Parent = Model559
- Model561.Name = "Exterior"
- Model561.Parent = Model560
- Model562.Name = "Top"
- Model562.Parent = Model561
- Part563.Name = "Ceiling"
- Part563.Parent = Model562
- Part563.BrickColor = BrickColor.new("Brick yellow")
- Part563.Anchored = true
- Part563.FormFactor = Enum.FormFactor.Plate
- Part563.Size = Vector3.new(12, 0.400000006, 14)
- Part563.CFrame = CFrame.new(162.399994, 19.312233, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part563.BottomSurface = Enum.SurfaceType.Smooth
- Part563.TopSurface = Enum.SurfaceType.Smooth
- Part563.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part563.Position = Vector3.new(162.399994, 19.312233, -146.600006)
- Part563.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh564.Parent = Part563
- Part565.Name = "Top"
- Part565.Parent = Model562
- Part565.BrickColor = BrickColor.new("Dark stone grey")
- Part565.Anchored = true
- Part565.FormFactor = Enum.FormFactor.Symmetric
- Part565.Size = Vector3.new(14, 1, 16)
- Part565.CFrame = CFrame.new(162.399994, 20.0122223, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part565.BottomSurface = Enum.SurfaceType.Smooth
- Part565.TopSurface = Enum.SurfaceType.Smooth
- Part565.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part565.Position = Vector3.new(162.399994, 20.0122223, -146.600006)
- Part565.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh566.Parent = Part565
- Model567.Name = "Walls"
- Model567.Parent = Model561
- Part568.Parent = Model567
- Part568.BrickColor = BrickColor.new("Dark stone grey")
- Part568.Anchored = true
- Part568.FormFactor = Enum.FormFactor.Symmetric
- Part568.Size = Vector3.new(6, 1, 1)
- Part568.CFrame = CFrame.new(164.399994, 19.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part568.BottomSurface = Enum.SurfaceType.Smooth
- Part568.TopSurface = Enum.SurfaceType.Smooth
- Part568.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part568.Position = Vector3.new(164.399994, 19.0121956, -139.100006)
- Part568.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh569.Parent = Part568
- Part570.Parent = Model567
- Part570.BrickColor = BrickColor.new("Dark stone grey")
- Part570.Anchored = true
- Part570.FormFactor = Enum.FormFactor.Symmetric
- Part570.Size = Vector3.new(6, 10, 1)
- Part570.CFrame = CFrame.new(158.399994, 14.5121851, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part570.BottomSurface = Enum.SurfaceType.Smooth
- Part570.TopSurface = Enum.SurfaceType.Smooth
- Part570.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part570.Position = Vector3.new(158.399994, 14.5121851, -139.100006)
- Part570.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh571.Parent = Part570
- Part572.Parent = Model567
- Part572.BrickColor = BrickColor.new("Dark stone grey")
- Part572.Rotation = Vector3.new(-180, 0, -180)
- Part572.Anchored = true
- Part572.FormFactor = Enum.FormFactor.Symmetric
- Part572.Size = Vector3.new(1, 10, 14)
- Part572.CFrame = CFrame.new(155.899994, 14.5121851, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part572.BottomSurface = Enum.SurfaceType.Smooth
- Part572.TopSurface = Enum.SurfaceType.Smooth
- Part572.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part572.Position = Vector3.new(155.899994, 14.5121851, -146.600006)
- Part572.Orientation = Vector3.new(0, 180, 0)
- Part572.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh573.Parent = Part572
- Part574.Parent = Model567
- Part574.BrickColor = BrickColor.new("Dark stone grey")
- Part574.Rotation = Vector3.new(0, -90, 0)
- Part574.Anchored = true
- Part574.FormFactor = Enum.FormFactor.Symmetric
- Part574.Size = Vector3.new(1, 10, 14)
- Part574.CFrame = CFrame.new(162.399994, 14.5121851, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part574.BottomSurface = Enum.SurfaceType.Smooth
- Part574.TopSurface = Enum.SurfaceType.Smooth
- Part574.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part574.Position = Vector3.new(162.399994, 14.5121851, -154.099976)
- Part574.Orientation = Vector3.new(0, -90, 0)
- Part574.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh575.Parent = Part574
- Part576.Parent = Model567
- Part576.BrickColor = BrickColor.new("Dark stone grey")
- Part576.Rotation = Vector3.new(-180, 0, -180)
- Part576.Anchored = true
- Part576.FormFactor = Enum.FormFactor.Symmetric
- Part576.Size = Vector3.new(1, 10, 14)
- Part576.CFrame = CFrame.new(168.899994, 14.5121851, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part576.BottomSurface = Enum.SurfaceType.Smooth
- Part576.TopSurface = Enum.SurfaceType.Smooth
- Part576.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part576.Position = Vector3.new(168.899994, 14.5121851, -146.600006)
- Part576.Orientation = Vector3.new(0, 180, 0)
- Part576.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh577.Parent = Part576
- Part578.Parent = Model567
- Part578.BrickColor = BrickColor.new("Dark stone grey")
- Part578.Rotation = Vector3.new(0, 90, 0)
- Part578.Anchored = true
- Part578.FormFactor = Enum.FormFactor.Symmetric
- Part578.Size = Vector3.new(1, 10, 2)
- Part578.CFrame = CFrame.new(168.399994, 14.5121851, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part578.BottomSurface = Enum.SurfaceType.Smooth
- Part578.TopSurface = Enum.SurfaceType.Smooth
- Part578.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part578.Position = Vector3.new(168.399994, 14.5121851, -139.100006)
- Part578.Orientation = Vector3.new(0, 90, 0)
- Part578.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh579.Parent = Part578
- Model580.Name = "Floor"
- Model580.Parent = Model561
- Part581.Name = "Floor"
- Part581.Parent = Model580
- Part581.BrickColor = BrickColor.new("Brick yellow")
- Part581.Anchored = true
- Part581.FormFactor = Enum.FormFactor.Plate
- Part581.Size = Vector3.new(12, 0.400000006, 14)
- Part581.CFrame = CFrame.new(162.399994, 9.71219158, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part581.BottomSurface = Enum.SurfaceType.Smooth
- Part581.TopSurface = Enum.SurfaceType.Smooth
- Part581.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part581.Position = Vector3.new(162.399994, 9.71219158, -146.600006)
- Part581.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh582.Parent = Part581
- Part583.Name = "Floor"
- Part583.Parent = Model580
- Part583.BrickColor = BrickColor.new("Brick yellow")
- Part583.Anchored = true
- Part583.CanCollide = false
- Part583.FormFactor = Enum.FormFactor.Plate
- Part583.Size = Vector3.new(6, 0.400000006, 1)
- Part583.CFrame = CFrame.new(164.399994, 10.1121836, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part583.BottomSurface = Enum.SurfaceType.Smooth
- Part583.TopSurface = Enum.SurfaceType.Smooth
- Part583.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part583.Position = Vector3.new(164.399994, 10.1121836, -140.100006)
- Part583.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh584.Parent = Part583
- BlockMesh584.Offset = Vector3.new(0, -0.400000006, 1)
- Model585.Name = "Items"
- Model585.Parent = Model560
- Model586.Name = "Furnish"
- Model586.Parent = Model585
- Model587.Name = "Bed"
- Model587.Parent = Model586
- Part588.Name = "Pole"
- Part588.Parent = Model587
- Part588.BrickColor = BrickColor.new("Mid gray")
- Part588.Reflectance = 0.15000000596046
- Part588.Anchored = true
- Part588.CanCollide = false
- Part588.FormFactor = Enum.FormFactor.Symmetric
- Part588.Size = Vector3.new(1, 5, 1)
- Part588.CFrame = CFrame.new(156.899994, 12.4121656, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part588.BottomSurface = Enum.SurfaceType.Smooth
- Part588.TopSurface = Enum.SurfaceType.Smooth
- Part588.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part588.Position = Vector3.new(156.899994, 12.4121656, -140.100006)
- Part588.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh589.Parent = Part588
- CylinderMesh589.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh589.Scale = Vector3.new(0.5, 1, 0.5)
- Part590.Name = "Pole"
- Part590.Parent = Model587
- Part590.BrickColor = BrickColor.new("Mid gray")
- Part590.Reflectance = 0.15000000596046
- Part590.Anchored = true
- Part590.CanCollide = false
- Part590.FormFactor = Enum.FormFactor.Symmetric
- Part590.Size = Vector3.new(1, 5, 1)
- Part590.CFrame = CFrame.new(156.899994, 12.4121656, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part590.BottomSurface = Enum.SurfaceType.Smooth
- Part590.TopSurface = Enum.SurfaceType.Smooth
- Part590.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part590.Position = Vector3.new(156.899994, 12.4121656, -147.100006)
- Part590.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh591.Parent = Part590
- CylinderMesh591.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh591.Scale = Vector3.new(0.5, 1, 0.5)
- Part592.Name = "Pole"
- Part592.Parent = Model587
- Part592.BrickColor = BrickColor.new("Mid gray")
- Part592.Reflectance = 0.15000000596046
- Part592.Anchored = true
- Part592.CanCollide = false
- Part592.FormFactor = Enum.FormFactor.Symmetric
- Part592.Size = Vector3.new(1, 5, 1)
- Part592.CFrame = CFrame.new(160.899994, 12.4121656, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part592.BottomSurface = Enum.SurfaceType.Smooth
- Part592.TopSurface = Enum.SurfaceType.Smooth
- Part592.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part592.Position = Vector3.new(160.899994, 12.4121656, -147.100006)
- Part592.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh593.Parent = Part592
- CylinderMesh593.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh593.Scale = Vector3.new(0.5, 1, 0.5)
- Part594.Name = "Pole"
- Part594.Parent = Model587
- Part594.BrickColor = BrickColor.new("Mid gray")
- Part594.Reflectance = 0.15000000596046
- Part594.Anchored = true
- Part594.CanCollide = false
- Part594.FormFactor = Enum.FormFactor.Symmetric
- Part594.Size = Vector3.new(1, 5, 1)
- Part594.CFrame = CFrame.new(160.899994, 12.4121656, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part594.BottomSurface = Enum.SurfaceType.Smooth
- Part594.TopSurface = Enum.SurfaceType.Smooth
- Part594.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part594.Position = Vector3.new(160.899994, 12.4121656, -140.100006)
- Part594.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh595.Parent = Part594
- CylinderMesh595.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh595.Scale = Vector3.new(0.5, 1, 0.5)
- Part596.Parent = Model587
- Part596.BrickColor = BrickColor.new("Institutional white")
- Part596.Rotation = Vector3.new(-180, 0, -180)
- Part596.Anchored = true
- Part596.FormFactor = Enum.FormFactor.Symmetric
- Part596.Size = Vector3.new(3, 1, 6)
- Part596.CFrame = CFrame.new(158.899994, 13.6121836, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part596.BottomSurface = Enum.SurfaceType.Smooth
- Part596.TopSurface = Enum.SurfaceType.Smooth
- Part596.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part596.Position = Vector3.new(158.899994, 13.6121836, -143.600006)
- Part596.Orientation = Vector3.new(0, 180, 0)
- Part596.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh597.Parent = Part596
- BlockMesh597.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh597.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part598.Parent = Model587
- Part598.BrickColor = BrickColor.new("Institutional white")
- Part598.Rotation = Vector3.new(-180, 0, -180)
- Part598.Anchored = true
- Part598.FormFactor = Enum.FormFactor.Symmetric
- Part598.Size = Vector3.new(3, 1, 6)
- Part598.CFrame = CFrame.new(158.899994, 10.4121914, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part598.BottomSurface = Enum.SurfaceType.Smooth
- Part598.TopSurface = Enum.SurfaceType.Smooth
- Part598.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part598.Position = Vector3.new(158.899994, 10.4121914, -143.600006)
- Part598.Orientation = Vector3.new(0, 180, 0)
- Part598.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh599.Parent = Part598
- BlockMesh599.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh599.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model600.Name = "Toilet"
- Model600.Parent = Model586
- Part601.Parent = Model600
- Part601.BrickColor = BrickColor.new("Mid gray")
- Part601.Rotation = Vector3.new(0, -90, 0)
- Part601.Anchored = true
- Part601.FormFactor = Enum.FormFactor.Symmetric
- Part601.Size = Vector3.new(2, 3, 1)
- Part601.CFrame = CFrame.new(156.899994, 12.4121656, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part601.BottomSurface = Enum.SurfaceType.Smooth
- Part601.TopSurface = Enum.SurfaceType.Smooth
- Part601.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part601.Position = Vector3.new(156.899994, 12.4121656, -150.599976)
- Part601.Orientation = Vector3.new(0, -90, 0)
- Part601.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh602.Parent = Part601
- BlockMesh602.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh602.Scale = Vector3.new(1.5, 1, 1)
- Part603.Parent = Model600
- Part603.BrickColor = BrickColor.new("Mid gray")
- Part603.Rotation = Vector3.new(0, -90, 0)
- Part603.Anchored = true
- Part603.FormFactor = Enum.FormFactor.Symmetric
- Part603.Size = Vector3.new(2, 1, 3)
- Part603.CFrame = CFrame.new(157.899994, 10.4121914, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part603.BottomSurface = Enum.SurfaceType.Smooth
- Part603.TopSurface = Enum.SurfaceType.Smooth
- Part603.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part603.Position = Vector3.new(157.899994, 10.4121914, -150.599976)
- Part603.Orientation = Vector3.new(0, -90, 0)
- Part603.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh604.Parent = Part603
- Part605.Parent = Model600
- Part605.BrickColor = BrickColor.new("Light stone grey")
- Part605.Rotation = Vector3.new(0, -90, 0)
- Part605.Anchored = true
- Part605.FormFactor = Enum.FormFactor.Plate
- Part605.Size = Vector3.new(2, 0.400000006, 2)
- Part605.CFrame = CFrame.new(158.399994, 11.1121693, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part605.BottomSurface = Enum.SurfaceType.Smooth
- Part605.TopSurface = Enum.SurfaceType.Smooth
- Part605.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part605.Position = Vector3.new(158.399994, 11.1121693, -150.599976)
- Part605.Orientation = Vector3.new(0, -90, 0)
- Part605.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh606.Parent = Part605
- SpecialMesh606.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh606.MeshType = Enum.MeshType.Sphere
- SpecialMesh606.Scale = Vector3.new(1.5, 2, 2)
- Part607.Name = "Pole"
- Part607.Parent = Model586
- Part607.BrickColor = BrickColor.new("Mid gray")
- Part607.Reflectance = 0.15000000596046
- Part607.Rotation = Vector3.new(0, 0, -90)
- Part607.Anchored = true
- Part607.CanCollide = false
- Part607.FormFactor = Enum.FormFactor.Symmetric
- Part607.Size = Vector3.new(1, 12, 1)
- Part607.CFrame = CFrame.new(162.399994, 13.4121876, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part607.BottomSurface = Enum.SurfaceType.Smooth
- Part607.TopSurface = Enum.SurfaceType.Smooth
- Part607.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part607.Position = Vector3.new(162.399994, 13.4121876, -153.099976)
- Part607.Orientation = Vector3.new(0, 0, -90)
- Part607.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh608.Parent = Part607
- CylinderMesh608.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh608.Scale = Vector3.new(0.5, 1, 0.5)
- Model609.Name = "Functions"
- Model609.Parent = Model585
- Model610.Name = "Light"
- Model610.Parent = Model609
- Part611.Name = "Lightbulb"
- Part611.Parent = Model610
- Part611.Transparency = 0.5
- Part611.Rotation = Vector3.new(180, 90, 0)
- Part611.Anchored = true
- Part611.CanCollide = false
- Part611.FormFactor = Enum.FormFactor.Symmetric
- Part611.Size = Vector3.new(2, 1, 2)
- Part611.CFrame = CFrame.new(162.399994, 18.6122074, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part611.BackSurface = Enum.SurfaceType.Weld
- Part611.BottomSurface = Enum.SurfaceType.Weld
- Part611.FrontSurface = Enum.SurfaceType.Weld
- Part611.LeftSurface = Enum.SurfaceType.Weld
- Part611.RightSurface = Enum.SurfaceType.Weld
- Part611.TopSurface = Enum.SurfaceType.Weld
- Part611.Position = Vector3.new(162.399994, 18.6122074, -146.600006)
- Part611.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh612.Parent = Part611
- SpecialMesh612.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh612.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh612.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh612.MeshType = Enum.MeshType.FileMesh
- SpecialMesh612.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part613.Name = "Light"
- Part613.Parent = Model610
- Part613.BrickColor = BrickColor.new("Cool yellow")
- Part613.Transparency = 1
- Part613.Anchored = true
- Part613.CanCollide = false
- Part613.FormFactor = Enum.FormFactor.Symmetric
- Part613.Size = Vector3.new(2, 8, 2)
- Part613.CFrame = CFrame.new(162.399994, 14.1121836, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part613.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part613.Position = Vector3.new(162.399994, 14.1121836, -146.600006)
- Part613.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh614.Parent = Part613
- SpecialMesh614.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh614.Scale = Vector3.new(7, 13, 7)
- SpecialMesh614.MeshType = Enum.MeshType.FileMesh
- SpecialMesh614.Scale = Vector3.new(7, 13, 7)
- Script615.Name = "Function"
- Script615.Parent = Model610
- table.insert(cors,sandbox(Script615,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part616.Name = "LightSocket"
- Part616.Parent = Model610
- Part616.BrickColor = BrickColor.new("Dark stone grey")
- Part616.Anchored = true
- Part616.FormFactor = Enum.FormFactor.Symmetric
- Part616.Size = Vector3.new(2, 1, 2)
- Part616.CFrame = CFrame.new(162.399994, 18.6122074, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part616.BottomSurface = Enum.SurfaceType.Smooth
- Part616.TopSurface = Enum.SurfaceType.Smooth
- Part616.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part616.Position = Vector3.new(162.399994, 18.6122074, -146.600006)
- Part616.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh617.Parent = Part616
- CylinderMesh617.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh617.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh617.Scale = Vector3.new(1, 0.5, 1)
- Model618.Name = "Door"
- Model618.Parent = Model560
- Part619.Name = "Bar"
- Part619.Parent = Model618
- Part619.Reflectance = 0.15000000596046
- Part619.Anchored = true
- Part619.FormFactor = Enum.FormFactor.Symmetric
- Part619.Size = Vector3.new(1, 9, 1)
- Part619.CFrame = CFrame.new(166.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part619.BottomSurface = Enum.SurfaceType.Smooth
- Part619.TopSurface = Enum.SurfaceType.Smooth
- Part619.Position = Vector3.new(166.899994, 14.0121794, -139.100006)
- CylinderMesh620.Parent = Part619
- CylinderMesh620.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh620.Scale = Vector3.new(0.5, 1, 1)
- Part621.Name = "Bar"
- Part621.Parent = Model618
- Part621.Reflectance = 0.15000000596046
- Part621.Anchored = true
- Part621.FormFactor = Enum.FormFactor.Symmetric
- Part621.Size = Vector3.new(1, 9, 1)
- Part621.CFrame = CFrame.new(165.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part621.BottomSurface = Enum.SurfaceType.Smooth
- Part621.TopSurface = Enum.SurfaceType.Smooth
- Part621.Position = Vector3.new(165.899994, 14.0121794, -139.100006)
- CylinderMesh622.Parent = Part621
- CylinderMesh622.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh622.Scale = Vector3.new(0.5, 1, 1)
- Part623.Name = "Bar"
- Part623.Parent = Model618
- Part623.Reflectance = 0.15000000596046
- Part623.Anchored = true
- Part623.FormFactor = Enum.FormFactor.Symmetric
- Part623.Size = Vector3.new(1, 9, 1)
- Part623.CFrame = CFrame.new(164.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part623.BottomSurface = Enum.SurfaceType.Smooth
- Part623.TopSurface = Enum.SurfaceType.Smooth
- Part623.Position = Vector3.new(164.899994, 14.0121794, -139.100006)
- CylinderMesh624.Parent = Part623
- CylinderMesh624.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh624.Scale = Vector3.new(0.5, 1, 1)
- Part625.Name = "Bar"
- Part625.Parent = Model618
- Part625.Reflectance = 0.15000000596046
- Part625.Anchored = true
- Part625.FormFactor = Enum.FormFactor.Symmetric
- Part625.Size = Vector3.new(1, 9, 1)
- Part625.CFrame = CFrame.new(163.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part625.BottomSurface = Enum.SurfaceType.Smooth
- Part625.TopSurface = Enum.SurfaceType.Smooth
- Part625.Position = Vector3.new(163.899994, 14.0121794, -139.100006)
- CylinderMesh626.Parent = Part625
- CylinderMesh626.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh626.Scale = Vector3.new(0.5, 1, 1)
- Part627.Name = "Bar"
- Part627.Parent = Model618
- Part627.Reflectance = 0.15000000596046
- Part627.Anchored = true
- Part627.FormFactor = Enum.FormFactor.Symmetric
- Part627.Size = Vector3.new(1, 9, 1)
- Part627.CFrame = CFrame.new(162.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part627.BottomSurface = Enum.SurfaceType.Smooth
- Part627.TopSurface = Enum.SurfaceType.Smooth
- Part627.Position = Vector3.new(162.899994, 14.0121794, -139.100006)
- CylinderMesh628.Parent = Part627
- CylinderMesh628.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh628.Scale = Vector3.new(0.5, 1, 1)
- Part629.Name = "Bar"
- Part629.Parent = Model618
- Part629.Reflectance = 0.15000000596046
- Part629.Anchored = true
- Part629.FormFactor = Enum.FormFactor.Symmetric
- Part629.Size = Vector3.new(1, 9, 1)
- Part629.CFrame = CFrame.new(161.899994, 14.0121794, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part629.BottomSurface = Enum.SurfaceType.Smooth
- Part629.TopSurface = Enum.SurfaceType.Smooth
- Part629.Position = Vector3.new(161.899994, 14.0121794, -139.100006)
- CylinderMesh630.Parent = Part629
- CylinderMesh630.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh630.Scale = Vector3.new(0.5, 1, 1)
- Script631.Name = "Main"
- Script631.Parent = Model618
- table.insert(cors,sandbox(Script631,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part632.Name = "Button"
- Part632.Parent = Model618
- Part632.BrickColor = BrickColor.new("Really red")
- Part632.Reflectance = 0.20000000298023
- Part632.Transparency = 0.5
- Part632.Rotation = Vector3.new(90, 0, -180)
- Part632.Anchored = true
- Part632.FormFactor = Enum.FormFactor.Plate
- Part632.Size = Vector3.new(1, 0.400000006, 1)
- Part632.CFrame = CFrame.new(159.899994, 14.0121574, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part632.BottomSurface = Enum.SurfaceType.Smooth
- Part632.TopSurface = Enum.SurfaceType.Smooth
- Part632.Color = Color3.new(1, 0, 0)
- Part632.Position = Vector3.new(159.899994, 14.0121574, -138.399994)
- Part632.Orientation = Vector3.new(90, 180, 0)
- Part632.Color = Color3.new(1, 0, 0)
- BlockMesh633.Parent = Part632
- CylinderMesh634.Parent = Part632
- CylinderMesh634.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh634.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh634.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector635.Name = "Click"
- ClickDetector635.Parent = Part632
- Model636.Parent = Model1
- Model637.Name = "PrisonCell"
- Model637.Parent = Model636
- Model638.Name = "Exterior"
- Model638.Parent = Model637
- Model639.Name = "Top"
- Model639.Parent = Model638
- Part640.Name = "Ceiling"
- Part640.Parent = Model639
- Part640.BrickColor = BrickColor.new("Brick yellow")
- Part640.Anchored = true
- Part640.FormFactor = Enum.FormFactor.Plate
- Part640.Size = Vector3.new(12, 0.400000006, 14)
- Part640.CFrame = CFrame.new(134.399994, 19.5121784, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part640.BottomSurface = Enum.SurfaceType.Smooth
- Part640.TopSurface = Enum.SurfaceType.Smooth
- Part640.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part640.Position = Vector3.new(134.399994, 19.5121784, -146.600006)
- Part640.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh641.Parent = Part640
- Part642.Name = "Top"
- Part642.Parent = Model639
- Part642.BrickColor = BrickColor.new("Dark stone grey")
- Part642.Anchored = true
- Part642.FormFactor = Enum.FormFactor.Symmetric
- Part642.Size = Vector3.new(14, 1, 16)
- Part642.CFrame = CFrame.new(134.399994, 20.2121735, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part642.BottomSurface = Enum.SurfaceType.Smooth
- Part642.TopSurface = Enum.SurfaceType.Smooth
- Part642.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part642.Position = Vector3.new(134.399994, 20.2121735, -146.600006)
- Part642.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh643.Parent = Part642
- Model644.Name = "Walls"
- Model644.Parent = Model638
- Part645.Parent = Model644
- Part645.BrickColor = BrickColor.new("Dark stone grey")
- Part645.Anchored = true
- Part645.FormFactor = Enum.FormFactor.Symmetric
- Part645.Size = Vector3.new(6, 1, 1)
- Part645.CFrame = CFrame.new(136.399979, 19.2121506, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part645.BottomSurface = Enum.SurfaceType.Smooth
- Part645.TopSurface = Enum.SurfaceType.Smooth
- Part645.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part645.Position = Vector3.new(136.399979, 19.2121506, -139.100006)
- Part645.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh646.Parent = Part645
- Part647.Parent = Model644
- Part647.BrickColor = BrickColor.new("Dark stone grey")
- Part647.Anchored = true
- Part647.FormFactor = Enum.FormFactor.Symmetric
- Part647.Size = Vector3.new(6, 10, 1)
- Part647.CFrame = CFrame.new(130.399994, 14.7121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part647.BottomSurface = Enum.SurfaceType.Smooth
- Part647.TopSurface = Enum.SurfaceType.Smooth
- Part647.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part647.Position = Vector3.new(130.399994, 14.7121296, -139.100006)
- Part647.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh648.Parent = Part647
- Part649.Parent = Model644
- Part649.BrickColor = BrickColor.new("Dark stone grey")
- Part649.Rotation = Vector3.new(-180, 0, -180)
- Part649.Anchored = true
- Part649.FormFactor = Enum.FormFactor.Symmetric
- Part649.Size = Vector3.new(1, 10, 14)
- Part649.CFrame = CFrame.new(127.899986, 14.7121296, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part649.BottomSurface = Enum.SurfaceType.Smooth
- Part649.TopSurface = Enum.SurfaceType.Smooth
- Part649.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part649.Position = Vector3.new(127.899986, 14.7121296, -146.600006)
- Part649.Orientation = Vector3.new(0, 180, 0)
- Part649.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh650.Parent = Part649
- Part651.Parent = Model644
- Part651.BrickColor = BrickColor.new("Dark stone grey")
- Part651.Rotation = Vector3.new(0, -90, 0)
- Part651.Anchored = true
- Part651.FormFactor = Enum.FormFactor.Symmetric
- Part651.Size = Vector3.new(1, 10, 14)
- Part651.CFrame = CFrame.new(134.399994, 14.7121296, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part651.BottomSurface = Enum.SurfaceType.Smooth
- Part651.TopSurface = Enum.SurfaceType.Smooth
- Part651.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part651.Position = Vector3.new(134.399994, 14.7121296, -154.099976)
- Part651.Orientation = Vector3.new(0, -90, 0)
- Part651.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh652.Parent = Part651
- Part653.Parent = Model644
- Part653.BrickColor = BrickColor.new("Dark stone grey")
- Part653.Rotation = Vector3.new(-180, 0, -180)
- Part653.Anchored = true
- Part653.FormFactor = Enum.FormFactor.Symmetric
- Part653.Size = Vector3.new(1, 10, 14)
- Part653.CFrame = CFrame.new(140.899979, 14.7121296, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part653.BottomSurface = Enum.SurfaceType.Smooth
- Part653.TopSurface = Enum.SurfaceType.Smooth
- Part653.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part653.Position = Vector3.new(140.899979, 14.7121296, -146.600006)
- Part653.Orientation = Vector3.new(0, 180, 0)
- Part653.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh654.Parent = Part653
- Part655.Parent = Model644
- Part655.BrickColor = BrickColor.new("Dark stone grey")
- Part655.Rotation = Vector3.new(0, 90, 0)
- Part655.Anchored = true
- Part655.FormFactor = Enum.FormFactor.Symmetric
- Part655.Size = Vector3.new(1, 10, 2)
- Part655.CFrame = CFrame.new(140.399979, 14.7121296, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part655.BottomSurface = Enum.SurfaceType.Smooth
- Part655.TopSurface = Enum.SurfaceType.Smooth
- Part655.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part655.Position = Vector3.new(140.399979, 14.7121296, -139.100006)
- Part655.Orientation = Vector3.new(0, 90, 0)
- Part655.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh656.Parent = Part655
- Model657.Name = "Floor"
- Model657.Parent = Model638
- Part658.Name = "Floor"
- Part658.Parent = Model657
- Part658.BrickColor = BrickColor.new("Brick yellow")
- Part658.Anchored = true
- Part658.FormFactor = Enum.FormFactor.Plate
- Part658.Size = Vector3.new(12, 0.400000006, 14)
- Part658.CFrame = CFrame.new(134.399994, 9.91214943, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part658.BottomSurface = Enum.SurfaceType.Smooth
- Part658.TopSurface = Enum.SurfaceType.Smooth
- Part658.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part658.Position = Vector3.new(134.399994, 9.91214943, -146.600006)
- Part658.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh659.Parent = Part658
- Part660.Name = "Floor"
- Part660.Parent = Model657
- Part660.BrickColor = BrickColor.new("Brick yellow")
- Part660.Anchored = true
- Part660.CanCollide = false
- Part660.FormFactor = Enum.FormFactor.Plate
- Part660.Size = Vector3.new(6, 0.400000006, 1)
- Part660.CFrame = CFrame.new(136.399979, 10.3121414, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part660.BottomSurface = Enum.SurfaceType.Smooth
- Part660.TopSurface = Enum.SurfaceType.Smooth
- Part660.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part660.Position = Vector3.new(136.399979, 10.3121414, -140.100006)
- Part660.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh661.Parent = Part660
- BlockMesh661.Offset = Vector3.new(0, -0.400000006, 1)
- Model662.Name = "Items"
- Model662.Parent = Model637
- Model663.Name = "Furnish"
- Model663.Parent = Model662
- Model664.Name = "Bed"
- Model664.Parent = Model663
- Part665.Name = "Pole"
- Part665.Parent = Model664
- Part665.BrickColor = BrickColor.new("Mid gray")
- Part665.Reflectance = 0.15000000596046
- Part665.Anchored = true
- Part665.CanCollide = false
- Part665.FormFactor = Enum.FormFactor.Symmetric
- Part665.Size = Vector3.new(1, 5, 1)
- Part665.CFrame = CFrame.new(128.899994, 12.612134, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part665.BottomSurface = Enum.SurfaceType.Smooth
- Part665.TopSurface = Enum.SurfaceType.Smooth
- Part665.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part665.Position = Vector3.new(128.899994, 12.612134, -140.100006)
- Part665.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh666.Parent = Part665
- CylinderMesh666.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh666.Scale = Vector3.new(0.5, 1, 0.5)
- Part667.Name = "Pole"
- Part667.Parent = Model664
- Part667.BrickColor = BrickColor.new("Mid gray")
- Part667.Reflectance = 0.15000000596046
- Part667.Anchored = true
- Part667.CanCollide = false
- Part667.FormFactor = Enum.FormFactor.Symmetric
- Part667.Size = Vector3.new(1, 5, 1)
- Part667.CFrame = CFrame.new(128.899994, 12.612134, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part667.BottomSurface = Enum.SurfaceType.Smooth
- Part667.TopSurface = Enum.SurfaceType.Smooth
- Part667.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part667.Position = Vector3.new(128.899994, 12.612134, -147.100006)
- Part667.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh668.Parent = Part667
- CylinderMesh668.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh668.Scale = Vector3.new(0.5, 1, 0.5)
- Part669.Name = "Pole"
- Part669.Parent = Model664
- Part669.BrickColor = BrickColor.new("Mid gray")
- Part669.Reflectance = 0.15000000596046
- Part669.Anchored = true
- Part669.CanCollide = false
- Part669.FormFactor = Enum.FormFactor.Symmetric
- Part669.Size = Vector3.new(1, 5, 1)
- Part669.CFrame = CFrame.new(132.899994, 12.612134, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part669.BottomSurface = Enum.SurfaceType.Smooth
- Part669.TopSurface = Enum.SurfaceType.Smooth
- Part669.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part669.Position = Vector3.new(132.899994, 12.612134, -147.100006)
- Part669.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh670.Parent = Part669
- CylinderMesh670.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh670.Scale = Vector3.new(0.5, 1, 0.5)
- Part671.Name = "Pole"
- Part671.Parent = Model664
- Part671.BrickColor = BrickColor.new("Mid gray")
- Part671.Reflectance = 0.15000000596046
- Part671.Anchored = true
- Part671.CanCollide = false
- Part671.FormFactor = Enum.FormFactor.Symmetric
- Part671.Size = Vector3.new(1, 5, 1)
- Part671.CFrame = CFrame.new(132.899994, 12.612134, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part671.BottomSurface = Enum.SurfaceType.Smooth
- Part671.TopSurface = Enum.SurfaceType.Smooth
- Part671.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part671.Position = Vector3.new(132.899994, 12.612134, -140.100006)
- Part671.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh672.Parent = Part671
- CylinderMesh672.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh672.Scale = Vector3.new(0.5, 1, 0.5)
- Part673.Parent = Model664
- Part673.BrickColor = BrickColor.new("Institutional white")
- Part673.Rotation = Vector3.new(-180, 0, -180)
- Part673.Anchored = true
- Part673.FormFactor = Enum.FormFactor.Symmetric
- Part673.Size = Vector3.new(3, 1, 6)
- Part673.CFrame = CFrame.new(130.899994, 13.8121376, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part673.BottomSurface = Enum.SurfaceType.Smooth
- Part673.TopSurface = Enum.SurfaceType.Smooth
- Part673.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part673.Position = Vector3.new(130.899994, 13.8121376, -143.600006)
- Part673.Orientation = Vector3.new(0, 180, 0)
- Part673.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh674.Parent = Part673
- BlockMesh674.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh674.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part675.Parent = Model664
- Part675.BrickColor = BrickColor.new("Institutional white")
- Part675.Rotation = Vector3.new(-180, 0, -180)
- Part675.Anchored = true
- Part675.FormFactor = Enum.FormFactor.Symmetric
- Part675.Size = Vector3.new(3, 1, 6)
- Part675.CFrame = CFrame.new(130.899994, 10.6121454, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part675.BottomSurface = Enum.SurfaceType.Smooth
- Part675.TopSurface = Enum.SurfaceType.Smooth
- Part675.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part675.Position = Vector3.new(130.899994, 10.6121454, -143.600006)
- Part675.Orientation = Vector3.new(0, 180, 0)
- Part675.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh676.Parent = Part675
- BlockMesh676.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh676.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model677.Name = "Toilet"
- Model677.Parent = Model663
- Part678.Parent = Model677
- Part678.BrickColor = BrickColor.new("Mid gray")
- Part678.Rotation = Vector3.new(0, -90, 0)
- Part678.Anchored = true
- Part678.FormFactor = Enum.FormFactor.Symmetric
- Part678.Size = Vector3.new(2, 3, 1)
- Part678.CFrame = CFrame.new(128.899994, 12.612134, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part678.BottomSurface = Enum.SurfaceType.Smooth
- Part678.TopSurface = Enum.SurfaceType.Smooth
- Part678.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part678.Position = Vector3.new(128.899994, 12.612134, -150.599976)
- Part678.Orientation = Vector3.new(0, -90, 0)
- Part678.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh679.Parent = Part678
- BlockMesh679.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh679.Scale = Vector3.new(1.5, 1, 1)
- Part680.Parent = Model677
- Part680.BrickColor = BrickColor.new("Mid gray")
- Part680.Rotation = Vector3.new(0, -90, 0)
- Part680.Anchored = true
- Part680.FormFactor = Enum.FormFactor.Symmetric
- Part680.Size = Vector3.new(2, 1, 3)
- Part680.CFrame = CFrame.new(129.899994, 10.6121454, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part680.BottomSurface = Enum.SurfaceType.Smooth
- Part680.TopSurface = Enum.SurfaceType.Smooth
- Part680.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part680.Position = Vector3.new(129.899994, 10.6121454, -150.599976)
- Part680.Orientation = Vector3.new(0, -90, 0)
- Part680.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh681.Parent = Part680
- Part682.Parent = Model677
- Part682.BrickColor = BrickColor.new("Light stone grey")
- Part682.Rotation = Vector3.new(0, -90, 0)
- Part682.Anchored = true
- Part682.FormFactor = Enum.FormFactor.Plate
- Part682.Size = Vector3.new(2, 0.400000006, 2)
- Part682.CFrame = CFrame.new(130.399994, 11.3121271, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part682.BottomSurface = Enum.SurfaceType.Smooth
- Part682.TopSurface = Enum.SurfaceType.Smooth
- Part682.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part682.Position = Vector3.new(130.399994, 11.3121271, -150.599976)
- Part682.Orientation = Vector3.new(0, -90, 0)
- Part682.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh683.Parent = Part682
- SpecialMesh683.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh683.MeshType = Enum.MeshType.Sphere
- SpecialMesh683.Scale = Vector3.new(1.5, 2, 2)
- Part684.Name = "Pole"
- Part684.Parent = Model663
- Part684.BrickColor = BrickColor.new("Mid gray")
- Part684.Reflectance = 0.15000000596046
- Part684.Rotation = Vector3.new(0, 0, -90)
- Part684.Anchored = true
- Part684.CanCollide = false
- Part684.FormFactor = Enum.FormFactor.Symmetric
- Part684.Size = Vector3.new(1, 12, 1)
- Part684.CFrame = CFrame.new(134.399994, 13.612134, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part684.BottomSurface = Enum.SurfaceType.Smooth
- Part684.TopSurface = Enum.SurfaceType.Smooth
- Part684.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part684.Position = Vector3.new(134.399994, 13.612134, -153.099976)
- Part684.Orientation = Vector3.new(0, 0, -90)
- Part684.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh685.Parent = Part684
- CylinderMesh685.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh685.Scale = Vector3.new(0.5, 1, 0.5)
- Model686.Name = "Functions"
- Model686.Parent = Model662
- Model687.Name = "Light"
- Model687.Parent = Model686
- Part688.Name = "Lightbulb"
- Part688.Parent = Model687
- Part688.Transparency = 0.5
- Part688.Rotation = Vector3.new(180, 90, 0)
- Part688.Anchored = true
- Part688.CanCollide = false
- Part688.FormFactor = Enum.FormFactor.Symmetric
- Part688.Size = Vector3.new(2, 1, 2)
- Part688.CFrame = CFrame.new(134.399994, 18.8121567, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- Part688.BackSurface = Enum.SurfaceType.Weld
- Part688.BottomSurface = Enum.SurfaceType.Weld
- Part688.FrontSurface = Enum.SurfaceType.Weld
- Part688.LeftSurface = Enum.SurfaceType.Weld
- Part688.RightSurface = Enum.SurfaceType.Weld
- Part688.TopSurface = Enum.SurfaceType.Weld
- Part688.Position = Vector3.new(134.399994, 18.8121567, -146.600006)
- Part688.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh689.Parent = Part688
- SpecialMesh689.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh689.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh689.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh689.MeshType = Enum.MeshType.FileMesh
- SpecialMesh689.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part690.Name = "Light"
- Part690.Parent = Model687
- Part690.BrickColor = BrickColor.new("Cool yellow")
- Part690.Transparency = 1
- Part690.Anchored = true
- Part690.CanCollide = false
- Part690.FormFactor = Enum.FormFactor.Symmetric
- Part690.Size = Vector3.new(2, 8, 2)
- Part690.CFrame = CFrame.new(134.399994, 14.3121271, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part690.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part690.Position = Vector3.new(134.399994, 14.3121271, -146.600006)
- Part690.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh691.Parent = Part690
- SpecialMesh691.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh691.Scale = Vector3.new(7, 13, 7)
- SpecialMesh691.MeshType = Enum.MeshType.FileMesh
- SpecialMesh691.Scale = Vector3.new(7, 13, 7)
- Script692.Name = "Function"
- Script692.Parent = Model687
- table.insert(cors,sandbox(Script692,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part693.Name = "LightSocket"
- Part693.Parent = Model687
- Part693.BrickColor = BrickColor.new("Dark stone grey")
- Part693.Anchored = true
- Part693.FormFactor = Enum.FormFactor.Symmetric
- Part693.Size = Vector3.new(2, 1, 2)
- Part693.CFrame = CFrame.new(134.399994, 18.8121567, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part693.BottomSurface = Enum.SurfaceType.Smooth
- Part693.TopSurface = Enum.SurfaceType.Smooth
- Part693.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part693.Position = Vector3.new(134.399994, 18.8121567, -146.600006)
- Part693.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh694.Parent = Part693
- CylinderMesh694.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh694.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh694.Scale = Vector3.new(1, 0.5, 1)
- Model695.Name = "Door"
- Model695.Parent = Model637
- Part696.Name = "Bar"
- Part696.Parent = Model695
- Part696.Reflectance = 0.15000000596046
- Part696.Anchored = true
- Part696.FormFactor = Enum.FormFactor.Symmetric
- Part696.Size = Vector3.new(1, 9, 1)
- Part696.CFrame = CFrame.new(138.899979, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part696.BottomSurface = Enum.SurfaceType.Smooth
- Part696.TopSurface = Enum.SurfaceType.Smooth
- Part696.Position = Vector3.new(138.899979, 14.2121296, -139.100006)
- CylinderMesh697.Parent = Part696
- CylinderMesh697.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh697.Scale = Vector3.new(0.5, 1, 1)
- Part698.Name = "Bar"
- Part698.Parent = Model695
- Part698.Reflectance = 0.15000000596046
- Part698.Anchored = true
- Part698.FormFactor = Enum.FormFactor.Symmetric
- Part698.Size = Vector3.new(1, 9, 1)
- Part698.CFrame = CFrame.new(137.899963, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part698.BottomSurface = Enum.SurfaceType.Smooth
- Part698.TopSurface = Enum.SurfaceType.Smooth
- Part698.Position = Vector3.new(137.899963, 14.2121296, -139.100006)
- CylinderMesh699.Parent = Part698
- CylinderMesh699.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh699.Scale = Vector3.new(0.5, 1, 1)
- Part700.Name = "Bar"
- Part700.Parent = Model695
- Part700.Reflectance = 0.15000000596046
- Part700.Anchored = true
- Part700.FormFactor = Enum.FormFactor.Symmetric
- Part700.Size = Vector3.new(1, 9, 1)
- Part700.CFrame = CFrame.new(136.899979, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part700.BottomSurface = Enum.SurfaceType.Smooth
- Part700.TopSurface = Enum.SurfaceType.Smooth
- Part700.Position = Vector3.new(136.899979, 14.2121296, -139.100006)
- CylinderMesh701.Parent = Part700
- CylinderMesh701.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh701.Scale = Vector3.new(0.5, 1, 1)
- Part702.Name = "Bar"
- Part702.Parent = Model695
- Part702.Reflectance = 0.15000000596046
- Part702.Anchored = true
- Part702.FormFactor = Enum.FormFactor.Symmetric
- Part702.Size = Vector3.new(1, 9, 1)
- Part702.CFrame = CFrame.new(135.899979, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part702.BottomSurface = Enum.SurfaceType.Smooth
- Part702.TopSurface = Enum.SurfaceType.Smooth
- Part702.Position = Vector3.new(135.899979, 14.2121296, -139.100006)
- CylinderMesh703.Parent = Part702
- CylinderMesh703.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh703.Scale = Vector3.new(0.5, 1, 1)
- Part704.Name = "Bar"
- Part704.Parent = Model695
- Part704.Reflectance = 0.15000000596046
- Part704.Anchored = true
- Part704.FormFactor = Enum.FormFactor.Symmetric
- Part704.Size = Vector3.new(1, 9, 1)
- Part704.CFrame = CFrame.new(134.899994, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part704.BottomSurface = Enum.SurfaceType.Smooth
- Part704.TopSurface = Enum.SurfaceType.Smooth
- Part704.Position = Vector3.new(134.899994, 14.2121296, -139.100006)
- CylinderMesh705.Parent = Part704
- CylinderMesh705.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh705.Scale = Vector3.new(0.5, 1, 1)
- Part706.Name = "Bar"
- Part706.Parent = Model695
- Part706.Reflectance = 0.15000000596046
- Part706.Anchored = true
- Part706.FormFactor = Enum.FormFactor.Symmetric
- Part706.Size = Vector3.new(1, 9, 1)
- Part706.CFrame = CFrame.new(133.899994, 14.2121296, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part706.BottomSurface = Enum.SurfaceType.Smooth
- Part706.TopSurface = Enum.SurfaceType.Smooth
- Part706.Position = Vector3.new(133.899994, 14.2121296, -139.100006)
- CylinderMesh707.Parent = Part706
- CylinderMesh707.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh707.Scale = Vector3.new(0.5, 1, 1)
- Script708.Name = "Main"
- Script708.Parent = Model695
- table.insert(cors,sandbox(Script708,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part709.Name = "Button"
- Part709.Parent = Model695
- Part709.BrickColor = BrickColor.new("Really red")
- Part709.Reflectance = 0.20000000298023
- Part709.Transparency = 0.5
- Part709.Rotation = Vector3.new(90, 0, -180)
- Part709.Anchored = true
- Part709.FormFactor = Enum.FormFactor.Plate
- Part709.Size = Vector3.new(1, 0.400000006, 1)
- Part709.CFrame = CFrame.new(131.899994, 14.2121134, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part709.BottomSurface = Enum.SurfaceType.Smooth
- Part709.TopSurface = Enum.SurfaceType.Smooth
- Part709.Color = Color3.new(1, 0, 0)
- Part709.Position = Vector3.new(131.899994, 14.2121134, -138.399994)
- Part709.Orientation = Vector3.new(90, 180, 0)
- Part709.Color = Color3.new(1, 0, 0)
- BlockMesh710.Parent = Part709
- CylinderMesh711.Parent = Part709
- CylinderMesh711.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh711.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh711.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector712.Name = "Click"
- ClickDetector712.Parent = Part709
- Model713.Parent = Model1
- Model714.Name = "PrisonCell"
- Model714.Parent = Model713
- Model715.Name = "Exterior"
- Model715.Parent = Model714
- Model716.Name = "Top"
- Model716.Parent = Model715
- Part717.Name = "Ceiling"
- Part717.Parent = Model716
- Part717.BrickColor = BrickColor.new("Brick yellow")
- Part717.Anchored = true
- Part717.FormFactor = Enum.FormFactor.Plate
- Part717.Size = Vector3.new(12, 0.400000006, 14)
- Part717.CFrame = CFrame.new(148.399994, 19.3122559, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part717.BottomSurface = Enum.SurfaceType.Smooth
- Part717.TopSurface = Enum.SurfaceType.Smooth
- Part717.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part717.Position = Vector3.new(148.399994, 19.3122559, -146.600006)
- Part717.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh718.Parent = Part717
- Part719.Name = "Top"
- Part719.Parent = Model716
- Part719.BrickColor = BrickColor.new("Dark stone grey")
- Part719.Anchored = true
- Part719.FormFactor = Enum.FormFactor.Symmetric
- Part719.Size = Vector3.new(14, 1, 16)
- Part719.CFrame = CFrame.new(148.399994, 20.0122395, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part719.BottomSurface = Enum.SurfaceType.Smooth
- Part719.TopSurface = Enum.SurfaceType.Smooth
- Part719.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part719.Position = Vector3.new(148.399994, 20.0122395, -146.600006)
- Part719.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh720.Parent = Part719
- Model721.Name = "Walls"
- Model721.Parent = Model715
- Part722.Parent = Model721
- Part722.BrickColor = BrickColor.new("Dark stone grey")
- Part722.Anchored = true
- Part722.FormFactor = Enum.FormFactor.Symmetric
- Part722.Size = Vector3.new(6, 1, 1)
- Part722.CFrame = CFrame.new(150.399994, 19.0122185, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part722.BottomSurface = Enum.SurfaceType.Smooth
- Part722.TopSurface = Enum.SurfaceType.Smooth
- Part722.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part722.Position = Vector3.new(150.399994, 19.0122185, -139.100006)
- Part722.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh723.Parent = Part722
- Part724.Parent = Model721
- Part724.BrickColor = BrickColor.new("Dark stone grey")
- Part724.Anchored = true
- Part724.FormFactor = Enum.FormFactor.Symmetric
- Part724.Size = Vector3.new(6, 10, 1)
- Part724.CFrame = CFrame.new(144.399994, 14.5121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part724.BottomSurface = Enum.SurfaceType.Smooth
- Part724.TopSurface = Enum.SurfaceType.Smooth
- Part724.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part724.Position = Vector3.new(144.399994, 14.5121956, -139.100006)
- Part724.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh725.Parent = Part724
- Part726.Parent = Model721
- Part726.BrickColor = BrickColor.new("Dark stone grey")
- Part726.Rotation = Vector3.new(-180, 0, -180)
- Part726.Anchored = true
- Part726.FormFactor = Enum.FormFactor.Symmetric
- Part726.Size = Vector3.new(1, 10, 14)
- Part726.CFrame = CFrame.new(141.899979, 14.5121956, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part726.BottomSurface = Enum.SurfaceType.Smooth
- Part726.TopSurface = Enum.SurfaceType.Smooth
- Part726.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part726.Position = Vector3.new(141.899979, 14.5121956, -146.600006)
- Part726.Orientation = Vector3.new(0, 180, 0)
- Part726.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh727.Parent = Part726
- Part728.Parent = Model721
- Part728.BrickColor = BrickColor.new("Dark stone grey")
- Part728.Rotation = Vector3.new(0, -90, 0)
- Part728.Anchored = true
- Part728.FormFactor = Enum.FormFactor.Symmetric
- Part728.Size = Vector3.new(1, 10, 14)
- Part728.CFrame = CFrame.new(148.399994, 14.5121956, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part728.BottomSurface = Enum.SurfaceType.Smooth
- Part728.TopSurface = Enum.SurfaceType.Smooth
- Part728.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part728.Position = Vector3.new(148.399994, 14.5121956, -154.099976)
- Part728.Orientation = Vector3.new(0, -90, 0)
- Part728.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh729.Parent = Part728
- Part730.Parent = Model721
- Part730.BrickColor = BrickColor.new("Dark stone grey")
- Part730.Rotation = Vector3.new(-180, 0, -180)
- Part730.Anchored = true
- Part730.FormFactor = Enum.FormFactor.Symmetric
- Part730.Size = Vector3.new(1, 10, 14)
- Part730.CFrame = CFrame.new(154.899979, 14.5121956, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part730.BottomSurface = Enum.SurfaceType.Smooth
- Part730.TopSurface = Enum.SurfaceType.Smooth
- Part730.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part730.Position = Vector3.new(154.899979, 14.5121956, -146.600006)
- Part730.Orientation = Vector3.new(0, 180, 0)
- Part730.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh731.Parent = Part730
- Part732.Parent = Model721
- Part732.BrickColor = BrickColor.new("Dark stone grey")
- Part732.Rotation = Vector3.new(0, 90, 0)
- Part732.Anchored = true
- Part732.FormFactor = Enum.FormFactor.Symmetric
- Part732.Size = Vector3.new(1, 10, 2)
- Part732.CFrame = CFrame.new(154.399979, 14.5121956, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part732.BottomSurface = Enum.SurfaceType.Smooth
- Part732.TopSurface = Enum.SurfaceType.Smooth
- Part732.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part732.Position = Vector3.new(154.399979, 14.5121956, -139.100006)
- Part732.Orientation = Vector3.new(0, 90, 0)
- Part732.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh733.Parent = Part732
- Model734.Name = "Floor"
- Model734.Parent = Model715
- Part735.Name = "Floor"
- Part735.Parent = Model734
- Part735.BrickColor = BrickColor.new("Brick yellow")
- Part735.Anchored = true
- Part735.FormFactor = Enum.FormFactor.Plate
- Part735.Size = Vector3.new(12, 0.400000006, 14)
- Part735.CFrame = CFrame.new(148.399994, 9.71221161, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part735.BottomSurface = Enum.SurfaceType.Smooth
- Part735.TopSurface = Enum.SurfaceType.Smooth
- Part735.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part735.Position = Vector3.new(148.399994, 9.71221161, -146.600006)
- Part735.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh736.Parent = Part735
- Part737.Name = "Floor"
- Part737.Parent = Model734
- Part737.BrickColor = BrickColor.new("Brick yellow")
- Part737.Anchored = true
- Part737.CanCollide = false
- Part737.FormFactor = Enum.FormFactor.Plate
- Part737.Size = Vector3.new(6, 0.400000006, 1)
- Part737.CFrame = CFrame.new(150.399994, 10.1122036, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part737.BottomSurface = Enum.SurfaceType.Smooth
- Part737.TopSurface = Enum.SurfaceType.Smooth
- Part737.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part737.Position = Vector3.new(150.399994, 10.1122036, -140.100006)
- Part737.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh738.Parent = Part737
- BlockMesh738.Offset = Vector3.new(0, -0.400000006, 1)
- Model739.Name = "Items"
- Model739.Parent = Model714
- Model740.Name = "Furnish"
- Model740.Parent = Model739
- Model741.Name = "Bed"
- Model741.Parent = Model740
- Part742.Name = "Pole"
- Part742.Parent = Model741
- Part742.BrickColor = BrickColor.new("Mid gray")
- Part742.Reflectance = 0.15000000596046
- Part742.Anchored = true
- Part742.CanCollide = false
- Part742.FormFactor = Enum.FormFactor.Symmetric
- Part742.Size = Vector3.new(1, 5, 1)
- Part742.CFrame = CFrame.new(142.899994, 12.4121876, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part742.BottomSurface = Enum.SurfaceType.Smooth
- Part742.TopSurface = Enum.SurfaceType.Smooth
- Part742.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part742.Position = Vector3.new(142.899994, 12.4121876, -140.100006)
- Part742.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh743.Parent = Part742
- CylinderMesh743.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh743.Scale = Vector3.new(0.5, 1, 0.5)
- Part744.Name = "Pole"
- Part744.Parent = Model741
- Part744.BrickColor = BrickColor.new("Mid gray")
- Part744.Reflectance = 0.15000000596046
- Part744.Anchored = true
- Part744.CanCollide = false
- Part744.FormFactor = Enum.FormFactor.Symmetric
- Part744.Size = Vector3.new(1, 5, 1)
- Part744.CFrame = CFrame.new(142.899994, 12.4121876, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part744.BottomSurface = Enum.SurfaceType.Smooth
- Part744.TopSurface = Enum.SurfaceType.Smooth
- Part744.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part744.Position = Vector3.new(142.899994, 12.4121876, -147.100006)
- Part744.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh745.Parent = Part744
- CylinderMesh745.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh745.Scale = Vector3.new(0.5, 1, 0.5)
- Part746.Name = "Pole"
- Part746.Parent = Model741
- Part746.BrickColor = BrickColor.new("Mid gray")
- Part746.Reflectance = 0.15000000596046
- Part746.Anchored = true
- Part746.CanCollide = false
- Part746.FormFactor = Enum.FormFactor.Symmetric
- Part746.Size = Vector3.new(1, 5, 1)
- Part746.CFrame = CFrame.new(146.899979, 12.4121876, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part746.BottomSurface = Enum.SurfaceType.Smooth
- Part746.TopSurface = Enum.SurfaceType.Smooth
- Part746.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part746.Position = Vector3.new(146.899979, 12.4121876, -147.100006)
- Part746.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh747.Parent = Part746
- CylinderMesh747.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh747.Scale = Vector3.new(0.5, 1, 0.5)
- Part748.Name = "Pole"
- Part748.Parent = Model741
- Part748.BrickColor = BrickColor.new("Mid gray")
- Part748.Reflectance = 0.15000000596046
- Part748.Anchored = true
- Part748.CanCollide = false
- Part748.FormFactor = Enum.FormFactor.Symmetric
- Part748.Size = Vector3.new(1, 5, 1)
- Part748.CFrame = CFrame.new(146.899979, 12.4121876, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part748.BottomSurface = Enum.SurfaceType.Smooth
- Part748.TopSurface = Enum.SurfaceType.Smooth
- Part748.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part748.Position = Vector3.new(146.899979, 12.4121876, -140.100006)
- Part748.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh749.Parent = Part748
- CylinderMesh749.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh749.Scale = Vector3.new(0.5, 1, 0.5)
- Part750.Parent = Model741
- Part750.BrickColor = BrickColor.new("Institutional white")
- Part750.Rotation = Vector3.new(-180, 0, -180)
- Part750.Anchored = true
- Part750.FormFactor = Enum.FormFactor.Symmetric
- Part750.Size = Vector3.new(3, 1, 6)
- Part750.CFrame = CFrame.new(144.899994, 13.6121931, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part750.BottomSurface = Enum.SurfaceType.Smooth
- Part750.TopSurface = Enum.SurfaceType.Smooth
- Part750.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part750.Position = Vector3.new(144.899994, 13.6121931, -143.600006)
- Part750.Orientation = Vector3.new(0, 180, 0)
- Part750.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh751.Parent = Part750
- BlockMesh751.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh751.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part752.Parent = Model741
- Part752.BrickColor = BrickColor.new("Institutional white")
- Part752.Rotation = Vector3.new(-180, 0, -180)
- Part752.Anchored = true
- Part752.FormFactor = Enum.FormFactor.Symmetric
- Part752.Size = Vector3.new(3, 1, 6)
- Part752.CFrame = CFrame.new(144.899994, 10.4122095, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part752.BottomSurface = Enum.SurfaceType.Smooth
- Part752.TopSurface = Enum.SurfaceType.Smooth
- Part752.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part752.Position = Vector3.new(144.899994, 10.4122095, -143.600006)
- Part752.Orientation = Vector3.new(0, 180, 0)
- Part752.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh753.Parent = Part752
- BlockMesh753.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh753.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model754.Name = "Toilet"
- Model754.Parent = Model740
- Part755.Parent = Model754
- Part755.BrickColor = BrickColor.new("Mid gray")
- Part755.Rotation = Vector3.new(0, -90, 0)
- Part755.Anchored = true
- Part755.FormFactor = Enum.FormFactor.Symmetric
- Part755.Size = Vector3.new(2, 3, 1)
- Part755.CFrame = CFrame.new(142.899994, 12.4121876, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part755.BottomSurface = Enum.SurfaceType.Smooth
- Part755.TopSurface = Enum.SurfaceType.Smooth
- Part755.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part755.Position = Vector3.new(142.899994, 12.4121876, -150.599976)
- Part755.Orientation = Vector3.new(0, -90, 0)
- Part755.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh756.Parent = Part755
- BlockMesh756.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh756.Scale = Vector3.new(1.5, 1, 1)
- Part757.Parent = Model754
- Part757.BrickColor = BrickColor.new("Mid gray")
- Part757.Rotation = Vector3.new(0, -90, 0)
- Part757.Anchored = true
- Part757.FormFactor = Enum.FormFactor.Symmetric
- Part757.Size = Vector3.new(2, 1, 3)
- Part757.CFrame = CFrame.new(143.899994, 10.4122095, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part757.BottomSurface = Enum.SurfaceType.Smooth
- Part757.TopSurface = Enum.SurfaceType.Smooth
- Part757.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part757.Position = Vector3.new(143.899994, 10.4122095, -150.599976)
- Part757.Orientation = Vector3.new(0, -90, 0)
- Part757.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh758.Parent = Part757
- Part759.Parent = Model754
- Part759.BrickColor = BrickColor.new("Light stone grey")
- Part759.Rotation = Vector3.new(0, -90, 0)
- Part759.Anchored = true
- Part759.FormFactor = Enum.FormFactor.Plate
- Part759.Size = Vector3.new(2, 0.400000006, 2)
- Part759.CFrame = CFrame.new(144.399994, 11.1121874, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part759.BottomSurface = Enum.SurfaceType.Smooth
- Part759.TopSurface = Enum.SurfaceType.Smooth
- Part759.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part759.Position = Vector3.new(144.399994, 11.1121874, -150.599976)
- Part759.Orientation = Vector3.new(0, -90, 0)
- Part759.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh760.Parent = Part759
- SpecialMesh760.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh760.MeshType = Enum.MeshType.Sphere
- SpecialMesh760.Scale = Vector3.new(1.5, 2, 2)
- Part761.Name = "Pole"
- Part761.Parent = Model740
- Part761.BrickColor = BrickColor.new("Mid gray")
- Part761.Reflectance = 0.15000000596046
- Part761.Rotation = Vector3.new(0, 0, -90)
- Part761.Anchored = true
- Part761.CanCollide = false
- Part761.FormFactor = Enum.FormFactor.Symmetric
- Part761.Size = Vector3.new(1, 12, 1)
- Part761.CFrame = CFrame.new(148.399994, 13.4121971, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part761.BottomSurface = Enum.SurfaceType.Smooth
- Part761.TopSurface = Enum.SurfaceType.Smooth
- Part761.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part761.Position = Vector3.new(148.399994, 13.4121971, -153.099976)
- Part761.Orientation = Vector3.new(0, 0, -90)
- Part761.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh762.Parent = Part761
- CylinderMesh762.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh762.Scale = Vector3.new(0.5, 1, 0.5)
- Model763.Name = "Functions"
- Model763.Parent = Model739
- Model764.Name = "Light"
- Model764.Parent = Model763
- Part765.Name = "Lightbulb"
- Part765.Parent = Model764
- Part765.Transparency = 0.5
- Part765.Rotation = Vector3.new(180, 90, 0)
- Part765.Anchored = true
- Part765.CanCollide = false
- Part765.FormFactor = Enum.FormFactor.Symmetric
- Part765.Size = Vector3.new(2, 1, 2)
- Part765.CFrame = CFrame.new(148.399994, 18.6122246, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- Part765.BackSurface = Enum.SurfaceType.Weld
- Part765.BottomSurface = Enum.SurfaceType.Weld
- Part765.FrontSurface = Enum.SurfaceType.Weld
- Part765.LeftSurface = Enum.SurfaceType.Weld
- Part765.RightSurface = Enum.SurfaceType.Weld
- Part765.TopSurface = Enum.SurfaceType.Weld
- Part765.Position = Vector3.new(148.399994, 18.6122246, -146.600006)
- Part765.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh766.Parent = Part765
- SpecialMesh766.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh766.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh766.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh766.MeshType = Enum.MeshType.FileMesh
- SpecialMesh766.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part767.Name = "Light"
- Part767.Parent = Model764
- Part767.BrickColor = BrickColor.new("Cool yellow")
- Part767.Transparency = 1
- Part767.Anchored = true
- Part767.CanCollide = false
- Part767.FormFactor = Enum.FormFactor.Symmetric
- Part767.Size = Vector3.new(2, 8, 2)
- Part767.CFrame = CFrame.new(148.399994, 14.1121931, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part767.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part767.Position = Vector3.new(148.399994, 14.1121931, -146.600006)
- Part767.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh768.Parent = Part767
- SpecialMesh768.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh768.Scale = Vector3.new(7, 13, 7)
- SpecialMesh768.MeshType = Enum.MeshType.FileMesh
- SpecialMesh768.Scale = Vector3.new(7, 13, 7)
- Script769.Name = "Function"
- Script769.Parent = Model764
- table.insert(cors,sandbox(Script769,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part770.Name = "LightSocket"
- Part770.Parent = Model764
- Part770.BrickColor = BrickColor.new("Dark stone grey")
- Part770.Anchored = true
- Part770.FormFactor = Enum.FormFactor.Symmetric
- Part770.Size = Vector3.new(2, 1, 2)
- Part770.CFrame = CFrame.new(148.399994, 18.6122246, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part770.BottomSurface = Enum.SurfaceType.Smooth
- Part770.TopSurface = Enum.SurfaceType.Smooth
- Part770.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part770.Position = Vector3.new(148.399994, 18.6122246, -146.600006)
- Part770.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh771.Parent = Part770
- CylinderMesh771.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh771.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh771.Scale = Vector3.new(1, 0.5, 1)
- Model772.Name = "Door"
- Model772.Parent = Model714
- Part773.Name = "Bar"
- Part773.Parent = Model772
- Part773.Reflectance = 0.15000000596046
- Part773.Anchored = true
- Part773.FormFactor = Enum.FormFactor.Symmetric
- Part773.Size = Vector3.new(1, 9, 1)
- Part773.CFrame = CFrame.new(152.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part773.BottomSurface = Enum.SurfaceType.Smooth
- Part773.TopSurface = Enum.SurfaceType.Smooth
- Part773.Position = Vector3.new(152.899994, 14.0121956, -139.100006)
- CylinderMesh774.Parent = Part773
- CylinderMesh774.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh774.Scale = Vector3.new(0.5, 1, 1)
- Part775.Name = "Bar"
- Part775.Parent = Model772
- Part775.Reflectance = 0.15000000596046
- Part775.Anchored = true
- Part775.FormFactor = Enum.FormFactor.Symmetric
- Part775.Size = Vector3.new(1, 9, 1)
- Part775.CFrame = CFrame.new(151.899963, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part775.BottomSurface = Enum.SurfaceType.Smooth
- Part775.TopSurface = Enum.SurfaceType.Smooth
- Part775.Position = Vector3.new(151.899963, 14.0121956, -139.100006)
- CylinderMesh776.Parent = Part775
- CylinderMesh776.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh776.Scale = Vector3.new(0.5, 1, 1)
- Part777.Name = "Bar"
- Part777.Parent = Model772
- Part777.Reflectance = 0.15000000596046
- Part777.Anchored = true
- Part777.FormFactor = Enum.FormFactor.Symmetric
- Part777.Size = Vector3.new(1, 9, 1)
- Part777.CFrame = CFrame.new(150.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part777.BottomSurface = Enum.SurfaceType.Smooth
- Part777.TopSurface = Enum.SurfaceType.Smooth
- Part777.Position = Vector3.new(150.899994, 14.0121956, -139.100006)
- CylinderMesh778.Parent = Part777
- CylinderMesh778.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh778.Scale = Vector3.new(0.5, 1, 1)
- Part779.Name = "Bar"
- Part779.Parent = Model772
- Part779.Reflectance = 0.15000000596046
- Part779.Anchored = true
- Part779.FormFactor = Enum.FormFactor.Symmetric
- Part779.Size = Vector3.new(1, 9, 1)
- Part779.CFrame = CFrame.new(149.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part779.BottomSurface = Enum.SurfaceType.Smooth
- Part779.TopSurface = Enum.SurfaceType.Smooth
- Part779.Position = Vector3.new(149.899994, 14.0121956, -139.100006)
- CylinderMesh780.Parent = Part779
- CylinderMesh780.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh780.Scale = Vector3.new(0.5, 1, 1)
- Part781.Name = "Bar"
- Part781.Parent = Model772
- Part781.Reflectance = 0.15000000596046
- Part781.Anchored = true
- Part781.FormFactor = Enum.FormFactor.Symmetric
- Part781.Size = Vector3.new(1, 9, 1)
- Part781.CFrame = CFrame.new(148.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part781.BottomSurface = Enum.SurfaceType.Smooth
- Part781.TopSurface = Enum.SurfaceType.Smooth
- Part781.Position = Vector3.new(148.899994, 14.0121956, -139.100006)
- CylinderMesh782.Parent = Part781
- CylinderMesh782.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh782.Scale = Vector3.new(0.5, 1, 1)
- Part783.Name = "Bar"
- Part783.Parent = Model772
- Part783.Reflectance = 0.15000000596046
- Part783.Anchored = true
- Part783.FormFactor = Enum.FormFactor.Symmetric
- Part783.Size = Vector3.new(1, 9, 1)
- Part783.CFrame = CFrame.new(147.899994, 14.0121956, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part783.BottomSurface = Enum.SurfaceType.Smooth
- Part783.TopSurface = Enum.SurfaceType.Smooth
- Part783.Position = Vector3.new(147.899994, 14.0121956, -139.100006)
- CylinderMesh784.Parent = Part783
- CylinderMesh784.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh784.Scale = Vector3.new(0.5, 1, 1)
- Script785.Name = "Main"
- Script785.Parent = Model772
- table.insert(cors,sandbox(Script785,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part786.Name = "Button"
- Part786.Parent = Model772
- Part786.BrickColor = BrickColor.new("Really red")
- Part786.Reflectance = 0.20000000298023
- Part786.Transparency = 0.5
- Part786.Rotation = Vector3.new(90, 0, -180)
- Part786.Anchored = true
- Part786.FormFactor = Enum.FormFactor.Plate
- Part786.Size = Vector3.new(1, 0.400000006, 1)
- Part786.CFrame = CFrame.new(145.899979, 14.0121756, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part786.BottomSurface = Enum.SurfaceType.Smooth
- Part786.TopSurface = Enum.SurfaceType.Smooth
- Part786.Color = Color3.new(1, 0, 0)
- Part786.Position = Vector3.new(145.899979, 14.0121756, -138.399994)
- Part786.Orientation = Vector3.new(90, 180, 0)
- Part786.Color = Color3.new(1, 0, 0)
- BlockMesh787.Parent = Part786
- CylinderMesh788.Parent = Part786
- CylinderMesh788.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh788.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh788.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector789.Name = "Click"
- ClickDetector789.Parent = Part786
- Model790.Parent = Model1
- Model791.Name = "PrisonCell"
- Model791.Parent = Model790
- Model792.Name = "Exterior"
- Model792.Parent = Model791
- Model793.Name = "Top"
- Model793.Parent = Model792
- Part794.Name = "Ceiling"
- Part794.Parent = Model793
- Part794.BrickColor = BrickColor.new("Brick yellow")
- Part794.Anchored = true
- Part794.FormFactor = Enum.FormFactor.Plate
- Part794.Size = Vector3.new(12, 0.400000006, 14)
- Part794.CFrame = CFrame.new(92.3999939, 19.512167, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part794.BottomSurface = Enum.SurfaceType.Smooth
- Part794.TopSurface = Enum.SurfaceType.Smooth
- Part794.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part794.Position = Vector3.new(92.3999939, 19.512167, -146.600006)
- Part794.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh795.Parent = Part794
- Part796.Name = "Top"
- Part796.Parent = Model793
- Part796.BrickColor = BrickColor.new("Dark stone grey")
- Part796.Anchored = true
- Part796.FormFactor = Enum.FormFactor.Symmetric
- Part796.Size = Vector3.new(14, 1, 16)
- Part796.CFrame = CFrame.new(92.3999939, 20.2121658, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part796.BottomSurface = Enum.SurfaceType.Smooth
- Part796.TopSurface = Enum.SurfaceType.Smooth
- Part796.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part796.Position = Vector3.new(92.3999939, 20.2121658, -146.600006)
- Part796.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh797.Parent = Part796
- Model798.Name = "Walls"
- Model798.Parent = Model792
- Part799.Parent = Model798
- Part799.BrickColor = BrickColor.new("Dark stone grey")
- Part799.Anchored = true
- Part799.FormFactor = Enum.FormFactor.Symmetric
- Part799.Size = Vector3.new(6, 1, 1)
- Part799.CFrame = CFrame.new(94.3999939, 19.2121334, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part799.BottomSurface = Enum.SurfaceType.Smooth
- Part799.TopSurface = Enum.SurfaceType.Smooth
- Part799.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part799.Position = Vector3.new(94.3999939, 19.2121334, -139.100006)
- Part799.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh800.Parent = Part799
- Part801.Parent = Model798
- Part801.BrickColor = BrickColor.new("Dark stone grey")
- Part801.Anchored = true
- Part801.FormFactor = Enum.FormFactor.Symmetric
- Part801.Size = Vector3.new(6, 10, 1)
- Part801.CFrame = CFrame.new(88.3999939, 14.7121096, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part801.BottomSurface = Enum.SurfaceType.Smooth
- Part801.TopSurface = Enum.SurfaceType.Smooth
- Part801.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part801.Position = Vector3.new(88.3999939, 14.7121096, -139.100006)
- Part801.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh802.Parent = Part801
- Part803.Parent = Model798
- Part803.BrickColor = BrickColor.new("Dark stone grey")
- Part803.Rotation = Vector3.new(-180, 0, -180)
- Part803.Anchored = true
- Part803.FormFactor = Enum.FormFactor.Symmetric
- Part803.Size = Vector3.new(1, 10, 14)
- Part803.CFrame = CFrame.new(85.8999939, 14.7121096, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part803.BottomSurface = Enum.SurfaceType.Smooth
- Part803.TopSurface = Enum.SurfaceType.Smooth
- Part803.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part803.Position = Vector3.new(85.8999939, 14.7121096, -146.600006)
- Part803.Orientation = Vector3.new(0, 180, 0)
- Part803.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh804.Parent = Part803
- Part805.Parent = Model798
- Part805.BrickColor = BrickColor.new("Dark stone grey")
- Part805.Rotation = Vector3.new(0, -90, 0)
- Part805.Anchored = true
- Part805.FormFactor = Enum.FormFactor.Symmetric
- Part805.Size = Vector3.new(1, 10, 14)
- Part805.CFrame = CFrame.new(92.3999939, 14.7121096, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part805.BottomSurface = Enum.SurfaceType.Smooth
- Part805.TopSurface = Enum.SurfaceType.Smooth
- Part805.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part805.Position = Vector3.new(92.3999939, 14.7121096, -154.099976)
- Part805.Orientation = Vector3.new(0, -90, 0)
- Part805.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh806.Parent = Part805
- Part807.Parent = Model798
- Part807.BrickColor = BrickColor.new("Dark stone grey")
- Part807.Rotation = Vector3.new(-180, 0, -180)
- Part807.Anchored = true
- Part807.FormFactor = Enum.FormFactor.Symmetric
- Part807.Size = Vector3.new(1, 10, 14)
- Part807.CFrame = CFrame.new(98.8999939, 14.7121096, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part807.BottomSurface = Enum.SurfaceType.Smooth
- Part807.TopSurface = Enum.SurfaceType.Smooth
- Part807.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part807.Position = Vector3.new(98.8999939, 14.7121096, -146.600006)
- Part807.Orientation = Vector3.new(0, 180, 0)
- Part807.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh808.Parent = Part807
- Part809.Parent = Model798
- Part809.BrickColor = BrickColor.new("Dark stone grey")
- Part809.Rotation = Vector3.new(0, 90, 0)
- Part809.Anchored = true
- Part809.FormFactor = Enum.FormFactor.Symmetric
- Part809.Size = Vector3.new(1, 10, 2)
- Part809.CFrame = CFrame.new(98.3999939, 14.7121096, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part809.BottomSurface = Enum.SurfaceType.Smooth
- Part809.TopSurface = Enum.SurfaceType.Smooth
- Part809.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part809.Position = Vector3.new(98.3999939, 14.7121096, -139.100006)
- Part809.Orientation = Vector3.new(0, 90, 0)
- Part809.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh810.Parent = Part809
- Model811.Name = "Floor"
- Model811.Parent = Model792
- Part812.Name = "Floor"
- Part812.Parent = Model811
- Part812.BrickColor = BrickColor.new("Brick yellow")
- Part812.Anchored = true
- Part812.FormFactor = Enum.FormFactor.Plate
- Part812.Size = Vector3.new(12, 0.400000006, 14)
- Part812.CFrame = CFrame.new(92.3999939, 9.91213512, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part812.BottomSurface = Enum.SurfaceType.Smooth
- Part812.TopSurface = Enum.SurfaceType.Smooth
- Part812.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part812.Position = Vector3.new(92.3999939, 9.91213512, -146.600006)
- Part812.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh813.Parent = Part812
- Part814.Name = "Floor"
- Part814.Parent = Model811
- Part814.BrickColor = BrickColor.new("Brick yellow")
- Part814.Anchored = true
- Part814.CanCollide = false
- Part814.FormFactor = Enum.FormFactor.Plate
- Part814.Size = Vector3.new(6, 0.400000006, 1)
- Part814.CFrame = CFrame.new(94.3999939, 10.3121271, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part814.BottomSurface = Enum.SurfaceType.Smooth
- Part814.TopSurface = Enum.SurfaceType.Smooth
- Part814.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part814.Position = Vector3.new(94.3999939, 10.3121271, -140.100006)
- Part814.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh815.Parent = Part814
- BlockMesh815.Offset = Vector3.new(0, -0.400000006, 1)
- Model816.Name = "Items"
- Model816.Parent = Model791
- Model817.Name = "Furnish"
- Model817.Parent = Model816
- Model818.Name = "Bed"
- Model818.Parent = Model817
- Part819.Name = "Pole"
- Part819.Parent = Model818
- Part819.BrickColor = BrickColor.new("Mid gray")
- Part819.Reflectance = 0.15000000596046
- Part819.Anchored = true
- Part819.CanCollide = false
- Part819.FormFactor = Enum.FormFactor.Symmetric
- Part819.Size = Vector3.new(1, 5, 1)
- Part819.CFrame = CFrame.new(86.8999939, 12.6121216, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part819.BottomSurface = Enum.SurfaceType.Smooth
- Part819.TopSurface = Enum.SurfaceType.Smooth
- Part819.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part819.Position = Vector3.new(86.8999939, 12.6121216, -140.100006)
- Part819.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh820.Parent = Part819
- CylinderMesh820.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh820.Scale = Vector3.new(0.5, 1, 0.5)
- Part821.Name = "Pole"
- Part821.Parent = Model818
- Part821.BrickColor = BrickColor.new("Mid gray")
- Part821.Reflectance = 0.15000000596046
- Part821.Anchored = true
- Part821.CanCollide = false
- Part821.FormFactor = Enum.FormFactor.Symmetric
- Part821.Size = Vector3.new(1, 5, 1)
- Part821.CFrame = CFrame.new(86.8999939, 12.6121216, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part821.BottomSurface = Enum.SurfaceType.Smooth
- Part821.TopSurface = Enum.SurfaceType.Smooth
- Part821.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part821.Position = Vector3.new(86.8999939, 12.6121216, -147.100006)
- Part821.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh822.Parent = Part821
- CylinderMesh822.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh822.Scale = Vector3.new(0.5, 1, 0.5)
- Part823.Name = "Pole"
- Part823.Parent = Model818
- Part823.BrickColor = BrickColor.new("Mid gray")
- Part823.Reflectance = 0.15000000596046
- Part823.Anchored = true
- Part823.CanCollide = false
- Part823.FormFactor = Enum.FormFactor.Symmetric
- Part823.Size = Vector3.new(1, 5, 1)
- Part823.CFrame = CFrame.new(90.8999863, 12.6121216, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part823.BottomSurface = Enum.SurfaceType.Smooth
- Part823.TopSurface = Enum.SurfaceType.Smooth
- Part823.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part823.Position = Vector3.new(90.8999863, 12.6121216, -147.100006)
- Part823.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh824.Parent = Part823
- CylinderMesh824.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh824.Scale = Vector3.new(0.5, 1, 0.5)
- Part825.Name = "Pole"
- Part825.Parent = Model818
- Part825.BrickColor = BrickColor.new("Mid gray")
- Part825.Reflectance = 0.15000000596046
- Part825.Anchored = true
- Part825.CanCollide = false
- Part825.FormFactor = Enum.FormFactor.Symmetric
- Part825.Size = Vector3.new(1, 5, 1)
- Part825.CFrame = CFrame.new(90.8999863, 12.6121216, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part825.BottomSurface = Enum.SurfaceType.Smooth
- Part825.TopSurface = Enum.SurfaceType.Smooth
- Part825.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part825.Position = Vector3.new(90.8999863, 12.6121216, -140.100006)
- Part825.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh826.Parent = Part825
- CylinderMesh826.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh826.Scale = Vector3.new(0.5, 1, 0.5)
- Part827.Parent = Model818
- Part827.BrickColor = BrickColor.new("Institutional white")
- Part827.Rotation = Vector3.new(-180, 0, -180)
- Part827.Anchored = true
- Part827.FormFactor = Enum.FormFactor.Symmetric
- Part827.Size = Vector3.new(3, 1, 6)
- Part827.CFrame = CFrame.new(88.8999939, 13.8121071, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part827.BottomSurface = Enum.SurfaceType.Smooth
- Part827.TopSurface = Enum.SurfaceType.Smooth
- Part827.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part827.Position = Vector3.new(88.8999939, 13.8121071, -143.600006)
- Part827.Orientation = Vector3.new(0, 180, 0)
- Part827.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh828.Parent = Part827
- BlockMesh828.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh828.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part829.Parent = Model818
- Part829.BrickColor = BrickColor.new("Institutional white")
- Part829.Rotation = Vector3.new(-180, 0, -180)
- Part829.Anchored = true
- Part829.FormFactor = Enum.FormFactor.Symmetric
- Part829.Size = Vector3.new(3, 1, 6)
- Part829.CFrame = CFrame.new(88.8999939, 10.6121311, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part829.BottomSurface = Enum.SurfaceType.Smooth
- Part829.TopSurface = Enum.SurfaceType.Smooth
- Part829.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part829.Position = Vector3.new(88.8999939, 10.6121311, -143.600006)
- Part829.Orientation = Vector3.new(0, 180, 0)
- Part829.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh830.Parent = Part829
- BlockMesh830.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh830.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model831.Name = "Toilet"
- Model831.Parent = Model817
- Part832.Parent = Model831
- Part832.BrickColor = BrickColor.new("Mid gray")
- Part832.Rotation = Vector3.new(0, -90, 0)
- Part832.Anchored = true
- Part832.FormFactor = Enum.FormFactor.Symmetric
- Part832.Size = Vector3.new(2, 3, 1)
- Part832.CFrame = CFrame.new(86.8999939, 12.6121216, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part832.BottomSurface = Enum.SurfaceType.Smooth
- Part832.TopSurface = Enum.SurfaceType.Smooth
- Part832.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part832.Position = Vector3.new(86.8999939, 12.6121216, -150.599976)
- Part832.Orientation = Vector3.new(0, -90, 0)
- Part832.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh833.Parent = Part832
- BlockMesh833.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh833.Scale = Vector3.new(1.5, 1, 1)
- Part834.Parent = Model831
- Part834.BrickColor = BrickColor.new("Mid gray")
- Part834.Rotation = Vector3.new(0, -90, 0)
- Part834.Anchored = true
- Part834.FormFactor = Enum.FormFactor.Symmetric
- Part834.Size = Vector3.new(2, 1, 3)
- Part834.CFrame = CFrame.new(87.8999939, 10.6121311, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part834.BottomSurface = Enum.SurfaceType.Smooth
- Part834.TopSurface = Enum.SurfaceType.Smooth
- Part834.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part834.Position = Vector3.new(87.8999939, 10.6121311, -150.599976)
- Part834.Orientation = Vector3.new(0, -90, 0)
- Part834.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh835.Parent = Part834
- Part836.Parent = Model831
- Part836.BrickColor = BrickColor.new("Light stone grey")
- Part836.Rotation = Vector3.new(0, -90, 0)
- Part836.Anchored = true
- Part836.FormFactor = Enum.FormFactor.Plate
- Part836.Size = Vector3.new(2, 0.400000006, 2)
- Part836.CFrame = CFrame.new(88.3999939, 11.3121176, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part836.BottomSurface = Enum.SurfaceType.Smooth
- Part836.TopSurface = Enum.SurfaceType.Smooth
- Part836.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part836.Position = Vector3.new(88.3999939, 11.3121176, -150.599976)
- Part836.Orientation = Vector3.new(0, -90, 0)
- Part836.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh837.Parent = Part836
- SpecialMesh837.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh837.MeshType = Enum.MeshType.Sphere
- SpecialMesh837.Scale = Vector3.new(1.5, 2, 2)
- Part838.Name = "Pole"
- Part838.Parent = Model817
- Part838.BrickColor = BrickColor.new("Mid gray")
- Part838.Reflectance = 0.15000000596046
- Part838.Rotation = Vector3.new(0, 0, -90)
- Part838.Anchored = true
- Part838.CanCollide = false
- Part838.FormFactor = Enum.FormFactor.Symmetric
- Part838.Size = Vector3.new(1, 12, 1)
- Part838.CFrame = CFrame.new(92.3999939, 13.6121216, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part838.BottomSurface = Enum.SurfaceType.Smooth
- Part838.TopSurface = Enum.SurfaceType.Smooth
- Part838.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part838.Position = Vector3.new(92.3999939, 13.6121216, -153.099976)
- Part838.Orientation = Vector3.new(0, 0, -90)
- Part838.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh839.Parent = Part838
- CylinderMesh839.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh839.Scale = Vector3.new(0.5, 1, 0.5)
- Model840.Name = "Functions"
- Model840.Parent = Model816
- Model841.Name = "Light"
- Model841.Parent = Model840
- Part842.Name = "Lightbulb"
- Part842.Parent = Model841
- Part842.Transparency = 0.5
- Part842.Rotation = Vector3.new(180, 90, 0)
- Part842.Anchored = true
- Part842.CanCollide = false
- Part842.FormFactor = Enum.FormFactor.Symmetric
- Part842.Size = Vector3.new(2, 1, 2)
- Part842.CFrame = CFrame.new(92.3999939, 18.8121376, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part842.BackSurface = Enum.SurfaceType.Weld
- Part842.BottomSurface = Enum.SurfaceType.Weld
- Part842.FrontSurface = Enum.SurfaceType.Weld
- Part842.LeftSurface = Enum.SurfaceType.Weld
- Part842.RightSurface = Enum.SurfaceType.Weld
- Part842.TopSurface = Enum.SurfaceType.Weld
- Part842.Position = Vector3.new(92.3999939, 18.8121376, -146.600006)
- Part842.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh843.Parent = Part842
- SpecialMesh843.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh843.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh843.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh843.MeshType = Enum.MeshType.FileMesh
- SpecialMesh843.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part844.Name = "Light"
- Part844.Parent = Model841
- Part844.BrickColor = BrickColor.new("Cool yellow")
- Part844.Transparency = 1
- Part844.Anchored = true
- Part844.CanCollide = false
- Part844.FormFactor = Enum.FormFactor.Symmetric
- Part844.Size = Vector3.new(2, 8, 2)
- Part844.CFrame = CFrame.new(92.3999939, 14.3121071, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part844.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part844.Position = Vector3.new(92.3999939, 14.3121071, -146.600006)
- Part844.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh845.Parent = Part844
- SpecialMesh845.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh845.Scale = Vector3.new(7, 13, 7)
- SpecialMesh845.MeshType = Enum.MeshType.FileMesh
- SpecialMesh845.Scale = Vector3.new(7, 13, 7)
- Script846.Name = "Function"
- Script846.Parent = Model841
- table.insert(cors,sandbox(Script846,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part847.Name = "LightSocket"
- Part847.Parent = Model841
- Part847.BrickColor = BrickColor.new("Dark stone grey")
- Part847.Anchored = true
- Part847.FormFactor = Enum.FormFactor.Symmetric
- Part847.Size = Vector3.new(2, 1, 2)
- Part847.CFrame = CFrame.new(92.3999939, 18.8121376, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part847.BottomSurface = Enum.SurfaceType.Smooth
- Part847.TopSurface = Enum.SurfaceType.Smooth
- Part847.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part847.Position = Vector3.new(92.3999939, 18.8121376, -146.600006)
- Part847.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh848.Parent = Part847
- CylinderMesh848.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh848.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh848.Scale = Vector3.new(1, 0.5, 1)
- Model849.Name = "Door"
- Model849.Parent = Model791
- Part850.Name = "Bar"
- Part850.Parent = Model849
- Part850.Reflectance = 0.15000000596046
- Part850.Anchored = true
- Part850.FormFactor = Enum.FormFactor.Symmetric
- Part850.Size = Vector3.new(1, 9, 1)
- Part850.CFrame = CFrame.new(96.8999863, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part850.BottomSurface = Enum.SurfaceType.Smooth
- Part850.TopSurface = Enum.SurfaceType.Smooth
- Part850.Position = Vector3.new(96.8999863, 14.2121134, -139.100006)
- CylinderMesh851.Parent = Part850
- CylinderMesh851.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh851.Scale = Vector3.new(0.5, 1, 1)
- Part852.Name = "Bar"
- Part852.Parent = Model849
- Part852.Reflectance = 0.15000000596046
- Part852.Anchored = true
- Part852.FormFactor = Enum.FormFactor.Symmetric
- Part852.Size = Vector3.new(1, 9, 1)
- Part852.CFrame = CFrame.new(95.8999786, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part852.BottomSurface = Enum.SurfaceType.Smooth
- Part852.TopSurface = Enum.SurfaceType.Smooth
- Part852.Position = Vector3.new(95.8999786, 14.2121134, -139.100006)
- CylinderMesh853.Parent = Part852
- CylinderMesh853.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh853.Scale = Vector3.new(0.5, 1, 1)
- Part854.Name = "Bar"
- Part854.Parent = Model849
- Part854.Reflectance = 0.15000000596046
- Part854.Anchored = true
- Part854.FormFactor = Enum.FormFactor.Symmetric
- Part854.Size = Vector3.new(1, 9, 1)
- Part854.CFrame = CFrame.new(94.9000015, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part854.BottomSurface = Enum.SurfaceType.Smooth
- Part854.TopSurface = Enum.SurfaceType.Smooth
- Part854.Position = Vector3.new(94.9000015, 14.2121134, -139.100006)
- CylinderMesh855.Parent = Part854
- CylinderMesh855.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh855.Scale = Vector3.new(0.5, 1, 1)
- Part856.Name = "Bar"
- Part856.Parent = Model849
- Part856.Reflectance = 0.15000000596046
- Part856.Anchored = true
- Part856.FormFactor = Enum.FormFactor.Symmetric
- Part856.Size = Vector3.new(1, 9, 1)
- Part856.CFrame = CFrame.new(93.8999939, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part856.BottomSurface = Enum.SurfaceType.Smooth
- Part856.TopSurface = Enum.SurfaceType.Smooth
- Part856.Position = Vector3.new(93.8999939, 14.2121134, -139.100006)
- CylinderMesh857.Parent = Part856
- CylinderMesh857.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh857.Scale = Vector3.new(0.5, 1, 1)
- Part858.Name = "Bar"
- Part858.Parent = Model849
- Part858.Reflectance = 0.15000000596046
- Part858.Anchored = true
- Part858.FormFactor = Enum.FormFactor.Symmetric
- Part858.Size = Vector3.new(1, 9, 1)
- Part858.CFrame = CFrame.new(92.8999939, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part858.BottomSurface = Enum.SurfaceType.Smooth
- Part858.TopSurface = Enum.SurfaceType.Smooth
- Part858.Position = Vector3.new(92.8999939, 14.2121134, -139.100006)
- CylinderMesh859.Parent = Part858
- CylinderMesh859.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh859.Scale = Vector3.new(0.5, 1, 1)
- Part860.Name = "Bar"
- Part860.Parent = Model849
- Part860.Reflectance = 0.15000000596046
- Part860.Anchored = true
- Part860.FormFactor = Enum.FormFactor.Symmetric
- Part860.Size = Vector3.new(1, 9, 1)
- Part860.CFrame = CFrame.new(91.8999939, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part860.BottomSurface = Enum.SurfaceType.Smooth
- Part860.TopSurface = Enum.SurfaceType.Smooth
- Part860.Position = Vector3.new(91.8999939, 14.2121134, -139.100006)
- CylinderMesh861.Parent = Part860
- CylinderMesh861.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh861.Scale = Vector3.new(0.5, 1, 1)
- Script862.Name = "Main"
- Script862.Parent = Model849
- table.insert(cors,sandbox(Script862,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part863.Name = "Button"
- Part863.Parent = Model849
- Part863.BrickColor = BrickColor.new("Really red")
- Part863.Reflectance = 0.20000000298023
- Part863.Transparency = 0.5
- Part863.Rotation = Vector3.new(90, 0, -180)
- Part863.Anchored = true
- Part863.FormFactor = Enum.FormFactor.Plate
- Part863.Size = Vector3.new(1, 0.400000006, 1)
- Part863.CFrame = CFrame.new(89.8999939, 14.2120914, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part863.BottomSurface = Enum.SurfaceType.Smooth
- Part863.TopSurface = Enum.SurfaceType.Smooth
- Part863.Color = Color3.new(1, 0, 0)
- Part863.Position = Vector3.new(89.8999939, 14.2120914, -138.399994)
- Part863.Orientation = Vector3.new(90, 180, 0)
- Part863.Color = Color3.new(1, 0, 0)
- BlockMesh864.Parent = Part863
- CylinderMesh865.Parent = Part863
- CylinderMesh865.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh865.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh865.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector866.Name = "Click"
- ClickDetector866.Parent = Part863
- Model867.Parent = Model1
- Model868.Name = "PrisonCell"
- Model868.Parent = Model867
- Model869.Name = "Exterior"
- Model869.Parent = Model868
- Model870.Name = "Top"
- Model870.Parent = Model869
- Part871.Name = "Ceiling"
- Part871.Parent = Model870
- Part871.BrickColor = BrickColor.new("Brick yellow")
- Part871.Anchored = true
- Part871.FormFactor = Enum.FormFactor.Plate
- Part871.Size = Vector3.new(12, 0.400000006, 14)
- Part871.CFrame = CFrame.new(78.3999863, 19.512167, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part871.BottomSurface = Enum.SurfaceType.Smooth
- Part871.TopSurface = Enum.SurfaceType.Smooth
- Part871.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part871.Position = Vector3.new(78.3999863, 19.512167, -146.600006)
- Part871.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh872.Parent = Part871
- Part873.Name = "Top"
- Part873.Parent = Model870
- Part873.BrickColor = BrickColor.new("Dark stone grey")
- Part873.Anchored = true
- Part873.FormFactor = Enum.FormFactor.Symmetric
- Part873.Size = Vector3.new(14, 1, 16)
- Part873.CFrame = CFrame.new(78.3999863, 20.212183, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part873.BottomSurface = Enum.SurfaceType.Smooth
- Part873.TopSurface = Enum.SurfaceType.Smooth
- Part873.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part873.Position = Vector3.new(78.3999863, 20.212183, -146.600006)
- Part873.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh874.Parent = Part873
- Model875.Name = "Walls"
- Model875.Parent = Model869
- Part876.Parent = Model875
- Part876.BrickColor = BrickColor.new("Dark stone grey")
- Part876.Anchored = true
- Part876.FormFactor = Enum.FormFactor.Symmetric
- Part876.Size = Vector3.new(6, 1, 1)
- Part876.CFrame = CFrame.new(80.3999939, 19.2121391, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part876.BottomSurface = Enum.SurfaceType.Smooth
- Part876.TopSurface = Enum.SurfaceType.Smooth
- Part876.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part876.Position = Vector3.new(80.3999939, 19.2121391, -139.100006)
- Part876.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh877.Parent = Part876
- Part878.Parent = Model875
- Part878.BrickColor = BrickColor.new("Dark stone grey")
- Part878.Anchored = true
- Part878.FormFactor = Enum.FormFactor.Symmetric
- Part878.Size = Vector3.new(6, 10, 1)
- Part878.CFrame = CFrame.new(74.3999863, 14.7121077, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part878.BottomSurface = Enum.SurfaceType.Smooth
- Part878.TopSurface = Enum.SurfaceType.Smooth
- Part878.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part878.Position = Vector3.new(74.3999863, 14.7121077, -139.100006)
- Part878.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh879.Parent = Part878
- Part880.Parent = Model875
- Part880.BrickColor = BrickColor.new("Dark stone grey")
- Part880.Rotation = Vector3.new(-180, 0, -180)
- Part880.Anchored = true
- Part880.FormFactor = Enum.FormFactor.Symmetric
- Part880.Size = Vector3.new(1, 10, 14)
- Part880.CFrame = CFrame.new(71.8999863, 14.7121077, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part880.BottomSurface = Enum.SurfaceType.Smooth
- Part880.TopSurface = Enum.SurfaceType.Smooth
- Part880.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part880.Position = Vector3.new(71.8999863, 14.7121077, -146.600006)
- Part880.Orientation = Vector3.new(0, 180, 0)
- Part880.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh881.Parent = Part880
- Part882.Parent = Model875
- Part882.BrickColor = BrickColor.new("Dark stone grey")
- Part882.Rotation = Vector3.new(0, -90, 0)
- Part882.Anchored = true
- Part882.FormFactor = Enum.FormFactor.Symmetric
- Part882.Size = Vector3.new(1, 10, 14)
- Part882.CFrame = CFrame.new(78.3999863, 14.7121077, -154.099976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part882.BottomSurface = Enum.SurfaceType.Smooth
- Part882.TopSurface = Enum.SurfaceType.Smooth
- Part882.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part882.Position = Vector3.new(78.3999863, 14.7121077, -154.099976)
- Part882.Orientation = Vector3.new(0, -90, 0)
- Part882.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh883.Parent = Part882
- Part884.Parent = Model875
- Part884.BrickColor = BrickColor.new("Dark stone grey")
- Part884.Rotation = Vector3.new(-180, 0, -180)
- Part884.Anchored = true
- Part884.FormFactor = Enum.FormFactor.Symmetric
- Part884.Size = Vector3.new(1, 10, 14)
- Part884.CFrame = CFrame.new(84.9000015, 14.7121077, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part884.BottomSurface = Enum.SurfaceType.Smooth
- Part884.TopSurface = Enum.SurfaceType.Smooth
- Part884.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part884.Position = Vector3.new(84.9000015, 14.7121077, -146.600006)
- Part884.Orientation = Vector3.new(0, 180, 0)
- Part884.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh885.Parent = Part884
- Part886.Parent = Model875
- Part886.BrickColor = BrickColor.new("Dark stone grey")
- Part886.Rotation = Vector3.new(0, 90, 0)
- Part886.Anchored = true
- Part886.FormFactor = Enum.FormFactor.Symmetric
- Part886.Size = Vector3.new(1, 10, 2)
- Part886.CFrame = CFrame.new(84.4000015, 14.7121077, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part886.BottomSurface = Enum.SurfaceType.Smooth
- Part886.TopSurface = Enum.SurfaceType.Smooth
- Part886.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part886.Position = Vector3.new(84.4000015, 14.7121077, -139.100006)
- Part886.Orientation = Vector3.new(0, 90, 0)
- Part886.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh887.Parent = Part886
- Model888.Name = "Floor"
- Model888.Parent = Model869
- Part889.Name = "Floor"
- Part889.Parent = Model888
- Part889.BrickColor = BrickColor.new("Brick yellow")
- Part889.Anchored = true
- Part889.FormFactor = Enum.FormFactor.Plate
- Part889.Size = Vector3.new(12, 0.400000006, 14)
- Part889.CFrame = CFrame.new(78.3999863, 9.91214752, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part889.BottomSurface = Enum.SurfaceType.Smooth
- Part889.TopSurface = Enum.SurfaceType.Smooth
- Part889.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part889.Position = Vector3.new(78.3999863, 9.91214752, -146.600006)
- Part889.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh890.Parent = Part889
- Part891.Name = "Floor"
- Part891.Parent = Model888
- Part891.BrickColor = BrickColor.new("Brick yellow")
- Part891.Anchored = true
- Part891.CanCollide = false
- Part891.FormFactor = Enum.FormFactor.Plate
- Part891.Size = Vector3.new(6, 0.400000006, 1)
- Part891.CFrame = CFrame.new(80.3999939, 10.3121395, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part891.BottomSurface = Enum.SurfaceType.Smooth
- Part891.TopSurface = Enum.SurfaceType.Smooth
- Part891.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part891.Position = Vector3.new(80.3999939, 10.3121395, -140.100006)
- Part891.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh892.Parent = Part891
- BlockMesh892.Offset = Vector3.new(0, -0.400000006, 1)
- Model893.Name = "Items"
- Model893.Parent = Model868
- Model894.Name = "Furnish"
- Model894.Parent = Model893
- Model895.Name = "Bed"
- Model895.Parent = Model894
- Part896.Name = "Pole"
- Part896.Parent = Model895
- Part896.BrickColor = BrickColor.new("Mid gray")
- Part896.Reflectance = 0.15000000596046
- Part896.Anchored = true
- Part896.CanCollide = false
- Part896.FormFactor = Enum.FormFactor.Symmetric
- Part896.Size = Vector3.new(1, 5, 1)
- Part896.CFrame = CFrame.new(72.8999863, 12.6121111, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part896.BottomSurface = Enum.SurfaceType.Smooth
- Part896.TopSurface = Enum.SurfaceType.Smooth
- Part896.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part896.Position = Vector3.new(72.8999863, 12.6121111, -140.100006)
- Part896.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh897.Parent = Part896
- CylinderMesh897.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh897.Scale = Vector3.new(0.5, 1, 0.5)
- Part898.Name = "Pole"
- Part898.Parent = Model895
- Part898.BrickColor = BrickColor.new("Mid gray")
- Part898.Reflectance = 0.15000000596046
- Part898.Anchored = true
- Part898.CanCollide = false
- Part898.FormFactor = Enum.FormFactor.Symmetric
- Part898.Size = Vector3.new(1, 5, 1)
- Part898.CFrame = CFrame.new(72.8999863, 12.6121111, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part898.BottomSurface = Enum.SurfaceType.Smooth
- Part898.TopSurface = Enum.SurfaceType.Smooth
- Part898.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part898.Position = Vector3.new(72.8999863, 12.6121111, -147.100006)
- Part898.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh899.Parent = Part898
- CylinderMesh899.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh899.Scale = Vector3.new(0.5, 1, 0.5)
- Part900.Name = "Pole"
- Part900.Parent = Model895
- Part900.BrickColor = BrickColor.new("Mid gray")
- Part900.Reflectance = 0.15000000596046
- Part900.Anchored = true
- Part900.CanCollide = false
- Part900.FormFactor = Enum.FormFactor.Symmetric
- Part900.Size = Vector3.new(1, 5, 1)
- Part900.CFrame = CFrame.new(76.8999863, 12.6121111, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part900.BottomSurface = Enum.SurfaceType.Smooth
- Part900.TopSurface = Enum.SurfaceType.Smooth
- Part900.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part900.Position = Vector3.new(76.8999863, 12.6121111, -147.100006)
- Part900.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh901.Parent = Part900
- CylinderMesh901.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh901.Scale = Vector3.new(0.5, 1, 0.5)
- Part902.Name = "Pole"
- Part902.Parent = Model895
- Part902.BrickColor = BrickColor.new("Mid gray")
- Part902.Reflectance = 0.15000000596046
- Part902.Anchored = true
- Part902.CanCollide = false
- Part902.FormFactor = Enum.FormFactor.Symmetric
- Part902.Size = Vector3.new(1, 5, 1)
- Part902.CFrame = CFrame.new(76.8999863, 12.6121111, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part902.BottomSurface = Enum.SurfaceType.Smooth
- Part902.TopSurface = Enum.SurfaceType.Smooth
- Part902.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part902.Position = Vector3.new(76.8999863, 12.6121111, -140.100006)
- Part902.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh903.Parent = Part902
- CylinderMesh903.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh903.Scale = Vector3.new(0.5, 1, 0.5)
- Part904.Parent = Model895
- Part904.BrickColor = BrickColor.new("Institutional white")
- Part904.Rotation = Vector3.new(-180, 0, -180)
- Part904.Anchored = true
- Part904.FormFactor = Enum.FormFactor.Symmetric
- Part904.Size = Vector3.new(3, 1, 6)
- Part904.CFrame = CFrame.new(74.8999863, 13.8121071, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part904.BottomSurface = Enum.SurfaceType.Smooth
- Part904.TopSurface = Enum.SurfaceType.Smooth
- Part904.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part904.Position = Vector3.new(74.8999863, 13.8121071, -143.600006)
- Part904.Orientation = Vector3.new(0, 180, 0)
- Part904.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh905.Parent = Part904
- BlockMesh905.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh905.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part906.Parent = Model895
- Part906.BrickColor = BrickColor.new("Institutional white")
- Part906.Rotation = Vector3.new(-180, 0, -180)
- Part906.Anchored = true
- Part906.FormFactor = Enum.FormFactor.Symmetric
- Part906.Size = Vector3.new(3, 1, 6)
- Part906.CFrame = CFrame.new(74.8999863, 10.6121435, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part906.BottomSurface = Enum.SurfaceType.Smooth
- Part906.TopSurface = Enum.SurfaceType.Smooth
- Part906.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part906.Position = Vector3.new(74.8999863, 10.6121435, -143.600006)
- Part906.Orientation = Vector3.new(0, 180, 0)
- Part906.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh907.Parent = Part906
- BlockMesh907.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh907.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model908.Name = "Toilet"
- Model908.Parent = Model894
- Part909.Parent = Model908
- Part909.BrickColor = BrickColor.new("Mid gray")
- Part909.Rotation = Vector3.new(0, -90, 0)
- Part909.Anchored = true
- Part909.FormFactor = Enum.FormFactor.Symmetric
- Part909.Size = Vector3.new(2, 3, 1)
- Part909.CFrame = CFrame.new(72.8999863, 12.6121111, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part909.BottomSurface = Enum.SurfaceType.Smooth
- Part909.TopSurface = Enum.SurfaceType.Smooth
- Part909.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part909.Position = Vector3.new(72.8999863, 12.6121111, -150.599976)
- Part909.Orientation = Vector3.new(0, -90, 0)
- Part909.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh910.Parent = Part909
- BlockMesh910.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh910.Scale = Vector3.new(1.5, 1, 1)
- Part911.Parent = Model908
- Part911.BrickColor = BrickColor.new("Mid gray")
- Part911.Rotation = Vector3.new(0, -90, 0)
- Part911.Anchored = true
- Part911.FormFactor = Enum.FormFactor.Symmetric
- Part911.Size = Vector3.new(2, 1, 3)
- Part911.CFrame = CFrame.new(73.8999863, 10.6121435, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part911.BottomSurface = Enum.SurfaceType.Smooth
- Part911.TopSurface = Enum.SurfaceType.Smooth
- Part911.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part911.Position = Vector3.new(73.8999863, 10.6121435, -150.599976)
- Part911.Orientation = Vector3.new(0, -90, 0)
- Part911.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh912.Parent = Part911
- Part913.Parent = Model908
- Part913.BrickColor = BrickColor.new("Light stone grey")
- Part913.Rotation = Vector3.new(0, -90, 0)
- Part913.Anchored = true
- Part913.FormFactor = Enum.FormFactor.Plate
- Part913.Size = Vector3.new(2, 0.400000006, 2)
- Part913.CFrame = CFrame.new(74.3999863, 11.3121157, -150.599976, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part913.BottomSurface = Enum.SurfaceType.Smooth
- Part913.TopSurface = Enum.SurfaceType.Smooth
- Part913.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part913.Position = Vector3.new(74.3999863, 11.3121157, -150.599976)
- Part913.Orientation = Vector3.new(0, -90, 0)
- Part913.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh914.Parent = Part913
- SpecialMesh914.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh914.MeshType = Enum.MeshType.Sphere
- SpecialMesh914.Scale = Vector3.new(1.5, 2, 2)
- Part915.Name = "Pole"
- Part915.Parent = Model894
- Part915.BrickColor = BrickColor.new("Mid gray")
- Part915.Reflectance = 0.15000000596046
- Part915.Rotation = Vector3.new(0, 0, -90)
- Part915.Anchored = true
- Part915.CanCollide = false
- Part915.FormFactor = Enum.FormFactor.Symmetric
- Part915.Size = Vector3.new(1, 12, 1)
- Part915.CFrame = CFrame.new(78.3999863, 13.6121111, -153.099976, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part915.BottomSurface = Enum.SurfaceType.Smooth
- Part915.TopSurface = Enum.SurfaceType.Smooth
- Part915.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part915.Position = Vector3.new(78.3999863, 13.6121111, -153.099976)
- Part915.Orientation = Vector3.new(0, 0, -90)
- Part915.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh916.Parent = Part915
- CylinderMesh916.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh916.Scale = Vector3.new(0.5, 1, 0.5)
- Model917.Name = "Functions"
- Model917.Parent = Model893
- Model918.Name = "Light"
- Model918.Parent = Model917
- Part919.Name = "Lightbulb"
- Part919.Parent = Model918
- Part919.Transparency = 0.5
- Part919.Rotation = Vector3.new(180, 90, 0)
- Part919.Anchored = true
- Part919.CanCollide = false
- Part919.FormFactor = Enum.FormFactor.Symmetric
- Part919.Size = Vector3.new(2, 1, 2)
- Part919.CFrame = CFrame.new(78.3999863, 18.8121414, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part919.BackSurface = Enum.SurfaceType.Weld
- Part919.BottomSurface = Enum.SurfaceType.Weld
- Part919.FrontSurface = Enum.SurfaceType.Weld
- Part919.LeftSurface = Enum.SurfaceType.Weld
- Part919.RightSurface = Enum.SurfaceType.Weld
- Part919.TopSurface = Enum.SurfaceType.Weld
- Part919.Position = Vector3.new(78.3999863, 18.8121414, -146.600006)
- Part919.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh920.Parent = Part919
- SpecialMesh920.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh920.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh920.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh920.MeshType = Enum.MeshType.FileMesh
- SpecialMesh920.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part921.Name = "Light"
- Part921.Parent = Model918
- Part921.BrickColor = BrickColor.new("Cool yellow")
- Part921.Transparency = 1
- Part921.Anchored = true
- Part921.CanCollide = false
- Part921.FormFactor = Enum.FormFactor.Symmetric
- Part921.Size = Vector3.new(2, 8, 2)
- Part921.CFrame = CFrame.new(78.3999863, 14.3121071, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part921.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part921.Position = Vector3.new(78.3999863, 14.3121071, -146.600006)
- Part921.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh922.Parent = Part921
- SpecialMesh922.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh922.Scale = Vector3.new(7, 13, 7)
- SpecialMesh922.MeshType = Enum.MeshType.FileMesh
- SpecialMesh922.Scale = Vector3.new(7, 13, 7)
- Script923.Name = "Function"
- Script923.Parent = Model918
- table.insert(cors,sandbox(Script923,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part924.Name = "LightSocket"
- Part924.Parent = Model918
- Part924.BrickColor = BrickColor.new("Dark stone grey")
- Part924.Anchored = true
- Part924.FormFactor = Enum.FormFactor.Symmetric
- Part924.Size = Vector3.new(2, 1, 2)
- Part924.CFrame = CFrame.new(78.3999863, 18.8121414, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part924.BottomSurface = Enum.SurfaceType.Smooth
- Part924.TopSurface = Enum.SurfaceType.Smooth
- Part924.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part924.Position = Vector3.new(78.3999863, 18.8121414, -146.600006)
- Part924.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh925.Parent = Part924
- CylinderMesh925.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh925.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh925.Scale = Vector3.new(1, 0.5, 1)
- Model926.Name = "Door"
- Model926.Parent = Model868
- Part927.Name = "Bar"
- Part927.Parent = Model926
- Part927.Reflectance = 0.15000000596046
- Part927.Anchored = true
- Part927.FormFactor = Enum.FormFactor.Symmetric
- Part927.Size = Vector3.new(1, 9, 1)
- Part927.CFrame = CFrame.new(82.8999939, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part927.BottomSurface = Enum.SurfaceType.Smooth
- Part927.TopSurface = Enum.SurfaceType.Smooth
- Part927.Position = Vector3.new(82.8999939, 14.2121134, -139.100006)
- CylinderMesh928.Parent = Part927
- CylinderMesh928.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh928.Scale = Vector3.new(0.5, 1, 1)
- Part929.Name = "Bar"
- Part929.Parent = Model926
- Part929.Reflectance = 0.15000000596046
- Part929.Anchored = true
- Part929.FormFactor = Enum.FormFactor.Symmetric
- Part929.Size = Vector3.new(1, 9, 1)
- Part929.CFrame = CFrame.new(81.8999786, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part929.BottomSurface = Enum.SurfaceType.Smooth
- Part929.TopSurface = Enum.SurfaceType.Smooth
- Part929.Position = Vector3.new(81.8999786, 14.2121134, -139.100006)
- CylinderMesh930.Parent = Part929
- CylinderMesh930.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh930.Scale = Vector3.new(0.5, 1, 1)
- Part931.Name = "Bar"
- Part931.Parent = Model926
- Part931.Reflectance = 0.15000000596046
- Part931.Anchored = true
- Part931.FormFactor = Enum.FormFactor.Symmetric
- Part931.Size = Vector3.new(1, 9, 1)
- Part931.CFrame = CFrame.new(80.9000015, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part931.BottomSurface = Enum.SurfaceType.Smooth
- Part931.TopSurface = Enum.SurfaceType.Smooth
- Part931.Position = Vector3.new(80.9000015, 14.2121134, -139.100006)
- CylinderMesh932.Parent = Part931
- CylinderMesh932.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh932.Scale = Vector3.new(0.5, 1, 1)
- Part933.Name = "Bar"
- Part933.Parent = Model926
- Part933.Reflectance = 0.15000000596046
- Part933.Anchored = true
- Part933.FormFactor = Enum.FormFactor.Symmetric
- Part933.Size = Vector3.new(1, 9, 1)
- Part933.CFrame = CFrame.new(79.8999863, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part933.BottomSurface = Enum.SurfaceType.Smooth
- Part933.TopSurface = Enum.SurfaceType.Smooth
- Part933.Position = Vector3.new(79.8999863, 14.2121134, -139.100006)
- CylinderMesh934.Parent = Part933
- CylinderMesh934.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh934.Scale = Vector3.new(0.5, 1, 1)
- Part935.Name = "Bar"
- Part935.Parent = Model926
- Part935.Reflectance = 0.15000000596046
- Part935.Anchored = true
- Part935.FormFactor = Enum.FormFactor.Symmetric
- Part935.Size = Vector3.new(1, 9, 1)
- Part935.CFrame = CFrame.new(78.8999863, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part935.BottomSurface = Enum.SurfaceType.Smooth
- Part935.TopSurface = Enum.SurfaceType.Smooth
- Part935.Position = Vector3.new(78.8999863, 14.2121134, -139.100006)
- CylinderMesh936.Parent = Part935
- CylinderMesh936.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh936.Scale = Vector3.new(0.5, 1, 1)
- Part937.Name = "Bar"
- Part937.Parent = Model926
- Part937.Reflectance = 0.15000000596046
- Part937.Anchored = true
- Part937.FormFactor = Enum.FormFactor.Symmetric
- Part937.Size = Vector3.new(1, 9, 1)
- Part937.CFrame = CFrame.new(77.8999863, 14.2121134, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part937.BottomSurface = Enum.SurfaceType.Smooth
- Part937.TopSurface = Enum.SurfaceType.Smooth
- Part937.Position = Vector3.new(77.8999863, 14.2121134, -139.100006)
- CylinderMesh938.Parent = Part937
- CylinderMesh938.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh938.Scale = Vector3.new(0.5, 1, 1)
- Script939.Name = "Main"
- Script939.Parent = Model926
- table.insert(cors,sandbox(Script939,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part940.Name = "Button"
- Part940.Parent = Model926
- Part940.BrickColor = BrickColor.new("Really red")
- Part940.Reflectance = 0.20000000298023
- Part940.Transparency = 0.5
- Part940.Rotation = Vector3.new(90, 0, -180)
- Part940.Anchored = true
- Part940.FormFactor = Enum.FormFactor.Plate
- Part940.Size = Vector3.new(1, 0.400000006, 1)
- Part940.CFrame = CFrame.new(75.8999863, 14.2120914, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part940.BottomSurface = Enum.SurfaceType.Smooth
- Part940.TopSurface = Enum.SurfaceType.Smooth
- Part940.Color = Color3.new(1, 0, 0)
- Part940.Position = Vector3.new(75.8999863, 14.2120914, -138.399994)
- Part940.Orientation = Vector3.new(90, 180, 0)
- Part940.Color = Color3.new(1, 0, 0)
- BlockMesh941.Parent = Part940
- CylinderMesh942.Parent = Part940
- CylinderMesh942.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh942.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh942.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector943.Name = "Click"
- ClickDetector943.Parent = Part940
- Model944.Name = "PrisonCell"
- Model944.Parent = Model1
- Model945.Name = "Exterior"
- Model945.Parent = Model944
- Model946.Name = "Top"
- Model946.Parent = Model945
- Part947.Name = "Ceiling"
- Part947.Parent = Model946
- Part947.BrickColor = BrickColor.new("Brick yellow")
- Part947.Anchored = true
- Part947.FormFactor = Enum.FormFactor.Plate
- Part947.Size = Vector3.new(12, 0.400000006, 14)
- Part947.CFrame = CFrame.new(134.399994, 33.3122063, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part947.BottomSurface = Enum.SurfaceType.Smooth
- Part947.TopSurface = Enum.SurfaceType.Smooth
- Part947.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part947.Position = Vector3.new(134.399994, 33.3122063, -146.599991)
- Part947.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh948.Parent = Part947
- Part949.Name = "Top"
- Part949.Parent = Model946
- Part949.BrickColor = BrickColor.new("Dark stone grey")
- Part949.Anchored = true
- Part949.FormFactor = Enum.FormFactor.Symmetric
- Part949.Size = Vector3.new(14, 1, 16)
- Part949.CFrame = CFrame.new(134.399994, 34.012207, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part949.BottomSurface = Enum.SurfaceType.Smooth
- Part949.TopSurface = Enum.SurfaceType.Smooth
- Part949.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part949.Position = Vector3.new(134.399994, 34.012207, -146.599991)
- Part949.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh950.Parent = Part949
- Model951.Name = "Walls"
- Model951.Parent = Model945
- Part952.Parent = Model951
- Part952.BrickColor = BrickColor.new("Dark stone grey")
- Part952.Anchored = true
- Part952.FormFactor = Enum.FormFactor.Symmetric
- Part952.Size = Vector3.new(6, 1, 1)
- Part952.CFrame = CFrame.new(136.399994, 33.0122108, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part952.BottomSurface = Enum.SurfaceType.Smooth
- Part952.TopSurface = Enum.SurfaceType.Smooth
- Part952.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part952.Position = Vector3.new(136.399994, 33.0122108, -139.099991)
- Part952.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh953.Parent = Part952
- Part954.Parent = Model951
- Part954.BrickColor = BrickColor.new("Dark stone grey")
- Part954.Anchored = true
- Part954.FormFactor = Enum.FormFactor.Symmetric
- Part954.Size = Vector3.new(6, 10, 1)
- Part954.CFrame = CFrame.new(130.399994, 28.5121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part954.BottomSurface = Enum.SurfaceType.Smooth
- Part954.TopSurface = Enum.SurfaceType.Smooth
- Part954.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part954.Position = Vector3.new(130.399994, 28.5121994, -139.099991)
- Part954.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh955.Parent = Part954
- Part956.Parent = Model951
- Part956.BrickColor = BrickColor.new("Dark stone grey")
- Part956.Rotation = Vector3.new(-180, 0, -180)
- Part956.Anchored = true
- Part956.FormFactor = Enum.FormFactor.Symmetric
- Part956.Size = Vector3.new(1, 10, 14)
- Part956.CFrame = CFrame.new(127.899986, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part956.BottomSurface = Enum.SurfaceType.Smooth
- Part956.TopSurface = Enum.SurfaceType.Smooth
- Part956.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part956.Position = Vector3.new(127.899986, 28.5121994, -146.599991)
- Part956.Orientation = Vector3.new(0, 180, 0)
- Part956.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh957.Parent = Part956
- Part958.Parent = Model951
- Part958.BrickColor = BrickColor.new("Dark stone grey")
- Part958.Rotation = Vector3.new(0, -90, 0)
- Part958.Anchored = true
- Part958.FormFactor = Enum.FormFactor.Symmetric
- Part958.Size = Vector3.new(1, 10, 14)
- Part958.CFrame = CFrame.new(134.399994, 28.5121994, -154.099991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part958.BottomSurface = Enum.SurfaceType.Smooth
- Part958.TopSurface = Enum.SurfaceType.Smooth
- Part958.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part958.Position = Vector3.new(134.399994, 28.5121994, -154.099991)
- Part958.Orientation = Vector3.new(0, -90, 0)
- Part958.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh959.Parent = Part958
- Part960.Parent = Model951
- Part960.BrickColor = BrickColor.new("Dark stone grey")
- Part960.Rotation = Vector3.new(-180, 0, -180)
- Part960.Anchored = true
- Part960.FormFactor = Enum.FormFactor.Symmetric
- Part960.Size = Vector3.new(1, 10, 14)
- Part960.CFrame = CFrame.new(140.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part960.BottomSurface = Enum.SurfaceType.Smooth
- Part960.TopSurface = Enum.SurfaceType.Smooth
- Part960.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part960.Position = Vector3.new(140.899994, 28.5121994, -146.599991)
- Part960.Orientation = Vector3.new(0, 180, 0)
- Part960.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh961.Parent = Part960
- Part962.Parent = Model951
- Part962.BrickColor = BrickColor.new("Dark stone grey")
- Part962.Rotation = Vector3.new(0, 90, 0)
- Part962.Anchored = true
- Part962.FormFactor = Enum.FormFactor.Symmetric
- Part962.Size = Vector3.new(1, 10, 2)
- Part962.CFrame = CFrame.new(140.399994, 28.5121994, -139.099991, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part962.BottomSurface = Enum.SurfaceType.Smooth
- Part962.TopSurface = Enum.SurfaceType.Smooth
- Part962.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part962.Position = Vector3.new(140.399994, 28.5121994, -139.099991)
- Part962.Orientation = Vector3.new(0, 90, 0)
- Part962.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh963.Parent = Part962
- Model964.Name = "Floor"
- Model964.Parent = Model945
- Part965.Name = "Floor"
- Part965.Parent = Model964
- Part965.BrickColor = BrickColor.new("Brick yellow")
- Part965.Anchored = true
- Part965.FormFactor = Enum.FormFactor.Plate
- Part965.Size = Vector3.new(12, 0.400000006, 14)
- Part965.CFrame = CFrame.new(134.399994, 23.7121944, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part965.BottomSurface = Enum.SurfaceType.Smooth
- Part965.TopSurface = Enum.SurfaceType.Smooth
- Part965.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part965.Position = Vector3.new(134.399994, 23.7121944, -146.599991)
- Part965.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh966.Parent = Part965
- Part967.Name = "Floor"
- Part967.Parent = Model964
- Part967.BrickColor = BrickColor.new("Brick yellow")
- Part967.Anchored = true
- Part967.CanCollide = false
- Part967.FormFactor = Enum.FormFactor.Plate
- Part967.Size = Vector3.new(6, 0.400000006, 1)
- Part967.CFrame = CFrame.new(136.399994, 24.1122017, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part967.BottomSurface = Enum.SurfaceType.Smooth
- Part967.TopSurface = Enum.SurfaceType.Smooth
- Part967.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part967.Position = Vector3.new(136.399994, 24.1122017, -140.099991)
- Part967.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh968.Parent = Part967
- BlockMesh968.Offset = Vector3.new(0, -0.400000006, 1)
- Model969.Name = "Items"
- Model969.Parent = Model944
- Model970.Name = "Furnish"
- Model970.Parent = Model969
- Model971.Name = "Bed"
- Model971.Parent = Model970
- Part972.Name = "Pole"
- Part972.Parent = Model971
- Part972.BrickColor = BrickColor.new("Mid gray")
- Part972.Reflectance = 0.15000000596046
- Part972.Anchored = true
- Part972.CanCollide = false
- Part972.FormFactor = Enum.FormFactor.Symmetric
- Part972.Size = Vector3.new(1, 5, 1)
- Part972.CFrame = CFrame.new(128.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part972.BottomSurface = Enum.SurfaceType.Smooth
- Part972.TopSurface = Enum.SurfaceType.Smooth
- Part972.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part972.Position = Vector3.new(128.899994, 26.4121971, -140.099991)
- Part972.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh973.Parent = Part972
- CylinderMesh973.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh973.Scale = Vector3.new(0.5, 1, 0.5)
- Part974.Name = "Pole"
- Part974.Parent = Model971
- Part974.BrickColor = BrickColor.new("Mid gray")
- Part974.Reflectance = 0.15000000596046
- Part974.Anchored = true
- Part974.CanCollide = false
- Part974.FormFactor = Enum.FormFactor.Symmetric
- Part974.Size = Vector3.new(1, 5, 1)
- Part974.CFrame = CFrame.new(128.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part974.BottomSurface = Enum.SurfaceType.Smooth
- Part974.TopSurface = Enum.SurfaceType.Smooth
- Part974.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part974.Position = Vector3.new(128.899994, 26.4121971, -147.099991)
- Part974.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh975.Parent = Part974
- CylinderMesh975.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh975.Scale = Vector3.new(0.5, 1, 0.5)
- Part976.Name = "Pole"
- Part976.Parent = Model971
- Part976.BrickColor = BrickColor.new("Mid gray")
- Part976.Reflectance = 0.15000000596046
- Part976.Anchored = true
- Part976.CanCollide = false
- Part976.FormFactor = Enum.FormFactor.Symmetric
- Part976.Size = Vector3.new(1, 5, 1)
- Part976.CFrame = CFrame.new(132.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part976.BottomSurface = Enum.SurfaceType.Smooth
- Part976.TopSurface = Enum.SurfaceType.Smooth
- Part976.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part976.Position = Vector3.new(132.899994, 26.4121971, -147.099991)
- Part976.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh977.Parent = Part976
- CylinderMesh977.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh977.Scale = Vector3.new(0.5, 1, 0.5)
- Part978.Name = "Pole"
- Part978.Parent = Model971
- Part978.BrickColor = BrickColor.new("Mid gray")
- Part978.Reflectance = 0.15000000596046
- Part978.Anchored = true
- Part978.CanCollide = false
- Part978.FormFactor = Enum.FormFactor.Symmetric
- Part978.Size = Vector3.new(1, 5, 1)
- Part978.CFrame = CFrame.new(132.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part978.BottomSurface = Enum.SurfaceType.Smooth
- Part978.TopSurface = Enum.SurfaceType.Smooth
- Part978.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part978.Position = Vector3.new(132.899994, 26.4121971, -140.099991)
- Part978.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh979.Parent = Part978
- CylinderMesh979.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh979.Scale = Vector3.new(0.5, 1, 0.5)
- Part980.Parent = Model971
- Part980.BrickColor = BrickColor.new("Institutional white")
- Part980.Rotation = Vector3.new(-180, 0, -180)
- Part980.Anchored = true
- Part980.FormFactor = Enum.FormFactor.Symmetric
- Part980.Size = Vector3.new(3, 1, 6)
- Part980.CFrame = CFrame.new(130.899994, 27.6122017, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part980.BottomSurface = Enum.SurfaceType.Smooth
- Part980.TopSurface = Enum.SurfaceType.Smooth
- Part980.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part980.Position = Vector3.new(130.899994, 27.6122017, -143.599991)
- Part980.Orientation = Vector3.new(0, 180, 0)
- Part980.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh981.Parent = Part980
- BlockMesh981.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh981.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part982.Parent = Model971
- Part982.BrickColor = BrickColor.new("Institutional white")
- Part982.Rotation = Vector3.new(-180, 0, -180)
- Part982.Anchored = true
- Part982.FormFactor = Enum.FormFactor.Symmetric
- Part982.Size = Vector3.new(3, 1, 6)
- Part982.CFrame = CFrame.new(130.899994, 24.4121971, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part982.BottomSurface = Enum.SurfaceType.Smooth
- Part982.TopSurface = Enum.SurfaceType.Smooth
- Part982.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part982.Position = Vector3.new(130.899994, 24.4121971, -143.599991)
- Part982.Orientation = Vector3.new(0, 180, 0)
- Part982.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh983.Parent = Part982
- BlockMesh983.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh983.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model984.Name = "Toilet"
- Model984.Parent = Model970
- Part985.Parent = Model984
- Part985.BrickColor = BrickColor.new("Mid gray")
- Part985.Rotation = Vector3.new(0, -90, 0)
- Part985.Anchored = true
- Part985.FormFactor = Enum.FormFactor.Symmetric
- Part985.Size = Vector3.new(2, 3, 1)
- Part985.CFrame = CFrame.new(128.899994, 26.4121971, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part985.BottomSurface = Enum.SurfaceType.Smooth
- Part985.TopSurface = Enum.SurfaceType.Smooth
- Part985.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part985.Position = Vector3.new(128.899994, 26.4121971, -150.599991)
- Part985.Orientation = Vector3.new(0, -90, 0)
- Part985.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh986.Parent = Part985
- BlockMesh986.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh986.Scale = Vector3.new(1.5, 1, 1)
- Part987.Parent = Model984
- Part987.BrickColor = BrickColor.new("Mid gray")
- Part987.Rotation = Vector3.new(0, -90, 0)
- Part987.Anchored = true
- Part987.FormFactor = Enum.FormFactor.Symmetric
- Part987.Size = Vector3.new(2, 1, 3)
- Part987.CFrame = CFrame.new(129.899994, 24.4121971, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part987.BottomSurface = Enum.SurfaceType.Smooth
- Part987.TopSurface = Enum.SurfaceType.Smooth
- Part987.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part987.Position = Vector3.new(129.899994, 24.4121971, -150.599991)
- Part987.Orientation = Vector3.new(0, -90, 0)
- Part987.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh988.Parent = Part987
- Part989.Parent = Model984
- Part989.BrickColor = BrickColor.new("Light stone grey")
- Part989.Rotation = Vector3.new(0, -90, 0)
- Part989.Anchored = true
- Part989.FormFactor = Enum.FormFactor.Plate
- Part989.Size = Vector3.new(2, 0.400000006, 2)
- Part989.CFrame = CFrame.new(130.399994, 25.1122017, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part989.BottomSurface = Enum.SurfaceType.Smooth
- Part989.TopSurface = Enum.SurfaceType.Smooth
- Part989.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part989.Position = Vector3.new(130.399994, 25.1122017, -150.599991)
- Part989.Orientation = Vector3.new(0, -90, 0)
- Part989.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh990.Parent = Part989
- SpecialMesh990.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh990.MeshType = Enum.MeshType.Sphere
- SpecialMesh990.Scale = Vector3.new(1.5, 2, 2)
- Part991.Name = "Pole"
- Part991.Parent = Model970
- Part991.BrickColor = BrickColor.new("Mid gray")
- Part991.Reflectance = 0.15000000596046
- Part991.Rotation = Vector3.new(0, 0, -90)
- Part991.Anchored = true
- Part991.CanCollide = false
- Part991.FormFactor = Enum.FormFactor.Symmetric
- Part991.Size = Vector3.new(1, 12, 1)
- Part991.CFrame = CFrame.new(134.399994, 27.4121971, -153.099991, 0, 1, -0, -1, 0, 0, 0, 0, 1)
- Part991.BottomSurface = Enum.SurfaceType.Smooth
- Part991.TopSurface = Enum.SurfaceType.Smooth
- Part991.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part991.Position = Vector3.new(134.399994, 27.4121971, -153.099991)
- Part991.Orientation = Vector3.new(0, 0, -90)
- Part991.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh992.Parent = Part991
- CylinderMesh992.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh992.Scale = Vector3.new(0.5, 1, 0.5)
- Model993.Name = "Functions"
- Model993.Parent = Model969
- Model994.Name = "Light"
- Model994.Parent = Model993
- Part995.Name = "Lightbulb"
- Part995.Parent = Model994
- Part995.Transparency = 0.5
- Part995.Rotation = Vector3.new(180, 90, 0)
- Part995.Anchored = true
- Part995.CanCollide = false
- Part995.FormFactor = Enum.FormFactor.Symmetric
- Part995.Size = Vector3.new(2, 1, 2)
- Part995.CFrame = CFrame.new(134.399994, 32.6122093, -146.599991, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part995.BackSurface = Enum.SurfaceType.Weld
- Part995.BottomSurface = Enum.SurfaceType.Weld
- Part995.FrontSurface = Enum.SurfaceType.Weld
- Part995.LeftSurface = Enum.SurfaceType.Weld
- Part995.RightSurface = Enum.SurfaceType.Weld
- Part995.TopSurface = Enum.SurfaceType.Weld
- Part995.Position = Vector3.new(134.399994, 32.6122093, -146.599991)
- Part995.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh996.Parent = Part995
- SpecialMesh996.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh996.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh996.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh996.MeshType = Enum.MeshType.FileMesh
- SpecialMesh996.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part997.Name = "Light"
- Part997.Parent = Model994
- Part997.BrickColor = BrickColor.new("Cool yellow")
- Part997.Transparency = 1
- Part997.Anchored = true
- Part997.CanCollide = false
- Part997.FormFactor = Enum.FormFactor.Symmetric
- Part997.Size = Vector3.new(2, 8, 2)
- Part997.CFrame = CFrame.new(134.399994, 28.1122017, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part997.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part997.Position = Vector3.new(134.399994, 28.1122017, -146.599991)
- Part997.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh998.Parent = Part997
- SpecialMesh998.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh998.Scale = Vector3.new(7, 13, 7)
- SpecialMesh998.MeshType = Enum.MeshType.FileMesh
- SpecialMesh998.Scale = Vector3.new(7, 13, 7)
- Script999.Name = "Function"
- Script999.Parent = Model994
- table.insert(cors,sandbox(Script999,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part1000.Name = "LightSocket"
- Part1000.Parent = Model994
- Part1000.BrickColor = BrickColor.new("Dark stone grey")
- Part1000.Anchored = true
- Part1000.FormFactor = Enum.FormFactor.Symmetric
- Part1000.Size = Vector3.new(2, 1, 2)
- Part1000.CFrame = CFrame.new(134.399994, 32.6122093, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1000.BottomSurface = Enum.SurfaceType.Smooth
- Part1000.TopSurface = Enum.SurfaceType.Smooth
- Part1000.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1000.Position = Vector3.new(134.399994, 32.6122093, -146.599991)
- Part1000.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh1001.Parent = Part1000
- CylinderMesh1001.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh1001.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh1001.Scale = Vector3.new(1, 0.5, 1)
- Model1002.Name = "Door"
- Model1002.Parent = Model944
- Part1003.Name = "Bar"
- Part1003.Parent = Model1002
- Part1003.Reflectance = 0.15000000596046
- Part1003.Anchored = true
- Part1003.FormFactor = Enum.FormFactor.Symmetric
- Part1003.Size = Vector3.new(1, 9, 1)
- Part1003.CFrame = CFrame.new(138.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1003.BottomSurface = Enum.SurfaceType.Smooth
- Part1003.TopSurface = Enum.SurfaceType.Smooth
- Part1003.Position = Vector3.new(138.899994, 28.0121994, -139.099991)
- CylinderMesh1004.Parent = Part1003
- CylinderMesh1004.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1004.Scale = Vector3.new(0.5, 1, 1)
- Part1005.Name = "Bar"
- Part1005.Parent = Model1002
- Part1005.Reflectance = 0.15000000596046
- Part1005.Anchored = true
- Part1005.FormFactor = Enum.FormFactor.Symmetric
- Part1005.Size = Vector3.new(1, 9, 1)
- Part1005.CFrame = CFrame.new(137.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1005.BottomSurface = Enum.SurfaceType.Smooth
- Part1005.TopSurface = Enum.SurfaceType.Smooth
- Part1005.Position = Vector3.new(137.899994, 28.0121994, -139.099991)
- CylinderMesh1006.Parent = Part1005
- CylinderMesh1006.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1006.Scale = Vector3.new(0.5, 1, 1)
- Part1007.Name = "Bar"
- Part1007.Parent = Model1002
- Part1007.Reflectance = 0.15000000596046
- Part1007.Anchored = true
- Part1007.FormFactor = Enum.FormFactor.Symmetric
- Part1007.Size = Vector3.new(1, 9, 1)
- Part1007.CFrame = CFrame.new(136.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1007.BottomSurface = Enum.SurfaceType.Smooth
- Part1007.TopSurface = Enum.SurfaceType.Smooth
- Part1007.Position = Vector3.new(136.899994, 28.0121994, -139.099991)
- CylinderMesh1008.Parent = Part1007
- CylinderMesh1008.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1008.Scale = Vector3.new(0.5, 1, 1)
- Part1009.Name = "Bar"
- Part1009.Parent = Model1002
- Part1009.Reflectance = 0.15000000596046
- Part1009.Anchored = true
- Part1009.FormFactor = Enum.FormFactor.Symmetric
- Part1009.Size = Vector3.new(1, 9, 1)
- Part1009.CFrame = CFrame.new(135.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1009.BottomSurface = Enum.SurfaceType.Smooth
- Part1009.TopSurface = Enum.SurfaceType.Smooth
- Part1009.Position = Vector3.new(135.899994, 28.0121994, -139.099991)
- CylinderMesh1010.Parent = Part1009
- CylinderMesh1010.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1010.Scale = Vector3.new(0.5, 1, 1)
- Part1011.Name = "Bar"
- Part1011.Parent = Model1002
- Part1011.Reflectance = 0.15000000596046
- Part1011.Anchored = true
- Part1011.FormFactor = Enum.FormFactor.Symmetric
- Part1011.Size = Vector3.new(1, 9, 1)
- Part1011.CFrame = CFrame.new(134.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1011.BottomSurface = Enum.SurfaceType.Smooth
- Part1011.TopSurface = Enum.SurfaceType.Smooth
- Part1011.Position = Vector3.new(134.899994, 28.0121994, -139.099991)
- CylinderMesh1012.Parent = Part1011
- CylinderMesh1012.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1012.Scale = Vector3.new(0.5, 1, 1)
- Part1013.Name = "Bar"
- Part1013.Parent = Model1002
- Part1013.Reflectance = 0.15000000596046
- Part1013.Anchored = true
- Part1013.FormFactor = Enum.FormFactor.Symmetric
- Part1013.Size = Vector3.new(1, 9, 1)
- Part1013.CFrame = CFrame.new(133.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1013.BottomSurface = Enum.SurfaceType.Smooth
- Part1013.TopSurface = Enum.SurfaceType.Smooth
- Part1013.Position = Vector3.new(133.899994, 28.0121994, -139.099991)
- CylinderMesh1014.Parent = Part1013
- CylinderMesh1014.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1014.Scale = Vector3.new(0.5, 1, 1)
- Script1015.Name = "Main"
- Script1015.Parent = Model1002
- table.insert(cors,sandbox(Script1015,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part1016.Name = "Button"
- Part1016.Parent = Model1002
- Part1016.BrickColor = BrickColor.new("Really red")
- Part1016.Reflectance = 0.20000000298023
- Part1016.Transparency = 0.5
- Part1016.Rotation = Vector3.new(90, 0, -180)
- Part1016.Anchored = true
- Part1016.FormFactor = Enum.FormFactor.Plate
- Part1016.Size = Vector3.new(1, 0.400000006, 1)
- Part1016.CFrame = CFrame.new(131.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part1016.BottomSurface = Enum.SurfaceType.Smooth
- Part1016.TopSurface = Enum.SurfaceType.Smooth
- Part1016.Color = Color3.new(1, 0, 0)
- Part1016.Position = Vector3.new(131.899994, 28.0121784, -138.399994)
- Part1016.Orientation = Vector3.new(90, 180, 0)
- Part1016.Color = Color3.new(1, 0, 0)
- BlockMesh1017.Parent = Part1016
- CylinderMesh1018.Parent = Part1016
- CylinderMesh1018.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh1018.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh1018.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector1019.Name = "Click"
- ClickDetector1019.Parent = Part1016
- Model1020.Name = "PrisonCell"
- Model1020.Parent = Model1
- Model1021.Name = "Exterior"
- Model1021.Parent = Model1020
- Model1022.Name = "Top"
- Model1022.Parent = Model1021
- Part1023.Name = "Ceiling"
- Part1023.Parent = Model1022
- Part1023.BrickColor = BrickColor.new("Brick yellow")
- Part1023.Anchored = true
- Part1023.FormFactor = Enum.FormFactor.Plate
- Part1023.Size = Vector3.new(12, 0.400000006, 14)
- Part1023.CFrame = CFrame.new(92.3999939, 33.3122101, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1023.BottomSurface = Enum.SurfaceType.Smooth
- Part1023.TopSurface = Enum.SurfaceType.Smooth
- Part1023.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part1023.Position = Vector3.new(92.3999939, 33.3122101, -146.600006)
- Part1023.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh1024.Parent = Part1023
- Part1025.Name = "Top"
- Part1025.Parent = Model1022
- Part1025.BrickColor = BrickColor.new("Dark stone grey")
- Part1025.Anchored = true
- Part1025.FormFactor = Enum.FormFactor.Symmetric
- Part1025.Size = Vector3.new(14, 1, 16)
- Part1025.CFrame = CFrame.new(92.3999939, 34.0122032, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1025.BottomSurface = Enum.SurfaceType.Smooth
- Part1025.TopSurface = Enum.SurfaceType.Smooth
- Part1025.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1025.Position = Vector3.new(92.3999939, 34.0122032, -146.600006)
- Part1025.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1026.Parent = Part1025
- Model1027.Name = "Walls"
- Model1027.Parent = Model1021
- Part1028.Parent = Model1027
- Part1028.BrickColor = BrickColor.new("Dark stone grey")
- Part1028.Anchored = true
- Part1028.FormFactor = Enum.FormFactor.Symmetric
- Part1028.Size = Vector3.new(6, 1, 1)
- Part1028.CFrame = CFrame.new(94.3999939, 33.0122108, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1028.BottomSurface = Enum.SurfaceType.Smooth
- Part1028.TopSurface = Enum.SurfaceType.Smooth
- Part1028.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1028.Position = Vector3.new(94.3999939, 33.0122108, -139.099991)
- Part1028.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1029.Parent = Part1028
- Part1030.Parent = Model1027
- Part1030.BrickColor = BrickColor.new("Dark stone grey")
- Part1030.Anchored = true
- Part1030.FormFactor = Enum.FormFactor.Symmetric
- Part1030.Size = Vector3.new(6, 10, 1)
- Part1030.CFrame = CFrame.new(88.3999939, 28.5121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1030.BottomSurface = Enum.SurfaceType.Smooth
- Part1030.TopSurface = Enum.SurfaceType.Smooth
- Part1030.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1030.Position = Vector3.new(88.3999939, 28.5121994, -139.099991)
- Part1030.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1031.Parent = Part1030
- Part1032.Parent = Model1027
- Part1032.BrickColor = BrickColor.new("Dark stone grey")
- Part1032.Rotation = Vector3.new(-180, 0, -180)
- Part1032.Anchored = true
- Part1032.FormFactor = Enum.FormFactor.Symmetric
- Part1032.Size = Vector3.new(1, 10, 14)
- Part1032.CFrame = CFrame.new(85.8999939, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1032.BottomSurface = Enum.SurfaceType.Smooth
- Part1032.TopSurface = Enum.SurfaceType.Smooth
- Part1032.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1032.Position = Vector3.new(85.8999939, 28.5121994, -146.600006)
- Part1032.Orientation = Vector3.new(0, 180, 0)
- Part1032.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1033.Parent = Part1032
- Part1034.Parent = Model1027
- Part1034.BrickColor = BrickColor.new("Dark stone grey")
- Part1034.Rotation = Vector3.new(0, -90, 0)
- Part1034.Anchored = true
- Part1034.FormFactor = Enum.FormFactor.Symmetric
- Part1034.Size = Vector3.new(1, 10, 14)
- Part1034.CFrame = CFrame.new(92.3999939, 28.5121994, -154.100006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1034.BottomSurface = Enum.SurfaceType.Smooth
- Part1034.TopSurface = Enum.SurfaceType.Smooth
- Part1034.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1034.Position = Vector3.new(92.3999939, 28.5121994, -154.100006)
- Part1034.Orientation = Vector3.new(0, -90, 0)
- Part1034.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1035.Parent = Part1034
- Part1036.Parent = Model1027
- Part1036.BrickColor = BrickColor.new("Dark stone grey")
- Part1036.Rotation = Vector3.new(-180, 0, -180)
- Part1036.Anchored = true
- Part1036.FormFactor = Enum.FormFactor.Symmetric
- Part1036.Size = Vector3.new(1, 10, 14)
- Part1036.CFrame = CFrame.new(98.8999939, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1036.BottomSurface = Enum.SurfaceType.Smooth
- Part1036.TopSurface = Enum.SurfaceType.Smooth
- Part1036.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1036.Position = Vector3.new(98.8999939, 28.5121994, -146.600006)
- Part1036.Orientation = Vector3.new(0, 180, 0)
- Part1036.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1037.Parent = Part1036
- Part1038.Parent = Model1027
- Part1038.BrickColor = BrickColor.new("Dark stone grey")
- Part1038.Rotation = Vector3.new(0, 90, 0)
- Part1038.Anchored = true
- Part1038.FormFactor = Enum.FormFactor.Symmetric
- Part1038.Size = Vector3.new(1, 10, 2)
- Part1038.CFrame = CFrame.new(98.3999939, 28.5121994, -139.099991, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part1038.BottomSurface = Enum.SurfaceType.Smooth
- Part1038.TopSurface = Enum.SurfaceType.Smooth
- Part1038.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1038.Position = Vector3.new(98.3999939, 28.5121994, -139.099991)
- Part1038.Orientation = Vector3.new(0, 90, 0)
- Part1038.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1039.Parent = Part1038
- Model1040.Name = "Floor"
- Model1040.Parent = Model1021
- Part1041.Name = "Floor"
- Part1041.Parent = Model1040
- Part1041.BrickColor = BrickColor.new("Brick yellow")
- Part1041.Anchored = true
- Part1041.FormFactor = Enum.FormFactor.Plate
- Part1041.Size = Vector3.new(12, 0.400000006, 14)
- Part1041.CFrame = CFrame.new(92.3999939, 23.7121944, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1041.BottomSurface = Enum.SurfaceType.Smooth
- Part1041.TopSurface = Enum.SurfaceType.Smooth
- Part1041.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part1041.Position = Vector3.new(92.3999939, 23.7121944, -146.600006)
- Part1041.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh1042.Parent = Part1041
- Part1043.Name = "Floor"
- Part1043.Parent = Model1040
- Part1043.BrickColor = BrickColor.new("Brick yellow")
- Part1043.Anchored = true
- Part1043.CanCollide = false
- Part1043.FormFactor = Enum.FormFactor.Plate
- Part1043.Size = Vector3.new(6, 0.400000006, 1)
- Part1043.CFrame = CFrame.new(94.3999939, 24.1122017, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1043.BottomSurface = Enum.SurfaceType.Smooth
- Part1043.TopSurface = Enum.SurfaceType.Smooth
- Part1043.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part1043.Position = Vector3.new(94.3999939, 24.1122017, -140.100006)
- Part1043.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh1044.Parent = Part1043
- BlockMesh1044.Offset = Vector3.new(0, -0.400000006, 1)
- Model1045.Name = "Items"
- Model1045.Parent = Model1020
- Model1046.Name = "Furnish"
- Model1046.Parent = Model1045
- Model1047.Name = "Bed"
- Model1047.Parent = Model1046
- Part1048.Name = "Pole"
- Part1048.Parent = Model1047
- Part1048.BrickColor = BrickColor.new("Mid gray")
- Part1048.Reflectance = 0.15000000596046
- Part1048.Anchored = true
- Part1048.CanCollide = false
- Part1048.FormFactor = Enum.FormFactor.Symmetric
- Part1048.Size = Vector3.new(1, 5, 1)
- Part1048.CFrame = CFrame.new(86.8999939, 26.4121952, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1048.BottomSurface = Enum.SurfaceType.Smooth
- Part1048.TopSurface = Enum.SurfaceType.Smooth
- Part1048.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1048.Position = Vector3.new(86.8999939, 26.4121952, -140.100006)
- Part1048.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1049.Parent = Part1048
- CylinderMesh1049.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1049.Scale = Vector3.new(0.5, 1, 0.5)
- Part1050.Name = "Pole"
- Part1050.Parent = Model1047
- Part1050.BrickColor = BrickColor.new("Mid gray")
- Part1050.Reflectance = 0.15000000596046
- Part1050.Anchored = true
- Part1050.CanCollide = false
- Part1050.FormFactor = Enum.FormFactor.Symmetric
- Part1050.Size = Vector3.new(1, 5, 1)
- Part1050.CFrame = CFrame.new(86.8999939, 26.4121952, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1050.BottomSurface = Enum.SurfaceType.Smooth
- Part1050.TopSurface = Enum.SurfaceType.Smooth
- Part1050.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1050.Position = Vector3.new(86.8999939, 26.4121952, -147.100006)
- Part1050.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1051.Parent = Part1050
- CylinderMesh1051.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1051.Scale = Vector3.new(0.5, 1, 0.5)
- Part1052.Name = "Pole"
- Part1052.Parent = Model1047
- Part1052.BrickColor = BrickColor.new("Mid gray")
- Part1052.Reflectance = 0.15000000596046
- Part1052.Anchored = true
- Part1052.CanCollide = false
- Part1052.FormFactor = Enum.FormFactor.Symmetric
- Part1052.Size = Vector3.new(1, 5, 1)
- Part1052.CFrame = CFrame.new(90.8999939, 26.4121952, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1052.BottomSurface = Enum.SurfaceType.Smooth
- Part1052.TopSurface = Enum.SurfaceType.Smooth
- Part1052.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1052.Position = Vector3.new(90.8999939, 26.4121952, -147.100006)
- Part1052.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1053.Parent = Part1052
- CylinderMesh1053.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1053.Scale = Vector3.new(0.5, 1, 0.5)
- Part1054.Name = "Pole"
- Part1054.Parent = Model1047
- Part1054.BrickColor = BrickColor.new("Mid gray")
- Part1054.Reflectance = 0.15000000596046
- Part1054.Anchored = true
- Part1054.CanCollide = false
- Part1054.FormFactor = Enum.FormFactor.Symmetric
- Part1054.Size = Vector3.new(1, 5, 1)
- Part1054.CFrame = CFrame.new(90.8999939, 26.4121952, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1054.BottomSurface = Enum.SurfaceType.Smooth
- Part1054.TopSurface = Enum.SurfaceType.Smooth
- Part1054.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1054.Position = Vector3.new(90.8999939, 26.4121952, -140.100006)
- Part1054.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1055.Parent = Part1054
- CylinderMesh1055.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1055.Scale = Vector3.new(0.5, 1, 0.5)
- Part1056.Parent = Model1047
- Part1056.BrickColor = BrickColor.new("Institutional white")
- Part1056.Rotation = Vector3.new(-180, 0, -180)
- Part1056.Anchored = true
- Part1056.FormFactor = Enum.FormFactor.Symmetric
- Part1056.Size = Vector3.new(3, 1, 6)
- Part1056.CFrame = CFrame.new(88.8999939, 27.6122017, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1056.BottomSurface = Enum.SurfaceType.Smooth
- Part1056.TopSurface = Enum.SurfaceType.Smooth
- Part1056.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1056.Position = Vector3.new(88.8999939, 27.6122017, -143.600006)
- Part1056.Orientation = Vector3.new(0, 180, 0)
- Part1056.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh1057.Parent = Part1056
- BlockMesh1057.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh1057.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part1058.Parent = Model1047
- Part1058.BrickColor = BrickColor.new("Institutional white")
- Part1058.Rotation = Vector3.new(-180, 0, -180)
- Part1058.Anchored = true
- Part1058.FormFactor = Enum.FormFactor.Symmetric
- Part1058.Size = Vector3.new(3, 1, 6)
- Part1058.CFrame = CFrame.new(88.8999939, 24.4121952, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1058.BottomSurface = Enum.SurfaceType.Smooth
- Part1058.TopSurface = Enum.SurfaceType.Smooth
- Part1058.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1058.Position = Vector3.new(88.8999939, 24.4121952, -143.600006)
- Part1058.Orientation = Vector3.new(0, 180, 0)
- Part1058.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh1059.Parent = Part1058
- BlockMesh1059.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh1059.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model1060.Name = "Toilet"
- Model1060.Parent = Model1046
- Part1061.Parent = Model1060
- Part1061.BrickColor = BrickColor.new("Mid gray")
- Part1061.Rotation = Vector3.new(0, -90, 0)
- Part1061.Anchored = true
- Part1061.FormFactor = Enum.FormFactor.Symmetric
- Part1061.Size = Vector3.new(2, 3, 1)
- Part1061.CFrame = CFrame.new(86.8999939, 26.4121952, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1061.BottomSurface = Enum.SurfaceType.Smooth
- Part1061.TopSurface = Enum.SurfaceType.Smooth
- Part1061.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1061.Position = Vector3.new(86.8999939, 26.4121952, -150.600006)
- Part1061.Orientation = Vector3.new(0, -90, 0)
- Part1061.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh1062.Parent = Part1061
- BlockMesh1062.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh1062.Scale = Vector3.new(1.5, 1, 1)
- Part1063.Parent = Model1060
- Part1063.BrickColor = BrickColor.new("Mid gray")
- Part1063.Rotation = Vector3.new(0, -90, 0)
- Part1063.Anchored = true
- Part1063.FormFactor = Enum.FormFactor.Symmetric
- Part1063.Size = Vector3.new(2, 1, 3)
- Part1063.CFrame = CFrame.new(87.9000015, 24.4121952, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1063.BottomSurface = Enum.SurfaceType.Smooth
- Part1063.TopSurface = Enum.SurfaceType.Smooth
- Part1063.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1063.Position = Vector3.new(87.9000015, 24.4121952, -150.600006)
- Part1063.Orientation = Vector3.new(0, -90, 0)
- Part1063.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh1064.Parent = Part1063
- Part1065.Parent = Model1060
- Part1065.BrickColor = BrickColor.new("Light stone grey")
- Part1065.Rotation = Vector3.new(0, -90, 0)
- Part1065.Anchored = true
- Part1065.FormFactor = Enum.FormFactor.Plate
- Part1065.Size = Vector3.new(2, 0.400000006, 2)
- Part1065.CFrame = CFrame.new(88.3999939, 25.1122017, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1065.BottomSurface = Enum.SurfaceType.Smooth
- Part1065.TopSurface = Enum.SurfaceType.Smooth
- Part1065.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part1065.Position = Vector3.new(88.3999939, 25.1122017, -150.600006)
- Part1065.Orientation = Vector3.new(0, -90, 0)
- Part1065.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh1066.Parent = Part1065
- SpecialMesh1066.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh1066.MeshType = Enum.MeshType.Sphere
- SpecialMesh1066.Scale = Vector3.new(1.5, 2, 2)
- Part1067.Name = "Pole"
- Part1067.Parent = Model1046
- Part1067.BrickColor = BrickColor.new("Mid gray")
- Part1067.Reflectance = 0.15000000596046
- Part1067.Rotation = Vector3.new(0, 0, -90)
- Part1067.Anchored = true
- Part1067.CanCollide = false
- Part1067.FormFactor = Enum.FormFactor.Symmetric
- Part1067.Size = Vector3.new(1, 12, 1)
- Part1067.CFrame = CFrame.new(92.3999939, 27.4121952, -153.100006, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part1067.BottomSurface = Enum.SurfaceType.Smooth
- Part1067.TopSurface = Enum.SurfaceType.Smooth
- Part1067.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1067.Position = Vector3.new(92.3999939, 27.4121952, -153.100006)
- Part1067.Orientation = Vector3.new(0, 0, -90)
- Part1067.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1068.Parent = Part1067
- CylinderMesh1068.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1068.Scale = Vector3.new(0.5, 1, 0.5)
- Model1069.Name = "Functions"
- Model1069.Parent = Model1045
- Model1070.Name = "Light"
- Model1070.Parent = Model1069
- Part1071.Name = "Lightbulb"
- Part1071.Parent = Model1070
- Part1071.Transparency = 0.5
- Part1071.Rotation = Vector3.new(180, 90, 0)
- Part1071.Anchored = true
- Part1071.CanCollide = false
- Part1071.FormFactor = Enum.FormFactor.Symmetric
- Part1071.Size = Vector3.new(2, 1, 2)
- Part1071.CFrame = CFrame.new(92.3999939, 32.6122093, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part1071.BackSurface = Enum.SurfaceType.Weld
- Part1071.BottomSurface = Enum.SurfaceType.Weld
- Part1071.FrontSurface = Enum.SurfaceType.Weld
- Part1071.LeftSurface = Enum.SurfaceType.Weld
- Part1071.RightSurface = Enum.SurfaceType.Weld
- Part1071.TopSurface = Enum.SurfaceType.Weld
- Part1071.Position = Vector3.new(92.3999939, 32.6122093, -146.600006)
- Part1071.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh1072.Parent = Part1071
- SpecialMesh1072.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh1072.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh1072.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh1072.MeshType = Enum.MeshType.FileMesh
- SpecialMesh1072.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part1073.Name = "Light"
- Part1073.Parent = Model1070
- Part1073.BrickColor = BrickColor.new("Cool yellow")
- Part1073.Transparency = 1
- Part1073.Anchored = true
- Part1073.CanCollide = false
- Part1073.FormFactor = Enum.FormFactor.Symmetric
- Part1073.Size = Vector3.new(2, 8, 2)
- Part1073.CFrame = CFrame.new(92.3999939, 28.1122017, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1073.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part1073.Position = Vector3.new(92.3999939, 28.1122017, -146.600006)
- Part1073.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh1074.Parent = Part1073
- SpecialMesh1074.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh1074.Scale = Vector3.new(7, 13, 7)
- SpecialMesh1074.MeshType = Enum.MeshType.FileMesh
- SpecialMesh1074.Scale = Vector3.new(7, 13, 7)
- Script1075.Name = "Function"
- Script1075.Parent = Model1070
- table.insert(cors,sandbox(Script1075,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part1076.Name = "LightSocket"
- Part1076.Parent = Model1070
- Part1076.BrickColor = BrickColor.new("Dark stone grey")
- Part1076.Anchored = true
- Part1076.FormFactor = Enum.FormFactor.Symmetric
- Part1076.Size = Vector3.new(2, 1, 2)
- Part1076.CFrame = CFrame.new(92.3999939, 32.6122093, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1076.BottomSurface = Enum.SurfaceType.Smooth
- Part1076.TopSurface = Enum.SurfaceType.Smooth
- Part1076.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1076.Position = Vector3.new(92.3999939, 32.6122093, -146.600006)
- Part1076.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh1077.Parent = Part1076
- CylinderMesh1077.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh1077.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh1077.Scale = Vector3.new(1, 0.5, 1)
- Model1078.Name = "Door"
- Model1078.Parent = Model1020
- Part1079.Name = "Bar"
- Part1079.Parent = Model1078
- Part1079.Reflectance = 0.15000000596046
- Part1079.Anchored = true
- Part1079.FormFactor = Enum.FormFactor.Symmetric
- Part1079.Size = Vector3.new(1, 9, 1)
- Part1079.CFrame = CFrame.new(96.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1079.BottomSurface = Enum.SurfaceType.Smooth
- Part1079.TopSurface = Enum.SurfaceType.Smooth
- Part1079.Position = Vector3.new(96.8999939, 28.0121994, -139.099991)
- CylinderMesh1080.Parent = Part1079
- CylinderMesh1080.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1080.Scale = Vector3.new(0.5, 1, 1)
- Part1081.Name = "Bar"
- Part1081.Parent = Model1078
- Part1081.Reflectance = 0.15000000596046
- Part1081.Anchored = true
- Part1081.FormFactor = Enum.FormFactor.Symmetric
- Part1081.Size = Vector3.new(1, 9, 1)
- Part1081.CFrame = CFrame.new(95.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1081.BottomSurface = Enum.SurfaceType.Smooth
- Part1081.TopSurface = Enum.SurfaceType.Smooth
- Part1081.Position = Vector3.new(95.8999939, 28.0121994, -139.099991)
- CylinderMesh1082.Parent = Part1081
- CylinderMesh1082.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1082.Scale = Vector3.new(0.5, 1, 1)
- Part1083.Name = "Bar"
- Part1083.Parent = Model1078
- Part1083.Reflectance = 0.15000000596046
- Part1083.Anchored = true
- Part1083.FormFactor = Enum.FormFactor.Symmetric
- Part1083.Size = Vector3.new(1, 9, 1)
- Part1083.CFrame = CFrame.new(94.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1083.BottomSurface = Enum.SurfaceType.Smooth
- Part1083.TopSurface = Enum.SurfaceType.Smooth
- Part1083.Position = Vector3.new(94.8999939, 28.0121994, -139.099991)
- CylinderMesh1084.Parent = Part1083
- CylinderMesh1084.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1084.Scale = Vector3.new(0.5, 1, 1)
- Part1085.Name = "Bar"
- Part1085.Parent = Model1078
- Part1085.Reflectance = 0.15000000596046
- Part1085.Anchored = true
- Part1085.FormFactor = Enum.FormFactor.Symmetric
- Part1085.Size = Vector3.new(1, 9, 1)
- Part1085.CFrame = CFrame.new(93.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1085.BottomSurface = Enum.SurfaceType.Smooth
- Part1085.TopSurface = Enum.SurfaceType.Smooth
- Part1085.Position = Vector3.new(93.8999939, 28.0121994, -139.099991)
- CylinderMesh1086.Parent = Part1085
- CylinderMesh1086.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1086.Scale = Vector3.new(0.5, 1, 1)
- Part1087.Name = "Bar"
- Part1087.Parent = Model1078
- Part1087.Reflectance = 0.15000000596046
- Part1087.Anchored = true
- Part1087.FormFactor = Enum.FormFactor.Symmetric
- Part1087.Size = Vector3.new(1, 9, 1)
- Part1087.CFrame = CFrame.new(92.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1087.BottomSurface = Enum.SurfaceType.Smooth
- Part1087.TopSurface = Enum.SurfaceType.Smooth
- Part1087.Position = Vector3.new(92.8999939, 28.0121994, -139.099991)
- CylinderMesh1088.Parent = Part1087
- CylinderMesh1088.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1088.Scale = Vector3.new(0.5, 1, 1)
- Part1089.Name = "Bar"
- Part1089.Parent = Model1078
- Part1089.Reflectance = 0.15000000596046
- Part1089.Anchored = true
- Part1089.FormFactor = Enum.FormFactor.Symmetric
- Part1089.Size = Vector3.new(1, 9, 1)
- Part1089.CFrame = CFrame.new(91.8999939, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1089.BottomSurface = Enum.SurfaceType.Smooth
- Part1089.TopSurface = Enum.SurfaceType.Smooth
- Part1089.Position = Vector3.new(91.8999939, 28.0121994, -139.099991)
- CylinderMesh1090.Parent = Part1089
- CylinderMesh1090.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1090.Scale = Vector3.new(0.5, 1, 1)
- Script1091.Name = "Main"
- Script1091.Parent = Model1078
- table.insert(cors,sandbox(Script1091,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part1092.Name = "Button"
- Part1092.Parent = Model1078
- Part1092.BrickColor = BrickColor.new("Really red")
- Part1092.Reflectance = 0.20000000298023
- Part1092.Transparency = 0.5
- Part1092.Rotation = Vector3.new(90, 0, -180)
- Part1092.Anchored = true
- Part1092.FormFactor = Enum.FormFactor.Plate
- Part1092.Size = Vector3.new(1, 0.400000006, 1)
- Part1092.CFrame = CFrame.new(89.8999939, 28.012167, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part1092.BottomSurface = Enum.SurfaceType.Smooth
- Part1092.TopSurface = Enum.SurfaceType.Smooth
- Part1092.Color = Color3.new(1, 0, 0)
- Part1092.Position = Vector3.new(89.8999939, 28.012167, -138.399994)
- Part1092.Orientation = Vector3.new(90, 180, 0)
- Part1092.Color = Color3.new(1, 0, 0)
- BlockMesh1093.Parent = Part1092
- CylinderMesh1094.Parent = Part1092
- CylinderMesh1094.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh1094.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh1094.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector1095.Name = "Click"
- ClickDetector1095.Parent = Part1092
- Model1096.Name = "PrisonCell"
- Model1096.Parent = Model1
- Model1097.Name = "Exterior"
- Model1097.Parent = Model1096
- Model1098.Name = "Top"
- Model1098.Parent = Model1097
- Part1099.Name = "Ceiling"
- Part1099.Parent = Model1098
- Part1099.BrickColor = BrickColor.new("Brick yellow")
- Part1099.Anchored = true
- Part1099.FormFactor = Enum.FormFactor.Plate
- Part1099.Size = Vector3.new(12, 0.400000006, 14)
- Part1099.CFrame = CFrame.new(148.399994, 33.3122063, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1099.BottomSurface = Enum.SurfaceType.Smooth
- Part1099.TopSurface = Enum.SurfaceType.Smooth
- Part1099.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part1099.Position = Vector3.new(148.399994, 33.3122063, -146.599991)
- Part1099.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh1100.Parent = Part1099
- Part1101.Name = "Top"
- Part1101.Parent = Model1098
- Part1101.BrickColor = BrickColor.new("Dark stone grey")
- Part1101.Anchored = true
- Part1101.FormFactor = Enum.FormFactor.Symmetric
- Part1101.Size = Vector3.new(14, 1, 16)
- Part1101.CFrame = CFrame.new(148.399994, 34.012207, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1101.BottomSurface = Enum.SurfaceType.Smooth
- Part1101.TopSurface = Enum.SurfaceType.Smooth
- Part1101.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1101.Position = Vector3.new(148.399994, 34.012207, -146.599991)
- Part1101.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1102.Parent = Part1101
- Model1103.Name = "Walls"
- Model1103.Parent = Model1097
- Part1104.Parent = Model1103
- Part1104.BrickColor = BrickColor.new("Dark stone grey")
- Part1104.Anchored = true
- Part1104.FormFactor = Enum.FormFactor.Symmetric
- Part1104.Size = Vector3.new(6, 1, 1)
- Part1104.CFrame = CFrame.new(150.399994, 33.0122108, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1104.BottomSurface = Enum.SurfaceType.Smooth
- Part1104.TopSurface = Enum.SurfaceType.Smooth
- Part1104.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1104.Position = Vector3.new(150.399994, 33.0122108, -139.099991)
- Part1104.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1105.Parent = Part1104
- Part1106.Parent = Model1103
- Part1106.BrickColor = BrickColor.new("Dark stone grey")
- Part1106.Anchored = true
- Part1106.FormFactor = Enum.FormFactor.Symmetric
- Part1106.Size = Vector3.new(6, 10, 1)
- Part1106.CFrame = CFrame.new(144.399994, 28.5121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1106.BottomSurface = Enum.SurfaceType.Smooth
- Part1106.TopSurface = Enum.SurfaceType.Smooth
- Part1106.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1106.Position = Vector3.new(144.399994, 28.5121994, -139.099991)
- Part1106.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1107.Parent = Part1106
- Part1108.Parent = Model1103
- Part1108.BrickColor = BrickColor.new("Dark stone grey")
- Part1108.Rotation = Vector3.new(-180, 0, -180)
- Part1108.Anchored = true
- Part1108.FormFactor = Enum.FormFactor.Symmetric
- Part1108.Size = Vector3.new(1, 10, 14)
- Part1108.CFrame = CFrame.new(141.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1108.BottomSurface = Enum.SurfaceType.Smooth
- Part1108.TopSurface = Enum.SurfaceType.Smooth
- Part1108.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1108.Position = Vector3.new(141.899994, 28.5121994, -146.599991)
- Part1108.Orientation = Vector3.new(0, 180, 0)
- Part1108.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1109.Parent = Part1108
- Part1110.Parent = Model1103
- Part1110.BrickColor = BrickColor.new("Dark stone grey")
- Part1110.Rotation = Vector3.new(0, -90, 0)
- Part1110.Anchored = true
- Part1110.FormFactor = Enum.FormFactor.Symmetric
- Part1110.Size = Vector3.new(1, 10, 14)
- Part1110.CFrame = CFrame.new(148.399994, 28.5121994, -154.100006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1110.BottomSurface = Enum.SurfaceType.Smooth
- Part1110.TopSurface = Enum.SurfaceType.Smooth
- Part1110.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1110.Position = Vector3.new(148.399994, 28.5121994, -154.100006)
- Part1110.Orientation = Vector3.new(0, -90, 0)
- Part1110.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1111.Parent = Part1110
- Part1112.Parent = Model1103
- Part1112.BrickColor = BrickColor.new("Dark stone grey")
- Part1112.Rotation = Vector3.new(-180, 0, -180)
- Part1112.Anchored = true
- Part1112.FormFactor = Enum.FormFactor.Symmetric
- Part1112.Size = Vector3.new(1, 10, 14)
- Part1112.CFrame = CFrame.new(154.899994, 28.5121994, -146.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1112.BottomSurface = Enum.SurfaceType.Smooth
- Part1112.TopSurface = Enum.SurfaceType.Smooth
- Part1112.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1112.Position = Vector3.new(154.899994, 28.5121994, -146.599991)
- Part1112.Orientation = Vector3.new(0, 180, 0)
- Part1112.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1113.Parent = Part1112
- Part1114.Parent = Model1103
- Part1114.BrickColor = BrickColor.new("Dark stone grey")
- Part1114.Rotation = Vector3.new(0, 90, 0)
- Part1114.Anchored = true
- Part1114.FormFactor = Enum.FormFactor.Symmetric
- Part1114.Size = Vector3.new(1, 10, 2)
- Part1114.CFrame = CFrame.new(154.399994, 28.5121994, -139.099991, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part1114.BottomSurface = Enum.SurfaceType.Smooth
- Part1114.TopSurface = Enum.SurfaceType.Smooth
- Part1114.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1114.Position = Vector3.new(154.399994, 28.5121994, -139.099991)
- Part1114.Orientation = Vector3.new(0, 90, 0)
- Part1114.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1115.Parent = Part1114
- Model1116.Name = "Floor"
- Model1116.Parent = Model1097
- Part1117.Name = "Floor"
- Part1117.Parent = Model1116
- Part1117.BrickColor = BrickColor.new("Brick yellow")
- Part1117.Anchored = true
- Part1117.FormFactor = Enum.FormFactor.Plate
- Part1117.Size = Vector3.new(12, 0.400000006, 14)
- Part1117.CFrame = CFrame.new(148.399994, 23.7121944, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1117.BottomSurface = Enum.SurfaceType.Smooth
- Part1117.TopSurface = Enum.SurfaceType.Smooth
- Part1117.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part1117.Position = Vector3.new(148.399994, 23.7121944, -146.599991)
- Part1117.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh1118.Parent = Part1117
- Part1119.Name = "Floor"
- Part1119.Parent = Model1116
- Part1119.BrickColor = BrickColor.new("Brick yellow")
- Part1119.Anchored = true
- Part1119.CanCollide = false
- Part1119.FormFactor = Enum.FormFactor.Plate
- Part1119.Size = Vector3.new(6, 0.400000006, 1)
- Part1119.CFrame = CFrame.new(150.399994, 24.1122017, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1119.BottomSurface = Enum.SurfaceType.Smooth
- Part1119.TopSurface = Enum.SurfaceType.Smooth
- Part1119.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part1119.Position = Vector3.new(150.399994, 24.1122017, -140.099991)
- Part1119.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh1120.Parent = Part1119
- BlockMesh1120.Offset = Vector3.new(0, -0.400000006, 1)
- Model1121.Name = "Items"
- Model1121.Parent = Model1096
- Model1122.Name = "Furnish"
- Model1122.Parent = Model1121
- Model1123.Name = "Bed"
- Model1123.Parent = Model1122
- Part1124.Name = "Pole"
- Part1124.Parent = Model1123
- Part1124.BrickColor = BrickColor.new("Mid gray")
- Part1124.Reflectance = 0.15000000596046
- Part1124.Anchored = true
- Part1124.CanCollide = false
- Part1124.FormFactor = Enum.FormFactor.Symmetric
- Part1124.Size = Vector3.new(1, 5, 1)
- Part1124.CFrame = CFrame.new(142.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1124.BottomSurface = Enum.SurfaceType.Smooth
- Part1124.TopSurface = Enum.SurfaceType.Smooth
- Part1124.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1124.Position = Vector3.new(142.899994, 26.4121971, -140.099991)
- Part1124.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1125.Parent = Part1124
- CylinderMesh1125.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1125.Scale = Vector3.new(0.5, 1, 0.5)
- Part1126.Name = "Pole"
- Part1126.Parent = Model1123
- Part1126.BrickColor = BrickColor.new("Mid gray")
- Part1126.Reflectance = 0.15000000596046
- Part1126.Anchored = true
- Part1126.CanCollide = false
- Part1126.FormFactor = Enum.FormFactor.Symmetric
- Part1126.Size = Vector3.new(1, 5, 1)
- Part1126.CFrame = CFrame.new(142.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1126.BottomSurface = Enum.SurfaceType.Smooth
- Part1126.TopSurface = Enum.SurfaceType.Smooth
- Part1126.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1126.Position = Vector3.new(142.899994, 26.4121971, -147.099991)
- Part1126.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1127.Parent = Part1126
- CylinderMesh1127.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1127.Scale = Vector3.new(0.5, 1, 0.5)
- Part1128.Name = "Pole"
- Part1128.Parent = Model1123
- Part1128.BrickColor = BrickColor.new("Mid gray")
- Part1128.Reflectance = 0.15000000596046
- Part1128.Anchored = true
- Part1128.CanCollide = false
- Part1128.FormFactor = Enum.FormFactor.Symmetric
- Part1128.Size = Vector3.new(1, 5, 1)
- Part1128.CFrame = CFrame.new(146.899994, 26.4121971, -147.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1128.BottomSurface = Enum.SurfaceType.Smooth
- Part1128.TopSurface = Enum.SurfaceType.Smooth
- Part1128.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1128.Position = Vector3.new(146.899994, 26.4121971, -147.099991)
- Part1128.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1129.Parent = Part1128
- CylinderMesh1129.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1129.Scale = Vector3.new(0.5, 1, 0.5)
- Part1130.Name = "Pole"
- Part1130.Parent = Model1123
- Part1130.BrickColor = BrickColor.new("Mid gray")
- Part1130.Reflectance = 0.15000000596046
- Part1130.Anchored = true
- Part1130.CanCollide = false
- Part1130.FormFactor = Enum.FormFactor.Symmetric
- Part1130.Size = Vector3.new(1, 5, 1)
- Part1130.CFrame = CFrame.new(146.899994, 26.4121971, -140.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1130.BottomSurface = Enum.SurfaceType.Smooth
- Part1130.TopSurface = Enum.SurfaceType.Smooth
- Part1130.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1130.Position = Vector3.new(146.899994, 26.4121971, -140.099991)
- Part1130.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1131.Parent = Part1130
- CylinderMesh1131.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1131.Scale = Vector3.new(0.5, 1, 0.5)
- Part1132.Parent = Model1123
- Part1132.BrickColor = BrickColor.new("Institutional white")
- Part1132.Rotation = Vector3.new(-180, 0, -180)
- Part1132.Anchored = true
- Part1132.FormFactor = Enum.FormFactor.Symmetric
- Part1132.Size = Vector3.new(3, 1, 6)
- Part1132.CFrame = CFrame.new(144.899994, 27.6122017, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1132.BottomSurface = Enum.SurfaceType.Smooth
- Part1132.TopSurface = Enum.SurfaceType.Smooth
- Part1132.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1132.Position = Vector3.new(144.899994, 27.6122017, -143.599991)
- Part1132.Orientation = Vector3.new(0, 180, 0)
- Part1132.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh1133.Parent = Part1132
- BlockMesh1133.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh1133.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part1134.Parent = Model1123
- Part1134.BrickColor = BrickColor.new("Institutional white")
- Part1134.Rotation = Vector3.new(-180, 0, -180)
- Part1134.Anchored = true
- Part1134.FormFactor = Enum.FormFactor.Symmetric
- Part1134.Size = Vector3.new(3, 1, 6)
- Part1134.CFrame = CFrame.new(144.899994, 24.4121971, -143.599991, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1134.BottomSurface = Enum.SurfaceType.Smooth
- Part1134.TopSurface = Enum.SurfaceType.Smooth
- Part1134.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1134.Position = Vector3.new(144.899994, 24.4121971, -143.599991)
- Part1134.Orientation = Vector3.new(0, 180, 0)
- Part1134.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh1135.Parent = Part1134
- BlockMesh1135.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh1135.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model1136.Name = "Toilet"
- Model1136.Parent = Model1122
- Part1137.Parent = Model1136
- Part1137.BrickColor = BrickColor.new("Mid gray")
- Part1137.Rotation = Vector3.new(0, -90, 0)
- Part1137.Anchored = true
- Part1137.FormFactor = Enum.FormFactor.Symmetric
- Part1137.Size = Vector3.new(2, 3, 1)
- Part1137.CFrame = CFrame.new(142.899994, 26.4121971, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1137.BottomSurface = Enum.SurfaceType.Smooth
- Part1137.TopSurface = Enum.SurfaceType.Smooth
- Part1137.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1137.Position = Vector3.new(142.899994, 26.4121971, -150.599991)
- Part1137.Orientation = Vector3.new(0, -90, 0)
- Part1137.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh1138.Parent = Part1137
- BlockMesh1138.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh1138.Scale = Vector3.new(1.5, 1, 1)
- Part1139.Parent = Model1136
- Part1139.BrickColor = BrickColor.new("Mid gray")
- Part1139.Rotation = Vector3.new(0, -90, 0)
- Part1139.Anchored = true
- Part1139.FormFactor = Enum.FormFactor.Symmetric
- Part1139.Size = Vector3.new(2, 1, 3)
- Part1139.CFrame = CFrame.new(143.899994, 24.4121971, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1139.BottomSurface = Enum.SurfaceType.Smooth
- Part1139.TopSurface = Enum.SurfaceType.Smooth
- Part1139.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1139.Position = Vector3.new(143.899994, 24.4121971, -150.599991)
- Part1139.Orientation = Vector3.new(0, -90, 0)
- Part1139.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh1140.Parent = Part1139
- Part1141.Parent = Model1136
- Part1141.BrickColor = BrickColor.new("Light stone grey")
- Part1141.Rotation = Vector3.new(0, -90, 0)
- Part1141.Anchored = true
- Part1141.FormFactor = Enum.FormFactor.Plate
- Part1141.Size = Vector3.new(2, 0.400000006, 2)
- Part1141.CFrame = CFrame.new(144.399994, 25.1122017, -150.599991, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1141.BottomSurface = Enum.SurfaceType.Smooth
- Part1141.TopSurface = Enum.SurfaceType.Smooth
- Part1141.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part1141.Position = Vector3.new(144.399994, 25.1122017, -150.599991)
- Part1141.Orientation = Vector3.new(0, -90, 0)
- Part1141.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh1142.Parent = Part1141
- SpecialMesh1142.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh1142.MeshType = Enum.MeshType.Sphere
- SpecialMesh1142.Scale = Vector3.new(1.5, 2, 2)
- Part1143.Name = "Pole"
- Part1143.Parent = Model1122
- Part1143.BrickColor = BrickColor.new("Mid gray")
- Part1143.Reflectance = 0.15000000596046
- Part1143.Rotation = Vector3.new(0, 0, -90)
- Part1143.Anchored = true
- Part1143.CanCollide = false
- Part1143.FormFactor = Enum.FormFactor.Symmetric
- Part1143.Size = Vector3.new(1, 12, 1)
- Part1143.CFrame = CFrame.new(148.399994, 27.4121971, -153.100006, 0, 1, -0, -1, 0, 0, 0, 0, 1)
- Part1143.BottomSurface = Enum.SurfaceType.Smooth
- Part1143.TopSurface = Enum.SurfaceType.Smooth
- Part1143.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1143.Position = Vector3.new(148.399994, 27.4121971, -153.100006)
- Part1143.Orientation = Vector3.new(0, 0, -90)
- Part1143.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1144.Parent = Part1143
- CylinderMesh1144.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1144.Scale = Vector3.new(0.5, 1, 0.5)
- Model1145.Name = "Functions"
- Model1145.Parent = Model1121
- Model1146.Name = "Light"
- Model1146.Parent = Model1145
- Part1147.Name = "Lightbulb"
- Part1147.Parent = Model1146
- Part1147.Transparency = 0.5
- Part1147.Rotation = Vector3.new(180, 90, 0)
- Part1147.Anchored = true
- Part1147.CanCollide = false
- Part1147.FormFactor = Enum.FormFactor.Symmetric
- Part1147.Size = Vector3.new(2, 1, 2)
- Part1147.CFrame = CFrame.new(148.399994, 32.6122093, -146.599991, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part1147.BackSurface = Enum.SurfaceType.Weld
- Part1147.BottomSurface = Enum.SurfaceType.Weld
- Part1147.FrontSurface = Enum.SurfaceType.Weld
- Part1147.LeftSurface = Enum.SurfaceType.Weld
- Part1147.RightSurface = Enum.SurfaceType.Weld
- Part1147.TopSurface = Enum.SurfaceType.Weld
- Part1147.Position = Vector3.new(148.399994, 32.6122093, -146.599991)
- Part1147.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh1148.Parent = Part1147
- SpecialMesh1148.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh1148.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh1148.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh1148.MeshType = Enum.MeshType.FileMesh
- SpecialMesh1148.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part1149.Name = "Light"
- Part1149.Parent = Model1146
- Part1149.BrickColor = BrickColor.new("Cool yellow")
- Part1149.Transparency = 1
- Part1149.Anchored = true
- Part1149.CanCollide = false
- Part1149.FormFactor = Enum.FormFactor.Symmetric
- Part1149.Size = Vector3.new(2, 8, 2)
- Part1149.CFrame = CFrame.new(148.399994, 28.1122017, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1149.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part1149.Position = Vector3.new(148.399994, 28.1122017, -146.599991)
- Part1149.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh1150.Parent = Part1149
- SpecialMesh1150.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh1150.Scale = Vector3.new(7, 13, 7)
- SpecialMesh1150.MeshType = Enum.MeshType.FileMesh
- SpecialMesh1150.Scale = Vector3.new(7, 13, 7)
- Script1151.Name = "Function"
- Script1151.Parent = Model1146
- table.insert(cors,sandbox(Script1151,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part1152.Name = "LightSocket"
- Part1152.Parent = Model1146
- Part1152.BrickColor = BrickColor.new("Dark stone grey")
- Part1152.Anchored = true
- Part1152.FormFactor = Enum.FormFactor.Symmetric
- Part1152.Size = Vector3.new(2, 1, 2)
- Part1152.CFrame = CFrame.new(148.399994, 32.6122093, -146.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1152.BottomSurface = Enum.SurfaceType.Smooth
- Part1152.TopSurface = Enum.SurfaceType.Smooth
- Part1152.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1152.Position = Vector3.new(148.399994, 32.6122093, -146.599991)
- Part1152.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh1153.Parent = Part1152
- CylinderMesh1153.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh1153.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh1153.Scale = Vector3.new(1, 0.5, 1)
- Model1154.Name = "Door"
- Model1154.Parent = Model1096
- Part1155.Name = "Bar"
- Part1155.Parent = Model1154
- Part1155.Reflectance = 0.15000000596046
- Part1155.Anchored = true
- Part1155.FormFactor = Enum.FormFactor.Symmetric
- Part1155.Size = Vector3.new(1, 9, 1)
- Part1155.CFrame = CFrame.new(152.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1155.BottomSurface = Enum.SurfaceType.Smooth
- Part1155.TopSurface = Enum.SurfaceType.Smooth
- Part1155.Position = Vector3.new(152.899994, 28.0121994, -139.099991)
- CylinderMesh1156.Parent = Part1155
- CylinderMesh1156.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1156.Scale = Vector3.new(0.5, 1, 1)
- Part1157.Name = "Bar"
- Part1157.Parent = Model1154
- Part1157.Reflectance = 0.15000000596046
- Part1157.Anchored = true
- Part1157.FormFactor = Enum.FormFactor.Symmetric
- Part1157.Size = Vector3.new(1, 9, 1)
- Part1157.CFrame = CFrame.new(151.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1157.BottomSurface = Enum.SurfaceType.Smooth
- Part1157.TopSurface = Enum.SurfaceType.Smooth
- Part1157.Position = Vector3.new(151.899994, 28.0121994, -139.099991)
- CylinderMesh1158.Parent = Part1157
- CylinderMesh1158.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1158.Scale = Vector3.new(0.5, 1, 1)
- Part1159.Name = "Bar"
- Part1159.Parent = Model1154
- Part1159.Reflectance = 0.15000000596046
- Part1159.Anchored = true
- Part1159.FormFactor = Enum.FormFactor.Symmetric
- Part1159.Size = Vector3.new(1, 9, 1)
- Part1159.CFrame = CFrame.new(150.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1159.BottomSurface = Enum.SurfaceType.Smooth
- Part1159.TopSurface = Enum.SurfaceType.Smooth
- Part1159.Position = Vector3.new(150.899994, 28.0121994, -139.099991)
- CylinderMesh1160.Parent = Part1159
- CylinderMesh1160.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1160.Scale = Vector3.new(0.5, 1, 1)
- Part1161.Name = "Bar"
- Part1161.Parent = Model1154
- Part1161.Reflectance = 0.15000000596046
- Part1161.Anchored = true
- Part1161.FormFactor = Enum.FormFactor.Symmetric
- Part1161.Size = Vector3.new(1, 9, 1)
- Part1161.CFrame = CFrame.new(149.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1161.BottomSurface = Enum.SurfaceType.Smooth
- Part1161.TopSurface = Enum.SurfaceType.Smooth
- Part1161.Position = Vector3.new(149.899994, 28.0121994, -139.099991)
- CylinderMesh1162.Parent = Part1161
- CylinderMesh1162.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1162.Scale = Vector3.new(0.5, 1, 1)
- Part1163.Name = "Bar"
- Part1163.Parent = Model1154
- Part1163.Reflectance = 0.15000000596046
- Part1163.Anchored = true
- Part1163.FormFactor = Enum.FormFactor.Symmetric
- Part1163.Size = Vector3.new(1, 9, 1)
- Part1163.CFrame = CFrame.new(148.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1163.BottomSurface = Enum.SurfaceType.Smooth
- Part1163.TopSurface = Enum.SurfaceType.Smooth
- Part1163.Position = Vector3.new(148.899994, 28.0121994, -139.099991)
- CylinderMesh1164.Parent = Part1163
- CylinderMesh1164.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1164.Scale = Vector3.new(0.5, 1, 1)
- Part1165.Name = "Bar"
- Part1165.Parent = Model1154
- Part1165.Reflectance = 0.15000000596046
- Part1165.Anchored = true
- Part1165.FormFactor = Enum.FormFactor.Symmetric
- Part1165.Size = Vector3.new(1, 9, 1)
- Part1165.CFrame = CFrame.new(147.899994, 28.0121994, -139.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1165.BottomSurface = Enum.SurfaceType.Smooth
- Part1165.TopSurface = Enum.SurfaceType.Smooth
- Part1165.Position = Vector3.new(147.899994, 28.0121994, -139.099991)
- CylinderMesh1166.Parent = Part1165
- CylinderMesh1166.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1166.Scale = Vector3.new(0.5, 1, 1)
- Script1167.Name = "Main"
- Script1167.Parent = Model1154
- table.insert(cors,sandbox(Script1167,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part1168.Name = "Button"
- Part1168.Parent = Model1154
- Part1168.BrickColor = BrickColor.new("Really red")
- Part1168.Reflectance = 0.20000000298023
- Part1168.Transparency = 0.5
- Part1168.Rotation = Vector3.new(90, 0, -180)
- Part1168.Anchored = true
- Part1168.FormFactor = Enum.FormFactor.Plate
- Part1168.Size = Vector3.new(1, 0.400000006, 1)
- Part1168.CFrame = CFrame.new(145.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part1168.BottomSurface = Enum.SurfaceType.Smooth
- Part1168.TopSurface = Enum.SurfaceType.Smooth
- Part1168.Color = Color3.new(1, 0, 0)
- Part1168.Position = Vector3.new(145.899994, 28.0121784, -138.399994)
- Part1168.Orientation = Vector3.new(90, 180, 0)
- Part1168.Color = Color3.new(1, 0, 0)
- BlockMesh1169.Parent = Part1168
- CylinderMesh1170.Parent = Part1168
- CylinderMesh1170.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh1170.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh1170.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector1171.Name = "Click"
- ClickDetector1171.Parent = Part1168
- Model1172.Name = "PrisonCell"
- Model1172.Parent = Model1
- Model1173.Name = "Exterior"
- Model1173.Parent = Model1172
- Model1174.Name = "Top"
- Model1174.Parent = Model1173
- Part1175.Name = "Ceiling"
- Part1175.Parent = Model1174
- Part1175.BrickColor = BrickColor.new("Brick yellow")
- Part1175.Anchored = true
- Part1175.FormFactor = Enum.FormFactor.Plate
- Part1175.Size = Vector3.new(12, 0.400000006, 14)
- Part1175.CFrame = CFrame.new(106.399994, 33.3122063, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1175.BottomSurface = Enum.SurfaceType.Smooth
- Part1175.TopSurface = Enum.SurfaceType.Smooth
- Part1175.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part1175.Position = Vector3.new(106.399994, 33.3122063, -146.600006)
- Part1175.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh1176.Parent = Part1175
- Part1177.Name = "Top"
- Part1177.Parent = Model1174
- Part1177.BrickColor = BrickColor.new("Dark stone grey")
- Part1177.Anchored = true
- Part1177.FormFactor = Enum.FormFactor.Symmetric
- Part1177.Size = Vector3.new(14, 1, 16)
- Part1177.CFrame = CFrame.new(106.399994, 34.012207, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1177.BottomSurface = Enum.SurfaceType.Smooth
- Part1177.TopSurface = Enum.SurfaceType.Smooth
- Part1177.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1177.Position = Vector3.new(106.399994, 34.012207, -146.600006)
- Part1177.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1178.Parent = Part1177
- Model1179.Name = "Walls"
- Model1179.Parent = Model1173
- Part1180.Parent = Model1179
- Part1180.BrickColor = BrickColor.new("Dark stone grey")
- Part1180.Anchored = true
- Part1180.FormFactor = Enum.FormFactor.Symmetric
- Part1180.Size = Vector3.new(6, 1, 1)
- Part1180.CFrame = CFrame.new(108.400002, 33.0122108, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1180.BottomSurface = Enum.SurfaceType.Smooth
- Part1180.TopSurface = Enum.SurfaceType.Smooth
- Part1180.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1180.Position = Vector3.new(108.400002, 33.0122108, -139.100006)
- Part1180.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1181.Parent = Part1180
- Part1182.Parent = Model1179
- Part1182.BrickColor = BrickColor.new("Dark stone grey")
- Part1182.Anchored = true
- Part1182.FormFactor = Enum.FormFactor.Symmetric
- Part1182.Size = Vector3.new(6, 10, 1)
- Part1182.CFrame = CFrame.new(102.399994, 28.5121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1182.BottomSurface = Enum.SurfaceType.Smooth
- Part1182.TopSurface = Enum.SurfaceType.Smooth
- Part1182.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1182.Position = Vector3.new(102.399994, 28.5121994, -139.100006)
- Part1182.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1183.Parent = Part1182
- Part1184.Parent = Model1179
- Part1184.BrickColor = BrickColor.new("Dark stone grey")
- Part1184.Rotation = Vector3.new(-180, 0, -180)
- Part1184.Anchored = true
- Part1184.FormFactor = Enum.FormFactor.Symmetric
- Part1184.Size = Vector3.new(1, 10, 14)
- Part1184.CFrame = CFrame.new(99.8999939, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1184.BottomSurface = Enum.SurfaceType.Smooth
- Part1184.TopSurface = Enum.SurfaceType.Smooth
- Part1184.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1184.Position = Vector3.new(99.8999939, 28.5121994, -146.600006)
- Part1184.Orientation = Vector3.new(0, 180, 0)
- Part1184.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1185.Parent = Part1184
- Part1186.Parent = Model1179
- Part1186.BrickColor = BrickColor.new("Dark stone grey")
- Part1186.Rotation = Vector3.new(0, -90, 0)
- Part1186.Anchored = true
- Part1186.FormFactor = Enum.FormFactor.Symmetric
- Part1186.Size = Vector3.new(1, 10, 14)
- Part1186.CFrame = CFrame.new(106.399994, 28.5121994, -154.100006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1186.BottomSurface = Enum.SurfaceType.Smooth
- Part1186.TopSurface = Enum.SurfaceType.Smooth
- Part1186.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1186.Position = Vector3.new(106.399994, 28.5121994, -154.100006)
- Part1186.Orientation = Vector3.new(0, -90, 0)
- Part1186.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1187.Parent = Part1186
- Part1188.Parent = Model1179
- Part1188.BrickColor = BrickColor.new("Dark stone grey")
- Part1188.Rotation = Vector3.new(-180, 0, -180)
- Part1188.Anchored = true
- Part1188.FormFactor = Enum.FormFactor.Symmetric
- Part1188.Size = Vector3.new(1, 10, 14)
- Part1188.CFrame = CFrame.new(112.899994, 28.5121994, -146.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1188.BottomSurface = Enum.SurfaceType.Smooth
- Part1188.TopSurface = Enum.SurfaceType.Smooth
- Part1188.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1188.Position = Vector3.new(112.899994, 28.5121994, -146.600006)
- Part1188.Orientation = Vector3.new(0, 180, 0)
- Part1188.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1189.Parent = Part1188
- Part1190.Parent = Model1179
- Part1190.BrickColor = BrickColor.new("Dark stone grey")
- Part1190.Rotation = Vector3.new(0, 90, 0)
- Part1190.Anchored = true
- Part1190.FormFactor = Enum.FormFactor.Symmetric
- Part1190.Size = Vector3.new(1, 10, 2)
- Part1190.CFrame = CFrame.new(112.399994, 28.5121994, -139.100006, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part1190.BottomSurface = Enum.SurfaceType.Smooth
- Part1190.TopSurface = Enum.SurfaceType.Smooth
- Part1190.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1190.Position = Vector3.new(112.399994, 28.5121994, -139.100006)
- Part1190.Orientation = Vector3.new(0, 90, 0)
- Part1190.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh1191.Parent = Part1190
- Model1192.Name = "Floor"
- Model1192.Parent = Model1173
- Part1193.Name = "Floor"
- Part1193.Parent = Model1192
- Part1193.BrickColor = BrickColor.new("Brick yellow")
- Part1193.Anchored = true
- Part1193.FormFactor = Enum.FormFactor.Plate
- Part1193.Size = Vector3.new(12, 0.400000006, 14)
- Part1193.CFrame = CFrame.new(106.399994, 23.7121944, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1193.BottomSurface = Enum.SurfaceType.Smooth
- Part1193.TopSurface = Enum.SurfaceType.Smooth
- Part1193.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part1193.Position = Vector3.new(106.399994, 23.7121944, -146.600006)
- Part1193.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh1194.Parent = Part1193
- Part1195.Name = "Floor"
- Part1195.Parent = Model1192
- Part1195.BrickColor = BrickColor.new("Brick yellow")
- Part1195.Anchored = true
- Part1195.CanCollide = false
- Part1195.FormFactor = Enum.FormFactor.Plate
- Part1195.Size = Vector3.new(6, 0.400000006, 1)
- Part1195.CFrame = CFrame.new(108.400002, 24.1122017, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1195.BottomSurface = Enum.SurfaceType.Smooth
- Part1195.TopSurface = Enum.SurfaceType.Smooth
- Part1195.Color = Color3.new(0.843137, 0.772549, 0.603922)
- Part1195.Position = Vector3.new(108.400002, 24.1122017, -140.100006)
- Part1195.Color = Color3.new(0.843137, 0.772549, 0.603922)
- BlockMesh1196.Parent = Part1195
- BlockMesh1196.Offset = Vector3.new(0, -0.400000006, 1)
- Model1197.Name = "Items"
- Model1197.Parent = Model1172
- Model1198.Name = "Furnish"
- Model1198.Parent = Model1197
- Model1199.Name = "Bed"
- Model1199.Parent = Model1198
- Part1200.Name = "Pole"
- Part1200.Parent = Model1199
- Part1200.BrickColor = BrickColor.new("Mid gray")
- Part1200.Reflectance = 0.15000000596046
- Part1200.Anchored = true
- Part1200.CanCollide = false
- Part1200.FormFactor = Enum.FormFactor.Symmetric
- Part1200.Size = Vector3.new(1, 5, 1)
- Part1200.CFrame = CFrame.new(100.899994, 26.4121971, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1200.BottomSurface = Enum.SurfaceType.Smooth
- Part1200.TopSurface = Enum.SurfaceType.Smooth
- Part1200.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1200.Position = Vector3.new(100.899994, 26.4121971, -140.100006)
- Part1200.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1201.Parent = Part1200
- CylinderMesh1201.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1201.Scale = Vector3.new(0.5, 1, 0.5)
- Part1202.Name = "Pole"
- Part1202.Parent = Model1199
- Part1202.BrickColor = BrickColor.new("Mid gray")
- Part1202.Reflectance = 0.15000000596046
- Part1202.Anchored = true
- Part1202.CanCollide = false
- Part1202.FormFactor = Enum.FormFactor.Symmetric
- Part1202.Size = Vector3.new(1, 5, 1)
- Part1202.CFrame = CFrame.new(100.899994, 26.4121971, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1202.BottomSurface = Enum.SurfaceType.Smooth
- Part1202.TopSurface = Enum.SurfaceType.Smooth
- Part1202.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1202.Position = Vector3.new(100.899994, 26.4121971, -147.100006)
- Part1202.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1203.Parent = Part1202
- CylinderMesh1203.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1203.Scale = Vector3.new(0.5, 1, 0.5)
- Part1204.Name = "Pole"
- Part1204.Parent = Model1199
- Part1204.BrickColor = BrickColor.new("Mid gray")
- Part1204.Reflectance = 0.15000000596046
- Part1204.Anchored = true
- Part1204.CanCollide = false
- Part1204.FormFactor = Enum.FormFactor.Symmetric
- Part1204.Size = Vector3.new(1, 5, 1)
- Part1204.CFrame = CFrame.new(104.899994, 26.4121971, -147.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1204.BottomSurface = Enum.SurfaceType.Smooth
- Part1204.TopSurface = Enum.SurfaceType.Smooth
- Part1204.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1204.Position = Vector3.new(104.899994, 26.4121971, -147.100006)
- Part1204.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1205.Parent = Part1204
- CylinderMesh1205.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1205.Scale = Vector3.new(0.5, 1, 0.5)
- Part1206.Name = "Pole"
- Part1206.Parent = Model1199
- Part1206.BrickColor = BrickColor.new("Mid gray")
- Part1206.Reflectance = 0.15000000596046
- Part1206.Anchored = true
- Part1206.CanCollide = false
- Part1206.FormFactor = Enum.FormFactor.Symmetric
- Part1206.Size = Vector3.new(1, 5, 1)
- Part1206.CFrame = CFrame.new(104.899994, 26.4121971, -140.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1206.BottomSurface = Enum.SurfaceType.Smooth
- Part1206.TopSurface = Enum.SurfaceType.Smooth
- Part1206.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1206.Position = Vector3.new(104.899994, 26.4121971, -140.100006)
- Part1206.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1207.Parent = Part1206
- CylinderMesh1207.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1207.Scale = Vector3.new(0.5, 1, 0.5)
- Part1208.Parent = Model1199
- Part1208.BrickColor = BrickColor.new("Institutional white")
- Part1208.Rotation = Vector3.new(-180, 0, -180)
- Part1208.Anchored = true
- Part1208.FormFactor = Enum.FormFactor.Symmetric
- Part1208.Size = Vector3.new(3, 1, 6)
- Part1208.CFrame = CFrame.new(102.899994, 27.6122017, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1208.BottomSurface = Enum.SurfaceType.Smooth
- Part1208.TopSurface = Enum.SurfaceType.Smooth
- Part1208.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1208.Position = Vector3.new(102.899994, 27.6122017, -143.600006)
- Part1208.Orientation = Vector3.new(0, 180, 0)
- Part1208.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh1209.Parent = Part1208
- BlockMesh1209.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh1209.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Part1210.Parent = Model1199
- Part1210.BrickColor = BrickColor.new("Institutional white")
- Part1210.Rotation = Vector3.new(-180, 0, -180)
- Part1210.Anchored = true
- Part1210.FormFactor = Enum.FormFactor.Symmetric
- Part1210.Size = Vector3.new(3, 1, 6)
- Part1210.CFrame = CFrame.new(102.899994, 24.4121971, -143.600006, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1210.BottomSurface = Enum.SurfaceType.Smooth
- Part1210.TopSurface = Enum.SurfaceType.Smooth
- Part1210.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1210.Position = Vector3.new(102.899994, 24.4121971, -143.600006)
- Part1210.Orientation = Vector3.new(0, 180, 0)
- Part1210.Color = Color3.new(0.972549, 0.972549, 0.972549)
- BlockMesh1211.Parent = Part1210
- BlockMesh1211.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- BlockMesh1211.Scale = Vector3.new(1.39999998, 0.200000003, 1.20000005)
- Model1212.Name = "Toilet"
- Model1212.Parent = Model1198
- Part1213.Parent = Model1212
- Part1213.BrickColor = BrickColor.new("Mid gray")
- Part1213.Rotation = Vector3.new(0, -90, 0)
- Part1213.Anchored = true
- Part1213.FormFactor = Enum.FormFactor.Symmetric
- Part1213.Size = Vector3.new(2, 3, 1)
- Part1213.CFrame = CFrame.new(100.899994, 26.4121971, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1213.BottomSurface = Enum.SurfaceType.Smooth
- Part1213.TopSurface = Enum.SurfaceType.Smooth
- Part1213.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1213.Position = Vector3.new(100.899994, 26.4121971, -150.600006)
- Part1213.Orientation = Vector3.new(0, -90, 0)
- Part1213.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh1214.Parent = Part1213
- BlockMesh1214.Scale = Vector3.new(1.5, 1, 1)
- BlockMesh1214.Scale = Vector3.new(1.5, 1, 1)
- Part1215.Parent = Model1212
- Part1215.BrickColor = BrickColor.new("Mid gray")
- Part1215.Rotation = Vector3.new(0, -90, 0)
- Part1215.Anchored = true
- Part1215.FormFactor = Enum.FormFactor.Symmetric
- Part1215.Size = Vector3.new(2, 1, 3)
- Part1215.CFrame = CFrame.new(101.899994, 24.4121971, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1215.BottomSurface = Enum.SurfaceType.Smooth
- Part1215.TopSurface = Enum.SurfaceType.Smooth
- Part1215.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1215.Position = Vector3.new(101.899994, 24.4121971, -150.600006)
- Part1215.Orientation = Vector3.new(0, -90, 0)
- Part1215.Color = Color3.new(0.803922, 0.803922, 0.803922)
- BlockMesh1216.Parent = Part1215
- Part1217.Parent = Model1212
- Part1217.BrickColor = BrickColor.new("Light stone grey")
- Part1217.Rotation = Vector3.new(0, -90, 0)
- Part1217.Anchored = true
- Part1217.FormFactor = Enum.FormFactor.Plate
- Part1217.Size = Vector3.new(2, 0.400000006, 2)
- Part1217.CFrame = CFrame.new(102.399994, 25.1122017, -150.600006, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Part1217.BottomSurface = Enum.SurfaceType.Smooth
- Part1217.TopSurface = Enum.SurfaceType.Smooth
- Part1217.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part1217.Position = Vector3.new(102.399994, 25.1122017, -150.600006)
- Part1217.Orientation = Vector3.new(0, -90, 0)
- Part1217.Color = Color3.new(0.898039, 0.894118, 0.87451)
- SpecialMesh1218.Parent = Part1217
- SpecialMesh1218.Scale = Vector3.new(1.5, 2, 2)
- SpecialMesh1218.MeshType = Enum.MeshType.Sphere
- SpecialMesh1218.Scale = Vector3.new(1.5, 2, 2)
- Part1219.Name = "Pole"
- Part1219.Parent = Model1198
- Part1219.BrickColor = BrickColor.new("Mid gray")
- Part1219.Reflectance = 0.15000000596046
- Part1219.Rotation = Vector3.new(0, 0, -90)
- Part1219.Anchored = true
- Part1219.CanCollide = false
- Part1219.FormFactor = Enum.FormFactor.Symmetric
- Part1219.Size = Vector3.new(1, 12, 1)
- Part1219.CFrame = CFrame.new(106.399994, 27.4121971, -153.100006, 0, 1, 0, -1, 0, 0, 0, 0, 1)
- Part1219.BottomSurface = Enum.SurfaceType.Smooth
- Part1219.TopSurface = Enum.SurfaceType.Smooth
- Part1219.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part1219.Position = Vector3.new(106.399994, 27.4121971, -153.100006)
- Part1219.Orientation = Vector3.new(0, 0, -90)
- Part1219.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh1220.Parent = Part1219
- CylinderMesh1220.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh1220.Scale = Vector3.new(0.5, 1, 0.5)
- Model1221.Name = "Functions"
- Model1221.Parent = Model1197
- Model1222.Name = "Light"
- Model1222.Parent = Model1221
- Part1223.Name = "Lightbulb"
- Part1223.Parent = Model1222
- Part1223.Transparency = 0.5
- Part1223.Rotation = Vector3.new(180, 90, 0)
- Part1223.Anchored = true
- Part1223.CanCollide = false
- Part1223.FormFactor = Enum.FormFactor.Symmetric
- Part1223.Size = Vector3.new(2, 1, 2)
- Part1223.CFrame = CFrame.new(106.399994, 32.6122093, -146.600006, 0, 0, 1, 0, -1, 0, 1, 0, 0)
- Part1223.BackSurface = Enum.SurfaceType.Weld
- Part1223.BottomSurface = Enum.SurfaceType.Weld
- Part1223.FrontSurface = Enum.SurfaceType.Weld
- Part1223.LeftSurface = Enum.SurfaceType.Weld
- Part1223.RightSurface = Enum.SurfaceType.Weld
- Part1223.TopSurface = Enum.SurfaceType.Weld
- Part1223.Position = Vector3.new(106.399994, 32.6122093, -146.600006)
- Part1223.Orientation = Vector3.new(0, 90, 180)
- SpecialMesh1224.Parent = Part1223
- SpecialMesh1224.MeshId = "http://www.roblox.com/asset/?id=1376459"
- SpecialMesh1224.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- SpecialMesh1224.TextureId = "http://www.roblox.com/asset/?id=1376456"
- SpecialMesh1224.MeshType = Enum.MeshType.FileMesh
- SpecialMesh1224.Scale = Vector3.new(0.899999976, 0.899999976, 0.899999976)
- Part1225.Name = "Light"
- Part1225.Parent = Model1222
- Part1225.BrickColor = BrickColor.new("Cool yellow")
- Part1225.Transparency = 1
- Part1225.Anchored = true
- Part1225.CanCollide = false
- Part1225.FormFactor = Enum.FormFactor.Symmetric
- Part1225.Size = Vector3.new(2, 8, 2)
- Part1225.CFrame = CFrame.new(106.399994, 28.1122017, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1225.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part1225.Position = Vector3.new(106.399994, 28.1122017, -146.600006)
- Part1225.Color = Color3.new(0.992157, 0.917647, 0.552941)
- SpecialMesh1226.Parent = Part1225
- SpecialMesh1226.MeshId = "http://www.roblox.com/asset/?id=1033714"
- SpecialMesh1226.Scale = Vector3.new(7, 13, 7)
- SpecialMesh1226.MeshType = Enum.MeshType.FileMesh
- SpecialMesh1226.Scale = Vector3.new(7, 13, 7)
- Script1227.Name = "Function"
- Script1227.Parent = Model1222
- table.insert(cors,sandbox(Script1227,function()
- local on = false
- function check()
- local n = tonumber(string.sub(game.Lighting.TimeOfDay,1,2))
- if ((n > 6) and (n < 18)) then
- if (on) then
- on = false
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency + 0.1
- wait()
- end
- script.Parent.Light.Transparency = 1
- end
- elseif not (on) then
- on = true
- wait(math.random()*5)
- for i = 1,5 do
- script.Parent.Light.Transparency = script.Parent.Light.Transparency - 0.1
- wait()
- end
- script.Parent.Light.Transparency = 0.5
- end
- end
- game.Lighting.LightingChanged:connect(check)
- check()
- end))
- Part1228.Name = "LightSocket"
- Part1228.Parent = Model1222
- Part1228.BrickColor = BrickColor.new("Dark stone grey")
- Part1228.Anchored = true
- Part1228.FormFactor = Enum.FormFactor.Symmetric
- Part1228.Size = Vector3.new(2, 1, 2)
- Part1228.CFrame = CFrame.new(106.399994, 32.6122093, -146.600006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1228.BottomSurface = Enum.SurfaceType.Smooth
- Part1228.TopSurface = Enum.SurfaceType.Smooth
- Part1228.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part1228.Position = Vector3.new(106.399994, 32.6122093, -146.600006)
- Part1228.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh1229.Parent = Part1228
- CylinderMesh1229.Offset = Vector3.new(0, 0.600000024, 0)
- CylinderMesh1229.Scale = Vector3.new(1, 0.5, 1)
- CylinderMesh1229.Scale = Vector3.new(1, 0.5, 1)
- Model1230.Name = "Door"
- Model1230.Parent = Model1172
- Part1231.Name = "Bar"
- Part1231.Parent = Model1230
- Part1231.Reflectance = 0.15000000596046
- Part1231.Anchored = true
- Part1231.FormFactor = Enum.FormFactor.Symmetric
- Part1231.Size = Vector3.new(1, 9, 1)
- Part1231.CFrame = CFrame.new(110.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1231.BottomSurface = Enum.SurfaceType.Smooth
- Part1231.TopSurface = Enum.SurfaceType.Smooth
- Part1231.Position = Vector3.new(110.899994, 28.0121994, -139.100006)
- CylinderMesh1232.Parent = Part1231
- CylinderMesh1232.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1232.Scale = Vector3.new(0.5, 1, 1)
- Part1233.Name = "Bar"
- Part1233.Parent = Model1230
- Part1233.Reflectance = 0.15000000596046
- Part1233.Anchored = true
- Part1233.FormFactor = Enum.FormFactor.Symmetric
- Part1233.Size = Vector3.new(1, 9, 1)
- Part1233.CFrame = CFrame.new(109.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1233.BottomSurface = Enum.SurfaceType.Smooth
- Part1233.TopSurface = Enum.SurfaceType.Smooth
- Part1233.Position = Vector3.new(109.899994, 28.0121994, -139.100006)
- CylinderMesh1234.Parent = Part1233
- CylinderMesh1234.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1234.Scale = Vector3.new(0.5, 1, 1)
- Part1235.Name = "Bar"
- Part1235.Parent = Model1230
- Part1235.Reflectance = 0.15000000596046
- Part1235.Anchored = true
- Part1235.FormFactor = Enum.FormFactor.Symmetric
- Part1235.Size = Vector3.new(1, 9, 1)
- Part1235.CFrame = CFrame.new(108.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1235.BottomSurface = Enum.SurfaceType.Smooth
- Part1235.TopSurface = Enum.SurfaceType.Smooth
- Part1235.Position = Vector3.new(108.899994, 28.0121994, -139.100006)
- CylinderMesh1236.Parent = Part1235
- CylinderMesh1236.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1236.Scale = Vector3.new(0.5, 1, 1)
- Part1237.Name = "Bar"
- Part1237.Parent = Model1230
- Part1237.Reflectance = 0.15000000596046
- Part1237.Anchored = true
- Part1237.FormFactor = Enum.FormFactor.Symmetric
- Part1237.Size = Vector3.new(1, 9, 1)
- Part1237.CFrame = CFrame.new(107.900002, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1237.BottomSurface = Enum.SurfaceType.Smooth
- Part1237.TopSurface = Enum.SurfaceType.Smooth
- Part1237.Position = Vector3.new(107.900002, 28.0121994, -139.100006)
- CylinderMesh1238.Parent = Part1237
- CylinderMesh1238.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1238.Scale = Vector3.new(0.5, 1, 1)
- Part1239.Name = "Bar"
- Part1239.Parent = Model1230
- Part1239.Reflectance = 0.15000000596046
- Part1239.Anchored = true
- Part1239.FormFactor = Enum.FormFactor.Symmetric
- Part1239.Size = Vector3.new(1, 9, 1)
- Part1239.CFrame = CFrame.new(106.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1239.BottomSurface = Enum.SurfaceType.Smooth
- Part1239.TopSurface = Enum.SurfaceType.Smooth
- Part1239.Position = Vector3.new(106.899994, 28.0121994, -139.100006)
- CylinderMesh1240.Parent = Part1239
- CylinderMesh1240.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1240.Scale = Vector3.new(0.5, 1, 1)
- Part1241.Name = "Bar"
- Part1241.Parent = Model1230
- Part1241.Reflectance = 0.15000000596046
- Part1241.Anchored = true
- Part1241.FormFactor = Enum.FormFactor.Symmetric
- Part1241.Size = Vector3.new(1, 9, 1)
- Part1241.CFrame = CFrame.new(105.899994, 28.0121994, -139.100006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1241.BottomSurface = Enum.SurfaceType.Smooth
- Part1241.TopSurface = Enum.SurfaceType.Smooth
- Part1241.Position = Vector3.new(105.899994, 28.0121994, -139.100006)
- CylinderMesh1242.Parent = Part1241
- CylinderMesh1242.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh1242.Scale = Vector3.new(0.5, 1, 1)
- Script1243.Name = "Main"
- Script1243.Parent = Model1230
- table.insert(cors,sandbox(Script1243,function()
- local _items = {}
- local door = -1
- -- -1 = Closed
- -- 0 = Active
- -- 1 = Open
- function getItems()
- for _,v in pairs(script.Parent:GetChildren()) do
- if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
- table.insert(_items,v)
- end
- end
- end
- function main()
- local d = door
- door = 0
- script.Parent.Button.BrickColor = BrickColor.new("New Yeller")
- for i = 0,5,0.05 do
- for _,v in pairs(_items) do
- v.CFrame = v.CFrame * CFrame.new((0.05*(-d)),0,0)
- end
- wait()
- end
- if (d == (-1)) then
- script.Parent.Button.BrickColor = BrickColor.new("Really red")
- elseif (d == 1) then
- script.Parent.Button.BrickColor = BrickColor.new("Bright green")
- end
- door = d
- end
- script.Parent.Button.Click.MouseClick:connect(function()
- if (door == 0) then return end
- door = (door*(-1))
- main()
- end)
- getItems()
- end))
- Part1244.Name = "Button"
- Part1244.Parent = Model1230
- Part1244.BrickColor = BrickColor.new("Really red")
- Part1244.Reflectance = 0.20000000298023
- Part1244.Transparency = 0.5
- Part1244.Rotation = Vector3.new(90, 0, -180)
- Part1244.Anchored = true
- Part1244.FormFactor = Enum.FormFactor.Plate
- Part1244.Size = Vector3.new(1, 0.400000006, 1)
- Part1244.CFrame = CFrame.new(103.899994, 28.0121784, -138.399994, -1, 0, -0, 0, 0, -1, 0, -1, -0)
- Part1244.BottomSurface = Enum.SurfaceType.Smooth
- Part1244.TopSurface = Enum.SurfaceType.Smooth
- Part1244.Color = Color3.new(1, 0, 0)
- Part1244.Position = Vector3.new(103.899994, 28.0121784, -138.399994)
- Part1244.Orientation = Vector3.new(90, 180, 0)
- Part1244.Color = Color3.new(1, 0, 0)
- BlockMesh1245.Parent = Part1244
- CylinderMesh1246.Parent = Part1244
- CylinderMesh1246.Offset = Vector3.new(0, 0.150000006, 0)
- CylinderMesh1246.Scale = Vector3.new(1, 0.200000003, 1)
- CylinderMesh1246.Scale = Vector3.new(1, 0.200000003, 1)
- ClickDetector1247.Name = "Click"
- ClickDetector1247.Parent = Part1244
- Part1248.Parent = Model1
- Part1248.Anchored = true
- Part1248.Size = Vector3.new(6.80000019, 1.00000024, 7.60000038)
- Part1248.CFrame = CFrame.new(105.199997, 3.01212311, -43.2000122, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1248.Position = Vector3.new(105.199997, 3.01212311, -43.2000122)
- Part1249.Parent = Model1
- Part1249.Anchored = true
- Part1249.Size = Vector3.new(19.3999996, 8, 100)
- Part1249.CFrame = CFrame.new(165.899994, 5.11211967, -89.4000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1249.Position = Vector3.new(165.899994, 5.11211967, -89.4000092)
- Part1250.Parent = Model1
- Part1250.Anchored = true
- Part1250.Size = Vector3.new(6.80000019, 1, 4.80000019)
- Part1250.CFrame = CFrame.new(105.599998, 5.01211929, -41.8000145, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1250.Position = Vector3.new(105.599998, 5.01211929, -41.8000145)
- Part1251.Parent = Model1
- Part1251.Anchored = true
- Part1251.Size = Vector3.new(6.80000019, 1, 6.20000029)
- Part1251.CFrame = CFrame.new(105.400002, 4.01212311, -42.5000076, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1251.Position = Vector3.new(105.400002, 4.01212311, -42.5000076)
- Part1252.Parent = Model1
- Part1252.Anchored = true
- Part1252.Size = Vector3.new(6.80000019, 1, 3.4000001)
- Part1252.CFrame = CFrame.new(105.800003, 6.01211929, -41.1000061, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1252.Position = Vector3.new(105.800003, 6.01211929, -41.1000061)
- Part1253.Parent = Model1
- Part1253.Anchored = true
- Part1253.Size = Vector3.new(18, 9.39999962, 100)
- Part1253.CFrame = CFrame.new(65.7999954, 4.81212044, -89.4000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1253.Position = Vector3.new(65.7999954, 4.81212044, -89.4000092)
- Part1254.Parent = Model1
- Part1254.Anchored = true
- Part1254.Size = Vector3.new(89.4000015, 1, 10.3999996)
- Part1254.CFrame = CFrame.new(124.099968, 8.61211967, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1254.Position = Vector3.new(124.099968, 8.61211967, -23.5999908)
- Part1255.Parent = Model1
- Part1255.Anchored = true
- Part1255.Size = Vector3.new(9.60000038, 1.00000012, 3.4000001)
- Part1255.CFrame = CFrame.new(62.1999893, 20.4121227, -128.099991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1255.Position = Vector3.new(62.1999893, 20.4121227, -128.099991)
- Part1256.Parent = Model1
- Part1256.Anchored = true
- Part1256.Size = Vector3.new(9.60000038, 1.00000012, 3.4000001)
- Part1256.CFrame = CFrame.new(61.7999878, 18.4121227, -125.299988, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1256.Position = Vector3.new(61.7999878, 18.4121227, -125.299988)
- Part1257.Parent = Model1
- Part1257.Anchored = true
- Part1257.Size = Vector3.new(9.60000038, 6.5999999, 2)
- Part1257.CFrame = CFrame.new(61.7999878, 13.2121134, -121.199982, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1257.Position = Vector3.new(61.7999878, 13.2121134, -121.199982)
- Part1258.Parent = Model1
- Part1258.Anchored = true
- Part1258.Size = Vector3.new(13.8000002, 1, 87.4000015)
- Part1258.CFrame = CFrame.new(150.699997, 0.612123489, -83.9000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1258.Position = Vector3.new(150.699997, 0.612123489, -83.9000092)
- Part1259.Parent = Model1
- Part1259.Anchored = true
- Part1259.Size = Vector3.new(6.80000019, 1, 10.3999996)
- Part1259.CFrame = CFrame.new(81.1999664, 7.61211872, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1259.Position = Vector3.new(81.1999664, 7.61211872, -23.5999908)
- Part1260.Parent = Model1
- Part1260.Anchored = true
- Part1260.Size = Vector3.new(6.80000019, 1, 10.3999996)
- Part1260.CFrame = CFrame.new(73.1999893, 2.61212349, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1260.Position = Vector3.new(73.1999893, 2.61212349, -23.5999908)
- Part1261.Parent = Model1
- Part1261.Anchored = true
- Part1261.Size = Vector3.new(6.80000019, 1, 10.3999996)
- Part1261.CFrame = CFrame.new(71.5999908, 1.6121254, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1261.Position = Vector3.new(71.5999908, 1.6121254, -23.5999908)
- Part1262.Parent = Model1
- Part1262.Anchored = true
- Part1262.Size = Vector3.new(135.600006, 1.00000226, 137.800003)
- Part1262.CFrame = CFrame.new(116.400032, 45.0121307, -85.3000031, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1262.Position = Vector3.new(116.400032, 45.0121307, -85.3000031)
- Part1263.Parent = Model1
- Part1263.Anchored = true
- Part1263.Size = Vector3.new(6.80000019, 1, 10.3999996)
- Part1263.CFrame = CFrame.new(77.9999771, 5.61211967, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1263.Position = Vector3.new(77.9999771, 5.61211967, -23.5999908)
- Part1264.Parent = Model1
- Part1264.Anchored = true
- Part1264.Size = Vector3.new(6.79999971, 1.00000024, 9)
- Part1264.CFrame = CFrame.new(105, 2.01212311, -43.9000092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1264.Position = Vector3.new(105, 2.01212311, -43.9000092)
- Part1265.Parent = Model1
- Part1265.Anchored = true
- Part1265.Size = Vector3.new(104.799995, 44.3999977, 2)
- Part1265.CFrame = CFrame.new(116.399994, 22.3121243, -17.3999939, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1265.Position = Vector3.new(116.399994, 22.3121243, -17.3999939)
- Part1266.Parent = Model1
- Part1266.BrickColor = BrickColor.new("Medium blue")
- Part1266.Transparency = 0.40000000596046
- Part1266.Rotation = Vector3.new(-180, 0, -180)
- Part1266.CanCollide = false
- Part1266.Size = Vector3.new(7, 8.40000057, 1)
- Part1266.CFrame = CFrame.new(172.500031, 4.31212425, -17.5000076, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1266.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part1266.Position = Vector3.new(172.500031, 4.31212425, -17.5000076)
- Part1266.Orientation = Vector3.new(0, 180, 0)
- Part1266.Color = Color3.new(0.431373, 0.6, 0.792157)
- Decal1267.Parent = Part1266
- Decal1267.Texture = "http://www.roblox.com/asset/?id=12929140"
- Decal1267.Face = Enum.NormalId.Back
- Decal1268.Parent = Part1266
- Decal1268.Texture = "http://www.roblox.com/asset/?id=12929140"
- Part1269.Parent = Model1
- Part1269.Anchored = true
- Part1269.Size = Vector3.new(74, 30.3999996, 0.600000024)
- Part1269.CFrame = CFrame.new(115.199989, 26.5121269, -16.0999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1269.Position = Vector3.new(115.199989, 26.5121269, -16.0999908)
- Decal1270.Parent = Part1269
- Decal1270.Texture = "http://www.roblox.com/asset/?id=42638982"
- Decal1270.Face = Enum.NormalId.Back
- Part1271.Parent = Model1
- Part1271.Anchored = true
- Part1271.Size = Vector3.new(6.80000019, 1, 10.3999996)
- Part1271.CFrame = CFrame.new(74.7999802, 3.61212349, -23.5999908, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1271.Position = Vector3.new(74.7999802, 3.61212349, -23.5999908)
- Part1272.Parent = Model1
- Part1272.Anchored = true
- Part1272.Size = Vector3.new(9.60000038, 8, 4.80000019)
- Part1272.CFrame = CFrame.new(61.5999908, 13.9121151, -124.599991, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1272.Position = Vector3.new(61.5999908, 13.9121151, -124.599991)
- Part1273.Parent = Model1
- Part1273.BrickColor = BrickColor.new("Medium blue")
- Part1273.Transparency = 0.40000000596046
- Part1273.Rotation = Vector3.new(-180, 0, -180)
- Part1273.CanCollide = false
- Part1273.Size = Vector3.new(7, 8.40000057, 1)
- Part1273.CFrame = CFrame.new(60.2999954, 4.31212425, -17.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- Part1273.Color = Color3.new(0.431373, 0.6, 0.792157)
- Part1273.Position = Vector3.new(60.2999954, 4.31212425, -17.3000031)
- Part1273.Orientation = Vector3.new(0, 180, 0)
- Part1273.Color = Color3.new(0.431373, 0.6, 0.792157)
- Decal1274.Parent = Part1273
- Decal1274.Texture = "http://www.roblox.com/asset/?id=12929140"
- Decal1274.Face = Enum.NormalId.Back
- Decal1275.Parent = Part1273
- Decal1275.Texture = "http://www.roblox.com/asset/?id=12929140"
- Part1276.Parent = Model1
- Part1276.Anchored = true
- Part1276.Size = Vector3.new(9.60000038, 1.00000012, 2)
- Part1276.CFrame = CFrame.new(61.7999954, 10.0121136, -113.200012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1276.Position = Vector3.new(61.7999954, 10.0121136, -113.200012)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment