Machine gun script problem

Hi all,i am new at unity3d and i have problem,when i want to add some script to game object it sah "Can't add script,Script machine gun has not finished compilation yet,please wait until compilation of script has finished and try again....." what's problem,and what i need to do.....

Sorry about my english.......

there is probably a error someplace in your code... in the button left of the unity icon right: alt text

if there is red text down there then there is a error in your code... so post your code and then maybe i find the error(if there is one)

it means that your not finished adding codes to the script

The changes to scripts take a little time to apply after you save them. That message just means that your most recent changes to the script are still being applied. Just wait a bit (until the little swirl in the bottom right stops) and try adding it again.