I’ve noticed that when I update the scale properties (DepthScale, HeadScale, HeightScale, and WidthScale) of HumanoidDescription or the NumberValue (BodyDepthScale, BodyHeightScale, BodyWidthScale, and HeadScale) to values greater than 5 (500%) the layered clothing disappears.
I used this script on StarterCharacterScripts
to reproduce this issue.
task.wait(3)
local humanoid = script.Parent:FindFirstChildOfClass("Humanoid")
-- Updating the scale on HumanoidDescription
local humanoidDescription = humanoid:GetAppliedDescription()
humanoidDescription.DepthScale *= 10
humanoidDescription.HeadScale *= 10
humanoidDescription.HeightScale *= 10
humanoidDescription.WidthScale *= 10
humanoid:ApplyDescription(humanoidDescription) -- Increase the scale
task.wait(3)
humanoidDescription.DepthScale /= 10
humanoidDescription.HeadScale /= 10
humanoidDescription.HeightScale /= 10
humanoidDescription.WidthScale /= 10
humanoid:ApplyDescription(humanoidDescription) -- Revert the scale after 3 seconds
task.wait(3)
-- Updating the scale on NumberValue
-- Increase the scale
humanoid.BodyDepthScale.Value *= 10
humanoid.BodyHeightScale.Value *= 10
humanoid.BodyWidthScale.Value *= 10
humanoid.HeadScale.Value *= 10
task.wait(3)
-- Revert the scale after 3 seconds
humanoid.BodyDepthScale.Value /= 10
humanoid.BodyHeightScale.Value /= 10
humanoid.BodyWidthScale.Value /= 10
humanoid.HeadScale.Value /= 10
Place:
System: 11th Gen Intel(R) Core™ i7-11700K @ 3.60GHz | NVIDIA GeForce RTX 3060 Ti.
Expected behavior
I expected the layered clothing doesn’t disappear after scaling the character.