My health bar is not displaying my players health:
Here is my code
GameObject healthText = GameObject.Find(“Health Display”);
//GameObject healthPoints = GameObject.Find(“Health Text”);
healthText.GetComponent().text = "Health: " + health.ToString();