Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to emulate the effects of BodyHeightScale on NPCs?

I was working on a Character Creation system that displayed a TestDummy on screen, and when the player was done customizing the TestDummy, it would apply their customizations to their character. One of the customization options is Height and Width, which both change BodyHeightScale and BodyWidthScale respectively;

When the script was run however, it errored saying that the scales don't exist. So I thought to myself, hey, maybe it just isn't creating the values since its an NPC; So I created NumberValues and renamed them just in case it just wasnt creating the scale values, but it still didn't do anything.

This (basically) means that I need a way to emulate the effects of BodyScale without actually using BodyScale, or find a way to get BodyScale to work on a NPC.

Any ideas? (feel free to ask for more info if I didnt clarify enough)

11 comments

0

NOTE: The TestDummy I was talking about is not the character, in case it wasn't obvious enough. It is a Dummy that shows up on screen that you can customize, and when you're done, it will copy all of the customization values and store them in your data folder for use on another server.

0

You should supply your scripts

0

what did you name the numbervalues since they need to be called the scale name

0
0

I named the NumberValues "BodyHeightScale", "BodyWidthScale", "BodyDepthScale" and "BodyHeadScale".

0

Maybe I just didn't do it right? I'll go back and take a look at the scripts I made.

0

are the characters R15

0

Also yes.

0

then you probably misspelled something or added a space before you typed the name

0

The head scale is just called "HeadScale", not "BodyHeadScale".

0

Try copying your character into the Workspace (go in test, select your character in the Explorer tab, copy, exit text, paste), then copy the scripts (animation scripts in all, I am not in studio now, and not for another week or so), as well as the Humanoid and its children

1 answer

Well personally I would recommend 1: getting a plugin to load in a players character 2: loading in game copy your character and paste it into workspace when you are out of run mode then just copy the humanoid of the character and replace it with the testdummy humanoid that worked for me Hope it helps

This discussion is preserved as it was. New answers, comments, and votes are closed.