Menu Character Help

I want to make a main menu similar to this


But I don’t understand how the character works like I am assuming the character just is nil or something when the person isn’t in the menu but I tried disable CharacterAutoLoads in players and ui doesn’t load. Only solution I got right now is putting the characters in a box that isnt visible from the map.

Does anyone have any solutions other than the one I got right now?

1 Like

Maybe this can help How do I go about loading GUIs without the player's character?

I don’t understand their solution at all. Can you explain it?

Everything in StarterGui gets cloned into PlayerGui when CharacterAdded is fired.

A pretty simple workaround is to put the code in StarterPlayerScripts and parent the GUI to PlayerGui.

gui.Parent = localPlayer:WaitForChild("PlayerGui")
1 Like

How do I remove the player’s character once I want him to go back to the menu? I made it so the menu is visible but I can’t do player.Character:Destroy()

1 Like

You need to change the character’s parent.

local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

character.Parent = nil			-- hide
character.Parent = workspace 	-- show
1 Like

This seems to be now using RemoteEvent to do that

1 Like

That works thank you.

this is the second time you helped me with a major part of my game lol

hold up why do no parts load when player did not load yet?
how do i fix this?

Set Player.ReplicationFocus to workspace in server-script when playeradded is fired

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.