Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. --[[
  2. Made by Zeldaaaaaaaaaaaa
  3. enjoy abusing this if this gets leaked
  4. --]]
  5. explode = false -- if u want them to explode or not
  6. local countdown = 7 -- seconds before the explosion if u have it on
  7. plr = game.Players.LocalPlayer
  8. char = plr.Character
  9. hum = char.Humanoid
  10. tool = Instance.new("HopperBin", plr.Backpack)
  11. tool.Name = "anime gun by Zelda"
  12. mouse = plr:GetMouse()
  13. flyspeed = 20
  14.  
  15.  
  16. tool.Selected:connect(function()
  17. mouse.Button1Down:connect(function()
  18. if tool.Active == true and mouse.Target.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent:FindFirstChild("Torso") then
  19. local torso = mouse.Target.Parent:FindFirstChild("Torso")
  20. local thum = torso.Parent:FindFirstChild("Humanoid")
  21. if thum ~= hum then
  22.  
  23. local humrootpart = torso.Parent:FindFirstChild("HumanoidRootPart")
  24. local bv = Instance.new("BodyVelocity")
  25. bv.MaxForce = Vector3.new(1e8,1e8,1e8)
  26. bv.Velocity = Vector3.new(flyspeed,flyspeed,flyspeed)
  27. bv.Parent = torso
  28.  
  29. local pe = Instance.new("ParticleEmitter", torso)
  30. pe.Texture = "rbxassetid://516991477"
  31. pe.Size = NumberSequence.new(1000)
  32. pe.Lifetime = NumberRange.new(20,30)
  33. pe.Rate = 50
  34. pe.VelocitySpread = 45
  35. pe.Speed = NumberRange.new(5)
  36.  
  37.  
  38. local stars = Instance.new("Sound", torso)
  39. stars.Volume = 99999999
  40. stars.SoundId = "rbxassetid://270616416"
  41. stars.TimePosition = 1
  42. stars:Play()
  43. if explode == true then
  44. local ex = Instance.new("Sound", torso)
  45. ex.Volume = 1
  46. ex.SoundId = "rbxassetid://138186576"
  47. ex.TimePosition = 23.5
  48. ex:Play()
  49. for i = 1,countdown do
  50. tool.Name = "Exploding in " .. countdown - i .. "."
  51. wait(1)
  52. end
  53. tool.Name = "Shoot em // by mr steal yo bork"
  54. local explosion = Instance.new("Explosion", torso)
  55. explosion.Position = torso.Position
  56. ex.TimePosition = 0.4
  57. ex:Play()
  58. stars:Stop()
  59. torso.Parent:BreakJoints()
  60. pe:Destroy()
  61. end
  62. end
  63. end
  64. end)
  65. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement