Advertisement
UhhLegoboy

Insane Nuke Troll Thingy

Apr 14th, 2017
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 36.94 KB | None | 0 0
  1. local runDummyScript = function(f,scri)
  2. local oldenv = getfenv(f)
  3. local newenv = setmetatable({}, {
  4. __index = function(_, k)
  5. if k:lower() == 'script' then
  6. return scri
  7. else
  8. return oldenv[k]
  9. end
  10. end
  11. })
  12. setfenv(f, newenv)
  13. ypcall(function() f() end)
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. mas.Name = "CompiledModel"
  18. o1 = Instance.new("Model")
  19. o2 = Instance.new("Model")
  20. o3 = Instance.new("Part")
  21. o4 = Instance.new("Decal")
  22. o5 = Instance.new("Decal")
  23. o6 = Instance.new("Part")
  24. o7 = Instance.new("SpecialMesh")
  25. o8 = Instance.new("Part")
  26. o9 = Instance.new("SpecialMesh")
  27. o10 = Instance.new("Part")
  28. o11 = Instance.new("SpecialMesh")
  29. o12 = Instance.new("Part")
  30. o13 = Instance.new("Fire")
  31. o14 = Instance.new("Smoke")
  32. o15 = Instance.new("Part")
  33. o16 = Instance.new("SpecialMesh")
  34. o17 = Instance.new("Part")
  35. o18 = Instance.new("Part")
  36. o19 = Instance.new("Part")
  37. o20 = Instance.new("SpecialMesh")
  38. o21 = Instance.new("Part")
  39. o22 = Instance.new("SpecialMesh")
  40. o23 = Instance.new("Part")
  41. o24 = Instance.new("SpecialMesh")
  42. o25 = Instance.new("Part")
  43. o26 = Instance.new("SpecialMesh")
  44. o27 = Instance.new("Part")
  45. o28 = Instance.new("SpecialMesh")
  46. o29 = Instance.new("Part")
  47. o30 = Instance.new("SpecialMesh")
  48. o31 = Instance.new("Part")
  49. o32 = Instance.new("SpecialMesh")
  50. o33 = Instance.new("Part")
  51. o34 = Instance.new("SpecialMesh")
  52. o35 = Instance.new("Part")
  53. o36 = Instance.new("SpecialMesh")
  54. o37 = Instance.new("Part")
  55. o38 = Instance.new("SpecialMesh")
  56. o39 = Instance.new("Script")
  57. o40 = Instance.new("Part")
  58. o41 = Instance.new("Part")
  59. o42 = Instance.new("Model")
  60. o43 = Instance.new("Part")
  61. o44 = Instance.new("SpotLight")
  62. o45 = Instance.new("Part")
  63. o46 = Instance.new("SpotLight")
  64. o47 = Instance.new("Part")
  65. o48 = Instance.new("SpotLight")
  66. o49 = Instance.new("Part")
  67. o50 = Instance.new("SpotLight")
  68. o51 = Instance.new("Part")
  69. o52 = Instance.new("Part")
  70. o53 = Instance.new("Part")
  71. o54 = Instance.new("Part")
  72. o55 = Instance.new("Part")
  73. o56 = Instance.new("Part")
  74. o57 = Instance.new("Part")
  75. o58 = Instance.new("Part")
  76. o59 = Instance.new("Part")
  77. o60 = Instance.new("Part")
  78. o61 = Instance.new("Part")
  79. o62 = Instance.new("Part")
  80. o63 = Instance.new("Part")
  81. o64 = Instance.new("Part")
  82. o65 = Instance.new("ClickDetector")
  83. o66 = Instance.new("Sound")
  84. o67 = Instance.new("Sound")
  85. o68 = Instance.new("Sound")
  86. o69 = Instance.new("Sound")
  87. o70 = Instance.new("Script")
  88. o1.Name = "Nuke"
  89. o1.Parent = mas
  90. o2.Name = "Missle"
  91. o2.Parent = o1
  92. o3.Name = "Smooth Block Model"
  93. o3.Parent = o2
  94. o3.Material = Enum.Material.Metal
  95. o3.BrickColor = BrickColor.new("Dark stone grey")
  96. o3.Position = Vector3.new(81, 12.0111723, -38)
  97. o3.Rotation = Vector3.new(-180, 0, -90)
  98. o3.Anchored = true
  99. o3.FormFactor = Enum.FormFactor.Symmetric
  100. o3.Shape = Enum.PartType.Cylinder
  101. o3.Size = Vector3.new(4, 4, 4)
  102. o3.CFrame = CFrame.new(81, 12.0111723, -38, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, 0, 0, 0, -1)
  103. o3.BottomSurface = Enum.SurfaceType.Smooth
  104. o3.TopSurface = Enum.SurfaceType.Smooth
  105. o3.Color = Color3.new(0.388235, 0.372549, 0.384314)
  106. o3.Position = Vector3.new(81, 12.0111723, -38)
  107. o4.Parent = o3
  108. o4.Transparency = 0.5
  109. o4.Texture = "http://www.roblox.com/asset/?id=4740155"
  110. o4.Face = Enum.NormalId.Bottom
  111. o5.Parent = o3
  112. o5.Transparency = 0.5
  113. o5.Texture = "http://www.roblox.com/asset/?id=4740155"
  114. o5.Face = Enum.NormalId.Top
  115. o6.Name = "Smooth Block Model"
  116. o6.Parent = o2
  117. o6.Material = Enum.Material.Metal
  118. o6.BrickColor = BrickColor.new("Dark stone grey")
  119. o6.Position = Vector3.new(81, 6.01105785, -38)
  120. o6.Rotation = Vector3.new(-180, -90, 0)
  121. o6.Anchored = true
  122. o6.FormFactor = Enum.FormFactor.Custom
  123. o6.Size = Vector3.new(4, 1.60000002, 4)
  124. o6.CFrame = CFrame.new(81, 6.01105785, -38, 0, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, -1, 0, 0)
  125. o6.BottomSurface = Enum.SurfaceType.Smooth
  126. o6.TopSurface = Enum.SurfaceType.Smooth
  127. o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  128. o6.Position = Vector3.new(81, 6.01105785, -38)
  129. o7.Parent = o6
  130. o7.Scale = Vector3.new(1, 2.79999995, 1)
  131. o7.MeshType = Enum.MeshType.Sphere
  132. o8.Name = "Smooth Block Model"
  133. o8.Parent = o2
  134. o8.Material = Enum.Material.Metal
  135. o8.BrickColor = BrickColor.new("Dark stone grey")
  136. o8.Position = Vector3.new(82.8000031, 3.21107602, -38)
  137. o8.Rotation = Vector3.new(-0, -90, 0)
  138. o8.Anchored = true
  139. o8.FormFactor = Enum.FormFactor.Custom
  140. o8.Size = Vector3.new(2, 2.4000001, 1.60000002)
  141. o8.CFrame = CFrame.new(82.8000031, 3.21107602, -38, 0, -3.76690795e-025, -1, 0, 1, 3.76690795e-025, 1, 0, 0)
  142. o8.BottomSurface = Enum.SurfaceType.Smooth
  143. o8.TopSurface = Enum.SurfaceType.Smooth
  144. o8.Color = Color3.new(0.388235, 0.372549, 0.384314)
  145. o8.Position = Vector3.new(82.8000031, 3.21107602, -38)
  146. o9.Parent = o8
  147. o9.Scale = Vector3.new(0.200000003, 1, 1)
  148. o9.MeshType = Enum.MeshType.Wedge
  149. o10.Name = "Smooth Block Model"
  150. o10.Parent = o2
  151. o10.Material = Enum.Material.Metal
  152. o10.BrickColor = BrickColor.new("Dark stone grey")
  153. o10.Position = Vector3.new(82.6000061, 1.01002502, -38)
  154. o10.Rotation = Vector3.new(90, 2.15827926e-023, 90)
  155. o10.Anchored = true
  156. o10.FormFactor = Enum.FormFactor.Custom
  157. o10.Size = Vector3.new(2, 1.20000005, 2)
  158. o10.CFrame = CFrame.new(82.6000061, 1.01002502, -38, 0, -1, 3.76690795e-025, 0, 3.76690795e-025, -1, 1, 0, 0)
  159. o10.BottomSurface = Enum.SurfaceType.Smooth
  160. o10.TopSurface = Enum.SurfaceType.Smooth
  161. o10.Color = Color3.new(0.388235, 0.372549, 0.384314)
  162. o10.Position = Vector3.new(82.6000061, 1.01002502, -38)
  163. o11.Parent = o10
  164. o11.Scale = Vector3.new(0.200000003, 1, 1)
  165. o11.MeshType = Enum.MeshType.Brick
  166. o12.Name = "Base"
  167. o12.Parent = o2
  168. o12.Material = Enum.Material.Metal
  169. o12.BrickColor = BrickColor.new("Dark stone grey")
  170. o12.Position = Vector3.new(81, 1.01002502, -38)
  171. o12.Rotation = Vector3.new(-180, 0, 90)
  172. o12.Anchored = true
  173. o12.FormFactor = Enum.FormFactor.Symmetric
  174. o12.Shape = Enum.PartType.Cylinder
  175. o12.Size = Vector3.new(2, 2, 2)
  176. o12.CFrame = CFrame.new(81, 1.01002502, -38, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, 0, 0, 0, -1)
  177. o12.BottomSurface = Enum.SurfaceType.Smooth
  178. o12.TopSurface = Enum.SurfaceType.Smooth
  179. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  180. o12.Position = Vector3.new(81, 1.01002502, -38)
  181. o13.Parent = o12
  182. o13.Size = 10
  183. o13.Color = Color3.new(0.92549, 0.545098, 0.27451)
  184. o13.Enabled = false
  185. o13.Heat = 0
  186. o14.Parent = o12
  187. o14.Enabled = false
  188. o14.Opacity = 0.10000000149012
  189. o15.Name = "Smooth Block Model"
  190. o15.Parent = o2
  191. o15.Material = Enum.Material.Metal
  192. o15.BrickColor = BrickColor.new("Dark stone grey")
  193. o15.Position = Vector3.new(83.3999939, 1.01002502, -38)
  194. o15.Rotation = Vector3.new(-180, 0, -90)
  195. o15.Anchored = true
  196. o15.FormFactor = Enum.FormFactor.Custom
  197. o15.Size = Vector3.new(2, 0.400000006, 4)
  198. o15.CFrame = CFrame.new(83.3999939, 1.01002502, -38, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, 0, 0, 0, -1)
  199. o15.BottomSurface = Enum.SurfaceType.Smooth
  200. o15.TopSurface = Enum.SurfaceType.Smooth
  201. o15.Color = Color3.new(0.388235, 0.372549, 0.384314)
  202. o15.Position = Vector3.new(83.3999939, 1.01002502, -38)
  203. o16.Parent = o15
  204. o16.Scale = Vector3.new(1, 1, 1.29999995)
  205. o16.MeshType = Enum.MeshType.Brick
  206. o17.Name = "Smooth Block Model"
  207. o17.Parent = o2
  208. o17.Material = Enum.Material.Metal
  209. o17.BrickColor = BrickColor.new("Dark stone grey")
  210. o17.Position = Vector3.new(81, 8.01107883, -38)
  211. o17.Rotation = Vector3.new(-180, 0, -90)
  212. o17.Anchored = true
  213. o17.FormFactor = Enum.FormFactor.Symmetric
  214. o17.Shape = Enum.PartType.Cylinder
  215. o17.Size = Vector3.new(4, 4, 4)
  216. o17.CFrame = CFrame.new(81, 8.01107883, -38, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, 0, 0, 0, -1)
  217. o17.BottomSurface = Enum.SurfaceType.Smooth
  218. o17.TopSurface = Enum.SurfaceType.Smooth
  219. o17.Color = Color3.new(0.388235, 0.372549, 0.384314)
  220. o17.Position = Vector3.new(81, 8.01107883, -38)
  221. o18.Name = "Smooth Block Model"
  222. o18.Parent = o2
  223. o18.Material = Enum.Material.Metal
  224. o18.BrickColor = BrickColor.new("Dark stone grey")
  225. o18.Position = Vector3.new(81, 3.01105499, -38)
  226. o18.Rotation = Vector3.new(-180, 0, 90)
  227. o18.Anchored = true
  228. o18.FormFactor = Enum.FormFactor.Symmetric
  229. o18.Shape = Enum.PartType.Cylinder
  230. o18.Size = Vector3.new(2, 2, 2)
  231. o18.CFrame = CFrame.new(81, 3.01105499, -38, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, 0, 0, 0, -1)
  232. o18.BottomSurface = Enum.SurfaceType.Smooth
  233. o18.TopSurface = Enum.SurfaceType.Smooth
  234. o18.Color = Color3.new(0.388235, 0.372549, 0.384314)
  235. o18.Position = Vector3.new(81, 3.01105499, -38)
  236. o19.Name = "Smooth Block Model"
  237. o19.Parent = o2
  238. o19.Material = Enum.Material.Metal
  239. o19.BrickColor = BrickColor.new("Dark stone grey")
  240. o19.Position = Vector3.new(81, 3.21107602, -36.1999969)
  241. o19.Rotation = Vector3.new(-180, 0, 180)
  242. o19.Anchored = true
  243. o19.FormFactor = Enum.FormFactor.Custom
  244. o19.Size = Vector3.new(2, 2.4000001, 1.60000002)
  245. o19.CFrame = CFrame.new(81, 3.21107602, -36.1999969, -1, -3.76690795e-025, 0, 3.76690795e-025, 1, 0, 0, 0, -1)
  246. o19.BottomSurface = Enum.SurfaceType.Smooth
  247. o19.TopSurface = Enum.SurfaceType.Smooth
  248. o19.Color = Color3.new(0.388235, 0.372549, 0.384314)
  249. o19.Position = Vector3.new(81, 3.21107602, -36.1999969)
  250. o20.Parent = o19
  251. o20.Scale = Vector3.new(0.200000003, 1, 1)
  252. o20.MeshType = Enum.MeshType.Wedge
  253. o21.Name = "Smooth Block Model"
  254. o21.Parent = o2
  255. o21.Material = Enum.Material.Metal
  256. o21.BrickColor = BrickColor.new("Dark stone grey")
  257. o21.Position = Vector3.new(81, 1.01002502, -39.6000061)
  258. o21.Rotation = Vector3.new(90, 2.15827926e-023, -0)
  259. o21.Anchored = true
  260. o21.FormFactor = Enum.FormFactor.Custom
  261. o21.Size = Vector3.new(2, 1.20000005, 2)
  262. o21.CFrame = CFrame.new(81, 1.01002502, -39.6000061, 1, 0, 3.76690795e-025, -3.76690795e-025, 0, -1, 0, 1, 0)
  263. o21.BottomSurface = Enum.SurfaceType.Smooth
  264. o21.TopSurface = Enum.SurfaceType.Smooth
  265. o21.Color = Color3.new(0.388235, 0.372549, 0.384314)
  266. o21.Position = Vector3.new(81, 1.01002502, -39.6000061)
  267. o22.Parent = o21
  268. o22.Scale = Vector3.new(0.200000003, 1, 1)
  269. o22.MeshType = Enum.MeshType.Brick
  270. o23.Name = "Smooth Block Model"
  271. o23.Parent = o2
  272. o23.Material = Enum.Material.Metal
  273. o23.BrickColor = BrickColor.new("Dark stone grey")
  274. o23.Position = Vector3.new(79.1999969, 3.21107602, -38)
  275. o23.Rotation = Vector3.new(0, 90, 0)
  276. o23.Anchored = true
  277. o23.FormFactor = Enum.FormFactor.Custom
  278. o23.Size = Vector3.new(2, 2.4000001, 1.60000002)
  279. o23.CFrame = CFrame.new(79.1999969, 3.21107602, -38, 0, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, -1, 0, 0)
  280. o23.BottomSurface = Enum.SurfaceType.Smooth
  281. o23.TopSurface = Enum.SurfaceType.Smooth
  282. o23.Color = Color3.new(0.388235, 0.372549, 0.384314)
  283. o23.Position = Vector3.new(79.1999969, 3.21107602, -38)
  284. o24.Parent = o23
  285. o24.Scale = Vector3.new(0.200000003, 1, 1)
  286. o24.MeshType = Enum.MeshType.Wedge
  287. o25.Name = "Smooth Block Model"
  288. o25.Parent = o2
  289. o25.Material = Enum.Material.Metal
  290. o25.BrickColor = BrickColor.new("Dark stone grey")
  291. o25.Position = Vector3.new(81, 3.21107602, -39.8000031)
  292. o25.Rotation = Vector3.new(-0, 0, 2.15827926e-023)
  293. o25.Anchored = true
  294. o25.FormFactor = Enum.FormFactor.Custom
  295. o25.Size = Vector3.new(2, 2.4000001, 1.60000002)
  296. o25.CFrame = CFrame.new(81, 3.21107602, -39.8000031, 1, -3.76690795e-025, 0, -3.76690795e-025, 1, 0, 0, 0, 1)
  297. o25.BottomSurface = Enum.SurfaceType.Smooth
  298. o25.TopSurface = Enum.SurfaceType.Smooth
  299. o25.Color = Color3.new(0.388235, 0.372549, 0.384314)
  300. o25.Position = Vector3.new(81, 3.21107602, -39.8000031)
  301. o26.Parent = o25
  302. o26.Scale = Vector3.new(0.200000003, 1, 1)
  303. o26.MeshType = Enum.MeshType.Wedge
  304. o27.Name = "Smooth Block Model"
  305. o27.Parent = o2
  306. o27.Material = Enum.Material.Metal
  307. o27.BrickColor = BrickColor.new("Dark stone grey")
  308. o27.Position = Vector3.new(81, 1.01002502, -40.3999901)
  309. o27.Rotation = Vector3.new(-90, 90, 0)
  310. o27.Anchored = true
  311. o27.FormFactor = Enum.FormFactor.Custom
  312. o27.Size = Vector3.new(2, 0.400000006, 4)
  313. o27.CFrame = CFrame.new(81, 1.01002502, -40.3999901, 3.76690795e-025, 0, 1, -1, 0, -3.76690795e-025, 0, -1, 0)
  314. o27.BottomSurface = Enum.SurfaceType.Smooth
  315. o27.TopSurface = Enum.SurfaceType.Smooth
  316. o27.Color = Color3.new(0.388235, 0.372549, 0.384314)
  317. o27.Position = Vector3.new(81, 1.01002502, -40.3999901)
  318. o28.Parent = o27
  319. o28.Scale = Vector3.new(1, 1, 1.29999995)
  320. o28.MeshType = Enum.MeshType.Brick
  321. o29.Name = "Smooth Block Model"
  322. o29.Parent = o2
  323. o29.Material = Enum.Material.Metal
  324. o29.BrickColor = BrickColor.new("Dark stone grey")
  325. o29.Position = Vector3.new(81, 1.01002502, -35.6000061)
  326. o29.Rotation = Vector3.new(90, 90, 0)
  327. o29.Anchored = true
  328. o29.FormFactor = Enum.FormFactor.Custom
  329. o29.Size = Vector3.new(2, 0.400000006, 4)
  330. o29.CFrame = CFrame.new(81, 1.01002502, -35.6000061, -3.76690795e-025, 0, 1, 1, 0, -3.76690795e-025, 0, 1, 0)
  331. o29.BottomSurface = Enum.SurfaceType.Smooth
  332. o29.TopSurface = Enum.SurfaceType.Smooth
  333. o29.Color = Color3.new(0.388235, 0.372549, 0.384314)
  334. o29.Position = Vector3.new(81, 1.01002502, -35.6000061)
  335. o30.Parent = o29
  336. o30.Scale = Vector3.new(1, 1, 1.29999995)
  337. o30.MeshType = Enum.MeshType.Brick
  338. o31.Name = "Smooth Block Model"
  339. o31.Parent = o2
  340. o31.Material = Enum.Material.Metal
  341. o31.BrickColor = BrickColor.new("Dark stone grey")
  342. o31.Position = Vector3.new(81, 1.01002502, -36.3999901)
  343. o31.Rotation = Vector3.new(90, 2.15827926e-023, -0)
  344. o31.Anchored = true
  345. o31.FormFactor = Enum.FormFactor.Custom
  346. o31.Size = Vector3.new(2, 1.20000005, 2)
  347. o31.CFrame = CFrame.new(81, 1.01002502, -36.3999901, 1, 0, 3.76690795e-025, -3.76690795e-025, 0, -1, 0, 1, 0)
  348. o31.BottomSurface = Enum.SurfaceType.Smooth
  349. o31.TopSurface = Enum.SurfaceType.Smooth
  350. o31.Color = Color3.new(0.388235, 0.372549, 0.384314)
  351. o31.Position = Vector3.new(81, 1.01002502, -36.3999901)
  352. o32.Parent = o31
  353. o32.Scale = Vector3.new(0.200000003, 1, 1)
  354. o32.MeshType = Enum.MeshType.Brick
  355. o33.Name = "Smooth Block Model"
  356. o33.Parent = o2
  357. o33.Material = Enum.Material.Metal
  358. o33.BrickColor = BrickColor.new("Dark stone grey")
  359. o33.Position = Vector3.new(79.3999939, 1.01002502, -38)
  360. o33.Rotation = Vector3.new(90, 2.15827926e-023, 90)
  361. o33.Anchored = true
  362. o33.FormFactor = Enum.FormFactor.Custom
  363. o33.Size = Vector3.new(2, 1.20000005, 2)
  364. o33.CFrame = CFrame.new(79.3999939, 1.01002502, -38, 0, -1, 3.76690795e-025, 0, 3.76690795e-025, -1, 1, 0, 0)
  365. o33.BottomSurface = Enum.SurfaceType.Smooth
  366. o33.TopSurface = Enum.SurfaceType.Smooth
  367. o33.Color = Color3.new(0.388235, 0.372549, 0.384314)
  368. o33.Position = Vector3.new(79.3999939, 1.01002502, -38)
  369. o34.Parent = o33
  370. o34.Scale = Vector3.new(0.200000003, 1, 1)
  371. o34.MeshType = Enum.MeshType.Brick
  372. o35.Name = "Smooth Block Model"
  373. o35.Parent = o2
  374. o35.Material = Enum.Material.Metal
  375. o35.BrickColor = BrickColor.new("Dark stone grey")
  376. o35.Position = Vector3.new(78.6000061, 1.01002502, -38)
  377. o35.Rotation = Vector3.new(-180, 0, 90)
  378. o35.Anchored = true
  379. o35.FormFactor = Enum.FormFactor.Custom
  380. o35.Size = Vector3.new(2, 0.400000006, 4)
  381. o35.CFrame = CFrame.new(78.6000061, 1.01002502, -38, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, 0, 0, 0, -1)
  382. o35.BottomSurface = Enum.SurfaceType.Smooth
  383. o35.TopSurface = Enum.SurfaceType.Smooth
  384. o35.Color = Color3.new(0.388235, 0.372549, 0.384314)
  385. o35.Position = Vector3.new(78.6000061, 1.01002502, -38)
  386. o36.Parent = o35
  387. o36.Scale = Vector3.new(1, 1, 1.29999995)
  388. o36.MeshType = Enum.MeshType.Brick
  389. o37.Name = "Tip"
  390. o37.Parent = o2
  391. o37.Material = Enum.Material.Foil
  392. o37.BrickColor = BrickColor.new("Bright yellow")
  393. o37.Reflectance = 0.20000000298023
  394. o37.Position = Vector3.new(81, 18.3621826, -38)
  395. o37.Rotation = Vector3.new(-180, 0, 180)
  396. o37.Anchored = true
  397. o37.FormFactor = Enum.FormFactor.Custom
  398. o37.Size = Vector3.new(4, 1.50000012, 4)
  399. o37.CFrame = CFrame.new(81, 18.3621826, -38, -1, -3.76690795e-025, 0, 3.76690795e-025, 1, 0, 0, 0, -1)
  400. o37.BottomSurface = Enum.SurfaceType.Smooth
  401. o37.TopSurface = Enum.SurfaceType.Smooth
  402. o37.Color = Color3.new(0.960784, 0.803922, 0.188235)
  403. o37.Position = Vector3.new(81, 18.3621826, -38)
  404. o38.Parent = o37
  405. o38.Scale = Vector3.new(1, 5, 1)
  406. o38.MeshType = Enum.MeshType.Sphere
  407. o39.Name = "Boom"
  408. o39.Parent = o37
  409. o39.Disabled = true
  410. table.insert(cors,coroutine.create(function()
  411. wait()
  412. runDummyScript(function()
  413. while true do
  414. c = game.Workspace:GetChildren()
  415. for i =1,#c do
  416. if ((c[i].className == "Part" or c[i].className == "TrussPart" or c[i].className == "WedgePart" or c[i].className == "Seat" or c[i].className == "VehicleSeat") and (c[i].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
  417. if c[i].Locked == false then
  418. c[i].Material = Enum.Material.CorrodedMetal
  419. c[i].Anchored = false
  420. c[i]:BreakJoints()
  421. local miniboom = script.Parent.Parent.Parent.Button.SmallBoom:Clone()
  422. miniboom.Parent=c[i]
  423. miniboom:Play()
  424. game.Debris:AddItem(miniboom,1)
  425. end
  426. end
  427. if (c[i].className == "Model") then
  428. end
  429. g = c[i]:GetChildren()
  430. for j =1,#g do
  431. if ((g[j].className == "Part" or g[j].className == "TrussPart" or g[j].className == "WedgePart" or g[j].className == "Seat" or g[j].className == "VehicleSeat") and g[j].Name ~= script.Parent.Name and g[j].Name ~= "Glow" and (g[j].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
  432. g[j].Material = Enum.Material.CorrodedMetal
  433. g[j].Anchored = false
  434. g[j]:BreakJoints()
  435. local miniboom = script.Parent.Parent.Parent.Button.SmallBoom:Clone()
  436. miniboom.Parent=c[i]
  437. miniboom:Play()
  438. game.Debris:AddItem(miniboom,1)
  439. end
  440. if (g[j].className == "Model") then
  441. end
  442. t = g[j]:GetChildren()
  443. for s =1,#t do
  444. if ((t[s].className == "Part" or t[s].className == "TrussPart" or t[s].className == "WedgePart" or t[s].className == "Seat" or t[s].className == "VehicleSeat") and t[s].Name ~= script.Parent.Name and t[s].Name ~= "Glow" and (t[s].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
  445. t[s].Material = Enum.Material.CorrodedMetal
  446. t[s].Anchored = false
  447. t[s]:BreakJoints()
  448. end
  449. if (t[s].className == "Model") then
  450. end
  451. a = t[s]:GetChildren()
  452. for z =1,#a do
  453. if ((a[z].className == "Part" or a[z].className == "TrussPart" or a[z].className == "WedgePart" or a[z].className == "Seat" or a[z].className == "VehicleSeat") and a[z].Name ~= script.Parent.Name and a[z].Name ~= "Glow" and (a[z].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
  454. a[z].Material = Enum.Material.CorrodedMetal
  455. a[z].Anchored = false
  456. a[z]:BreakJoints()
  457. end
  458. if (a[z].className == "Model") then
  459. end
  460. p = a[z]:GetChildren()
  461. for l =1,#p do
  462. if ((p[l].className == "Part" or p[l].className == "TrussPart" or p[l].className == "WedgePart" or p[l].className == "Seat" or p[l].className == "VehicleSeat") and p[l].Name ~= script.Parent.Name and p[l].Name ~= "Glow" and (p[l].Position - script.Parent.Position).magnitude < (script.Parent.Size.X / 2.1) - 5) then
  463. p[l].Material = Enum.Material.CorrodedMetal
  464. p[l].Anchored = false
  465. p[l]:BreakJoints()
  466. end
  467. end
  468. end
  469. end
  470. end
  471. end
  472. wait(.3)
  473. end
  474.  
  475. end,o39)
  476. end))
  477. o40.Name = "Smooth Block Model"
  478. o40.Parent = o2
  479. o40.Material = Enum.Material.Metal
  480. o40.BrickColor = BrickColor.new("Dark stone grey")
  481. o40.Position = Vector3.new(81, 5.01101589, -38)
  482. o40.Rotation = Vector3.new(-180, 0, 90)
  483. o40.Anchored = true
  484. o40.FormFactor = Enum.FormFactor.Symmetric
  485. o40.Shape = Enum.PartType.Cylinder
  486. o40.Size = Vector3.new(2, 2, 2)
  487. o40.CFrame = CFrame.new(81, 5.01101589, -38, 3.76690795e-025, -1, 0, -1, 3.76690795e-025, 0, 0, 0, -1)
  488. o40.BottomSurface = Enum.SurfaceType.Smooth
  489. o40.TopSurface = Enum.SurfaceType.Smooth
  490. o40.Color = Color3.new(0.388235, 0.372549, 0.384314)
  491. o40.Position = Vector3.new(81, 5.01101589, -38)
  492. o41.Name = "Smooth Block Model"
  493. o41.Parent = o2
  494. o41.Material = Enum.Material.Metal
  495. o41.BrickColor = BrickColor.new("Dark stone grey")
  496. o41.Position = Vector3.new(81, 16.0121956, -38)
  497. o41.Rotation = Vector3.new(-180, 0, -90)
  498. o41.Anchored = true
  499. o41.FormFactor = Enum.FormFactor.Symmetric
  500. o41.Shape = Enum.PartType.Cylinder
  501. o41.Size = Vector3.new(4, 4, 4)
  502. o41.CFrame = CFrame.new(81, 16.0121956, -38, -3.76690795e-025, 1, 0, 1, -3.76690795e-025, 0, 0, 0, -1)
  503. o41.BottomSurface = Enum.SurfaceType.Smooth
  504. o41.TopSurface = Enum.SurfaceType.Smooth
  505. o41.Color = Color3.new(0.388235, 0.372549, 0.384314)
  506. o41.Position = Vector3.new(81, 16.0121956, -38)
  507. o42.Name = "Lights"
  508. o42.Parent = o1
  509. o43.Name = "Light"
  510. o43.Parent = o42
  511. o43.Position = Vector3.new(76.6999969, 0.615737975, -38)
  512. o43.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
  513. o43.Anchored = true
  514. o43.FormFactor = Enum.FormFactor.Custom
  515. o43.Size = Vector3.new(3.39999986, 1.19999981, 12)
  516. o43.CFrame = CFrame.new(76.6999969, 0.615737975, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
  517. o43.BottomSurface = Enum.SurfaceType.Smooth
  518. o43.TopSurface = Enum.SurfaceType.Smooth
  519. o43.Position = Vector3.new(76.6999969, 0.615737975, -38)
  520. o44.Parent = o43
  521. o44.Color = Color3.new(1, 0, 0.0156863)
  522. o44.Enabled = false
  523. o44.Brightness = 100
  524. o44.Face = Enum.NormalId.Left
  525. o45.Name = "Light"
  526. o45.Parent = o42
  527. o45.Position = Vector3.new(81, 0.615737975, -33.6999969)
  528. o45.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  529. o45.Anchored = true
  530. o45.FormFactor = Enum.FormFactor.Custom
  531. o45.Size = Vector3.new(3.39999986, 1.19999981, 5.20000029)
  532. o45.CFrame = CFrame.new(81, 0.615737975, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  533. o45.BottomSurface = Enum.SurfaceType.Smooth
  534. o45.TopSurface = Enum.SurfaceType.Smooth
  535. o45.Position = Vector3.new(81, 0.615737975, -33.6999969)
  536. o46.Parent = o45
  537. o46.Color = Color3.new(1, 0, 0.0156863)
  538. o46.Enabled = false
  539. o46.Brightness = 100
  540. o46.Face = Enum.NormalId.Right
  541. o47.Name = "Light"
  542. o47.Parent = o42
  543. o47.Position = Vector3.new(81, 0.615737975, -42.3000031)
  544. o47.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  545. o47.Anchored = true
  546. o47.FormFactor = Enum.FormFactor.Custom
  547. o47.Size = Vector3.new(3.39999986, 1.19999981, 5.20000029)
  548. o47.CFrame = CFrame.new(81, 0.615737975, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  549. o47.BottomSurface = Enum.SurfaceType.Smooth
  550. o47.TopSurface = Enum.SurfaceType.Smooth
  551. o47.Position = Vector3.new(81, 0.615737975, -42.3000031)
  552. o48.Parent = o47
  553. o48.Color = Color3.new(1, 0, 0.0156863)
  554. o48.Enabled = false
  555. o48.Brightness = 100
  556. o48.Face = Enum.NormalId.Left
  557. o49.Name = "Light"
  558. o49.Parent = o42
  559. o49.Position = Vector3.new(85.3000031, 0.615737975, -38)
  560. o49.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
  561. o49.Anchored = true
  562. o49.FormFactor = Enum.FormFactor.Custom
  563. o49.Size = Vector3.new(3.39999986, 1.19999981, 12)
  564. o49.CFrame = CFrame.new(85.3000031, 0.615737975, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
  565. o49.BottomSurface = Enum.SurfaceType.Smooth
  566. o49.TopSurface = Enum.SurfaceType.Smooth
  567. o49.Position = Vector3.new(85.3000031, 0.615737975, -38)
  568. o50.Parent = o49
  569. o50.Color = Color3.new(1, 0, 0.0156863)
  570. o50.Enabled = false
  571. o50.Brightness = 100
  572. o50.Face = Enum.NormalId.Right
  573. o51.Parent = o1
  574. o51.Transparency = 0.5
  575. o51.Position = Vector3.new(76.6999969, 5.61675692, -38)
  576. o51.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
  577. o51.Anchored = true
  578. o51.FormFactor = Enum.FormFactor.Custom
  579. o51.Size = Vector3.new(3.39999986, 8.79999924, 5.19999981)
  580. o51.CFrame = CFrame.new(76.6999969, 5.61675692, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
  581. o51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  582. o51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  583. o51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  584. o51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  585. o51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  586. o51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  587. o51.Position = Vector3.new(76.6999969, 5.61675692, -38)
  588. o52.Parent = o1
  589. o52.Transparency = 0.5
  590. o52.Position = Vector3.new(81, 5.61675692, -33.6999969)
  591. o52.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  592. o52.Anchored = true
  593. o52.FormFactor = Enum.FormFactor.Custom
  594. o52.Size = Vector3.new(3.39999986, 8.79999924, 5.20000029)
  595. o52.CFrame = CFrame.new(81, 5.61675692, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  596. o52.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  597. o52.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  598. o52.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  599. o52.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  600. o52.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  601. o52.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  602. o52.Position = Vector3.new(81, 5.61675692, -33.6999969)
  603. o53.Parent = o1
  604. o53.Transparency = 0.5
  605. o53.Position = Vector3.new(81, 5.61675692, -42.3000031)
  606. o53.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  607. o53.Anchored = true
  608. o53.FormFactor = Enum.FormFactor.Custom
  609. o53.Size = Vector3.new(3.39999986, 8.79999924, 5.20000029)
  610. o53.CFrame = CFrame.new(81, 5.61675692, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  611. o53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  612. o53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  613. o53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  614. o53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  615. o53.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  616. o53.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  617. o53.Position = Vector3.new(81, 5.61675692, -42.3000031)
  618. o54.Parent = o1
  619. o54.Transparency = 0.5
  620. o54.Position = Vector3.new(85.3000031, 5.61675692, -38)
  621. o54.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
  622. o54.Anchored = true
  623. o54.FormFactor = Enum.FormFactor.Custom
  624. o54.Size = Vector3.new(3.39999986, 8.79999924, 5.19999981)
  625. o54.CFrame = CFrame.new(85.3000031, 5.61675692, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
  626. o54.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  627. o54.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  628. o54.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  629. o54.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  630. o54.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  631. o54.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  632. o54.Position = Vector3.new(85.3000031, 5.61675692, -38)
  633. o55.Parent = o1
  634. o55.Position = Vector3.new(85.3000031, 5.61675692, -42.3000031)
  635. o55.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  636. o55.Anchored = true
  637. o55.FormFactor = Enum.FormFactor.Custom
  638. o55.Size = Vector3.new(3.39999986, 8.79999924, 3.40000033)
  639. o55.CFrame = CFrame.new(85.3000031, 5.61675692, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  640. o55.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  641. o55.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  642. o55.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  643. o55.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  644. o55.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  645. o55.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  646. o55.Position = Vector3.new(85.3000031, 5.61675692, -42.3000031)
  647. o56.Parent = o1
  648. o56.Position = Vector3.new(85.3000031, 5.61675692, -33.6999969)
  649. o56.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  650. o56.Anchored = true
  651. o56.FormFactor = Enum.FormFactor.Custom
  652. o56.Size = Vector3.new(3.39999986, 8.79999924, 3.40000033)
  653. o56.CFrame = CFrame.new(85.3000031, 5.61675692, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  654. o56.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  655. o56.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  656. o56.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  657. o56.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  658. o56.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  659. o56.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  660. o56.Position = Vector3.new(85.3000031, 5.61675692, -33.6999969)
  661. o57.Parent = o1
  662. o57.Position = Vector3.new(76.6999969, 5.61675692, -42.3000031)
  663. o57.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  664. o57.Anchored = true
  665. o57.FormFactor = Enum.FormFactor.Custom
  666. o57.Size = Vector3.new(3.39999986, 8.79999924, 3.40000033)
  667. o57.CFrame = CFrame.new(76.6999969, 5.61675692, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  668. o57.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  669. o57.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  670. o57.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  671. o57.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  672. o57.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  673. o57.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  674. o57.Position = Vector3.new(76.6999969, 5.61675692, -42.3000031)
  675. o58.Parent = o1
  676. o58.Position = Vector3.new(76.6999969, 5.61675692, -33.6999969)
  677. o58.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  678. o58.Anchored = true
  679. o58.FormFactor = Enum.FormFactor.Custom
  680. o58.Size = Vector3.new(3.39999986, 8.79999924, 3.40000033)
  681. o58.CFrame = CFrame.new(76.6999969, 5.61675692, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  682. o58.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  683. o58.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  684. o58.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  685. o58.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  686. o58.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  687. o58.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  688. o58.Position = Vector3.new(76.6999969, 5.61675692, -33.6999969)
  689. o59.Parent = o1
  690. o59.Position = Vector3.new(76.6999969, 10.6169119, -38)
  691. o59.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
  692. o59.Anchored = true
  693. o59.FormFactor = Enum.FormFactor.Custom
  694. o59.Size = Vector3.new(3.39999986, 1.19999981, 12)
  695. o59.CFrame = CFrame.new(76.6999969, 10.6169119, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
  696. o59.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  697. o59.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  698. o59.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  699. o59.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  700. o59.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  701. o59.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  702. o59.Position = Vector3.new(76.6999969, 10.6169119, -38)
  703. o60.Parent = o1
  704. o60.Position = Vector3.new(81, 10.6169119, -33.6999969)
  705. o60.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  706. o60.Anchored = true
  707. o60.FormFactor = Enum.FormFactor.Custom
  708. o60.Size = Vector3.new(3.39999986, 1.19999981, 5.20000029)
  709. o60.CFrame = CFrame.new(81, 10.6169119, -33.6999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  710. o60.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  711. o60.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  712. o60.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  713. o60.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  714. o60.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  715. o60.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  716. o60.Position = Vector3.new(81, 10.6169119, -33.6999969)
  717. o61.Parent = o1
  718. o61.Position = Vector3.new(85.3000031, 10.6169119, -38)
  719. o61.Rotation = Vector3.new(4.15787689e-008, 2.97412106e-014, 1.6174738e-007)
  720. o61.Anchored = true
  721. o61.FormFactor = Enum.FormFactor.Custom
  722. o61.Size = Vector3.new(3.39999986, 1.19999981, 12)
  723. o61.CFrame = CFrame.new(85.3000031, 10.6169119, -38, 1, -2.82302426e-009, 5.19082066e-016, 2.82302426e-009, 1, -7.256864e-010, -5.17033411e-016, 7.256864e-010, 1)
  724. o61.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  725. o61.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  726. o61.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  727. o61.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  728. o61.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  729. o61.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  730. o61.Position = Vector3.new(85.3000031, 10.6169119, -38)
  731. o62.Parent = o1
  732. o62.Position = Vector3.new(81, 10.6169119, -42.3000031)
  733. o62.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  734. o62.Anchored = true
  735. o62.FormFactor = Enum.FormFactor.Custom
  736. o62.Size = Vector3.new(3.39999986, 1.19999981, 5.20000029)
  737. o62.CFrame = CFrame.new(81, 10.6169119, -42.3000031, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  738. o62.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  739. o62.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  740. o62.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  741. o62.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  742. o62.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  743. o62.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  744. o62.Position = Vector3.new(81, 10.6169119, -42.3000031)
  745. o63.Parent = o1
  746. o63.BrickColor = BrickColor.new("Dark stone grey")
  747. o63.Position = Vector3.new(75, 5.61675692, -43.1999969)
  748. o63.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  749. o63.Anchored = true
  750. o63.FormFactor = Enum.FormFactor.Custom
  751. o63.Size = Vector3.new(3.39999986, 3.89999914, 0.200000048)
  752. o63.CFrame = CFrame.new(75, 5.61675692, -43.1999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  753. o63.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  754. o63.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  755. o63.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  756. o63.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  757. o63.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  758. o63.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  759. o63.Color = Color3.new(0.388235, 0.372549, 0.384314)
  760. o63.Position = Vector3.new(75, 5.61675692, -43.1999969)
  761. o64.Name = "Button"
  762. o64.Parent = o1
  763. o64.BrickColor = BrickColor.new("Bright red")
  764. o64.Position = Vector3.new(74.8000031, 5.61675692, -43.1999969)
  765. o64.Rotation = Vector3.new(4.1578776e-008, -90, 0)
  766. o64.Anchored = true
  767. o64.FormFactor = Enum.FormFactor.Custom
  768. o64.Size = Vector3.new(2.0999999, 2.59999919, 0.200000048)
  769. o64.CFrame = CFrame.new(74.8000031, 5.61675692, -43.1999969, -4.37113883e-008, -2.82302426e-009, -1, -7.25686511e-010, 1, -2.82302426e-009, 1, 7.256864e-010, -4.37113883e-008)
  770. o64.BottomSurface = Enum.SurfaceType.Smooth
  771. o64.TopSurface = Enum.SurfaceType.Smooth
  772. o64.Color = Color3.new(0.768628, 0.156863, 0.109804)
  773. o64.Position = Vector3.new(74.8000031, 5.61675692, -43.1999969)
  774. o65.Parent = o64
  775. o66.Parent = o64
  776. o66.SoundId = "http://roblox.com/asset?id=188088048"
  777. o66.Volume = 1
  778. o66.Looped = true
  779. o67.Name = "Boom"
  780. o67.Parent = o64
  781. o67.Pitch = 0.69999998807907
  782. o67.SoundId = "http://roblox.com/asset?id=165969964"
  783. o67.Volume = 1
  784. o68.Name = "Siren"
  785. o68.Parent = o64
  786. o68.SoundId = "rbxassetid://370475890"
  787. o68.Volume = 3
  788. o68.Looped = true
  789. o69.Name = "SmallBoom"
  790. o69.Parent = o64
  791. o69.SoundId = "http://roblox.com/asset?id=180120107"
  792. o70.Name = "BerezaaGamesNuclearScript"
  793. o70.Parent = o1
  794. table.insert(cors,coroutine.create(function()
  795. wait()
  796. runDummyScript(function()
  797. -- Fun nuke by berezaa
  798. -- Credit to FriendlyBiscuit/eric for uploading the loopable alarm sound for me
  799.  
  800. wait(1)
  801.  
  802. script.Parent.Missle.Base.Anchored = true
  803.  
  804. debounce = false
  805.  
  806. script.Parent.Button.ClickDetector.MouseClick:connect(function()
  807.     if debounce == false then
  808.         debounce = true
  809.         script.Parent.Button.Sound:Play()
  810.        
  811.         local siren = script.Parent.Button.Siren
  812.         siren.Parent = workspace
  813.         siren:Play()
  814.        
  815.         coroutine.resume(coroutine.create(function()
  816.             local lights = script.Parent.Lights:GetChildren()
  817.             for i=1,100 do
  818.                 for i,v in pairs(lights) do
  819.                     v.SpotLight.Enabled = true
  820.                 end
  821.                 wait(0.54)
  822.                 for i,v in pairs(lights) do
  823.                     v.SpotLight.Enabled = false
  824.                 end
  825.                 wait(0.54)         
  826.             end
  827.         end))
  828.        
  829.         wait(2)
  830.        
  831.         script.Parent.Missle.Base.Fire.Enabled = true
  832.         script.Parent.Missle.Base.Smoke.Enabled = true
  833.        
  834.         wait(3)
  835.        
  836.         script.Parent.Missle.PrimaryPart = script.Parent.Missle.Base   
  837.         for i=1,320 do
  838.             script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()+Vector3.new(0,0.05*((1.1^(i/5))/3),0))
  839.             wait()
  840.         end
  841.         wait()
  842.         for i=1,100 do
  843.             script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()+Vector3.new(0,0.05*(1.1^((250-i)/5)/3),0))
  844.                 script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()*CFrame.Angles(0,math.pi/100,0))
  845.                 script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()+Vector3.new(0,0,-i/100)) 
  846.             wait()
  847.         end
  848.         wait()
  849.         for i=200,120,-1 do
  850.             script.Parent.Missle:SetPrimaryPartCFrame(script.Parent.Missle:GetPrimaryPartCFrame()-Vector3.new(0,0.1*((1.1^(i/2.95))/4),0))
  851.             wait()
  852.         end
  853.        
  854.         script.Parent.Missle.Tip.Transparency = 0.5
  855.         script.Parent.Missle.Tip.CanCollide = false
  856.         script.Parent.Missle.Tip.Mesh.Scale = Vector3.new(1,1,1)
  857.         local boom = script.Parent.Button.Boom
  858.         boom.Parent=workspace
  859.         boom:Play()
  860.         local frame = script.Parent.Missle.Tip.CFrame
  861.        
  862.         script.Parent.Missle.Tip.Boom.Disabled = false 
  863.        
  864.         for i=1,400 do
  865.             script.Parent.Missle.Tip.Size=script.Parent.Missle.Tip.Size+Vector3.new(3,3,3)
  866.             script.Parent.Missle.Tip.CFrame=frame
  867.             wait()
  868.         end
  869.         script.Parent.Missle.Tip.Boom.Disabled=true
  870.         script.Parent.Missle:Destroy()
  871.         siren:Stop()
  872.         boom:Stop()
  873.        
  874.        
  875.     end
  876. end)
  877. end,o70)
  878. end))
  879. mas.Parent = workspace
  880. mas:MakeJoints()
  881. local mas1 = mas:GetChildren()
  882. for i=1,#mas1 do
  883.     mas1[i].Parent = workspace
  884.     ypcall(function() mas1[i]:MakeJoints() end)
  885. end
  886. mas:Destroy()
  887. for i=1,#cors do
  888. coroutine.resume(cors[i])
  889. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement