Menu background time activated animations help

hey, i jsut wanted to repost as i got the menu from the mate, i put in my code, changed a few things so it would start, had a quick search on how to start particle emitters(just so i know the timer works, but none of it seems to be doing anything, is it something wrong with how it checks, or maybe the time itself, or the emitter… please help!

#pragma strict

private var MenuTime : byte;
private var Intro : boolean = false;
private var Mid : boolean = false; 
private var Finale : boolean = false;
private var MenuEnd : boolean = false;

function Start () {

}

function Update () {
MenuTime += Time.deltaTime;			//Makes the variable MenuStart into real seconds.
	if (MenuTime >= 20) {				//Checks the time of the Menu
	MenuTime = 0;						//Resets Menu Time back to 0
	MenuEnd = true;						//Makes var True
	
		if (MenuTime==5) {					//Checks the time	
		Intro = true;						
		
			if (MenuTime==10) {
			Mid = true;
			
				if (MenuTime==15) {
				Finale = true;
				}
			}
		}
	} 
}

function IntroAnim () {
Intro = true;
gameObject.particleEmitter.emit = true;
}

function MidAnim () {
Mid = true;

}

function FinaleAnim () {
Finale = true;

}
function MenuEndCheck () {
	MenuEnd = true;
	Intro = false;
	Mid = false;
	Finale = false;
	MenuEnd = false;
	
}

Your logic is flawed. Like

if (MenuTime >= 20) {               //Checks the time of the Menu

    MenuTime = 0;                       //Resets Menu Time back to 0
    MenuEnd = true;                     //Makes var True    

        if (MenuTime==5) {

The outer if - it’s only true if MenuTime is >=20 (so no point checking to see if it’s 5 inside!). Then you set it to 0, so it will always be 0 when inside the outer if. On top of that, you’re doing exact float value comparison… You should use approximate comparisons for float numbers.