daily pastebin goal
46%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player=game:GetService("Players").LocalPlayer
  2. local char=player.Character
  3. local mouse=player:GetMouse()
  4.  
  5. local m = Instance.new("Model")
  6. m.Name = "Flamethrower"
  7. p1 = Instance.new("Part", m)
  8. p1.BrickColor = BrickColor.new("Really Red")
  9. p1.FormFactor = Enum.FormFactor.Custom
  10. p1.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  11. p1.CFrame = CFrame.new(-4.31863213, 1.2999835, 26.8280258, 0.898792505, -0.438372105, 6.44474255e-007, 4.2475844e-007, -8.7068031e-007, 0.999996066, -0.438369185, -0.898793578, 7.74858847e-007)
  12. p1.CanCollide = false
  13. b1 = Instance.new("CylinderMesh", p1)
  14. b1.Name = "Mesh"
  15. b1.Scale = Vector3.new(0.699999988, 1, 1.39999998)
  16. p2 = Instance.new("Part", m)
  17. p2.BrickColor = BrickColor.new("Really Red")
  18. p2.FormFactor = Enum.FormFactor.Custom
  19. p2.Size = Vector3.new(0.200000003, 0.799999952, 0.200000003)
  20. p2.CFrame = CFrame.new(-4.22384691, 1.29998171, 27.1336765, -0.945517242, 0.325569242, 6.44474255e-007, -5.4352688e-007, 9.19547631e-007, 0.999996066, 0.325566202, 0.945517898, 7.74858847e-007)
  21. p2.CanCollide = false
  22. b2 = Instance.new("CylinderMesh", p2)
  23. b2.Name = "Mesh"
  24. b2.Scale = Vector3.new(0.899999976, 1, 1.5)
  25. p3 = Instance.new("Part", m)
  26. p3.BrickColor = BrickColor.new("Really Red")
  27. p3.Material = Enum.Material.Grass
  28. p3.Name = "Handle2"
  29. p3.FormFactor = Enum.FormFactor.Custom
  30. p3.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
  31. p3.CFrame = CFrame.new(-4.36384678, 1.48997498, 26.7136898, 0.998628676, -0.0523356572, 1.65257313e-006, 0.0505531132, 0.964598, 0.258818507, -0.0135439271, -0.258463174, 0.96592474)
  32. p3.CanCollide = false
  33. b3 = Instance.new("CylinderMesh", p3)
  34. b3.Name = "Mesh"
  35. b3.Scale = Vector3.new(0.699999988, 1, 1.39999998)
  36. p4 = Instance.new("Part", m)
  37. p4.BrickColor = BrickColor.new("Really Red")
  38. p4.FormFactor = Enum.FormFactor.Custom
  39. p4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  40. p4.CFrame = CFrame.new(-4.08384609, 1.29998279, 26.8336773, 6.66825997e-007, 1.56834642e-006, 0.999999166, 0.999996066, 6.85452505e-007, 7.1152931e-007, 8.0466117e-007, 0.999998689, 1.56834619e-006)
  41. p4.CanCollide = false
  42. b4 = Instance.new("CylinderMesh", p4)
  43. b4.Name = "Mesh"
  44. b4.Scale = Vector3.new(1.20000005, 0.5, 1.78999996)
  45. p5 = Instance.new("Part", m)
  46. p5.BrickColor = BrickColor.new("Really black")
  47. p5.FormFactor = Enum.FormFactor.Custom
  48. p5.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003)
  49. p5.CFrame = CFrame.new(-4.08383894, 1.29998529, 27.6837158, 6.66825997e-007, 1.56834642e-006, 0.999999166, 0.999996066, 6.85452505e-007, 7.1152931e-007, 8.0466117e-007, 0.999998689, 1.56834619e-006)
  50. p5.CanCollide = false
  51. b5 = Instance.new("CylinderMesh", p5)
  52. b5.Name = "Mesh"
  53. b5.Scale = Vector3.new(1, 1, 1.70000005)
  54. p6 = Instance.new("Part", m)
  55. p6.BrickColor = BrickColor.new("Really black")
  56. p6.Size = Vector3.new(1, 1.20000005, 1)
  57. p6.CFrame = CFrame.new(-4.07870293, 1.24756896, 29.8614006, -0.0122325243, 0.00382106518, 0.999915302, 0.999817967, -0.0144664943, 0.0122870263, 0.0145196915, 0.999886394, -0.0036436012)
  58. p6.BottomSurface = Enum.SurfaceType.Smooth
  59. p6.TopSurface = Enum.SurfaceType.Smooth
  60. b6 = Instance.new("SpecialMesh", p6)
  61. b6.MeshType = Enum.MeshType.Brick
  62. b6.Name = "Mesh"
  63. b6.Scale = Vector3.new(0.461538464, 0.769230723, 0.461538464)
  64. b7 = Instance.new("CylinderMesh", p6)
  65. b7.Name = "Mesh"
  66. b7.Scale = Vector3.new(1, 0.899999976, 0.439999998)
  67. d1 = Instance.new("Decal", p6)
  68. d1.Texture = "http://www.roblox.com/asset/?id=85448092"
  69. d1.Face = Enum.NormalId.Top
  70. p7 = Instance.new("Part", m)
  71. p7.BrickColor = BrickColor.new("Institutional white")
  72. p7.Size = Vector3.new(1, 1.20000005, 1)
  73. p7.CFrame = CFrame.new(-4.08290291, 1.26348102, 28.7615242, -0.0122325243, 0.00382106518, 0.999915302, 0.999817967, -0.0144664943, 0.0122870263, 0.0145196915, 0.999886394, -0.0036436012)
  74. p7.BottomSurface = Enum.SurfaceType.Smooth
  75. p7.TopSurface = Enum.SurfaceType.Smooth
  76. b8 = Instance.new("SpecialMesh", p7)
  77. b8.MeshType = Enum.MeshType.Brick
  78. b8.Name = "Mesh"
  79. b8.Scale = Vector3.new(0.15384616, 1, 0.307692319)
  80. b9 = Instance.new("CylinderMesh", p7)
  81. b9.Name = "Mesh"
  82. b9.Scale = Vector3.new(1.70000005, 1.10000002, 0.300000012)
  83. p8 = Instance.new("Part", m)
  84. p8.BrickColor = BrickColor.new("Really black")
  85. p8.Name = "Barrel"
  86. p8.Size = Vector3.new(1, 1.20000005, 1)
  87. p8.CFrame = CFrame.new(-4.07320023, 1.24000597, 30.3669701, 0.999916196, 0.00121372147, 0.0126282591, 0.0122011788, 0.18082355, -0.983437181, -0.00347740925, 0.983514667, 0.180784032)
  88. p8.BottomSurface = Enum.SurfaceType.Smooth
  89. p8.TopSurface = Enum.SurfaceType.Smooth
  90. b10 = Instance.new("SpecialMesh", p8)
  91. b10.MeshId = "http://www.roblox.com/asset/?id=1091603"
  92. b10.TextureId = ""
  93. b10.MeshType = Enum.MeshType.FileMesh
  94. b10.Name = "Mesh"
  95. b10.Scale = Vector3.new(0.300000012, 0.300000012, 0.300000012)
  96. p9 = Instance.new("Part", m)
  97. p9.BrickColor = BrickColor.new("Really black")
  98. p9.FormFactor = Enum.FormFactor.Custom
  99. p9.Size = Vector3.new(0.288717359, 0.288717419, 0.288717419)
  100. p9.CFrame = CFrame.new(-4.12095404, 1.04495895, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  101. p9.BottomSurface = Enum.SurfaceType.Smooth
  102. p9.TopSurface = Enum.SurfaceType.Smooth
  103. b11 = Instance.new("SpecialMesh", p9)
  104. b11.MeshType = Enum.MeshType.Brick
  105. b11.Name = "Mesh"
  106. b11.Scale = Vector3.new(1.37011397, 0.164413691, 1.50712562)
  107. p10 = Instance.new("Part", m)
  108. p10.BrickColor = BrickColor.new("Institutional white")
  109. p10.Size = Vector3.new(1, 1.20000005, 1)
  110. p10.CFrame = CFrame.new(-4.07969093, 1.060624, 28.9585953, -0.999915302, -0.0122325243, -0.00382106518, -0.0122870263, 0.999817967, 0.0144664943, 0.0036436012, 0.0145196915, -0.999886394)
  111. p10.BottomSurface = Enum.SurfaceType.Smooth
  112. p10.TopSurface = Enum.SurfaceType.Smooth
  113. b12 = Instance.new("SpecialMesh", p10)
  114. b12.MeshType = Enum.MeshType.Brick
  115. b12.Name = "Mesh"
  116. b12.Scale = Vector3.new(0.15384616, 0.153846145, 1)
  117. p11 = Instance.new("Part", m)
  118. p11.BrickColor = BrickColor.new("Institutional white")
  119. p11.Name = "Handle"
  120. p11.Size = Vector3.new(1, 1.20000005, 1)
  121. p11.CFrame = CFrame.new(-4.07311201, 0.707809985, 28.6968918, -0.999919653, 0.0111990925, 0.00594851235, -0.0121958125, -0.977798998, -0.209190041, 0.00347371167, -0.209245741, 0.977856994)
  122. p11.BottomSurface = Enum.SurfaceType.Smooth
  123. p11.TopSurface = Enum.SurfaceType.Smooth
  124. b13 = Instance.new("SpecialMesh", p11)
  125. b13.MeshType = Enum.MeshType.Brick
  126. b13.Name = "Mesh"
  127. b13.Scale = Vector3.new(0.15384616, 0.538461506, 0.307692319)
  128. p12 = Instance.new("Part", m)
  129. p12.BrickColor = BrickColor.new("Really black")
  130. p12.FormFactor = Enum.FormFactor.Custom
  131. p12.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  132. p12.CFrame = CFrame.new(-4.08139706, 0.981667995, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  133. p12.BottomSurface = Enum.SurfaceType.Smooth
  134. p12.TopSurface = Enum.SurfaceType.Smooth
  135. b14 = Instance.new("SpecialMesh", p12)
  136. b14.MeshType = Enum.MeshType.Brick
  137. b14.Name = "Mesh"
  138. b14.Scale = Vector3.new(0.351311207, 0.351311326, 0.175655678)
  139. p13 = Instance.new("Part", m)
  140. p13.BrickColor = BrickColor.new("Really black")
  141. p13.FormFactor = Enum.FormFactor.Custom
  142. p13.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  143. p13.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.1310101, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  144. p13.BottomSurface = Enum.SurfaceType.Smooth
  145. p13.TopSurface = Enum.SurfaceType.Smooth
  146. b15 = Instance.new("SpecialMesh", p13)
  147. b15.MeshType = Enum.MeshType.Wedge
  148. b15.Name = "Mesh"
  149. b15.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
  150. p14 = Instance.new("Part", m)
  151. p14.BrickColor = BrickColor.new("Really black")
  152. p14.FormFactor = Enum.FormFactor.Custom
  153. p14.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  154. p14.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.2496853, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  155. p14.BottomSurface = Enum.SurfaceType.Smooth
  156. p14.TopSurface = Enum.SurfaceType.Smooth
  157. b16 = Instance.new("SpecialMesh", p14)
  158. b16.MeshType = Enum.MeshType.Wedge
  159. b16.Name = "Mesh"
  160. b16.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
  161. p15 = Instance.new("Part", m)
  162. p15.BrickColor = BrickColor.new("Really black")
  163. p15.FormFactor = Enum.FormFactor.Custom
  164. p15.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  165. p15.CFrame = CFrame.new(-4.08139706, 0.922330976, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  166. p15.BottomSurface = Enum.SurfaceType.Smooth
  167. p15.TopSurface = Enum.SurfaceType.Smooth
  168. b17 = Instance.new("SpecialMesh", p15)
  169. b17.MeshType = Enum.MeshType.Brick
  170. b17.Name = "Mesh"
  171. b17.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
  172. p16 = Instance.new("Part", m)
  173. p16.BrickColor = BrickColor.new("Really black")
  174. p16.FormFactor = Enum.FormFactor.Custom
  175. p16.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  176. p16.CFrame = CFrame.new(-4.12095404, 0.831354022, 28.9332237, 1, 4.23044048e-006, -3.67623443e-006, 4.23044048e-006, 1, 1.40141863e-008, -3.67623443e-006, 1.40141863e-008, 1)
  177. p16.BottomSurface = Enum.SurfaceType.Smooth
  178. p16.TopSurface = Enum.SurfaceType.Smooth
  179. b18 = Instance.new("SpecialMesh", p16)
  180. b18.MeshType = Enum.MeshType.Wedge
  181. b18.Name = "Mesh"
  182. b18.Scale = Vector3.new(1.75655627, 1.68629432, 0.175655678)
  183. p17 = Instance.new("Part", m)
  184. p17.BrickColor = BrickColor.new("Really black")
  185. p17.FormFactor = Enum.FormFactor.Custom
  186. p17.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  187. p17.CFrame = CFrame.new(-4.12095404, 0.878817022, 28.9727783, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  188. p17.BottomSurface = Enum.SurfaceType.Smooth
  189. p17.TopSurface = Enum.SurfaceType.Smooth
  190. b19 = Instance.new("SpecialMesh", p17)
  191. b19.MeshType = Enum.MeshType.Brick
  192. b19.Name = "Mesh"
  193. b19.Scale = Vector3.new(1.75655627, 1.2647208, 0.175655678)
  194. p18 = Instance.new("Part", m)
  195. p18.BrickColor = BrickColor.new("Really black")
  196. p18.FormFactor = Enum.FormFactor.Custom
  197. p18.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  198. p18.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  199. p18.BottomSurface = Enum.SurfaceType.Smooth
  200. p18.TopSurface = Enum.SurfaceType.Smooth
  201. b20 = Instance.new("SpecialMesh", p18)
  202. b20.MeshType = Enum.MeshType.Brick
  203. b20.Name = "Mesh"
  204. b20.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
  205. p19 = Instance.new("Part", m)
  206. p19.BrickColor = BrickColor.new("Really black")
  207. p19.FormFactor = Enum.FormFactor.Custom
  208. p19.Size = Vector3.new(0.799999356, 0.200000003, 0.399999857)
  209. p19.CFrame = CFrame.new(-4.08384228, 0.900013506, 26.983717, -9.93235176e-007, 0.999998927, 1.46056539e-006, -0.987684608, 6.33298328e-007, -0.156433105, -0.156434968, 1.56834574e-006, 0.987686932)
  210. p19.CanCollide = false
  211. b21 = Instance.new("BlockMesh", p19)
  212. b21.Name = "Mesh"
  213. b21.Scale = Vector3.new(1, 1, 0.699999988)
  214. p20 = Instance.new("Part", m)
  215. p20.BrickColor = BrickColor.new("Really black")
  216. p20.FormFactor = Enum.FormFactor.Custom
  217. p20.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  218. p20.CFrame = CFrame.new(-4.12095404, 0.700815022, 29.0321178, 1, -5.8353038e-008, -6.71499549e-008, 6.71499549e-008, 2.22569144e-010, -1, -5.8353038e-008, 1, -2.22569144e-010)
  219. p20.BottomSurface = Enum.SurfaceType.Smooth
  220. p20.TopSurface = Enum.SurfaceType.Smooth
  221. b22 = Instance.new("SpecialMesh", p20)
  222. b22.MeshType = Enum.MeshType.Wedge
  223. b22.Name = "Mesh"
  224. b22.Scale = Vector3.new(1.75655627, 0.702622652, 0.175655678)
  225. p21 = Instance.new("Part", m)
  226. p21.BrickColor = BrickColor.new("Really black")
  227. p21.FormFactor = Enum.FormFactor.Custom
  228. p21.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  229. p21.CFrame = CFrame.new(-4.12095404, 0.700815022, 29.3090191, -1, -0, -0, -0, -0, -1, -0, -1, -0)
  230. p21.BottomSurface = Enum.SurfaceType.Smooth
  231. p21.TopSurface = Enum.SurfaceType.Smooth
  232. b23 = Instance.new("SpecialMesh", p21)
  233. b23.MeshType = Enum.MeshType.Wedge
  234. b23.Name = "Mesh"
  235. b23.Scale = Vector3.new(1.75655627, 0.702622652, 0.175655678)
  236. p22 = Instance.new("Part", m)
  237. p22.BrickColor = BrickColor.new("Really black")
  238. p22.FormFactor = Enum.FormFactor.Custom
  239. p22.Size = Vector3.new(0.799999356, 0.200000003, 0.200000003)
  240. p22.CFrame = CFrame.new(-4.08384562, 0.887999296, 27.1074524, -9.93235176e-007, 0.999998927, 1.46056539e-006, -0.987684608, 6.33298328e-007, -0.156433105, -0.156434968, 1.56834574e-006, 0.987686932)
  241. p22.CanCollide = false
  242. b24 = Instance.new("BlockMesh", p22)
  243. b24.Name = "Mesh"
  244. b24.Scale = Vector3.new(1, 0.300000012, 0.899999976)
  245. p23 = Instance.new("Part", m)
  246. p23.BrickColor = BrickColor.new("Really black")
  247. p23.FormFactor = Enum.FormFactor.Custom
  248. p23.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  249. p23.CFrame = CFrame.new(-4.08139706, 0.843216002, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  250. p23.BottomSurface = Enum.SurfaceType.Smooth
  251. p23.TopSurface = Enum.SurfaceType.Smooth
  252. b25 = Instance.new("SpecialMesh", p23)
  253. b25.MeshType = Enum.MeshType.Brick
  254. b25.Name = "Mesh"
  255. b25.Scale = Vector3.new(0.351311207, 0.175655663, 0.878278494)
  256. p24 = Instance.new("Part", m)
  257. p24.BrickColor = BrickColor.new("Really black")
  258. p24.FormFactor = Enum.FormFactor.Custom
  259. p24.Size = Vector3.new(0.474551886, 0.474551976, 0.474551976)
  260. p24.CFrame = CFrame.new(-4.14073181, 0.728498995, 28.9727783, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  261. p24.BottomSurface = Enum.SurfaceType.Smooth
  262. p24.TopSurface = Enum.SurfaceType.Smooth
  263. b26 = Instance.new("SpecialMesh", p24)
  264. b26.MeshType = Enum.MeshType.Brick
  265. b26.Name = "Mesh"
  266. b26.Scale = Vector3.new(0.750219524, 0.0333430953, 0.0833577439)
  267. p25 = Instance.new("Part", m)
  268. p25.BrickColor = BrickColor.new("Really black")
  269. p25.FormFactor = Enum.FormFactor.Custom
  270. p25.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
  271. p25.CFrame = CFrame.new(-4.12095404, 0.661257982, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  272. p25.BottomSurface = Enum.SurfaceType.Smooth
  273. p25.TopSurface = Enum.SurfaceType.Smooth
  274. b27 = Instance.new("SpecialMesh", p25)
  275. b27.MeshType = Enum.MeshType.Brick
  276. b27.Name = "Mesh"
  277. b27.Scale = Vector3.new(1.75655627, 0.175655663, 1.93221235)
  278. p26 = Instance.new("Part", m)
  279. p26.BrickColor = BrickColor.new("Really black")
  280. p26.FormFactor = Enum.FormFactor.Custom
  281. p26.Size = Vector3.new(0.474551886, 0.474551976, 0.474551976)
  282. p26.CFrame = CFrame.new(-4.12095404, 0.601921976, 29.1705666, 1, -0, 0, 0, -0, 1, 0, -1, 0)
  283. p26.BottomSurface = Enum.SurfaceType.Smooth
  284. p26.TopSurface = Enum.SurfaceType.Smooth
  285. b28 = Instance.new("SpecialMesh", p26)
  286. b28.MeshType = Enum.MeshType.Wedge
  287. b28.Name = "Mesh"
  288. b28.Scale = Vector3.new(0.833577335, 0.916935086, 0.166715518)
  289. p27 = Instance.new("Part", m)
  290. p27.BrickColor = BrickColor.new("Dark stone grey")
  291. p27.Transparency = 1
  292. p27.Name = "Handle3"
  293. p27.FormFactor = Enum.FormFactor.Custom
  294. p27.Size = Vector3.new(1, 1.4000001, 0.200000033)
  295. p27.CFrame = CFrame.new(-4.08382893, 0.999998987, 28.0838623, 0.999999404, -1.18091657e-006, 5.96045709e-007, 5.96045652e-007, -6.55650126e-007, 0.999996662, 1.18091657e-006, -0.999998808, 6.55650069e-007)
  296. p27.BottomSurface = Enum.SurfaceType.Smooth
  297. p27.TopSurface = Enum.SurfaceType.Smooth
  298. b29 = Instance.new("SpecialMesh", p27)
  299. b29.MeshType = Enum.MeshType.Wedge
  300. b29.Name = "Mesh"
  301. b29.Scale = Vector3.new(0.25, 0.25, 0.200000003)
  302. m.Parent = char
  303. m:MakeJoints()
  304.  
  305.  
  306. local m2 = Instance.new("Model")
  307. m2.Name = "Fueltank"
  308. p1 = Instance.new("Part", m2)
  309. p1.BrickColor = BrickColor.new("Black")
  310. p1.FormFactor = Enum.FormFactor.Custom
  311. p1.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
  312. p1.CFrame = CFrame.new(-0.283439994, 0.479694009, -15.516386, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006)
  313. b1 = Instance.new("CylinderMesh", p1)
  314. b1.Name = "Mesh"
  315. b1.Scale = Vector3.new(2, 1.5, 1)
  316. p2 = Instance.new("Part", m2)
  317. p2.BrickColor = BrickColor.new("Institutional white")
  318. p2.Material = Enum.Material.Neon
  319. p2.Name = "ChangeColor"
  320. p2.FormFactor = Enum.FormFactor.Custom
  321. p2.Size = Vector3.new(0.400000036, 1.19999981, 1)
  322. p2.CFrame = CFrame.new(0.116168, 1.10000396, -15.0161295, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006)
  323. p2.CanCollide = false
  324. b2 = Instance.new("CylinderMesh", p2)
  325. b2.Name = "Mesh"
  326. b2.Scale = Vector3.new(2, 1, 1)
  327. p3 = Instance.new("Part", m2)
  328. p3.BrickColor = BrickColor.new("Mid gray")
  329. p3.Material = Enum.Material.Neon
  330. p3.Name = "FuelCenter"
  331. p3.FormFactor = Enum.FormFactor.Custom
  332. p3.Size = Vector3.new(0.400000036, 0.799999833, 1)
  333. p3.CFrame = CFrame.new(-0.283439994, 1.19967496, -15.5163736, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006)
  334. b3 = Instance.new("CylinderMesh", p3)
  335. b3.Name = "Mesh"
  336. b3.Scale = Vector3.new(1.39999998, 1, 1)
  337. p4 = Instance.new("Part", m2)
  338. p4.BrickColor = BrickColor.new("Really black")
  339. p4.FormFactor = Enum.FormFactor.Custom
  340. p4.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
  341. p4.CFrame = CFrame.new(0.125933915, 0.449839592, -15.0262089, 0.000333837903, 0.000261210633, 0.999998927, -0.999996006, -5.68053565e-007, 0.000335178163, -7.72354667e-007, -0.999998629, 0.000264377333)
  342. p4.BottomSurface = Enum.SurfaceType.Smooth
  343. p4.TopSurface = Enum.SurfaceType.Smooth
  344. b4 = Instance.new("SpecialMesh", p4)
  345. b4.MeshType = Enum.MeshType.Sphere
  346. b4.Name = "Mesh"
  347. p5 = Instance.new("Part", m2)
  348. p5.BrickColor = BrickColor.new("Really black")
  349. p5.FormFactor = Enum.FormFactor.Custom
  350. p5.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
  351. p5.CFrame = CFrame.new(-0.283836007, 1.60003495, -15.5161457, -6.74276521e-007, -1.59814874e-006, 0.999998927, -0.999996066, -5.96045879e-007, 6.44474198e-007, -7.74858904e-007, -0.999998748, 1.56834574e-006)
  352. p5.BottomSurface = Enum.SurfaceType.Smooth
  353. p5.TopSurface = Enum.SurfaceType.Smooth
  354. b5 = Instance.new("SpecialMesh", p5)
  355. b5.MeshType = Enum.MeshType.Sphere
  356. b5.Name = "Mesh"
  357. b5.Scale = Vector3.new(0.709999979, 0.709999979, 0.709999979)
  358. p6 = Instance.new("Part", m2)
  359. p6.BrickColor = BrickColor.new("Really black")
  360. p6.FormFactor = Enum.FormFactor.Custom
  361. p6.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
  362. p6.CFrame = CFrame.new(0.116157003, 2.09999895, -15.0161324, 1.5385441e-006, -6.66825883e-007, 0.999999046, 6.85452505e-007, -0.999996066, 6.74276464e-007, 0.999998748, -7.15254316e-007, 1.53854353e-006)
  363. b6 = Instance.new("CylinderMesh", p6)
  364. b6.Name = "Mesh"
  365. b6.Scale = Vector3.new(2, 1, 1)
  366. p7 = Instance.new("Part", m2)
  367. p7.BrickColor = BrickColor.new("Really black")
  368. p7.FormFactor = Enum.FormFactor.Custom
  369. p7.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
  370. p7.CFrame = CFrame.new(0.116163999, 1.70000398, -15.0161362, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006)
  371. p7.BottomSurface = Enum.SurfaceType.Smooth
  372. p7.TopSurface = Enum.SurfaceType.Smooth
  373. b7 = Instance.new("SpecialMesh", p7)
  374. b7.MeshType = Enum.MeshType.Sphere
  375. b7.Name = "Mesh"
  376. p8 = Instance.new("Part", m2)
  377. p8.BrickColor = BrickColor.new("Really black")
  378. p8.FormFactor = Enum.FormFactor.Custom
  379. p8.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
  380. p8.CFrame = CFrame.new(-0.283437014, 0.779699028, -15.5163822, -6.74276521e-007, -1.59814874e-006, 0.999998927, -0.999996066, -5.96045879e-007, 6.44474198e-007, -7.74858904e-007, -0.999998748, 1.56834574e-006)
  381. p8.BottomSurface = Enum.SurfaceType.Smooth
  382. p8.TopSurface = Enum.SurfaceType.Smooth
  383. b8 = Instance.new("SpecialMesh", p8)
  384. b8.MeshType = Enum.MeshType.Sphere
  385. b8.Name = "Mesh"
  386. b8.Scale = Vector3.new(0.709999979, 0.709999979, 0.709999979)
  387. p9 = Instance.new("Part", m2)
  388. p9.BrickColor = BrickColor.new("Really black")
  389. p9.FormFactor = Enum.FormFactor.Custom
  390. p9.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
  391. p9.CFrame = CFrame.new(-0.28343299, 0.279718012, -15.5163898, 7.71134239e-007, 0.999998987, -1.59814874e-006, 0.999996066, 6.18397394e-007, -5.96045879e-007, 9.23870459e-007, 1.59814817e-006, -0.999998748)
  392. b9 = Instance.new("CylinderMesh", p9)
  393. b9.Name = "Mesh"
  394. b9.Scale = Vector3.new(2, 1.5, 1)
  395. p10 = Instance.new("Part", m2)
  396. p10.BrickColor = BrickColor.new("Really black")
  397. p10.FormFactor = Enum.FormFactor.Custom
  398. p10.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
  399. p10.CFrame = CFrame.new(-0.68383199, 1.701056, -15.012146, -5.82017606e-007, 0.000486697129, 0.999998808, -0.999639988, -0.026683826, 1.37168181e-005, 0.0266824923, -0.999642611, 0.000489670201)
  400. p10.BottomSurface = Enum.SurfaceType.Smooth
  401. p10.TopSurface = Enum.SurfaceType.Smooth
  402. b10 = Instance.new("SpecialMesh", p10)
  403. b10.MeshType = Enum.MeshType.Sphere
  404. b10.Name = "Mesh"
  405. p11 = Instance.new("Part", m2)
  406. p11.BrickColor = BrickColor.new("Institutional white")
  407. p11.Material = Enum.Material.Neon
  408. p11.Name = "ChangeColor2"
  409. p11.FormFactor = Enum.FormFactor.Custom
  410. p11.Size = Vector3.new(0.400000036, 1.19999981, 1)
  411. p11.CFrame = CFrame.new(-0.683839977, 1.100003, -15.0161276, 1.3895326e-006, -6.48199716e-007, 0.999999166, 5.66243557e-007, -0.999996305, 6.33298498e-007, 0.999998689, -8.34463606e-007, 1.4491369e-006)
  412. p11.CanCollide = false
  413. b11 = Instance.new("CylinderMesh", p11)
  414. b11.Name = "Mesh"
  415. b11.Scale = Vector3.new(2, 1, 1)
  416. p12 = Instance.new("Part", m2)
  417. p12.BrickColor = BrickColor.new("Really black")
  418. p12.FormFactor = Enum.FormFactor.Custom
  419. p12.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
  420. p12.CFrame = CFrame.new(-0.683830023, 2.10087895, -15.0254364, -0.000486697129, -7.13852432e-006, 0.999998868, 0.0266838577, -0.999639928, 7.20503476e-006, 0.999642491, 0.0266825818, 0.00048978941)
  421. b12 = Instance.new("CylinderMesh", p12)
  422. b12.Name = "Mesh"
  423. b12.Scale = Vector3.new(2, 1, 1)
  424. p13 = Instance.new("Part", m2)
  425. p13.BrickColor = BrickColor.new("Really black")
  426. p13.FormFactor = Enum.FormFactor.Custom
  427. p13.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
  428. p13.CFrame = CFrame.new(-0.683435977, 0.499675006, -15.0163736, -6.74276521e-007, -1.59814874e-006, 0.999998927, -0.999996066, -5.96045879e-007, 6.44474198e-007, -7.74858904e-007, -0.999998748, 1.56834574e-006)
  429. p13.BottomSurface = Enum.SurfaceType.Smooth
  430. p13.TopSurface = Enum.SurfaceType.Smooth
  431. b13 = Instance.new("SpecialMesh", p13)
  432. b13.MeshType = Enum.MeshType.Sphere
  433. b13.Name = "Mesh"
  434. m2.Parent = char
  435. m2:MakeJoints()
  436.  
  437. local prev
  438. local parts = char.Fueltank:GetChildren()
  439.  
  440. for i = 1,#parts do
  441.     if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
  442.         if (prev ~= nil)then
  443.             local weld = Instance.new("Weld")
  444.             weld.Part0 = prev
  445.             weld.Part1 = parts[i]
  446.             weld.C0 = prev.CFrame:inverse()
  447.             weld.C1 = parts[i].CFrame:inverse()
  448.             weld.Parent = prev
  449.         end
  450.         prev = parts[i]
  451.     end
  452. end
  453.  
  454. local prev
  455. local parts = char.Flamethrower:GetChildren()
  456.  
  457. for i = 1,#parts do
  458.     if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
  459.         if (prev ~= nil)then
  460.             local weld = Instance.new("Weld")
  461.             weld.Part0 = prev
  462.             weld.Part1 = parts[i]
  463.             weld.C0 = prev.CFrame:inverse()
  464.             weld.C1 = parts[i].CFrame:inverse()
  465.             weld.Parent = prev
  466.         end
  467.         prev = parts[i]
  468.     end
  469. end
  470.  
  471. char.Fueltank.FuelCenter.CFrame = CFrame.new(char.Torso.Position)
  472.  
  473. local arms = nil
  474. local torso = nil
  475. local welds = {}
  476.  
  477. arms = {char:FindFirstChild("Left Arm"), char:FindFirstChild("Right Arm")}
  478. torso = char:FindFirstChild("Torso")
  479. if arms ~= nil and torso ~= nil then
  480. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  481. if sh ~= nil then
  482. local yes = true
  483. if yes then
  484. yes = false
  485. sh[1].Part1 = nil
  486. sh[2].Part1 = nil
  487. local weld1 = Instance.new("Weld")
  488. weld1.Part0 = torso
  489. weld1.Parent = torso
  490. weld1.Part1 = arms[1]
  491. weld1.C1 = CFrame.new(-0.249, 1.35, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  492. welds[1] = weld1
  493. local weld2 = Instance.new("Weld")
  494. weld2.Part0 = torso
  495. weld2.Parent = torso
  496. weld2.Part1 = arms[2]
  497. weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  498. welds[2] = weld2
  499. end
  500. end
  501. end
  502.  
  503. char.Flamethrower.Handle.CFrame = CFrame.new(char["Left Arm"].Position)
  504.  
  505. local SWeld = Instance.new("Weld",char.Fueltank.FuelCenter)
  506. SWeld.Name = "SWeld"
  507. SWeld.Part0 = char.Fueltank.FuelCenter
  508. SWeld.Part1 = char.Torso
  509. SWeld.C0 = CFrame.new(1.35,0,0)*CFrame.fromEulerAnglesXYZ(0,-7.9,59.68)
  510.  
  511. local SWeld2 = Instance.new("Weld",char.Flamethrower.Handle)
  512. SWeld2.Name = "SWeld2"
  513. SWeld2.Part0 = char.Flamethrower.Handle
  514. SWeld2.Part1 = char["Left Arm"]
  515. SWeld2.C0 = CFrame.new(-.70,0,-1)*CFrame.Angles(5,7.8,0)
  516.  
  517. local auto = 0
  518.  
  519.  
  520. local s1=Instance.new("Sound")
  521. s1.SoundId="http://www.roblox.com/asset/?id=260131404"
  522. s1.PlayOnRemove=false
  523. s1.Volume=100
  524. s1.Looped=false
  525. s1.Pitch = 1
  526. s1.Parent=char.Flamethrower.Handle
  527.  
  528. local s2=Instance.new("Sound")
  529. s2.SoundId="http://www.roblox.com/asset/?id=260131485"
  530. s2.PlayOnRemove=false
  531. s2.Volume=100
  532. s2.Looped=true
  533. s2.Pitch = 1
  534. s2.Parent=char.Flamethrower.Handle
  535.  
  536. local s3=Instance.new("Sound")
  537. s3.SoundId="http://www.roblox.com/asset/?id=260131519"
  538. s3.PlayOnRemove=false
  539. s3.Volume=100
  540. s3.Looped=false
  541. s3.Pitch = 1
  542. s3.Parent=char.Flamethrower.Handle
  543.  
  544. mouse.Button1Down:connect(function()
  545.     if auto == 0 then
  546.         s1:Stop()
  547.         s2:Stop()
  548.     end
  549.     if auto == 1 then
  550.         s1:Play()
  551.         s1:Stop()
  552.         s2:Play()
  553.     end
  554. end)
  555.  
  556. mouse.Button1Up:connect(function()
  557.     if auto == 0 then
  558.         s1:Stop()
  559.         s2:Stop()
  560.         s3:Play()
  561.         if auto == 1 then
  562.             s1:Stop()
  563.             s2:Stop()
  564.             s3:Stop()
  565.         end
  566.     end
  567. end)
  568.  
  569. local burning = false
  570. local burning2 = false
  571.  
  572. mouse.Button1Down:connect(function()
  573.     SWeld2.C0 = CFrame.new(-.70,0,-.80)*CFrame.Angles(5,7.8,0)
  574. char.Fueltank.ChangeColor.BrickColor = BrickColor.New("Really red")
  575.     char.Fueltank.ChangeColor2.BrickColor = BrickColor.New("Really red")
  576.     char.Fueltank.FuelCenter.BrickColor = BrickColor.New("Really red")
  577. end)
  578.  
  579. mouse.Button1Down:connect(function()
  580.     auto = 1
  581.     while auto == 1 do
  582.         wait(.20)
  583.     local smoke = Instance.new("Smoke",char.Flamethrower.Barrel)
  584.     game.Debris:AddItem(smoke,1)
  585. local bullet = Instance.new("Part",workspace)
  586. game.Debris:AddItem(bullet,.90)
  587. bullet.Size = Vector3.new(2,2,2)
  588. bullet.Shape = "Ball"
  589. bullet.Transparency = 1
  590. bullet.CanCollide = false
  591. bullet.Name = "bullet"
  592. bullet.CFrame = char.Flamethrower.Barrel.CFrame*CFrame.new(0,3,0)
  593. local fire = Instance.new("Fire",bullet)
  594. local light = Instance.new("PointLight", bullet)
  595. light.Range = 5
  596. light.Brightness = 20
  597. light.Color = Color3.new(255, 85, 0)
  598. local bvelocity = Instance.new("BodyVelocity",bullet)
  599. bvelocity.maxForce = Vector3.new(math.huge,math.huge,850)
  600. bvelocity.velocity = mouse.Hit.lookVector*47
  601. bullet.Touched:connect(function(hit)
  602. if hit.Parent:FindFirstChild("Humanoid") then
  603. local fire1 = Instance.new("Fire",hit.Parent.Torso)
  604. game.Debris:AddItem(fire1,3)
  605. hit.Parent.Humanoid:TakeDamage(math.random(0.52,0.65))
  606. wait(.30)
  607. hit.Parent.Humanoid:TakeDamage(math.random(0.53,0.66))
  608. wait(.30)
  609. hit.Parent.Humanoid:TakeDamage(math.random(0.54,0.67))
  610. elseif hit.Parent:FindFirstChild("Humanoid") == nil and not hit.Name:lower():find("base") and not hit.Name:lower():find("Base") and not hit.Name:lower():find("Baseplate") then
  611.     local fire2 = Instance.new("Fire",hit)
  612.     wait(3)
  613.     hit.Transparency = .25
  614.     wait(1)
  615.     hit.Transparency = .50
  616.     hit.BrickColor = BrickColor.new("Really black")
  617.     wait(2)
  618.     hit.Transparency = .75
  619.     wait(1)
  620.     hit.Transparency = 1
  621.     fire2:Destroy()
  622.     wait(.01)
  623.     hit:Destroy()
  624.     end
  625. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Torso:FindFirstChild("Fire") then
  626.     burning = true
  627. if burning == true then
  628.     while burning do
  629.     wait(.80)
  630.     hit.Parent.Humanoid:TakeDamage(.44)
  631. if hit.Parent.Torso:FindFirstChild("Fire")==nil then
  632.     burning = false
  633. end
  634. end
  635. end
  636.     end
  637. end)
  638.     end
  639. end)
  640.  
  641. mouse.Button1Up:connect(function()
  642.     SWeld2.C0 = CFrame.new(-.70,0,-1)*CFrame.Angles(5,7.8,0)
  643.     auto = 0
  644.     char.Fueltank.ChangeColor.BrickColor = BrickColor.New("Institutional white")
  645.     char.Fueltank.ChangeColor2.BrickColor = BrickColor.New("Institutional white")
  646.     char.Fueltank.FuelCenter.BrickColor = BrickColor.New("Institutional white")
  647.     if char.Flamethrower.Barrel:FindFirstChild("Smoke") then
  648.         char.Flamethrower.Barrel.Smoke:Remove()
  649.     end
  650. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top