1 2 3 4 5 6 7 8 9 10
extends Label var score = 0 func _ready(): text = "Score: " + str(score) func _on_Hoop_score(): score += 1 text = "Score: " + str(score)