I’m trying to make the player bigger, when the player spawns in they’re a bit too small for what I’m going for. I need to change the players scaling, but when I do nothing happens.
local Character = game.Players.LocalPlayer.Character
local Humanoid = Character:WaitForChild("Humanoid")
Humanoid:WaitForChild("BodyDepthScale").Value *= 2
Humanoid:WaitForChild("BodyHeightScale").Value *= 2
Humanoid:WaitForChild("BodyWidthScale").Value *= 2
Humanoid:WaitForChild("HeadScale").Value *= 2
Humanoid:WaitForChild("BodyProportionScale").Value *= 2
This is the code I used, I’m very new to coding and never used this before so I most likely did something wrong. Any help would be much appreciated. I’m trying to change the size of the character when they spawn into the game.
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAppearanceLoaded:Connect(function(Character)
local Humanoid = Character:WaitForChild("Humanoid")
for _, Scale in ipairs(Humanoid:GetChildren()) do
if Scale:IsA("NumberValue") then
Scale.Value *= 2
end
end
end)
end)