Preload problems with 3D racing game

Hi, I’ve been playing aroung with a 3D racing game put together by Paolo Russian
I would like to add a preloader, but I can’t get it to work. The standard preload code doesn’t work, and as the whole game is in one function, I thought there might be another way to do it. Could anyone point me in the right direction. Thanks :thumb: