Based on the comments above.
In your code the dialog string is constructed when the script starts. The string wont change if you modified variables that where used for the construction.
You can construct your array after you received the players name
var dialog
func _on_LineEdit_text_entered(new_text):
Global.playername = new_text
print(Global.playername)
dialog = [ "Hey!", " You!", " Creet, my name's creet", "Whats your's?", "" #here is page 10 and I signal to show the line edit , "Oh " + str(Global.playername) + " Neat name", ]
$Control.hide()
emit_signal("nametyped")
or you want to use String.replace() after your receive the name
var dialog = [ "Hey!", " You!", " Creet, my name's creet", "Whats your's?", "" #here is page 10 and I signal to show the line edit , "Oh #insert_name_here# Neat name", ]
func _on_LineEdit_text_entered(new_text):
Global.playername = new_text
dialog = dialog.relpace("#insert_name_here#",Global.playername)
print(Global.playername)
$Control.hide()
emit_signal("nametyped")