Advertisement
Rusty_Clock

Pick up and kill [Roblox script]

Jan 3rd, 2018
2,826
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. --Needs to be in a local script--
  2. --Mousebutton1 picks them up--
  3. --Mousebutton2 removes limbs--
  4. local player = game:GetService('Players').LocalPlayer
  5. local char = player.Character
  6. local mouse = player:GetMouse()
  7.  
  8. mouse.Button1Down:connect(function (clickdown)
  9. if mouse.Target.Parent:FindFirstChild('Humanoid') then
  10.  
  11. local rok = Instance.new('BodyPosition')
  12. rok.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  13. rok.P = 9999
  14. rok.Parent = mouse.Target.Parent.Torso
  15. while true do
  16. rok.Position = Vector3.new(char.Torso.Position.X,15,char.Torso.Position.Z)
  17. wait(.1)
  18. end
  19. end
  20. end)
  21.  
  22. mouse.Button2Down:connect(function (clickdown)
  23. if mouse.Target.Parent:FindFirstChild('Humanoid') then
  24. mouse.Target:Destroy()
  25.  
  26.  
  27.  
  28. end
  29. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement