Advertisement
trolman5678

bomb

Sep 28th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. -- Go and change your name Down a couple of lines vv
  2.  
  3. if script.Parent.className ~= HopperBin then
  4. local h = Instance.new(HopperBin)
  5. h.Parent = game.Players.zombieslayerwtf.Backpack
  6. h.Name = SuicideBomb
  7. local p = Instance.new(Part)
  8. p.Parent = game.Workspace.FunctionOffset
  9. p.Name = SuicideBomb
  10. p.Size = Vector3.new(2,2,1)
  11. p.TopSurface = 0
  12. p.BottomSurface = 0
  13. p.Locked = true
  14. p.BrickColor = BrickColor.new( Really black )
  15. local w = Instance.new(Weld)
  16. w.Parent = p.Parent
  17. w.Part0 = p
  18. w.Part1 = p.Parent.Torso
  19. w.C0 = CFrame.new(0,0,-1)
  20. script.Parent = h
  21. local d = Instance.new(Decal)
  22. d.Parent = p
  23. d.Face = Back
  24. d.Texture = httpwww.roblox.comassetid=28824625
  25. Instance.new(BlockMesh).Parent = p
  26. end
  27.  
  28. tool = script.Parent
  29.  
  30. function click(mouse)
  31. if game.Workspace.FunctionOffsetFindFirstChild(SuicideBomb) ~= nil then
  32. local s = Instance.new(Sparkles)
  33. s.Parent = game.Workspace.FunctionOffset.SuicideBomb
  34. s.Color = Color3.new(.5,.5,0)
  35. wait(3)
  36. local e = Instance.new(Explosion)
  37. e.Parent = game.Workspace
  38. e.BlastPressure = 1000000
  39. e.BlastRadius = 15
  40. e.Position = game.Workspace.FunctionOffset.SuicideBomb.Position
  41. else
  42. script.ParentRemove()
  43. end
  44. end
  45.  
  46. function selected(mouse)
  47. mouse.Button1Downconnect(function () click(mouse) end)
  48. end
  49.  
  50. tool.Selectedconnect(selected)if script.Parent.className ~= HopperBin then
  51. local h = Instance.new(HopperBin)
  52. h.Parent = game.Players.Xtherisus.Backpack
  53. h.Name = SuicideBomb
  54. local p = Instance.new(Part)
  55. p.Parent = game.Workspace.FunctionOffset
  56. p.Name = SuicideBomb
  57. p.Size = Vector3.new(2,2,1)
  58. p.TopSurface = 0
  59. p.BottomSurface = 0
  60. p.Locked = true
  61. p.BrickColor = BrickColor.new(Really black)
  62. local w = Instance.new(Weld)
  63. w.Parent = p.Parent
  64. w.Part0 = p
  65. w.Part1 = p.Parent.Torso
  66. w.C0 = CFrame.new(0,0,-1)
  67. script.Parent = h
  68. local d = Instance.new(Decal)
  69. d.Parent = p
  70. d.Face = Back
  71. d.Texture = httpwww.roblox.comassetid=28824625
  72. Instance.new(BlockMesh).Parent = p
  73. end
  74.  
  75. tool = script.Parent
  76.  
  77. function click(mouse)
  78. if game.Workspace.FunctionOffsetFindFirstChild(SuicideBomb) ~= nil then
  79. local s = Instance.new(Sparkles)
  80. s.Parent = game.Workspace.FunctionOffset.SuicideBomb
  81. s.Color = Color3.new(.5,.5,0)
  82. wait(3)
  83. local e = Instance.new(Explosion)
  84. e.Parent = game.Workspace
  85. e.BlastPressure = 1000000
  86. e.BlastRadius = 15
  87. e.Position = game.Workspace.FunctionOffset.SuicideBomb.Position
  88. else
  89. script.ParentRemove()
  90. end
  91. end
  92.  
  93. function selected(mouse)
  94. mouse.Button1Downconnect(function () click(mouse) end)
  95. end
  96.  
  97. tool.Selectedconnect(selected)if script.Parent.className ~= HopperBin then
  98. local h = Instance.new(HopperBin)
  99. h.Parent = game.Players.Xtherisus.Backpack
  100. h.Name = SuicideBomb
  101. local p = Instance.new(Part)
  102. p.Parent = game.Workspace.FunctionOffset
  103. p.Name = SuicideBomb
  104. p.Size = Vector3.new(2,2,1)
  105. p.TopSurface = 0
  106. p.BottomSurface = 0
  107. p.Locked = true
  108. p.BrickColor = BrickColor.new(Really black)
  109. local w = Instance.new(Weld)
  110. w.Parent = p.Parent
  111. w.Part0 = p
  112. w.Part1 = p.Parent.Torso
  113. w.C0 = CFrame.new(0,0,-1)
  114. script.Parent = h
  115. local d = Instance.new(Decal)
  116. d.Parent = p
  117. d.Face = Back
  118. d.Texture = httpwww.roblox.comassetid=28824625
  119. Instance.new(BlockMesh).Parent = p
  120. end
  121.  
  122. tool = script.Parent
  123.  
  124. function click(mouse)
  125. if game.Workspace.FunctionOffsetFindFirstChild(SuicideBomb) ~= nil then
  126. local s = Instance.new(Sparkles)
  127. s.Parent = game.Workspace.FunctionOffset.SuicideBomb
  128. s.Color = Color3.new(.5,.5,0)
  129. wait(3)
  130. local e = Instance.new(Explosion)
  131. e.Parent = game.Workspace
  132. e.BlastPressure = 1000000
  133. e.BlastRadius = 15
  134. e.Position = game.Workspace.FunctionOffset.SuicideBomb.Position
  135. else
  136. script.ParentRemove()
  137. end
  138. end
  139.  
  140. function selected(mouse)
  141. mouse.Button1Downconnect(function () click(mouse) end)
  142. end
  143.  
  144. tool.Selectedconnect(selected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement