Advertisement
rrixh

auto klixker Z to toggle

Jul 11th, 2023
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. local time = 0.01
  2.  
  3. click = false
  4. m = game.Players.LocalPlayer:GetMouse()
  5. m.KeyDown:connect(function(key)
  6. if key == "z" then
  7. if click == true then click = false
  8. elseif
  9. click == false then click = true
  10.  
  11. while click == true do
  12. wait(time)
  13. mouse1click()
  14. end
  15. end
  16. end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement