TheUnknownDiscord

Untitled

Sep 5th, 2021 (edited)
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. local T = Instance.new("Tool")
  2. local H = Instance.new("Part",T)
  3. H.Name = "Handle"
  4. H.Size = Vector3.new(4,6.25,3)
  5. T.GripPos = Vector3.new(1.75,0,1.5)
  6. local OK = true
  7. function Touch(hit)
  8. if hit.Name ~= "Base" then
  9. if OK then
  10. OK = false
  11. local whoops = true
  12. delay(0.1,function()
  13. if not whoops then
  14. OK = true
  15. end
  16. end)
  17. local U = hit:SubtractAsync({H})
  18. local O = hit.Parent
  19. hit.Parent = nil
  20. U.Parent = O
  21. OK = true
  22. whoops = false
  23. end
  24. end
  25. end
  26. T.Parent = owner.Backpack
  27. while task.wait() do
  28. local TouchLeg = false
  29. local LT = H:GetTouchingParts()
  30. for i = 1,#LT do
  31. if LT[i] and LT[i].Parent ~= tool.Parent then
  32. Touch(LT)
  33. end
  34. end
  35. end
Advertisement
Add Comment
Please, Sign In to add comment