Gostrondude

Untitled

Dec 9th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local tool = Instance.new("HopperBin",Player.Backpack)
  3. tool.Name = "Click Kill"
  4. tool.Selected:connect(function(mouse)
  5. mouse.Button1Down:connect(function()
  6. if mouse.Target and mouse.Target.Parent:FindFirstChild("Humanoid") then
  7. local char = mouse.Target.Parent
  8. local target = game.Players:GetPlayerFromCharacter(char)
  9. repeat
  10. wait()
  11. target:Move(Vector3.new(math.huge*0))
  12. until target.Character:FindFirstChild'Head' == nil
  13. end
  14. end)
  15. end)
Add Comment
Please, Sign In to add comment