Help with 2D endless vertical frogger

I Have recently downloaded godot 4.5.1, As my first project I wanted to create a vertical 2D endless frogger . I have found a map/background png online which I want to extend infinitely vertically and I want to spawn random obstacles in predefined areas (not the roads on the map) and spawn cars that go faster the more you progress in a preset position . I have made the game but it does not go endlessly . Please help me on the topic , any help would be much appreciated.

What do you mean it doesn’t go endlessly?
Do you have any error?
Can you share some screenshots, or a video of how it works currently?
And code snippets that would be responsible for the endless scrolling.

I do not know how to make the map along with the obstacles and car loop infinitely

Did you try finishing this tutorial already? This won’t get you the exact game you want to make, but it explains well the basic concepts that you can utilize in your game, like spawning and moving objects.

In case you have any further questions after going through this tutorial - let me know.