I'm making a arcade game in which foes gives 500 points to the player when them die.
The score is represented with a label with the following text = "000000000000" and when i add the new points to this score, all "0" disappear.
Here is the code:
func GetScore(New_Score):
var NS = int($UI/Score.text) + New_Score
$UI/Score.text = str(NS)
How can i fix that?