So looks like Matt forgot to give the timing which is very important. This has to run at
Final/9999999999 to work correctly.
Once you have this working all you have to do is make the following changes:
1) Add the script to Mechanic so it runs for all characters and will adjust all weapons.
2) Change the script to do a foreach loop through all the BaseWep.
HERE is a post with an example showing a foreach loop through all BaseWep.