So a while ago the Gmod Dev Team decided they were going to block scripts based off unrealistic and unhumanized movement or keystrokes. Meaning that this script is completely unusable based-off the fact no one can push space that quickly without being some type of, "God".
Code:
~F1::
Hotkey, *~$Space, Toggle
return
*~$Space::
sleep 5
loop
{
GetKeyState, SpaceState, Space, P
if Spacestate = U
break
sleep 1
Send, {Blind}{Space}
}
return
I don't know much about coding or developing scripts, so my best solution to the issue was to change the delay of the script in hopes of it bypassing whatever was blocking it. Me changing the delay caused it to be inconsistent and all-in-all not work how I would like it. Like I said I don't know much about coding or developing scripts so if someone could help me out, that would be amazing. I would love to go back to trolling Cops in DarkRP.