Advertisement
1man2controllers

Shin_Wasabi_Kitty_Claw.ahk

Dec 18th, 2019
5,333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Process,Priority,,High
  2.  
  3. F4::pause, toggle
  4. F5::reload
  5.  
  6. F6::
  7.     plushieCoords := GetPlushieCoords()
  8.  
  9.  
  10.     ActivateWindow()   
  11.     loop{
  12.         AttemptGrab(plushieCoords.humpy)
  13.         AttemptGrab(plushieCoords.muffy)
  14.         AttemptGrab(plushieCoords.smokey)
  15.         AttemptGrab(plushieCoords.poopy)
  16.         AttemptGrab(plushieCoords.saki)
  17.         AttemptGrab(plushieCoords.poopy2)
  18.         AttemptGrab(plushieCoords.masterHentai)
  19.         AttemptGrab(plushieCoords.grindy)
  20.         AttemptGrab(plushieCoords.princessRobotBubblegum)
  21.         AttemptGrab(plushieCoords.shinyWasabiKitty)
  22.     }
  23. return
  24.  
  25. ; Remove the semicolon before the one or more you want to attempt
  26. F7::
  27.     plushieCoords := GetPlushieCoords()
  28.  
  29.     ActivateWindow()   
  30.     loop{
  31.         ; AttemptGrab(plushieCoords.humpy)
  32.         ; AttemptGrab(plushieCoords.muffy)
  33.         ; AttemptGrab(plushieCoords.smokey)
  34.         ; AttemptGrab(plushieCoords.poopy)
  35.         ; AttemptGrab(plushieCoords.saki)
  36.         ; AttemptGrab(plushieCoords.poopy2)
  37.         ; AttemptGrab(plushieCoords.masterHentai)
  38.         ; AttemptGrab(plushieCoords.grindy)
  39.         ; AttemptGrab(plushieCoords.princessRobotBubblegum)
  40.         AttemptGrab(plushieCoords.shinyWasabiKitty)
  41.     }
  42. return
  43.  
  44. KeyPress(key)
  45. {
  46.     down := "{" . key . " down}"
  47.     up := "{" . key . " up}"
  48.  
  49.     Send %down%
  50.     Sleep 150
  51.     Send %up%
  52.     Sleep 150
  53. }
  54. ActivateWindow()
  55. {
  56.     WinActivate, ahk_exe GTA5.exe
  57.     Sleep 300
  58. }
  59.  
  60. PlayShinyWasabiKittyClaw()
  61. {
  62.     sleep 200
  63.     KeyPress("e")
  64.     sleep 6000
  65. }
  66.  
  67. WaitForClawReturn(){
  68.     sleep 13000
  69. }
  70.  
  71. MoveToRow(num)
  72. {
  73.     KittyRow := [20, 1590, 2680, 4000]
  74.  
  75.     sleepWait := KittyRow[num]
  76.  
  77.     Send {w down}
  78.     sleep sleepWait
  79.     Send {w up}
  80.     sleep 1000
  81. }
  82.  
  83. MoveToCol(num)
  84. {
  85.     KittyCol := [20, 1900, 2200, 2900, 3320]
  86.  
  87.     sleepWait := KittyCol[num]
  88.  
  89.     Send {d down}
  90.     sleep sleepWait
  91.     Send {d up}
  92.     sleep 1000
  93. }
  94.  
  95. GetPlushieCoords(){
  96.     plushieCoords := {}
  97.  
  98.     princessRobotBubblegumCoords := {w: 3760, d: 2050} ;lined up
  99.     shinyWasabiKittyCoords := {w: 3760, d: 3770} ;lined up
  100.     masterHentaiCoords := {w: 2800, d: 3200} ;lined up
  101.     sakiCoords := {w: 1590, d: 3660} ;success
  102.     humpyCoords := {w: 400, d: 2000} ;lined up
  103.     grindyCoords := {w: 3600, d: 450} ;lined up
  104.     smokeyCoords := {w: 1900, d: 450} ;lined up
  105.     muffyCoords := {w: 20, d: 3320}  ;success
  106.     poopyCoords := {w: 1590, d: 2280} ;lined up
  107.     poopy2Coords := {w: 2800, d: 1550} ;lined up
  108.  
  109.     plushieCoords.princessRobotBubblegum := princessRobotBubblegumCoords
  110.     plushieCoords.shinyWasabiKitty := shinyWasabiKittyCoords
  111.     plushieCoords.masterHentai := masterHentaiCoords
  112.     plushieCoords.saki := sakiCoords
  113.     plushieCoords.humpy := humpyCoords
  114.     plushieCoords.grindy := grindyCoords
  115.     plushieCoords.smokey := smokeyCoords
  116.     plushieCoords.muffy := muffyCoords
  117.     plushieCoords.poopy := poopyCoords
  118.     plushieCoords.poopy2 := poopy2Coords
  119.  
  120.     return plushieCoords
  121. }
  122.  
  123. DropClaw()
  124. {
  125.     KeyPress("enter")
  126. }
  127.  
  128. MoveToPlushie(plushie)
  129. {
  130.     Send {w down}
  131.     sleep plushie.w
  132.     Send {w up}
  133.     sleep 1000
  134.  
  135.     Send {d down}
  136.     sleep plushie.d
  137.     Send {d up}
  138.     sleep 1000
  139. }
  140.  
  141. AttemptGrab(plushie)
  142. {
  143.     PlayShinyWasabiKittyClaw() 
  144.     MoveToPlushie(plushie)
  145.     DropClaw()
  146.     WaitForClawReturn()
  147. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement