extends Label var total_score = 0 func score_point(): total_score += 1 text = str(total_score) func _on_Grid_kace_damaged(): score_point()