Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Loads the clothing and body colours onto the dummy; not the accessories?

Asked by
ExcelUp 24
5 years ago
Edited 5 years ago

I'm trying to make a script that loads a player's character appearance onto a blank dummy, called "Dummy", within the Workspace. When I run the script, it loads the clothing (shirts and pants), the body colours and the face of the player's character, but not the accessories of the player's character. The script is a server script, found in the ServerScriptService.

game:GetService("Players").PlayerAdded:Connect(function(Player)
    repeat wait() until Player.Character
    local HumanoidDescription = game:GetService("Players"):GetHumanoidDescriptionFromUserId(Player.UserId)
    game:GetService("Workspace").Dummy.Humanoid:ApplyDescription(HumanoidDescription)
end)

Answer this question