How do I prevent players from spawning without making GUI invisible?

My game is a GUI game, and I want the players not to spawn, so it can reduce lag and make more room for other players, but, I cannot find any way I can prevent players from spawning without making the UI invisible.

I go here
image
Then I go to the proprieties and scroll down to
image
I disable it

Then I start my game and yes, it is preventing players from spawning, but it makes the UI disappear

It just shows this

I need to find a way where I can make players not spawn while having UI’s

You have to replicate the UIs in the playerGui on player added.

Disable this property.

https://developer.roblox.com/en-us/api-reference/property/Players/CharacterAutoLoads

When I disable it, it makes my UI’'s disappear

Handle the cloning of GuiObject instances into the player’s PlayerGui folder manually.