Help with some scripts

Well im stuck with this scripts, so what I wanted to do is if I press Fire1 so it plays an animation, an emitter and a sound, with time delay.

Any help, im really not a programer more tenden for the design and arts :-?

I got this just for the emiter

var emissionTime : float = 3.0;

var emissionDelay : float = 3.0;

var lastTime = 12.0;



function Update()

{

 if (Input.GetButton("Fire1"))

 {

   GetComponent(ParticleAnimator).autodestruct = false;

   particleEmitter.emit = true;

   lastTime = Time.time;

 }

 if (particleEmitter.emit  (Time.time - lastTime) > emissionTime)

 {

    particleEmitter.emit = false;

 }



}

But doesnt reconise component ParticleAnimator.

How is your particle system setup?? Do you have a particle animator in it??

I added the particles system to the object that has the script, it works now but the problem seems that it doesnt work well, its starts with the particle system on, and i wanted to make it shoot a flamethrower so if i press fire 1 it shoots flames with limited time.