public Text lifes; public int lifeAmt; void Start () { lifes = GetComponent<Text>(); } void Update () { lifes.text = lifeAmt.ToString(); }