Advertisement
firebudgy

Untitled

Jan 28th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.98 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. BlockMesh2 = Instance.new("BlockMesh")
  22. Model3 = Instance.new("Model")
  23. Part4 = Instance.new("Part")
  24. BlockMesh5 = Instance.new("BlockMesh")
  25. Model6 = Instance.new("Model")
  26. Model7 = Instance.new("Model")
  27. Part8 = Instance.new("Part")
  28. BlockMesh9 = Instance.new("BlockMesh")
  29. Model10 = Instance.new("Model")
  30. Model11 = Instance.new("Model")
  31. Model12 = Instance.new("Model")
  32. Model13 = Instance.new("Model")
  33. Part14 = Instance.new("Part")
  34. ClickDetector15 = Instance.new("ClickDetector")
  35. BlockMesh16 = Instance.new("BlockMesh")
  36. Part17 = Instance.new("Part")
  37. ClickDetector18 = Instance.new("ClickDetector")
  38. BlockMesh19 = Instance.new("BlockMesh")
  39. Decal20 = Instance.new("Decal")
  40. Part21 = Instance.new("Part")
  41. ClickDetector22 = Instance.new("ClickDetector")
  42. BlockMesh23 = Instance.new("BlockMesh")
  43. Decal24 = Instance.new("Decal")
  44. Part25 = Instance.new("Part")
  45. BlockMesh26 = Instance.new("BlockMesh")
  46. Part27 = Instance.new("Part")
  47. BlockMesh28 = Instance.new("BlockMesh")
  48. Part29 = Instance.new("Part")
  49. BlockMesh30 = Instance.new("BlockMesh")
  50. Part31 = Instance.new("Part")
  51. BlockMesh32 = Instance.new("BlockMesh")
  52. Script33 = Instance.new("Script")
  53. Part34 = Instance.new("Part")
  54. BlockMesh35 = Instance.new("BlockMesh")
  55. Model36 = Instance.new("Model")
  56. Part37 = Instance.new("Part")
  57. BlockMesh38 = Instance.new("BlockMesh")
  58. Model39 = Instance.new("Model")
  59. Part40 = Instance.new("Part")
  60. BlockMesh41 = Instance.new("BlockMesh")
  61. Part42 = Instance.new("Part")
  62. BlockMesh43 = Instance.new("BlockMesh")
  63. Part44 = Instance.new("Part")
  64. BlockMesh45 = Instance.new("BlockMesh")
  65. Part46 = Instance.new("Part")
  66. BlockMesh47 = Instance.new("BlockMesh")
  67. Part48 = Instance.new("Part")
  68. ClickDetector49 = Instance.new("ClickDetector")
  69. CylinderMesh50 = Instance.new("CylinderMesh")
  70. Part51 = Instance.new("Part")
  71. BlockMesh52 = Instance.new("BlockMesh")
  72. Script53 = Instance.new("Script")
  73. Script54 = Instance.new("Script")
  74. Script55 = Instance.new("Script")
  75. Part56 = Instance.new("Part")
  76. BlockMesh57 = Instance.new("BlockMesh")
  77. Model58 = Instance.new("Model")
  78. Part59 = Instance.new("Part")
  79. BlockMesh60 = Instance.new("BlockMesh")
  80. Part61 = Instance.new("Part")
  81. ClickDetector62 = Instance.new("ClickDetector")
  82. BlockMesh63 = Instance.new("BlockMesh")
  83. Decal64 = Instance.new("Decal")
  84. Script65 = Instance.new("Script")
  85. Part66 = Instance.new("Part")
  86. BlockMesh67 = Instance.new("BlockMesh")
  87. Part68 = Instance.new("Part")
  88. BlockMesh69 = Instance.new("BlockMesh")
  89. Part70 = Instance.new("Part")
  90. BlockMesh71 = Instance.new("BlockMesh")
  91. Part72 = Instance.new("Part")
  92. BlockMesh73 = Instance.new("BlockMesh")
  93. Part74 = Instance.new("Part")
  94. BlockMesh75 = Instance.new("BlockMesh")
  95. Part76 = Instance.new("Part")
  96. BlockMesh77 = Instance.new("BlockMesh")
  97. Part78 = Instance.new("Part")
  98. BlockMesh79 = Instance.new("BlockMesh")
  99. Part80 = Instance.new("Part")
  100. BlockMesh81 = Instance.new("BlockMesh")
  101. Model82 = Instance.new("Model")
  102. Part83 = Instance.new("Part")
  103. BlockMesh84 = Instance.new("BlockMesh")
  104. Part85 = Instance.new("Part")
  105. Script86 = Instance.new("Script")
  106. VelocityMotor87 = Instance.new("VelocityMotor")
  107. Part88 = Instance.new("Part")
  108. BlockMesh89 = Instance.new("BlockMesh")
  109. Part90 = Instance.new("Part")
  110. BlockMesh91 = Instance.new("BlockMesh")
  111. Part92 = Instance.new("Part")
  112. BlockMesh93 = Instance.new("BlockMesh")
  113. Model0.Name = "The Rock V2 By eugenevorld"
  114. Model0.Parent = mas
  115. Part1.Parent = Model0
  116. Part1.BrickColor = BrickColor.new("Institutional white")
  117. Part1.Rotation = Vector3.new(179.779999, 89.9700012, -178.839996)
  118. Part1.Anchored = true
  119. Part1.FormFactor = Enum.FormFactor.Symmetric
  120. Part1.Size = Vector3.new(36, 1, 45)
  121. Part1.CFrame = CFrame.new(-17.5, 9.50007439, 3, -2.98023259e-08, 6.04288175e-10, 0.999999821, 1.92723448e-07, 0.999999821, -1.16855858e-10, -0.999999821, 1.93081334e-07, -2.98023402e-08)
  122. Part1.BottomSurface = Enum.SurfaceType.Smooth
  123. Part1.TopSurface = Enum.SurfaceType.Smooth
  124. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  125. Part1.Position = Vector3.new(-17.5, 9.50007439, 3)
  126. Part1.Orientation = Vector3.new(0, 90, 0)
  127. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  128. BlockMesh2.Parent = Part1
  129. Model3.Name = "The Rock V1.01 By eugenevorld"
  130. Model3.Parent = Model0
  131. Part4.Parent = Model3
  132. Part4.BrickColor = BrickColor.new("Reddish brown")
  133. Part4.Rotation = Vector3.new(0, -90, 0)
  134. Part4.Anchored = true
  135. Part4.FormFactor = Enum.FormFactor.Symmetric
  136. Part4.Size = Vector3.new(19, 10, 1)
  137. Part4.CFrame = CFrame.new(-20.5, 16.0000744, 0.5, 0, 0, -1, 0, 1, -0, 1, 0, -0)
  138. Part4.BottomSurface = Enum.SurfaceType.Smooth
  139. Part4.TopSurface = Enum.SurfaceType.Smooth
  140. Part4.Color = Color3.new(0.411765, 0.25098, 0.156863)
  141. Part4.Position = Vector3.new(-20.5, 16.0000744, 0.5)
  142. Part4.Orientation = Vector3.new(0, -90, 0)
  143. Part4.Color = Color3.new(0.411765, 0.25098, 0.156863)
  144. BlockMesh5.Parent = Part4
  145. BlockMesh5.Scale = Vector3.new(1, 1, 1.00999999)
  146. BlockMesh5.Scale = Vector3.new(1, 1, 1.00999999)
  147. Model6.Parent = Model3
  148. Model7.Parent = Model6
  149. Part8.Parent = Model7
  150. Part8.BrickColor = BrickColor.new("Institutional white")
  151. Part8.Reflectance = 0.10000000149012
  152. Part8.Transparency = 0.40000000596046
  153. Part8.Rotation = Vector3.new(180, 0, -180)
  154. Part8.Anchored = true
  155. Part8.FormFactor = Enum.FormFactor.Custom
  156. Part8.Size = Vector3.new(17, 6.5, 1)
  157. Part8.CFrame = CFrame.new(-11.5, 17.6351128, 9.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  158. Part8.BottomSurface = Enum.SurfaceType.Smooth
  159. Part8.TopSurface = Enum.SurfaceType.Smooth
  160. Part8.Color = Color3.new(0.972549, 0.972549, 0.972549)
  161. Part8.Position = Vector3.new(-11.5, 17.6351128, 9.5)
  162. Part8.Orientation = Vector3.new(0, -180, 0)
  163. Part8.Color = Color3.new(0.972549, 0.972549, 0.972549)
  164. BlockMesh9.Parent = Part8
  165. BlockMesh9.Scale = Vector3.new(1.05999994, 1, 0)
  166. BlockMesh9.Scale = Vector3.new(1.05999994, 1, 0)
  167. Model10.Parent = Model7
  168. Model11.Parent = Model10
  169. Model12.Name = "Door"
  170. Model12.Parent = Model11
  171. Model13.Name = "Window"
  172. Model13.Parent = Model12
  173. Part14.Name = "Button"
  174. Part14.Parent = Model13
  175. Part14.BrickColor = BrickColor.new("White")
  176. Part14.Rotation = Vector3.new(-180, 90, 0)
  177. Part14.Anchored = true
  178. Part14.FormFactor = Enum.FormFactor.Plate
  179. Part14.Size = Vector3.new(1, 2, 1)
  180. Part14.CFrame = CFrame.new(-20.4000092, 16.4000797, -6.5, -4.37113883e-08, 0, 1, -5.39620441e-06, -1, -2.35875582e-13, 1, -5.39620441e-06, 4.37113883e-08)
  181. Part14.BottomSurface = Enum.SurfaceType.Smooth
  182. Part14.TopSurface = Enum.SurfaceType.Smooth
  183. Part14.Color = Color3.new(0.94902, 0.952941, 0.952941)
  184. Part14.Position = Vector3.new(-20.4000092, 16.4000797, -6.5)
  185. Part14.Orientation = Vector3.new(0, 90, -180)
  186. Part14.Color = Color3.new(0.94902, 0.952941, 0.952941)
  187. ClickDetector15.Name = "Click"
  188. ClickDetector15.Parent = Part14
  189. BlockMesh16.Parent = Part14
  190. Part17.Name = "Down"
  191. Part17.Parent = Model13
  192. Part17.BrickColor = BrickColor.new("Institutional white")
  193. Part17.Rotation = Vector3.new(180, -90, 0)
  194. Part17.Anchored = true
  195. Part17.FormFactor = Enum.FormFactor.Plate
  196. Part17.Size = Vector3.new(1, 0.800000012, 1)
  197. Part17.CFrame = CFrame.new(-20.5, 15.8000622, -6.5, -0, -0, -1, -0, -1, -0, -1, -0, -0)
  198. Part17.BottomSurface = Enum.SurfaceType.Smooth
  199. Part17.TopSurface = Enum.SurfaceType.Smooth
  200. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  201. Part17.Position = Vector3.new(-20.5, 15.8000622, -6.5)
  202. Part17.Orientation = Vector3.new(0, -90, -180)
  203. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  204. ClickDetector18.Name = "Click"
  205. ClickDetector18.Parent = Part17
  206. BlockMesh19.Parent = Part17
  207. BlockMesh19.Offset = Vector3.new(0, 0, -0.100000001)
  208. Decal20.Parent = Part17
  209. Decal20.Texture = "http://www.roblox.com/asset/?id=38186614"
  210. Part21.Name = "Up"
  211. Part21.Parent = Model13
  212. Part21.BrickColor = BrickColor.new("Institutional white")
  213. Part21.Rotation = Vector3.new(63.4300003, -89.9799957, 63.4300003)
  214. Part21.Anchored = true
  215. Part21.FormFactor = Enum.FormFactor.Plate
  216. Part21.Size = Vector3.new(1, 0.800000012, 1)
  217. Part21.CFrame = CFrame.new(-20.5, 17.1001282, -6.5, 0.000154425303, -0.000308850722, -0.99999994, 1.1920929e-07, 0.99999994, -0.000308850722, 1, -8.94069672e-08, 0.000154425346)
  218. Part21.BottomSurface = Enum.SurfaceType.Smooth
  219. Part21.TopSurface = Enum.SurfaceType.Smooth
  220. Part21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  221. Part21.Position = Vector3.new(-20.5, 17.1001282, -6.5)
  222. Part21.Orientation = Vector3.new(0.0199999996, -89.9899979, 0)
  223. Part21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  224. ClickDetector22.Name = "Click"
  225. ClickDetector22.Parent = Part21
  226. BlockMesh23.Parent = Part21
  227. BlockMesh23.Offset = Vector3.new(0, 0, -0.100000001)
  228. Decal24.Parent = Part21
  229. Decal24.Texture = "http://www.roblox.com/asset/?id=38186614"
  230. Part25.Parent = Model13
  231. Part25.BrickColor = BrickColor.new("Reddish brown")
  232. Part25.Rotation = Vector3.new(180, 0, -180)
  233. Part25.Anchored = true
  234. Part25.FormFactor = Enum.FormFactor.Symmetric
  235. Part25.Size = Vector3.new(19, 1, 20)
  236. Part25.CFrame = CFrame.new(-11.5, 10.5000801, 0, -1, 0, -0, -0, 1, -0, -0, 0, -1)
  237. Part25.BottomSurface = Enum.SurfaceType.Smooth
  238. Part25.TopSurface = Enum.SurfaceType.Smooth
  239. Part25.Color = Color3.new(0.411765, 0.25098, 0.156863)
  240. Part25.Position = Vector3.new(-11.5, 10.5000801, 0)
  241. Part25.Orientation = Vector3.new(0, -180, 0)
  242. Part25.Color = Color3.new(0.411765, 0.25098, 0.156863)
  243. BlockMesh26.Parent = Part25
  244. Part27.Name = "Bar"
  245. Part27.Parent = Model13
  246. Part27.BrickColor = BrickColor.new("Reddish brown")
  247. Part27.Rotation = Vector3.new(0, 90, 0)
  248. Part27.Anchored = true
  249. Part27.FormFactor = Enum.FormFactor.Symmetric
  250. Part27.Size = Vector3.new(18, 10, 1)
  251. Part27.CFrame = CFrame.new(-2.5, 16.0000744, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  252. Part27.BottomSurface = Enum.SurfaceType.Smooth
  253. Part27.TopSurface = Enum.SurfaceType.Smooth
  254. Part27.Color = Color3.new(0.411765, 0.25098, 0.156863)
  255. Part27.Position = Vector3.new(-2.5, 16.0000744, 0)
  256. Part27.Orientation = Vector3.new(0, 90, 0)
  257. Part27.Color = Color3.new(0.411765, 0.25098, 0.156863)
  258. BlockMesh28.Parent = Part27
  259. BlockMesh28.Scale = Vector3.new(1.00999999, 1, 1.00999999)
  260. BlockMesh28.Scale = Vector3.new(1.00999999, 1, 1.00999999)
  261. Part29.Name = "Bar"
  262. Part29.Parent = Model13
  263. Part29.BrickColor = BrickColor.new("Reddish brown")
  264. Part29.Anchored = true
  265. Part29.FormFactor = Enum.FormFactor.Symmetric
  266. Part29.Size = Vector3.new(18, 10, 1)
  267. Part29.CFrame = CFrame.new(-11, 16.0000744, 9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  268. Part29.BottomSurface = Enum.SurfaceType.Smooth
  269. Part29.TopSurface = Enum.SurfaceType.Smooth
  270. Part29.Color = Color3.new(0.411765, 0.25098, 0.156863)
  271. Part29.Position = Vector3.new(-11, 16.0000744, 9.5)
  272. Part29.Color = Color3.new(0.411765, 0.25098, 0.156863)
  273. BlockMesh30.Parent = Part29
  274. BlockMesh30.Scale = Vector3.new(1.00999999, 1, 1.00999999)
  275. BlockMesh30.Scale = Vector3.new(1.00999999, 1, 1.00999999)
  276. Part31.Parent = Model13
  277. Part31.BrickColor = BrickColor.new("Reddish brown")
  278. Part31.Rotation = Vector3.new(0, 90, 0)
  279. Part31.Anchored = true
  280. Part31.FormFactor = Enum.FormFactor.Symmetric
  281. Part31.Size = Vector3.new(20, 1, 19)
  282. Part31.CFrame = CFrame.new(-11.5, 21.5001411, 0, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  283. Part31.BottomSurface = Enum.SurfaceType.Smooth
  284. Part31.TopSurface = Enum.SurfaceType.Smooth
  285. Part31.Color = Color3.new(0.411765, 0.25098, 0.156863)
  286. Part31.Position = Vector3.new(-11.5, 21.5001411, 0)
  287. Part31.Orientation = Vector3.new(0, 90, 0)
  288. Part31.Color = Color3.new(0.411765, 0.25098, 0.156863)
  289. BlockMesh32.Parent = Part31
  290. Script33.Name = "Main"
  291. Script33.Parent = Model13
  292. table.insert(cors,sandbox(Script33,function()
  293. local _items = {}
  294.  
  295. local door = -1
  296. -- -1 = Closed
  297. -- 0 = Active
  298. -- 1 = Open
  299.  
  300. function getItems()
  301. for _,v in pairs(script.Parent:GetChildren()) do
  302. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  303. table.insert(_items,v)
  304. end
  305. end
  306. end
  307.  
  308. function main()
  309. local d = door
  310. door = 0
  311. script.Parent.Button.BrickColor = BrickColor.new("White")
  312. for i = 0,5,0.05 do
  313. for _,v in pairs(_items) do
  314. v.CFrame = v.CFrame * CFrame.new(0,(0.065*(-d)),0)
  315. end
  316. wait()
  317. end
  318. if (d == (-1)) then
  319. script.Parent.Button.BrickColor = BrickColor.new("White")
  320. elseif (d == 1) then
  321. script.Parent.Button.BrickColor = BrickColor.new("White")
  322. end
  323. door = d
  324. end
  325.  
  326. script.Parent.Button.Click.MouseClick:connect(function()
  327. if (door == 0) then return end
  328. door = (door*(-1))
  329. main()
  330. end)
  331.  
  332. getItems()
  333. end))
  334. Part34.Parent = Model7
  335. Part34.BrickColor = BrickColor.new("Institutional white")
  336. Part34.Reflectance = 0.10000000149012
  337. Part34.Transparency = 0.40000000596046
  338. Part34.Rotation = Vector3.new(0, 90, 0)
  339. Part34.Anchored = true
  340. Part34.FormFactor = Enum.FormFactor.Custom
  341. Part34.Size = Vector3.new(19, 6.5, 1)
  342. Part34.CFrame = CFrame.new(-2.5, 17.6351128, 0.5, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  343. Part34.BottomSurface = Enum.SurfaceType.Smooth
  344. Part34.TopSurface = Enum.SurfaceType.Smooth
  345. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  346. Part34.Position = Vector3.new(-2.5, 17.6351128, 0.5)
  347. Part34.Orientation = Vector3.new(0, 90, 0)
  348. Part34.Color = Color3.new(0.972549, 0.972549, 0.972549)
  349. BlockMesh35.Parent = Part34
  350. BlockMesh35.Scale = Vector3.new(0.949999988, 1, 0)
  351. BlockMesh35.Scale = Vector3.new(0.949999988, 1, 0)
  352. Model36.Name = "Door"
  353. Model36.Parent = Model7
  354. Part37.Parent = Model36
  355. Part37.BrickColor = BrickColor.new("Reddish brown")
  356. Part37.Anchored = true
  357. Part37.FormFactor = Enum.FormFactor.Symmetric
  358. Part37.Size = Vector3.new(9, 10, 1)
  359. Part37.CFrame = CFrame.new(-16.5, 16.0000744, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  360. Part37.BottomSurface = Enum.SurfaceType.Smooth
  361. Part37.TopSurface = Enum.SurfaceType.Smooth
  362. Part37.Color = Color3.new(0.411765, 0.25098, 0.156863)
  363. Part37.Position = Vector3.new(-16.5, 16.0000744, -9.5)
  364. Part37.Color = Color3.new(0.411765, 0.25098, 0.156863)
  365. BlockMesh38.Parent = Part37
  366. BlockMesh38.Scale = Vector3.new(1, 1, 1.00999999)
  367. BlockMesh38.Scale = Vector3.new(1, 1, 1.00999999)
  368. Model39.Name = "Front Door"
  369. Model39.Parent = Model36
  370. Part40.Name = "Bar"
  371. Part40.Parent = Model39
  372. Part40.Rotation = Vector3.new(103.669998, 89.8499985, -118.709999)
  373. Part40.Anchored = true
  374. Part40.FormFactor = Enum.FormFactor.Plate
  375. Part40.Size = Vector3.new(1, 0.400000006, 8)
  376. Part40.CFrame = CFrame.new(-7.57494307, 20.6008492, -9.49996758, -9.60408144e-08, 1.75326022e-07, 0.999996603, 5.61509751e-06, 0.999996185, -2.64815299e-07, -0.999993742, 5.57351223e-06, -6.44322995e-08)
  377. Part40.BottomSurface = Enum.SurfaceType.Smooth
  378. Part40.TopSurface = Enum.SurfaceType.Smooth
  379. Part40.Position = Vector3.new(-7.57494307, 20.6008492, -9.49996758)
  380. Part40.Orientation = Vector3.new(0, 90, 0)
  381. BlockMesh41.Parent = Part40
  382. Part42.Name = "Bar1"
  383. Part42.Parent = Model39
  384. Part42.BrickColor = BrickColor.new("Deep blue")
  385. Part42.Transparency = 0.20000000298023
  386. Part42.Rotation = Vector3.new(-85.5299988, -89.8499985, -73.3799973)
  387. Part42.Anchored = true
  388. Part42.FormFactor = Enum.FormFactor.Symmetric
  389. Part42.Size = Vector3.new(1, 9, 8)
  390. Part42.CFrame = CFrame.new(-7.57494307, 15.9001541, -9.5, 5.23295753e-08, 1.75326022e-07, -0.999996603, -5.61509751e-06, 0.999996185, 2.64815554e-07, 0.999993742, 5.57351223e-06, 2.07211848e-08)
  391. Part42.BottomSurface = Enum.SurfaceType.Smooth
  392. Part42.TopSurface = Enum.SurfaceType.Smooth
  393. Part42.Color = Color3.new(0.129412, 0.329412, 0.72549)
  394. Part42.Position = Vector3.new(-7.57494307, 15.9001541, -9.5)
  395. Part42.Orientation = Vector3.new(0, -90, 0)
  396. Part42.Color = Color3.new(0.129412, 0.329412, 0.72549)
  397. BlockMesh43.Parent = Part42
  398. BlockMesh43.Scale = Vector3.new(0, 1, 1)
  399. BlockMesh43.Scale = Vector3.new(0, 1, 1)
  400. Part44.Name = "Bar2"
  401. Part44.Parent = Model39
  402. Part44.Rotation = Vector3.new(90, 0, -90)
  403. Part44.Anchored = true
  404. Part44.FormFactor = Enum.FormFactor.Plate
  405. Part44.Size = Vector3.new(1, 0.400000006, 9)
  406. Part44.CFrame = CFrame.new(-11.7750702, 15.5001459, -9.5, 0, 1, 0, 0, 0, -1, -1, 0, 0)
  407. Part44.BottomSurface = Enum.SurfaceType.Smooth
  408. Part44.TopSurface = Enum.SurfaceType.Smooth
  409. Part44.Position = Vector3.new(-11.7750702, 15.5001459, -9.5)
  410. Part44.Orientation = Vector3.new(90, 90, 0)
  411. BlockMesh45.Parent = Part44
  412. BlockMesh45.Offset = Vector3.new(0, 0, -0.409999996)
  413. BlockMesh45.Scale = Vector3.new(1, 1, 1.09000003)
  414. BlockMesh45.Scale = Vector3.new(1, 1, 1.09000003)
  415. Part46.Name = "Bar"
  416. Part46.Parent = Model39
  417. Part46.Rotation = Vector3.new(103.669998, 89.8499985, -118.709999)
  418. Part46.Anchored = true
  419. Part46.FormFactor = Enum.FormFactor.Plate
  420. Part46.Size = Vector3.new(1, 0.400000006, 8)
  421. Part46.CFrame = CFrame.new(-7.57494307, 11.2002859, -9.50002956, -9.60408144e-08, 1.75326022e-07, 0.999996603, 5.61509751e-06, 0.999996185, -2.64815299e-07, -0.999993742, 5.57351223e-06, -6.44322995e-08)
  422. Part46.BottomSurface = Enum.SurfaceType.Smooth
  423. Part46.TopSurface = Enum.SurfaceType.Smooth
  424. Part46.Position = Vector3.new(-7.57494307, 11.2002859, -9.50002956)
  425. Part46.Orientation = Vector3.new(0, 90, 0)
  426. BlockMesh47.Parent = Part46
  427. Part48.Name = "Button"
  428. Part48.Parent = Model39
  429. Part48.BrickColor = BrickColor.new("Bright blue")
  430. Part48.Rotation = Vector3.new(90, 0, -180)
  431. Part48.Anchored = true
  432. Part48.FormFactor = Enum.FormFactor.Plate
  433. Part48.Size = Vector3.new(1, 1.20000005, 1)
  434. Part48.CFrame = CFrame.new(-13.5, 16.0001545, -9.5, -1, 1.50995803e-07, 2.90524982e-09, -2.90524316e-09, 4.37113883e-08, -1, -1.50995803e-07, -1, -4.37113883e-08)
  435. Part48.BottomSurface = Enum.SurfaceType.Smooth
  436. Part48.TopSurface = Enum.SurfaceType.Smooth
  437. Part48.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  438. Part48.Position = Vector3.new(-13.5, 16.0001545, -9.5)
  439. Part48.Orientation = Vector3.new(90, 180, 0)
  440. Part48.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  441. ClickDetector49.Name = "Click"
  442. ClickDetector49.Parent = Part48
  443. CylinderMesh50.Parent = Part48
  444. Part51.Name = "Bar2"
  445. Part51.Parent = Model39
  446. Part51.Rotation = Vector3.new(90, 0, -90)
  447. Part51.Anchored = true
  448. Part51.FormFactor = Enum.FormFactor.Plate
  449. Part51.Size = Vector3.new(1, 0.400000006, 9)
  450. Part51.CFrame = CFrame.new(-3.37502909, 15.5001621, -9.5, -5.05827074e-07, 1, -3.50978155e-07, 5.65802884e-06, -3.50975284e-07, -1, -1, -5.05829064e-07, -5.65802884e-06)
  451. Part51.BottomSurface = Enum.SurfaceType.Smooth
  452. Part51.TopSurface = Enum.SurfaceType.Smooth
  453. Part51.Position = Vector3.new(-3.37502909, 15.5001621, -9.5)
  454. Part51.Orientation = Vector3.new(90, 90, 0)
  455. BlockMesh52.Parent = Part51
  456. BlockMesh52.Offset = Vector3.new(0, 0, -0.409999996)
  457. BlockMesh52.Scale = Vector3.new(1, 1, 1.09000003)
  458. BlockMesh52.Scale = Vector3.new(1, 1, 1.09000003)
  459. Script53.Name = "Main"
  460. Script53.Parent = Model39
  461. table.insert(cors,sandbox(Script53,function()
  462. local _items = {}
  463.  
  464. local door = -1
  465. -- -1 = Closed
  466. -- 0 = Active
  467. -- 1 = Open
  468.  
  469. function getItems()
  470. for _,v in pairs(script.Parent:GetChildren()) do
  471. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  472. table.insert(_items,v)
  473. end
  474. end
  475. end
  476.  
  477. function main()
  478. local d = door
  479. door = 0
  480. script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
  481. for i = 0,5,0.05 do
  482. for _,v in pairs(_items) do
  483. v.CFrame = v.CFrame * CFrame.new(0,0,(0.075*(-d)))
  484. end
  485. wait()
  486. end
  487. if (d == (-1)) then
  488. script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
  489. elseif (d == 1) then
  490. script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
  491. end
  492. door = d
  493. end
  494.  
  495. script.Parent.Button.Click.MouseClick:connect(function()
  496. if (door == 0) then return end
  497. door = (door*(-1))
  498. main()
  499. end)
  500.  
  501. getItems()
  502. end))
  503. Script54.Name = "Main1"
  504. Script54.Parent = Model39
  505. table.insert(cors,sandbox(Script54,function()
  506. local _items = {}
  507.  
  508. local door = -1
  509. -- -1 = Closed
  510. -- 0 = Active
  511. -- 1 = Open
  512.  
  513. function getItems()
  514. for _,v in pairs(script.Parent:GetChildren()) do
  515. if ((v:IsA("BasePart")) and (v.Name == "Bar1")) then
  516. table.insert(_items,v)
  517. end
  518. end
  519. end
  520.  
  521. function main()
  522. local d = door
  523. door = 0
  524. script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
  525. for i = 0,5,0.05 do
  526. for _,v in pairs(_items) do
  527. v.CFrame = v.CFrame * CFrame.new(0,0,(-0.075*(-d)))
  528. end
  529. wait()
  530. end
  531. if (d == (-1)) then
  532. script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
  533. elseif (d == 1) then
  534. script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
  535. end
  536. door = d
  537. end
  538.  
  539. script.Parent.Button.Click.MouseClick:connect(function()
  540. if (door == 0) then return end
  541. door = (door*(-1))
  542. main()
  543. end)
  544.  
  545. getItems()
  546. end))
  547. Script55.Name = "Main2"
  548. Script55.Parent = Model39
  549. table.insert(cors,sandbox(Script55,function()
  550. local _items = {}
  551.  
  552. local door = -1
  553. -- -1 = Closed
  554. -- 0 = Active
  555. -- 1 = Open
  556.  
  557. function getItems()
  558. for _,v in pairs(script.Parent:GetChildren()) do
  559. if ((v:IsA("BasePart")) and (v.Name == "Bar2")) then
  560. table.insert(_items,v)
  561. end
  562. end
  563. end
  564.  
  565. function main()
  566. local d = door
  567. door = 0
  568. script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
  569. for i = 0,5,0.05 do
  570. for _,v in pairs(_items) do
  571. v.CFrame = v.CFrame * CFrame.new(0,(0.075*(-d)),0)
  572. end
  573. wait()
  574. end
  575. if (d == (-1)) then
  576. script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
  577. elseif (d == 1) then
  578. script.Parent.Button.BrickColor = BrickColor.new("Bright blue")
  579. end
  580. door = d
  581. end
  582.  
  583. script.Parent.Button.Click.MouseClick:connect(function()
  584. if (door == 0) then return end
  585. door = (door*(-1))
  586. main()
  587. end)
  588.  
  589. getItems()
  590. end))
  591. Part56.Parent = Model39
  592. Part56.Anchored = true
  593. Part56.FormFactor = Enum.FormFactor.Symmetric
  594. Part56.Size = Vector3.new(2, 3, 1)
  595. Part56.CFrame = CFrame.new(-13.5, 15.5001459, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  596. Part56.BottomSurface = Enum.SurfaceType.Smooth
  597. Part56.TopSurface = Enum.SurfaceType.Smooth
  598. Part56.Position = Vector3.new(-13.5, 15.5001459, -9.5)
  599. BlockMesh57.Parent = Part56
  600. BlockMesh57.Scale = Vector3.new(0.800000012, 0.800000012, 1.01999998)
  601. BlockMesh57.Scale = Vector3.new(0.800000012, 0.800000012, 1.01999998)
  602. Model58.Name = "Lock"
  603. Model58.Parent = Model39
  604. Part59.Name = "Bar"
  605. Part59.Parent = Model58
  606. Part59.BrickColor = BrickColor.new("Reddish brown")
  607. Part59.Rotation = Vector3.new(-180, 0, 0)
  608. Part59.Anchored = true
  609. Part59.FormFactor = Enum.FormFactor.Plate
  610. Part59.Size = Vector3.new(3, 3.20000005, 1)
  611. Part59.CFrame = CFrame.new(-13.5, 15.9001741, -9.50378418, 1, -1.40629709e-06, 6.63844517e-08, -1.40629709e-06, -1, 1.50995803e-07, 6.63842386e-08, -1.50995902e-07, -1)
  612. Part59.BottomSurface = Enum.SurfaceType.Smooth
  613. Part59.TopSurface = Enum.SurfaceType.Smooth
  614. Part59.Color = Color3.new(0.411765, 0.25098, 0.156863)
  615. Part59.Position = Vector3.new(-13.5, 15.9001741, -9.50378418)
  616. Part59.Orientation = Vector3.new(0, 180, -180)
  617. Part59.Color = Color3.new(0.411765, 0.25098, 0.156863)
  618. BlockMesh60.Parent = Part59
  619. Part61.Name = "Button"
  620. Part61.Parent = Model58
  621. Part61.BrickColor = BrickColor.new("White")
  622. Part61.Rotation = Vector3.new(-90, 0, 0)
  623. Part61.Anchored = true
  624. Part61.FormFactor = Enum.FormFactor.Plate
  625. Part61.Size = Vector3.new(2, 1.20000005, 2)
  626. Part61.CFrame = CFrame.new(-15.5, 15.5001221, -9.3000021, 1, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
  627. Part61.BottomSurface = Enum.SurfaceType.Smooth
  628. Part61.TopSurface = Enum.SurfaceType.Smooth
  629. Part61.Color = Color3.new(0.94902, 0.952941, 0.952941)
  630. Part61.Position = Vector3.new(-15.5, 15.5001221, -9.3000021)
  631. Part61.Orientation = Vector3.new(-90, 0, 0)
  632. Part61.Color = Color3.new(0.94902, 0.952941, 0.952941)
  633. ClickDetector62.Name = "Click"
  634. ClickDetector62.Parent = Part61
  635. BlockMesh63.Parent = Part61
  636. BlockMesh63.Scale = Vector3.new(0.75, 0.550000012, 0.75)
  637. BlockMesh63.Scale = Vector3.new(0.75, 0.550000012, 0.75)
  638. Decal64.Parent = Part61
  639. Decal64.Texture = "http://www.roblox.com/asset/?id=11344402"
  640. Decal64.Face = Enum.NormalId.Bottom
  641. Script65.Name = "Main"
  642. Script65.Parent = Model58
  643. table.insert(cors,sandbox(Script65,function()
  644. local _items = {}
  645.  
  646. local door = -1
  647. -- -1 = Unlocked
  648. -- 0 = Active
  649. -- 1 = Locked
  650.  
  651. function getItems()
  652. for _,v in pairs(script.Parent:GetChildren()) do
  653. if ((v:IsA("BasePart")) and (v.Name == "Bar")) then
  654. table.insert(_items,v)
  655. end
  656. end
  657. end
  658.  
  659. function main()
  660. local d = door
  661. door = 0
  662. script.Parent.Button.BrickColor = BrickColor.new("White")
  663. for i = 0,5,0.05 do
  664. for _,v in pairs(_items) do
  665. v.CFrame = v.CFrame * CFrame.new(0,0,(-0.002*(-d)))
  666. end
  667. wait()
  668. end
  669. if (d == (-1)) then
  670. script.Parent.Button.BrickColor = BrickColor.new("White")
  671. script.Parent.Button.Decal.Texture="http://www.roblox.com/asset/?id=11344402"
  672. elseif (d == 1) then
  673. script.Parent.Button.BrickColor = BrickColor.new("White")
  674. script.Parent.Button.Decal.Texture="http://www.roblox.com/asset/?id=7186733"
  675. end
  676. door = d
  677. end
  678.  
  679. script.Parent.Button.Click.MouseClick:connect(function()
  680. if (door == 0) then return end
  681. door = (door*(-1))
  682. main()
  683. end)
  684.  
  685. getItems()
  686. end))
  687. Part66.Parent = Model36
  688. Part66.BrickColor = BrickColor.new("Reddish brown")
  689. Part66.Anchored = true
  690. Part66.FormFactor = Enum.FormFactor.Custom
  691. Part66.Size = Vector3.new(9, 0.200000003, 1)
  692. Part66.CFrame = CFrame.new(-7.6000061, 20.9004288, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  693. Part66.BottomSurface = Enum.SurfaceType.Smooth
  694. Part66.TopSurface = Enum.SurfaceType.Smooth
  695. Part66.Color = Color3.new(0.411765, 0.25098, 0.156863)
  696. Part66.Position = Vector3.new(-7.6000061, 20.9004288, -9.5)
  697. Part66.Color = Color3.new(0.411765, 0.25098, 0.156863)
  698. BlockMesh67.Parent = Part66
  699. BlockMesh67.Scale = Vector3.new(1, 1, 1.00999999)
  700. BlockMesh67.Scale = Vector3.new(1, 1, 1.00999999)
  701. Part68.Parent = Model36
  702. Part68.BrickColor = BrickColor.new("Reddish brown")
  703. Part68.Anchored = true
  704. Part68.FormFactor = Enum.FormFactor.Symmetric
  705. Part68.Size = Vector3.new(1, 10, 1)
  706. Part68.CFrame = CFrame.new(-2.69999599, 16.0000744, -9.5, 1, -7.4586417e-09, -8.56816769e-08, 7.4586417e-09, 1, -2.85891255e-10, 8.56816769e-08, 2.85890617e-10, 1)
  707. Part68.BottomSurface = Enum.SurfaceType.Smooth
  708. Part68.TopSurface = Enum.SurfaceType.Smooth
  709. Part68.Color = Color3.new(0.411765, 0.25098, 0.156863)
  710. Part68.Position = Vector3.new(-2.69999599, 16.0000744, -9.5)
  711. Part68.Color = Color3.new(0.411765, 0.25098, 0.156863)
  712. BlockMesh69.Parent = Part68
  713. BlockMesh69.Scale = Vector3.new(1, 1, 1.00999999)
  714. BlockMesh69.Scale = Vector3.new(1, 1, 1.00999999)
  715. Part70.Parent = Model36
  716. Part70.BrickColor = BrickColor.new("Reddish brown")
  717. Part70.Anchored = true
  718. Part70.FormFactor = Enum.FormFactor.Symmetric
  719. Part70.Size = Vector3.new(1, 10, 1)
  720. Part70.CFrame = CFrame.new(-2.5, 16.0000744, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  721. Part70.BottomSurface = Enum.SurfaceType.Smooth
  722. Part70.TopSurface = Enum.SurfaceType.Smooth
  723. Part70.Color = Color3.new(0.411765, 0.25098, 0.156863)
  724. Part70.Position = Vector3.new(-2.5, 16.0000744, -9.5)
  725. Part70.Color = Color3.new(0.411765, 0.25098, 0.156863)
  726. BlockMesh71.Parent = Part70
  727. BlockMesh71.Scale = Vector3.new(1, 1, 1.00999999)
  728. BlockMesh71.Scale = Vector3.new(1, 1, 1.00999999)
  729. Part72.Name = "Snow"
  730. Part72.Parent = Model6
  731. Part72.BrickColor = BrickColor.new("Institutional white")
  732. Part72.Rotation = Vector3.new(0, 90, 0)
  733. Part72.Anchored = true
  734. Part72.FormFactor = Enum.FormFactor.Symmetric
  735. Part72.Size = Vector3.new(20, 1, 19)
  736. Part72.CFrame = CFrame.new(-11.5, 22.5001411, 0, -0, 0, 1, -0, 1, 0, -1, 0, 0)
  737. Part72.BottomSurface = Enum.SurfaceType.Smooth
  738. Part72.TopSurface = Enum.SurfaceType.Smooth
  739. Part72.Color = Color3.new(0.972549, 0.972549, 0.972549)
  740. Part72.Position = Vector3.new(-11.5, 22.5001411, 0)
  741. Part72.Orientation = Vector3.new(0, 90, 0)
  742. Part72.Color = Color3.new(0.972549, 0.972549, 0.972549)
  743. BlockMesh73.Parent = Part72
  744. Part74.Parent = Model3
  745. Part74.Anchored = true
  746. Part74.FormFactor = Enum.FormFactor.Symmetric
  747. Part74.Size = Vector3.new(2, 2, 1)
  748. Part74.CFrame = CFrame.new(-15.5, 15.5001221, -9.3999939, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  749. Part74.BottomSurface = Enum.SurfaceType.Smooth
  750. Part74.TopSurface = Enum.SurfaceType.Smooth
  751. Part74.Position = Vector3.new(-15.5, 15.5001221, -9.3999939)
  752. BlockMesh75.Parent = Part74
  753. BlockMesh75.Scale = Vector3.new(0.899999976, 0.899999976, 0.850000024)
  754. BlockMesh75.Scale = Vector3.new(0.899999976, 0.899999976, 0.850000024)
  755. Part76.Parent = Model0
  756. Part76.BrickColor = BrickColor.new("Reddish brown")
  757. Part76.Rotation = Vector3.new(-180, -90, 0)
  758. Part76.Anchored = true
  759. Part76.FormFactor = Enum.FormFactor.Symmetric
  760. Part76.Size = Vector3.new(36, 9, 45)
  761. Part76.CFrame = CFrame.new(-17.5, 4.50010204, 3, 1.78813934e-07, 1.03583941e-09, -1, 9.60687618e-09, -1, 8.8817842e-16, -1, -2.48071714e-08, -1.78813934e-07)
  762. Part76.BottomSurface = Enum.SurfaceType.Smooth
  763. Part76.TopSurface = Enum.SurfaceType.Smooth
  764. Part76.Color = Color3.new(0.411765, 0.25098, 0.156863)
  765. Part76.Position = Vector3.new(-17.5, 4.50010204, 3)
  766. Part76.Orientation = Vector3.new(0, -90, 180)
  767. Part76.Color = Color3.new(0.411765, 0.25098, 0.156863)
  768. BlockMesh77.Parent = Part76
  769. Part78.Parent = Model0
  770. Part78.BrickColor = BrickColor.new("Institutional white")
  771. Part78.Rotation = Vector3.new(180, -90, 0)
  772. Part78.Anchored = true
  773. Part78.FormFactor = Enum.FormFactor.Symmetric
  774. Part78.Size = Vector3.new(28, 1, 14)
  775. Part78.CFrame = CFrame.new(-47, 6.50010014, -1, -0, -0, -1, -0, -1, -0, -1, -0, -0)
  776. Part78.BottomSurface = Enum.SurfaceType.Smooth
  777. Part78.TopSurface = Enum.SurfaceType.Smooth
  778. Part78.Color = Color3.new(0.972549, 0.972549, 0.972549)
  779. Part78.Position = Vector3.new(-47, 6.50010014, -1)
  780. Part78.Orientation = Vector3.new(0, -90, -180)
  781. Part78.Color = Color3.new(0.972549, 0.972549, 0.972549)
  782. BlockMesh79.Parent = Part78
  783. Part80.Parent = Model0
  784. Part80.BrickColor = BrickColor.new("Reddish brown")
  785. Part80.Rotation = Vector3.new(-180, -90, 0)
  786. Part80.Anchored = true
  787. Part80.FormFactor = Enum.FormFactor.Symmetric
  788. Part80.Size = Vector3.new(28, 6, 14)
  789. Part80.CFrame = CFrame.new(-47, 3.00011396, -1, 0, 0, -1, 0, -1, 0, -1, 0, 0)
  790. Part80.BottomSurface = Enum.SurfaceType.Smooth
  791. Part80.TopSurface = Enum.SurfaceType.Smooth
  792. Part80.Color = Color3.new(0.411765, 0.25098, 0.156863)
  793. Part80.Position = Vector3.new(-47, 3.00011396, -1)
  794. Part80.Orientation = Vector3.new(0, -90, 180)
  795. Part80.Color = Color3.new(0.411765, 0.25098, 0.156863)
  796. BlockMesh81.Parent = Part80
  797. Model82.Name = "Doors"
  798. Model82.Parent = Model0
  799. Part83.Name = "Door1"
  800. Part83.Parent = Model82
  801. Part83.BrickColor = BrickColor.new("Reddish brown")
  802. Part83.Rotation = Vector3.new(-180, 0, 180)
  803. Part83.Anchored = true
  804. Part83.CanCollide = false
  805. Part83.FormFactor = Enum.FormFactor.Symmetric
  806. Part83.Size = Vector3.new(19, 1, 1)
  807. Part83.CFrame = CFrame.new(-11.4749136, 10.6001921, -10.5000162, -1, -1.50995803e-07, -1.1920929e-07, -1.50995817e-07, 1, 1.50995803e-07, 1.19209268e-07, 1.50995817e-07, -1)
  808. Part83.Color = Color3.new(0.411765, 0.25098, 0.156863)
  809. Part83.Position = Vector3.new(-11.4749136, 10.6001921, -10.5000162)
  810. Part83.Orientation = Vector3.new(0, -180, 0)
  811. Part83.Color = Color3.new(0.411765, 0.25098, 0.156863)
  812. BlockMesh84.Parent = Part83
  813. BlockMesh84.Offset = Vector3.new(0, 5.4000001, 0)
  814. BlockMesh84.Scale = Vector3.new(1, 12, 1)
  815. BlockMesh84.Scale = Vector3.new(1, 12, 1)
  816. Part85.Name = "Button"
  817. Part85.Parent = Model82
  818. Part85.BrickColor = BrickColor.new("Black")
  819. Part85.Transparency = 1
  820. Part85.Anchored = true
  821. Part85.CanCollide = false
  822. Part85.Size = Vector3.new(19, 1.20000005, 5)
  823. Part85.CFrame = CFrame.new(-11.5, 9.6000576, -12.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  824. Part85.TopSurface = Enum.SurfaceType.Smooth
  825. Part85.Color = Color3.new(0.105882, 0.164706, 0.207843)
  826. Part85.Position = Vector3.new(-11.5, 9.6000576, -12.5)
  827. Part85.Color = Color3.new(0.105882, 0.164706, 0.207843)
  828. Script86.Parent = Part85
  829. table.insert(cors,sandbox(Script86,function()
  830. print("One Way Door Script Loaded")
  831.  
  832.  
  833.  
  834. Button = script.Parent
  835.  
  836. Door1 = script.Parent.Parent.Door1
  837. Door2 = script.Parent.Parent.Door2
  838.  
  839.  
  840.  
  841. function onTouched(hit)
  842.  
  843.  
  844.  
  845. print("Door Hit")
  846.  
  847.  
  848.  
  849. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, -0.4, 1)
  850. Door1.Transparency = 0
  851. Door2.Transparency = 0
  852. wait(0.1)
  853. Door1.Transparency = 0.1
  854. Door2.Transparency = 0.1
  855. wait(0.1)
  856. Door1.Transparency = 0.2
  857. Door2.Transparency = 0.2
  858. wait(0.1)
  859. Door1.Transparency = 0.3
  860. Door2.Transparency = 0.3
  861. wait(0.1)
  862. Door1.Transparency = 0.4
  863. Door2.Transparency = 0.4
  864. wait(0.1)
  865. Door1.Transparency = 0.5
  866. Door2.Transparency = 0.5
  867. wait(0.1)
  868. Door1.Transparency = 0.6
  869. Door2.Transparency = 0.6
  870. wait(0.1)
  871. Door1.Transparency = 0.7
  872. Door2.Transparency = 0.7
  873. wait(0.1)
  874. Door1.Transparency = 0.8
  875. Door2.Transparency = 0.8
  876. wait(0.1)
  877. Door1.Transparency = 0.9
  878. Door2.Transparency = 0.9
  879. wait(0.1)
  880. Door1.Transparency = 1
  881. Door2.Transparency = 1
  882. wait(5.0)
  883. Door1.Transparency = 0
  884. Door2.Transparency = 0
  885. script.Parent.CFrame = script.Parent.CFrame * CFrame.new(0, 0.4, -1)
  886. end
  887.  
  888.  
  889.  
  890. script.Parent.Touched:connect(onTouched)
  891.  
  892.  
  893. end))
  894. VelocityMotor87.Name = "4D Being"
  895. VelocityMotor87.Parent = Model82
  896. Part88.Name = "Door2"
  897. Part88.Parent = Model82
  898. Part88.BrickColor = BrickColor.new("Institutional white")
  899. Part88.Rotation = Vector3.new(-180, 0, 180)
  900. Part88.Anchored = true
  901. Part88.CanCollide = false
  902. Part88.FormFactor = Enum.FormFactor.Symmetric
  903. Part88.Size = Vector3.new(19, 1, 1)
  904. Part88.CFrame = CFrame.new(-11.5497437, 22.5002098, -10.5, -1, -1.50995803e-07, -1.1920929e-07, -1.50995817e-07, 1, 1.50995803e-07, 1.19209268e-07, 1.50995817e-07, -1)
  905. Part88.Color = Color3.new(0.972549, 0.972549, 0.972549)
  906. Part88.Position = Vector3.new(-11.5497437, 22.5002098, -10.5)
  907. Part88.Orientation = Vector3.new(0, -180, 0)
  908. Part88.Color = Color3.new(0.972549, 0.972549, 0.972549)
  909. BlockMesh89.Parent = Part88
  910. Part90.Parent = Model0
  911. Part90.BrickColor = BrickColor.new("Reddish brown")
  912. Part90.Rotation = Vector3.new(0, 0, -180)
  913. Part90.Anchored = true
  914. Part90.FormFactor = Enum.FormFactor.Symmetric
  915. Part90.Size = Vector3.new(41, 5, 4)
  916. Part90.CFrame = CFrame.new(-26.5, 2.50008607, -17.0000381, -1, 2.11794054e-06, -7.40334606e-13, -2.116122e-06, -0.99999994, 1.26295899e-05, 2.98026883e-08, 1.26293935e-05, 0.999999881)
  917. Part90.BottomSurface = Enum.SurfaceType.Smooth
  918. Part90.TopSurface = Enum.SurfaceType.Smooth
  919. Part90.Color = Color3.new(0.411765, 0.25098, 0.156863)
  920. Part90.Position = Vector3.new(-26.5, 2.50008607, -17.0000381)
  921. Part90.Orientation = Vector3.new(0, 0, -180)
  922. Part90.Color = Color3.new(0.411765, 0.25098, 0.156863)
  923. BlockMesh91.Parent = Part90
  924. Part92.Parent = Model0
  925. Part92.BrickColor = BrickColor.new("Institutional white")
  926. Part92.Rotation = Vector3.new(-180, -90, 0)
  927. Part92.Anchored = true
  928. Part92.FormFactor = Enum.FormFactor.Symmetric
  929. Part92.Size = Vector3.new(4, 1, 41)
  930. Part92.CFrame = CFrame.new(-26.5, 5.50010014, -17.0000839, 0, 0, -1, 0, -1, 0, -1, 0, 0)
  931. Part92.BottomSurface = Enum.SurfaceType.Smooth
  932. Part92.TopSurface = Enum.SurfaceType.Smooth
  933. Part92.Color = Color3.new(0.972549, 0.972549, 0.972549)
  934. Part92.Position = Vector3.new(-26.5, 5.50010014, -17.0000839)
  935. Part92.Orientation = Vector3.new(0, -90, 180)
  936. Part92.Color = Color3.new(0.972549, 0.972549, 0.972549)
  937. BlockMesh93.Parent = Part92
  938. for i,v in pairs(mas:GetChildren()) do
  939. v.Parent = workspace
  940. pcall(function() v:MakeJoints() end)
  941. end
  942. mas:Destroy()
  943. for i,v in pairs(cors) do
  944. spawn(function()
  945. pcall(v)
  946. end)
  947. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement