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

I cant figure out how to change a players size by script?

Asked by 5 years ago

Im trying but I cant figure it out

1game.Players.LocalPlayers.Character.Humanoid.HeadScale = #

isn't working for me what is it?

2 answers

Log in to vote
0
Answered by
Despayr 505 Moderation Voter
5 years ago

I had a similar problem. The R15 humanoid scaling didn't seem to load in. Try adding them to the humanoid directly

01game:GetService("Players").PlayerAdded:Connect(function(Plr)
02 
03    Plr.CharacterAdded:Connect(function(Char)
04        local Humanoid = Char:FindFirstChildOfClass("Humanoid")
05 
06        local HeadScale = Instance.new("NumberValue")
07        HeadScale.Value = 1
08 
09        local BodyHeightScale = HeadScale:Clone()
10        local BodyWidthScale = HeadScale:Clone()
11        local BodyDepthScale = HeadScale:Clone()
12 
13        HeadScale.Name = "HeadScale"
14        BodyHeightScale.Name = "BodyHeightScale"
15        BodyWidthScale.Name = "BodyWidthScale"
View all 24 lines...
Ad
Log in to vote
0
Answered by 5 years ago

The values must be there for the model to exist. you are simply missing the Value parameter.

1game.Players.LocalPlayers.Character.Humanoid.HeadScale.Value = #

Answer this question