Advertisement
Diamond_Nicholas

Untitled

Jan 30th, 2020
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.14 KB | None | 0 0
  1. function sandbox(var,func)
  2. local env = getfenv(func)
  3. local newenv = setmetatable({},{
  4. __index = function(Enum,k)
  5. if k=="script" then
  6. return var
  7. else
  8. return env[k]
  9. end
  10. end,
  11. })
  12. setfenv(func,newenv)
  13. return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. Model0 = Instance.new("Model")
  18. Model1 = Instance.new("Model")
  19. UnionOperation2 = Instance.new("UnionOperation")
  20. Part3 = Instance.new("Part")
  21. UnionOperation4 = Instance.new("UnionOperation")
  22. Model5 = Instance.new("Model")
  23. Part6 = Instance.new("Part")
  24. BlockMesh7 = Instance.new("BlockMesh")
  25. Sound8 = Instance.new("Sound")
  26. Sound9 = Instance.new("Sound")
  27. Script10 = Instance.new("Script")
  28. UnionOperation11 = Instance.new("UnionOperation")
  29. ClickDetector12 = Instance.new("ClickDetector")
  30. UnionOperation13 = Instance.new("UnionOperation")
  31. ClickDetector14 = Instance.new("ClickDetector")
  32. Sound15 = Instance.new("Sound")
  33. UnionOperation16 = Instance.new("UnionOperation")
  34. UnionOperation17 = Instance.new("UnionOperation")
  35. UnionOperation18 = Instance.new("UnionOperation")
  36. UnionOperation19 = Instance.new("UnionOperation")
  37. UnionOperation20 = Instance.new("UnionOperation")
  38. UnionOperation21 = Instance.new("UnionOperation")
  39. UnionOperation22 = Instance.new("UnionOperation")
  40. Part23 = Instance.new("Part")
  41. Part24 = Instance.new("Part")
  42. SpecialMesh25 = Instance.new("SpecialMesh")
  43. Part26 = Instance.new("Part")
  44. SpecialMesh27 = Instance.new("SpecialMesh")
  45. Part28 = Instance.new("Part")
  46. Part29 = Instance.new("Part")
  47. Part30 = Instance.new("Part")
  48. ClickDetector31 = Instance.new("ClickDetector")
  49. Script32 = Instance.new("Script")
  50. Part33 = Instance.new("Part")
  51. Part34 = Instance.new("Part")
  52. Part35 = Instance.new("Part")
  53. Part36 = Instance.new("Part")
  54. ClickDetector37 = Instance.new("ClickDetector")
  55. Script38 = Instance.new("Script")
  56. Part39 = Instance.new("Part")
  57. Part40 = Instance.new("Part")
  58. Part41 = Instance.new("Part")
  59. Part42 = Instance.new("Part")
  60. Snap43 = Instance.new("Snap")
  61. Weld44 = Instance.new("Weld")
  62. Weld45 = Instance.new("Weld")
  63. Snap46 = Instance.new("Snap")
  64. Snap47 = Instance.new("Snap")
  65. Snap48 = Instance.new("Snap")
  66. Snap49 = Instance.new("Snap")
  67. Part50 = Instance.new("Part")
  68. UnionOperation51 = Instance.new("UnionOperation")
  69. Model0.Name = "DoorModel"
  70. Model0.Parent = mas
  71. Model1.Name = "Frame"
  72. Model1.Parent = Model0
  73. UnionOperation2.Parent = Model1
  74. UnionOperation2.CFrame = CFrame.new(-14.7875824, 3.80016994, -37.7771111, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1)
  75. UnionOperation2.Position = Vector3.new(-14.7875824, 3.80016994, -37.7771111)
  76. UnionOperation2.Color = Color3.new(0.623529, 0.631373, 0.67451)
  77. UnionOperation2.Size = Vector3.new(10.3998728, 7.60000134, 1.20000005)
  78. UnionOperation2.Anchored = true
  79. UnionOperation2.BrickColor = BrickColor.new("Fossil")
  80. UnionOperation2.Material = Enum.Material.Metal
  81. UnionOperation2.brickColor = BrickColor.new("Fossil")
  82. UnionOperation2.UsePartColor = true
  83. Part3.Parent = Model1
  84. Part3.CFrame = CFrame.new(-14.7875023, 8.59948635, -37.7771721, 1, 3.05180438e-05, -3.05171125e-05, -3.05171125e-05, 1, 3.05180438e-05, 3.05180438e-05, -3.05171125e-05, 1)
  85. Part3.Position = Vector3.new(-14.7875023, 8.59948635, -37.7771721)
  86. Part3.Color = Color3.new(0.623529, 0.631373, 0.67451)
  87. Part3.Size = Vector3.new(10.3999996, 1.99999964, 1.20000005)
  88. Part3.Anchored = true
  89. Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  90. Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  91. Part3.BrickColor = BrickColor.new("Fossil")
  92. Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  93. Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  94. Part3.Material = Enum.Material.Metal
  95. Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  96. Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  97. Part3.brickColor = BrickColor.new("Fossil")
  98. Part3.FormFactor = Enum.FormFactor.Symmetric
  99. Part3.formFactor = Enum.FormFactor.Symmetric
  100. UnionOperation4.Parent = Model1
  101. UnionOperation4.CFrame = CFrame.new(-14.7876863, 3.80016994, -37.7771721, -3.26636873e-05, 4.31581502e-05, -1, 9.29513355e-10, 1, 4.31581502e-05, 1, 4.80190998e-10, -3.26636873e-05)
  102. UnionOperation4.Orientation = Vector3.new(0, -90, 0)
  103. UnionOperation4.Position = Vector3.new(-14.7876863, 3.80016994, -37.7771721)
  104. UnionOperation4.Rotation = Vector3.new(0, -90, 0)
  105. UnionOperation4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  106. UnionOperation4.Size = Vector3.new(0.800006628, 7.60012197, 5.2000618)
  107. UnionOperation4.Anchored = true
  108. UnionOperation4.BrickColor = BrickColor.new("Black")
  109. UnionOperation4.Material = Enum.Material.Metal
  110. UnionOperation4.brickColor = BrickColor.new("Black")
  111. UnionOperation4.UsePartColor = true
  112. Model5.Name = "ScriptedComponents"
  113. Model5.Parent = Model0
  114. Part6.Name = "Door"
  115. Part6.Parent = Model5
  116. Part6.CFrame = CFrame.new(-14.7844963, 3.86438394, -37.4192009, 3.30000003e-05, -3.9999999e-05, 1, 0, 1, 3.9999999e-05, -1, -1.32e-09, 3.30000003e-05)
  117. Part6.Orientation = Vector3.new(0, 90, 0)
  118. Part6.Position = Vector3.new(-14.7844963, 3.86438394, -37.4192009)
  119. Part6.Rotation = Vector3.new(0, 90, 0)
  120. Part6.Size = Vector3.new(0.219999775, 7.39000416, 4.85000277)
  121. Part6.Anchored = true
  122. Part6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  123. Part6.BottomSurface = Enum.SurfaceType.Smooth
  124. Part6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  125. Part6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  126. Part6.Material = Enum.Material.DiamondPlate
  127. Part6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  128. Part6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  129. Part6.FormFactor = Enum.FormFactor.Custom
  130. Part6.formFactor = Enum.FormFactor.Custom
  131. BlockMesh7.Parent = Part6
  132. BlockMesh7.Scale = Vector3.new(0.600000024, 1, 1)
  133. Sound8.Name = "DoorOpen"
  134. Sound8.Parent = Part6
  135. Sound8.Pitch = 2
  136. Sound8.PlaybackSpeed = 2
  137. Sound8.SoundId = "rbxassetid://171412771"
  138. Sound8.Volume = 1
  139. Sound9.Name = "DoorClose"
  140. Sound9.Parent = Part6
  141. Sound9.Pitch = 2
  142. Sound9.PlaybackSpeed = 2
  143. Sound9.SoundId = "rbxassetid://171412771"
  144. Sound9.Volume = 1
  145. Script10.Name = "Main"
  146. Script10.Parent = Model5
  147. table.insert(cors,sandbox(Script10,function()
  148. --Made by xImmortalChaos for Site-40.
  149.  
  150. local Door = script.Parent.Door
  151. local Button1 = script.Parent.Button1
  152. local Button2 = script.Parent.Button2
  153. local Open = false
  154.  
  155. local OpenSound = Door.DoorOpen
  156. local CloseSound = Door.DoorClose
  157.  
  158. local Debounce = false
  159. function ButtonClicked(Player)
  160. if not Debounce then
  161. Debounce = true
  162. if Open then
  163. Open = false
  164. CloseSound:Play()
  165. Door.Transparency = 0
  166. for i,v in pairs(Door:GetChildren()) do
  167. if v:IsA("Decal") then
  168. v.Transparency = 0
  169. end
  170. end
  171. for i = 1,(Door.Size.z / 0.30) do
  172. Door.CFrame = Door.CFrame + (Door.CFrame.lookVector * 0.30)
  173. wait()
  174. end
  175. else
  176. Open = true
  177. OpenSound:Play()
  178. for i = 1,(Door.Size.z / 0.30) do
  179. Door.CFrame = Door.CFrame - (Door.CFrame.lookVector * 0.30)
  180. wait()
  181. end
  182. Door.Transparency = 1
  183. for i,v in pairs(Door:GetChildren()) do
  184. if v:IsA("Decal") then
  185. v.Transparency = 1
  186. end
  187. end
  188. end
  189. wait(0.4)
  190. Debounce = false
  191. end
  192. end
  193. Button1.ClickDetector.MouseClick:connect(ButtonClicked)
  194. Button2.ClickDetector.MouseClick:connect(ButtonClicked)
  195.  
  196. end))
  197. UnionOperation11.Name = "Button2"
  198. UnionOperation11.Parent = Model5
  199. UnionOperation11.CFrame = CFrame.new(-11.572238, 3.97228098, -37.2059135, 0, 0, -1, -1, 6.90000015e-05, 0, 6.90000015e-05, 1, 0)
  200. UnionOperation11.Orientation = Vector3.new(0, -90, -90)
  201. UnionOperation11.Position = Vector3.new(-11.572238, 3.97228098, -37.2059135)
  202. UnionOperation11.Rotation = Vector3.new(90, -90, 0)
  203. UnionOperation11.Color = Color3.new(0.388235, 0.372549, 0.384314)
  204. UnionOperation11.Size = Vector3.new(1, 0.224999994, 0.625)
  205. UnionOperation11.Anchored = true
  206. UnionOperation11.BrickColor = BrickColor.new("Dark stone grey")
  207. UnionOperation11.CustomPhysicalProperties = 7.8499999, 0.300000012, 0, 1, 1
  208. UnionOperation11.Elasticity = 0
  209. UnionOperation11.Material = Enum.Material.Metal
  210. UnionOperation11.brickColor = BrickColor.new("Dark stone grey")
  211. ClickDetector12.Parent = UnionOperation11
  212. ClickDetector12.MaxActivationDistance = 8
  213. UnionOperation13.Name = "Button1"
  214. UnionOperation13.Parent = Model5
  215. UnionOperation13.CFrame = CFrame.new(-18.0823517, 3.67199397, -38.4454765, 6.39999998e-05, 0, 1, -1, -6.39999998e-05, 6.39999998e-05, 6.39999998e-05, -1, -4.09599998e-09)
  216. UnionOperation13.Orientation = Vector3.new(0, 90, -90)
  217. UnionOperation13.Position = Vector3.new(-18.0823517, 3.67199397, -38.4454765)
  218. UnionOperation13.Rotation = Vector3.new(-90, 90, 0)
  219. UnionOperation13.Color = Color3.new(0.388235, 0.372549, 0.384314)
  220. UnionOperation13.Size = Vector3.new(1, 0.224999994, 0.625)
  221. UnionOperation13.Anchored = true
  222. UnionOperation13.BrickColor = BrickColor.new("Dark stone grey")
  223. UnionOperation13.CustomPhysicalProperties = 7.8499999, 0.300000012, 0, 1, 1
  224. UnionOperation13.Elasticity = 0
  225. UnionOperation13.Material = Enum.Material.Metal
  226. UnionOperation13.brickColor = BrickColor.new("Dark stone grey")
  227. ClickDetector14.Parent = UnionOperation13
  228. ClickDetector14.MaxActivationDistance = 8
  229. Sound15.Parent = Model0
  230. Sound15.Pitch = 2
  231. Sound15.PlaybackSpeed = 2
  232. Sound15.SoundId = "rbxassetid://171412771"
  233. Sound15.Volume = 1
  234. UnionOperation16.Name = "Light1"
  235. UnionOperation16.Parent = Model0
  236. UnionOperation16.CFrame = CFrame.new(-14.0809917, 4.87439108, -37.7360535, 0.977214217, -0.212255523, 8.77729763e-05, -0.212255493, -0.977214277, -4.01147699e-05, 9.42875849e-05, 2.05704255e-05, -1)
  237. UnionOperation16.Orientation = Vector3.new(0, 179.990005, -167.75)
  238. UnionOperation16.Position = Vector3.new(-14.0809917, 4.87439108, -37.7360535)
  239. UnionOperation16.Rotation = Vector3.new(180, 0.00999999978, 12.25)
  240. UnionOperation16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  241. UnionOperation16.Size = Vector3.new(7.83211994, 2.04753542, 1.31475699)
  242. UnionOperation16.Anchored = true
  243. UnionOperation16.Material = Enum.Material.Neon
  244. UnionOperation16.UsePartColor = true
  245. UnionOperation17.Name = "Light2"
  246. UnionOperation17.Parent = Model0
  247. UnionOperation17.CFrame = CFrame.new(-14.2647076, 4.88756609, -37.7359924, -1, 8.63111054e-05, 4.31590779e-05, 4.31562621e-05, -3.26622794e-05, 1, 8.63125169e-05, 1, 3.26585541e-05)
  248. UnionOperation17.Orientation = Vector3.new(-90, -180, 0)
  249. UnionOperation17.Position = Vector3.new(-14.2647076, 4.88756609, -37.7359924)
  250. UnionOperation17.Rotation = Vector3.new(-90, 0, -180)
  251. UnionOperation17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  252. UnionOperation17.Size = Vector3.new(7.99411345, 1.31598508, 0.400443137)
  253. UnionOperation17.Anchored = true
  254. UnionOperation17.Material = Enum.Material.Neon
  255. UnionOperation17.UsePartColor = true
  256. UnionOperation18.Name = "Light3"
  257. UnionOperation18.Parent = Model0
  258. UnionOperation18.CFrame = CFrame.new(-14.1703625, 4.88756609, -37.7394867, -0.977202654, 0.212308615, 8.12528815e-05, -0.212308601, -0.977202654, 0.000100801175, 0.000100801488, 8.12524886e-05, 1)
  259. UnionOperation18.Orientation = Vector3.new(-0.00999999978, 0, -167.740005)
  260. UnionOperation18.Position = Vector3.new(-14.1703625, 4.88756609, -37.7394867)
  261. UnionOperation18.Rotation = Vector3.new(-0.00999999978, 0, -167.740005)
  262. UnionOperation18.Color = Color3.new(0.972549, 0.972549, 0.972549)
  263. UnionOperation18.Size = Vector3.new(8.01174831, 2.05979967, 1.31583416)
  264. UnionOperation18.Anchored = true
  265. UnionOperation18.Material = Enum.Material.Neon
  266. UnionOperation18.UsePartColor = true
  267. UnionOperation19.Name = "Light6"
  268. UnionOperation19.Parent = Model0
  269. UnionOperation19.CFrame = CFrame.new(-11.6344757, 5.07405376, -37.154705, 0.496503234, 7.46548176e-05, -0.868034363, -0.868034363, -4.23192978e-05, -0.49650228, -7.46548176e-05, 0.999999046, 4.42266464e-05)
  270. UnionOperation19.Orientation = Vector3.new(29.7700005, -90, -90)
  271. UnionOperation19.Position = Vector3.new(-11.6344757, 5.07405376, -37.154705)
  272. UnionOperation19.Rotation = Vector3.new(89.9899979, -60.2299995, -0.00999999978)
  273. UnionOperation19.Color = Color3.new(0.972549, 0.972549, 0.972549)
  274. UnionOperation19.Size = Vector3.new(0.774523616, 0.0652778745, 0.548911214)
  275. UnionOperation19.Anchored = true
  276. UnionOperation19.Material = Enum.Material.Neon
  277. UnionOperation19.UsePartColor = true
  278. UnionOperation20.Name = "Light5"
  279. UnionOperation20.Parent = UnionOperation19
  280. UnionOperation20.CFrame = CFrame.new(-11.4801779, 5.07405376, -37.154705, -0.496501327, 3.14116478e-05, 0.868034244, -0.868034244, 0.000119030476, -0.49650234, -0.000118046999, -0.999998987, -3.02791595e-05)
  281. UnionOperation20.Orientation = Vector3.new(29.7700005, 90, -89.9899979)
  282. UnionOperation20.Position = Vector3.new(-11.4801779, 5.07405376, -37.154705)
  283. UnionOperation20.Rotation = Vector3.new(90, 60.2299995, -180)
  284. UnionOperation20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  285. UnionOperation20.Size = Vector3.new(0.774523616, 0.0652778745, 0.548911214)
  286. UnionOperation20.Anchored = true
  287. UnionOperation20.Material = Enum.Material.Neon
  288. UnionOperation20.UsePartColor = true
  289. UnionOperation21.Name = "Light7"
  290. UnionOperation21.Parent = Model0
  291. UnionOperation21.CFrame = CFrame.new(-18.1512432, 4.85388708, -38.3611031, 0.496503234, 7.46548176e-05, -0.868034363, -0.868034363, -4.23192978e-05, -0.49650228, -7.46548176e-05, 0.999999046, 4.42266464e-05)
  292. UnionOperation21.Orientation = Vector3.new(29.7700005, -90, -90)
  293. UnionOperation21.Position = Vector3.new(-18.1512432, 4.85388708, -38.3611031)
  294. UnionOperation21.Rotation = Vector3.new(89.9899979, -60.2299995, -0.00999999978)
  295. UnionOperation21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  296. UnionOperation21.Size = Vector3.new(0.774523616, 0.0652778745, 0.548911214)
  297. UnionOperation21.Anchored = true
  298. UnionOperation21.Material = Enum.Material.Neon
  299. UnionOperation21.UsePartColor = true
  300. UnionOperation22.Name = "Light4"
  301. UnionOperation22.Parent = UnionOperation21
  302. UnionOperation22.CFrame = CFrame.new(-17.9969158, 4.85388708, -38.3610535, -0.496501327, 3.14116478e-05, 0.868034244, -0.868034244, 0.000119030476, -0.49650234, -0.000118046999, -0.999998987, -3.02791595e-05)
  303. UnionOperation22.Orientation = Vector3.new(29.7700005, 90, -89.9899979)
  304. UnionOperation22.Position = Vector3.new(-17.9969158, 4.85388708, -38.3610535)
  305. UnionOperation22.Rotation = Vector3.new(90, 60.2299995, -180)
  306. UnionOperation22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  307. UnionOperation22.Size = Vector3.new(0.774523616, 0.0652778745, 0.548911214)
  308. UnionOperation22.Anchored = true
  309. UnionOperation22.Material = Enum.Material.Neon
  310. UnionOperation22.UsePartColor = true
  311. Part23.Name = "Brick"
  312. Part23.Parent = mas
  313. Part23.CFrame = CFrame.new(-15.1175499, 2.61691952, -47.6800041, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
  314. Part23.Orientation = Vector3.new(0, -177.470001, 0)
  315. Part23.Position = Vector3.new(-15.1175499, 2.61691952, -47.6800041)
  316. Part23.Rotation = Vector3.new(-180, -2.52999997, -180)
  317. Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  318. Part23.Size = Vector3.new(1.73846054, 0.521538198, 0.434615135)
  319. Part23.Anchored = true
  320. Part23.BrickColor = BrickColor.new("Really black")
  321. Part23.TopSurface = Enum.SurfaceType.Smooth
  322. Part23.brickColor = BrickColor.new("Really black")
  323. Part24.Name = "Speaker"
  324. Part24.Parent = mas
  325. Part24.CFrame = CFrame.new(-15.6978054, 1.3565371, -46.044693, 0.999025762, 0.0441749245, -0, 0, 0, -1, -0.0441749245, 0.999025762, 0)
  326. Part24.Orientation = Vector3.new(90, 2.52999997, 0)
  327. Part24.Position = Vector3.new(-15.6978054, 1.3565371, -46.044693)
  328. Part24.Rotation = Vector3.new(90, 0, -2.52999997)
  329. Part24.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  330. Part24.Size = Vector3.new(1.30384541, 0.173846051, 1.30384541)
  331. Part24.Anchored = true
  332. Part24.BottomSurface = Enum.SurfaceType.Weld
  333. Part24.BrickColor = BrickColor.new("Really black")
  334. Part24.TopSurface = Enum.SurfaceType.Smooth
  335. Part24.brickColor = BrickColor.new("Really black")
  336. SpecialMesh25.Parent = Part24
  337. SpecialMesh25.MeshType = Enum.MeshType.Sphere
  338. Part26.Name = "Speaker"
  339. Part26.Parent = mas
  340. Part26.CFrame = CFrame.new(-13.5268421, 1.44345963, -46.1406784, 0.999025762, 0.0441749245, -0, 0, 0, -1, -0.0441749245, 0.999025762, 0)
  341. Part26.Orientation = Vector3.new(90, 2.52999997, 0)
  342. Part26.Position = Vector3.new(-13.5268421, 1.44345963, -46.1406784)
  343. Part26.Rotation = Vector3.new(90, 0, -2.52999997)
  344. Part26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  345. Part26.Size = Vector3.new(1.30384541, 0.173846051, 1.30384541)
  346. Part26.Anchored = true
  347. Part26.BottomSurface = Enum.SurfaceType.Weld
  348. Part26.BrickColor = BrickColor.new("Really black")
  349. Part26.TopSurface = Enum.SurfaceType.Smooth
  350. Part26.brickColor = BrickColor.new("Really black")
  351. SpecialMesh27.Parent = Part26
  352. SpecialMesh27.MeshType = Enum.MeshType.Sphere
  353. Part28.Name = "Brick"
  354. Part28.Parent = mas
  355. Part28.CFrame = CFrame.new(-13.3519802, 2.61691952, -47.1055107, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
  356. Part28.Orientation = Vector3.new(0, -177.470001, 0)
  357. Part28.Position = Vector3.new(-13.3519802, 2.61691952, -47.1055107)
  358. Part28.Rotation = Vector3.new(-180, -2.52999997, -180)
  359. Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  360. Part28.Size = Vector3.new(1.73846054, 0.521538198, 1.73846054)
  361. Part28.Anchored = true
  362. Part28.BrickColor = BrickColor.new("Really black")
  363. Part28.TopSurface = Enum.SurfaceType.Smooth
  364. Part28.brickColor = BrickColor.new("Really black")
  365. Part29.Name = "Brick"
  366. Part29.Parent = mas
  367. Part29.CFrame = CFrame.new(-13.1444836, 5.70268679, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
  368. Part29.Orientation = Vector3.new(0, -87.4700012, -90)
  369. Part29.Position = Vector3.new(-13.1444836, 5.70268679, -47.3321991)
  370. Part29.Rotation = Vector3.new(0, -87.4700012, -90)
  371. Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  372. Part29.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
  373. Part29.Anchored = true
  374. Part29.BottomSurface = Enum.SurfaceType.Smooth
  375. Part29.BrickColor = BrickColor.new("Really black")
  376. Part29.TopSurface = Enum.SurfaceType.Smooth
  377. Part29.brickColor = BrickColor.new("Really black")
  378. Part29.Shape = Enum.PartType.Cylinder
  379. Part30.Name = "stop"
  380. Part30.Parent = mas
  381. Part30.CFrame = CFrame.new(-14.6449566, 2.61691952, -46.8308182, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
  382. Part30.Orientation = Vector3.new(0, -177.470001, 0)
  383. Part30.Position = Vector3.new(-14.6449566, 2.61691952, -46.8308182)
  384. Part30.Rotation = Vector3.new(-180, -2.52999997, -180)
  385. Part30.Color = Color3.new(1, 0, 0)
  386. Part30.Size = Vector3.new(0.86923027, 0.521538198, 1.30384541)
  387. Part30.Anchored = true
  388. Part30.BrickColor = BrickColor.new("Really red")
  389. Part30.TopSurface = Enum.SurfaceType.Smooth
  390. Part30.brickColor = BrickColor.new("Really red")
  391. ClickDetector31.Parent = Part30
  392. ClickDetector31.MaxActivationDistance = 50
  393. Script32.Parent = Part30
  394. table.insert(cors,sandbox(Script32,function()
  395. brick=script.Parent
  396. other=brick.Parent.play
  397. music=brick.Parent.music
  398.  
  399. function onClicked()
  400.  
  401. music:Stop()
  402.  
  403. brick.Size=Vector3.new(2, 0.8, 3)
  404. brick.Position=brick.Position-Vector3.new(0, 0.2, 0)
  405.  
  406. other.Size=Vector3.new(2, 1.2, 3)
  407.  
  408. end
  409.  
  410. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  411.  
  412. end))
  413. Part33.Name = "Brick"
  414. Part33.Parent = mas
  415. Part33.CFrame = CFrame.new(-13.1444836, 5.26807165, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
  416. Part33.Orientation = Vector3.new(0, -87.4700012, -90)
  417. Part33.Position = Vector3.new(-13.1444836, 5.26807165, -47.3321991)
  418. Part33.Rotation = Vector3.new(0, -87.4700012, -90)
  419. Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  420. Part33.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
  421. Part33.Anchored = true
  422. Part33.BottomSurface = Enum.SurfaceType.Smooth
  423. Part33.BrickColor = BrickColor.new("Really black")
  424. Part33.TopSurface = Enum.SurfaceType.Smooth
  425. Part33.brickColor = BrickColor.new("Really black")
  426. Part33.Shape = Enum.PartType.Cylinder
  427. Part34.Name = "Brick"
  428. Part34.Parent = mas
  429. Part34.CFrame = CFrame.new(-13.1444836, 4.83345652, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
  430. Part34.Orientation = Vector3.new(0, -87.4700012, -90)
  431. Part34.Position = Vector3.new(-13.1444836, 4.83345652, -47.3321991)
  432. Part34.Rotation = Vector3.new(0, -87.4700012, -90)
  433. Part34.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  434. Part34.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
  435. Part34.Anchored = true
  436. Part34.BottomSurface = Enum.SurfaceType.Smooth
  437. Part34.BrickColor = BrickColor.new("Really black")
  438. Part34.TopSurface = Enum.SurfaceType.Smooth
  439. Part34.brickColor = BrickColor.new("Really black")
  440. Part34.Shape = Enum.PartType.Cylinder
  441. Part35.Name = "Head"
  442. Part35.Parent = mas
  443. Part35.CFrame = CFrame.new(-13.1444836, 3.52961206, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
  444. Part35.Orientation = Vector3.new(0, -87.4700012, -90)
  445. Part35.Position = Vector3.new(-13.1444836, 3.52961206, -47.3321991)
  446. Part35.Rotation = Vector3.new(0, -87.4700012, -90)
  447. Part35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  448. Part35.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
  449. Part35.Anchored = true
  450. Part35.BottomSurface = Enum.SurfaceType.Smooth
  451. Part35.BrickColor = BrickColor.new("Really black")
  452. Part35.TopSurface = Enum.SurfaceType.Smooth
  453. Part35.brickColor = BrickColor.new("Really black")
  454. Part35.Shape = Enum.PartType.Cylinder
  455. Part36.Name = "play"
  456. Part36.Parent = mas
  457. Part36.CFrame = CFrame.new(-15.5133457, 2.5299964, -46.7924118, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
  458. Part36.Orientation = Vector3.new(0, -177.470001, 0)
  459. Part36.Position = Vector3.new(-15.5133457, 2.5299964, -46.7924118)
  460. Part36.Rotation = Vector3.new(-180, -2.52999997, -180)
  461. Part36.Color = Color3.new(0, 1, 0)
  462. Part36.Size = Vector3.new(0.86923027, 0.347692102, 1.30384541)
  463. Part36.Anchored = true
  464. Part36.BrickColor = BrickColor.new("Lime green")
  465. Part36.TopSurface = Enum.SurfaceType.Smooth
  466. Part36.brickColor = BrickColor.new("Lime green")
  467. ClickDetector37.Parent = Part36
  468. ClickDetector37.MaxActivationDistance = 50
  469. Script38.Parent = Part36
  470. table.insert(cors,sandbox(Script38,function()
  471. brick=script.Parent
  472. other=brick.Parent.stop
  473. music=brick.Parent.music
  474.  
  475. function onClicked()
  476.  
  477. music:Play()
  478.  
  479. brick.Size=Vector3.new(2, 0.8, 3)
  480. brick.Position=brick.Position-Vector3.new(0, 0.2, 0)
  481.  
  482. other.Size=Vector3.new(2, 1.2, 3)
  483.  
  484. end
  485.  
  486. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  487.  
  488. end))
  489. Part39.Name = "Brick"
  490. Part39.Parent = mas
  491. Part39.CFrame = CFrame.new(-13.1444836, 3.09499693, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
  492. Part39.Orientation = Vector3.new(0, -87.4700012, -90)
  493. Part39.Position = Vector3.new(-13.1444836, 3.09499693, -47.3321991)
  494. Part39.Rotation = Vector3.new(0, -87.4700012, -90)
  495. Part39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  496. Part39.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
  497. Part39.Anchored = true
  498. Part39.BottomSurface = Enum.SurfaceType.Smooth
  499. Part39.BrickColor = BrickColor.new("Really black")
  500. Part39.TopSurface = Enum.SurfaceType.Smooth
  501. Part39.brickColor = BrickColor.new("Really black")
  502. Part39.Shape = Enum.PartType.Cylinder
  503. Part40.Name = "Brick"
  504. Part40.Parent = mas
  505. Part40.CFrame = CFrame.new(-13.1444836, 4.39884138, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
  506. Part40.Orientation = Vector3.new(0, -87.4700012, -90)
  507. Part40.Position = Vector3.new(-13.1444836, 4.39884138, -47.3321991)
  508. Part40.Rotation = Vector3.new(0, -87.4700012, -90)
  509. Part40.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  510. Part40.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
  511. Part40.Anchored = true
  512. Part40.BottomSurface = Enum.SurfaceType.Smooth
  513. Part40.BrickColor = BrickColor.new("Really black")
  514. Part40.TopSurface = Enum.SurfaceType.Smooth
  515. Part40.brickColor = BrickColor.new("Really black")
  516. Part40.Shape = Enum.PartType.Cylinder
  517. Part41.Name = "Brick"
  518. Part41.Parent = mas
  519. Part41.CFrame = CFrame.new(-13.1444836, 3.96422625, -47.3321991, 0, 0.0441749208, -0.999025643, -1, 0, 0, 0, 0.999025643, 0.0441749208)
  520. Part41.Orientation = Vector3.new(0, -87.4700012, -90)
  521. Part41.Position = Vector3.new(-13.1444836, 3.96422625, -47.3321991)
  522. Part41.Rotation = Vector3.new(0, -87.4700012, -90)
  523. Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  524. Part41.Size = Vector3.new(0.434615135, 0.434615135, 0.434615135)
  525. Part41.Anchored = true
  526. Part41.BottomSurface = Enum.SurfaceType.Smooth
  527. Part41.BrickColor = BrickColor.new("Really black")
  528. Part41.TopSurface = Enum.SurfaceType.Smooth
  529. Part41.brickColor = BrickColor.new("Really black")
  530. Part41.Shape = Enum.PartType.Cylinder
  531. Part42.Name = "Brick"
  532. Part42.Parent = mas
  533. Part42.CFrame = CFrame.new(-14.6545601, 1.31307554, -47.0479126, -0.999025643, 0, -0.0441749208, 0, 1, 0, 0.0441749208, 0, -0.999025643)
  534. Part42.Orientation = Vector3.new(0, -177.470001, 0)
  535. Part42.Position = Vector3.new(-14.6545601, 1.31307554, -47.0479126)
  536. Part42.Rotation = Vector3.new(-180, -2.52999997, -180)
  537. Part42.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  538. Part42.Size = Vector3.new(4.34615135, 2.08615279, 1.73846054)
  539. Part42.Anchored = true
  540. Part42.BrickColor = BrickColor.new("Really black")
  541. Part42.brickColor = BrickColor.new("Really black")
  542. Snap43.Parent = Part42
  543. Snap43.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  544. Snap43.C1 = CFrame.new(-0.869232178, -0.173844576, 0.217315674, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
  545. Snap43.Part0 = Part42
  546. Snap43.Part1 = Part36
  547. Snap43.part1 = Part36
  548. Weld44.Parent = Part42
  549. Weld44.C0 = CFrame.new(0, 0, -0.86923027, -1, -0, -0, 0, 1, 0, -0, -0, -1)
  550. Weld44.C1 = CFrame.new(-1.08653831, -0.086933136, 0.130384088, 1.00000012, 0, 0, 0, 0, 1.00000012, 0, -1, 0)
  551. Weld44.Part0 = Part42
  552. Weld44.Part1 = Part26
  553. Weld44.part1 = Part26
  554. Weld45.Parent = Part42
  555. Weld45.C0 = CFrame.new(0, 0, -0.86923027, -1, -0, -0, 0, 1, 0, -0, -0, -1)
  556. Weld45.C1 = CFrame.new(1.08654213, -0.0869216919, 0.0434615612, 1.00000012, 0, 0, 0, 0, 1.00000012, 0, -1, 0)
  557. Weld45.Part0 = Part42
  558. Weld45.Part1 = Part24
  559. Weld45.part1 = Part24
  560. Snap46.Parent = Part42
  561. Snap46.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  562. Snap46.C1 = CFrame.new(3.81469727e-06, -0.260767698, 0.217308044, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
  563. Snap46.Part0 = Part42
  564. Snap46.Part1 = Part30
  565. Snap46.part1 = Part30
  566. Snap47.Parent = Part42
  567. Snap47.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  568. Snap47.C1 = CFrame.new(-0.434614182, -0.260767698, -0.651924133, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
  569. Snap47.Part0 = Part42
  570. Snap47.Part1 = Part23
  571. Snap47.part1 = Part23
  572. Snap48.Parent = Part42
  573. Snap48.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  574. Snap48.C1 = CFrame.new(1.30385017, -0.260767698, 0, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
  575. Snap48.Part0 = Part42
  576. Snap48.Part1 = Part28
  577. Snap48.part1 = Part28
  578. Snap49.Parent = Part42
  579. Snap49.C0 = CFrame.new(0, 1.0430764, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  580. Snap49.C1 = CFrame.new(-1.73845673, -0.260767698, -3.81469727e-06, -1.00000012, 0, 0, 0, 0, 1, 0, 1.00000012, 0)
  581. Snap49.Part0 = Part42
  582. Snap49.Part1 = Part50
  583. Snap49.part1 = Part50
  584. Part50.Name = "Brick"
  585. Part50.Parent = mas
  586. Part50.CFrame = CFrame.new(-16.3913231, 2.61691952, -46.9711189, -0.999025762, 0, -0.0441749245, 0, 1, 0, 0.0441749245, 0, -0.999025762)
  587. Part50.Orientation = Vector3.new(0, -177.470001, 0)
  588. Part50.Position = Vector3.new(-16.3913231, 2.61691952, -46.9711189)
  589. Part50.Rotation = Vector3.new(-180, -2.52999997, -180)
  590. Part50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  591. Part50.Size = Vector3.new(0.86923027, 0.521538198, 1.73846054)
  592. Part50.Anchored = true
  593. Part50.BrickColor = BrickColor.new("Really black")
  594. Part50.TopSurface = Enum.SurfaceType.Smooth
  595. Part50.brickColor = BrickColor.new("Really black")
  596. UnionOperation51.Parent = mas
  597. UnionOperation51.CFrame = CFrame.new(-14.731554, 4.60500145, -44.4429283, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  598. UnionOperation51.Position = Vector3.new(-14.731554, 4.60500145, -44.4429283)
  599. UnionOperation51.Color = Color3.new(0.639216, 0.635294, 0.647059)
  600. UnionOperation51.Size = Vector3.new(10.5100012, 9.2100029, 12.2800026)
  601. UnionOperation51.Anchored = true
  602. UnionOperation51.BrickColor = BrickColor.new("Medium stone grey")
  603. UnionOperation51.brickColor = BrickColor.new("Medium stone grey")
  604. UnionOperation51.UsePartColor = true
  605. for i,v in pairs(mas:GetChildren()) do
  606. v.Parent = workspace
  607. pcall(function() v:MakeJoints() end)
  608. end
  609. for i,v in pairs(cors) do
  610. spawn(function()
  611. pcall(v)
  612. end)
  613. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement