Please help me my farming game script active false ??

First i write this is script Name → Farm :

var GROW1 : Transform;
var GROW2 : Transform;
var GROW3 : Transform;
var Coin : GameObject;

//Public varibles && Time
public static var GrowTime = 800;

function Start () {
Coin.active = false;
GROW1.active = false;
GROW2.active = false;
GROW3.active = false;
}

function Update () {
GrowTime -= 1;

if(GrowTime == 500)
{
GROW1.active = true;
}
if(GrowTime == 300)
{
GROW1.active = false;
GROW2.active = true;
}
if(GrowTime == 100)
{
GROW3.active = true;
GROW2.active = false;
GROW1.active = false;
}
if(GrowTime == 0)
{
GROW1.active = false;
GROW2.active = false;
GROW3.active = false;
Coin.active = true;
}

}

then i write this is code for script active and false → Farm_Active

var FarmTrans : Transform;
var script : Farm; 
var FarmText : GUIText;
var RadioText : GUIText;
var GROW1 : Transform;
var GROW2 : Transform;
var GROW3 : Transform;
var Coin : GameObject;

function Start()
{
FarmTrans.GetComponent(Farm);
script.active = false;
FarmText.active = false;
RadioText.active = false;
}
function OnTriggerEnter()
{

}
function OnTriggerStay()
{
FarmText.active = true;
if(Input.GetKeyUp("e"))
{
FarmTrans.GetComponent(Farm);
script.active = false;
}
}
function Update()
{
if(Farm.GrowTime == -1)
{
FarmTrans.GetComponent(Farm);
script.active = false;
}
}

i have this is problem :frowning:
alt text

tested your script… as i pointed out before your disabling it, and never enabling it. (you’re disabling the object not the component).

function Start()
{
FarmTrans.GetComponent(Farm);
//script.active = false;
FarmText.active = false;
RadioText.active = false;
}

now it starts invisible (seeds live underground), then stage 1 appears, then 2, then 3, then the coin. so that part of your script works well. what you need is a script.active = true; somewhere to get those plants growing.