How can I make the bridge on Great Ocean Highway not show when somebody is loading into my server?

How would I make it so this bridge on Great Ocean Highway is not shown when a player is loading into my server? I notice some servers do not show this, but some others do. I made a custom loading screen with fivem-lsm.com but when a player is joining my server my custom loading screen will play for about a minute, but then it stops and this bridge is shown. How can I make it so my custom loading screen plays the entire time up until a player is actually spawned in? Thanks in advance for any help.

local Ran = false
AddEventHandler(“playerSpawned”, function ()
if not Ran then
ShutdownLoadingScreenNui()
Ran = true
end
end)

Thank you. What file would this be in? Would it be in spawnmanager.lua or somewhere else?

just create a client script and put it in a thread, otherwise put it on any existed script that runs before your loadingscreen i think. im not 100% im newbie but i did it like this. let me show you how i did it

all right, create a new client script on your existed loadingscreen folder. Call it as you want and dont forget to call it in the fxmanifest or in the __resource.lua.

inside this client script paste this.

image

1 Like

Thank you very much!