How I can make a NPC copy the local player avatar

Hello there, I would like how I can make a NPC copies the avatar without resetting the bodyparts position

local players = game:GetService("Players")
local npc = game.Workspace.Dummy.Humanoid

players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(chr)
		npc:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(plr.UserId))
		for i, a in pairs(npc.Parent:GetChildren()) do
			if a:IsA("CharacterMesh") then
				a:Destroy()
			end
		end
	end)
end)

I used this script, it works but as I said before, it resets bodyparts position

2 Likes

If you want your character stay in a certain position, use animations instead.

2 Likes