# Score text wont appear

**URL:** https://discussions.unity.com/t/score-text-wont-appear/228037
**Category:** Questions & Answers
**Created:** [October 15, 2019, 8:30am UTC](https://discussions.unity.com/t/score-text-wont-appear/228037 "2019-10-15T08:30:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ShirazAkber](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@ShirazAkber](https://discussions.unity.com/u/ShirazAkber)
#### Post date: [October 15, 2019, 8:30am UTC](https://discussions.unity.com/t/score-text-wont-appear/228037/1 "2019-10-15T08:30:13Z")

</div>

Hello i was following the roll-a-ball tutorial and after i made the public text on my ball and dragged the text onto it,there is a problem. The text that i want to appear is shown but the iteration of score is not  
being shown.

```
public class Acc : MonoBehaviour
{
    public Text capsuletext;
    private int capsule;
    public Text timertext;
    private Rigidbody rb3d;
    public GameObject changer;
    // Start is called before the first frame update
    void Start()
    {            
        capsule = 5;
        rb3d = GetComponent<Rigidbody>();
        setcount();        
    }
    void Update()
    {
        setcount();
        transform.Translate(Input.acceleration.x, 0,0);
    }
    public void Jump()
    {
        rb3d.AddForce(0, 300, 0);
    }
    public void Rjump()
    {
        rb3d.AddForce(0, -300, 0);
    }
    void OnTriggerEnter(Collider collision)
    {
        if (collision.gameObject.CompareTag("Bound"))
        {
            SceneManager.LoadScene("Gameover");
        }
        else if (collision.gameObject.CompareTag("Capsule"))
        {
            collision.gameObject.SetActive(false);
            capsule = capsule - 1; //the score of 5 that is suppose to reduce to 0 is not being shown
            setcount();
        }            
    }
    void setcount()
    {
        capsuletext.text = "Remaining : " + capsule.ToString(); //THE "Remaining" IS BEING SHOWN
        if (capsule <= 0)
        {
            changer.SetActive(true);
        }
    }
}

```

---

<div class="post-metadata">

### Author: ![ShirazAkber](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@ShirazAkber](https://discussions.unity.com/u/ShirazAkber)
#### Post date: [October 16, 2019, 7:46am UTC](https://discussions.unity.com/t/score-text-wont-appear/228037/2 "2019-10-16T07:46:26Z")

</div>

Guys i got it working the problem was that i was using a font called “Rosbed” which didn’t show the numbers when i changed it back to “Liberationsans” it worked perfectly. any idea why the other font doesn’t show the score? @HappiiGamer @Bonfire-Boy Thank you so much.
