Disable an option of Script
There is no direct option to disable the generate scripts function. This option comes with the ability to VIEW DEFINTION. What level of access does the user have? What do they really need to do?