miguel1131

killer

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