Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i make a dummy's character appearence the player?

I'm interested in making a game where you must use a voodoo doll of yourself to get past stages but I seriously do not know how to make a dummy look like the player.

2 answers

-- Services

local Players = game:GetService('Players') -- Gains access to the Players Service

-- Variables

local Dummy = workspace.Dummy -- This is the Dummy that we are going to replicate the Appearance to

-- Appearance Loading

local UserId = 157793271 -- The UserId of the player we want to mock this can be obtained through Player.UserId
local AppearanceData = Players:GetCharacterAppearanceAsync(UserId) -- This function Returns a Model with the Player's Appearance

-- Since the entire outfit of the character is stored in a Model, we have to get the Children of the Model, and put it inside of the Dummy
local Children = AppearanceData:GetChildren()
for Index = 1, #Children do
	Children[Index].Parent = Dummy
end

1 comment

0

hope this helps

This discussion is preserved as it was. New answers, comments, and votes are closed.