Need help with editing a script
I can't seem to make this B-hopping script set to my mouse button 4 for jumping. I set my mouse4 to jump in csgo. But when I use the script below and hold my mouse 4 it doesn't keep jumping. Any suggestions, or fixes. Thank!
*space::
Loop
{
GetKeyState,state,space,P,XButton1
if state = U
break
Send{space},{XButton1}
Sleep,17
}
return
end::Exitapp
delete::Suspend
*space::
Loop
{
GetKeyState,state,space,P,XButton1
if state = U
break
Send{space},{XButton1}
Sleep,17
}
return
end::Exitapp
delete::Suspend


If you happen to come up with anymore suggestion shoot them my way. Otherwise I got nothing.