Hello, my HumanoidDescription won’t apply the appropriate torso, I always just load in with the default torso
local Players = game:GetService("Players")
local function onPlayerAdded(player)
repeat wait() until player:WaitForChild("AvatarConf")
repeat wait() until player:FindFirstChild("AvatarConf")
wait(0.5)
local humanoidDescription = Instance.new("HumanoidDescription")
humanoidDescription.HatAccessory = player.AvatarConf.Hat.Value
humanoidDescription.Face = player.AvatarConf.Face.Value
humanoidDescription.Shirt = player.AvatarConf.Shirt.Value
humanoidDescription.Pants = player.AvatarConf.Pant.Value
humanoidDescription.LeftLegColor = player.AvatarConf.LegsColor.Value
humanoidDescription.RightLegColor = player.AvatarConf.LegsColor.Value
humanoidDescription.TorsoColor = player.AvatarConf.TorsoColor.Value
humanoidDescription.RightArmColor = player.AvatarConf.ArmsColor.Value
humanoidDescription.LeftArmColor = player.AvatarConf.ArmsColor.Value
humanoidDescription.HeadColor = player.AvatarConf.HeadColor.Value
humanoidDescription.GraphicTShirt = player.AvatarConf.Tshirt.Value
humanoidDescription.Torso = player.AvatarConf.Torso.Value
humanoidDescription.LeftArm = player.AvatarConf.LeftArm.Value
humanoidDescription.RightArm = player.AvatarConf.RightArm.Value
humanoidDescription.LeftLeg = player.AvatarConf.LeftLeg.Value
humanoidDescription.RightLeg = player.AvatarConf.RightLeg.Value
humanoidDescription.Head = player.AvatarConf.Head.Value
player:LoadCharacterWithHumanoidDescription(humanoidDescription)
local function onCharacterAdded(Character)
Character:FindFirstChild('Humanoid').Died:Connect(function()
repeat wait() until player:WaitForChild("AvatarConf")
repeat wait() until player:FindFirstChild("AvatarConf")
local humanoidDescription = Instance.new("HumanoidDescription")
humanoidDescription.HatAccessory = player.AvatarConf.Hat.Value
humanoidDescription.Face = player.AvatarConf.Face.Value
humanoidDescription.Shirt = player.AvatarConf.Shirt.Value
humanoidDescription.Pants = player.AvatarConf.Pant.Value
humanoidDescription.LeftLegColor = player.AvatarConf.LegsColor.Value
humanoidDescription.RightLegColor = player.AvatarConf.LegsColor.Value
humanoidDescription.TorsoColor = player.AvatarConf.TorsoColor.Value
humanoidDescription.RightArmColor = player.AvatarConf.ArmsColor.Value
humanoidDescription.LeftArmColor = player.AvatarConf.ArmsColor.Value
humanoidDescription.HeadColor = player.AvatarConf.HeadColor.Value
humanoidDescription.GraphicTShirt = player.AvatarConf.Tshirt.Value
humanoidDescription.Torso = player.AvatarConf.Torso.Value
humanoidDescription.LeftArm = player.AvatarConf.LeftArm.Value
humanoidDescription.RightArm = player.AvatarConf.RightArm.Value
humanoidDescription.LeftLeg = player.AvatarConf.LeftLeg.Value
humanoidDescription.RightLeg = player.AvatarConf.RightLeg.Value
humanoidDescription.Head = player.AvatarConf.Head.Value
player:LoadCharacterWithHumanoidDescription(humanoidDescription)
end)
end
player.CharacterAdded:Connect(onCharacterAdded)
if player.Character then
onCharacterAdded(player.Character)
end
end
Players.PlayerAdded:Connect(onPlayerAdded)
for _, player in ipairs(Players:GetPlayers()) do
onPlayerAdded(player)
end
The heads, colors, hats, shirts, pants, and faces all work. It is just the Torsos that for some reason do not work. I have also tried replacing the “player.AvatarConf.Torso.Value” with a static ID and it still doesn’t do anything. I have no idea what is wrong and I would love help
NOTE: I am using R6 in my game