Advertisement
Guest User

Fortnite AHK Aimbot Code

a guest
Dec 15th, 2018
159,068
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I ALWAYS WANTED TO SHARE FORTNITE HACKS SO HERE IS SO FUCKING AIMBOT BUT ITS ONLY THE CODE LOLOLOLLOLOLOLOLOLOLOLOLOLLOL
  2.  
  3.  
  4. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  5. ; #Warn  ; Enable warnings to assist with detecting common errors.
  6. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  7. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  8.  
  9. init:
  10. #NoEnv
  11. #SingleInstance, Force
  12. #Persistent
  13. #InstallKeybdHook
  14. #UseHook
  15. #KeyHistory, 0
  16. #HotKeyInterval 1
  17. #MaxHotkeysPerInterval 127
  18. version = 1.1
  19. traytip, Compiled-Aimbot-.[censored].net%version%, Running in background!, 5, 1
  20. Menu, tray, NoStandard
  21. Menu, tray, Tip, Sharpshooter %version%
  22. Menu, tray, Add, Sharpshooter %version%, return
  23. Menu, tray, Add
  24. Menu, tray, Add, Help, info
  25. Menu, tray, Add, Exit, exit
  26. SetKeyDelay,-1, 1
  27. SetControlDelay, -1
  28. SetMouseDelay, -1
  29. SetWinDelay,-1
  30. SendMode, InputThenPlay
  31. SetBatchLines,-1
  32. ListLines, Off
  33. CoordMode, Pixel, Screen, RGB
  34. CoordMode, Mouse, Screen
  35. PID := DllCall("GetCurrentProcessId")
  36. Process, Priority, %PID%, High
  37.  
  38. EMCol := 0xD82A22,0xDD5879,0x322F2D,0x0DF317,0xABB3C0,0xD82A22,0x240E11,0x955647,0x5D024F,0x1599A5,0x61145C,0xEEE679,0xD0723E,0xEAE6DB,0x915612,0x424649,0x7F5103,0x54697E,0xD68E44,0xB80A0V,0xD0B56A,0x813D2B,0xaC351A,0xE9D795,0xB5AF9B,0xE94F58,0x612B37,0x2ADD31,0x612B37
  39. ColVn := 65
  40. AntiShakeX := (A_ScreenHeight // 160)
  41. AntiShakeY := (A_ScreenHeight // 128)
  42. ZeroX := (A_ScreenWidth // 2)
  43. ZeroY := (A_ScreenHeight // 2)
  44. CFovX := (A_ScreenWidth // 8)
  45. CFovY := (A_ScreenHeight // 64)
  46. ScanL := ZeroX - CFovX
  47. ScanT := ZeroY
  48. ScanR := ZeroX + CFovX
  49. ScanB := ZeroY + CFovY
  50. NearAimScanL := ZeroX - AntiShakeX
  51. NearAimScanT := ZeroY - AntiShakeY
  52. NearAimScanR := ZeroX + AntiShakeX
  53. NearAimScanB := ZeroY + AntiShakeY
  54.  
  55. Loop, {
  56.     KeyWait, RButton, D
  57.     PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
  58.     if (!ErrorLevel=0) {
  59.         loop, 10 {
  60.             PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
  61.             AimX := AimPixelX - ZeroX
  62.             AimY := AimPixelY - ZeroY
  63.             DirX := -1
  64.             DirY := -1
  65.             If ( AimX > 0 ) {
  66.                 DirX := 1
  67.             }
  68.             If ( AimY > 0 ) {
  69.                 DirY := 1
  70.             }
  71.             AimOffsetX := AimX * DirX
  72.             AimOffsetY := AimY * DirY
  73.             MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
  74.             MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
  75.             DllCall("mouse_event", uint, 1, int, MoveX * 1.5, int, MoveY, uint, 0, int, 0)
  76.         }
  77.     }
  78. }
  79.  
  80. Pause:: pause
  81. return:
  82. goto, init
  83.  
  84. info:
  85. msgbox, 0, %version%, Made by CelikShadow edited by WRsgdSFzx @ slut.io`nFortnite must be running in borderless windowed mode.`nPress pause key to pause this program.`nLeft click automatically aims down target near the center of the screen.`nRecommended for near distance(~15m) and full-auto weapons.
  86. return
  87.  
  88. exit:
  89. exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement