Advertisement
firebudgy

Nuke2

Jan 20th, 2018
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. Model1 = Instance.new("Model")
  21. Part2 = Instance.new("Part")
  22. TrussPart3 = Instance.new("TrussPart")
  23. WedgePart4 = Instance.new("WedgePart")
  24. Part5 = Instance.new("Part")
  25. Part6 = Instance.new("Part")
  26. Part7 = Instance.new("Part")
  27. Part8 = Instance.new("Part")
  28. BodyVelocity9 = Instance.new("BodyVelocity")
  29. BodyGyro10 = Instance.new("BodyGyro")
  30. Smoke11 = Instance.new("Smoke")
  31. Script12 = Instance.new("Script")
  32. Part13 = Instance.new("Part")
  33. SpecialMesh14 = Instance.new("SpecialMesh")
  34. Fire15 = Instance.new("Fire")
  35. Part16 = Instance.new("Part")
  36. Part17 = Instance.new("Part")
  37. TrussPart18 = Instance.new("TrussPart")
  38. Part19 = Instance.new("Part")
  39. Part20 = Instance.new("Part")
  40. Part21 = Instance.new("Part")
  41. Part22 = Instance.new("Part")
  42. WedgePart23 = Instance.new("WedgePart")
  43. Part24 = Instance.new("Part")
  44. Script25 = Instance.new("Script")
  45. WedgePart26 = Instance.new("WedgePart")
  46. WedgePart27 = Instance.new("WedgePart")
  47. WedgePart28 = Instance.new("WedgePart")
  48. Part29 = Instance.new("Part")
  49. Part30 = Instance.new("Part")
  50. ClickDetector31 = Instance.new("ClickDetector")
  51. Decal32 = Instance.new("Decal")
  52. Part33 = Instance.new("Part")
  53. Part34 = Instance.new("Part")
  54. WedgePart35 = Instance.new("WedgePart")
  55. Part36 = Instance.new("Part")
  56. Part37 = Instance.new("Part")
  57. Part38 = Instance.new("Part")
  58. TrussPart39 = Instance.new("TrussPart")
  59. TrussPart40 = Instance.new("TrussPart")
  60. Part41 = Instance.new("Part")
  61. Script42 = Instance.new("Script")
  62. Script43 = Instance.new("Script")
  63. NumberValue44 = Instance.new("NumberValue")
  64. NumberValue45 = Instance.new("NumberValue")
  65. Color3Value46 = Instance.new("Color3Value")
  66. Script47 = Instance.new("Script")
  67. SpecialMesh48 = Instance.new("SpecialMesh")
  68. WedgePart49 = Instance.new("WedgePart")
  69. WedgePart50 = Instance.new("WedgePart")
  70. WedgePart51 = Instance.new("WedgePart")
  71. WedgePart52 = Instance.new("WedgePart")
  72. Part53 = Instance.new("Part")
  73. ClickDetector54 = Instance.new("ClickDetector")
  74. Script55 = Instance.new("Script")
  75. Model0.Parent = mas
  76. Model1.Name = "Rocket"
  77. Model1.Parent = Model0
  78. Part2.Parent = Model1
  79. Part2.BrickColor = BrickColor.new("Black")
  80. Part2.Transparency = 0.69999998807907
  81. Part2.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  82. Part2.Velocity = Vector3.new(-0.00267663295, 0.425875962, 0.0441063605)
  83. Part2.FormFactor = Enum.FormFactor.Plate
  84. Part2.Size = Vector3.new(8, 0.400000006, 8)
  85. Part2.CFrame = CFrame.new(-41, 3.00990033, 10, 1, 9.26153803e-08, -3.37990496e-05, -9.26159203e-08, 1, -1.60410956e-08, 3.37990496e-05, 1.60442255e-08, 1)
  86. Part2.BackSurface = Enum.SurfaceType.Weld
  87. Part2.BottomSurface = Enum.SurfaceType.Weld
  88. Part2.FrontSurface = Enum.SurfaceType.Weld
  89. Part2.LeftSurface = Enum.SurfaceType.Weld
  90. Part2.RightSurface = Enum.SurfaceType.Weld
  91. Part2.TopSurface = Enum.SurfaceType.Smooth
  92. Part2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  93. Part2.Position = Vector3.new(-41, 3.00990033, 10)
  94. Part2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  95. TrussPart3.Parent = Model1
  96. TrussPart3.BrickColor = BrickColor.new("Bright red")
  97. TrussPart3.Rotation = Vector3.new(-180, 0, -180)
  98. TrussPart3.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  99. TrussPart3.Velocity = Vector3.new(-0.00285695074, 0.0915016532, -0.0359606445)
  100. TrussPart3.CFrame = CFrame.new(-36.0001678, 1.80989933, 15.0001612, -1, 9.26153803e-08, 3.37990496e-05, 9.26159203e-08, 1, 1.60410956e-08, -3.37990496e-05, 1.60442255e-08, -1)
  101. TrussPart3.BackSurface = Enum.SurfaceType.Smooth
  102. TrussPart3.BottomSurface = Enum.SurfaceType.Weld
  103. TrussPart3.FrontSurface = Enum.SurfaceType.Smooth
  104. TrussPart3.LeftSurface = Enum.SurfaceType.Smooth
  105. TrussPart3.RightSurface = Enum.SurfaceType.Smooth
  106. TrussPart3.TopSurface = Enum.SurfaceType.Weld
  107. TrussPart3.Color = Color3.new(0.768628, 0.156863, 0.109804)
  108. TrussPart3.Position = Vector3.new(-36.0001678, 1.80989933, 15.0001612)
  109. TrussPart3.Orientation = Vector3.new(0, 180, 0)
  110. TrussPart3.Color = Color3.new(0.768628, 0.156863, 0.109804)
  111. WedgePart4.Parent = Model1
  112. WedgePart4.BrickColor = BrickColor.new("Bright red")
  113. WedgePart4.Rotation = Vector3.new(0, -90, 0)
  114. WedgePart4.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  115. WedgePart4.Velocity = Vector3.new(-6.38514757e-06, 0.823696196, 0.522488594)
  116. WedgePart4.FormFactor = Enum.FormFactor.Symmetric
  117. WedgePart4.Size = Vector3.new(2, 10, 2)
  118. WedgePart4.CFrame = CFrame.new(-39.000576, 10.2113647, 4.00013924, -5.01852774e-05, -6.97836322e-06, -1.00000119, -4.46226841e-06, 1, -6.97812766e-06, 0.999990821, 4.46191098e-06, -5.01835311e-05)
  119. WedgePart4.BackSurface = Enum.SurfaceType.Weld
  120. WedgePart4.BottomSurface = Enum.SurfaceType.Weld
  121. WedgePart4.Color = Color3.new(0.768628, 0.156863, 0.109804)
  122. WedgePart4.Position = Vector3.new(-39.000576, 10.2113647, 4.00013924)
  123. WedgePart4.Orientation = Vector3.new(0, -90, 0)
  124. WedgePart4.Color = Color3.new(0.768628, 0.156863, 0.109804)
  125. Part5.Parent = Model1
  126. Part5.Material = Enum.Material.DiamondPlate
  127. Part5.Rotation = Vector3.new(0, 90, 0)
  128. Part5.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  129. Part5.Velocity = Vector3.new(-0.00369880861, 0.425875992, -0.115366057)
  130. Part5.FormFactor = Enum.FormFactor.Plate
  131. Part5.Size = Vector3.new(12, 0.400000006, 12)
  132. Part5.CFrame = CFrame.new(-41, 0.609899998, 10, 3.37990496e-05, 9.26153803e-08, 1, 1.60410956e-08, 1, -9.26159203e-08, -1, 1.60442255e-08, 3.37990496e-05)
  133. Part5.BottomSurface = Enum.SurfaceType.Weld
  134. Part5.RightSurface = Enum.SurfaceType.Weld
  135. Part5.TopSurface = Enum.SurfaceType.Smooth
  136. Part5.Position = Vector3.new(-41, 0.609899998, 10)
  137. Part5.Orientation = Vector3.new(0, 90, 0)
  138. Part6.Name = "t2"
  139. Part6.Parent = Model1
  140. Part6.BrickColor = BrickColor.new("Bright red")
  141. Part6.Rotation = Vector3.new(180, -0.00999999978, -180)
  142. Part6.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  143. Part6.Velocity = Vector3.new(-0.000219981201, 0.824565113, 0.489299893)
  144. Part6.CanCollide = false
  145. Part6.FormFactor = Enum.FormFactor.Symmetric
  146. Part6.Size = Vector3.new(2, 1, 2)
  147. Part6.CFrame = CFrame.new(-41.0000534, 9.70989609, 3.99987793, -1.00000072, 8.09150606e-07, -0.000216320856, 8.09758149e-07, 1, -2.79951041e-06, 0.000216320273, -2.79964979e-06, -0.999994338)
  148. Part6.BottomSurface = Enum.SurfaceType.Smooth
  149. Part6.FrontSurface = Enum.SurfaceType.Weld
  150. Part6.LeftSurface = Enum.SurfaceType.Weld
  151. Part6.RightSurface = Enum.SurfaceType.Weld
  152. Part6.TopSurface = Enum.SurfaceType.Smooth
  153. Part6.Color = Color3.new(0.768628, 0.156863, 0.109804)
  154. Part6.Position = Vector3.new(-41.0000534, 9.70989609, 3.99987793)
  155. Part6.Orientation = Vector3.new(0, -179.98999, 0)
  156. Part6.Color = Color3.new(0.768628, 0.156863, 0.109804)
  157. Part7.Parent = Model1
  158. Part7.Material = Enum.Material.DiamondPlate
  159. Part7.Rotation = Vector3.new(0.140000001, 90, 0)
  160. Part7.FormFactor = Enum.FormFactor.Plate
  161. Part7.Size = Vector3.new(12, 0.400000006, 12)
  162. Part7.CFrame = CFrame.new(-40.9999886, 0.215040997, 9.9991684, 3.30533985e-05, -2.09443278e-05, 1, 0.00248601264, 0.999996901, 2.08620932e-05, -0.99999696, 0.00248601171, 3.31053634e-05)
  163. Part7.BottomSurface = Enum.SurfaceType.Weld
  164. Part7.RightSurface = Enum.SurfaceType.Weld
  165. Part7.TopSurface = Enum.SurfaceType.Hinge
  166. Part7.Position = Vector3.new(-40.9999886, 0.215040997, 9.9991684)
  167. Part7.Orientation = Vector3.new(0, 90, 0.140000001)
  168. Part8.Name = "engine"
  169. Part8.Parent = Model1
  170. Part8.BrickColor = BrickColor.new("Bright blue")
  171. Part8.Transparency = 0.40000000596046
  172. Part8.Rotation = Vector3.new(90, 0, -180)
  173. Part8.FormFactor = Enum.FormFactor.Symmetric
  174. Part8.Size = Vector3.new(2, 2, 21)
  175. Part8.CFrame = CFrame.new(-40.9999924, 14.7098856, 10.0000038, -1.00000465, 3.38048267e-05, -9.24340497e-08, 9.24529004e-08, 1.62588911e-08, -1, -3.37865495e-05, -0.999994218, -1.62309952e-08)
  176. Part8.BackSurface = Enum.SurfaceType.Weld
  177. Part8.BottomSurface = Enum.SurfaceType.Smooth
  178. Part8.FrontSurface = Enum.SurfaceType.Weld
  179. Part8.TopSurface = Enum.SurfaceType.Smooth
  180. Part8.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  181. Part8.Position = Vector3.new(-40.9999924, 14.7098856, 10.0000038)
  182. Part8.Orientation = Vector3.new(90, 180, 0)
  183. Part8.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  184. BodyVelocity9.Parent = Part8
  185. BodyVelocity9.Velocity = Vector3.new(15.9704123, 7.1182394, 46.8431053)
  186. BodyVelocity9.P = 1000
  187. BodyVelocity9.velocity = Vector3.new(15.9704123, 7.1182394, 46.8431053)
  188. BodyGyro10.Parent = Part8
  189. BodyGyro10.CFrame = CFrame.new(-25.0001373, 10.0000095, -82.9999924, -1, 7.43850433e-06, -1.42296051e-06, 1.42288923e-06, -2.69335874e-06, -1, -7.43837336e-06, -1, 2.69324187e-06)
  190. BodyGyro10.maxTorque = Vector3.new(0, 0, 0)
  191. BodyGyro10.P = 1000
  192. BodyGyro10.D = 1000
  193. BodyGyro10.MaxTorque = Vector3.new(0, 0, 0)
  194. Smoke11.Parent = Part8
  195. Smoke11.Size = 0.30000001192093
  196. Smoke11.RiseVelocity = 0
  197. Script12.Parent = Part8
  198. table.insert(cors,sandbox(Script12,function()
  199. --Robug labs 2010--
  200.  
  201. engine = script.Parent
  202. Rocket = engine.Parent
  203.  
  204. bv = engine.BodyVelocity
  205. bg = engine.BodyGyro
  206. bg.cframe = engine.CFrame
  207. click = Rocket.D.ClickDetector
  208.  
  209. Click_Con = nil
  210. Flying = false
  211.  
  212. bg.maxTorque = Vector3.new(0,0,0)
  213. bv.maxForce = Vector3.new(0,0,0)
  214.  
  215. Click_Con = click.MouseClick:connect(function()
  216. print("so far so good...")
  217. if Flying == false then
  218. print("flying was false...")
  219. Flying = true
  220. Rocket.t1:BreakJoints()
  221. Rocket.t2:BreakJoints()
  222. bg.maxTorque = Vector3.new(3e+005,3e+005,3e+005)
  223. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  224. bg.cframe = engine.CFrame
  225. print("Looks good")
  226.  
  227.  
  228. else
  229. print("You alreday pushed the nuke button!")
  230. end
  231. end)
  232.  
  233. while true do
  234. wait()
  235. if Flying == true then
  236. bv.velocity = engine.CFrame.lookVector * 25
  237. bg.cframe = bg.cframe * CFrame.fromEulerAnglesXYZ((math.rad(-.6)),0,0)
  238. end
  239. end
  240.  
  241. end))
  242. Part13.Name = "Brick"
  243. Part13.Parent = Model1
  244. Part13.BrickColor = BrickColor.new("Really black")
  245. Part13.FormFactor = Enum.FormFactor.Plate
  246. Part13.Size = Vector3.new(8, 0.400000006, 8)
  247. Part13.CFrame = CFrame.new(-41, 3.40991807, 10, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  248. Part13.BottomSurface = Enum.SurfaceType.Smooth
  249. Part13.TopSurface = Enum.SurfaceType.Smooth
  250. Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  251. Part13.Position = Vector3.new(-41, 3.40991807, 10)
  252. Part13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  253. SpecialMesh14.Parent = Part13
  254. SpecialMesh14.MeshId = "http://www.roblox.com/asset/?id=1038653"
  255. SpecialMesh14.Scale = Vector3.new(5, 6, 5)
  256. SpecialMesh14.TextureId = "http://www.roblox.com/asset/?id=1038654"
  257. SpecialMesh14.MeshType = Enum.MeshType.FileMesh
  258. SpecialMesh14.Scale = Vector3.new(5, 6, 5)
  259. Fire15.Parent = Part13
  260. Fire15.Size = 6
  261. Fire15.Color = Color3.new(1, 0.509804, 0)
  262. Fire15.Heat = -20
  263. Fire15.SecondaryColor = Color3.new(1, 0, 0)
  264. Fire15.Color = Color3.new(1, 0.509804, 0)
  265. Part16.Parent = Model1
  266. Part16.Material = Enum.Material.DiamondPlate
  267. Part16.Rotation = Vector3.new(0, 90, 0)
  268. Part16.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  269. Part16.Velocity = Vector3.new(-0.00261047063, 0.357288897, 0.0437755696)
  270. Part16.FormFactor = Enum.FormFactor.Plate
  271. Part16.Size = Vector3.new(10, 0.400000006, 2)
  272. Part16.CFrame = CFrame.new(-36.0000343, 3.00989985, 11.0001612, 3.37990496e-05, 9.26153803e-08, 1, 1.60410956e-08, 1, -9.26159203e-08, -1, 1.60442255e-08, 3.37990496e-05)
  273. Part16.BottomSurface = Enum.SurfaceType.Weld
  274. Part16.RightSurface = Enum.SurfaceType.Weld
  275. Part16.TopSurface = Enum.SurfaceType.Smooth
  276. Part16.Position = Vector3.new(-36.0000343, 3.00989985, 11.0001612)
  277. Part16.Orientation = Vector3.new(0, 90, 0)
  278. Part17.Parent = Model1
  279. Part17.Material = Enum.Material.DiamondPlate
  280. Part17.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  281. Part17.Velocity = Vector3.new(-0.00234587537, 0.0940700471, 0.0441725254)
  282. Part17.FormFactor = Enum.FormFactor.Plate
  283. Part17.Size = Vector3.new(10, 0.400000006, 2)
  284. Part17.CFrame = CFrame.new(-42.0001678, 3.00990033, 14.9999657, 1, 9.26153803e-08, -3.37990496e-05, -9.26159203e-08, 1, -1.60410956e-08, 3.37990496e-05, 1.60442255e-08, 1)
  285. Part17.BottomSurface = Enum.SurfaceType.Weld
  286. Part17.RightSurface = Enum.SurfaceType.Weld
  287. Part17.TopSurface = Enum.SurfaceType.Smooth
  288. Part17.Position = Vector3.new(-42.0001678, 3.00990033, 14.9999657)
  289. TrussPart18.Parent = Model1
  290. TrussPart18.BrickColor = BrickColor.new("Bright red")
  291. TrussPart18.Rotation = Vector3.new(-180, 0, -180)
  292. TrussPart18.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  293. TrussPart18.Velocity = Vector3.new(-0.00285697216, 0.0957826674, -0.0352990851)
  294. TrussPart18.CFrame = CFrame.new(-46.0001678, 1.80990005, 14.9998312, -1, 9.26153803e-08, 3.37990496e-05, 9.26159203e-08, 1, 1.60410956e-08, -3.37990496e-05, 1.60442255e-08, -1)
  295. TrussPart18.BackSurface = Enum.SurfaceType.Smooth
  296. TrussPart18.BottomSurface = Enum.SurfaceType.Weld
  297. TrussPart18.FrontSurface = Enum.SurfaceType.Smooth
  298. TrussPart18.LeftSurface = Enum.SurfaceType.Smooth
  299. TrussPart18.RightSurface = Enum.SurfaceType.Smooth
  300. TrussPart18.TopSurface = Enum.SurfaceType.Weld
  301. TrussPart18.Color = Color3.new(0.768628, 0.156863, 0.109804)
  302. TrussPart18.Position = Vector3.new(-46.0001678, 1.80990005, 14.9998312)
  303. TrussPart18.Orientation = Vector3.new(0, 180, 0)
  304. TrussPart18.Color = Color3.new(0.768628, 0.156863, 0.109804)
  305. Part19.Parent = Model1
  306. Part19.BrickColor = BrickColor.new("Really black")
  307. Part19.Rotation = Vector3.new(0, -90, 0)
  308. Part19.FormFactor = Enum.FormFactor.Symmetric
  309. Part19.Size = Vector3.new(2, 20, 1)
  310. Part19.CFrame = CFrame.new(-38.4999466, 14.4098873, 10.0001249, -3.38756945e-05, 9.20490493e-08, -1.00000942, -1.66729173e-08, 1, 9.20854291e-08, 0.999988496, 1.66143277e-08, -3.38391401e-05)
  311. Part19.BottomSurface = Enum.SurfaceType.Weld
  312. Part19.TopSurface = Enum.SurfaceType.Weld
  313. Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  314. Part19.Position = Vector3.new(-38.4999466, 14.4098873, 10.0001249)
  315. Part19.Orientation = Vector3.new(0, -90, 0)
  316. Part19.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  317. Part20.Parent = Model1
  318. Part20.BrickColor = BrickColor.new("Institutional white")
  319. Part20.Rotation = Vector3.new(180, -0.0399999991, 180)
  320. Part20.FormFactor = Enum.FormFactor.Symmetric
  321. Part20.Size = Vector3.new(2, 19, 1)
  322. Part20.CFrame = CFrame.new(-40.9991455, 14.1098766, 12.5000286, -1.00000429, -6.71118926e-07, -0.000755837886, -6.68788061e-07, 1, -3.05520371e-06, 0.000755848014, -3.05471053e-06, -0.99999392)
  323. Part20.BottomSurface = Enum.SurfaceType.Weld
  324. Part20.TopSurface = Enum.SurfaceType.Weld
  325. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  326. Part20.Position = Vector3.new(-40.9991455, 14.1098766, 12.5000286)
  327. Part20.Orientation = Vector3.new(0, -179.959991, 0)
  328. Part20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  329. Part21.Parent = Model1
  330. Part21.BrickColor = BrickColor.new("Institutional white")
  331. Part21.Rotation = Vector3.new(0, 0.00999999978, 0)
  332. Part21.FormFactor = Enum.FormFactor.Symmetric
  333. Part21.Size = Vector3.new(2, 19, 1)
  334. Part21.CFrame = CFrame.new(-41.000042, 14.1098862, 7.50009251, 1.00000918, 1.16255444e-06, 8.7364635e-05, -1.16282035e-06, 1, 2.73775072e-06, -8.73986282e-05, -2.73788282e-06, 0.999988377)
  335. Part21.BottomSurface = Enum.SurfaceType.Weld
  336. Part21.TopSurface = Enum.SurfaceType.Weld
  337. Part21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  338. Part21.Position = Vector3.new(-41.000042, 14.1098862, 7.50009251)
  339. Part21.Orientation = Vector3.new(0, 0.00999999978, 0)
  340. Part21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  341. Part22.Parent = Model1
  342. Part22.BrickColor = BrickColor.new("Really black")
  343. Part22.Rotation = Vector3.new(0, 90, 0)
  344. Part22.FormFactor = Enum.FormFactor.Symmetric
  345. Part22.Size = Vector3.new(2, 20, 1)
  346. Part22.CFrame = CFrame.new(-43.5000496, 14.4098797, 9.99988747, 3.38641403e-05, 9.2395112e-08, 1.00000465, 1.63125922e-08, 1, -9.24137566e-08, -0.999994278, 1.62849751e-08, 3.38459213e-05)
  347. Part22.BottomSurface = Enum.SurfaceType.Weld
  348. Part22.TopSurface = Enum.SurfaceType.Weld
  349. Part22.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  350. Part22.Position = Vector3.new(-43.5000496, 14.4098797, 9.99988747)
  351. Part22.Orientation = Vector3.new(0, 90, 0)
  352. Part22.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  353. WedgePart23.Parent = Model1
  354. WedgePart23.BrickColor = BrickColor.new("Institutional white")
  355. WedgePart23.Rotation = Vector3.new(0, 90, 0)
  356. WedgePart23.CanCollide = false
  357. WedgePart23.FormFactor = Enum.FormFactor.Symmetric
  358. WedgePart23.Size = Vector3.new(2, 13, 2)
  359. WedgePart23.CFrame = CFrame.new(-43.000885, 30.9099731, 10.0009737, -0.000461997028, -7.49052333e-06, 1.00000453, 4.21488312e-06, 1, 7.49241781e-06, -0.999994099, 4.21828918e-06, -0.000462010066)
  360. WedgePart23.BackSurface = Enum.SurfaceType.Weld
  361. WedgePart23.BottomSurface = Enum.SurfaceType.Weld
  362. WedgePart23.Color = Color3.new(0.972549, 0.972549, 0.972549)
  363. WedgePart23.Position = Vector3.new(-43.000885, 30.9099731, 10.0009737)
  364. WedgePart23.Orientation = Vector3.new(0, 90.0299988, 0)
  365. WedgePart23.Color = Color3.new(0.972549, 0.972549, 0.972549)
  366. Part24.Parent = Model1
  367. Part24.BrickColor = BrickColor.new("Black")
  368. Part24.Rotation = Vector3.new(-180, 0, -180)
  369. Part24.CanCollide = false
  370. Part24.FormFactor = Enum.FormFactor.Symmetric
  371. Part24.Size = Vector3.new(2, 13, 2)
  372. Part24.CFrame = CFrame.new(-40.9999924, 31.7098885, 10.0000038, -1.00000465, 9.24161725e-08, 3.38234568e-05, 9.24350232e-08, 1, 1.62277747e-08, -3.38051796e-05, 1.61998805e-08, -0.999994218)
  373. Part24.BottomSurface = Enum.SurfaceType.Weld
  374. Part24.TopSurface = Enum.SurfaceType.Weld
  375. Part24.Color = Color3.new(0.105882, 0.164706, 0.207843)
  376. Part24.Position = Vector3.new(-40.9999924, 31.7098885, 10.0000038)
  377. Part24.Orientation = Vector3.new(0, 180, 0)
  378. Part24.Color = Color3.new(0.105882, 0.164706, 0.207843)
  379. Script25.Name = "Stop"
  380. Script25.Parent = Part24
  381. table.insert(cors,sandbox(Script25,function()
  382. function onTouched(hit)
  383. script.Parent.Parent.engine:Remove()
  384. end
  385.  
  386. script.Parent.Touched:connect(onTouched)
  387. end))
  388. WedgePart26.Parent = Model1
  389. WedgePart26.BrickColor = BrickColor.new("Really black")
  390. WedgePart26.Rotation = Vector3.new(180, -0.0399999991, 180)
  391. WedgePart26.CanCollide = false
  392. WedgePart26.FormFactor = Enum.FormFactor.Symmetric
  393. WedgePart26.Size = Vector3.new(2, 13, 2)
  394. WedgePart26.CFrame = CFrame.new(-40.999588, 30.1099548, 11.9998598, -1.00000441, -2.15997886e-07, -0.000654086005, -2.13930406e-07, 1, -3.13080432e-06, 0.000654097181, -3.13067653e-06, -0.99999398)
  395. WedgePart26.BackSurface = Enum.SurfaceType.Weld
  396. WedgePart26.BottomSurface = Enum.SurfaceType.Weld
  397. WedgePart26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  398. WedgePart26.Position = Vector3.new(-40.999588, 30.1099548, 11.9998598)
  399. WedgePart26.Orientation = Vector3.new(0, -179.959991, 0)
  400. WedgePart26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  401. WedgePart27.Parent = Model1
  402. WedgePart27.BrickColor = BrickColor.new("Institutional white")
  403. WedgePart27.Rotation = Vector3.new(0, -90, 0)
  404. WedgePart27.CanCollide = false
  405. WedgePart27.FormFactor = Enum.FormFactor.Symmetric
  406. WedgePart27.Size = Vector3.new(2, 13, 2)
  407. WedgePart27.CFrame = CFrame.new(-39.0007248, 30.9099197, 9.9988966, 0.00038842918, -7.99129884e-06, -1.00000465, -2.97440261e-06, 1, -7.99239842e-06, 0.999994159, 2.97745919e-06, 0.000388443004)
  408. WedgePart27.BackSurface = Enum.SurfaceType.Weld
  409. WedgePart27.BottomSurface = Enum.SurfaceType.Weld
  410. WedgePart27.Color = Color3.new(0.972549, 0.972549, 0.972549)
  411. WedgePart27.Position = Vector3.new(-39.0007248, 30.9099197, 9.9988966)
  412. WedgePart27.Orientation = Vector3.new(0, -89.9799957, 0)
  413. WedgePart27.Color = Color3.new(0.972549, 0.972549, 0.972549)
  414. WedgePart28.Parent = Model1
  415. WedgePart28.BrickColor = BrickColor.new("Really black")
  416. WedgePart28.Rotation = Vector3.new(0, 0.0399999991, 0)
  417. WedgePart28.CanCollide = false
  418. WedgePart28.FormFactor = Enum.FormFactor.Symmetric
  419. WedgePart28.Size = Vector3.new(2, 14, 2)
  420. WedgePart28.CFrame = CFrame.new(-41.0015526, 30.6099319, 8.00010395, 1.00000441, -1.74519414e-07, 0.00064094906, 1.72497764e-07, 1, 3.12374868e-06, -0.000640960294, -3.12365046e-06, 0.99999398)
  421. WedgePart28.BackSurface = Enum.SurfaceType.Weld
  422. WedgePart28.BottomSurface = Enum.SurfaceType.Weld
  423. WedgePart28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  424. WedgePart28.Position = Vector3.new(-41.0015526, 30.6099319, 8.00010395)
  425. WedgePart28.Orientation = Vector3.new(0, 0.0399999991, 0)
  426. WedgePart28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  427. Part29.Parent = Model1
  428. Part29.Material = Enum.Material.DiamondPlate
  429. Part29.Rotation = Vector3.new(-90, 0, 0)
  430. Part29.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  431. Part29.Velocity = Vector3.new(-0.00242888695, 0.90471971, 0.157132119)
  432. Part29.FormFactor = Enum.FormFactor.Plate
  433. Part29.Size = Vector3.new(2, 0.400000006, 1)
  434. Part29.CFrame = CFrame.new(-41.9997597, 4.70990038, 2.79998922, 1, 3.37990496e-05, 9.26153803e-08, -9.26159203e-08, 1.60812963e-08, 1, 3.37990496e-05, -1, 1.60844262e-08)
  435. Part29.BottomSurface = Enum.SurfaceType.Weld
  436. Part29.RightSurface = Enum.SurfaceType.Weld
  437. Part29.TopSurface = Enum.SurfaceType.Smooth
  438. Part29.Position = Vector3.new(-41.9997597, 4.70990038, 2.79998922)
  439. Part29.Orientation = Vector3.new(-90, 0, 0)
  440. Part30.Name = "D"
  441. Part30.Parent = Model1
  442. Part30.BrickColor = BrickColor.new("Bright green")
  443. Part30.Rotation = Vector3.new(-90, 0, 0)
  444. Part30.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  445. Part30.Velocity = Vector3.new(-0.00200233795, 0.903638542, 0.223511249)
  446. Part30.FormFactor = Enum.FormFactor.Plate
  447. Part30.Size = Vector3.new(1, 0.400000006, 1)
  448. Part30.CFrame = CFrame.new(-39.5005226, 5.71136951, 2.80024147, 1.00000155, 8.44342503e-06, 1.81298765e-06, -1.81301675e-06, 3.34674633e-06, 1, 8.44148235e-06, -0.999986708, 3.34676565e-06)
  449. Part30.BottomSurface = Enum.SurfaceType.Weld
  450. Part30.RightSurface = Enum.SurfaceType.Weld
  451. Part30.TopSurface = Enum.SurfaceType.Smooth
  452. Part30.Color = Color3.new(0.294118, 0.592157, 0.294118)
  453. Part30.Position = Vector3.new(-39.5005226, 5.71136951, 2.80024147)
  454. Part30.Orientation = Vector3.new(-90, 0, 0)
  455. Part30.Color = Color3.new(0.294118, 0.592157, 0.294118)
  456. ClickDetector31.Parent = Part30
  457. Decal32.Parent = Part30
  458. Decal32.Texture = "http://www.roblox.com/asset/?id=31608842"
  459. Decal32.Face = Enum.NormalId.Top
  460. Part33.Parent = Model1
  461. Part33.Material = Enum.Material.DiamondPlate
  462. Part33.Rotation = Vector3.new(-180, 0, -180)
  463. Part33.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  464. Part33.Velocity = Vector3.new(-0.003007391, 0.757682443, 0.0440402143)
  465. Part33.FormFactor = Enum.FormFactor.Plate
  466. Part33.Size = Vector3.new(10, 0.400000006, 2)
  467. Part33.CFrame = CFrame.new(-39.9998322, 3.00990057, 5.00002623, -1, 9.26153803e-08, 3.37990496e-05, 9.26159203e-08, 1, 1.60410956e-08, -3.37990496e-05, 1.60442255e-08, -1)
  468. Part33.BottomSurface = Enum.SurfaceType.Weld
  469. Part33.RightSurface = Enum.SurfaceType.Weld
  470. Part33.TopSurface = Enum.SurfaceType.Smooth
  471. Part33.Position = Vector3.new(-39.9998322, 3.00990057, 5.00002623)
  472. Part33.Orientation = Vector3.new(0, 180, 0)
  473. Part34.Parent = Model1
  474. Part34.BrickColor = BrickColor.new("Bright red")
  475. Part34.Rotation = Vector3.new(-180, 0, -180)
  476. Part34.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  477. Part34.Velocity = Vector3.new(-0.00256245607, 0.824555874, 0.123842552)
  478. Part34.FormFactor = Enum.FormFactor.Symmetric
  479. Part34.Size = Vector3.new(6, 2, 2)
  480. Part34.CFrame = CFrame.new(-40.9998016, 4.20990038, 4.00001526, -1, 9.26133907e-08, 3.38002828e-05, 9.26139307e-08, 1, 1.60609428e-08, -3.38002828e-05, 1.60640727e-08, -1)
  481. Part34.BottomSurface = Enum.SurfaceType.Weld
  482. Part34.TopSurface = Enum.SurfaceType.Weld
  483. Part34.Color = Color3.new(0.768628, 0.156863, 0.109804)
  484. Part34.Position = Vector3.new(-40.9998016, 4.20990038, 4.00001526)
  485. Part34.Orientation = Vector3.new(0, 180, 0)
  486. Part34.Color = Color3.new(0.768628, 0.156863, 0.109804)
  487. WedgePart35.Parent = Model1
  488. WedgePart35.BrickColor = BrickColor.new("Bright red")
  489. WedgePart35.Rotation = Vector3.new(0, 90, 0)
  490. WedgePart35.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  491. WedgePart35.Velocity = Vector3.new(-7.00866804e-06, 0.825397074, 0.522655547)
  492. WedgePart35.FormFactor = Enum.FormFactor.Symmetric
  493. WedgePart35.Size = Vector3.new(2, 10, 2)
  494. WedgePart35.CFrame = CFrame.new(-42.999897, 10.2098951, 4.00017548, 8.83470057e-05, -4.41372367e-06, 1, 3.32291893e-06, 1, 4.41342991e-06, -1, 3.32252898e-06, 8.83470275e-05)
  495. WedgePart35.BackSurface = Enum.SurfaceType.Weld
  496. WedgePart35.BottomSurface = Enum.SurfaceType.Weld
  497. WedgePart35.Color = Color3.new(0.768628, 0.156863, 0.109804)
  498. WedgePart35.Position = Vector3.new(-42.999897, 10.2098951, 4.00017548)
  499. WedgePart35.Orientation = Vector3.new(0, 89.9899979, 0)
  500. WedgePart35.Color = Color3.new(0.768628, 0.156863, 0.109804)
  501. Part36.Name = "t1"
  502. Part36.Parent = Model1
  503. Part36.BrickColor = BrickColor.new("Bright red")
  504. Part36.Rotation = Vector3.new(180, -0.00999999978, -180)
  505. Part36.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  506. Part36.Velocity = Vector3.new(0.00194263016, 0.791336834, 0.82153374)
  507. Part36.CanCollide = false
  508. Part36.FormFactor = Enum.FormFactor.Symmetric
  509. Part36.Size = Vector3.new(2, 1, 3)
  510. Part36.CFrame = CFrame.new(-41.0000687, 14.7098913, 4.49995136, -1.00000072, 1.08925906e-06, -0.000114194634, 1.08957465e-06, 1, -2.75084494e-06, 0.000114194656, -2.75093385e-06, -0.999994457)
  511. Part36.BottomSurface = Enum.SurfaceType.Smooth
  512. Part36.FrontSurface = Enum.SurfaceType.Weld
  513. Part36.LeftSurface = Enum.SurfaceType.Weld
  514. Part36.RightSurface = Enum.SurfaceType.Weld
  515. Part36.TopSurface = Enum.SurfaceType.Smooth
  516. Part36.Color = Color3.new(0.768628, 0.156863, 0.109804)
  517. Part36.Position = Vector3.new(-41.0000687, 14.7098913, 4.49995136)
  518. Part36.Orientation = Vector3.new(0, -179.98999, 0)
  519. Part36.Color = Color3.new(0.768628, 0.156863, 0.109804)
  520. Part37.Parent = Model1
  521. Part37.Material = Enum.Material.DiamondPlate
  522. Part37.Rotation = Vector3.new(0, -90, 0)
  523. Part37.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  524. Part37.Velocity = Vector3.new(-0.00274279551, 0.494463027, 0.0444371328)
  525. Part37.FormFactor = Enum.FormFactor.Plate
  526. Part37.Size = Vector3.new(10, 0.400000006, 2)
  527. Part37.CFrame = CFrame.new(-45.9999657, 3.00990057, 8.99983883, -3.37990496e-05, 9.26153803e-08, -1, -1.60410956e-08, 1, 9.26159203e-08, 1, 1.60442255e-08, -3.37990496e-05)
  528. Part37.BottomSurface = Enum.SurfaceType.Weld
  529. Part37.RightSurface = Enum.SurfaceType.Weld
  530. Part37.TopSurface = Enum.SurfaceType.Smooth
  531. Part37.Position = Vector3.new(-45.9999657, 3.00990057, 8.99983883)
  532. Part37.Orientation = Vector3.new(0, -90, 0)
  533. Part38.Parent = Model1
  534. Part38.Material = Enum.Material.DiamondPlate
  535. Part38.Rotation = Vector3.new(0, -90, 0)
  536. Part38.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  537. Part38.Velocity = Vector3.new(-0.00277993712, 0.956380665, 0.110387817)
  538. Part38.FormFactor = Enum.FormFactor.Plate
  539. Part38.Size = Vector3.new(2, 0.400000006, 1)
  540. Part38.CFrame = CFrame.new(-38.499733, 4.00990057, 2.00007677, -3.37990496e-05, 9.26153803e-08, -1, -1.60410956e-08, 1, 9.26159203e-08, 1, 1.60442255e-08, -3.37990496e-05)
  541. Part38.BottomSurface = Enum.SurfaceType.Weld
  542. Part38.RightSurface = Enum.SurfaceType.Weld
  543. Part38.TopSurface = Enum.SurfaceType.Smooth
  544. Part38.Position = Vector3.new(-38.499733, 4.00990057, 2.00007677)
  545. Part38.Orientation = Vector3.new(0, -90, 0)
  546. TrussPart39.Parent = Model1
  547. TrussPart39.BrickColor = BrickColor.new("Bright red")
  548. TrussPart39.Rotation = Vector3.new(-180, 0, -180)
  549. TrussPart39.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  550. TrussPart39.Velocity = Vector3.new(-0.0035184701, 0.755969822, -0.035960637)
  551. TrussPart39.CFrame = CFrame.new(-35.9998322, 1.80989981, 5.00016117, -1, 9.26153803e-08, 3.37990496e-05, 9.26159203e-08, 1, 1.60410956e-08, -3.37990496e-05, 1.60442255e-08, -1)
  552. TrussPart39.BackSurface = Enum.SurfaceType.Smooth
  553. TrussPart39.BottomSurface = Enum.SurfaceType.Weld
  554. TrussPart39.FrontSurface = Enum.SurfaceType.Smooth
  555. TrussPart39.LeftSurface = Enum.SurfaceType.Smooth
  556. TrussPart39.RightSurface = Enum.SurfaceType.Smooth
  557. TrussPart39.TopSurface = Enum.SurfaceType.Weld
  558. TrussPart39.Color = Color3.new(0.768628, 0.156863, 0.109804)
  559. TrussPart39.Position = Vector3.new(-35.9998322, 1.80989981, 5.00016117)
  560. TrussPart39.Orientation = Vector3.new(0, 180, 0)
  561. TrussPart39.Color = Color3.new(0.768628, 0.156863, 0.109804)
  562. TrussPart40.Parent = Model1
  563. TrussPart40.BrickColor = BrickColor.new("Bright red")
  564. TrussPart40.Rotation = Vector3.new(-180, 0, -180)
  565. TrussPart40.RotVelocity = Vector3.new(0.0664468333, 6.61519516e-05, -0.000425906503)
  566. TrussPart40.Velocity = Vector3.new(-0.00351849152, 0.760250807, -0.0352990627)
  567. TrussPart40.CFrame = CFrame.new(-45.9998322, 1.80990076, 4.9998312, -1, 9.26153803e-08, 3.37990496e-05, 9.26159203e-08, 1, 1.60410956e-08, -3.37990496e-05, 1.60442255e-08, -1)
  568. TrussPart40.BackSurface = Enum.SurfaceType.Smooth
  569. TrussPart40.BottomSurface = Enum.SurfaceType.Weld
  570. TrussPart40.FrontSurface = Enum.SurfaceType.Smooth
  571. TrussPart40.LeftSurface = Enum.SurfaceType.Smooth
  572. TrussPart40.RightSurface = Enum.SurfaceType.Smooth
  573. TrussPart40.TopSurface = Enum.SurfaceType.Weld
  574. TrussPart40.Color = Color3.new(0.768628, 0.156863, 0.109804)
  575. TrussPart40.Position = Vector3.new(-45.9998322, 1.80990076, 4.9998312)
  576. TrussPart40.Orientation = Vector3.new(0, 180, 0)
  577. TrussPart40.Color = Color3.new(0.768628, 0.156863, 0.109804)
  578. Part41.Name = "Tip"
  579. Part41.Parent = Model1
  580. Part41.BrickColor = BrickColor.new("Really black")
  581. Part41.Rotation = Vector3.new(0, -90, 0)
  582. Part41.FormFactor = Enum.FormFactor.Plate
  583. Part41.Size = Vector3.new(2, 1.20000005, 2)
  584. Part41.CFrame = CFrame.new(-40.9999924, 38.8098831, 10.0000038, -3.38234568e-05, 9.24161725e-08, -1.00000465, -1.62277747e-08, 1, 9.24350232e-08, 0.999994218, 1.61998805e-08, -3.38051796e-05)
  585. Part41.BottomSurface = Enum.SurfaceType.Weld
  586. Part41.TopSurface = Enum.SurfaceType.Smooth
  587. Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  588. Part41.Position = Vector3.new(-40.9999924, 38.8098831, 10.0000038)
  589. Part41.Orientation = Vector3.new(0, -90, 0)
  590. Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  591. Script42.Name = "BrickDeath"
  592. Script42.Parent = Part41
  593. Script42.Disabled = true
  594. table.insert(cors,sandbox(Script42,function()
  595. while true do
  596. c = game.Workspace:GetChildren()
  597. for i =1,#c do
  598. 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].Locked == false and c[i].Name ~= script.Parent.Name and c[i].Name ~= "Glow" and (c[i].Position - script.Parent.Position).magnitude < script.Size.Value) then
  599. c[i].Material = Enum.Material.CorrodedMetal
  600. c[i].Anchored = false
  601. c[i]:BreakJoints()
  602. end
  603. if (c[i].className == "Model") then
  604. end
  605. g = c[i]:GetChildren()
  606. for j =1,#g do
  607. 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].Locked == false and g[j].Name ~= script.Parent.Name and g[j].Name ~= "Glow" and (g[j].Position - script.Parent.Position).magnitude < script.Size.Value) then
  608. g[j].Material = Enum.Material.CorrodedMetal
  609. g[j].Anchored = false
  610. g[j]:BreakJoints()
  611. end
  612. if (g[j].className == "Model") then
  613. end
  614. t = g[j]:GetChildren()
  615. for s =1,#t do
  616. 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].Locked == false and t[s].Name ~= script.Parent.Name and t[s].Name ~= "Glow" and (t[s].Position - script.Parent.Position).magnitude < script.Size.Value) then
  617. t[s].Material = Enum.Material.CorrodedMetal
  618. t[s].Anchored = false
  619. t[s]:BreakJoints()
  620. end
  621. if (t[s].className == "Model") then
  622. end
  623. a = t[s]:GetChildren()
  624. for z =1,#a do
  625. 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].Locked == false and a[z].Name ~= script.Parent.Name and a[z].Name ~= "Glow" and (a[z].Position - script.Parent.Position).magnitude < script.Size.Value) then
  626. a[z].Material = Enum.Material.CorrodedMetal
  627. a[z].Anchored = false
  628. a[z]:BreakJoints()
  629. end
  630. if (a[z].className == "Model") then
  631. end
  632. p = a[z]:GetChildren()
  633. for l =1,#p do
  634. 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].Locked == false and p[l].Name ~= script.Parent.Name and p[l].Name ~= "Glow" and (p[l].Position - script.Parent.Position).magnitude < script.Size.Value) then
  635. p[l].Material = Enum.Material.CorrodedMetal
  636. p[l].Anchored = false
  637. p[l]:BreakJoints()
  638. end
  639. end
  640. end
  641. end
  642. end
  643. end
  644. wait(.3)
  645. end
  646.  
  647. end))
  648. Script43.Name = "HumanoidDeath"
  649. Script43.Parent = Part41
  650. Script43.Disabled = true
  651. table.insert(cors,sandbox(Script43,function()
  652. while true do
  653. c = game.Workspace:GetChildren()
  654. for i =1,#c do
  655. if (c[i].className == "Model") then
  656. end
  657. g = c[i]:GetChildren()
  658. for j =1,#g do
  659. if (g[j].className == "Zombie" and g[j].Parent:FindFirstChild("Torso") and g[j].Parent:FindFirstChild("ForceField") == nil) then
  660. if ((g[j].Parent.Torso.Position - script.Parent.Position).magnitude < script.Size.Value) then
  661. g[j].Parent:BreakJoints()
  662. end end
  663. if (g[j].className == "Part" and g[j].Parent:FindFirstChild("Torso") and g[j].Parent:FindFirstChild("ForceField") == nil) then
  664. if ((g[j].Position - script.Parent.Position).magnitude < script.Size.Value) then
  665. g[j].Material = Enum.Material.CorrodedMetal
  666. g[j].Anchored = false
  667. g[j]:BreakJoints()
  668. end end
  669. t = g[j]:GetChildren()
  670. for s =1,#t do
  671. 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].Locked == false and t[s].Name ~= script.Parent.Name and t[s].Name ~= "Glow" and (t[s].Position - script.Parent.Position).magnitude < script.Size.Value) then
  672. t[s].Material = Enum.Material.CorrodedMetal
  673. t[s].Anchored = false
  674. t[s]:BreakJoints()
  675. end
  676. if (t[s].className == "Model") then
  677. end
  678. a = t[s]:GetChildren()
  679. for z =1,#a do
  680. 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].Locked == false and a[z].Name ~= script.Parent.Name and a[z].Name ~= "Glow" and (a[z].Position - script.Parent.Position).magnitude < script.Size.Value) then
  681. a[z].Material = Enum.Material.CorrodedMetal
  682. a[z].Anchored = false
  683. a[z]:BreakJoints()
  684. end
  685. if (a[z].className == "Model") then
  686. end
  687. end
  688. end
  689. end
  690. end
  691. wait(.3)
  692. end
  693.  
  694. end))
  695. NumberValue44.Name = "BombSize"
  696. NumberValue44.Parent = Part41
  697. NumberValue44.Value = 200
  698. NumberValue45.Name = "NukeSize"
  699. NumberValue45.Parent = Part41
  700. NumberValue45.Value = 250
  701. Color3Value46.Name = "NukeColor"
  702. Color3Value46.Parent = Part41
  703. Color3Value46.Value = Color3.new(0, 1, 0)
  704. Script47.Name = "Touch"
  705. Script47.Parent = Part41
  706. table.insert(cors,sandbox(Script47,function()
  707. debounce = true
  708. function activate(hit)
  709. if debounce == false then return end
  710. debounce = false
  711. script.Parent.Anchored = true
  712. script.Parent.Transparency = 1
  713. wait(0.05)
  714. Boom2 = Instance.new("Explosion")
  715. Boom2.BlastRadius = 40
  716. Boom2.Parent = game.Workspace
  717. Boom2.Position = script.Parent.Position
  718. wait(0.5)
  719. main = Instance.new("Part")
  720. main.Shape = "Ball"
  721. main.BrickColor = BrickColor.new(script.Parent.NukeColor.Value)
  722. main.Transparency = 0.3
  723. main.TopSurface = "Smooth"
  724. main.BottomSurface = "Smooth"
  725. main.Anchored = true
  726. main.CanCollide = false
  727. main.Size = Vector3.new(4, 4, 4)
  728. main.Name = "Main"
  729. main.Parent = script.Parent
  730. main.CFrame = CFrame.new(script.Parent.Position)
  731. h = script.Parent.HumanoidDeath:clone()
  732. size1 = Instance.new("NumberValue")
  733. size1.Value = "2.8999999999999999"
  734. size1.Name = "Size"
  735. size1.Parent = h
  736. h.Disabled = false
  737. h.Parent = main
  738. b = script.Parent.BrickDeath:clone()
  739. size2 = Instance.new("NumberValue")
  740. size2.Value = "2.8999999999999999"
  741. size2.Name = "Size"
  742. size2.Parent = b
  743. b.Disabled = false
  744. b.Parent = main
  745. Mesh1 = Instance.new("SpecialMesh")
  746. Mesh1.MeshType = "Sphere"
  747. Mesh1.Scale = Vector3.new(0, 0, 0)
  748. Mesh1.Parent = main
  749. glow = Instance.new("Part")
  750. glow.Anchored = true
  751. glow.CanCollide = false
  752. glow.Size = Vector3.new(4, 1.2, 4)
  753. glow.Transparency = 1
  754. glow.Name = "Glow"
  755. glow.TopSurface = "Smooth"
  756. glow.BottomSurface = "Smooth"
  757. glow.Parent = script.Parent
  758. glow.CFrame = CFrame.new(main.Position)
  759. local decal = Instance.new("Decal")
  760. decal.Face = 1
  761. decal.Texture = "http://www.roblox.com/asset/?version=1&id=1280730"
  762. decal.Parent = glow
  763. local bottomDecal = decal:Clone()
  764. bottomDecal.Face = 4
  765. bottomDecal.Parent = glow
  766. Mesh2 = Instance.new("SpecialMesh")
  767. Mesh2.MeshType = "Brick"
  768. Mesh2.Scale = Vector3.new(1, 1, 1)
  769. Mesh2.Parent = glow
  770.  
  771. for i = 1, script.Parent.NukeSize.Value do --How big it's gonna be! O.o
  772. Mesh1.Scale = Mesh1.Scale + Vector3.new(.64, .64, .64)
  773. Mesh2.Scale = Mesh2.Scale + Vector3.new(.84, 0, .84)
  774. size1.Value = size1.Value +1.500
  775. size2.Value = size2.Value +1.500
  776. wait()
  777. end
  778. for i =1, 7 do
  779. wait(2)
  780. main.Transparency = main.Transparency +.1
  781. end
  782. wait(2)
  783. script.Parent.Parent:Remove()
  784. end
  785.  
  786. script.Parent.Touched:connect(activate)
  787.  
  788. end))
  789. SpecialMesh48.Parent = Part41
  790. SpecialMesh48.MeshId = "http://www.roblox.com/asset/?id=1033714"
  791. SpecialMesh48.Scale = Vector3.new(2, 4, 2)
  792. SpecialMesh48.MeshType = Enum.MeshType.FileMesh
  793. SpecialMesh48.Scale = Vector3.new(2, 4, 2)
  794. WedgePart49.Parent = Model1
  795. WedgePart49.BrickColor = BrickColor.new("Institutional white")
  796. WedgePart49.Rotation = Vector3.new(0, -90, 0)
  797. WedgePart49.Size = Vector3.new(2, 8.40000057, 2)
  798. WedgePart49.CFrame = CFrame.new(-36.9999199, 8.20989704, 10.0001411, -6.77381249e-05, 1.8468802e-07, -1.00000942, -3.26802478e-08, 1, 1.84725167e-07, 0.999988496, 3.26308651e-08, -6.77008647e-05)
  799. WedgePart49.BackSurface = Enum.SurfaceType.Weld
  800. WedgePart49.Color = Color3.new(0.972549, 0.972549, 0.972549)
  801. WedgePart49.Position = Vector3.new(-36.9999199, 8.20989704, 10.0001411)
  802. WedgePart49.Orientation = Vector3.new(0, -90, 0)
  803. WedgePart49.Color = Color3.new(0.972549, 0.972549, 0.972549)
  804. WedgePart50.Parent = Model1
  805. WedgePart50.BrickColor = BrickColor.new("Really black")
  806. WedgePart50.Rotation = Vector3.new(180, -0.00999999978, 180)
  807. WedgePart50.Size = Vector3.new(2, 8.40000057, 2)
  808. WedgePart50.CFrame = CFrame.new(-40.9987679, 7.8098917, 13.9993563, -1.00000465, -4.89076911e-07, -0.000178393559, -4.89040985e-07, 1, -8.39108907e-08, 0.000178409682, -8.38535925e-08, -0.999994218)
  809. WedgePart50.BackSurface = Enum.SurfaceType.Weld
  810. WedgePart50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  811. WedgePart50.Position = Vector3.new(-40.9987679, 7.8098917, 13.9993563)
  812. WedgePart50.Orientation = Vector3.new(0, -179.98999, 0)
  813. WedgePart50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  814. WedgePart51.Parent = Model1
  815. WedgePart51.BrickColor = BrickColor.new("Really black")
  816. WedgePart51.Rotation = Vector3.new(0, 0.00999999978, 0)
  817. WedgePart51.Size = Vector3.new(2, 7.20000029, 2)
  818. WedgePart51.CFrame = CFrame.new(-41.0000343, 7.20989323, 6.00013304, 1.00000918, -3.45021903e-07, 0.00012576874, 3.4497387e-07, 1, 5.92569904e-08, -0.000125801933, -5.92747256e-08, 0.999988377)
  819. WedgePart51.BackSurface = Enum.SurfaceType.Weld
  820. WedgePart51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  821. WedgePart51.Position = Vector3.new(-41.0000343, 7.20989323, 6.00013304)
  822. WedgePart51.Orientation = Vector3.new(0, 0.00999999978, 0)
  823. WedgePart51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  824. WedgePart52.Parent = Model1
  825. WedgePart52.BrickColor = BrickColor.new("Institutional white")
  826. WedgePart52.Rotation = Vector3.new(0, 90, 0)
  827. WedgePart52.Size = Vector3.new(2, 7.20000029, 2)
  828. WedgePart52.CFrame = CFrame.new(-45.000061, 7.80994225, 9.99987125, 6.76261552e-05, 1.85009853e-07, 1.00000465, 3.22884901e-08, 1, -1.85029705e-07, -0.999994278, 3.22701652e-08, 6.7607587e-05)
  829. WedgePart52.BackSurface = Enum.SurfaceType.Weld
  830. WedgePart52.Color = Color3.new(0.972549, 0.972549, 0.972549)
  831. WedgePart52.Position = Vector3.new(-45.000061, 7.80994225, 9.99987125)
  832. WedgePart52.Orientation = Vector3.new(0, 90, 0)
  833. WedgePart52.Color = Color3.new(0.972549, 0.972549, 0.972549)
  834. Part53.Name = "Regen"
  835. Part53.Parent = Model0
  836. Part53.BrickColor = BrickColor.new("Bright violet")
  837. Part53.Rotation = Vector3.new(0.140000001, 0, 0)
  838. Part53.Anchored = true
  839. Part53.CanCollide = false
  840. Part53.FormFactor = Enum.FormFactor.Plate
  841. Part53.Size = Vector3.new(4, 0.400000006, 1)
  842. Part53.CFrame = CFrame.new(-42.9997749, 0.231151, 3.49919009, 0.99999994, -2.09529153e-05, 7.97841835e-07, 2.09548325e-05, 0.999996901, -0.00248599472, -7.45758712e-07, 0.00248599472, 0.999996901)
  843. Part53.TopSurface = Enum.SurfaceType.Smooth
  844. Part53.Color = Color3.new(0.419608, 0.196078, 0.486275)
  845. Part53.Position = Vector3.new(-42.9997749, 0.231151, 3.49919009)
  846. Part53.Orientation = Vector3.new(0.140000001, 0, 0)
  847. Part53.Color = Color3.new(0.419608, 0.196078, 0.486275)
  848. ClickDetector54.Name = "Click"
  849. ClickDetector54.Parent = Part53
  850. ClickDetector54.MaxActivationDistance = 10
  851. Script55.Parent = Part53
  852. table.insert(cors,sandbox(Script55,function()
  853. local a = script.Parent.Parent.Rocket:clone()
  854. local deb = false
  855.  
  856. function chng()
  857. if deb == true then return end
  858. deb = true
  859. local new = a:clone()
  860. script.Parent.Parent.Rocket:Remove()
  861. new.Parent = script.Parent.Parent
  862. new:MakeJoints()
  863. script.Parent.BrickColor = BrickColor.new(21)
  864. wait(6)
  865. script.Parent.BrickColor = BrickColor.new("Bright violet")
  866. deb = false
  867. end
  868.  
  869. script.Parent.Click.MouseClick:connect(chng)
  870.  
  871. end))
  872. for i,v in pairs(mas:GetChildren()) do
  873. v.Parent = workspace
  874. pcall(function() v:MakeJoints() end)
  875. end
  876. mas:Destroy()
  877. for i,v in pairs(cors) do
  878. spawn(function()
  879. pcall(v)
  880. end)
  881. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement