How do you increase the size of a player?
Hello,
I have asked this question before. However, I removed it due to not getting an answer.
Context: - I am trying to make a !size character amount command for a roblox game of mine.
Problem: - I cannot make the character increase in size for R6 characters, only R15 characters.
Current code: - This is the code I am currently using to scale R15 characters successfully:
1 | hum:WaitForChild( "BodyHeightScale" ).Value = tonumber (amount) |
2 | hum:WaitForChild( "BodyDepthScale" ).Value = tonumber (amount) |
3 | hum:WaitForChild( "BodyWidthScale" ).Value = tonumber (amount) |
4 | hum:WaitForChild( "HeadScale" ).Value = tonumber (amount) |
Attempted solution: - I thought, after finding HumanoidDescription, that I could use it to scale the player. This is my code:
2 | local descriptionClone = hum:GetAppliedDescription() |
3 | descriptionClone.HeightScale = tonumber (amount) |
4 | hum:ApplyDescription(descriptionClone) |
This code produces no increase in height, or scale. It doesn't produce an error in the console either.
Any advice or solutions would be appreciated.
Tweakified