hello, i have a question,
is it normal that when the players join the game, their accessories gets bugged, like they arent where it should be, cause of Humanoid Description Applied?
here is the server script that i did:
game.Players.PlayerAdded:Connect(function(plr)
local hum_desc = game.Players:GetHumanoidDescriptionFromUserId(plr.UserId)
local hum = plr.Character.Humanoid
if hum_desc and hum then
hum:ApplyDescription(hum_desc)
end
end)
i did this because i have a custom character for my game and so it could get the humanoid description of the players
If all you want to change is the proportions or other specific properties, then make a new HumanoidDescription and add your desired properties into that new instance.
For example:
new_desc.BodyTypeScale = hum_desc.BodyTypeScale
Then you can apply that to the humanoid.
You can also make a table full of the property names you want to replicate, and then loop through all the members of hum_desc, and then copying the member over to the new_desc if it exists in the table.
Example:
local props_to_replicate = {"BodyTypeScale","DepthScale","HeadScale","HeightScale"}
-- ...
-- ...
for prop_name,prop_value in hum_desc do
if table.find(props_to_replicate, prop_name) then
new_desc[prop_name] = prop_value
end
end
I have been testing and i have no issues whatsoever,
Could be the accessories you are wearing, in that case you may have to create welds or set the position of Said Accessory.