How to change character size through gradual increments?

How to increase character size gradually as opposed to immediately making them super big?

The HumanoidDescription has 4 properties which can make you adjust the character’s size, these are:

BodyDepthScale
BodyHeightScale
BodyWidthScale
HeadScale

1 Like

I don’t understand, could you please elaborate it?

You can tween these 4 properties with the tween service. There are plenties of tutorials how to use the tween service. Just tween these values to higher values to make the player bigger or to smaller values to make the player smaller

I know that, I’m asking how to change it GRADUALLY lol.

He wants to make the character gradually bigger, this means that with the time it gets bigger.

So for example, instead of changing the character size to say 10 right away, I wanna do it by increments of 2.

I’m pretty sure you can do that with the tween service.

1 Like

Can you provide an example code?

You would just need to do a while loop and for every loop it goes through add 2 to the NumberValue.

Cough cough

Cough cough
Did you really read?

Then you could do it by changing the size to 2, then adding a wait command, then 4, then a wait command and so on.

No, this is against the rules. You have to do it youself. You can read the wiki for an example. And there are plenties of tutorials. We said what you need to do, you have to search for the rest. Try to create some code, and if it dosen‘t work then ask us again.

The Wiki:
https://developer.roblox.com/en-us/api-reference/class/TweenService

A tutorial from AlvinBlox:

Write your own code with what you know. If you encounter any problems, you can come back here.

Fam I typed that whilst you were still writing your reply.

1 Like

Np, this happens to me too… Hope the tutorials helps. What you need to do is to change the values of these Numbervalues. So, just follow the tutorials and the tween service will do the rest for you.

Also, what do you mean by character?

For the first parameter of :Create, do I need to reference the player’s character and if so how?

Sizeincrease.OnServerEvent:Connect(function(Player)
	local Humanoid = Player.Character.Humanoid
	if Humanoid then
		local HeadScale = Humanoid.HeadScale
		local BodyDepthScale = Humanoid.BodyDepthScale
		local BodyWidthScale = Humanoid.BodyWidthScale
		local BodyHeightScale = Humanoid.BodyHeightScale
		local Info = TweenInfo.new(5)
		local Goal ={
			HeadScale.Value = HeadScale.Value * 2
			BodyDepthScale.Value = BodyDepthScale.Value * 2
			BodyWidthScale.Value = BodyWidthScale.Value * 2
			BodyHeightScale.Value = BodyHeightScale.Value * 2
		}
		local Tween = TweenService:Create()
		
	end
end)

Here’s my code, I’m not sure what to put in the first parameter of :Create.

I see. Also, you didn’t specify the EasingStyle and EasingDirection in the TweenInfo.

local TweenInfo = TweenInfo.new(5, Enum.EasingStyle.Linear, Enum.EasingDirection.In)