Toggleable autofire script
Im new to scripting and i was wondering if anyone could possibly help me with an autofire script thats toggleable. For example
when i toggle the right alt key it makes it so that when i hold down my primary mouse button it will spam the button instead of just simply clicking once then when i press the right alt key again everything goes back to normal.
There should be a scripting section for whatever game you're trying to make this for, but I'm sure it could just be done by switching bools/variables on and off whenever the right alt key is pressed, and have if else statements in your primary mouse button function.