How do i scale a R6 character

I wanted to make R6 characters small with humanoid description but its working with R15 only

You can use this snippet that is from adonis. (?)

local Percentage = 0.8
	if Player then
		if Character ~= Player.Character then return end -- Unnecessary unless you want this code to run when character dies.
		local Motors = {}
		local NewMotors = {}
		for i,v in pairs(Player.Character.Torso:GetChildren()) do
			if v:IsA("Motor6D") then
				table.insert(Motors, v)
			end
		end
		table.insert(Motors, Player.Character.HumanoidRootPart.RootJoint)
		for i,v in pairs(Motors) do
			local X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22 = v.C0:components()
			X = X * Percentage
			Y = Y * Percentage
			Z = Z * Percentage
			R00 = R00 * Percentage
			R01 = R01 * Percentage
			R02 = R02 * Percentage
			R10 = R10 * Percentage
			R11 = R11 * Percentage
			R12 = R12 * Percentage
			R20 = R20 * Percentage
			R21 = R21 * Percentage
			R22 = R22 * Percentage
			v.C0 = CFrame.new(X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22)
			local X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22 = v.C1:components()
			X = X * Percentage
			Y = Y * Percentage
			Z = Z * Percentage
			R00 = R00 * Percentage
			R01 = R01 * Percentage
			R02 = R02 * Percentage
			R10 = R10 * Percentage
			R11 = R11 * Percentage
			R12 = R12 * Percentage
			R20 = R20 * Percentage
			R21 = R21 * Percentage
			R22 = R22 * Percentage
			v.C1 = CFrame.new(X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22)
			table.insert(NewMotors, {v:Clone(), v.Parent})
			v:Destroy()
		end
		for i,v in pairs(Player.Character:GetDescendants()) do
			if v:IsA("BasePart") then
				v.Size = v.Size * Percentage
			elseif v:IsA("SpecialMesh") and v.MeshType == Enum.MeshType.FileMesh then
				v.Scale = v.Scale * Percentage
			elseif v:IsA("Weld") and v.Name == "AccessoryWeld" then
				local X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22 = v.C0:components()
				X = X * Percentage
				Y = Y * Percentage
				Z = Z * Percentage
				R00 = R00 * Percentage
				R01 = R01 * Percentage
				R02 = R02 * Percentage
				R10 = R10 * Percentage
				R11 = R11 * Percentage
				R12 = R12 * Percentage
				R20 = R20 * Percentage
				R21 = R21 * Percentage
				R22 = R22 * Percentage
				v.C0 = CFrame.new(X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22)
				local X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22 = v.C1:components()
				X = X * Percentage
				Y = Y * Percentage
				Z = Z * Percentage
				R00 = R00 * Percentage
				R01 = R01 * Percentage
				R02 = R02 * Percentage
				R10 = R10 * Percentage
				R11 = R11 * Percentage
				R12 = R12 * Percentage
				R20 = R20 * Percentage
				R21 = R21 * Percentage
				R22 = R22 * Percentage
				v.C1 = CFrame.new(X, Y, Z, R00, R01, R02, R10, R11, R12, R20, R21, R22)
			end
		end
		for i,v in pairs(NewMotors) do
			v[1].Parent = v[2]
		end
	end

Keep in mind that it changes the character weight meaning the lighter they are the faster they are in terms of physics (like velocity) and vice versa for heavier characters.

its working but need to make accisories resizing as well

ooop. my mistake.
the script was run when the accessories were not loaded yet
(Nvm i need tweenservice)