ajcooper2003

Untitled

Nov 21st, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. p = game.Players.LocalPlayer
  2. c = p.Character
  3. torso = c.Torso
  4. local firee = false
  5. local damage = 1
  6. local debounce = false
  7. local debounced = false
  8. local debounceair = false
  9. local firedebounce = false
  10. local removehatchet = false
  11. local hatchetequipped = false
  12. RunService = game:service'RunService'
  13. Debris = game:service'Debris'
  14. local mouse = p:GetMouse()
  15. damagelist = {}
  16. time_until_extinguish = 50
  17. for _,v in pairs(c:children()) do
  18. pcall(function()
  19. if v.className == "Hat" then
  20. v:remove()
  21. end
  22. end)
  23. end
  24. ra = c["Right Arm"]
  25. la = c["Left Arm"]
  26. rs = c.Torso["Right Shoulder"]
  27. ls = c.Torso["Left Shoulder"]
  28.  
  29.  
  30. mask = Instance.new("Part")
  31. mask.Size = Vector3.new(2, 1, 1)
  32. mask.BrickColor = BrickColor.new("Dark stone grey")
  33. mask:BreakJoints()
  34. mask.Name = "Mask"
  35. mask.Parent = c
  36. ms4 = Instance.new("SpecialMesh", mask)
  37. ms4.Scale = Vector3.new(1.3, 1.15, 1.3)
  38. w9 = Instance.new("Weld", mask)
  39. w9.Part0 = mask
  40. w9.Part1 = c.Head
  41. w9.C0 = CFrame.new(0, 0, 0)
  42.  
  43. mask2 = Instance.new("Part")
  44. mask2.FormFactor = "Custom"
  45. mask2.Size = Vector3.new(0.4, 0.5, 0.4)
  46. mask2.BrickColor = BrickColor.new("Dark stone grey")
  47. mask2:BreakJoints()
  48. mask2.Parent = c
  49. ms5 = Instance.new("CylinderMesh", mask2)
  50. ms5.Scale = Vector3.new(1, 1, 1)
  51. w8 = Instance.new("Weld", mask2)
  52. w8.Part0 = mask2
  53. w8.Part1 = c.Head
  54. w8.C0 = CFrame.new(0.25, -0.4, -0.1) * CFrame.Angles(math.pi/2, 0, 0)
  55.  
  56. mask3 = Instance.new("Part")
  57. mask3.FormFactor = "Custom"
  58. mask3.Size = Vector3.new(0.4, 0.5, 0.4)
  59. mask3.BrickColor = BrickColor.new("Dark stone grey")
  60. mask3:BreakJoints()
  61. mask3.Parent = c
  62. ms6 = Instance.new("CylinderMesh", mask3)
  63. ms6.Scale = Vector3.new(1, 1, 1)
  64. w10 = Instance.new("Weld", mask3)
  65. w10.Part0 = mask3
  66. w10.Part1 = c.Head
  67. w10.C0 = CFrame.new(-0.25, -0.4, -0.1) * CFrame.Angles(math.pi/2, 0, 0)
  68.  
  69. mask4 = Instance.new("Part")
  70. mask4.FormFactor = "Custom"
  71. mask4.Size = Vector3.new(0.35, 0.51, 0.35)
  72. mask4.BrickColor = BrickColor.new("Black")
  73. mask4:BreakJoints()
  74. mask4.Reflectance = 0.4
  75. mask4.Parent = c
  76. ms7 = Instance.new("CylinderMesh", mask4)
  77. ms7.Scale = Vector3.new(1, 1, 1)
  78. w11 = Instance.new("Weld", mask4)
  79. w11.Part0 = mask4
  80. w11.Part1 = c.Head
  81. w11.C0 = CFrame.new(0.25, -0.4, -0.1) * CFrame.Angles(math.pi/2, 0, 0)
  82.  
  83. mask5 = Instance.new("Part")
  84. mask5.FormFactor = "Custom"
  85. mask5.Size = Vector3.new(0.35, 0.51, 0.35)
  86. mask5.BrickColor = BrickColor.new("Black")
  87. mask5.Reflectance = 0.4
  88. mask5:BreakJoints()
  89. mask5.Parent = c
  90. ms8 = Instance.new("CylinderMesh", mask5)
  91. ms8.Scale = Vector3.new(1, 1, 1)
  92. w12 = Instance.new("Weld", mask5)
  93. w12.Part0 = mask5
  94. w12.Part1 = c.Head
  95. w12.C0 = CFrame.new(-0.25, -0.4, -0.1) * CFrame.Angles(math.pi/2, 0, 0)
  96.  
  97. mask7 = Instance.new("Part")
  98. mask7.FormFactor = "Custom"
  99. mask7.Size = Vector3.new(0.2, 1.1, 0.2)
  100. mask7.BrickColor = BrickColor.new("Dark stone grey")
  101. mask7:BreakJoints()
  102. mask7.Parent = c
  103. ms8 = Instance.new("CylinderMesh", mask7)
  104. ms8.Scale = Vector3.new(1, 1, 1)
  105. w12 = Instance.new("Weld", mask7)
  106. w12.Part0 = mask7
  107. w12.Part1 = c.Head
  108. w12.C0 = CFrame.new(-0.6, -0.3, -0.1) * CFrame.Angles(math.pi/2, 0, 0)
  109. spot = Instance.new("SpotLight", mask)
  110. spot.Range = 60
  111. spot.Angle = 70
  112. spot.Color = Color3.new(1, 1, 0)
  113.  
  114. mask6 = Instance.new("Part")
  115. mask6.FormFactor = "Custom"
  116. mask6.Size = Vector3.new(0.35, 0.65, 0.35)
  117. mask6.BrickColor = BrickColor.new("Dark stone grey")
  118. mask6:BreakJoints()
  119. mask6.Parent = c
  120. ms9 = Instance.new("CylinderMesh", mask6)
  121. ms9.Scale = Vector3.new(1, 1, 1)
  122. w13 = Instance.new("Weld", mask6)
  123. w13.Part0 = mask6
  124. w13.Part1 = c.Head
  125. w13.C0 = CFrame.new(0.2, -0.4, 0) * CFrame.Angles(math.rad(115), math.rad(22.5), 0)
  126.  
  127.  
  128. tool = Instance.new("HopperBin", p.Backpack)
  129. tool.Name = "Pyro"
  130. tool.Selected:connect(function(mouse)
  131. bg2 = Instance.new("BodyGyro",c.Torso)
  132. bg2.P = 20e+003
  133. bg2.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  134.  
  135.  
  136. game:service("RunService").Stepped:connect(function()
  137. bg2.cframe = CFrame.new(c.Torso.Position,Vector3.new(mouse.hit.p.x,c.Torso.Position.y,mouse.hit.p.z)) * CFrame.Angles(0, math.rad(-60), 0)
  138. end)
  139.  
  140.  
  141.  
  142. rs.Part0 = nil
  143. rs.Part1 = nil
  144. ls.Part0 = nil
  145. ls.Part1 = nil
  146. rweld = Instance.new("Weld", c)
  147. rweld.C0 = CFrame.new(-1.48,0,0.2) * CFrame.Angles(math.rad(-18), math.rad(0), math.rad(0))
  148. rweld.Part0 = ra
  149. rweld.Part1 = torso
  150. lweld = Instance.new("Weld", c)
  151. lweld.C0 = CFrame.new(1.5,0.2,0.2) * CFrame.Angles(math.rad(-50), math.rad(22.5), math.rad(0))
  152. lweld.Part0 = la
  153. lweld.Part1 = torso
  154. neck = c.Torso.Neck
  155. neck.C0 = neck.C0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)) wait(0.01)
  156.  
  157. ballon1 = Instance.new("Part")
  158. ballon1.Size = Vector3.new(1, 2, 1)
  159. ballon1.BrickColor = BrickColor.new("White")
  160. ballon1:BreakJoints()
  161. ballon1.Parent = c
  162. Instance.new("SpecialMesh", ballon1)
  163. w = Instance.new("Weld", ballon1)
  164. w.Part0 = ballon1
  165. w.Part1 = torso
  166. w.C0 = CFrame.new(0.45, 0, -0.8)
  167.  
  168. ballon2 = Instance.new("Part")
  169. ballon2.Size = Vector3.new(1, 2, 1)
  170. ballon2.BrickColor = BrickColor.new("White")
  171. ballon2:BreakJoints()
  172. ballon2.Parent = c
  173. Instance.new("SpecialMesh", ballon2)
  174. w1 = Instance.new("Weld", ballon2)
  175. w1.Part0 = ballon2
  176. w1.Part1 = torso
  177. w1.C0 = CFrame.new(-0.45, 0, -0.8)
  178.  
  179. base = Instance.new("Part")
  180. base.FormFactor = "Custom"
  181. base.Size = Vector3.new(0.4, 5, 0.4)
  182. base:breakJoints()
  183. base.BrickColor = BrickColor.Black()
  184. base.Parent = c
  185. Instance.new("CylinderMesh", base)
  186. w2 = Instance.new("Weld", base)
  187. w2.Part0 = base
  188. w2.Part1 = torso
  189. w2.C0 = CFrame.new(1.1, 0.5, 0.5) * CFrame.Angles(math.pi/2,math.rad(120), 0)
  190.  
  191. sound = Instance.new("Sound", base)
  192. sound.SoundId = "http://roblox.com/asset/?id=10209616"
  193. sound.Volume = 1
  194. sound.Looped = true
  195.  
  196. fire = Instance.new("Part")
  197. fire.Parent = nil
  198. fire.FormFactor = "Custom"
  199. fire.Size = Vector3.new(8, 55, 4)
  200. fire.Transparency = 1
  201. fire.CanCollide = false
  202. fire.Anchored = true
  203. pl = Instance.new("PointLight", fire)
  204. pl.Range = 24
  205. pl.Color = Color3.new(255/255, 170/255, 0/255)
  206.  
  207. coroutine.wrap(function()
  208. while true do
  209. fire.CFrame = base.CFrame * CFrame.new(0, -30, 0)
  210. RunService.Stepped:wait()
  211. end
  212. end)()
  213.  
  214.  
  215. sm = Instance.new("Part", c)
  216. sm.FormFactor = "Custom"
  217. sm.BottomSurface = 0
  218. sm.TopSurface = 0
  219. sm.BrickColor = BrickColor.Black()
  220. sm.Size = Vector3.new(0.5, 0.5, 0.5)
  221. sm.Transparency = 0
  222. sm:BreakJoints()
  223.  
  224. pl7 = Instance.new("PointLight", sm)
  225. pl7.Range = 12
  226. pl7.Color = Color3.new(255/255, 170/255, 0/255)
  227.  
  228. smoke = Instance.new("Smoke", sm)
  229. smoke.Enabled = false
  230. smoke.Color = Color3.new(255/255, 170/255, 0/255)
  231. smoke.RiseVelocity = 15
  232. smoke.Size = 1
  233. w3 = Instance.new("Weld", sm)
  234. w3.Part0 = sm
  235. w3.Part1 = base
  236. w3.C0 = CFrame.new(0, -2.5, 0) * CFrame.Angles(math.pi, 0, 0)
  237.  
  238. p1 = Instance.new("Part", c)
  239. p1.FormFactor = "Custom"
  240. p1.BrickColor = BrickColor.Gray()
  241. p1.Size = Vector3.new(0.8, 1.7, 0.8)
  242. p1:BreakJoints()
  243. Instance.new("CylinderMesh", p1)
  244. w4 = Instance.new("Weld", p1)
  245. w4.Part0 = p1
  246. w4.Part1 = base
  247. w4.C0 = CFrame.new(0, 0.5, 0.3)
  248.  
  249. p2 = Instance.new("Part", c)
  250. p2.FormFactor = "Custom"
  251. p2.BrickColor = BrickColor.Black()
  252. p2.Size = Vector3.new(0.4, 1, 0.4)
  253. p2:BreakJoints()
  254. p2.BottomSurface = 0
  255. p2.TopSurface = 0
  256. w5 = Instance.new("Weld", p2)
  257. w5.Part0 = p2
  258. w5.Part1 = base
  259. w5.C0 = CFrame.new(0, 0, -2.5) * CFrame.Angles(math.pi/2, 0, 0)
  260.  
  261.  
  262. p3 = Instance.new("Part", c)
  263. p3.FormFactor = "Custom"
  264. p3.BrickColor = BrickColor.Black()
  265. p3.Size = Vector3.new(0.3, 1, 0.2)
  266. p3:BreakJoints()
  267. p3.BottomSurface = 0
  268. p3.TopSurface = 0
  269. w6 = Instance.new("Weld", p3)
  270. w6.Part0 = p3
  271. w6.Part1 = base
  272. w6.C0 = CFrame.new(0, -1, -0.3) * CFrame.Angles(math.pi/6, 0, 0)
  273.  
  274.  
  275. p4 = Instance.new("Part", c)
  276. p4.FormFactor = "Custom"
  277. p4.BrickColor = BrickColor.Black()
  278. p4.Size = Vector3.new(0.3, 1, 0.2)
  279. p4:BreakJoints()
  280. p4.BottomSurface = 0
  281. p4.TopSurface = 0
  282. w7 = Instance.new("Weld", p4)
  283. w7.Part0 = p4
  284. w7.Part1 = base
  285. w7.C0 = CFrame.new(0, -0.1, -1.5) * CFrame.Angles(math.pi/2, 0, 0)
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294. fiaar = Instance.new("Fire", sm)
  295. fiaar.Size = 1
  296. fiaar.Heat = 200
  297. fiaar.Enabled = false
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305. mouse.KeyDown:connect(function(key)
  306. if key == "e" then
  307. if debounceair then return end
  308. if firee then return end
  309. debounceair = true
  310. airblast()
  311. end
  312. if string.byte(key) == 48 then
  313. c.Humanoid.WalkSpeed = 28
  314. end
  315.  
  316.  
  317. end)
  318. mouse.KeyUp:connect(function(key)
  319. if string.byte(key) == 48 then
  320. c.Humanoid.WalkSpeed = 16
  321. end
  322. end)
  323.  
  324.  
  325. mouse.Button1Down:connect(function()
  326. if firee == false then
  327. firee = true
  328. end
  329. end)
  330.  
  331. mouse.Button1Up:connect(function()
  332. if firee == true then
  333. firee = false
  334. end
  335. end)
  336.  
  337. end)
  338. tool.Deselected:connect(function(mouse)
  339. ballon1:Destroy()
  340. ballon2:Destroy()
  341. base:Destroy()
  342. sm:Destroy()
  343. fire:Destroy()
  344. neck.C0 = neck.C0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)) wait(0.01)
  345. bg2:Destroy()
  346. p1:Destroy()
  347. p2:Destroy()
  348. p3:Destroy()
  349. p4:Destroy()
  350. rs.Part0 = c.Torso
  351. rs.Part1 = ra
  352. ls.Part0 = c.Torso
  353. ls.Part1 = la
  354. rweld:Destroy()
  355. lweld:Destroy()
  356.  
  357. end)
  358. function ahh(hit)
  359. if hit.Parent.Name == game.Players.LocalPlayer.Name then return end
  360. if hit ~= nil and hit.Parent ~= nil then
  361.  
  362. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  363. coroutine.wrap(function()
  364. if not damagelist[hit.Parent.Name] then
  365. if hit.Parent.Humanoid.Health ~= 0 then
  366. damagelist[hit.Parent.Name] = {humanoid = hit.Parent.Humanoid, time = time_until_extinguish}
  367. for i,v in pairs(hit.Parent:children()) do
  368. if v:IsA("Part") then
  369. Instance.new("Fire", v)
  370. end
  371. end
  372. end
  373. else
  374. damagelist[hit.Parent.Name].time = time_until_extinguish
  375. end
  376. end)()
  377. end
  378. end
  379. end
  380.  
  381. coroutine.wrap(function()
  382. while wait() do
  383. for i,damageobject in pairs(damagelist) do
  384. damageobject.humanoid.Health = damageobject.humanoid.Health - damage
  385. damageobject.time = damageobject.time - 1
  386.  
  387. if damageobject.time < 1 then
  388. if damageobject.humanoid then
  389. for _,n in pairs(damageobject.humanoid.Parent:children()) do
  390. if n:IsA("Part") and n.Parent:IsA("Model") ~= nil and n:findFirstChild("Fire") ~= nil then
  391. n.Fire:Destroy()
  392. end
  393. end
  394. end
  395. damagelist[i] = nil
  396. end
  397. end
  398. if not debounceair then
  399. if firee then
  400. --coroutine.wrap(function()
  401. if base ~= nil then
  402. smoke.Enabled = true
  403. pl7.Enabled = true
  404. fiaar.Enabled = true
  405. fire.Parent = Workspace
  406. sound:play()
  407.  
  408. fire.Touched:connect(ahh)
  409. end
  410.  
  411. --end)()
  412. else
  413. if base ~= nil then
  414. smoke.Enabled = false
  415. fire.Parent = nil
  416. pl7.Enabled = false
  417. fiaar.Enabled = false
  418. sound:stop()
  419. end
  420. end
  421. end
  422. end
  423.  
  424. end)()
  425.  
  426.  
  427. function airblast()
  428. if hatchetequipped then return end
  429. if air ~= nil then return end
  430. air = Instance.new("Part")
  431. air.FormFactor = "Custom"
  432. air.Size = Vector3.new(8, 3, 8)
  433. air.Transparency = 0.8
  434. air:BreakJoints()
  435. air.BottomSurface = 0
  436. air.TopSurface = 0
  437. air.CanCollide = false
  438. air.Anchored = true
  439. air.Parent = Workspace
  440. coroutine.wrap(function()
  441. wait(0.15)
  442. air.CanCollide = true
  443. end)()
  444.  
  445. coroutine.wrap(function()
  446. for i = 0, 40, 1.2 do
  447. air.CFrame = base.CFrame * CFrame.new(0, -i, 0)
  448. RunService.Stepped:wait(0.0000001)
  449. end
  450. end)()
  451. coroutine.wrap(function()
  452. while air ~= nil do
  453. for _, model in pairs(workspace:children()) do
  454. if model:IsA("Model") and model:findFirstChild("Humanoid") ~= nil and model.Name ~= p.Name then
  455. if (model.Torso.CFrame.Position - air.CFrame.Position).magnitude < 3 then
  456. model.Torso.CFrame = base.CFrame * CFrame.new(0, 0, 30)
  457. end
  458. end
  459. end
  460. wait()
  461. end
  462. end)()
  463. wait(2)
  464. air:Destroy()
  465.  
  466. end
Add Comment
Please, Sign In to add comment