I need help with my Auto Attack script

i keep getting this error meg saying

Assets/Scripts/C#/Player_AutoAttack.cs(19,28): error CS0119: Expression denotes a type', where a variable’, value' or method group’ was expected

this is the script (i am useing C#

using UnityEngine;
using System.Collections;

public class Player_AutoAttack : MonoBehaviour {
public GameObject target;
public float attackTimer;
public float coolDown;

// Use this for initialization
void Start () {
	attackTimer = 0;
	coolDown = 1.0f;
}

// Update is called once per frame
void Update () {
	
		if(Enemy_Health > 0)	
		
		
	if(attackTimer > 0)
		attackTimer -= Time.deltaTime;
	
	if(attackTimer < 0)
		attackTimer = 0;
	
		if(attackTimer == 0) {
		Attack();
			attackTimer = coolDown;
	
		}	
}

private void Attack() {
	float distance = Vector3.Distance(target.transform.position, transform.position);
	
	Vector3 dir = (target.transform.position - transform.position).normalized;
		
		float direction = Vector3.Dot(dir, transform.forward);
	
	
	if(distance < 2.5) {
		if(direction > 0) {
		Enemy_Health eh = (Enemy_Health)target.GetComponent("Enemy_Health");
	eh.AddjustCurrentHealth(-1);
			
		}
		}	
}

}

Enemy_Health appears to be the name of a script, as you’re assigning to it on line 36.

This means that when you do: if(Enemy_Health > 0), on line 10, you’re trying to compare a script type to an integer, which isn’t possible. You need to get the health variable out of the script and compare it to that.