Valorant Triggerbot AHK

Dark
Seçkin Üye
Katılım
29 Mar 2020
Mesajlar
305
Çözümler
1
Tepki puanı
39
Ödüller
6
Sosyal
6 HİZMET YILI
Risky
Less than 50ms can get you banned. I Recommend to use 70-100ms
Here you can download
Bağlantıları görmek için lütfen Giriş Yap

F4: To Active Triggerbot
XButton1: Hold the Triggerbot On
End: To close the Triggerbot
You can change colors from Pixel_Color.
Enjoy :peepoBusiness:

AutoHotkey:
#NoEnv
#Persistent
#MaxThreadsPerHotkey 2
#KeyHistory 0
ListLines Off
SetBatchLines, -1
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetWinDelay, -1
SetControlDelay, -1
SendMode Input
CoordMode, Pixel, Screen
SoundBeep, 300, 200
SoundBeep, 400, 200

key_hold := "XButton1"

pixel_box := 5
pixel_sens := 70
pixel_color := 0xFEFE40 ; (Yellow: 0xFEFE40, Purple: 0xA145A3)
tap_time := 100

; Initialize Toggle variable
Toggle := 0

; F4 toggles the script on/off
F4::
    Toggle := !Toggle
    SetTimer, TriggerAction, % (Toggle ? "On" : "Off")
return

; XButton1 holds down the trigger
XButton1::
    If (Toggle)
    {
        SetTimer, TriggerAction, % (GetKeyState(key_hold, "P") ? "On" : "Off")
    }
    else
    {
        SetTimer, TriggerAction, Off
    }
return

TriggerAction:
    CoordMode, Pixel, Screen
  
    ; Define the search region
    X1 := A_ScreenWidth // 2 - pixel_box, Y1 := A_ScreenHeight // 2 - pixel_box
    X2 := A_ScreenWidth // 2 + pixel_box, Y2 := A_ScreenHeight // 2 + pixel_box
  
    ; Check if XButton1 is held down
    If (GetKeyState(key_hold, "P"))
    {
        ; Search for the color within the region
        PixelSearch, FoundX, FoundY, %X1%, %Y1%, %X2%, %Y2%, %pixel_color%, %pixel_sens%, Fast RGB
        If (ErrorLevel = 0) {
            ; Color found, perform action
          
            ; Simulate mouse click using PostMessage
            PostMessage, 0x201, 0x00000001, 0x01f0010f, , VALORANT
            PostMessage, 0x202, 0x00000001, 0x01f0010f, , VALORANT
        }
    }
    else
    {
        ; If XButton1 is released, turn off the action timer
        SetTimer, TriggerAction, Off
    }
return

; Press End to exit the script
End::ExitApp
 
Son düzenleme:
Onaylı Üye
Katılım
11 Eyl 2021
Mesajlar
135
Tepki puanı
3
Ödüller
2
Yaş
26
4 HİZMET YILI
very nice and it worked. thanks for the tips
 
Seçkin Üye
Katılım
29 Eki 2023
Mesajlar
334
Tepki puanı
17
Ödüller
2
Yaş
24
2 HİZMET YILI
knk ciddi olamasssın elline sağlık oha
 
Üye
Katılım
28 Tem 2019
Mesajlar
18
Tepki puanı
0
Ödüller
5
Yaş
26
6 HİZMET YILI
bunu nasıl kullanabiliceğimi açıklayan bi video var mı
 
Üst