Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- explode = true -- if u want them to explode or not
- local countdown = 1 -- seconds before the explosion if u have it on
- plr = game.Players.LocalPlayer
- char = plr.Character
- hum = char.Humanoid
- tool = Instance.new("HopperBin", plr.Backpack)
- tool.Name = "Shoot em"
- mouse = plr:GetMouse()
- flyspeed = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- tool.Selected:connect(function()
- mouse.Button1Down:connect(function()
- if tool.Active == true and mouse.Target.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent.Parent:FindFirstChild("Humanoid") or mouse.Target.Parent:FindFirstChild("Torso") then
- local torso = mouse.Target.Parent:FindFirstChild("Torso")
- local thum = torso.Parent:FindFirstChild("Humanoid")
- if thum ~= hum then
- local humrootpart = torso.Parent:FindFirstChild("HumanoidRootPart")
- local bv = Instance.new("BodyVelocity")
- bv.MaxForce = Vector3.new(1e8,1e8,1e8)
- bv.Velocity = Vector3.new(flyspeed,flyspeed,flyspeed)
- bv.Parent = torso
- local pe = Instance.new("ParticleEmitter", torso)
- pe.Texture = "rbxassetid://739179761"
- pe.Size = NumberSequence.new(0.5)
- pe.Lifetime = NumberRange.new(5,10)
- pe.Rate = 50
- pe.VelocitySpread = 45
- pe.Speed = NumberRange.new(10)
- local stars = Instance.new("Sound", torso)
- stars.Volume = 1
- stars.SoundId = ""
- stars.TimePosition = 23.5
- stars:Play()
- torso.Parent:BreakJoints()
- pe:Destroy()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement