Problem with script

Godot Version

4.4.1

Question

Why when I launch the game the script does not work, that is, the command in the code is not output to the console.

can you paste your code?

Are you running the correct scene? The Run Scene button runs the main scene, not the current scene.