Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EnablePrimaryMouseButtonEvents(true);
- function OnEvent(event, arg)
- if IsKeyLockOn("scrolllock" )then
- if IsMouseButtonPressed(1) then
- repeat
- MoveMouseRelative(0,1)
- Sleep(15)
- until not IsMouseButtonPressed(1)
- end
- if IsMouseButtonPressed(3)then
- repeat
- if IsMouseButtonPressed(1) then
- repeat
- MoveMouseRelative(0,1)
- Sleep(7)
- until not IsMouseButtonPressed(1)
- end
- until not IsMouseButtonPressed(3)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement