Where to put player in main menu?

Sorry Im not sure if this is the right category but; I’m making a main menu and I dont want the players to be in game yet so how would I do that exactly?

4 Likes

If I am reading this right, you basically don’t want player to spawn yet when they join the game. If this is so, it’s simple you just turn off CharacterAutoLoads under players.

Oh wow seriously dang, but how would I make them load back tho when I want them to spawn

@WeeniesWrath Also when I do that the UI doesnt show up either

1 Like

command is

player:LoadCharacter()

But the main menu wont load if I use CharacterAutoLoads

1 Like

You mean ScreenGui? Ah yes, it wont load, i have no idea how to force it to load…

1 Like

StarterGUI and PlayerGUI are bound to the character, when the character respawns old UI is destroyed and new ones from other sources are put in. If the character doesn’t spawn, StarterGui is basically useless.

If I understand what u mean, just place the ui in ReplicatedStorage. The reason is simple, if u want to display it to the player once and only once, u can clone it from a server script or use a remote event to clone it and place it in players playergui

1 Like

Alright now thats what im talkin about using that big brain @candy666786

Thanks ill get back to you with progress

You could also just keep character auto loads on, and when they first join, teleport them to a place far from the map. When they are done on the main menu, teleport them back.

1 Like

Thats true I could actually do this but I want it to be very clean

You should make a player “Cage” for people who aren’t in the game yet. Then once they press play it TPs them to the player spawn point. I use this technique in most of my games.

Yes u can do that, also u can create a model in the workspace which is named as “Menu” or something, that will distinguish them from the players actually playing

@candy666786

Thank you so much its sooooo cleannn

Marked you as my solution!

1 Like

@IProgramForFun
I finished the fanart you asked for last week!

1 Like

Looks great I love it!

A bit smudged tho

I will fix that and be right back!

You can disable GUI respawning on a Character respawn, not sure if that would actually add the StarterGUI’s to the PlayerGUI however.

No, youd have to clone it into the players PlayerGui via a remote or player added event on the server

1 Like

Fixed the smudge!