I have a script to change the size of the player whenever the tool is activated, but it doesn’t seem to work, and there’s no error messages. Anyone know how to fix?
script.Parent.Activated:Connect(function()
local char = script.Parent.Parent
local humanoid = char.Humanoid
local description = humanoid.HumanoidDescription
description.DepthScale = description.DepthScale * 1.1
description.HeadScale = description.HeadScale * 1.1
description.HeightScale = description.HeightScale * 1.1
description.WidthScale = description.WidthScale * 1.1
end)
1 Like
GenXMyth
(GenXMyth)
March 18, 2024, 10:17pm
#2
Those values are under Humanoid. Not HumanoidDescription
Still not working. It says, "DepthScale is not a valid member of Humanoid “Workspace.Undercpver.Humanoid”
Same error still. Also, for me it just looks like this:
GenXMyth
(GenXMyth)
March 18, 2024, 10:30pm
#8
Oh its R6 character,
I don’t know how to do anything with R6
Ohhhh, I didn’t realize it was R6. I switched it to R15 and it works now, thanks!
GenXMyth
(GenXMyth)
March 18, 2024, 10:34pm
#10
Yeah I just looked up R6. Looks a little more tricky. But for future reference this might help:
https://devforum.roblox.com/t/how-do-i-re-scale-a-character-to-make-them-shorter-r6/1896412
system
(system)
Closed
April 1, 2024, 10:34pm
#11
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.