Advertisement
Kaemi

Bomb Vest

Jul 30th, 2016
1,896
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. if script.Parent.className ~= "HopperBin" then
  2. local h = Instance.new("HopperBin")
  3. h.Parent = game.Players.Pronography1.Backpack
  4. h.Name = "SuicideBomb!"
  5. local p = Instance.new("Part")
  6. p.Parent = game.Workspace.Pronography1
  7. p.Name = "SuicideBomb"
  8. p.Size = Vector3.new(5,5,1)
  9. p.TopSurface = 0
  10. p.BottomSurface = 0
  11. p.Locked = true
  12. p.BrickColor = BrickColor.new("Really black")
  13. local w = Instance.new("Weld")
  14. w.Parent = p.Parent
  15. w.Part0 = p
  16. w.Part1 = p.Parent.Torso
  17. w.C0 = CFrame.new(0,0,-1)
  18. script.Parent = h
  19. local d = Instance.new("Decal")
  20. d.Parent = p
  21. d.Face = "Back"
  22. d.Texture = "http://www.roblox.com/asset/?id=28824625"
  23. Instance.new("BlockMesh").Parent = p
  24. end
  25.  
  26. tool = script.Parent
  27.  
  28. function click(mouse)
  29. if game.Workspace.Pronography1:FindFirstChild("SuicideBomb") ~= nil then
  30. local s = Instance.new("Fire")
  31. s.Parent = game.Workspace.Pronography1.SuicideBomb
  32. s.Color = Color3.new(10,0,0)
  33. wait(3)
  34. local explosion = Instance.new('Sound', workspace)
  35. explosion.SoundId = 'rbxassetid://138186576'
  36. explosion.Volume=1
  37. explosion:Play()
  38. wait()
  39. local e = Instance.new("Explosion")
  40. e.Parent = game.Workspace
  41. e.BlastPressure = 1000000
  42. e.BlastRadius = 15000000
  43. e.Position = game.Workspace.Pronography1.SuicideBomb.Position
  44. else
  45. script.Parent:Remove()
  46. end
  47. end
  48.  
  49. function selected(mouse)
  50. mouse.Button1Down:connect(function () click(mouse) end)
  51. end
  52.  
  53. tool.Selected:connect(selected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement