Script affecting other game objects

I have this script that deletes the gameobject when touched but it affects other gameobjects with different scripts attached.

I have enemy 1 that I need to delete when touched then add points to the score system, which is working as it should, also i have enemy 2 that ends game when touched they both have separate scripts.

But when I touch enemy 1 it ends the game.

I have included both scripts, any help would be great.

Enemy 1 Script

var squashySound : AudioClip;
static var  currentScore : int = 0;

	function Start () {
	
		currentScore = 0;
		}



	function Update () {

		if (Input.GetMouseButtonDown(0))
	{
	 
		var hitm : RaycastHit2D = Physics2D.Raycast(Camera.main.ScreenToWorldPoint(Input.mousePosition), Vector2.zero);
		if(hitm.collider != null)
		{
			audio.PlayOneShot(squashySound);
			currentScore += 10;
			Destroy (hitm.collider.gameObject);
			
		}
		if (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began){
		if(hitm.collider != null)
		{
			
			audio.PlayOneShot(squashySound, 01);
			currentScore += 10;
			Destroy (hitm.collider.gameObject);
			}
			}
		}
	}

Enemy 2 Script

function Update () {

		 if (Input.GetMouseButtonDown(0))
	{
	 
		var hitm : RaycastHit2D = Physics2D.Raycast(Camera.main.ScreenToWorldPoint(Input.mousePosition), Vector2.zero);
		if(hitm.collider != null)
		{
			
			
			Application.LoadLevel("gameOver");
			
		}
		if (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began){
		if(hitm.collider != null)
		{
			
			
			Application.LoadLevel("gameOver");
			
			}
		}
	}
	
}

It could be that you’re just checking if hitm is hitting something, try getting it to check a game objects tag, for example

if (hitm.collider.transform.tag == "ObjectToKillPlayerTag")
{
Application.LoadLevel("gameOver");
}

Then use other tags to check if the object you touched adds score or not