Advertisement
BlueHasMeme

Untitled

Sep 3rd, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if script.Parent.className ~= "HopperBin" then
  2. player = game.Players.BlueHasSwag
  3. char = player.Character
  4. tool = Instance.new("HopperBin")
  5. tool.Parent = player.Backpack
  6. tool.Name = "Flamethrowa"
  7. script.Parent = tool
  8. end
  9.  
  10. bin = script.Parent
  11.  
  12. player = game.Players.xSoulStealerx
  13. char = player.Character
  14. hold = false
  15.  
  16. wr = char.Torso["Right Shoulder"].C1
  17. handle = Instance.new("Part")
  18. handle.Parent = game.Lighting
  19. handle.Name = "Handle"
  20. handle.FormFactor = "Symmetric"
  21. handle.Size = Vector3.new(1,1,1)
  22. handle.TopSurface = 0
  23. handle.BottomSurface = 0
  24. handle.BrickColor = BrickColor.new("Black")
  25. handle.Anchored = false
  26. handle.Position = char["Right Arm"].Position
  27. local m = Instance.new("BlockMesh")
  28. m.Parent = handle
  29. m.Scale = Vector3.new(1,1,4)
  30. m.Offset = Vector3.new(1,0.8,0)
  31. weld = Instance.new("Weld")
  32. weld.Parent = char["Right Arm"]
  33. weld.Part0 = handle
  34. weld.Part1 = weld.Parent
  35. weld.C1 = CFrame.new(0, 0, -0.5)
  36. weld2 = char.Torso["Right Shoulder"]
  37.  
  38.  
  39. function fire(firer)
  40. local p = Instance.new("Part")
  41. p.Parent = workspace
  42. p.Shape = "Ball"
  43. p.Size = Vector3.new(2,2,2)
  44. p.Name = "Fire"
  45. p.CanCollide = false
  46. p.Transparency = 1
  47. p.Anchored = false
  48. p.TopSurface = "Smooth"
  49. p.BottomSurface = "Smooth"
  50. p.CFrame = firer.CFrame + Vector3.new(math.random(-1,1),math.random(0,1),math.random(-1,1))
  51. local bf = Instance.new("BodyVelocity")
  52. bf.Parent = p
  53. bf.velocity = handle.CFrame.lookVector * 23
  54. bf.velocity = bf.velocity + Vector3.new(math.random(-4,4), math.random(-1,4), math.random(-4, 4))
  55. local fia = Instance.new("Fire")
  56. fia.Parent = p
  57. fia.Heat = 20
  58. fia.Size = 4
  59. function kill(hit)
  60. if hit.Parent.Name == "xSoulStealerx" then return end
  61. if hit.Parent.Name == "Flamethrowa" then return end
  62. if hit.Parent.Parent.Name == "xSoulStealerx" then return end
  63. if hit.Name == "Fire" then return end
  64. if hit.Name == "Base" then return end
  65. fia.Parent = hit
  66. fia.Heat = 8
  67. fia.Size = 4
  68. hit.BrickColor = BrickColor.new("Neon orange")
  69. wait(1.6)
  70. fia.Heat = 20
  71. fia.Size = 7
  72. hit.BrickColor = BrickColor.new("Bright red")
  73. wait(1.6)
  74. fia.Heat = 30
  75. fia.Size = 10
  76. wait(1.6)
  77. fia.Heat = 40
  78. fia.Size = 15
  79. hit.BrickColor = BrickColor.new("Black")
  80. if hit.Parent:findFirstChild("Humanoid") then
  81. hit.Parent.Humanoid.Health = 0
  82. end
  83. wait(2)
  84. hit:remove()
  85. end
  86. p.touched:connect(kill)
  87. coroutine.resume(coroutine.create(function()
  88. wait(2)
  89. p:remove()
  90. end))
  91. end
  92.  
  93. function click(mouse)
  94. hold = true
  95. while hold == true do
  96. wait()
  97. fire(handle)
  98. end
  99. end
  100.  
  101. function up(mouse)
  102. hold = false
  103. end
  104.  
  105. function select(mouse)
  106. mouse.Button1Down:connect(click)
  107. mouse.Button1Up:connect(up)
  108. handle.Parent = char
  109. weld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,-1.6) * CFrame.new(-0.5,0,-0.4)
  110. weld.Parent = char["Right Arm"]
  111. weld.Part0 = weld.Parent
  112. weld.Part1 = handle
  113. weld.C1 = CFrame.fromEulerAnglesXYZ(1.55,0,0) * CFrame.new(0, 0, -0.8)
  114. end
  115.  
  116.  
  117. function deselect(mouse)
  118. handle.Parent = game.Lighting
  119. weld2.C1 = wr
  120. end
  121.  
  122. script.Parent.Selected:connect(select)
  123. script.Parent.Deselected:connect(deselect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement