// Use this for initialization void Start () { conObj = GameObject.Find ("Con"); con = conObj.GetComponent<Connection>(); parser = this.gameObject.AddComponent<ParserMoney>(); con.Money (); coins.text = con.getCoins() + ""; crystals.text = con.getCrystal() + ""; }