https://docs.godotengine.org/en/stable/getting_started/first_3d_game/08.score_and_replay.html
Score and replay — Godot Engine (stable) documentation in English
In this part, we'll add the score, music playback, and the ability to restart the game. We have to keep track of the current score in a variable and display it...
score and replaygodot enginestabledocumentationenglish