yield WaitForSeconds don't work

Hi, yields WaitForSeconds in this code is not working and I don´t know why, someone can help me?

var clock_b1 : Texture2D[];

var clock_b : GameObject;

var i = 0;

function PlayAnim () {
    		
if(i < 11 ){
    				

i++;
    		
clock_b.guiTexture.texture = clock_b1*;*

yield WaitForSeconds (1);

}else{

i=0;
}
}

Don’t call it from update. Don’t make it a coroutine, and instead use invoke repeating.