Im trying to make a R6 character smaller, without a script.
How would I do this?
Im trying to make a R6 character smaller, without a script.
How would I do this?
Is there an alternate way for me to do this without getting a model or using a script?
Could you give me a version with comments so I can understand more of what certain aspects of the script does?
local players = game:GetService("Players")
local characterScale = 1.25 --Scale multiplier.
local function onPlayerAdded(player)
local function onCharacterAdded(character)
if not player:HasAppearanceLoaded() then
player.CharacterAppearanceLoaded:Wait() --Wait for character's appearance to load.
end
local humanoid = character.Humanoid
humanoid.HipHeight *= characterScale --Increase humanoid's hip height by 25%.
for _, child in ipairs(character:GetChildren()) do --Iterate over the character's children.
if child:IsA("BasePart") then --Check if child is part instance.
child.Size = Vector3.new(child.Size.X, child.Size.Y * characterScale, child.Size.Z) --Increase child's height by 25%.
if child.Name == "Head" then --Check if child is the 'Head' limb.
child.Mesh.Scale = Vector3.new(child.Mesh.Scale.X, child.Mesh.Scale.Y * characterScale, child.Mesh.Scale.Z) --Increase head's mesh's height by 25%.
end
end
end
end
player.CharacterAdded:Connect(onCharacterAdded)
end
players.PlayerAdded:Connect(onPlayerAdded)
Scales outside the range of 0.75 - 1.5 may cause the character to become too distorted.