It's me from the future ... :)
try this:
var score = 0
signal score
func ready():
score = 0
func _proces(delta):
updatescore(score):
func update_score(score):
$label.text = str(score)
func onsignalscore(): (you have to conect de Signal with the script)
score += 1