-
What do you want to achieve? I want to be able to scale a locally made NPC using a LocalScript.
-
What is the issue? The NPC doesn’t seem to change size unless it’s in a server script which defeats the point as it’s a character customisation screen using an NPC.
-
What solutions have you tried so far? I’ve looked at several posts regarding npc scaling but none of them seem to be related to a local NPC.
Below is an example of a script I’m currently using:
local humanoid = game.Workspace.ModelOfPlayer:FindFirstChild("Humanoid")
local bodyHeightScale = humanoid.BodyHeightScale
bodyHeightScale.Value = height.Height
local bodyWidthScale = humanoid.BodyWidthScale
local bodyDepthScale = humanoid.BodyDepthScale
local bodyHeadScale = humanoid.HeadScale
bodyWidthScale.Value = weight.Width
bodyDepthScale.Value = weight.Depth
bodyHeadScale.Value = weight.Head
The ModelOfPlayer is made using a localscript and the script above is also in a localscript.