reloading script

hi what is wrong with this reloading script?

var bullets = 30;

var reloadTime = 3;

function Reload() { if(Input.GetButtonDown("Reload"))

{
yield WaitForSeconds (reloadTime) ;
bullets = 30;
}
}

thanks

var bullets = 30;
var reloadTime = 3;

function Update()
{
    //Code to make sure it reloads if bullets are 0.
    if( bullets <= 0 )
    {
        yield WaitForSeconds (reloadTime); 
        bullets = 30; 
    }
    Reload();

}

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

Give Ejlersen a thumb up though!

hi, if I want to add an animation when reloading, where in add it?