How do i make everyone see their own face and skincolor on a dummy?

Hello, i want to make it so that everyone sees their own face and skincolor on this dummy.

Is this possible?
Any help will be appreciated.

Yes it is possible. You will use a local script to do this.

Get the player’s character, get the head’s face and put it onto the dummy. Then loop through all the body parts except the humanoidrootpart. You’ll get the skin colour and you can set the dummy’s skin colour as the player’s skin tone colours.

Ive tried this but without succes. This is the script i tried:

while true do
	wait()
	for i, v in pairs(script.Parent:GetChildren()) do -- Looping through the dummy
		if v.Name ~= "HumanoidRootPart" then -- Rules out the HumanoidRootPart
			local plr = game.Players.LocalPlayer -- The player
			local char = plr.Character -- The Character
			if v:IsA("BasePart") then -- Checks if its a part
				if v.Name == "Head" then -- Checks name
					v.BrickColor = char.Head.BrickColor -- Sets new color
					v:FindFirstChildOfClass("Decal"):Destroy() -- Destroys old face
					local face = char.Head:FindFirstChildOfClass("Decal"):Clone() -- Gets new face
					face.Parent = v -- Setting parent of new face
					
				elseif v.Name == "Left Leg" then -- Checks name
					v.BrickColor = char["Left Leg"].Brickcolor -- Sets new color
				elseif v.Name == "Right Leg" then -- Checks name
					v.BrickColor = char["Right Leg"].Brickcolor -- Sets new color
				elseif v.Name == "Torso" then -- Checks name
					v.BrickColor = char.Torso.Brickcolor -- Sets new color
				elseif v.Name == "Left Arm" then -- Checks name
					v.BrickColor = char["Left Arm"].Brickcolor -- Sets new color
				elseif v.Name == "Right Arm" then -- Checks name
					v.BrickColor = char["Right Arm"].Brickcolor -- Sets new color
				end
			end
			
		end
	end
end

The script is parented to the dummy.

localscripts doesn’t work under workspace. Put it in StarterPlayerScript or StarterCharacterScript. Also change all script.Parents to game.Workspace.YourDummy. Of course, replace YourDummy with your dummy’s name.

This works. Thank you, i dont know if you can add 2 solutions but i would.

1 Like

Sadly you cannot but it’s fine.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.