@WarPathSin666
I appreciate it, but what you posted after the edit would turn it into a toggle, one press to turn it on, another to turn it off. I wanted it to be a key that whilst you hold down it does what it does. When you release it it stops. Which atm it does without any problems.
@fail
The numbers are listed in the initial post.
14=CapsLock
20=Space
So your capslock key makes it fire if you go over the color yellow.
Your spacebar would make it fire if you go over the color pink.
scan radius is just setting up how large it needs to scan
3 means you have a 6 pixel circle around your crosshair. Increasing the number increases the size of the circle, viceversa.