Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
It would help if you included the first few lines of the script to make sure you didn't make a typo in the imports.
Also, where is this script box? Because you can't use annotation anywhere other than in the Script Console. If you try to use them elsewhere, errors would not be surprising.
Even if there are no errors, the input parameters you add will not be saved with the configuration and the script will not render correctly when executed by the system.