OnaKat

Script For Mink ai er

Oct 19th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local mouse = plr:GetMouse()
  3. mouse.Button1Down:Connect(function()
  4. if mouse.Target.Parent:FindFirstChild("Humanoid") then
  5. local tag = Instance.new("StringValue",mouse.Target.Parent)
  6. tag.Name = "GetDrag"
  7. while true do
  8. for _,v in pairs (tag.Parent:GetChildren()) do
  9. if mouse.Target ~= v then
  10. tag.Parent:moveTo(mouse.Hit.p)
  11. end
  12. if v:IsA("Part") then
  13. v.Touched:Connect(function(hit)
  14. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= plr.Character.Name then
  15. hit:Destroy()
  16. end
  17. end)
  18. end
  19. end
  20. wait(0.01)
  21. end
  22. end
  23. end)
  24. mouse.KeyDown:Connect(function(key)
  25. if key == "r" then
  26. print("Script Deleted")
  27. script:Destroy()
  28. end
  29. end)
Add Comment
Please, Sign In to add comment