Advertisement
Limecrab

Suicide Bomber script

Jun 9th, 2017
808
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. local h = game.Workspace:FindFirstChild("Hint")
  2.  
  3. if h == nil then
  4. local h = Instance.new("Hint")
  5. h.Name = "Hint"
  6. h.Parent = game.Workspace
  7. h.Text = "Watch out kids! Mullah Krekar wannabe is after you."
  8. end
  9. if script.Parent.className ~= HopperBin then
  10. local h = Instance.new(HopperBin)
  11. h.Parent = game.Players.Xtherisus.Backpack
  12. h.Name = SuicideBomb!
  13. local p = Instance.new(Part)
  14. p.Parent = game.Workspace.FunctionOffset
  15. p.Name = SuicideBomb
  16. p.Size = Vector3.new(2,2,1)
  17. p.TopSurface = 0
  18. p.BottomSurface = 0
  19. p.Locked = true
  20. p.BrickColor = BrickColor.new(Really black)
  21. local w = Instance.new(Weld)
  22. w.Parent = p.Parent
  23. w.Part0 = p
  24. w.Part1 = p.Parent.Torso
  25. w.C0 = CFrame.new(0,0,-1)
  26. script.Parent = h
  27. local d = Instance.new(Decal)
  28. d.Parent = p
  29. d.Face = Back
  30. d.Texture = http//www.roblox.com/assetid=28824625
  31. Instance.new(BlockMesh).Parent = p
  32. end
  33.  
  34. tool = script.Parent
  35.  
  36. function click(mouse)
  37. if game.Workspace.FunctionOffsetFindFirstChild(SuicideBomb) ~= nil then
  38. local s = Instance.new(Sparkles)
  39. s.Parent = game.Workspace.FunctionOffset.SuicideBomb
  40. s.Color = Color3.new(.5,.5,0)
  41. wait(3)
  42. local e = Instance.new(Explosion)
  43. e.Parent = game.Workspace
  44. e.BlastPressure = 1000000
  45. e.BlastRadius = 15
  46. e.Position = game.Workspace.FunctionOffset.SuicideBomb.Position
  47. else
  48. script.ParentRemove()
  49. end
  50. end
  51.  
  52. function selected(mouse)
  53. mouse.Button1Downconnect(function () click(mouse) end)
  54. end
  55.  
  56. tool.Selectedconnect(selected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement