Advertisement
BNutty07

rocket

Nov 25th, 2017
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 57.85 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Part0 = Instance.new("Part")
  20. Script1 = Instance.new("Script")
  21. ClickDetector2 = Instance.new("ClickDetector")
  22. SurfaceGui3 = Instance.new("SurfaceGui")
  23. TextLabel4 = Instance.new("TextLabel")
  24. Script5 = Instance.new("Script")
  25. Model6 = Instance.new("Model")
  26. Part7 = Instance.new("Part")
  27. Sound8 = Instance.new("Sound")
  28. Fire9 = Instance.new("Fire")
  29. Sound10 = Instance.new("Sound")
  30. BodyGyro11 = Instance.new("BodyGyro")
  31. Motor6D12 = Instance.new("Motor6D")
  32. Motor6D13 = Instance.new("Motor6D")
  33. Motor6D14 = Instance.new("Motor6D")
  34. Sound15 = Instance.new("Sound")
  35. Fire16 = Instance.new("Fire")
  36. Script17 = Instance.new("Script")
  37. Motor6D18 = Instance.new("Motor6D")
  38. Motor6D19 = Instance.new("Motor6D")
  39. Motor6D20 = Instance.new("Motor6D")
  40. Motor6D21 = Instance.new("Motor6D")
  41. PointLight22 = Instance.new("PointLight")
  42. Motor6D23 = Instance.new("Motor6D")
  43. Motor6D24 = Instance.new("Motor6D")
  44. VehicleSeat25 = Instance.new("VehicleSeat")
  45. Motor6D26 = Instance.new("Motor6D")
  46. Script27 = Instance.new("Script")
  47. Script28 = Instance.new("Script")
  48. BodyAngularVelocity29 = Instance.new("BodyAngularVelocity")
  49. Script30 = Instance.new("Script")
  50. Part31 = Instance.new("Part")
  51. Motor6D32 = Instance.new("Motor6D")
  52. Part33 = Instance.new("Part")
  53. Part34 = Instance.new("Part")
  54. Part35 = Instance.new("Part")
  55. Part36 = Instance.new("Part")
  56. Motor6D37 = Instance.new("Motor6D")
  57. Sound38 = Instance.new("Sound")
  58. Fire39 = Instance.new("Fire")
  59. Script40 = Instance.new("Script")
  60. SpotLight41 = Instance.new("SpotLight")
  61. Motor6D42 = Instance.new("Motor6D")
  62. Motor6D43 = Instance.new("Motor6D")
  63. Motor6D44 = Instance.new("Motor6D")
  64. Motor6D45 = Instance.new("Motor6D")
  65. Part46 = Instance.new("Part")
  66. Part47 = Instance.new("Part")
  67. Sound48 = Instance.new("Sound")
  68. Script49 = Instance.new("Script")
  69. Sound50 = Instance.new("Sound")
  70. Sound51 = Instance.new("Sound")
  71. Script52 = Instance.new("Script")
  72. Fire53 = Instance.new("Fire")
  73. Script54 = Instance.new("Script")
  74. Script55 = Instance.new("Script")
  75. Script56 = Instance.new("Script")
  76. Humanoid57 = Instance.new("Humanoid")
  77. Script58 = Instance.new("Script")
  78. Script59 = Instance.new("Script")
  79. Script60 = Instance.new("Script")
  80. Script61 = Instance.new("Script")
  81. Script62 = Instance.new("Script")
  82. Script63 = Instance.new("Script")
  83. Script64 = Instance.new("Script")
  84. Script65 = Instance.new("Script")
  85. Script66 = Instance.new("Script")
  86. Script67 = Instance.new("Script")
  87. Script68 = Instance.new("Script")
  88. Script69 = Instance.new("Script")
  89. Part70 = Instance.new("Part")
  90. Sound71 = Instance.new("Sound")
  91. Script72 = Instance.new("Script")
  92. Script73 = Instance.new("Script")
  93. Sound74 = Instance.new("Sound")
  94. Fire75 = Instance.new("Fire")
  95. Script76 = Instance.new("Script")
  96. Part77 = Instance.new("Part")
  97. Sound78 = Instance.new("Sound")
  98. Script79 = Instance.new("Script")
  99. Motor6D80 = Instance.new("Motor6D")
  100. Sound81 = Instance.new("Sound")
  101. Fire82 = Instance.new("Fire")
  102. Script83 = Instance.new("Script")
  103. Motor6D84 = Instance.new("Motor6D")
  104. Part85 = Instance.new("Part")
  105. Script86 = Instance.new("Script")
  106. Sound87 = Instance.new("Sound")
  107. SpecialMesh88 = Instance.new("SpecialMesh")
  108. PointLight89 = Instance.new("PointLight")
  109. Script90 = Instance.new("Script")
  110. BodyForce91 = Instance.new("BodyForce")
  111. Script92 = Instance.new("Script")
  112. Script93 = Instance.new("Script")
  113. Script94 = Instance.new("Script")
  114. ClickDetector95 = Instance.new("ClickDetector")
  115. Sound96 = Instance.new("Sound")
  116. Part97 = Instance.new("Part")
  117. Sound98 = Instance.new("Sound")
  118. Script99 = Instance.new("Script")
  119. Fire100 = Instance.new("Fire")
  120. Fire101 = Instance.new("Fire")
  121. Part102 = Instance.new("Part")
  122. Sound103 = Instance.new("Sound")
  123. Script104 = Instance.new("Script")
  124. Fire105 = Instance.new("Fire")
  125. Fire106 = Instance.new("Fire")
  126. Part107 = Instance.new("Part")
  127. Sound108 = Instance.new("Sound")
  128. Script109 = Instance.new("Script")
  129. Fire110 = Instance.new("Fire")
  130. Fire111 = Instance.new("Fire")
  131. Part112 = Instance.new("Part")
  132. Sound113 = Instance.new("Sound")
  133. Script114 = Instance.new("Script")
  134. Fire115 = Instance.new("Fire")
  135. Fire116 = Instance.new("Fire")
  136. ForceField117 = Instance.new("ForceField")
  137. Script118 = Instance.new("Script")
  138. Part119 = Instance.new("Part")
  139. SpecialMesh120 = Instance.new("SpecialMesh")
  140. Part121 = Instance.new("Part")
  141. SpecialMesh122 = Instance.new("SpecialMesh")
  142. Part123 = Instance.new("Part")
  143. SpecialMesh124 = Instance.new("SpecialMesh")
  144. Part0.Name = "Rocket giver"
  145. Part0.Parent = mas
  146. Part0.Material = Enum.Material.DiamondPlate
  147. Part0.BrickColor = BrickColor.new("Dark stone grey")
  148. Part0.Rotation = Vector3.new(-180, 0, -180)
  149. Part0.Anchored = true
  150. Part0.Size = Vector3.new(12, 2, 12)
  151. Part0.CFrame = CFrame.new(29, 1.00001395, 117, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  152. Part0.BottomSurface = Enum.SurfaceType.Smooth
  153. Part0.TopSurface = Enum.SurfaceType.Smooth
  154. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  155. Part0.Position = Vector3.new(29, 1.00001395, 117)
  156. Part0.Orientation = Vector3.new(0, 180, 0)
  157. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  158. Script1.Name = "Dispense"
  159. Script1.Parent = Part0
  160. table.insert(cors,sandbox(Script1,function()
  161. function Activated()
  162. if game.ServerStorage:FindFirstChild("Demolition rocket") ~= nil then
  163. script.Parent.BrickColor = BrickColor.Red()
  164. script.Disabled = true
  165. script.Parent.SurfaceGui.TextLabel.Text = "Wait for cooldown"
  166. local Rocket = game.ServerStorage["Demolition rocket"]:Clone()
  167. Rocket.Parent = game.Workspace
  168. Rocket.Base.CFrame = script.Parent.CFrame * CFrame.new(0,1.5,0)
  169. Rocket.Base.Velocity = Rocket.Base.CFrame.lookVector * 50
  170. wait(2)
  171. script.Parent.SurfaceGui.TextLabel.Text = "18"
  172. for i = 1,18 do
  173. wait(1)
  174. script.Parent.SurfaceGui.TextLabel.Text = script.Parent.SurfaceGui.TextLabel.Text - 1
  175. end
  176. script.Parent.BrickColor = BrickColor.DarkGray()
  177. script.Disabled = false
  178. script.Parent.SurfaceGui.TextLabel.Text = "Click for demolition rocket"
  179. end
  180. end
  181. script.Parent.ClickDetector.MouseClick:connect(Activated)
  182. end))
  183. ClickDetector2.Parent = Part0
  184. SurfaceGui3.Parent = Part0
  185. SurfaceGui3.Face = Enum.NormalId.Top
  186. SurfaceGui3.Adornee = Part0
  187. SurfaceGui3.CanvasSize = Vector2.new(200, 150)
  188. TextLabel4.Parent = SurfaceGui3
  189. TextLabel4.Transparency = 1
  190. TextLabel4.Size = UDim2.new(0, 200, 0, 50)
  191. TextLabel4.Text = "Click for demolition rocket"
  192. TextLabel4.Position = UDim2.new(0, 0, 0.300000012, 0)
  193. TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
  194. TextLabel4.BackgroundTransparency = 1
  195. TextLabel4.Font = Enum.Font.SciFi
  196. TextLabel4.FontSize = Enum.FontSize.Size14
  197. TextLabel4.TextColor3 = Color3.new(1, 0.5, 0)
  198. TextLabel4.TextScaled = true
  199. TextLabel4.TextWrapped = true
  200. Script5.Name = "Place rocket into ServerStorage"
  201. Script5.Parent = Part0
  202. table.insert(cors,sandbox(Script5,function()
  203. script.Parent["Demolition rocket"].Parent = game.ServerStorage
  204. script:Destroy()
  205. end))
  206. Model6.Name = "Demolition rocket"
  207. Model6.Parent = Part0
  208. Model6.PrimaryPart = Part7
  209. Part7.Name = "Base"
  210. Part7.Parent = Model6
  211. Part7.Material = Enum.Material.DiamondPlate
  212. Part7.BrickColor = BrickColor.new("Neon orange")
  213. Part7.Rotation = Vector3.new(0, -90, 0)
  214. Part7.Locked = true
  215. Part7.Size = Vector3.new(5, 1, 5)
  216. Part7.CFrame = CFrame.new(28.7875443, 2.50141859, 117.054611, -3.51667404e-06, -1.49710104e-07, -1.00000036, -8.16653483e-08, 1, -1.49244443e-07, 1.0000006, 8.14325176e-08, -3.51667404e-06)
  217. Part7.BottomSurface = Enum.SurfaceType.Smooth
  218. Part7.TopSurface = Enum.SurfaceType.Smooth
  219. Part7.Color = Color3.new(0.835294, 0.45098, 0.239216)
  220. Part7.Position = Vector3.new(28.7875443, 2.50141859, 117.054611)
  221. Part7.Orientation = Vector3.new(0, -90, 0)
  222. Part7.Color = Color3.new(0.835294, 0.45098, 0.239216)
  223. Sound8.Parent = Part7
  224. Sound8.Pitch = 1.2000000476837
  225. Sound8.SoundId = "http://www.roblox.com/asset/?id=66868084 "
  226. Sound8.Volume = 1
  227. Fire9.Parent = Part7
  228. Fire9.Size = 30
  229. Fire9.Enabled = false
  230. Fire9.Heat = 25
  231. Fire9.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  232. Sound10.Name = "Sound2"
  233. Sound10.Parent = Part7
  234. Sound10.Pitch = 0.60000002384186
  235. Sound10.SoundId = "rbxassetid://138185473 "
  236. Sound10.Volume = 1
  237. Sound10.Looped = true
  238. BodyGyro11.Parent = Part7
  239. Motor6D12.Parent = Part7
  240. Motor6D12.C1 = CFrame.new(-0.000282287598, -1.6007148, -2.502388, 1.00000024, 4.09976928e-05, 6.86794519e-05, -4.09973436e-05, 1, -6.57816418e-06, -6.86794519e-05, 6.57560304e-06, 1.00000024)
  241. Motor6D12.Part0 = Part7
  242. Motor6D12.Part1 = Part77
  243. Motor6D13.Parent = Part7
  244. Motor6D13.C1 = CFrame.new(8.77380371e-05, -1.50140166, 2.50338745, 1.00000024, 1.6350532e-07, 3.4570694e-06, -1.63563527e-07, 1, 1.81607902e-08, -3.4570694e-06, -1.79279596e-08, 1.00000012)
  245. Motor6D13.Part0 = Part7
  246. Motor6D13.Part1 = Part36
  247. Motor6D14.Parent = Part7
  248. Motor6D14.C1 = CFrame.new(-5.7220459e-05, -1.0003432, 0.000267028809, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036)
  249. Motor6D14.Part0 = Part7
  250. Motor6D14.Part1 = VehicleSeat25
  251. Sound15.Name = "Sound3"
  252. Sound15.Parent = Part7
  253. Sound15.SoundId = "rbxassetid://191040613"
  254. Sound15.Volume = 1
  255. Fire16.Name = "Fire2"
  256. Fire16.Parent = Part7
  257. Fire16.Size = 10
  258. Fire16.Enabled = false
  259. Fire16.Heat = -5
  260. Fire16.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  261. Script17.Name = "On contact, thud"
  262. Script17.Parent = Part7
  263. table.insert(cors,sandbox(Script17,function()
  264. function onTouched(hit)
  265. if hit.CanCollide == false then return end
  266. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  267. if HitPower >= 600 then
  268. script.Parent.Fire2.Enabled = true
  269. script.Parent.Sound3:Play()
  270. wait(0.2)
  271. script.Parent.Fire2.Enabled = false
  272. end
  273. end
  274. script.Parent.Touched:connect(onTouched)
  275. end))
  276. Motor6D18.Parent = Part7
  277. Motor6D18.C1 = CFrame.new(-2.00016403, -1.00000238, -3.00017166, 1, 7.26722593e-09, 6.1614637e-11, -7.26722593e-09, 1, -1.65342851e-08, -6.16147619e-11, 1.65342868e-08, 1)
  278. Motor6D18.Part0 = Part7
  279. Motor6D18.Part1 = Part112
  280. Motor6D19.Parent = Part7
  281. Motor6D19.C1 = CFrame.new(-2.00019836, -1.99999905, -4.00024796, 1, 4.53808724e-09, 5.57033343e-11, -4.5380868e-09, 1, -1.02459534e-08, -5.57033829e-11, 1.02459552e-08, 1)
  282. Motor6D19.Part0 = Part7
  283. Motor6D19.Part1 = Part107
  284. Motor6D20.Parent = Part7
  285. Motor6D20.C1 = CFrame.new(2.00013351, -1.00000191, -3.00013924, 1, 1.42362522e-08, 8.59418925e-11, -1.42362531e-08, 1, -3.28385994e-08, -8.59423643e-11, 3.28385994e-08, 1)
  286. Motor6D20.Part0 = Part7
  287. Motor6D20.Part1 = Part102
  288. Motor6D21.Parent = Part7
  289. Motor6D21.C1 = CFrame.new(2.00014877, -2.00000048, -4.00019455, 1, 9.53187307e-09, 6.61617705e-11, -9.53187218e-09, 1, -2.1891708e-08, -6.61619787e-11, 2.1891708e-08, 1)
  290. Motor6D21.Part0 = Part7
  291. Motor6D21.Part1 = Part97
  292. PointLight22.Parent = Part7
  293. PointLight22.Color = Color3.new(1, 0.313726, 0.0196078)
  294. PointLight22.Enabled = false
  295. PointLight22.Brightness = 60
  296. PointLight22.Range = 60
  297. PointLight22.Shadows = true
  298. PointLight22.Color = Color3.new(1, 0.313726, 0.0196078)
  299. Motor6D23.Parent = Part7
  300. Motor6D23.C1 = CFrame.new(-1.99999762, -2.5, 4.76837158e-06, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036)
  301. Motor6D23.Part0 = Part7
  302. Motor6D23.Part1 = Part34
  303. Motor6D24.Parent = Part7
  304. Motor6D24.C1 = CFrame.new(2.00000238, -2.5, 4.76837158e-06, 1.0000006, 8.14325176e-08, -3.51667404e-06, -8.16653483e-08, 1, -1.49244443e-07, 3.51667404e-06, 1.49710104e-07, 1.00000036)
  305. Motor6D24.Part0 = Part7
  306. Motor6D24.Part1 = Part33
  307. VehicleSeat25.Name = "Car Seat"
  308. VehicleSeat25.Parent = Model6
  309. VehicleSeat25.Material = Enum.Material.Fabric
  310. VehicleSeat25.BrickColor = BrickColor.new("Black")
  311. VehicleSeat25.Rotation = Vector3.new(0, -90, 0)
  312. VehicleSeat25.Locked = true
  313. VehicleSeat25.Size = Vector3.new(3, 1, 3)
  314. VehicleSeat25.CFrame = CFrame.new(28.7878113, 3.50176191, 117.054672, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  315. VehicleSeat25.BottomSurface = Enum.SurfaceType.Smooth
  316. VehicleSeat25.TopSurface = Enum.SurfaceType.Smooth
  317. VehicleSeat25.MaxSpeed = 150
  318. VehicleSeat25.Torque = 12.5
  319. VehicleSeat25.TurnSpeed = 2.5999999046326
  320. VehicleSeat25.Color = Color3.new(0.105882, 0.164706, 0.207843)
  321. VehicleSeat25.Position = Vector3.new(28.7878113, 3.50176191, 117.054672)
  322. VehicleSeat25.Orientation = Vector3.new(0, -90, 0)
  323. VehicleSeat25.Color = Color3.new(0.105882, 0.164706, 0.207843)
  324. Motor6D26.Parent = VehicleSeat25
  325. Motor6D26.C1 = CFrame.new(-0.00012588501, -1.50189567, -1.00107574, 1.00000012, 3.31259798e-07, 3.56137753e-06, -3.31318006e-07, 1, 1.97906047e-07, -3.56137753e-06, -1.97673216e-07, 1.00000012)
  326. Motor6D26.Part0 = VehicleSeat25
  327. Motor6D26.Part1 = Part46
  328. Script27.Name = "Flying"
  329. Script27.Parent = VehicleSeat25
  330. table.insert(cors,sandbox(Script27,function()
  331. while true do
  332. wait(0.05)
  333. if script.Parent.Occupant ~= nil then
  334. if script.Name == "Straight" then
  335. script.Parent.Velocity = script.Parent.CFrame.lookVector * 70
  336. else
  337. script.Parent.Velocity = script.Parent.CFrame.lookVector * 35
  338. end
  339. end
  340. end
  341. end))
  342. Script28.Name = "Controls"
  343. Script28.Parent = VehicleSeat25
  344. table.insert(cors,sandbox(Script28,function()
  345. local FlyingScript = script.Parent.Flying
  346.  
  347. function control()
  348. if script.Parent.Occupant ~= nil then
  349. if script.Parent.Throttle == 1 then
  350. script.Parent.Velocity = Vector3.new(script.Parent.Velocity.X,65,script.Parent.Velocity.Z)
  351. FlyingScript.Name = "Up"
  352. elseif script.Parent.Throttle == -1 then
  353. script.Parent.Velocity = Vector3.new(script.Parent.Velocity.X,-65,script.Parent.Velocity.Z)
  354. FlyingScript.Name = "Down"
  355. else
  356. script.Parent.Velocity = Vector3.new(script.Parent.Velocity.X,7,script.Parent.Velocity.Z)
  357. FlyingScript.Name = "Straight"
  358. end
  359. if script.Parent.Steer == 1 then
  360. script.Parent.AngleChange.AngularVelocity = Vector3.new(0,-2000,0)
  361. elseif script.Parent.Steer == -1 then
  362. script.Parent.AngleChange.AngularVelocity = Vector3.new(0,2000,0)
  363. else
  364. script.Parent.AngleChange.AngularVelocity = Vector3.new(0,0,0)
  365. end
  366. end
  367. end
  368. script.Parent.Changed:connect(control)
  369. end))
  370. BodyAngularVelocity29.Name = "AngleChange"
  371. BodyAngularVelocity29.Parent = VehicleSeat25
  372. BodyAngularVelocity29.maxTorque = Vector3.new(40000, 40000, 40000)
  373. BodyAngularVelocity29.P = 1000000
  374. BodyAngularVelocity29.MaxTorque = Vector3.new(40000, 40000, 40000)
  375. BodyAngularVelocity29.AngularVelocity = Vector3.new(0, 0, 0)
  376. Script30.Name = "Cockpit doors"
  377. Script30.Parent = VehicleSeat25
  378. table.insert(cors,sandbox(Script30,function()
  379. function Changed(Occupant)
  380. if script.Parent.Occupant == nil then
  381. if script.Parent.CockpitL ~= nil then
  382. script.Parent.CockpitL.CanCollide = false
  383. script.Parent.CockpitL.Transparency = 0.5
  384. end
  385. if script.Parent.CockpitR ~= nil then
  386. script.Parent.CockpitR.CanCollide = false
  387. script.Parent.CockpitR.Transparency = 0.5
  388. end
  389. if script.Parent.CockpitB ~= nil then
  390. script.Parent.CockpitB.CanCollide = false
  391. script.Parent.CockpitB.Transparency = 0.5
  392. end
  393. if script.Parent.CockpitT ~= nil then
  394. script.Parent.CockpitT.CanCollide = false
  395. script.Parent.CockpitT.Transparency = 0.5
  396. end
  397. else
  398. if script.Parent.CockpitL ~= nil then
  399. script.Parent.CockpitL.CanCollide = true
  400. script.Parent.CockpitL.Transparency = 0
  401. end
  402. if script.Parent.CockpitR ~= nil then
  403. script.Parent.CockpitR.CanCollide = true
  404. script.Parent.CockpitR.Transparency = 0
  405. end
  406. if script.Parent.CockpitB ~= nil then
  407. script.Parent.CockpitB.CanCollide = true
  408. script.Parent.CockpitB.Transparency = 0
  409. end
  410. if script.Parent.CockpitT ~= nil then
  411. script.Parent.CockpitT.CanCollide = true
  412. script.Parent.CockpitT.Transparency = 0
  413. end
  414. end
  415. end
  416. script.Parent.Changed:connect(Changed)
  417. end))
  418. Part31.Name = "CockpitB"
  419. Part31.Parent = VehicleSeat25
  420. Part31.Material = Enum.Material.SmoothPlastic
  421. Part31.BrickColor = BrickColor.new("Bright bluish green")
  422. Part31.Reflectance = 1
  423. Part31.Transparency = 0.5
  424. Part31.Rotation = Vector3.new(0, -90, 0)
  425. Part31.CanCollide = false
  426. Part31.Size = Vector3.new(3, 2, 1)
  427. Part31.CFrame = CFrame.new(26.7875481, 6.00141859, 117.054611, -2.61934474e-10, -7.21229299e-10, -1.00000119, -3.29353655e-10, 1, 7.21229299e-10, 1.00000167, -3.29353655e-10, 2.61934474e-10)
  428. Part31.BottomSurface = Enum.SurfaceType.Smooth
  429. Part31.TopSurface = Enum.SurfaceType.Smooth
  430. Part31.Color = Color3.new(0, 0.560784, 0.611765)
  431. Part31.Position = Vector3.new(26.7875481, 6.00141859, 117.054611)
  432. Part31.Orientation = Vector3.new(0, -90, 0)
  433. Part31.Color = Color3.new(0, 0.560784, 0.611765)
  434. Motor6D32.Parent = Part31
  435. Motor6D32.C1 = CFrame.new(0, -0.5, 2.49999952, 1.00000167, -3.29353655e-10, 2.61934474e-10, -3.29353655e-10, 1, 7.21229299e-10, 2.61934474e-10, 7.21229299e-10, 1.00000119)
  436. Motor6D32.Part0 = Part31
  437. Motor6D32.Part1 = Part35
  438. Part33.Name = "CockpitL"
  439. Part33.Parent = VehicleSeat25
  440. Part33.Material = Enum.Material.SmoothPlastic
  441. Part33.BrickColor = BrickColor.new("Bright bluish green")
  442. Part33.Reflectance = 1
  443. Part33.Transparency = 0.5
  444. Part33.Rotation = Vector3.new(0, -90, 0)
  445. Part33.CanCollide = false
  446. Part33.Size = Vector3.new(1, 4, 3)
  447. Part33.CFrame = CFrame.new(28.7875481, 5.00141859, 115.054604, -6.82121026e-13, -4.65320227e-10, -1.00000072, -2.32355538e-10, 1, 4.65320227e-10, 1.00000119, -2.32355538e-10, 6.82121026e-13)
  448. Part33.BottomSurface = Enum.SurfaceType.Smooth
  449. Part33.TopSurface = Enum.SurfaceType.Smooth
  450. Part33.Color = Color3.new(0, 0.560784, 0.611765)
  451. Part33.Position = Vector3.new(28.7875481, 5.00141859, 115.054604)
  452. Part33.Orientation = Vector3.new(0, -90, 0)
  453. Part33.Color = Color3.new(0, 0.560784, 0.611765)
  454. Part34.Name = "CockpitR"
  455. Part34.Parent = VehicleSeat25
  456. Part34.Material = Enum.Material.SmoothPlastic
  457. Part34.BrickColor = BrickColor.new("Reddish brown")
  458. Part34.Reflectance = 1
  459. Part34.Transparency = 0.5
  460. Part34.Rotation = Vector3.new(0, -90, 0)
  461. Part34.CanCollide = false
  462. Part34.Size = Vector3.new(1, 4, 3)
  463. Part34.CFrame = CFrame.new(28.7875481, 5.00141859, 119.054611, -6.82121026e-13, -4.65320227e-10, -1.00000072, -2.32355538e-10, 1, 4.65320227e-10, 1.00000119, -2.32355538e-10, 6.82121026e-13)
  464. Part34.BottomSurface = Enum.SurfaceType.Smooth
  465. Part34.TopSurface = Enum.SurfaceType.Smooth
  466. Part34.Color = Color3.new(0.411765, 0.25098, 0.156863)
  467. Part34.Position = Vector3.new(28.7875481, 5.00141859, 119.054611)
  468. Part34.Orientation = Vector3.new(0, -90, 0)
  469. Part34.Color = Color3.new(0.411765, 0.25098, 0.156863)
  470. Part35.Name = "CockpitT"
  471. Part35.Parent = VehicleSeat25
  472. Part35.Material = Enum.Material.SmoothPlastic
  473. Part35.BrickColor = BrickColor.new("Bright bluish green")
  474. Part35.Reflectance = 1
  475. Part35.Transparency = 0.5
  476. Part35.Rotation = Vector3.new(0, -90, 0)
  477. Part35.CanCollide = false
  478. Part35.Size = Vector3.new(3, 3, 4)
  479. Part35.CFrame = CFrame.new(29.2875538, 6.50141859, 117.054611, -5.23869725e-10, -1.44245949e-09, -1.00000238, -6.58707866e-10, 1, 1.44245949e-09, 1.00000334, -6.58707866e-10, 5.23869725e-10)
  480. Part35.BottomSurface = Enum.SurfaceType.Smooth
  481. Part35.TopSurface = Enum.SurfaceType.Smooth
  482. Part35.Color = Color3.new(0, 0.560784, 0.611765)
  483. Part35.Position = Vector3.new(29.2875538, 6.50141859, 117.054611)
  484. Part35.Orientation = Vector3.new(0, -90, 0)
  485. Part35.Color = Color3.new(0, 0.560784, 0.611765)
  486. Part36.Name = "Torso"
  487. Part36.Parent = Model6
  488. Part36.Material = Enum.Material.DiamondPlate
  489. Part36.BrickColor = BrickColor.new("Reddish brown")
  490. Part36.Rotation = Vector3.new(0, -90, 0)
  491. Part36.Locked = true
  492. Part36.Size = Vector3.new(5, 2, 2)
  493. Part36.CFrame = CFrame.new(31.2909317, 4.00282049, 117.054543, -6.97374526e-06, -1.67870326e-07, -1.00000048, 8.18394312e-08, 1, -1.67172132e-07, 1.00000083, -8.2131173e-08, -6.97374617e-06)
  494. Part36.BottomSurface = Enum.SurfaceType.Smooth
  495. Part36.TopSurface = Enum.SurfaceType.Smooth
  496. Part36.Color = Color3.new(0.411765, 0.25098, 0.156863)
  497. Part36.Position = Vector3.new(31.2909317, 4.00282049, 117.054543)
  498. Part36.Orientation = Vector3.new(0, -90, 0)
  499. Part36.Color = Color3.new(0.411765, 0.25098, 0.156863)
  500. Motor6D37.Parent = Part36
  501. Motor6D37.C1 = CFrame.new(4.19616699e-05, -0.499773264, 2.00035858, 1.00000048, 3.84509331e-05, 1.63912773e-06, -3.84511077e-05, 1, -4.72180545e-06, -1.63912773e-06, 4.72227111e-06, 1.00000036)
  502. Motor6D37.Part0 = Part36
  503. Motor6D37.Part1 = Part47
  504. Sound38.Name = "Sound3"
  505. Sound38.Parent = Part36
  506. Sound38.SoundId = "rbxassetid://191040613"
  507. Sound38.Volume = 1
  508. Fire39.Name = "Fire2"
  509. Fire39.Parent = Part36
  510. Fire39.Size = 10
  511. Fire39.Enabled = false
  512. Fire39.Heat = -5
  513. Fire39.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  514. Script40.Name = "On contact, thud"
  515. Script40.Parent = Part36
  516. table.insert(cors,sandbox(Script40,function()
  517. function onTouched(hit)
  518. if hit.CanCollide == false then return end
  519. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  520. if HitPower >= 600 then
  521. script.Parent.Fire2.Enabled = true
  522. script.Parent.Sound3:Play()
  523. wait(0.2)
  524. script.Parent.Fire2.Enabled = false
  525. end
  526. end
  527. script.Parent.Touched:connect(onTouched)
  528. end))
  529. SpotLight41.Parent = Part36
  530. SpotLight41.Color = Color3.new(0.54902, 0, 1)
  531. SpotLight41.Brightness = 60
  532. SpotLight41.Range = 60
  533. SpotLight41.Shadows = true
  534. SpotLight41.Color = Color3.new(0.54902, 0, 1)
  535. Motor6D42.Parent = Part36
  536. Motor6D42.C1 = CFrame.new(7.62939453e-06, -3.50000095, 0, 1.00000751, -6.78400909e-08, -6.97387986e-06, 6.52234746e-08, 1, -2.00237224e-07, 6.97387622e-06, 2.06525442e-07, 1.00000429)
  537. Motor6D42.Part0 = Part36
  538. Motor6D42.Part1 = Part85
  539. Motor6D43.Parent = Part36
  540. Motor6D43.C1 = CFrame.new(-0.21281004, 0.999049664, -7.2479248e-05, 6.53736424e-06, 0.342020363, 0.939693987, 2.30853379e-06, -0.939692557, 0.34202081, 1.0000025, -6.74716247e-08, -6.93268066e-06)
  541. Motor6D43.Part0 = Part36
  542. Motor6D43.Part1 = Part119
  543. Motor6D44.Parent = Part36
  544. Motor6D44.C1 = CFrame.new(0.141719818, 1.01158476, -7.2479248e-05, 6.93003403e-06, 8.04475562e-08, 1.00000048, -8.18400423e-08, -1, 7.97493129e-08, 1.00000083, -8.2131173e-08, -6.93003494e-06)
  545. Motor6D44.Part0 = Part36
  546. Motor6D44.Part1 = Part121
  547. Motor6D45.Parent = Part36
  548. Motor6D45.C1 = CFrame.new(0.479156494, 0.902107239, -7.2479248e-05, 6.48147443e-06, -0.342020065, 0.939693153, -2.46206582e-06, -0.939692676, -0.342020214, 1.00000083, -9.70813474e-08, -6.93267066e-06)
  549. Motor6D45.Part0 = Part36
  550. Motor6D45.Part1 = Part123
  551. Part46.Name = "Backrest"
  552. Part46.Parent = Model6
  553. Part46.Material = Enum.Material.Fabric
  554. Part46.BrickColor = BrickColor.new("Neon orange")
  555. Part46.Rotation = Vector3.new(0, -90, 0)
  556. Part46.Locked = true
  557. Part46.Size = Vector3.new(3, 2, 1)
  558. Part46.CFrame = CFrame.new(27.7867355, 5.00365734, 117.054794, -3.56137753e-06, -1.97906047e-07, -1.00000012, 3.31259798e-07, 1, -1.97673216e-07, 1.00000012, -3.31318006e-07, -3.56137753e-06)
  559. Part46.BottomSurface = Enum.SurfaceType.Smooth
  560. Part46.TopSurface = Enum.SurfaceType.Smooth
  561. Part46.Color = Color3.new(0.835294, 0.45098, 0.239216)
  562. Part46.Position = Vector3.new(27.7867355, 5.00365734, 117.054794)
  563. Part46.Orientation = Vector3.new(0, -90, 0)
  564. Part46.Color = Color3.new(0.835294, 0.45098, 0.239216)
  565. Part47.Name = "Head"
  566. Part47.Parent = Model6
  567. Part47.Material = Enum.Material.DiamondPlate
  568. Part47.BrickColor = BrickColor.new("Neon orange")
  569. Part47.Rotation = Vector3.new(0, -90, 0)
  570. Part47.Locked = true
  571. Part47.Size = Vector3.new(3, 3, 2)
  572. Part47.CFrame = CFrame.new(33.2912941, 4.50258446, 117.054497, -8.61288299e-06, 4.55420559e-06, -1.00000083, 3.8532773e-05, 1, 4.55509871e-06, 1.00000131, -3.85332387e-05, -8.61287754e-06)
  573. Part47.BottomSurface = Enum.SurfaceType.Smooth
  574. Part47.TopSurface = Enum.SurfaceType.Smooth
  575. Part47.Color = Color3.new(0.835294, 0.45098, 0.239216)
  576. Part47.Position = Vector3.new(33.2912941, 4.50258446, 117.054497)
  577. Part47.Orientation = Vector3.new(0, -90, 0)
  578. Part47.Color = Color3.new(0.835294, 0.45098, 0.239216)
  579. Sound48.Parent = Part47
  580. Sound48.SoundId = "rbxassetid://356659053"
  581. Sound48.Volume = 1
  582. Script49.Name = "On contact, explode"
  583. Script49.Parent = Part47
  584. table.insert(cors,sandbox(Script49,function()
  585. function onTouched(hit)
  586. if hit.CanCollide == false then return end
  587. if hit.Parent:FindFirstChild("Humanoid") == nil then return end
  588. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  589. if HitPower >= 1200 then
  590. local BANG = Instance.new("Explosion")
  591. BANG.Position = script.Parent.Position
  592. BANG.DestroyJointRadiusPercent = 0
  593. BANG.Parent = script.Parent
  594. script.Parent.Sound2:Play()
  595. print "# SUPREME SLAM #"
  596. end
  597. end
  598. script.Parent.Touched:connect(onTouched)
  599. end))
  600. Sound50.Name = "Sound2"
  601. Sound50.Parent = Part47
  602. Sound50.SoundId = "rbxassetid://168485325"
  603. Sound50.Volume = 1
  604. Sound51.Name = "Sound3"
  605. Sound51.Parent = Part47
  606. Sound51.SoundId = "rbxassetid://191040613"
  607. Sound51.Volume = 1
  608. Script52.Name = "On contact, break stuff"
  609. Script52.Parent = Part47
  610. table.insert(cors,sandbox(Script52,function()
  611. function onTouched(hit)
  612. if hit.Parent == nil then return end
  613. if hit.Parent:FindFirstChild("Humanoid") ~= nil then return end
  614. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  615. if HitPower >= 400 then hit:BreakJoints()
  616. end
  617. end
  618. script.Parent.Touched:connect(onTouched)
  619. end))
  620. Fire53.Name = "Fire2"
  621. Fire53.Parent = Part47
  622. Fire53.Size = 10
  623. Fire53.Enabled = false
  624. Fire53.Heat = -5
  625. Fire53.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  626. Script54.Name = "On contact, thud"
  627. Script54.Parent = Part47
  628. table.insert(cors,sandbox(Script54,function()
  629. function onTouched(hit)
  630. if hit.CanCollide == false then return end
  631. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  632. if HitPower >= 600 then
  633. script.Parent.Fire2.Enabled = true
  634. script.Parent.Sound3:Play()
  635. wait(0.2)
  636. script.Parent.Fire2.Enabled = false
  637. end
  638. end
  639. script.Parent.Touched:connect(onTouched)
  640. end))
  641. Script55.Name = "On contact, clang"
  642. Script55.Parent = Part47
  643. table.insert(cors,sandbox(Script55,function()
  644. function onTouched(hit)
  645. if hit == nil then return end
  646. if hit.CanCollide == false then return end
  647. if hit.ClassName == "Terrain" then return end
  648. script.Parent.Sound:Play()
  649. if hit.Parent:FindFirstChild("Humanoid") ~= nil then return end
  650. script.Parent.Parent.Humanoid:TakeDamage((math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20)
  651. if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
  652. if script.Parent.Parent["Car Seat"].Occupant == nil then return end
  653. local Name = script.Parent.Parent["Car Seat"].Occupant.Parent.Name
  654. local Player = game.Players:FindFirstChild(Name)
  655. if Player == nil then return end
  656. local Attacker = Instance.new("ObjectValue",script.Parent.Parent["Car Seat"].Occupant)
  657. Attacker.Name = "creator"
  658. Attacker.Value = Player
  659. local Weapon = Instance.new("StringValue",Attacker)
  660. Weapon.Name = "weapon"
  661. Weapon.Value = "driving to crash"
  662. wait(5)
  663. Attacker:Destroy()
  664. end
  665. script.Parent.Touched:connect(onTouched)
  666. end))
  667. Script56.Name = "On contact, damage"
  668. Script56.Parent = Part47
  669. table.insert(cors,sandbox(Script56,function()
  670. function onTouched(hit)
  671. if hit.Parent == nil then return end
  672. if hit.Parent:FindFirstChild("Humanoid") == nil then return end
  673. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  674. if HitPower <= 150 then return end
  675. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(HitPower)
  676. if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
  677. if script.Parent.Parent["Car Seat"].Occupant == nil then return end
  678. local Name = script.Parent.Parent["Car Seat"].Occupant.Parent.Name
  679. local Player = game.Players:FindFirstChild(Name)
  680. if Player == nil then return end
  681. if hit.Parent:FindFirstChild("Car Seat") then
  682. Attacker = Instance.new("ObjectValue",hit.Parent["Car Seat"].Occupant)
  683. else
  684. Attacker = Instance.new("ObjectValue",hit.Parent.Humanoid)
  685. end
  686. Attacker.Name = "creator"
  687. Attacker.Value = Player
  688. local Weapon = Instance.new("StringValue",Attacker)
  689. Weapon.Name = "weapon"
  690. Weapon.Value = "Bumper"
  691. wait(5)
  692. Attacker:Destroy()
  693. end
  694. script.Parent.Touched:connect(onTouched)
  695.  
  696. end))
  697. Humanoid57.Parent = Model6
  698. Humanoid57.RightLeg = Part107
  699. Humanoid57.LeftLeg = Part97
  700. Humanoid57.Torso = Part36
  701. Humanoid57.Health = 1200
  702. Humanoid57.MaxHealth = 1200
  703. Script58.Name = "When demolished, name, disable bumper, destroy cannon and print to log"
  704. Script58.Parent = Humanoid57
  705. table.insert(cors,sandbox(Script58,function()
  706. function Die()
  707. print (script.Parent.Parent.Name.." GOT WRECKED!")
  708. if script.Parent.Parent:FindFirstChild("Head") == nil then return end
  709. script.Parent.Parent.Head["On contact, damage"].Disabled = true
  710. script.Parent.Parent.Head["On contact, explode"].Disabled = true
  711. script.Parent.Parent.Head["On contact, break stuff"].Disabled = true
  712. if script.Parent.Parent:FindFirstChild("FIRE!") == nil then return end
  713. script.Parent.Parent["FIRE!"].ClickDetector:Destroy()
  714. script.Parent.Parent.Name = script.Parent.Parent.Name.." (Demolished)"
  715. end
  716.  
  717. script.Parent.Died:connect(Die)
  718. end))
  719. Script59.Name = "When demolished, wait 3 min then remove"
  720. Script59.Parent = Humanoid57
  721. table.insert(cors,sandbox(Script59,function()
  722. function Die()
  723. wait(180)
  724. script.Parent.Parent:remove()
  725. end
  726.  
  727. script.Parent.Died:connect(Die)
  728. end))
  729. Script60.Name = "When demolished, sound"
  730. Script60.Parent = Humanoid57
  731. table.insert(cors,sandbox(Script60,function()
  732. function Die()
  733. wait(0.2)
  734. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  735. script.Parent.Parent.Base.Sound:Play()
  736. script.Parent.Parent.Base.Sound2:Play()
  737. end
  738. script.Parent.Died:connect(Die)
  739. end))
  740. Script61.Name = "When demolished, break the engine"
  741. Script61.Parent = Humanoid57
  742. table.insert(cors,sandbox(Script61,function()
  743. function Die()
  744. if script.Parent.Parent:FindFirstChild("Engine") == nil then return end
  745. script.Parent.Parent.Engine.Engine:Stop()
  746. end
  747. script.Parent.Died:connect(Die)
  748. end))
  749. Script62.Name = "When demolished, disable chair"
  750. Script62.Parent = Humanoid57
  751. table.insert(cors,sandbox(Script62,function()
  752. function Die()
  753. if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
  754. script.Parent.Parent["Car Seat"].Disabled = true
  755. end
  756.  
  757. script.Parent.Died:connect(Die)
  758. end))
  759. Script63.Name = "When demolished, remove instantly if bumper gone."
  760. Script63.Parent = Humanoid57
  761. table.insert(cors,sandbox(Script63,function()
  762. function Die()
  763. wait(6)
  764. if script.Parent.Parent:FindFirstChild("Head") == nil then
  765. print ("Looks like "..script.Parent.Parent.Name.." got nil.")
  766. script.Parent.Parent:Destroy()
  767. elseif script.Parent.Parent:FindFirstChild("Head") ~= nil then return end
  768. end
  769. script.Parent.Died:connect(Die)
  770. end))
  771. Script64.Name = "When demolished, disable light"
  772. Script64.Parent = Humanoid57
  773. table.insert(cors,sandbox(Script64,function()
  774. function Die()
  775. if script.Parent.Parent:FindFirstChild("Torso") == nil then return end
  776. script.Parent.Parent.Torso.SpotLight.Enabled = false
  777. end
  778.  
  779. script.Parent.Died:connect(Die)
  780. end))
  781. Script65.Name = "When demolished, ambient explosion"
  782. Script65.Parent = Humanoid57
  783. table.insert(cors,sandbox(Script65,function()
  784. function Die()
  785. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  786. local l = script.Parent.Parent.Base.PointLight
  787. l.Enabled = true
  788. wait(0.02)
  789. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  790. l.Enabled = false
  791. wait(0.02)
  792. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  793. l.Enabled = true
  794. wait(0.02)
  795. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  796. l.Enabled = false
  797. wait(0.02)
  798. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  799. l.Enabled = true
  800. wait(0.02)
  801. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  802. l.Enabled = false
  803. wait(0.02)
  804. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  805. l.Enabled = true
  806. wait(0.02)
  807. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  808. l.Enabled = false
  809. wait(0.02)
  810. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  811. l.Enabled = true
  812. wait(0.02)
  813. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  814. l.Enabled = false
  815. end
  816.  
  817. script.Parent.Died:connect(Die)
  818. end))
  819. Script66.Name = "When demolished, hollywood"
  820. Script66.Parent = Humanoid57
  821. table.insert(cors,sandbox(Script66,function()
  822. function Die()
  823. wait(0.2)
  824. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  825. e = Instance.new("Explosion")
  826. e.Parent = script.Parent.Parent
  827. e.DestroyJointRadiusPercent = 1
  828. e.Position = script.Parent.Parent.Base.Position + Vector3.new(0,3.6,0)
  829. e.ExplosionType = "NoCraters"
  830. e.BlastRadius = 20
  831. e.BlastPressure = 1000000
  832. f = script.Parent.Parent.Base.Fire
  833. f.Enabled = true
  834. wait(0.2)
  835. f.Size = f.Size - 1
  836. wait(0.2)
  837. f.Size = f.Size - 1
  838. wait(0.2)
  839. f.Size = f.Size - 1
  840. wait(0.2)
  841. f.Size = f.Size - 1
  842. wait(0.2)
  843. f.Size = f.Size - 1
  844. wait(0.2)
  845. f.Size = f.Size - 1
  846. wait(0.2)
  847. f.Size = f.Size - 1
  848. wait(0.2)
  849. f.Size = f.Size - 1
  850. wait(0.2)
  851. f.Size = f.Size - 1
  852. wait(0.2)
  853. f.Size = f.Size - 1
  854. wait(0.2)
  855. f.Size = f.Size - 1
  856. wait(0.2)
  857. f.Size = f.Size - 1
  858. wait(0.2)
  859. f.Size = f.Size - 1
  860. wait(0.2)
  861. f.Size = f.Size - 1
  862. wait(0.2)
  863. f.Size = f.Size - 1
  864. wait(0.2)
  865. f.Size = f.Size - 1
  866. wait(0.2)
  867. f.Size = f.Size - 1
  868. wait(0.2)
  869. f.Size = f.Size - 1
  870. wait(0.2)
  871. f.Size = f.Size - 1
  872. wait(0.2)
  873. f.Size = f.Size - 1
  874. wait(0.2)
  875. f.Size = f.Size - 1
  876. wait(0.2)
  877. f.Size = f.Size - 1
  878. wait(0.2)
  879. f.Size = f.Size - 1
  880. wait(0.2)
  881. f.Size = f.Size - 1
  882. end
  883. script.Parent.Died:connect(Die)
  884. end))
  885. Script67.Name = "Auto heal"
  886. Script67.Parent = Humanoid57
  887. table.insert(cors,sandbox(Script67,function()
  888. while true do
  889. if script.Parent.Health >= script.Parent.MaxHealth then script.Parent.Health = script.Parent.MaxHealth return end
  890. if script.Parent.Health == 0 then return end
  891. script.Parent.Health = script.Parent.Health + 3
  892. wait(0.5)
  893. end
  894. end))
  895. Script68.Name = "Auto sit"
  896. Script68.Parent = Humanoid57
  897. table.insert(cors,sandbox(Script68,function()
  898. while true do
  899. wait(0.1)
  900. script.Parent.Sit = true
  901. end
  902. end))
  903. Script69.Name = "When demolished, make leaderboards compatible"
  904. Script69.Parent = Humanoid57
  905. table.insert(cors,sandbox(Script69,function()
  906. function Died()
  907. script.Parent.Health = script.Parent.Health + 0.01
  908. script.Disabled = true
  909. if script.Parent.Parent:FindFirstChild("Car Seat") ~= nil then
  910. if script.Parent.Parent["Car Seat"].Occupant ~= nil then
  911. if script.Parent.Parent["Car Seat"].Occupant.Parent ~= nil then
  912. if script.Parent:FindFirstChild("creator") ~= nil then
  913. local ClonedTag = script.Parent.creator:Clone()
  914. ClonedTag.Parent = script.Parent.Parent["Car Seat"].Occupant.Parent.Humanoid
  915. end
  916. end
  917. end
  918. end
  919. wait()
  920. script.Parent.Health = script.Parent.Health - 0.01
  921. end
  922. script.Parent.Died:connect(Died)
  923. end))
  924. Part70.Name = "Flag"
  925. Part70.Parent = Model6
  926. Part70.Material = Enum.Material.Fabric
  927. Part70.BrickColor = BrickColor.new("Neon orange")
  928. Part70.Rotation = Vector3.new(0, 90, 0)
  929. Part70.Locked = true
  930. Part70.Size = Vector3.new(1, 2, 3)
  931. Part70.CFrame = CFrame.new(24.7847404, 6.20233154, 117.05442, 7.54893554e-05, 6.63593391e-06, 1.00000107, -3.92723887e-05, 1, -6.63414949e-06, -1.00000131, -3.92724651e-05, 7.55042784e-05)
  932. Part70.BottomSurface = Enum.SurfaceType.Smooth
  933. Part70.TopSurface = Enum.SurfaceType.Smooth
  934. Part70.Color = Color3.new(0.835294, 0.45098, 0.239216)
  935. Part70.Position = Vector3.new(24.7847404, 6.20233154, 117.05442)
  936. Part70.Orientation = Vector3.new(0, 90, 0)
  937. Part70.Color = Color3.new(0.835294, 0.45098, 0.239216)
  938. Sound71.Parent = Part70
  939. Sound71.Pitch = 1.5
  940. Sound71.SoundId = "rbxassetid://356659053"
  941. Sound71.Volume = 1
  942. Script72.Name = "On contact, sound"
  943. Script72.Parent = Part70
  944. table.insert(cors,sandbox(Script72,function()
  945. function onTouched(hit)
  946. if hit.CanCollide == false then return end
  947. script.Parent.Sound:Play()
  948. end
  949. script.Parent.Touched:connect(onTouched)
  950. end))
  951. Script73.Name = "On contact, heal"
  952. Script73.Parent = Part70
  953. table.insert(cors,sandbox(Script73,function()
  954. function onTouched()
  955. script.Parent.Parent.Humanoid.Health = script.Parent.Parent.Humanoid.Health + 3
  956. end
  957. script.Parent.Touched:connect(onTouched)
  958. end))
  959. Sound74.Name = "Sound3"
  960. Sound74.Parent = Part70
  961. Sound74.SoundId = "rbxassetid://191040613"
  962. Sound74.Volume = 1
  963. Fire75.Name = "Fire2"
  964. Fire75.Parent = Part70
  965. Fire75.Size = 10
  966. Fire75.Enabled = false
  967. Fire75.Heat = -5
  968. Fire75.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  969. Script76.Name = "On contact, thud"
  970. Script76.Parent = Part70
  971. table.insert(cors,sandbox(Script76,function()
  972. function onTouched(hit)
  973. if hit.CanCollide == false then return end
  974. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  975. if HitPower >= 600 then
  976. script.Parent.Fire2.Enabled = true
  977. script.Parent.Sound3:Play()
  978. wait(0.2)
  979. script.Parent.Fire2.Enabled = false
  980. end
  981. end
  982. script.Parent.Touched:connect(onTouched)
  983. end))
  984. Part77.Name = "Engine"
  985. Part77.Parent = Model6
  986. Part77.Material = Enum.Material.CorrodedMetal
  987. Part77.BrickColor = BrickColor.new("Reddish brown")
  988. Part77.Rotation = Vector3.new(0, -90, 0)
  989. Part77.Locked = true
  990. Part77.Size = Vector3.new(3, 2.19999981, 2)
  991. Part77.CFrame = CFrame.new(26.2851639, 4.10214949, 117.054649, -7.21961551e-05, 6.4286005e-06, -1.0000006, 4.09160166e-05, 1, 6.42636405e-06, 1.00000083, -4.09159147e-05, -7.21961696e-05)
  992. Part77.BottomSurface = Enum.SurfaceType.Smooth
  993. Part77.TopSurface = Enum.SurfaceType.Smooth
  994. Part77.Color = Color3.new(0.411765, 0.25098, 0.156863)
  995. Part77.Position = Vector3.new(26.2851639, 4.10214949, 117.054649)
  996. Part77.Orientation = Vector3.new(0, -90, 0)
  997. Part77.Color = Color3.new(0.411765, 0.25098, 0.156863)
  998. Sound78.Name = "Engine"
  999. Sound78.Parent = Part77
  1000. Sound78.Pitch = 0
  1001. Sound78.SoundId = "rbxassetid://130091914"
  1002. Sound78.Volume = 0.69999998807907
  1003. Sound78.Looped = true
  1004. Script79.Name = "Sound when driving"
  1005. Script79.Parent = Part77
  1006. table.insert(cors,sandbox(Script79,function()
  1007. while true do
  1008. wait(0.01)
  1009. if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
  1010. script.Parent.Engine.PlaybackSpeed = (math.abs(script.Parent.Parent["Car Seat"].Velocity.X) + math.abs(script.Parent.Parent["Car Seat"].Velocity.Y) + math.abs(script.Parent.Parent["Car Seat"].Velocity.Z)) / 60
  1011. end
  1012. end))
  1013. Motor6D80.Parent = Part77
  1014. Motor6D80.C1 = CFrame.new(-3.05175781e-05, -2.10017252, 1.50043488, -1.00000048, 1.64366793e-06, -3.29315662e-06, 1.6434351e-06, 1, -2.07452103e-07, 3.30805779e-06, -2.07917765e-07, -1.00000048)
  1015. Motor6D80.Part0 = Part77
  1016. Motor6D80.Part1 = Part70
  1017. Sound81.Name = "Sound3"
  1018. Sound81.Parent = Part77
  1019. Sound81.SoundId = "rbxassetid://191040613"
  1020. Sound81.Volume = 1
  1021. Fire82.Name = "Fire2"
  1022. Fire82.Parent = Part77
  1023. Fire82.Size = 10
  1024. Fire82.Enabled = false
  1025. Fire82.Heat = -5
  1026. Fire82.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  1027. Script83.Name = "On contact, thud"
  1028. Script83.Parent = Part77
  1029. table.insert(cors,sandbox(Script83,function()
  1030. function onTouched(hit)
  1031. if hit.CanCollide == false then return end
  1032. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  1033. if HitPower >= 600 then
  1034. script.Parent.Fire2.Enabled = true
  1035. script.Parent.Sound3:Play()
  1036. wait(0.2)
  1037. script.Parent.Fire2.Enabled = false
  1038. end
  1039. end
  1040. script.Parent.Touched:connect(onTouched)
  1041. end))
  1042. Motor6D84.Parent = Part77
  1043. Motor6D84.C1 = CFrame.new(3.86238098e-05, -1.8992691, 0.502384186, 1.00000083, -4.09159147e-05, -7.21961696e-05, 4.09160166e-05, 1, 6.42636405e-06, 7.21961551e-05, -6.4286005e-06, 1.0000006)
  1044. Motor6D84.Part0 = Part77
  1045. Motor6D84.Part1 = Part31
  1046. Part85.Name = "FIRE!"
  1047. Part85.Parent = Model6
  1048. Part85.Material = Enum.Material.Neon
  1049. Part85.BrickColor = BrickColor.new("Lime green")
  1050. Part85.Transparency = 0.75
  1051. Part85.Rotation = Vector3.new(0, -90, 0)
  1052. Part85.CanCollide = false
  1053. Part85.Locked = true
  1054. Part85.Size = Vector3.new(3, 3, 2)
  1055. Part85.CFrame = CFrame.new(31.2909317, 7.50282145, 117.054535, 8.5492502e-11, 3.23665432e-08, -1.00000477, 1.40011247e-08, 1, 3.93531678e-08, 1.00000834, -1.69062453e-08, 1.05956133e-10)
  1056. Part85.BottomSurface = Enum.SurfaceType.Smooth
  1057. Part85.TopSurface = Enum.SurfaceType.Smooth
  1058. Part85.Color = Color3.new(0, 1, 0)
  1059. Part85.Position = Vector3.new(31.2909317, 7.50282145, 117.054535)
  1060. Part85.Orientation = Vector3.new(0, -90, 0)
  1061. Part85.Color = Color3.new(0, 1, 0)
  1062. Script86.Name = "Fire"
  1063. Script86.Parent = Part85
  1064. table.insert(cors,sandbox(Script86,function()
  1065. local Colour = script.Parent.Parent.Base.BrickColor
  1066. function Clicked()
  1067. script.Parent.Sound3:Play()
  1068. local Ammo = Instance.new("Part")
  1069. Ammo.BrickColor = Colour
  1070. Ammo.Material = "Neon"
  1071. Ammo.Parent = script.Parent
  1072. Ammo.Velocity = script.Parent.CFrame.lookVector * 1200
  1073. Ammo.CFrame = script.Parent.CFrame * CFrame.new(0,7,-15)
  1074. Ammo.Size = Vector3.new(20,20,20)
  1075. Ammo.Shape = "Ball"
  1076. Ammo.Name = script.Parent.Parent.Name.."'s cannonball"
  1077. Ammo.TopSurface = "Smooth"
  1078. Ammo.BottomSurface = "Smooth"
  1079. Ammo.Velocity = Vector3.new(Ammo.Velocity.X,script.Parent.Velocity.Y * 7,Ammo.Velocity.Z)
  1080. local Mesh = script.Mesh:Clone()
  1081. Mesh.Parent = Ammo
  1082. local float = script.BodyForce:Clone()
  1083. float.Parent = Ammo
  1084. local explosive = script["On contact, explode"]:Clone()
  1085. explosive.Parent = Ammo
  1086. explosive.Disabled = false
  1087. local damager = script["Cause damage"]:Clone()
  1088. damager.Parent = Ammo
  1089. damager.Disabled = false
  1090. local flash = script.PointLight:Clone()
  1091. flash.Parent = Ammo
  1092. local flasher = script["Flash ambient"]:Clone()
  1093. flasher.Parent = Ammo
  1094. flasher.Disabled = false
  1095. local sound = script.Sound:Clone()
  1096. sound.Parent = Ammo
  1097. script.Parent.BrickColor = BrickColor.new("Really red")
  1098. script.Disabled = true
  1099. wait(1)
  1100. script.Parent.BrickColor = BrickColor.new("New Yeller")
  1101. wait(0.5)
  1102. float:Destroy()
  1103. wait(0.5)
  1104. script.Parent.BrickColor = BrickColor.new("Lime green")
  1105. script.Disabled = false
  1106. end
  1107. script.Parent.ClickDetector.MouseClick:connect(Clicked)
  1108. end))
  1109. Sound87.Parent = Script86
  1110. Sound87.Pitch = 1.2000000476837
  1111. Sound87.SoundId = "http://www.roblox.com/asset/?id=66868084 "
  1112. Sound87.Volume = 1
  1113. SpecialMesh88.Parent = Script86
  1114. SpecialMesh88.MeshType = Enum.MeshType.Sphere
  1115. PointLight89.Parent = Script86
  1116. PointLight89.Color = Color3.new(1, 0.313726, 0.0196078)
  1117. PointLight89.Enabled = false
  1118. PointLight89.Brightness = 60
  1119. PointLight89.Range = 60
  1120. PointLight89.Shadows = true
  1121. PointLight89.Color = Color3.new(1, 0.313726, 0.0196078)
  1122. Script90.Name = "Flash ambient"
  1123. Script90.Parent = Script86
  1124. Script90.Disabled = true
  1125. table.insert(cors,sandbox(Script90,function()
  1126. function onTouched(hit)
  1127. if hit == nil then return end
  1128. if hit.CanCollide == false then return end
  1129. script.Disabled = true
  1130. for f = 1,5 do
  1131. wait(0.02)
  1132. script.Parent.PointLight.Enabled = true
  1133. wait(0.02)
  1134. script.Parent.PointLight.Enabled = false
  1135. end
  1136. end
  1137. script.Parent.Touched:connect(onTouched)
  1138. end))
  1139. BodyForce91.Parent = Script86
  1140. BodyForce91.force = Vector3.new(0, 622516.75, 0)
  1141. Script92.Name = "On contact, explode"
  1142. Script92.Parent = Script86
  1143. Script92.Disabled = true
  1144. table.insert(cors,sandbox(Script92,function()
  1145. function onTouched(hit)
  1146. if hit == nil then return end
  1147. if hit.CanCollide == false then return end
  1148. script.Parent.Anchored = true
  1149. wait(0)
  1150. local BOOM = Instance.new("Explosion")
  1151. BOOM.Parent = script.Parent.Parent
  1152. BOOM.Position = script.Parent.Position
  1153. BOOM.BlastRadius = script.Parent.Size.Y * 2
  1154. script.Parent.Sound:Play()
  1155. script.Disabled = true
  1156. script.Parent.CanCollide = false
  1157. script.Parent.Position = script.Parent.Position
  1158. script.Parent.Mesh.Scale = Vector3.new(4,4,4)
  1159. script.Parent.BrickColor = BrickColor.new("Neon orange")
  1160. script.Parent.Transparency = 0.3
  1161. local HitScript = script["Explosion hit"]:Clone()
  1162. HitScript.Parent = BOOM
  1163. HitScript.Disabled = false
  1164. wait(0.1)
  1165. script.Parent.Transparency = 0.4
  1166. wait(0.1)
  1167. script.Parent.Transparency = 0.5
  1168. script.Parent.BrickColor = BrickColor.new("Really red")
  1169. wait(0.1)
  1170. script.Parent.Transparency = 0.6
  1171. wait(0.1)
  1172. script.Parent.Transparency = 0.7
  1173. script.Parent.BrickColor = BrickColor.new("Really black")
  1174. wait(0.1)
  1175. script.Parent.Transparency = 0.8
  1176. wait(0.1)
  1177. script.Parent.Transparency = 0.9
  1178. wait(0.1)
  1179. script.Parent.Transparency = 1
  1180. wait(1.3)
  1181. script.Parent:Destroy()
  1182. end
  1183. script.Parent.Touched:connect(onTouched)
  1184. end))
  1185. Script93.Name = "Explosion hit"
  1186. Script93.Parent = Script92
  1187. Script93.Disabled = true
  1188. table.insert(cors,sandbox(Script93,function()
  1189. function HitPart(part)
  1190. if part == nil then return end
  1191. if part.Parent == nil then return end
  1192. if script.Parent.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
  1193. if script.Parent.Parent.Parent["Car Seat"].Occupant == nil then return end
  1194. if part.Parent:FindFirstChild("Humanoid") then
  1195. if part.Parent:FindFirstChild("Car Seat") then
  1196. creator = Instance.new("ObjectValue",part.Parent["Car Seat"].Occupant)
  1197. else
  1198. creator = Instance.new("ObjectValue",part.Parent.Humanoid)
  1199. end
  1200. local weapon = Instance.new("StringValue",creator)
  1201. creator.Name = "creator"
  1202. weapon.Name = "weapon"
  1203. creator.Value = game.Players:GetPlayerFromCharacter(script.Parent.Parent.Parent["Car Seat"].Occupant.Parent)
  1204. weapon.Value = "radiation from blast"
  1205. game:GetService("Debris"):AddItem(creator,2)
  1206. end
  1207. end
  1208. script.Parent.Hit:connect(HitPart)
  1209. end))
  1210. Script94.Name = "Cause damage"
  1211. Script94.Parent = Script86
  1212. Script94.Disabled = true
  1213. table.insert(cors,sandbox(Script94,function()
  1214. function onTouched(hit)
  1215. if hit == nil then return end
  1216. if hit.CanCollide == false then return end
  1217. if hit.Parent:FindFirstChild("Humanoid") == nil then script.Disabled = true return end
  1218. local damage = math.random(500,5000)
  1219. hit.Parent.Humanoid:TakeDamage(damage)
  1220. script.Disabled = true
  1221. if script.Parent.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
  1222. if script.Parent.Parent.Parent["Car Seat"].Occupant == nil then return end
  1223. local Name = script.Parent.Parent.Parent["Car Seat"].Occupant.Parent.Name
  1224. local Player = game.Players:FindFirstChild(Name)
  1225. if Player == nil then return end
  1226. if hit.Parent:FindFirstChild("Car Seat") then
  1227. Attacker = Instance.new("ObjectValue",hit.Parent["Car Seat"].Occupant)
  1228. else
  1229. Attacker = Instance.new("ObjectValue",hit.Parent.Humanoid)
  1230. end
  1231. Attacker.Name = "creator"
  1232. Attacker.Value = Player
  1233. local Weapon = Instance.new("StringValue",Attacker)
  1234. Weapon.Name = "weapon"
  1235. Weapon.Value = "Cannonball"
  1236. wait(5)
  1237. Attacker:Destroy()
  1238. end
  1239. script.Parent.Touched:connect(onTouched)
  1240. end))
  1241. ClickDetector95.Parent = Part85
  1242. ClickDetector95.MaxActivationDistance = 4
  1243. Sound96.Name = "Sound3"
  1244. Sound96.Parent = Part85
  1245. Sound96.SoundId = "rbxassetid://191040613"
  1246. Sound96.Volume = 1
  1247. Part97.Name = "Left Leg"
  1248. Part97.Parent = Model6
  1249. Part97.Material = Enum.Material.DiamondPlate
  1250. Part97.BrickColor = BrickColor.new("Dark stone grey")
  1251. Part97.Rotation = Vector3.new(0, -90, 0)
  1252. Part97.Locked = true
  1253. Part97.Size = Vector3.new(1, 1, 3)
  1254. Part97.CFrame = CFrame.new(24.7873554, 4.50141859, 115.054451, -3.51674021e-06, -1.27818367e-07, -1.00000036, -7.21334743e-08, 1, -1.27352735e-07, 1.0000006, 7.19007218e-08, -3.51674021e-06)
  1255. Part97.BottomSurface = Enum.SurfaceType.Smooth
  1256. Part97.TopSurface = Enum.SurfaceType.Smooth
  1257. Part97.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1258. Part97.Position = Vector3.new(24.7873554, 4.50141859, 115.054451)
  1259. Part97.Orientation = Vector3.new(0, -90, 0)
  1260. Part97.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1261. Sound98.Name = "Sound3"
  1262. Sound98.Parent = Part97
  1263. Sound98.SoundId = "rbxassetid://191040613"
  1264. Sound98.Volume = 1
  1265. Script99.Name = "On contact, thud"
  1266. Script99.Parent = Part97
  1267. table.insert(cors,sandbox(Script99,function()
  1268. function onTouched(hit)
  1269. if hit.CanCollide == false then return end
  1270. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  1271. if HitPower >= 600 then
  1272. script.Parent.Fire2.Enabled = true
  1273. script.Parent.Sound3:Play()
  1274. wait(0.2)
  1275. script.Parent.Fire2.Enabled = false
  1276. end
  1277. end
  1278. script.Parent.Touched:connect(onTouched)
  1279. end))
  1280. Fire100.Name = "Fire2"
  1281. Fire100.Parent = Part97
  1282. Fire100.Size = 10
  1283. Fire100.Enabled = false
  1284. Fire100.Heat = -5
  1285. Fire100.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  1286. Fire101.Name = "FireEffect"
  1287. Fire101.Parent = Part97
  1288. Fire101.Color = Color3.new(0, 0.666667, 1)
  1289. Fire101.Heat = 0
  1290. Fire101.SecondaryColor = Color3.new(0, 0.333333, 0.498039)
  1291. Fire101.Color = Color3.new(0, 0.666667, 1)
  1292. Part102.Name = "Left Arm"
  1293. Part102.Parent = Model6
  1294. Part102.Material = Enum.Material.DiamondPlate
  1295. Part102.BrickColor = BrickColor.new("Dark stone grey")
  1296. Part102.Rotation = Vector3.new(0, -90, 0)
  1297. Part102.Locked = true
  1298. Part102.Size = Vector3.new(1, 1, 3)
  1299. Part102.CFrame = CFrame.new(25.7874107, 3.50142026, 115.054466, -3.51675999e-06, -1.16871433e-07, -1.00000036, -6.74290987e-08, 1, -1.16405843e-07, 1.0000006, 6.71963676e-08, -3.51675999e-06)
  1300. Part102.BottomSurface = Enum.SurfaceType.Smooth
  1301. Part102.TopSurface = Enum.SurfaceType.Smooth
  1302. Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1303. Part102.Position = Vector3.new(25.7874107, 3.50142026, 115.054466)
  1304. Part102.Orientation = Vector3.new(0, -90, 0)
  1305. Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1306. Sound103.Name = "Sound3"
  1307. Sound103.Parent = Part102
  1308. Sound103.SoundId = "rbxassetid://191040613"
  1309. Sound103.Volume = 1
  1310. Script104.Name = "On contact, thud"
  1311. Script104.Parent = Part102
  1312. table.insert(cors,sandbox(Script104,function()
  1313. function onTouched(hit)
  1314. if hit.CanCollide == false then return end
  1315. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  1316. if HitPower >= 600 then
  1317. script.Parent.Fire2.Enabled = true
  1318. script.Parent.Sound3:Play()
  1319. wait(0.2)
  1320. script.Parent.Fire2.Enabled = false
  1321. end
  1322. end
  1323. script.Parent.Touched:connect(onTouched)
  1324. end))
  1325. Fire105.Name = "Fire2"
  1326. Fire105.Parent = Part102
  1327. Fire105.Size = 10
  1328. Fire105.Enabled = false
  1329. Fire105.Heat = -5
  1330. Fire105.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  1331. Fire106.Name = "FireEffect"
  1332. Fire106.Parent = Part102
  1333. Fire106.Color = Color3.new(0, 0.666667, 1)
  1334. Fire106.Heat = 0
  1335. Fire106.SecondaryColor = Color3.new(0, 0.333333, 0.498039)
  1336. Fire106.Color = Color3.new(0, 0.666667, 1)
  1337. Part107.Name = "Right Leg"
  1338. Part107.Parent = Model6
  1339. Part107.Material = Enum.Material.DiamondPlate
  1340. Part107.BrickColor = BrickColor.new("Dark stone grey")
  1341. Part107.Rotation = Vector3.new(0, -90, 0)
  1342. Part107.Locked = true
  1343. Part107.Size = Vector3.new(1, 1, 3)
  1344. Part107.CFrame = CFrame.new(24.7872887, 4.50141716, 119.054794, -3.51672975e-06, -1.39464134e-07, -1.00000036, -7.7127261e-08, 1, -1.38998487e-07, 1.0000006, 7.68944659e-08, -3.51672975e-06)
  1345. Part107.BottomSurface = Enum.SurfaceType.Smooth
  1346. Part107.TopSurface = Enum.SurfaceType.Smooth
  1347. Part107.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1348. Part107.Position = Vector3.new(24.7872887, 4.50141716, 119.054794)
  1349. Part107.Orientation = Vector3.new(0, -90, 0)
  1350. Part107.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1351. Sound108.Name = "Sound3"
  1352. Sound108.Parent = Part107
  1353. Sound108.SoundId = "rbxassetid://191040613"
  1354. Sound108.Volume = 1
  1355. Script109.Name = "On contact, thud"
  1356. Script109.Parent = Part107
  1357. table.insert(cors,sandbox(Script109,function()
  1358. function onTouched(hit)
  1359. if hit.CanCollide == false then return end
  1360. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  1361. if HitPower >= 600 then
  1362. script.Parent.Fire2.Enabled = true
  1363. script.Parent.Sound3:Play()
  1364. wait(0.2)
  1365. script.Parent.Fire2.Enabled = false
  1366. end
  1367. end
  1368. script.Parent.Touched:connect(onTouched)
  1369. end))
  1370. Fire110.Name = "Fire2"
  1371. Fire110.Parent = Part107
  1372. Fire110.Size = 10
  1373. Fire110.Enabled = false
  1374. Fire110.Heat = -5
  1375. Fire110.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  1376. Fire111.Name = "FireEffect"
  1377. Fire111.Parent = Part107
  1378. Fire111.Color = Color3.new(0, 0.666667, 1)
  1379. Fire111.Heat = 0
  1380. Fire111.SecondaryColor = Color3.new(0, 0.333333, 0.498039)
  1381. Fire111.Color = Color3.new(0, 0.666667, 1)
  1382. Part112.Name = "Right Arm"
  1383. Part112.Parent = Model6
  1384. Part112.Material = Enum.Material.DiamondPlate
  1385. Part112.BrickColor = BrickColor.new("Dark stone grey")
  1386. Part112.Rotation = Vector3.new(0, -90, 0)
  1387. Part112.Locked = true
  1388. Part112.Size = Vector3.new(1, 1, 3)
  1389. Part112.CFrame = CFrame.new(25.787365, 3.5014205, 119.054764, -3.51673566e-06, -1.33175789e-07, -1.00000036, -7.43981232e-08, 1, -1.32710156e-07, 1.0000006, 7.41653423e-08, -3.51673566e-06)
  1390. Part112.BottomSurface = Enum.SurfaceType.Smooth
  1391. Part112.TopSurface = Enum.SurfaceType.Smooth
  1392. Part112.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1393. Part112.Position = Vector3.new(25.787365, 3.5014205, 119.054764)
  1394. Part112.Orientation = Vector3.new(0, -90, 0)
  1395. Part112.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1396. Sound113.Name = "Sound3"
  1397. Sound113.Parent = Part112
  1398. Sound113.SoundId = "rbxassetid://191040613"
  1399. Sound113.Volume = 1
  1400. Script114.Name = "On contact, thud"
  1401. Script114.Parent = Part112
  1402. table.insert(cors,sandbox(Script114,function()
  1403. function onTouched(hit)
  1404. if hit.CanCollide == false then return end
  1405. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Velocity.z)) * 20
  1406. if HitPower >= 600 then
  1407. script.Parent.Fire2.Enabled = true
  1408. script.Parent.Sound3:Play()
  1409. wait(0.2)
  1410. script.Parent.Fire2.Enabled = false
  1411. end
  1412. end
  1413. script.Parent.Touched:connect(onTouched)
  1414. end))
  1415. Fire115.Name = "Fire2"
  1416. Fire115.Parent = Part112
  1417. Fire115.Size = 10
  1418. Fire115.Enabled = false
  1419. Fire115.Heat = -5
  1420. Fire115.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  1421. Fire116.Name = "FireEffect"
  1422. Fire116.Parent = Part112
  1423. Fire116.Color = Color3.new(0, 0.666667, 1)
  1424. Fire116.Heat = 0
  1425. Fire116.SecondaryColor = Color3.new(0, 0.333333, 0.498039)
  1426. Fire116.Color = Color3.new(0, 0.666667, 1)
  1427. ForceField117.Parent = Model6
  1428. Script118.Name = "Wait 10 sec then remove"
  1429. Script118.Parent = ForceField117
  1430. table.insert(cors,sandbox(Script118,function()
  1431. wait(10)
  1432. script.Parent:Destroy()
  1433. end))
  1434. Part119.Name = "AirstrikeLaserSight"
  1435. Part119.Parent = Model6
  1436. Part119.Material = Enum.Material.Neon
  1437. Part119.BrickColor = BrickColor.new("Really red")
  1438. Part119.Transparency = 0.75
  1439. Part119.Rotation = Vector3.new(0, 0, 160)
  1440. Part119.CanCollide = false
  1441. Part119.Shape = Enum.PartType.Cylinder
  1442. Part119.Size = Vector3.new(1, 1, 1)
  1443. Part119.CFrame = CFrame.new(31.4326515, 5.01440525, 117.054611, -0.939694524, -0.34202081, -4.10786924e-08, 0.342020214, -0.939692616, 1.43691716e-08, -4.39081305e-08, 5.4751581e-10, 1.00000334)
  1444. Part119.BottomSurface = Enum.SurfaceType.Smooth
  1445. Part119.TopSurface = Enum.SurfaceType.Smooth
  1446. Part119.Color = Color3.new(1, 0, 0)
  1447. Part119.Position = Vector3.new(31.4326515, 5.01440525, 117.054611)
  1448. Part119.Orientation = Vector3.new(0, 0, 160)
  1449. Part119.Color = Color3.new(1, 0, 0)
  1450. SpecialMesh120.Parent = Part119
  1451. SpecialMesh120.Offset = Vector3.new(-2505, -7, 0)
  1452. SpecialMesh120.Scale = Vector3.new(5000, 1, 1)
  1453. SpecialMesh120.MeshType = Enum.MeshType.Cylinder
  1454. SpecialMesh120.Scale = Vector3.new(5000, 1, 1)
  1455. Part121.Name = "ShotLaserSight"
  1456. Part121.Parent = Model6
  1457. Part121.Material = Enum.Material.Neon
  1458. Part121.BrickColor = BrickColor.new("Neon orange")
  1459. Part121.Transparency = 0.75
  1460. Part121.Rotation = Vector3.new(0, 0, -180)
  1461. Part121.CanCollide = false
  1462. Part121.Shape = Enum.PartType.Cylinder
  1463. Part121.Size = Vector3.new(1, 1, 1)
  1464. Part121.CFrame = CFrame.new(31.4326515, 5.01440525, 117.054619, -1.00000095, 8.81215456e-08, -4.37130439e-08, -8.67240928e-08, -1, -2.9051217e-10, -4.37094059e-08, 2.90503482e-10, 1.00000167)
  1465. Part121.BottomSurface = Enum.SurfaceType.Smooth
  1466. Part121.TopSurface = Enum.SurfaceType.Smooth
  1467. Part121.Color = Color3.new(0.835294, 0.45098, 0.239216)
  1468. Part121.Position = Vector3.new(31.4326515, 5.01440525, 117.054619)
  1469. Part121.Orientation = Vector3.new(0, 0, -180)
  1470. Part121.Color = Color3.new(0.835294, 0.45098, 0.239216)
  1471. SpecialMesh122.Parent = Part121
  1472. SpecialMesh122.Offset = Vector3.new(-2507, -4.80000019, 0)
  1473. SpecialMesh122.Scale = Vector3.new(5000, 1, 1)
  1474. SpecialMesh122.MeshType = Enum.MeshType.Cylinder
  1475. SpecialMesh122.Scale = Vector3.new(5000, 1, 1)
  1476. Part123.Name = "UpwardsLaserSight"
  1477. Part123.Parent = Model6
  1478. Part123.Material = Enum.Material.Neon
  1479. Part123.BrickColor = BrickColor.new("Really red")
  1480. Part123.Transparency = 0.75
  1481. Part123.Rotation = Vector3.new(0, 0, -160)
  1482. Part123.CanCollide = false
  1483. Part123.Shape = Enum.PartType.Cylinder
  1484. Part123.Size = Vector3.new(1, 1, 1)
  1485. Part123.CFrame = CFrame.new(31.4326534, 5.01440525, 117.054619, -0.93969357, 0.342020512, -4.10773282e-08, -0.342020214, -0.939692616, -1.52406869e-08, -4.36111804e-08, 2.72393663e-10, 1.00000167)
  1486. Part123.BottomSurface = Enum.SurfaceType.Smooth
  1487. Part123.TopSurface = Enum.SurfaceType.Smooth
  1488. Part123.Color = Color3.new(1, 0, 0)
  1489. Part123.Position = Vector3.new(31.4326534, 5.01440525, 117.054619)
  1490. Part123.Orientation = Vector3.new(0, 0, -160)
  1491. Part123.Color = Color3.new(1, 0, 0)
  1492. SpecialMesh124.Parent = Part123
  1493. SpecialMesh124.Offset = Vector3.new(-2508.25, -2, 0)
  1494. SpecialMesh124.Scale = Vector3.new(5000, 1, 1)
  1495. SpecialMesh124.MeshType = Enum.MeshType.Cylinder
  1496. SpecialMesh124.Scale = Vector3.new(5000, 1, 1)
  1497. for i,v in pairs(mas:GetChildren()) do
  1498. v.Parent = workspace
  1499. pcall(function() v:MakeJoints() end)
  1500. end
  1501. mas:Destroy()
  1502. for i,v in pairs(cors) do
  1503. spawn(function()
  1504. pcall(v)
  1505. end)
  1506. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement