I’m assuming you are using R15, so I suggest using the Number Values under Humanoid to resize the Player’s body.
local uc = game:GetService("ReplicatedStorage").events.updateChar
uc.OnServerEvent:Connect(function(plr)
plr.leaderstats.Weight.Value = plr.leaderstats.Weight.Value + 1
local hum = plr.Character.Humanoid
for _,v in pairs(hum:GetChildren()) do
if v:IsA("NumberValue") then
v.Value = v.Value + 1
end
end)
If you have any errors, I probably did a typo, but please reply back what error you got so I can help you fix this! If this worked, please mark this answer as the solution!
As well as @m3o0n’s solution, if for whatever reason you wish to continue using the HumanoidDescription System, it can still used for changing a Character’s scale(s).
Try this I often use () the least in If statements lead to errors:
``
local uc = game:GetService(“ReplicatedStorage”).events.updateChar
uc.OnServerEvent:Connect(function(plr)
plr.leaderstats.Weight.Value = plr.leaderstats.Weight.Value + 1
local hum = plr.Character.Humanoid
if hum then
local dc = hum:GetAppliedDescription()
dc.HeightScale = dc.HeightScale+1
dc.WidthScale = dc.WidthScale+1
dc.DepthScale = dc.DepthScale+1
dc.HeadScale = dc.HeadScale+1
hum:ApplyDescription(dc)