Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --=========
- plr = game.Players.LocalPlayer
- char = plr.Character
- hum = char.Humanoid
- tool = Instance.new("HopperBin", plr.Backpack)
- tool.Name = "click explode"
- 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") or mouse.Target.Parent.Parent:FindFirstChild("HumanoidRootPart")then
- local torso = mouse.Target.Parent:FindFirstChild("Torso")
- local hrp = torso.Parent:FindFirstChild("HumanoidRootPart")
- local thum = torso.Parent:FindFirstChild("Humanoid")
- if thum ~= hum then
- local blast = Instance.new("Sound")
- blast.SoundId = "rbxassetid://2302540815" --2686077452
- blast.Volume = 4
- blast.Parent = hrp
- local blst = Instance.new("Sound")
- blst.SoundId = "rbxassetid://2302540815" --2686077452
- blst.Volume = 4
- blst.Parent = hrp
- local humrootpart = torso.Parent:FindFirstChild("HumanoidRootPart")
- ep = Instance.new("Explosion", workspace)
- plrname = plr.Character.Name
- ep.Position = torso.Position
- blast:Play()
- plr.Parent.Parent.Parent.Workspace[plrname]:BreakJoints()
- blst:Play()
- wait(1.90)
- game.Debris:AddItem(ep, 2)
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment