Advertisement
scripter_taken

Untitled

Mar 7th, 2020
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. mouse = game.Players.LocalPlayer:GetMouse()
  2. voidtoggle = false
  3. voidprocessing = false
  4.  
  5. mouse.KeyDown:Connect(function(key)
  6. if key == "v" then
  7. local hat = game.Players.LocalPlayer.Character:FindFirstChildWhichIsA("Accessory")
  8. if voidtoggle == false and voidprocessing == false then
  9. voidprocessing = true
  10. local handle = hat:FindFirstChild("Handle")
  11. local Tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  12. if game.Players.LocalPlayer.Character:FindFirstChild("Torso") then
  13. game.Players.LocalPlayer.Character.Torso.Anchored = true
  14. elseif game.Players.LocalPlayer.Character:FindFirstChild("UpperTorso") then
  15. game.Players.LocalPlayer.Character.UpperTorso.Anchored = true
  16. end
  17. handle.Parent = Tool
  18. handle.Massless = true
  19. Tool.GripPos = Vector3.new(0,tonumber(9e99),0)
  20. Tool.Parent = game.Players.LocalPlayer.Character
  21. repeat wait() until game.Players.LocalPlayer.Character:FindFirstChild("Tool")~=nil
  22. Tool.Grip = CFrame.new(Vector3.new(0,0,0))
  23. if game.Players.LocalPlayer.Character:FindFirstChild("Torso") then
  24. game.Players.LocalPlayer.Character.Torso.Anchored = false
  25. elseif game.Players.LocalPlayer.Character:FindFirstChild("UpperTorso") then
  26. game.Players.LocalPlayer.Character.UpperTorso.Anchored = false
  27. end
  28. Tool.Unequipped:Connect(function()
  29. wait()
  30. local Handle = Tool:FindFirstChild("Handle")
  31. if Handle then
  32. Handle.Parent = hat
  33. game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
  34. Handle.Massless = false
  35. Tool:Destroy()
  36. end
  37. voidtoggle = false
  38. end)
  39. voidtoggle = true
  40. voidprocessing = false
  41. elseif voidtoggle == true and voidprocessing == false then
  42. voidprocessing = true
  43. local Tool = game.Players.LocalPlayer.Backpack:FindFirstChild("Tool") or game.Players.LocalPlayer.Character:FindFirstChild("Tool")
  44. local Handle = Tool:FindFirstChild("Handle")
  45. if Handle then
  46. Handle.Parent = hat
  47. game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
  48. Handle.Massless = false
  49. Tool:Destroy()
  50. end
  51. voidtoggle = true
  52. voidprocessing = false
  53. end
  54. end
  55. end)
  56.  
  57. game.Players.LocalPlayer.CharacterAdded:Connect(function()
  58. voidtoggle = false
  59. voidprocessing = false
  60. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement