Well, you wouldn't use
set_text(), you'd get a reference to your
Label node and set its text with
label_node.text = str(some_number). But again, I can't tell you what you may or may not be doing wrong without any more information. And if you crashed, it was for a reason, and the error message is very important - it tells you what is wrong.