How to make a custom main menu for each player

How do I make a custom main menu for each player so it will upload the user’s character ?

3 Likes

here something

  1. for the character clone the charcter then position it and play the animation (if there is an animation)

2.for the name just:

TextLabel.Text = "Hello, " .. LocalPlayer.Name .. "!"

hope this helps!

1 Like

if there is something else let me know! :grin:

1 Like

Hey! Thank you but I was talking about the avatar not the user’s name haha

1 Like

i even said it :expressionless:

1 Like

Sorry, I don’t actually understand what you mean

1 Like

get the local player character and clone it then use PivotTo

and i forgot to say give a parent to the clone

1 Like

if you done it please reply to let know

1 Like

I think this might be a good example based on what @matolol2011 was saying, for cloning the player character:

local char = game.Players.LocalPlayer.Character:Clone()
char.Parent = workspace // or whatever is the base of your main menu
char.Position = workspace.ExamplePart.Position // again, or whatever is the object you have for your model in your screenshot.
1 Like

you are kinda right even you BUT you can’t use char.Position instead use char:PivotTo("position/cframe") -- i don't remember is is position or cframe

1 Like

Hello! Thank you but it sadly didn’t work.
I don’t know if I forgot something.

1 Like

can you share the script so i can see what you have done?

and last: is localScript or Script ?

1 Like

This is what I did, I used a LocalScript

1 Like

Try checking if the character has been added. Example:

local plr = game.Players.LocalPlayer
local character = plr.Character or plr.CharacterAdded:Wait()
local new_char = character:Clone()

new_char:FindFirstChild("HumanoidRootPart").Position = workspace.CLONING.Position

That should work.

1 Like

that can work but you can use:

local char:Model = game.Players.LocalPlayer.Character:Clone()
char.Parent = workspace // or whatever is the base of your main menu
char:PivotTo(workspace.MainMenuCharPosition.CFrame) -- in the PivotTo call the part for the player clonePosition folder/workspace

and last: to see bugs from scripts go to the view tab and open output ( i said it because i think you are new )

1 Like