Advertisement
BNutty07

car thing

Nov 25th, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.52 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. Sound2 = Instance.new("Sound")
  22. Fire3 = Instance.new("Fire")
  23. Sound4 = Instance.new("Sound")
  24. BodyGyro5 = Instance.new("BodyGyro")
  25. Motor6D6 = Instance.new("Motor6D")
  26. Motor6D7 = Instance.new("Motor6D")
  27. Motor6D8 = Instance.new("Motor6D")
  28. Sound9 = Instance.new("Sound")
  29. Fire10 = Instance.new("Fire")
  30. Script11 = Instance.new("Script")
  31. Motor6D12 = Instance.new("Motor6D")
  32. Motor6D13 = Instance.new("Motor6D")
  33. Motor6D14 = Instance.new("Motor6D")
  34. Motor6D15 = Instance.new("Motor6D")
  35. VehicleSeat16 = Instance.new("VehicleSeat")
  36. Motor6D17 = Instance.new("Motor6D")
  37. Part18 = Instance.new("Part")
  38. ClickDetector19 = Instance.new("ClickDetector")
  39. Script20 = Instance.new("Script")
  40. BoolValue21 = Instance.new("BoolValue")
  41. Motor6D22 = Instance.new("Motor6D")
  42. Sound23 = Instance.new("Sound")
  43. Fire24 = Instance.new("Fire")
  44. Script25 = Instance.new("Script")
  45. SpotLight26 = Instance.new("SpotLight")
  46. Motor6D27 = Instance.new("Motor6D")
  47. Part28 = Instance.new("Part")
  48. Part29 = Instance.new("Part")
  49. Script30 = Instance.new("Script")
  50. Sound31 = Instance.new("Sound")
  51. Script32 = Instance.new("Script")
  52. Script33 = Instance.new("Script")
  53. Sound34 = Instance.new("Sound")
  54. Model35 = Instance.new("Model")
  55. Script36 = Instance.new("Script")
  56. Script37 = Instance.new("Script")
  57. Script38 = Instance.new("Script")
  58. Script39 = Instance.new("Script")
  59. Script40 = Instance.new("Script")
  60. Sound41 = Instance.new("Sound")
  61. Script42 = Instance.new("Script")
  62. Fire43 = Instance.new("Fire")
  63. Script44 = Instance.new("Script")
  64. Humanoid45 = Instance.new("Humanoid")
  65. Script46 = Instance.new("Script")
  66. Script47 = Instance.new("Script")
  67. Script48 = Instance.new("Script")
  68. Script49 = Instance.new("Script")
  69. Script50 = Instance.new("Script")
  70. Script51 = Instance.new("Script")
  71. Script52 = Instance.new("Script")
  72. Script53 = Instance.new("Script")
  73. Script54 = Instance.new("Script")
  74. Script55 = Instance.new("Script")
  75. Script56 = Instance.new("Script")
  76. Part57 = Instance.new("Part")
  77. Sound58 = Instance.new("Sound")
  78. Script59 = Instance.new("Script")
  79. Script60 = Instance.new("Script")
  80. Sound61 = Instance.new("Sound")
  81. Fire62 = Instance.new("Fire")
  82. Script63 = Instance.new("Script")
  83. Part64 = Instance.new("Part")
  84. Sound65 = Instance.new("Sound")
  85. Script66 = Instance.new("Script")
  86. Configuration67 = Instance.new("Configuration")
  87. NumberValue68 = Instance.new("NumberValue")
  88. NumberValue69 = Instance.new("NumberValue")
  89. NumberValue70 = Instance.new("NumberValue")
  90. Configuration71 = Instance.new("Configuration")
  91. NumberValue72 = Instance.new("NumberValue")
  92. Motor6D73 = Instance.new("Motor6D")
  93. Sound74 = Instance.new("Sound")
  94. Fire75 = Instance.new("Fire")
  95. Script76 = Instance.new("Script")
  96. ForceField77 = Instance.new("ForceField")
  97. Script78 = Instance.new("Script")
  98. Part79 = Instance.new("Part")
  99. Sound80 = Instance.new("Sound")
  100. Fire81 = Instance.new("Fire")
  101. Script82 = Instance.new("Script")
  102. Part83 = Instance.new("Part")
  103. Sound84 = Instance.new("Sound")
  104. Fire85 = Instance.new("Fire")
  105. Script86 = Instance.new("Script")
  106. Part87 = Instance.new("Part")
  107. Sound88 = Instance.new("Sound")
  108. Fire89 = Instance.new("Fire")
  109. Script90 = Instance.new("Script")
  110. Part91 = Instance.new("Part")
  111. Sound92 = Instance.new("Sound")
  112. Fire93 = Instance.new("Fire")
  113. Script94 = Instance.new("Script")
  114. Part95 = Instance.new("Part")
  115. Script96 = Instance.new("Script")
  116. Script97 = Instance.new("Script")
  117. Sound98 = Instance.new("Sound")
  118. ClickDetector99 = Instance.new("ClickDetector")
  119. Sound100 = Instance.new("Sound")
  120. Part101 = Instance.new("Part")
  121. Sound102 = Instance.new("Sound")
  122. Script103 = Instance.new("Script")
  123. ParticleEmitter104 = Instance.new("ParticleEmitter")
  124. Fire105 = Instance.new("Fire")
  125. Part106 = Instance.new("Part")
  126. Sound107 = Instance.new("Sound")
  127. Script108 = Instance.new("Script")
  128. ParticleEmitter109 = Instance.new("ParticleEmitter")
  129. Fire110 = Instance.new("Fire")
  130. Part111 = Instance.new("Part")
  131. Sound112 = Instance.new("Sound")
  132. Script113 = Instance.new("Script")
  133. ParticleEmitter114 = Instance.new("ParticleEmitter")
  134. Fire115 = Instance.new("Fire")
  135. Part116 = Instance.new("Part")
  136. Sound117 = Instance.new("Sound")
  137. Script118 = Instance.new("Script")
  138. ParticleEmitter119 = Instance.new("ParticleEmitter")
  139. Fire120 = Instance.new("Fire")
  140. Model0.Name = "JJK83's Car"
  141. Model0.Parent = mas
  142. Model0.PrimaryPart = Part1
  143. Part1.Name = "Base"
  144. Part1.Parent = Model0
  145. Part1.Material = Enum.Material.DiamondPlate
  146. Part1.BrickColor = BrickColor.new("Bright bluish green")
  147. Part1.Locked = true
  148. Part1.Size = Vector3.new(5, 1, 5)
  149. Part1.CFrame = CFrame.new(20.287981, 1.01002681, 15.0551071, 1.0000006, 9.68861329e-08, -3.5167684e-06, -9.71190985e-08, 1, -1.85104113e-07, 3.5167684e-06, 1.85569817e-07, 1.00000036)
  150. Part1.BottomSurface = Enum.SurfaceType.Smooth
  151. Part1.TopSurface = Enum.SurfaceType.Smooth
  152. Part1.Color = Color3.new(0, 0.560784, 0.611765)
  153. Part1.Position = Vector3.new(20.287981, 1.01002681, 15.0551071)
  154. Part1.Color = Color3.new(0, 0.560784, 0.611765)
  155. Sound2.Parent = Part1
  156. Sound2.Pitch = 1.2000000476837
  157. Sound2.SoundId = "http://www.roblox.com/asset/?id=66868084 "
  158. Sound2.Volume = 1
  159. Fire3.Parent = Part1
  160. Fire3.Size = 30
  161. Fire3.Enabled = false
  162. Fire3.Heat = 25
  163. Fire3.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  164. Sound4.Name = "Sound2"
  165. Sound4.Parent = Part1
  166. Sound4.Pitch = 0.60000002384186
  167. Sound4.SoundId = "rbxassetid://138185473 "
  168. Sound4.Volume = 1
  169. Sound4.Looped = true
  170. BodyGyro5.Parent = Part1
  171. BodyGyro5.maxTorque = Vector3.new(0, 0, 0)
  172. BodyGyro5.MaxTorque = Vector3.new(0, 0, 0)
  173. Motor6D6.Parent = Part1
  174. Motor6D6.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)
  175. Motor6D6.Part0 = Part1
  176. Motor6D6.Part1 = Part64
  177. Motor6D7.Parent = Part1
  178. Motor6D7.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)
  179. Motor6D7.Part0 = Part1
  180. Motor6D7.Part1 = Part18
  181. Motor6D8.Parent = Part1
  182. Motor6D8.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)
  183. Motor6D8.Part0 = Part1
  184. Motor6D8.Part1 = VehicleSeat16
  185. Sound9.Name = "Sound3"
  186. Sound9.Parent = Part1
  187. Sound9.SoundId = "rbxassetid://191040613"
  188. Sound9.Volume = 1
  189. Fire10.Name = "Fire2"
  190. Fire10.Parent = Part1
  191. Fire10.Size = 10
  192. Fire10.Enabled = false
  193. Fire10.Heat = -5
  194. Fire10.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  195. Script11.Name = "On contact, thud"
  196. Script11.Parent = Part1
  197. table.insert(cors,sandbox(Script11,function()
  198. function onTouched(hit)
  199. if hit.CanCollide == false then return end
  200. 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
  201. if HitPower >= 600 then
  202. script.Parent.Fire2.Enabled = true
  203. script.Parent.Sound3:Play()
  204. wait(0.2)
  205. script.Parent.Fire2.Enabled = false
  206. end
  207. end
  208. script.Parent.Touched:connect(onTouched)
  209. end))
  210. Motor6D12.Parent = Part1
  211. Motor6D12.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)
  212. Motor6D12.Part0 = Part1
  213. Motor6D12.Part1 = Part116
  214. Motor6D13.Parent = Part1
  215. Motor6D13.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)
  216. Motor6D13.Part0 = Part1
  217. Motor6D13.Part1 = Part111
  218. Motor6D14.Parent = Part1
  219. Motor6D14.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)
  220. Motor6D14.Part0 = Part1
  221. Motor6D14.Part1 = Part106
  222. Motor6D15.Parent = Part1
  223. Motor6D15.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)
  224. Motor6D15.Part0 = Part1
  225. Motor6D15.Part1 = Part101
  226. VehicleSeat16.Name = "Car Seat"
  227. VehicleSeat16.Parent = Model0
  228. VehicleSeat16.Material = Enum.Material.Fabric
  229. VehicleSeat16.BrickColor = BrickColor.new("Black")
  230. VehicleSeat16.Locked = true
  231. VehicleSeat16.Size = Vector3.new(3, 1, 3)
  232. VehicleSeat16.CFrame = CFrame.new(20.2880383, 2.01037002, 15.0548401, 1, 1.54536153e-08, -9.43553222e-11, -1.54536135e-08, 1, -3.58597134e-08, 9.43547671e-11, 3.58597134e-08, 1)
  233. VehicleSeat16.BottomSurface = Enum.SurfaceType.Smooth
  234. VehicleSeat16.TopSurface = Enum.SurfaceType.Smooth
  235. VehicleSeat16.MaxSpeed = 150
  236. VehicleSeat16.Torque = 12.5
  237. VehicleSeat16.TurnSpeed = 2.5999999046326
  238. VehicleSeat16.Color = Color3.new(0.105882, 0.164706, 0.207843)
  239. VehicleSeat16.Position = Vector3.new(20.2880383, 2.01037002, 15.0548401)
  240. VehicleSeat16.Color = Color3.new(0.105882, 0.164706, 0.207843)
  241. Motor6D17.Parent = VehicleSeat16
  242. Motor6D17.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)
  243. Motor6D17.Part0 = VehicleSeat16
  244. Motor6D17.Part1 = Part28
  245. Part18.Name = "Torso"
  246. Part18.Parent = Model0
  247. Part18.Material = Enum.Material.DiamondPlate
  248. Part18.BrickColor = BrickColor.new("Royal purple")
  249. Part18.Locked = true
  250. Part18.Size = Vector3.new(5, 2, 2)
  251. Part18.CFrame = CFrame.new(20.2879105, 2.51142883, 12.5517187, 1.00000083, -6.66775577e-08, -6.9738403e-06, 6.63855602e-08, 1, -2.0303176e-07, 6.97383985e-06, 2.03730053e-07, 1.00000048)
  252. Part18.BottomSurface = Enum.SurfaceType.Smooth
  253. Part18.TopSurface = Enum.SurfaceType.Smooth
  254. Part18.Color = Color3.new(0.384314, 0.145098, 0.819608)
  255. Part18.Position = Vector3.new(20.2879105, 2.51142883, 12.5517187)
  256. Part18.Color = Color3.new(0.384314, 0.145098, 0.819608)
  257. ClickDetector19.Parent = Part18
  258. ClickDetector19.MaxActivationDistance = 4
  259. Script20.Name = "Flip when clicked"
  260. Script20.Parent = Part18
  261. table.insert(cors,sandbox(Script20,function()
  262. debounce = false
  263. function onClicked()
  264. if script.Value.Value == false then
  265. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  266. script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(400000,0,400000)
  267. script.Value.Value = true
  268. script.Parent.Material = "Neon"
  269. elseif script.Value.Value == true then
  270. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  271. script.Parent.Parent.Base.BodyGyro.MaxTorque = Vector3.new(0,0,0)
  272. script.Value.Value = false
  273. script.Parent.Material = "DiamondPlate"
  274. end
  275. end
  276. script.Parent.ClickDetector.MouseClick:connect(onClicked)
  277. end))
  278. BoolValue21.Parent = Script20
  279. Motor6D22.Parent = Part18
  280. Motor6D22.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)
  281. Motor6D22.Part0 = Part18
  282. Motor6D22.Part1 = Part29
  283. Sound23.Name = "Sound3"
  284. Sound23.Parent = Part18
  285. Sound23.SoundId = "rbxassetid://191040613"
  286. Sound23.Volume = 1
  287. Fire24.Name = "Fire2"
  288. Fire24.Parent = Part18
  289. Fire24.Size = 10
  290. Fire24.Enabled = false
  291. Fire24.Heat = -5
  292. Fire24.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  293. Script25.Name = "On contact, thud"
  294. Script25.Parent = Part18
  295. table.insert(cors,sandbox(Script25,function()
  296. function onTouched(hit)
  297. if hit.CanCollide == false then return end
  298. 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
  299. if HitPower >= 600 then
  300. script.Parent.Fire2.Enabled = true
  301. script.Parent.Sound3:Play()
  302. wait(0.2)
  303. script.Parent.Fire2.Enabled = false
  304. end
  305. end
  306. script.Parent.Touched:connect(onTouched)
  307. end))
  308. SpotLight26.Parent = Part18
  309. SpotLight26.Color = Color3.new(0.54902, 0, 1)
  310. SpotLight26.Brightness = 60
  311. SpotLight26.Range = 60
  312. SpotLight26.Shadows = true
  313. SpotLight26.Color = Color3.new(0.54902, 0, 1)
  314. Motor6D27.Parent = Part18
  315. Motor6D27.C1 = CFrame.new(7.62939453e-06, -3.49520397, 0.183175087, 1.00000417, -8.03884319e-08, -6.97378073e-06, 4.43805504e-07, 0.99862951, 0.0523359105, 6.96008874e-06, -0.0523357838, 0.998631895)
  316. Motor6D27.Part0 = Part18
  317. Motor6D27.Part1 = Part95
  318. Part28.Name = "Backrest"
  319. Part28.Parent = Model0
  320. Part28.Material = Enum.Material.Fabric
  321. Part28.BrickColor = BrickColor.new("Bright bluish green")
  322. Part28.Locked = true
  323. Part28.Size = Vector3.new(3, 2, 1)
  324. Part28.CFrame = CFrame.new(20.2881603, 3.51226544, 16.0559158, 1.00000012, -3.15864384e-07, -3.56147189e-06, 3.15806062e-07, 1, -2.33532873e-07, 3.56147189e-06, 2.33765761e-07, 1.00000012)
  325. Part28.BottomSurface = Enum.SurfaceType.Smooth
  326. Part28.TopSurface = Enum.SurfaceType.Smooth
  327. Part28.Color = Color3.new(0, 0.560784, 0.611765)
  328. Part28.Position = Vector3.new(20.2881603, 3.51226544, 16.0559158)
  329. Part28.Color = Color3.new(0, 0.560784, 0.611765)
  330. Part29.Name = "Head"
  331. Part29.Parent = Model0
  332. Part29.Material = Enum.Material.CorrodedMetal
  333. Part29.BrickColor = BrickColor.new("Bright bluish green")
  334. Part29.Locked = true
  335. Part29.Size = Vector3.new(3, 3, 2)
  336. Part29.CFrame = CFrame.new(20.2878666, 3.01119304, 10.5513563, 1.00000131, -3.85177846e-05, -8.61297212e-06, 3.85173189e-05, 1, 4.51923916e-06, 8.6129794e-06, -4.51834603e-06, 1.00000083)
  337. Part29.BottomSurface = Enum.SurfaceType.Smooth
  338. Part29.TopSurface = Enum.SurfaceType.Smooth
  339. Part29.Color = Color3.new(0, 0.560784, 0.611765)
  340. Part29.Position = Vector3.new(20.2878666, 3.01119304, 10.5513563)
  341. Part29.Color = Color3.new(0, 0.560784, 0.611765)
  342. Script30.Name = "On contact, damage"
  343. Script30.Parent = Part29
  344. table.insert(cors,sandbox(Script30,function()
  345. function onTouched(hit)
  346. if hit.Parent == nil then return end
  347. if hit.Parent:FindFirstChild("Humanoid") == nil then return end
  348. 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
  349. if HitPower <= 150 then return end
  350. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(HitPower)
  351. end
  352. script.Parent.Touched:connect(onTouched)
  353. end))
  354. Sound31.Parent = Part29
  355. Sound31.SoundId = "rbxassetid://356659053"
  356. Sound31.Volume = 1
  357. Script32.Name = "On contact, clang"
  358. Script32.Parent = Part29
  359. table.insert(cors,sandbox(Script32,function()
  360. function onTouched(hit)
  361. if hit.CanCollide == false then return end
  362. script.Parent.Sound:Play()
  363. end
  364. script.Parent.Touched:connect(onTouched)
  365. end))
  366. Script33.Name = "On contact, explode"
  367. Script33.Parent = Part29
  368. table.insert(cors,sandbox(Script33,function()
  369. function onTouched(hit)
  370. if hit.CanCollide == false then return end
  371. if hit.Parent:FindFirstChild("Humanoid") == nil then return end
  372. 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
  373. if HitPower >= 1200 then
  374. local BANG = Instance.new("Explosion")
  375. BANG.Position = script.Parent.Position
  376. BANG.DestroyJointRadiusPercent = 0
  377. BANG.Parent = script.Parent
  378. script.Parent.Sound2:Play()
  379. print "# SUPREME SLAM #"
  380. end
  381. end
  382. script.Parent.Touched:connect(onTouched)
  383. end))
  384. Sound34.Name = "Sound2"
  385. Sound34.Parent = Part29
  386. Sound34.SoundId = "rbxassetid://168485325"
  387. Sound34.Volume = 1
  388. Model35.Name = "Bunch of scripts"
  389. Model35.Parent = Part29
  390. Script36.Name = "On contact, hint 151-299 dmg"
  391. Script36.Parent = Model35
  392. table.insert(cors,sandbox(Script36,function()
  393. function onTouched(hit)
  394. if hit.Parent == nil then return end
  395. if hit.Parent:FindFirstChild("Humanoid") == nil then return end
  396. if hit.Parent.Humanoid.Health == 0 then return end
  397. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
  398. if HitPower >= 151 and HitPower <= 299 then
  399. local hint = Instance.new("Hint")
  400. hint.Parent = script
  401. hint.Text = script.Parent.Parent.Parent.Name.." dealt less than 300 damage to "..hit.Parent.Name.."."
  402. wait(2)
  403. hint:Destroy()
  404. else return end
  405. end
  406. script.Parent.Parent.Touched:connect(onTouched)
  407. end))
  408. Script37.Name = "On contact, hint 300-599 dmg"
  409. Script37.Parent = Model35
  410. table.insert(cors,sandbox(Script37,function()
  411. function onTouched(hit)
  412. if hit.Parent == nil then return end
  413. if hit.Parent:FindFirstChild("Humanoid") == nil then return end
  414. if hit.Parent.Humanoid.Health == 0 then return end
  415. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
  416. if HitPower >= 300 and HitPower <= 599 then
  417. local hint = Instance.new("Hint")
  418. hint.Parent = script
  419. hint.Text = script.Parent.Parent.Parent.Name.." dealt about 450 damage to "..hit.Parent.Name.."."
  420. wait(2)
  421. hint:Destroy()
  422. else return end
  423. end
  424. script.Parent.Parent.Touched:connect(onTouched)
  425. end))
  426. Script38.Name = "On contact, hint 600-899 dmg"
  427. Script38.Parent = Model35
  428. table.insert(cors,sandbox(Script38,function()
  429. function onTouched(hit)
  430. if hit.Parent == nil then return end
  431. if hit.Parent:FindFirstChild("Humanoid") == nil then return end
  432. if hit.Parent.Humanoid.Health == 0 then return end
  433. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
  434. if HitPower >= 600 and HitPower <= 899 then
  435. local hint = Instance.new("Hint")
  436. hint.Parent = script
  437. hint.Text = script.Parent.Parent.Parent.Name.." dealt about 750 damage to "..hit.Parent.Name.."."
  438. wait(2)
  439. hint:Destroy()
  440. else return end
  441. end
  442. script.Parent.Parent.Touched:connect(onTouched)
  443. end))
  444. Script39.Name = "On contact, hint 900-1199 dmg"
  445. Script39.Parent = Model35
  446. table.insert(cors,sandbox(Script39,function()
  447. function onTouched(hit)
  448. if hit.Parent == nil then return end
  449. if hit.Parent:FindFirstChild("Humanoid") == nil then return end
  450. if hit.Parent.Humanoid.Health == 0 then return end
  451. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
  452. if HitPower >= 900 and HitPower <= 1199 then
  453. local hint = Instance.new("Hint")
  454. hint.Parent = script
  455. hint.Text = script.Parent.Parent.Parent.Name.." dealt about 1050 damage to "..hit.Parent.Name.."."
  456. wait(2)
  457. hint:Destroy()
  458. else return end
  459. end
  460. script.Parent.Parent.Touched:connect(onTouched)
  461. end))
  462. Script40.Name = "On contact, hint 1200 or greater dmg"
  463. Script40.Parent = Model35
  464. table.insert(cors,sandbox(Script40,function()
  465. function onTouched(hit)
  466. if hit.Parent == nil then return end
  467. if hit.Parent:FindFirstChild("Humanoid") == nil then return end
  468. if hit.Parent.Humanoid.Health == 0 then return end
  469. local HitPower = (math.abs(hit.Velocity.x - script.Parent.Parent.Velocity.x) + math.abs(hit.Velocity.y - script.Parent.Parent.Velocity.y) + math.abs(hit.Velocity.z - script.Parent.Parent.Velocity.z)) * 20
  470. if HitPower >= 1200 then
  471. local hint = Instance.new("Hint")
  472. hint.Parent = script
  473. hint.Text = script.Parent.Parent.Parent.Name.." dealt a MASSIVE 1200 or greater damage to "..hit.Parent.Name.."!!"
  474. wait(2)
  475. hint:Destroy()
  476. else return end
  477. end
  478. script.Parent.Parent.Touched:connect(onTouched)
  479. end))
  480. Sound41.Name = "Sound3"
  481. Sound41.Parent = Part29
  482. Sound41.SoundId = "rbxassetid://191040613"
  483. Sound41.Volume = 1
  484. Script42.Name = "On contact, break stuff"
  485. Script42.Parent = Part29
  486. table.insert(cors,sandbox(Script42,function()
  487. function onTouched(hit)
  488. if hit.Parent == nil then return end
  489. if hit.Parent:FindFirstChild("Humanoid") ~= nil then return end
  490. 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
  491. if HitPower >= 400 then hit:BreakJoints()
  492. end
  493. end
  494. script.Parent.Touched:connect(onTouched)
  495. end))
  496. Fire43.Name = "Fire2"
  497. Fire43.Parent = Part29
  498. Fire43.Size = 10
  499. Fire43.Enabled = false
  500. Fire43.Heat = -5
  501. Fire43.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  502. Script44.Name = "On contact, thud"
  503. Script44.Parent = Part29
  504. table.insert(cors,sandbox(Script44,function()
  505. function onTouched(hit)
  506. if hit.CanCollide == false then return end
  507. 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
  508. if HitPower >= 600 then
  509. script.Parent.Fire2.Enabled = true
  510. script.Parent.Sound3:Play()
  511. wait(0.2)
  512. script.Parent.Fire2.Enabled = false
  513. end
  514. end
  515. script.Parent.Touched:connect(onTouched)
  516. end))
  517. Humanoid45.Parent = Model0
  518. Humanoid45.RightLeg = Part111
  519. Humanoid45.LeftLeg = Part101
  520. Humanoid45.Torso = Part18
  521. Humanoid45.Health = 1200
  522. Humanoid45.MaxHealth = 1200
  523. Script46.Name = "Auto sit"
  524. Script46.Parent = Humanoid45
  525. table.insert(cors,sandbox(Script46,function()
  526. while true do
  527. wait(0.1)
  528. script.Parent.Sit = true
  529. end
  530. end))
  531. Script47.Name = "When demolished, name, disable bumper, destroy cannon and print to log"
  532. Script47.Parent = Humanoid45
  533. table.insert(cors,sandbox(Script47,function()
  534. function Die()
  535. print (script.Parent.Parent.Name.." GOT WRECKED!")
  536. if script.Parent.Parent:FindFirstChild("Head") == nil then return end
  537. script.Parent.Parent.Head["On contact, damage"].Disabled = true
  538. script.Parent.Parent.Head["On contact, explode"].Disabled = true
  539. script.Parent.Parent.Head["On contact, break stuff"].Disabled = true
  540. script.Parent.Parent.Head["Bunch of scripts"]:Destroy()
  541. script.Parent.Parent["FIRE!"]:Destroy()
  542. wait(4)
  543. script.Parent.Parent.Name = "> WRECKED < "..script.Parent.Parent.Name.." > WRECKED <"
  544. end
  545.  
  546. script.Parent.Died:connect(Die)
  547. end))
  548. Script48.Name = "When demolished, wait 3 min then remove"
  549. Script48.Parent = Humanoid45
  550. table.insert(cors,sandbox(Script48,function()
  551. function Die()
  552. wait(180)
  553. script.Parent.Parent:remove()
  554. end
  555.  
  556. script.Parent.Died:connect(Die)
  557. end))
  558. Script49.Name = "When demolished, sound"
  559. Script49.Parent = Humanoid45
  560. table.insert(cors,sandbox(Script49,function()
  561. function Die()
  562. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  563. script.Parent.Parent.Base.Sound:Play()
  564. script.Parent.Parent.Base.Sound2:Play()
  565. end
  566. script.Parent.Died:connect(Die)
  567. end))
  568. Script50.Name = "Auto heal"
  569. Script50.Parent = Humanoid45
  570. table.insert(cors,sandbox(Script50,function()
  571. while true do
  572. if script.Parent.Health == script.Parent.MaxHealth then return end
  573. if script.Parent.Health == 0 then return end
  574. script.Parent.Health = script.Parent.Health + 3
  575. wait(0.5)
  576. end
  577. end))
  578. Script51.Name = "When demolished, hollywood"
  579. Script51.Parent = Humanoid45
  580. table.insert(cors,sandbox(Script51,function()
  581. function Die()
  582. if script.Parent.Parent:FindFirstChild("Base") == nil then return end
  583. e = Instance.new("Explosion")
  584. e.Parent = script.Parent.Parent
  585. e.DestroyJointRadiusPercent = 1
  586. e.Position = script.Parent.Parent.Base.Position
  587. e.ExplosionType = "NoCraters"
  588. e.BlastRadius = 2.6
  589. e.BlastPressure = 1000000
  590. f = script.Parent.Parent.Base.Fire
  591. f.Enabled = true
  592. wait(0.2)
  593. f.Size = f.Size - 1
  594. wait(0.2)
  595. f.Size = f.Size - 1
  596. wait(0.2)
  597. f.Size = f.Size - 1
  598. wait(0.2)
  599. f.Size = f.Size - 1
  600. wait(0.2)
  601. f.Size = f.Size - 1
  602. wait(0.2)
  603. f.Size = f.Size - 1
  604. wait(0.2)
  605. f.Size = f.Size - 1
  606. wait(0.2)
  607. f.Size = f.Size - 1
  608. wait(0.2)
  609. f.Size = f.Size - 1
  610. wait(0.2)
  611. f.Size = f.Size - 1
  612. wait(0.2)
  613. f.Size = f.Size - 1
  614. wait(0.2)
  615. f.Size = f.Size - 1
  616. wait(0.2)
  617. f.Size = f.Size - 1
  618. wait(0.2)
  619. f.Size = f.Size - 1
  620. wait(0.2)
  621. f.Size = f.Size - 1
  622. wait(0.2)
  623. f.Size = f.Size - 1
  624. wait(0.2)
  625. f.Size = f.Size - 1
  626. wait(0.2)
  627. f.Size = f.Size - 1
  628. wait(0.2)
  629. f.Size = f.Size - 1
  630. wait(0.2)
  631. f.Size = f.Size - 1
  632. wait(0.2)
  633. f.Size = f.Size - 1
  634. wait(0.2)
  635. f.Size = f.Size - 1
  636. wait(0.2)
  637. f.Size = f.Size - 1
  638. wait(0.2)
  639. f.Size = f.Size - 1
  640. end
  641. script.Parent.Died:connect(Die)
  642. end))
  643. Script52.Name = "When demolished, remove the engine"
  644. Script52.Parent = Humanoid45
  645. table.insert(cors,sandbox(Script52,function()
  646. function Die()
  647. if script.Parent.Parent:FindFirstChild("Engine") == nil then return end
  648. script.Parent.Parent.Engine:Destroy()
  649. end
  650. script.Parent.Died:connect(Die)
  651. end))
  652. Script53.Name = "When demolished, disable chair"
  653. Script53.Parent = Humanoid45
  654. table.insert(cors,sandbox(Script53,function()
  655. function Die()
  656. if script.Parent.Parent:FindFirstChild("Car Seat") == nil then return end
  657. script.Parent.Parent["Car Seat"].Disabled = true
  658. end
  659.  
  660. script.Parent.Died:connect(Die)
  661. end))
  662. Script54.Name = "When demolished, hint"
  663. Script54.Parent = Humanoid45
  664. table.insert(cors,sandbox(Script54,function()
  665. function Die()
  666. wait(2)
  667. local hint = Instance.new("Hint")
  668. hint.Parent = script.Parent.Parent
  669. hint.Text = script.Parent.Parent.Name.." has been wrecked!"
  670. wait(1)
  671. hint:Destroy()
  672. end
  673. script.Parent.Died:connect(Die)
  674. end))
  675. Script55.Name = "When demolished, remove instantly if bumper gone."
  676. Script55.Parent = Humanoid45
  677. table.insert(cors,sandbox(Script55,function()
  678. function Die()
  679. wait(6)
  680. if script.Parent.Parent:FindFirstChild("Head") == nil then
  681. print ("Looks like "..script.Parent.Parent.Name.." got nil.")
  682. script.Parent.Parent:Destroy()
  683. elseif script.Parent.Parent:FindFirstChild("Head") ~= nil then return end
  684. end
  685. script.Parent.Died:connect(Die)
  686. end))
  687. Script56.Name = "When demolished, disable light"
  688. Script56.Parent = Humanoid45
  689. table.insert(cors,sandbox(Script56,function()
  690. function Die()
  691. if script.Parent.Parent:FindFirstChild("Torso") == nil then return end
  692. script.Parent.Parent.Torso.SurfaceLight.Enabled = false
  693. end
  694.  
  695. script.Parent.Died:connect(Die)
  696. end))
  697. Part57.Name = "Neon Flag"
  698. Part57.Parent = Model0
  699. Part57.Material = Enum.Material.Neon
  700. Part57.BrickColor = BrickColor.new("Bright bluish green")
  701. Part57.Rotation = Vector3.new(180, 0, 180)
  702. Part57.Locked = true
  703. Part57.Size = Vector3.new(1, 2, 3)
  704. Part57.CFrame = CFrame.new(20.2877903, 4.71093988, 19.0579109, -1.00000131, -3.92570109e-05, 7.55043729e-05, -3.92569345e-05, 1, -6.59829129e-06, -7.548945e-05, -6.60007436e-06, -1.00000107)
  705. Part57.BottomSurface = Enum.SurfaceType.Smooth
  706. Part57.TopSurface = Enum.SurfaceType.Smooth
  707. Part57.Color = Color3.new(0, 0.560784, 0.611765)
  708. Part57.Position = Vector3.new(20.2877903, 4.71093988, 19.0579109)
  709. Part57.Orientation = Vector3.new(0, 180, 0)
  710. Part57.Color = Color3.new(0, 0.560784, 0.611765)
  711. Sound58.Parent = Part57
  712. Sound58.Pitch = 1.5
  713. Sound58.SoundId = "rbxassetid://356659053"
  714. Sound58.Volume = 1
  715. Script59.Name = "On contact, sound"
  716. Script59.Parent = Part57
  717. table.insert(cors,sandbox(Script59,function()
  718. function onTouched(hit)
  719. if hit.CanCollide == false then return end
  720. script.Parent.Sound:Play()
  721. end
  722. script.Parent.Touched:connect(onTouched)
  723. end))
  724. Script60.Name = "On contact, heal"
  725. Script60.Parent = Part57
  726. table.insert(cors,sandbox(Script60,function()
  727. function onTouched()
  728. script.Parent.Parent.Humanoid.Health = script.Parent.Parent.Humanoid.Health + 3
  729. end
  730. script.Parent.Touched:connect(onTouched)
  731. end))
  732. Sound61.Name = "Sound3"
  733. Sound61.Parent = Part57
  734. Sound61.SoundId = "rbxassetid://191040613"
  735. Sound61.Volume = 1
  736. Fire62.Name = "Fire2"
  737. Fire62.Parent = Part57
  738. Fire62.Size = 10
  739. Fire62.Enabled = false
  740. Fire62.Heat = -5
  741. Fire62.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  742. Script63.Name = "On contact, thud"
  743. Script63.Parent = Part57
  744. table.insert(cors,sandbox(Script63,function()
  745. function onTouched(hit)
  746. if hit.CanCollide == false then return end
  747. 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
  748. if HitPower >= 600 then
  749. script.Parent.Fire2.Enabled = true
  750. script.Parent.Sound3:Play()
  751. wait(0.2)
  752. script.Parent.Fire2.Enabled = false
  753. end
  754. end
  755. script.Parent.Touched:connect(onTouched)
  756. end))
  757. Part64.Name = "Engine"
  758. Part64.Parent = Model0
  759. Part64.Material = Enum.Material.CorrodedMetal
  760. Part64.BrickColor = BrickColor.new("Royal purple")
  761. Part64.Locked = true
  762. Part64.Size = Vector3.new(3, 2.19999981, 2)
  763. Part64.CFrame = CFrame.new(20.2880173, 2.61075759, 17.5574875, 1.00000083, -4.09004606e-05, -7.21962642e-05, 4.09005625e-05, 1, 6.39050586e-06, 7.21962497e-05, -6.39274094e-06, 1.0000006)
  764. Part64.BottomSurface = Enum.SurfaceType.Smooth
  765. Part64.TopSurface = Enum.SurfaceType.Smooth
  766. Part64.Color = Color3.new(0.384314, 0.145098, 0.819608)
  767. Part64.Position = Vector3.new(20.2880173, 2.61075759, 17.5574875)
  768. Part64.Color = Color3.new(0.384314, 0.145098, 0.819608)
  769. Sound65.Name = "Engine"
  770. Sound65.Parent = Part64
  771. Sound65.Pitch = 0.76000678539276
  772. Sound65.SoundId = "rbxassetid://130091914"
  773. Sound65.Volume = 0.69999998807907
  774. Sound65.Looped = true
  775. Script66.Name = "SoundScript"
  776. Script66.Parent = Part64
  777. table.insert(cors,sandbox(Script66,function()
  778. v = script.Parent.Parent["Car Seat"]
  779. e = script.Parent.Engine
  780. maxrevs = script.Parent.Advanced.MaxRevs.Value
  781. minrevs = script.Parent.Advanced.MinRevs.Value
  782. mod = v.MaxSpeed/130
  783. e:Play()
  784. while true do
  785. wait(0.1)
  786. mod = v.MaxSpeed/150
  787. if v.Throttle == 1 and e.Pitch < maxrevs then
  788. e.Pitch = e.Pitch + (0.09/mod)
  789. end
  790. if v.Throttle == 0 and e.Pitch > minrevs then
  791. e.Pitch = e.Pitch - (0.17/mod)
  792. end
  793. if v.Throttle == -1 and e.Pitch > minrevs then
  794. e.Pitch = e.Pitch - (0.22/mod)
  795. end
  796. end
  797. end))
  798. Configuration67.Name = "Advanced"
  799. Configuration67.Parent = Part64
  800. NumberValue68.Name = "EngineVolume"
  801. NumberValue68.Parent = Configuration67
  802. NumberValue68.Value = 0.7
  803. NumberValue69.Name = "MaxRevs"
  804. NumberValue69.Parent = Configuration67
  805. NumberValue69.Value = 1.79
  806. NumberValue70.Name = "MinRevs"
  807. NumberValue70.Parent = Configuration67
  808. NumberValue70.Value = 0.9
  809. Configuration71.Parent = Part64
  810. NumberValue72.Name = "MaxSpeed"
  811. NumberValue72.Parent = Configuration71
  812. NumberValue72.Value = 150
  813. Motor6D73.Parent = Part64
  814. Motor6D73.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)
  815. Motor6D73.Part0 = Part64
  816. Motor6D73.Part1 = Part57
  817. Sound74.Name = "Sound3"
  818. Sound74.Parent = Part64
  819. Sound74.SoundId = "rbxassetid://191040613"
  820. Sound74.Volume = 1
  821. Fire75.Name = "Fire2"
  822. Fire75.Parent = Part64
  823. Fire75.Size = 10
  824. Fire75.Enabled = false
  825. Fire75.Heat = -5
  826. Fire75.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  827. Script76.Name = "On contact, thud"
  828. Script76.Parent = Part64
  829. table.insert(cors,sandbox(Script76,function()
  830. function onTouched(hit)
  831. if hit.CanCollide == false then return end
  832. 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
  833. if HitPower >= 600 then
  834. script.Parent.Fire2.Enabled = true
  835. script.Parent.Sound3:Play()
  836. wait(0.2)
  837. script.Parent.Fire2.Enabled = false
  838. end
  839. end
  840. script.Parent.Touched:connect(onTouched)
  841. end))
  842. ForceField77.Parent = Model0
  843. Script78.Name = "Wait 10 sec then remove"
  844. Script78.Parent = ForceField77
  845. table.insert(cors,sandbox(Script78,function()
  846. wait(10)
  847. script.Parent:Destroy()
  848. end))
  849. Part79.Name = "Wheel"
  850. Part79.Parent = Model0
  851. Part79.Material = Enum.Material.Concrete
  852. Part79.BrickColor = BrickColor.new("Dark stone grey")
  853. Part79.Locked = true
  854. Part79.Shape = Enum.PartType.Cylinder
  855. Part79.Size = Vector3.new(2, 3, 3)
  856. Part79.CFrame = CFrame.new(23.7879944, 1.51001799, 12.5550385, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  857. Part79.BottomSurface = Enum.SurfaceType.Smooth
  858. Part79.LeftSurface = Enum.SurfaceType.Hinge
  859. Part79.TopSurface = Enum.SurfaceType.Smooth
  860. Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
  861. Part79.Position = Vector3.new(23.7879944, 1.51001799, 12.5550385)
  862. Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
  863. Sound80.Name = "Sound3"
  864. Sound80.Parent = Part79
  865. Sound80.SoundId = "rbxassetid://262353320"
  866. Sound80.Volume = 1
  867. Fire81.Parent = Part79
  868. Fire81.Color = Color3.new(1, 1, 1)
  869. Fire81.Enabled = false
  870. Fire81.Heat = -3
  871. Fire81.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157)
  872. Fire81.Color = Color3.new(1, 1, 1)
  873. Script82.Name = "On contact, screech"
  874. Script82.Parent = Part79
  875. table.insert(cors,sandbox(Script82,function()
  876. function onTouched(hit)
  877. if hit.CanCollide == false then return end
  878. local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20
  879. if HitPower >= 4075 then
  880. script.Parent.Fire.Enabled = true
  881. script.Parent.Sound3:Play()
  882. wait(0.1)
  883. script.Parent.Fire.Enabled = false
  884. end
  885. end
  886. script.Parent.Touched:connect(onTouched)
  887. end))
  888. Part83.Name = "Wheel"
  889. Part83.Parent = Model0
  890. Part83.Material = Enum.Material.Concrete
  891. Part83.BrickColor = BrickColor.new("Dark stone grey")
  892. Part83.Locked = true
  893. Part83.Shape = Enum.PartType.Cylinder
  894. Part83.Size = Vector3.new(2, 3, 3)
  895. Part83.CFrame = CFrame.new(16.7879753, 1.51001799, 17.5550232, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  896. Part83.BottomSurface = Enum.SurfaceType.Smooth
  897. Part83.RightSurface = Enum.SurfaceType.Hinge
  898. Part83.TopSurface = Enum.SurfaceType.Smooth
  899. Part83.Color = Color3.new(0.388235, 0.372549, 0.384314)
  900. Part83.Position = Vector3.new(16.7879753, 1.51001799, 17.5550232)
  901. Part83.Color = Color3.new(0.388235, 0.372549, 0.384314)
  902. Sound84.Name = "Sound3"
  903. Sound84.Parent = Part83
  904. Sound84.SoundId = "rbxassetid://262353320"
  905. Sound84.Volume = 1
  906. Fire85.Parent = Part83
  907. Fire85.Color = Color3.new(1, 1, 1)
  908. Fire85.Enabled = false
  909. Fire85.Heat = -3
  910. Fire85.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157)
  911. Fire85.Color = Color3.new(1, 1, 1)
  912. Script86.Name = "On contact, screech"
  913. Script86.Parent = Part83
  914. table.insert(cors,sandbox(Script86,function()
  915. function onTouched(hit)
  916. if hit.CanCollide == false then return end
  917. local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20
  918. if HitPower >= 4075 then
  919. script.Parent.Fire.Enabled = true
  920. script.Parent.Sound3:Play()
  921. wait(0.1)
  922. script.Parent.Fire.Enabled = false
  923. end
  924. end
  925. script.Parent.Touched:connect(onTouched)
  926. end))
  927. Part87.Name = "Wheel"
  928. Part87.Parent = Model0
  929. Part87.Material = Enum.Material.Concrete
  930. Part87.BrickColor = BrickColor.new("Dark stone grey")
  931. Part87.Locked = true
  932. Part87.Shape = Enum.PartType.Cylinder
  933. Part87.Size = Vector3.new(2, 3, 3)
  934. Part87.CFrame = CFrame.new(23.7879791, 1.51001799, 17.5550385, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  935. Part87.BottomSurface = Enum.SurfaceType.Smooth
  936. Part87.LeftSurface = Enum.SurfaceType.Hinge
  937. Part87.TopSurface = Enum.SurfaceType.Smooth
  938. Part87.Color = Color3.new(0.388235, 0.372549, 0.384314)
  939. Part87.Position = Vector3.new(23.7879791, 1.51001799, 17.5550385)
  940. Part87.Color = Color3.new(0.388235, 0.372549, 0.384314)
  941. Sound88.Name = "Sound3"
  942. Sound88.Parent = Part87
  943. Sound88.SoundId = "rbxassetid://262353320"
  944. Sound88.Volume = 1
  945. Fire89.Parent = Part87
  946. Fire89.Color = Color3.new(1, 1, 1)
  947. Fire89.Enabled = false
  948. Fire89.Heat = -3
  949. Fire89.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157)
  950. Fire89.Color = Color3.new(1, 1, 1)
  951. Script90.Name = "On contact, screech"
  952. Script90.Parent = Part87
  953. table.insert(cors,sandbox(Script90,function()
  954. function onTouched(hit)
  955. if hit.CanCollide == false then return end
  956. local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20
  957. if HitPower >= 4075 then
  958. script.Parent.Fire.Enabled = true
  959. script.Parent.Sound3:Play()
  960. wait(0.1)
  961. script.Parent.Fire.Enabled = false
  962. end
  963. end
  964. script.Parent.Touched:connect(onTouched)
  965. end))
  966. Part91.Name = "Wheel"
  967. Part91.Parent = Model0
  968. Part91.Material = Enum.Material.Concrete
  969. Part91.BrickColor = BrickColor.new("Dark stone grey")
  970. Part91.Locked = true
  971. Part91.Shape = Enum.PartType.Cylinder
  972. Part91.Size = Vector3.new(2, 3, 3)
  973. Part91.CFrame = CFrame.new(16.7879925, 1.51001799, 12.5550222, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  974. Part91.BottomSurface = Enum.SurfaceType.Smooth
  975. Part91.RightSurface = Enum.SurfaceType.Hinge
  976. Part91.TopSurface = Enum.SurfaceType.Smooth
  977. Part91.Color = Color3.new(0.388235, 0.372549, 0.384314)
  978. Part91.Position = Vector3.new(16.7879925, 1.51001799, 12.5550222)
  979. Part91.Color = Color3.new(0.388235, 0.372549, 0.384314)
  980. Sound92.Name = "Sound3"
  981. Sound92.Parent = Part91
  982. Sound92.SoundId = "rbxassetid://262353320"
  983. Sound92.Volume = 1
  984. Fire93.Parent = Part91
  985. Fire93.Color = Color3.new(1, 1, 1)
  986. Fire93.Enabled = false
  987. Fire93.Heat = -3
  988. Fire93.SecondaryColor = Color3.new(0.392157, 0.392157, 0.392157)
  989. Fire93.Color = Color3.new(1, 1, 1)
  990. Script94.Name = "On contact, screech"
  991. Script94.Parent = Part91
  992. table.insert(cors,sandbox(Script94,function()
  993. function onTouched(hit)
  994. if hit.CanCollide == false then return end
  995. local HitPower = (math.abs(script.Parent.Velocity.x) + math.abs(script.Parent.Velocity.y) + math.abs(script.Parent.Velocity.z)) * 20
  996. if HitPower >= 4075 then
  997. script.Parent.Fire.Enabled = true
  998. script.Parent.Sound3:Play()
  999. wait(0.1)
  1000. script.Parent.Fire.Enabled = false
  1001. end
  1002. end
  1003. script.Parent.Touched:connect(onTouched)
  1004. end))
  1005. Part95.Name = "FIRE!"
  1006. Part95.Parent = Model0
  1007. Part95.Material = Enum.Material.DiamondPlate
  1008. Part95.BrickColor = BrickColor.new("Lime green")
  1009. Part95.Rotation = Vector3.new(3, 0, 0)
  1010. Part95.Size = Vector3.new(1, 1, 2)
  1011. Part95.CFrame = CFrame.new(20.2879028, 6.01142931, 12.5517197, 1.00000501, 1.22374217e-08, -7.14862836e-10, -1.40011789e-08, 0.99862951, -0.052335985, 8.50377546e-11, 0.0523361415, 0.998632371)
  1012. Part95.BottomSurface = Enum.SurfaceType.Smooth
  1013. Part95.TopSurface = Enum.SurfaceType.Smooth
  1014. Part95.Color = Color3.new(0, 1, 0)
  1015. Part95.Position = Vector3.new(20.2879028, 6.01142931, 12.5517197)
  1016. Part95.Orientation = Vector3.new(3, 0, 0)
  1017. Part95.Color = Color3.new(0, 1, 0)
  1018. Script96.Name = "Fire"
  1019. Script96.Parent = Part95
  1020. table.insert(cors,sandbox(Script96,function()
  1021. function Clicked()
  1022. script.Parent.Sound3:Play()
  1023. local Ammo = Instance.new("Part")
  1024. Ammo.BrickColor = BrickColor.new("Really red")
  1025. Ammo.Material = "Neon"
  1026. Ammo.Parent = game.Workspace
  1027. Ammo.Velocity = script.Parent.CFrame.lookVector * 600
  1028. Ammo.Position = script.Parent.CFrame * Vector3.new(0,-3,-6)
  1029. Ammo.Size = Vector3.new(3,3,3)
  1030. Ammo.Shape = "Ball"
  1031. Ammo.Name = "Flaming Cannonball"
  1032. local explosive = script["On contact, explode"]:Clone()
  1033. explosive.Parent = Ammo
  1034. explosive.Disabled = false
  1035. local sound = script.Sound:Clone()
  1036. sound.Parent = Ammo
  1037. script.Parent.BrickColor = BrickColor.new("Really red")
  1038. script.Disabled = true
  1039. wait(1)
  1040. script.Parent.BrickColor = BrickColor.new("New Yeller")
  1041. wait(1)
  1042. script.Parent.BrickColor = BrickColor.new("Lime green")
  1043. script.Disabled = false
  1044. end
  1045. script.Parent.ClickDetector.MouseClick:connect(Clicked)
  1046. end))
  1047. Script97.Name = "On contact, explode"
  1048. Script97.Parent = Script96
  1049. Script97.Disabled = true
  1050. table.insert(cors,sandbox(Script97,function()
  1051. function onTouched(hit)
  1052. if hit == nil then return end
  1053. if hit.CanCollide == false then return end
  1054. local BOOM = Instance.new("Explosion")
  1055. BOOM.Parent = game.Workspace
  1056. BOOM.Position = script.Parent.Position
  1057. script.Parent.Sound:Play()
  1058. script.Disabled = true
  1059. script.Parent.Anchored = true
  1060. script.Parent.CanCollide = false
  1061. script.Parent.Transparency = 1
  1062. wait(2)
  1063. script.Parent:Destroy()
  1064. end
  1065. script.Parent.Touched:connect(onTouched)
  1066. end))
  1067. Sound98.Parent = Script96
  1068. Sound98.Pitch = 1.2000000476837
  1069. Sound98.SoundId = "http://www.roblox.com/asset/?id=66868084 "
  1070. Sound98.Volume = 1
  1071. ClickDetector99.Parent = Part95
  1072. ClickDetector99.MaxActivationDistance = 4
  1073. Sound100.Name = "Sound3"
  1074. Sound100.Parent = Part95
  1075. Sound100.SoundId = "rbxassetid://191040613"
  1076. Sound100.Volume = 1
  1077. Part101.Name = "Left Leg"
  1078. Part101.Parent = Model0
  1079. Part101.Material = Enum.Material.DiamondPlate
  1080. Part101.BrickColor = BrickColor.new("Dark stone grey")
  1081. Part101.Locked = true
  1082. Part101.Size = Vector3.new(1, 1, 3)
  1083. Part101.CFrame = CFrame.new(18.287817, 3.01002693, 19.0552959, 1.0000006, 8.735433e-08, -3.51683457e-06, -8.75872246e-08, 1, -1.63212405e-07, 3.51683457e-06, 1.63678067e-07, 1.00000036)
  1084. Part101.BottomSurface = Enum.SurfaceType.Smooth
  1085. Part101.TopSurface = Enum.SurfaceType.Smooth
  1086. Part101.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1087. Part101.Position = Vector3.new(18.287817, 3.01002693, 19.0552959)
  1088. Part101.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1089. Sound102.Name = "Sound3"
  1090. Sound102.Parent = Part101
  1091. Sound102.SoundId = "rbxassetid://191040613"
  1092. Sound102.Volume = 1
  1093. Script103.Name = "On contact, thud"
  1094. Script103.Parent = Part101
  1095. table.insert(cors,sandbox(Script103,function()
  1096. function onTouched(hit)
  1097. if hit.CanCollide == false then return end
  1098. 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
  1099. if HitPower >= 600 then
  1100. script.Parent.Fire2.Enabled = true
  1101. script.Parent.Sound3:Play()
  1102. wait(0.2)
  1103. script.Parent.Fire2.Enabled = false
  1104. end
  1105. end
  1106. script.Parent.Touched:connect(onTouched)
  1107. end))
  1108. ParticleEmitter104.Parent = Part101
  1109. ParticleEmitter104.Transparency = NumberSequence.new(0,0,1)
  1110. ParticleEmitter104.Size = NumberSequence.new(0,1.9999998807907)
  1111. ParticleEmitter104.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
  1112. ParticleEmitter104.Acceleration = Vector3.new(0, 1, 0)
  1113. ParticleEmitter104.Lifetime = NumberRange.new(0.5, 2.5)
  1114. ParticleEmitter104.Rate = 10
  1115. ParticleEmitter104.RotSpeed = NumberRange.new(0, 30)
  1116. ParticleEmitter104.Speed = NumberRange.new(-3, -3)
  1117. ParticleEmitter104.VelocitySpread = 5
  1118. ParticleEmitter104.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
  1119. Fire105.Name = "Fire2"
  1120. Fire105.Parent = Part101
  1121. Fire105.Size = 10
  1122. Fire105.Enabled = false
  1123. Fire105.Heat = -5
  1124. Fire105.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  1125. Part106.Name = "Left Arm"
  1126. Part106.Parent = Model0
  1127. Part106.Material = Enum.Material.DiamondPlate
  1128. Part106.BrickColor = BrickColor.new("Dark stone grey")
  1129. Part106.Locked = true
  1130. Part106.Size = Vector3.new(1, 1, 3)
  1131. Part106.CFrame = CFrame.new(18.2878361, 2.01002836, 18.0552406, 1.0000006, 8.26499829e-08, -3.51685435e-06, -8.2882849e-08, 1, -1.52265514e-07, 3.51685435e-06, 1.52731147e-07, 1.00000036)
  1132. Part106.BottomSurface = Enum.SurfaceType.Smooth
  1133. Part106.TopSurface = Enum.SurfaceType.Smooth
  1134. Part106.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1135. Part106.Position = Vector3.new(18.2878361, 2.01002836, 18.0552406)
  1136. Part106.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1137. Sound107.Name = "Sound3"
  1138. Sound107.Parent = Part106
  1139. Sound107.SoundId = "rbxassetid://191040613"
  1140. Sound107.Volume = 1
  1141. Script108.Name = "On contact, thud"
  1142. Script108.Parent = Part106
  1143. table.insert(cors,sandbox(Script108,function()
  1144. function onTouched(hit)
  1145. if hit.CanCollide == false then return end
  1146. 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
  1147. if HitPower >= 600 then
  1148. script.Parent.Fire2.Enabled = true
  1149. script.Parent.Sound3:Play()
  1150. wait(0.2)
  1151. script.Parent.Fire2.Enabled = false
  1152. end
  1153. end
  1154. script.Parent.Touched:connect(onTouched)
  1155. end))
  1156. ParticleEmitter109.Parent = Part106
  1157. ParticleEmitter109.Transparency = NumberSequence.new(0,0,1)
  1158. ParticleEmitter109.Size = NumberSequence.new(0,1.9999998807907)
  1159. ParticleEmitter109.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
  1160. ParticleEmitter109.Acceleration = Vector3.new(0, 1, 0)
  1161. ParticleEmitter109.Lifetime = NumberRange.new(0.5, 2.5)
  1162. ParticleEmitter109.Rate = 10
  1163. ParticleEmitter109.RotSpeed = NumberRange.new(0, 30)
  1164. ParticleEmitter109.Speed = NumberRange.new(-3, -3)
  1165. ParticleEmitter109.VelocitySpread = 5
  1166. ParticleEmitter109.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
  1167. Fire110.Name = "Fire2"
  1168. Fire110.Parent = Part106
  1169. Fire110.Size = 10
  1170. Fire110.Enabled = false
  1171. Fire110.Heat = -5
  1172. Fire110.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  1173. Part111.Name = "Right Leg"
  1174. Part111.Parent = Model0
  1175. Part111.Material = Enum.Material.DiamondPlate
  1176. Part111.BrickColor = BrickColor.new("Dark stone grey")
  1177. Part111.Locked = true
  1178. Part111.Size = Vector3.new(1, 1, 3)
  1179. Part111.CFrame = CFrame.new(22.288166, 3.01002502, 19.0553646, 1.0000006, 9.23480812e-08, -3.51682411e-06, -9.25810113e-08, 1, -1.74858158e-07, 3.51682411e-06, 1.75323848e-07, 1.00000036)
  1180. Part111.BottomSurface = Enum.SurfaceType.Smooth
  1181. Part111.TopSurface = Enum.SurfaceType.Smooth
  1182. Part111.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1183. Part111.Position = Vector3.new(22.288166, 3.01002502, 19.0553646)
  1184. Part111.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1185. Sound112.Name = "Sound3"
  1186. Sound112.Parent = Part111
  1187. Sound112.SoundId = "rbxassetid://191040613"
  1188. Sound112.Volume = 1
  1189. Script113.Name = "On contact, thud"
  1190. Script113.Parent = Part111
  1191. table.insert(cors,sandbox(Script113,function()
  1192. function onTouched(hit)
  1193. if hit.CanCollide == false then return end
  1194. 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
  1195. if HitPower >= 600 then
  1196. script.Parent.Fire2.Enabled = true
  1197. script.Parent.Sound3:Play()
  1198. wait(0.2)
  1199. script.Parent.Fire2.Enabled = false
  1200. end
  1201. end
  1202. script.Parent.Touched:connect(onTouched)
  1203. end))
  1204. ParticleEmitter114.Parent = Part111
  1205. ParticleEmitter114.Transparency = NumberSequence.new(0,0,1)
  1206. ParticleEmitter114.Size = NumberSequence.new(0,1.9999998807907)
  1207. ParticleEmitter114.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
  1208. ParticleEmitter114.Acceleration = Vector3.new(0, 1, 0)
  1209. ParticleEmitter114.Lifetime = NumberRange.new(0.5, 2.5)
  1210. ParticleEmitter114.Rate = 10
  1211. ParticleEmitter114.RotSpeed = NumberRange.new(0, 30)
  1212. ParticleEmitter114.Speed = NumberRange.new(-3, -3)
  1213. ParticleEmitter114.VelocitySpread = 5
  1214. ParticleEmitter114.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
  1215. Fire115.Name = "Fire2"
  1216. Fire115.Parent = Part111
  1217. Fire115.Size = 10
  1218. Fire115.Enabled = false
  1219. Fire115.Heat = -5
  1220. Fire115.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  1221. Part116.Name = "Right Arm"
  1222. Part116.Parent = Model0
  1223. Part116.Material = Enum.Material.DiamondPlate
  1224. Part116.BrickColor = BrickColor.new("Dark stone grey")
  1225. Part116.Locked = true
  1226. Part116.Size = Vector3.new(1, 1, 3)
  1227. Part116.CFrame = CFrame.new(22.2881355, 2.01002836, 18.0552864, 1.0000006, 8.96189576e-08, -3.51683002e-06, -8.98518735e-08, 1, -1.68569827e-07, 3.51683002e-06, 1.69035502e-07, 1.00000036)
  1228. Part116.BottomSurface = Enum.SurfaceType.Smooth
  1229. Part116.TopSurface = Enum.SurfaceType.Smooth
  1230. Part116.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1231. Part116.Position = Vector3.new(22.2881355, 2.01002836, 18.0552864)
  1232. Part116.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1233. Sound117.Name = "Sound3"
  1234. Sound117.Parent = Part116
  1235. Sound117.SoundId = "rbxassetid://191040613"
  1236. Sound117.Volume = 1
  1237. Script118.Name = "On contact, thud"
  1238. Script118.Parent = Part116
  1239. table.insert(cors,sandbox(Script118,function()
  1240. function onTouched(hit)
  1241. if hit.CanCollide == false then return end
  1242. 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
  1243. if HitPower >= 600 then
  1244. script.Parent.Fire2.Enabled = true
  1245. script.Parent.Sound3:Play()
  1246. wait(0.2)
  1247. script.Parent.Fire2.Enabled = false
  1248. end
  1249. end
  1250. script.Parent.Touched:connect(onTouched)
  1251. end))
  1252. ParticleEmitter119.Parent = Part116
  1253. ParticleEmitter119.Transparency = NumberSequence.new(0,0,1)
  1254. ParticleEmitter119.Size = NumberSequence.new(0,1.9999998807907)
  1255. ParticleEmitter119.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
  1256. ParticleEmitter119.Acceleration = Vector3.new(0, 1, 0)
  1257. ParticleEmitter119.Lifetime = NumberRange.new(0.5, 2.5)
  1258. ParticleEmitter119.Rate = 10
  1259. ParticleEmitter119.RotSpeed = NumberRange.new(0, 30)
  1260. ParticleEmitter119.Speed = NumberRange.new(-3, -3)
  1261. ParticleEmitter119.VelocitySpread = 5
  1262. ParticleEmitter119.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.294118, 0.294118, 0.294118))
  1263. Fire120.Name = "Fire2"
  1264. Fire120.Parent = Part116
  1265. Fire120.Size = 10
  1266. Fire120.Enabled = false
  1267. Fire120.Heat = -5
  1268. Fire120.SecondaryColor = Color3.new(0.545098, 0.313726, 0.215686)
  1269. for i,v in pairs(mas:GetChildren()) do
  1270. v.Parent = workspace
  1271. pcall(function() v:MakeJoints() end)
  1272. end
  1273. mas:Destroy()
  1274. for i,v in pairs(cors) do
  1275. spawn(function()
  1276. pcall(v)
  1277. end)
  1278. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement