Help with toggle function
Posted: 25 Apr 2024, 08:43
I have a script for left click mouse toggle and it works just fine...
the problem is, if I try to add another button to hold pressed as the clicks continue, it messes with the toggle and it doesnt "untoggle" anymore.
This one works just fine:
But this one starts the looping but it doesnt end when I press the key again, it never ends
What I want is for the "Ctrl" key to be pressed down as the script loops... and releases when I toggle off the script.
What am I doing wrong?
the problem is, if I try to add another button to hold pressed as the clicks continue, it messes with the toggle and it doesnt "untoggle" anymore.
This one works just fine:
Spoiler
.....................But this one starts the looping but it doesnt end when I press the key again, it never ends
Spoiler
What I want is for the "Ctrl" key to be pressed down as the script loops... and releases when I toggle off the script.
What am I doing wrong?