Players Accessories gets bugged when i apply humanoid description

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

Questions:

  • Is this a LocalScript or Server Script?

  • Where is this script located?

  • Can you show a Video (perferably mp4)

because after testing it, there doesnt appear to be any issues

its a server script in serverscriptservice and yes i can show send a video

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

Strange,

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.

hmmm maybe its the custom character that has to do something? like let me show u how it is


i mean its a simple dummy but it has a ball in the right leg

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