It works perfectly fine; though it may not be the best.
You are using it incorrectly, you are not supposed to bind 'chaingunsensitivity'.
Copy paste the script to autoexec, that is all you have to do :p
The script is an infinite loop, it will always be running unless you /clearsleep. If the script isn't running, type /chaingunsensitivity
When you have it bound to mouse1, every time you click, it executes the command again, since it is an infinite loop, you're more just running way more loops than needed (1).
Sensitivity 10?? default sensitivity 93???
My sensitivity isn't even past 1! You must have an extremely low DPI mouse
P.S. by copy paste I literally mean select it and copy paste :p. (maybe you did.. but judging by the script in your post it looks as if you manually typed it, correct me if I'm wrong)
why "[ if (!= (get weapon) 2)" "!"?
and why "sheep"?
[ if (!= (getweapon) 2) is another way of saying "if weapon is not equal to 2 (chaingun).
sheep? there is no sheep in the script? it is sleep.
Sleep = delay time before event.
Example: /sleep 2000 [say "test"]
sleep 2000 is 2000 milliseconds, therefore 2 seconds time. Client will wait 2 seconds, before saying test.
slowattacksens = [if (i dont know ) =player1attacking or attack=1/idontknow) [sensitivity 40] [sensitivity $defaultsensitivity]; onrelease [sensitivity $defaultsensitivity]]
This line is useless. Use the script how I wrote it, modify only the capital letters, and it will work.