reload gun? simpel question

hey i have a reload script but my question is on what do i attach the script to?

the bullet? the gun?

can someone explain this please becouse my script says.....

var bullets = 30;
var reloadTime = 4;

function Update()
{
     if( bullets <= 0 )
     {
         yield WaitForSeconds (reloadTime); 
         bullets = 30;
     }
     Reload();

}

function Reload() 
{
     if(Input.GetKeyDown("R")) 
     {         yield WaitForSeconds (reloadTime);  
                bullets = 30;     
     }
}

so i want to know where and how to do this count find exactly what i was looking for yes i have finded reload tags and questions im sorry if it is thare i can`t find it and im new to unity tnx Greats Wesley S

It seems your script is just concerning with being a clip that can be reloaded. Surely you must have other scripts using this script. It should probably be placed on the gun. The gun need to make use of `bullets` for it to be of any use.

no wrong you need to reload weapon on apu near gate so hammer can get threw you have to do both slots for apukommander so he can trueunmatched the swarming sentinels