Hi! Any quick Godot help?

Hi, any Godot programmers out there? I'm using this engine for the first time in my life and I'm trying to code a situation where player can click an Area2D area, get a type-this-text prompt and afterwards the area is "checked" and the player cannot type the same thing again. I wanted to simply just make the text area disappear so if the player types some random letters nothing happens. This code works only before activating the area (e.g. when I run the game, I can type random letter and it prints the words I typed, and nothing happens. But after I'm finished typing the word displayed, next time I press random letter, the game crashes and I get the "Invalid get index visible on base null instance". Anyone knows how to code it? Or if I just have to code it differently. Thank you so much!