Ipquarx

Autoclicker

Sep 6th, 2014
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.69 KB | None | 0 0
  1. function click()
  2. {
  3.     commandtoServer('activatestuff');
  4. }
  5.  
  6. function doLoopClick(%amount, %time)
  7. {
  8.     if($Clicker_isClicking)
  9.         return false @ echo("There's already a click going!");
  10.    
  11.     $Clicker_clicksLeft = %amount;
  12.     $Clicker_Time = ~~(%time / %amount);
  13.     $Clicker_isClicking = true;
  14.    
  15.    
  16.     clickLoopIter();
  17. }
  18.  
  19. function clickLoopIter()
  20. {
  21.     if(!$Clicker_isClicking)
  22.         return;
  23.    
  24.     if($Clicker_clicksLeft < 0)
  25.     {
  26.         deleteVariables("$Clicker_*");
  27.         return;
  28.     }
  29.    
  30.     $Clicker_clicksLeft--;
  31.    
  32.     click();
  33.    
  34.     schedule(32, 0, clickLoopIter);
  35. }
  36.  
  37. //ignore this
  38. function a()
  39. {
  40.     doloopclick(31,1000);schedule(150,0,eval,"$mvpitchdownspeed=-0.2;");schedule(1000,0,eval,"$mvpitchdownspeed=0;");
  41. }
Advertisement
Add Comment
Please, Sign In to add comment