I’ve tried searching for information on this property and the best I could find was this topic which I didn’t find all that informative/clear. I may have a need to change this setting and I’d like to know what the potential problems might be if its disabled.
It just toggles between if code can change a humanoids body proportions, like it says in the topic you linked yourself. What else don’t you understand?
So I tested this.
From Server Script:
Enabled, Can change body part size, replicates to client
Disabled, Can change body part size, replicates to client
From Local Script:
Enabled, Can change body part size, does not replicate to server
Disabled, Can change body part size, does not replicate to server.
Either way enabled/disabled it doesn’t seem to do anything different.
local players = game:GetService("Players")
players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if not player:HasAppearanceLoaded() then
player.CharacterAppearanceLoaded:Wait()
end
local humanoid = character:WaitForChild("Humanoid")
humanoid.AutomaticScalingEnabled = false
for _, valueInstance in ipairs(humanoid:GetChildren()) do
if valueInstance:IsA("NumberValue") then
valueInstance.Value *= 2
end
end
end)
end)
local players = game:GetService("Players")
players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if not player:HasAppearanceLoaded() then
player.CharacterAppearanceLoaded:Wait()
end
local humanoid = character:WaitForChild("Humanoid")
for _, valueInstance in ipairs(humanoid:GetChildren()) do
if valueInstance:IsA("NumberValue") then
valueInstance.Value *= 2
end
end
end)
end)
Run both snippets of code and you’ll see the difference.
The former essentially prevents the humanoid from being scaled.