How to change character size through gradual increments?

You can of course change the style and direction.

Right… so what do I put in the first parameter of :create? So far i’ve only seen tweens being used for parts, never for body parts. I couldn’t possibly reference the head, torso, both arms, both legs so what do i do?

I don’t think referencing the character as a whole would work either.

Yeah, that’s also what I’m a bit confused about. Unioning the body parts could work, but I don’t think that would work preferably.

I mean you did suggest using tweens xD.

Yeah lol, but I still don’t know what you mean by character. Is it a rig?

The character as in the player’s avatar, the character you control.

Ohh, I see. Using tweens would be a bit tricky in my opinion.

Try doing that. It won’t smoothly animate it like the tween service, but by increments of 2 like you wanted.

I am very busy right now, when I have more time I will help you better.

Go on ahead and do your thing, but it’ll be much appreciated if you actually come back and help.

1 Like

From the documentation of Humanoids there are number values parented under the humanoid which will automatically change the size of the humanoid the same as to what @Abroxus has said.

R15
Can be dynamically rescaled by using special NumberValue objects parented inside of the Humanoid.

  • The Humanoid will automatically create Vector3Value objects named OriginalSize inside of each limb.
  • If a NumberValue is parented inside of the Humanoid and is named one of the following, it will be used to control the scaling functionality:
    • BodyDepthScale
    • BodyHeightScale
    • BodyWidthScale
    • HeadScale

We can double confirm this by going into studio and looking at the number values when the humanoid spawns, then playing around with the values from the property editor and watch your character change form funnily.

Now, @Deathlios your homework is to tween these 4 number values, BodyDepth, BodyHeight, BodyWidth, HeadScale in order to gradually increase the character’s overall size uniformly.

1 Like

Ok, I have more time. I am writing from mobile, so I can‘t see if it works or not. But, you could try this:

At first create a TweenInfo Instance. You can choose what put in there, the IDE should say you what you need to put into. Else, read in the wiki the parameters. Basiclly, you just add some extra informations on how to play the tween animation, @NGC277 already gave you one.

So, you will make something like this:

local HeadGoal = {
    Value = HeadScale.Value*2
}
local Tween = TweenService:Create(HeadScale, TweenInfo, Goal)

You can‘t tween multiple instances at the same moment and you the Goal table is a dictionary with has as index properties and as keys the new value (no, I don‘t will explain what‘s a dictionary:

)
This means that, because you want to change the Value propertie, you write Value, then you write at right the new value. If this works, then congrats. Now you need to play the tween in order to see it actually, this can be done with the Play function:
Tween:Play()

Remove all settings linked in the character’s humanoid.
That’s the only way.
Also use a plugin to scale your NPC if not, you’ll destroy rigs after scaling your NPC.

1 Like

He wants to scale the humanoid in game, you can‘t use a plugin for this. I mean, you can‘t use a plugins in any games.

I have to create 4 individual tweens for those 4 values right?

Exactly. And here is an example of the TweenService:

 local TweenService = game:GetService("TweenService")
 local part = Instance.new("Part")
 part.Position = Vector3.new(0, 10, 0)
 part.Color = Color3.new(1, 0, 0)
 part.Anchored = true
 part.Parent = game.Workspace
 local goal = {}
 goal.Position = Vector3.new(10, 10, 0)
 goal.Color = Color3.new(0, 1, 0)
 local tweenInfo = TweenInfo.new(5)
 local tween = TweenService:Create(part, tweenInfo, goal)
 tween:Play()

What’s IDE? I’ll try this method.

I mean in the Roblox Studio because scaling a NPC can destroy rigs.

Basiclly, an IDE is the place where you code, so in this case you are coding in Roblox. This is your IDE. And if you are coding for enough time, you will see that when you are passing argumeters, you start to write the name of the variable and Roblox studio autocomplete it. It even shows the next argumeters to add in order to find the parameters.

I dont unersand anything: It helps you to write codes