It works for me so please play around with the script and try to fix it yourself. But here are some potential solutions
Make sure your mouse is set to persistent:
Profiles > Details > Set as Persistent
Try changing local currentKeyBind = "lalt10" to a number that you have on your mouse
The issue could lie in the version of LGH you have, I have an older release, before they messed it up.
Other than that I cannot further assist you without more details. I'm unable to replicate your problem.