How can I transfer the player's appearance to a Dummy using TextBox


I wanted to move the player’s appearance to the R15 Dummy. I saw a forum that has the same topic that I have I did what the solution said but it didn’t work as I expected.

here is my script:

	if enter then
		local appearanceModel = Players:GetCharacterAppearanceAsync(userIdTextBox.Text)
		appearanceModel.Parent = r6 --originally it was r6 i switched to r15 cuz i noticed the appearanceModel's children are for r15



Also while I was taking the screenshots above I notice an error appeared. I don’t know what is it.

thanks in advanced

Workspace.MeshPartHeadsAndAccessories is unscriptable, notice the warning you got.
I think this might be caused by the Dummy’s model not being the same as they use right now, as if I am right roblox’s character spawner is outdated.
As they use a mesh for the head instead of a mesh part.

Note I am assuming this as I am unable to see if you do or do not have a meshpart as the head of the player.

If you want to transfer the player’s appearance then I suggest looking into HumanoidDescriptions though.
First you create the HumanoidDescription then you apply it to the humanoid Humanoid:ApplyDescription.

There are 4 ways to get someone’s humanoid description.

  1. UserId – Just any player’s userId
  2. OutfitId – this is basically player’s characters (you can find these at > Costumes > My Costumes
  3. With a description – Basically what you script yourself
  4. From any in game character – Any online players within your game

The player’s HumanoidDescription and apply it to the Dummy? I’m new with this

Check out the section on HumanoidDescription instances, might help you.

I still don’t understand I thought of a solution by getting players UserId through the textbox and somehow getting its HumanoidDescription and applying it to the dummy but I don’t know how to script it

humanoid description can do the trick!