Semi Auto Weapons?

Is there some sort of script to make weapons semi-automatic?

Doesnt seem to work :\