Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Loop = true
  2. plr = game:GetService("Players").LocalPlayer
  3. mouse = plr:GetMouse();
  4. mouse.KeyDown:Connect(function(key)
  5. if key == 'r' then
  6. Loop = not Loop;
  7. end
  8. end)
  9. while wait() do
  10. if Loop == true then
  11. for i,v in pairs(plr.Backpack:GetChildren()) do
  12. if v.ClassName == 'Tool' then
  13. plr.Character.Humanoid:EquipTool(v);
  14. end
  15. end
  16. for i,v in pairs(plr.Character:GetChildren()) do
  17. if v.ClassName == 'Tool' then
  18. v:Activate()
  19. end
  20. end
  21. else wait() end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement