Gdscript game endless runner

I have such a question I’m talking about gdscript.I want to create a 3d game like endless runner and I’m looking for the whole code is it possible to find the whole code somewhere on the internet? I’m trying to code but it doesn’t work out.

I see many tutorials out there…

Her is one:

I wrote 3D endless runner Tutorial here for Godot 4. The tutorial is in 2 parts. Here is how the final game looks (GitHub repo link is also attached on the tutorial page).

EDIT: Originally based on this (it is for Godot 3).