How do I make a Npc that can load the player's avatar?

I will soon begin making cutscenes in some of my games. Some of these cutscenes involves the player’s avatar. What I am trying to achieve is to make an R6 dummy become the avatar of the current player. I’ve tried looking for solutions on the Forum and in the toolbox, but this issue is too specific.

An Example of what I want to achieve

This is what the Npc will look like when it is not loaded as an avatar:
NPC

Let’s say this player joins: (This will be in a 1 player server.)
Player

The Npc will look the same as that player.

1 Like

you can apply the Humanoid Description of the player into the dummy

local Players = game:GetService("Players")

local Dummy = game -- path of the dummy

Players.PlayerAdded:Connect(function(Player)
	local Character = Player.CharacterAdded:Wait()
	local Desc = Character:WaitForChild("Humanoid"):GetAppliedDescription()
	
	Dummy.Humanoid:RemoveAccessories()
	
	for _, Object in pairs(Dummy:GetChildren()) do
		if Object:IsA("Clothing") then
			Object:Destroy()
		end
	end
	
	Dummy.Humanoid:ApplyDescription(Desc)
end)

I believe clothings and accessories would stay after putting a desc on a character and applying a desc again would duplicate the character’s clothes and accessories so clothings and accessories would need to be destroyed after applying a desc

1 Like

I have it set up like this, but it won’t work, is there anything wrong here?
Workspace