Advertisement
zMagnus

Hit Speed

Jul 19th, 2015
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. unit thread;
  2.  
  3. interface
  4.  
  5. uses
  6. Classes, Windows;
  7.  
  8. type
  9. Speed = class(TThread)
  10. private
  11. { Private declarations }
  12. protected
  13. procedure Execute; override;
  14. end;
  15.  
  16. var
  17. Hit: Speed;
  18.  
  19. implementation
  20.  
  21. procedure HitSpeed;
  22. begin
  23. asm
  24. mov [742464Ch + 78h], 1285
  25. end;
  26. Sleep(100);
  27. asm
  28. mov [742464Ch + 78h], 4101
  29. end;
  30. Sleep(15);
  31. end;
  32.  
  33. { Speed }
  34.  
  35. procedure Speed.Execute;
  36. begin
  37. while true do
  38. if GetKeyState(VK_Control) < 0 then
  39. HitSpeed;
  40. end;
  41.  
  42. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement