Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EnablePrimaryMouseButtonEvents(true)
- function OnEvent(event, arg)
- if event == "MOUSE_BUTTON_PRESSED" and arg == 5 then
- repeat
- local key = ({"8", "7", "w", "q", "f", "s"})[math.random(6)]
- Sleep(math.random(20, 80))
- PressKey(key)
- Sleep(math.random(20, 80))
- ReleaseKey(key)
- until not IsMouseButtonPressed(5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement