Advertisement
Guest User

Untitled

a guest
Nov 12th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.81 KB | None | 0 0
  1. ; <COMPILER: v1.1.24.01>
  2. k0 = 0x15348675
  3. k1 = 0x34867867
  4. k2 = 0x45378676
  5. k3 = 0x78653446
  6. l0 = 0x54378373
  7. l1 = 0x78678676
  8. m0 = 0x78678667
  9. m1 = 0x78678375
  10. #Persistent
  11. IniFile = Credential.ini
  12. Fileinstall, C:\Users\Rod\Desktop\overawtah\1.png ,1.png
  13. guif:
  14. #NoEnv
  15. #SingleInstance force
  16. SkinForm(Apply, A_ScriptDir . "\USkin.dll", A_ScriptDir . "\Milikymac.msstyles")
  17. Gui, Add, Text, x12 y40 w200 h30 , Start Bot { F1 }
  18. Gui, Add, Text, x12 y80 w200 h30 , Restart Program { F12 }
  19. Gui, Add, Text, x12 y100 w200 h30 , Pause/Resume { Alt }
  20. Gui, Add, CheckBox, x12 y120 w53 h20 vaimbot, Aimbot
  21. Gui, Add, Text, x65 y120 w20 h30 , ---
  22. Gui, Add, CheckBox, x81 y120 w155 h20 vaimbotsmooth, Smooth Aimbot
  23. Gui, Add, CheckBox, x12 y140 w70 h20 vtrigger, TriggerBot
  24. Gui, Add, CheckBox, x81 y140 w100 h20 vsniper, SniperSettings
  25. Gui, Add, CheckBox, x12 y160 w70 h15 vtriaim, Snapshot
  26. Gui, Add, CheckBox, x81 y160 w145 h20 vtriaimhb, SnapshotHB
  27. Gui, Add, CheckBox, x12 y185 w100 h25 vgenji, Updated Genji {V}
  28. Gui, Add, CheckBox, x110 y180 w100 h20 vturn, 180 Turn
  29. Gui, Add, CheckBox, x292 y0 w150 h40 vaimtype Checked, Left Click Hotkey
  30. Gui, Add, CheckBox, x292 y25 w150 h40 vaimtype1, Right Click Hotkey
  31. Gui, Add, Text, x270 y110 w120 h30 , Aim speed control
  32. Gui, Add, Edit, x362 y110 w100 h30 vrx, 0.5
  33. Gui, Add, Text, x235 y75 w120 h30 , Ingame Mouse Sensitivity
  34. Gui, Add, Edit, x362 y75 w100 h30 vrxx, 19
  35. Gui, Add, Button, x232 y150 w230 h90 gchange1, Apply settings
  36. gui, add, button, x5 y5 h20 w70 gIssue, Help
  37. Gui, Show
  38. Loop {
  39. Gui, Submit, NoHide
  40. Sleep -1
  41. }
  42. Return
  43. #If mccree=1
  44. ~RButton::
  45. Loop
  46. If GetKeyState("RButton") {
  47. Sleep, 5
  48. moveAmount := (moveAmount = 2) ? 3 : 0
  49. mouseXY(moveAmount,3.4)
  50. }
  51. else
  52. break
  53. Return
  54. mouseXY(x,y)
  55. {
  56. DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
  57. }
  58. #If
  59. return
  60. #If genji=1
  61. ~v::
  62. MouseClick, right
  63. Send {shift down}{shift up}
  64. sleep, 400
  65. if(turn=1)
  66. {
  67. GuiControlget, rXx
  68. if(timer < A_TickCount)
  69. {
  70. timer := A_TickCount +300
  71. DllCall("mouse_event", uint, 1, int, ((A_ScreenWidth // 2)*2)*(14.2/rxx), int, -50, uint, 0, int, 0)
  72. }
  73. sleep, 250
  74. }
  75. Mouseclick, Right
  76. send {Mbutton down}{MButton Up}
  77. Return
  78. #If
  79. Return
  80. Reload
  81. Return
  82. Issue:
  83. {
  84. msgbox, Having issues?`n`n-Please make sure that you have matched the ingame sensitivity with the settings `n`n-Play around with the settings for a bit`n`n-For huge boost in fps, try setting your window theme the classic.`n`n-You can pause the trial time by hitting the pause button!`n`n-Snapshot for now can only send out "V" to shoot. Please have your primary set to "V" if you are planning to use SnapShot.`n`n-Try not to use this hack in Maps like Route 66 because of too many red pixels`n`n-SniperSettings means it'll wait until sniper is done charging before shooting.`n`n-Please put Overwatch to Windowless Border and have it set to 1920*1080`n`n-Hold on left button for triggerbot to detect enemies.
  85. }
  86. return
  87. GuiClose:
  88. ExitApp
  89. return
  90. SkinForm(Param1 = "Apply", DLL = "", SkinName = ""){
  91. if(Param1 = Apply){
  92. DllCall("LoadLibrary", str, DLL)
  93. DllCall(DLL . "\USkinInit", Int,0, Int,0, AStr, SkinName)
  94. }else if(Param1 = 0) {
  95. DllCall(DLL . "\USkinExit")
  96. }}
  97. Change1:
  98. Tooltip, Applied!
  99. SetTimer, RemoveToolTip, 500
  100. Gui,Submit, Nohide
  101. return
  102. RemoveToolTip:
  103. SetTimer, RemoveToolTip, Off
  104. ToolTip
  105. return
  106. F1::
  107. Soundbeep
  108. #KeyHistory, 0
  109. #NoEnv
  110. #HotKeyInterval 1
  111. #MaxHotkeysPerInterval 2000
  112. #Usehook
  113. #SingleInstance, Force
  114. SetKeyDelay,-1, 8
  115. SetControlDelay, -1
  116. SetMouseDelay, 0
  117. SetWinDelay,-1
  118. SendMode, InputThenPlay
  119. SetBatchLines,-1
  120. ListLines, Off
  121. CoordMode, Pixel, Screen, RGB
  122. CoordMode, Mouse, Screen
  123. PID := DllCall("GetCurrentProcessId")
  124. Process, Priority, %PID%, Normal
  125. MouseX1:= 895
  126. MouseX2:= 1035
  127. Mousey1:= 425
  128. Mousey2:= 515
  129. EMCol := 0xD82A22
  130. ColVn := 64
  131. Health :=0
  132. Body:=1
  133. if(body=1)
  134. {
  135. AntiShakeX := 30
  136. AntiShakeY := 30
  137. ZeroX := (A_ScreenWidth // 2)
  138. ZeroY := (A_ScreenHeight // 2)
  139. CFovX := (A_ScreenWidth // 8)
  140. CFovY := (A_ScreenWidth // 64)
  141. }else {
  142. AntiShakeX := 30
  143. AntiShakeY := 30
  144. ZeroX := 900
  145. ZeroY := 450
  146. CFovX := 20
  147. CFovY := 20
  148. }
  149. xrange :=58
  150. yrange :=85
  151. ScanL := ZeroX - CFovX
  152. ScanT := ZeroY
  153. ScanR := ZeroX + CFovX
  154. ScanB := ZeroY + CFovY
  155. NearAimScanL := ZeroX - AntiShakeX
  156. NearAimScanT := ZeroY - AntiShakeY
  157. NearAimScanR := ZeroX + AntiShakeX
  158. NearAimScanB := ZeroY + AntiShakeY
  159. Timer:=0
  160. Negative :=0
  161. Positive :=0
  162. Shoot :=0
  163. ExitTimer:=0
  164. ExitCount:=0
  165. soundbeep
  166. Loop, {
  167. Gui,Submit, Nohide
  168.  
  169. if (aimtype=1){
  170. GetKeyState, Mouse2, LButton , P
  171. GoSub MouseMoves2
  172. }
  173. if (aimtype1=1)
  174. {
  175. GetKeyState, Mouse2, RButton, P
  176. GoSub MouseMoves2
  177. }
  178. GoSub GetAimOffset1
  179. }
  180. MouseMoves2:
  181. If ( Mouse2 == "D" ) {
  182. if (aimbot=1 or aimbotsmooth=1)
  183. {
  184. blockinput, on
  185. DllCall("mouse_event", "UInt", 0x01, "UInt", Movesx*(rx), "UInt", Movesy)
  186. blockinput, off
  187. }
  188. if(1trigger =1)
  189. {
  190. if(sniper=1)
  191. {
  192. rx =0.5
  193. Timeyes = 1
  194. }else {
  195. GuiControlget, rX
  196. }
  197. DllCall("mouse_event", uint, 4, int, x, int, y, uint, 0, int, 0)
  198. if(sniper=1)
  199. {
  200. if(aimpixelx < zerox +20 and aimpixelx > zerox - 20 )
  201. {
  202. if(Timer > 200)
  203. {
  204. Timer := 0
  205. DllCall("mouse_event", uint, 2, int, x, int, y, uint, 0, int, 0)
  206. }}}else {
  207. if(aimpixelx < zerox +5 and aimpixelx > zerox - 5 )
  208. {
  209. DllCall("mouse_event", uint, 2, int, x, int, y, uint, 0, int, 0)
  210. }}}
  211. if(trigger)
  212. {
  213. DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, , int, 0)
  214. if(shoot=1)
  215. {
  216. if(sniper=1)
  217. {
  218. if(Timer < A_Tickcount)
  219. {
  220. Timer := A_Tickcount+1350
  221. DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
  222. Shoot :=0
  223. }}else {
  224. DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
  225. Shoot :=0
  226. }}
  227. Shoot:=0
  228. }
  229. if(otriaim =1)
  230. {
  231. DllCall("mouse_event", uint, 4, int, x, int, y, uint, 0, int, 0)
  232. if(aimpixelx < zerox + 5 and aimpixelx > zerox -5)
  233. {
  234. DllCall("mouse_event", uint, 2, int, x, int, y, uint, 0, int, 0)
  235. }}
  236. if(triaim =1)
  237. {
  238. blockinput, on
  239. if(Timer < A_Tickcount)
  240. {
  241. Timer:= A_tickcount + 300
  242. if(Positive=1)
  243. {
  244. Dirx := (14.2/rxx)
  245. Aimx := (Aimx-50) * Dirx
  246. DllCall("mouse_event", uint, 4, int, aimx, int, aimy, uint, 0, int, 0)
  247. Send, v
  248. Positive :=0
  249. }
  250. if(Negative =1 )
  251. {
  252. Dirx := (14.2/rxx)
  253. Aimx := (Aimx-20) * Dirx
  254. DllCall("mouse_event", uint, 4, int, aimx, int, aimy, uint, 0, int, 0)
  255. Send, v
  256. Negative :=0
  257. }}
  258. blockinput, off
  259. }
  260. if(triaimhb =1)
  261. {
  262. blockinput, on
  263. if(Timer < A_Tickcount)
  264. {
  265. Timer:= A_tickcount + 300
  266. if(Positive=1)
  267. {
  268. Dirx := (14.2/rxx)
  269. Aimx := (Aimx-50) * Dirx
  270. DllCall("mouse_event", uint, 4, int, aimx, int, aimy, uint, 0, int, 0)
  271. Send, v
  272. Positive :=0
  273. }
  274. if(Negative =1 )
  275. {
  276. Dirx := (14.2/rxx)
  277. Aimx := (Aimx-20) * Dirx
  278. DllCall("mouse_event", uint, 4, int, aimx, int, aimy, uint, 0, int, 0)
  279. Send, v
  280. Negative :=0
  281. }}
  282. blockinput, off
  283. }
  284. }
  285. Return
  286. GetAimOffset1:
  287. Gui,Submit, Nohide
  288. if(trigger =1)
  289. {
  290. ImageSearch, , , 960, 0, 960, 540, *100 1.png
  291. If Errorlevel = 0
  292. ImageSearch, , , 960, 541, 960, 1080, *100 1.png
  293. If Errorlevel = 0
  294. ImageSearch, , , 0, 540, 960, 540, *100 1.png
  295. If Errorlevel = 0
  296. ImageSearch, , , 960, 540, 1920, 540, *100 1.png
  297. if Errorlevel = 0
  298. Shoot:=1
  299. }
  300. if(aimbotsmooth=1 or triaim =1)
  301. {
  302. PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
  303. if (!ErrorLevel=0) {
  304. PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
  305. AimX := AimPixelX - ZeroX +50
  306. AimY := AimPixelY - ZeroY
  307. If ( AimX > 0 ) {
  308. DirX := 1
  309. negative:=0
  310. positive:=1
  311. }else {
  312. DirX := -1
  313. DirY := -1
  314. negative:=1
  315. positive:=0
  316. }
  317. If ( AimY > 0 ) {
  318. DirY := 1
  319. }
  320. AimOffsetX := (AimX * DirX) * (14.2/rxx)
  321. AimOffsetY := (AimY * DirY) * (14.2/rxx)
  322. MovesX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
  323. MovesY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
  324. }}
  325. if(aimbot=1 or triaimhb = 1)
  326. {
  327. ImageSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, *4 hhp2.bmp
  328. if (!ErrorLevel=0)
  329. {
  330. Body:=1
  331. Health:=0
  332. PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
  333. if (!ErrorLevel=0) {
  334. PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
  335. AimX := AimPixelX - ZeroX +50
  336. AimY := AimPixelY - ZeroY
  337. If ( AimX > 0 ) {
  338. DirX := 1
  339. negative:=0
  340. positive:=1
  341. }else {
  342. DirX := -1
  343. DirY := -1
  344. negative:=1
  345. positive:=0
  346. }
  347. If ( AimY > 0 ) {
  348. DirY := 1
  349. }
  350. AimOffsetX := (AimX * DirX) * (14.2/rxx)
  351. AimOffsetY := (AimY * DirY) * (14.2/rxx)
  352. MovesX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
  353. MovesY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
  354. }else {
  355. Health:=1
  356. Body:=0
  357. ImageSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, *4 hhp.bmp
  358. AimX := AimPixelX - ZeroX
  359. AimY := AimPixelY - ZeroY
  360. If ( AimX > 0 ) {
  361. DirX := 1
  362. negative:=0
  363. positive:=1
  364. }else {
  365. DirX := -1
  366. DirY := -1
  367. negative:=1
  368. positive:=0
  369. }
  370. If ( AimY > 0 ) {
  371. DirY := 1
  372. }
  373. AimOffsetX := (AimX * DirX) * (14.2/rxx)
  374. AimOffsetY := (AimY * DirY) * (14.2/rxx)
  375. MovesX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
  376. MovesY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
  377. }}}
  378. Return
  379. reload:
  380. SleepF1:
  381. SleepDuration = 1
  382. TimePeriod = 1
  383. DllCall("Winmm\timeBeginPeriod", uint, TimePeriod)
  384. Iterations = 1
  385. StartTime := A_TickCount
  386. Loop, %Iterations% {
  387. DllCall("Sleep", UInt, TimePeriod)
  388. }
  389. DllCall("Winmm\timeEndPeriod", UInt, TimePeriod)
  390. Return
  391. DebugTool1:
  392. MouseGetPos, MX, MY
  393. ToolTip, Mouse Pos: %Movesx% %MY% %cfovx% %cfovy%
  394. ToolTip, Aimpixel: %aimpixelx% %AimY% ,,+3, 2
  395. Return
  396. Return
  397. TEA(ByRef y,ByRef z, k0,k1,k2,k3)
  398. {
  399. s = 0
  400. d = 0x9E3779B9
  401. Loop 32
  402. {
  403. k := "k" . s & 3
  404. y := 0xFFFFFFFF & (y + ((z << 4 ^ z >> 5) + z ^ s + %k%))
  405. s := 0xFFFFFFFF & (s + d)
  406. k := "k" . s >> 11 & 3
  407. z := 0xFFFFFFFF & (z + ((y << 4 ^ y >> 5) + y ^ s + %k%))
  408. }
  409. }
  410. XCBC(x, u,v, k0,k1,k2,k3, l0,l1, m0,m1)
  411. {
  412. Loop % Ceil(StrLen(x)/16)-1
  413. XCBCstep(u, v, x, k0,k1,k2,k3)
  414. If (StrLen(x) = 16)
  415. {
  416. u := u ^ l0
  417. v := v ^ l1
  418. XCBCstep(u, v, x, k0,k1,k2,k3)
  419. }
  420. Else {
  421. u := u ^ m0
  422. v := v ^ m1
  423. x = %x%100000000000000
  424. XCBCstep(u, v, x, k0,k1,k2,k3)
  425. }
  426. Return Hex8(u) . Hex8(v)
  427. }
  428. XCBCstep(ByRef u, ByRef v, ByRef x, k0,k1,k2,k3)
  429. {
  430. StringLeft p, x, 8
  431. StringMid q, x, 9, 8
  432. StringTrimLeft x, x, 16
  433. p = 0x%p%
  434. q = 0x%q%
  435. u := u ^ p
  436. v := v ^ q
  437. TEA(u,v,k0,k1,k2,k3)
  438. }
  439. Hex8(i)
  440. {
  441. format = %A_FormatInteger%
  442. SetFormat Integer, Hex
  443. i += 0x100000000
  444. StringTrimLeft i, i, 3
  445. SetFormat Integer, %format%
  446. Return i
  447. }
  448. Hex(ByRef b, n=0)
  449. {
  450. format = %A_FormatInteger%
  451. SetFormat Integer, Hex
  452. m := VarSetCapacity(b)
  453. If (n < 1 or n > m)
  454. n := m
  455. Loop %n%
  456. {
  457. x := 256 + *(&b+A_Index-1)
  458. StringTrimLeft x, x, 3
  459. h = %h%%x%
  460. }
  461. SetFormat Integer, %format%
  462. Return h
  463. }
  464. ALT::
  465. pause,toggle,1
  466. {
  467. if(A_IsPaused=0)
  468. {
  469. Gui, Add, Text, x80 y5 w70 h30 , Running...!
  470. Soundbeep
  471. }
  472. if(A_IsPaused=0)
  473. {
  474. Gui, Add, Text, x80 y5 w70 h30 , Running...!
  475. Soundbeep
  476. }
  477. }
  478. if(A_IsPaused=1)
  479. {
  480. Gui, Add, Text, x80 y5 w70 h30 , Paused...
  481. Soundbeep
  482. }
  483. if(A_IsPaused=1)
  484. {
  485. Gui, Add, Text, x80 y5 w70 h30 , Paused...
  486. Soundbeep
  487. }
  488. return
  489. F12::
  490. Reload
  491. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement