Skip to main content
1 of 2

I'm new to GDscript myself, but I suspect that it should be "self.text = ...", otherwise you just create a local variable that is not used.