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

Resizing Players using Vector3?

Is it possible to use Vector3 to resize a player? since resizing players using Vector3 does not work I tried this which is just a normal script in the workspace but when I play in studio nothing happens to my character

function PlayerSize(player)
	local SizeValue = 10
	
	local humanoid = player.Character.Humanoid
	if humanoid then
		if humanoid:FindFirstChild("BodyHeightScale") then
			humanoid.BodyHeightScale.Value = SizeValue
		end
	end
end

2 comments

0

You're calling the function at some point, correct?

0

it works now I had forgot to call it but I have decided to use the function you provided

1 answer

There's no easy way to resize R6 players, especially with only Vector3 (only vector3 doesn't work.)

However, there's a module that ROBLOX created for resizing characters that you can find here

Or, an even easier way for R15 characters, by using this function.

function ResizeCharacter(character,increment)
	if character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
		for _, scale in pairs(character.Humanoid:GetChildren()) do
			if scale.ClassName == "NumberValue" then
            	scale.Value = scale.Value + increment
			end
		end
	end
end

3 comments

0

Would I also be able to resize characters by BodyDepthScale, BodyHeightScale, BodyWidthScale, and HeadScale? or was this removed from roblox?

0

Yes that is what the function is doing.

0

I tried calling your function and it works but for some reason the legs get really long any thought as to why the body gets out of proportion

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