how to hide object after a second

i have this script, and i want to hide GUIText after 1 second, but it doesn’t work

static var startGame = false;
var g1 : GUIText;
var g2 : GUIText;
var g3 : GUIText;
var go : GUIText;
var last : GUIText;

function Start ()
{
 g1.text = "3";
 yield WaitForSeconds (1.0);
 g1.renderer.enabled = false;

 g2.text = "2";
 yield WaitForSeconds (1.0);
 g2.renderer.enabled = false;

 g3.text = "1";
 yield WaitForSeconds (1.0);
 g3.renderer.enabled = false;

 go.text = "Go";
 yield WaitForSeconds (1.0);
 go.renderer.enabled = false;

 last.text = "";
startGame = true;
}

pls help

A work-around suggestion :

static var startGame = false;
var g1 : GUIText;
var g2 : GUIText;
var g3 : GUIText;
var go : GUIText;
var last : GUIText;

function Start ()
{
    g1.text = "3";
    yield WaitForSeconds (1.0);
    g1.text = "";

    g2.text = "2";
    yield WaitForSeconds (1.0);
    g2.text = "";

    g3.text = "1";
    yield WaitForSeconds (1.0);
    g3.text = "";

    go.text = "Go";
    yield WaitForSeconds (1.0);
    go.text = "";

    last.text = "";
    startGame = true;
}

try g1.enabled = false; and g1.enabled = true

I dont think GuiText has a renderer, what you could do is access the GuiText component or just disable the whole gameobject. So for the gameobject:

var g1: GUIText;

function Start(){

    g1.text = "3";
    yield WaitForSeconds(1);
        g1.gameobject.active = false;

}

And for the component:

var g1 : GUIText;

function Start(){

var guiComp1 = g1.GetComponent(GUIText);

//bla bla code jubberish like I did in the previous code slot
    yield WaitForSeconds(1);
        guiComp1.enabled = false; 

}

at least 1 of them would work! Good luck with your project!

-Hybris