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

How do I make someone look like another player?

I'm trying to make a script in which rather than loading your character appearance, you load another player's.

Here's my script.

game.Players.PlayerAdded:connect(
function(p)
	p.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=247535&placeId=0"
end
)

1 answer

✓ Accepted answer
game.Players.PlayerAdded:connect(function(p)
	repeat wait() until p.Character ~= nil
	repeat wait() until p.Character:FindFirstChild("Head")
	repeat wait() until p.Character:FindFirstChild("Torso") --Want to make sure the character is loaded enough.
	p.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=247535&placeId=0" --Change his looks.
	wait(1) --For some reason the player's character still wants to load so it should wait.
	p:LoadCharacter() --Player gets respawned.
end)

1 comment

0

Thanks, it works great.

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