You wrote
var score = 0 setget set_score
That means that you want the setter function to be called "set_score". You have no function defined with that name. You do have
func set_get(new_score):
But I think that's not what you meant to name that function.