Advertisement
JuicyPenguin

Bomb vest ALLAHU akbar

May 6th, 2016
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Me = game:GetService("Players").LocalPlayer
  2. local Char = Me.Character
  3. local Torso = Char.Torso
  4. local TickWait = 1
  5. local Color = "Medium stone gray"
  6. local Dead = false
  7.  
  8. local Tool = Instance.new("HopperBin", Me.Backpack)
  9. Tool.Name = "Bomb Vest"
  10.  
  11. local Position = Vector3.new(0,100,0)
  12. function NewPart(Parent)
  13. local Part = Instance.new("Part", Parent)
  14. Part.CanCollide = false
  15. Part.FormFactor = "Custom"
  16. Part.Position = Position
  17. Part.TopSurface = "Smooth"
  18. Part.BottomSurface = "Smooth"
  19. Part.BrickColor = BrickColor.new(Color)
  20. Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  21. return Part
  22. end
  23.  
  24. local Model = Char:FindFirstChild("Bomb")
  25. if Model then Model:Destroy() end
  26.  
  27. Model = Instance.new("Model", Char)
  28. Model.Name = "Bomb"
  29.  
  30. local Belt = NewPart(Model)
  31. Belt.Size = Vector3.new(2.2,0.5,1.2)
  32. local Weld = Instance.new("Weld", Belt)
  33. Weld.Part0 = Belt
  34. Weld.Part1 = Torso
  35. Weld.C0 = CFrame.new(0,1.1,0)
  36. local Light = Instance.new("PointLight", Belt)
  37. Light.Range = 15
  38. Light.Brightness = 5
  39. Light.Color = Color3.new(1,0,0)
  40. local Beep = Instance.new("Sound", Belt)
  41. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  42. local ExplodeSound = Instance.new("Sound", Belt)
  43. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  44. ExplodeSound.Pitch = 2.8
  45. ExplodeSound.Volume = 100
  46.  
  47. local Back = NewPart(Model)
  48. Back.Size = Vector3.new(1.5,1.5,0.5)
  49. local Weld = Instance.new("Weld", Back)
  50. Weld.Part0 = Back
  51. Weld.Part1 = Torso
  52. Weld.C0 = CFrame.new(0,0.1,-0.75)
  53.  
  54. local StrapLeft = NewPart(Model)
  55. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  56. local Weld = Instance.new("Weld", StrapLeft)
  57. Weld.Part0 = StrapLeft
  58. Weld.Part1 = Torso
  59. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  60.  
  61. local BuckleLeft = NewPart(Model)
  62. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  63. local Weld = Instance.new("Weld", BuckleLeft)
  64. Weld.Part0 = BuckleLeft
  65. Weld.Part1 = Torso
  66. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  67.  
  68. local StrapRight = NewPart(Model)
  69. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  70. local Weld = Instance.new("Weld", StrapRight)
  71. Weld.Part0 = StrapRight
  72. Weld.Part1 = Torso
  73. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  74.  
  75. local BuckleRight = NewPart(Model)
  76. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  77. local Weld = Instance.new("Weld", BuckleRight)
  78. Weld.Part0 = BuckleRight
  79. Weld.Part1 = Torso
  80. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  81.  
  82. Tool.Selected:connect(function(Mouse)
  83. TickWait = 0.3
  84. Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  85.  
  86. Mouse.Button1Down:connect(function()
  87. if Dead == false then
  88. Dead = true
  89. ExplodeSound:Play()
  90. wait(1.4)
  91. local Explosion = Instance.new("Explosion", Workspace)
  92. Explosion.Position = Belt.Position
  93. Explosion.BlastPressure = 100000
  94. Explosion.DestroyJointRadiusPercent = 0.7
  95. Explosion.ExplosionType = "CratersAndDebris"
  96. Explosion.BlastRadius = 50
  97. Explosion.Hit:connect(function(Part, Distance)
  98. Part.Anchored = false
  99. if Distance <= 10 then
  100. Part:BreakJoints()
  101. end
  102. end)
  103. end
  104. end)
  105. end)
  106.  
  107. Tool.Deselected:connect(function()
  108. TickWait = 1
  109. end)
  110.  
  111. coroutine.wrap(function()
  112. repeat
  113. wait(TickWait)
  114. Light.Enabled = not Light.Enabled
  115. Beep:Play()
  116. until Dead == true
  117. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement