Advertisement
Guest User

Untitled

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