when i assign a label to the button, and run it i get the error "The target label does not exist! Specifically gBhop"
I got it to work before, using gBhop, then typing Bhop: to set the actions of the buttons, but now im getting this error?
Heres the code.
I could also use some help getting it to toggle the scripts when you hit the button, but also not disabling their hotkeys.
Code: Select all
Gui, Add, Text, x82 y49 w50 h20 , Bunnyhop
Gui, Add, Button, x52 y69 w110 h20 gBhop, Toggle1
Gui, Add, Text, x82 y99 w50 h20, No Spray
Gui, Add, Button, x52 y119 w110 h20 gTap, Toggle2
Gui, Add, Text, x82 y149 w50 h20 , Rapid-Fire
Gui, Add, Button, x52 y169 w110 h20 gRapid, Toggle3
Gui, Add, Text, x52 y19 w110 h20 , Lemons CS:GO Scripts
Gui, Show, x540 y423 h213 w219, Lemon's Scripts
Return
gBhop:
{
ExitApp
}
return
gTap:
{
ExitApp
}
return
gRapid:
{
ExitApp
}
return
;Bhop Script
MButton:: Hotkey, *~$Space, Toggle
*~$Space::
Sleep 100
Loop
{
GetKeyState, SpaceState, Space, P
If SpaceState = U
break
Sleep 3
Send, {Blind}{Space}
}
;Tap Fire/No Spray
Up:: Hotkey, $lbutton, Toggle
$lbutton::
send {lbutton}
keywait lbutton
return
;Rapid Fire Script
F1:: Hotkey, *lbutton, Toggle
*lbutton::
While GetKeyState("lbutton", "P"){
Send,{lbutton}
Sleep 20
}
return
GuiClose:
ExitApp