How to make a coundown timer that adds an enemy and goes to the next level?

I need to make a video game (dur) and i need to add a timer that when it runs out, will add another one of my “enemies” and show some text for a second or two. Here is the script for my enemies, can somebody make it work please? I also need to make the enemies kill me when they touch me:

var target : Transform; //the enemy’s target
var moveSpeed = 3; //move speed
var rotationSpeed = 3; //speed of turning

var myTransform : Transform; //current transform data of this enemy

function Awake()
{
myTransform = transform; //cache transform data for easy access/preformance
}

function Start()
{
target = GameObject.FindWithTag(“Player”).transform; //target the player

}

function Update () {
//rotate to look at the player
myTransform.rotation = Quaternion.Slerp(myTransform.rotation,
Quaternion.LookRotation(target.position - myTransform.position), rotationSpeed*Time.deltaTime);

//move towards the player
myTransform.position += myTransform.forward * moveSpeed * Time.deltaTime;

}

Hello i gues you want to make a countdown timer when it runs out you spawn enemy’s right ?

will i think it would be something like this:

#pragma strict
class TestScript extends MonoBehaviour
{
	var spawnSeconds : int = 5;
	var coolDown : int = 1;
	var nextNumber = 1;
	function Update () 
	{
		if(Time.time > nextNumber)
		{
			nextNumber = nextNumber + coolDown;
			
			if(spawnSeconds > 0)
			{
				spawnSeconds--;
			}
		}
		if(spawnSeconds <= 0)
		{
			Debug.Log("SpawnMobs");
		} 
	}
}

goodluck with it

Thanks.
Where do I put my Enemy name/tag?