Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do you increase the size of a player?

Asked by 5 years ago

Hello,

I have asked this question before. However, I removed it due to not getting an answer.

Context: - I am trying to make a !size character amount command for a roblox game of mine.

Problem: - I cannot make the character increase in size for R6 characters, only R15 characters.

Current code: - This is the code I am currently using to scale R15 characters successfully:

1hum:WaitForChild("BodyHeightScale").Value = tonumber(amount)
2hum:WaitForChild("BodyDepthScale").Value = tonumber(amount)
3hum:WaitForChild("BodyWidthScale").Value = tonumber(amount)
4hum:WaitForChild("HeadScale").Value = tonumber(amount)

Attempted solution: - I thought, after finding HumanoidDescription, that I could use it to scale the player. This is my code:

1if hum then
2    local descriptionClone = hum:GetAppliedDescription()
3    descriptionClone.HeightScale = tonumber(amount)
4    hum:ApplyDescription(descriptionClone)
5end

This code produces no increase in height, or scale. It doesn't produce an error in the console either.

Any advice or solutions would be appreciated.

Tweakified

0
Can we also see the entire script if it isn't too long? BennyBoiOriginal 293 — 5y
0
That R15 OnaKat 444 — 5y

1 answer

Log in to vote
-1
Answered by
OnaKat 444 Moderation Voter
5 years ago

This is not my script.

I get this script from youtube.

Link

Video

Game = Void script builder

01function giant(p, size)
02    local pchar = p.Character
03    if pchar then
04        local function scale(chr,scl)
05 
06            for _,v in pairs(pchar:GetChildren()) do
07                if v:IsA("Hat") then
08                    v:Clone()
09                    v.Parent = game.Lighting
10                end
11            end
12 
13            local Head = chr['Head']
14            local Torso = chr['Torso']
15            local LA = chr['Left Arm']
View all 97 lines...

Change size at line 96

Don't forgot the player character at line 92

0
Don't post scripts that you didn't make. Seriously. The producer of the script could always be wrong. DeceptiveCaster 3761 — 5y
0
Although I would have to agree with Whiz, this script works. The only annoying thing is that it doesn't scale the hats. Any ideas? Tweakified 117 — 5y
Ad

Answer this question