Onaylı Üye
i need valorent hack
#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
key_exit := "End"
key_hold := "XButton2"
pixel_box := 3
pixel_sens := 60
leftbound := A_ScreenWidth / 2 - pixel_box
rightbound := A_ScreenWidth / 2 + pixel_box
topbound := A_ScreenHeight / 2 - pixel_box
bottombound := A_ScreenHeight / 2 + pixel_box
Gui +LastFound +AlwaysOnTop -Caption +ToolWindow
Gui, Add, Tab2, x5 y5 w400 h200, Home|Color|Config
Gui, Tab, Home
Gui, Add, Text, x10 y30 w200 h20, Made By: 3froto
Gui, Add, Button, w100 h50 gStartSearch x10 y70, Start
Gui, Tab, Color
Gui, Add, Button, w100 h50 gSetRedColor x10 y30, Red
Gui, Add, Button, w100 h50 gSetPurpleColor x120 y30, Purple
Gui, Add, Button, w100 h50 gSetYellowColor x230 y30, Yellow
Gui, Tab, Config
Gui, Add, Button, w100 h50 gSaveSettings x10 y30, Hide
Gui, Show
hotkey, %key_exit%, terminate
return
start:
terminate:
Sleep 400
exitapp
return
StartSearch:
settimer, loop2, 20
return
loop2:
While GetKeyState(key_hold, "P"){
PixelSearch()
}
return
SetRedColor:
pixel_color := 0xFE636A
return
SetPurpleColor:
pixel_color := 0xEB69FE
return
SetYellowColor:
pixel_color := 0xFFFF55
return
SaveSettings:
Gui, Submit
IniWrite, %pixel_color%, Settings.ini, Settings, PixelColor
IniWrite, %pixel_sens%, Settings.ini, Settings, PixelSensitivity
GuiControl,, SaveStatus, Settings saved.
Sleep 1000
GuiControl,, SaveStatus,
return
LoadSettings:
IniRead, pixel_color, Settings.ini, Settings, PixelColor
IniRead, pixel_sens, Settings.ini, Settings, PixelSensitivity
GuiControl,, PixelSensitivity, %pixel_sens%
GuiControl,, SaveStatus, Settings loaded.
Sleep 1000
GuiControl,, SaveStatus,
return
HideGui:
Gui, 2:Hide
return
#IfWinActive ahk_exe autohotkey.exe
F4::
Gui, 2:Show
Gui, 2:Tab, Home
return
#If
PixelSearch() {
global
PixelSearch, FoundX, FoundY, leftbound, topbound, rightbound, bottombound, pixel_color, pixel_sens, Fast RGB
If !(ErrorLevel)
{
If !GetKeyState("F1")
{
ClickPixel()
sleep 100
}
}
return
}
ClickPixel() {
SendInput, {Click}
}
what kind of errorThere is an error in the code, the correct code is below. Among the friends who can't. Paste it into notepad. Then convert the .txt at the end to .ahk. I don't know if the code works or not. Because I don't use cheats. I assigned it as F1, you can assign it to any key you want.
Kod:#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 key_exit := "End" key_hold := "XButton2" pixel_box := 3 pixel_sens := 60 leftbound := A_ScreenWidth / 2 - pixel_box rightbound := A_ScreenWidth / 2 + pixel_box topbound := A_ScreenHeight / 2 - pixel_box bottombound := A_ScreenHeight / 2 + pixel_box Gui +LastFound +AlwaysOnTop -Caption +ToolWindow Gui, Add, Tab2, x5 y5 w400 h200, Home|Color|Config Gui, Tab, Home Gui, Add, Text, x10 y30 w200 h20, Made By: 3froto Gui, Add, Button, w100 h50 gStartSearch x10 y70, Start Gui, Tab, Color Gui, Add, Button, w100 h50 gSetRedColor x10 y30, Red Gui, Add, Button, w100 h50 gSetPurpleColor x120 y30, Purple Gui, Add, Button, w100 h50 gSetYellowColor x230 y30, Yellow Gui, Tab, Config Gui, Add, Button, w100 h50 gSaveSettings x10 y30, Hide Gui, Show hotkey, %key_exit%, terminate return start: terminate: Sleep 400 exitapp return StartSearch: septimer, loop2, 20 return loop2: While GetKeyState(key_hold, "P"){ PixelSearch() } return SetRedColor: pixel_color := 0xFE636A return SetPurpleColor: pixel_color := 0xEB69FE return SetYellowColor: pixel_color := 0xFFFF55 return SaveSettings: Gui, Submit IniWrite, %pixel_color%, Settings.ini, Settings, PixelColor IniWrite, %pixel_sens%, Settings.ini, Settings, PixelSensitivity GuiControl,, SaveStatus, Settings saved. Sleep 1000 GuiControl,, SaveStatus, return Load Settings: IniRead, pixel_color, Settings.ini, Settings, PixelColor IniRead, pixel_sens, Settings.ini, Settings, PixelSensitivity GuiControl,, PixelSensitivity, %pixel_sens% GuiControl,, SaveStatus, Settings loaded. Sleep 1000 GuiControl,, SaveStatus, return HideGui: Gui, 2:Hide return #IfWinActive ahk_exe autohotkey.exe F4:: Gui, 2:Show Gui, 2:Tab, Home return #If PixelSearch() { global PixelSearch, FoundX, FoundY, leftbound, topbound, rightbound, bottombound, pixel_color, pixel_sens, Fast RGB If !(ErrorLevel) { If !GetKeyState("F1") { ClickPixel() sleep 100 } } return } ClickPixel() { SendInput, {Click} }
Error at line 110.what kind of error
PixelSearch() {
global
PixelSearch, FoundX, FoundY, leftbound, topbound, rightbound, bottombound, pixel_color, pixel_sens, Fast RGB
If !(ErrorLevel)
{
If !GetKeyState("F1")
{
ClickPixel()
sleep 100
}
}
return
}
StartSearch:
MsgBox, StartSearch activated.
settimer, loop2, 20
return
Bunlara kaynak falen değil. bildiğin fare için özel hazırlanmış kodlar. Valorantın kodları değil yani. Macro programının için yapılıyor.konu açıldıkca kaynaklar açılıyor