Text only appears when game is paused

Hello! I am trying to create a clicker game in Unity where you click on dice, and, depending on what it lands on, you will get more points. I have added in a TextMeshPro component that displays the score, however, it only appears when I pause the game. When I play the game, the text cannot be seen, but when I pause the game, the text can be seen displaying the exact amount of points that I have, proving that the code is working. I have barely changed any UI elements after starting the project. Could someone please help me fix this?

Could you provide more information (ect. Scene screenshots or the pause script/any other related scripts)