How to reset a player's leg back to default?

I have a script in my vibe game that lets you equip/unequip Headless and Korblox. Headless works fine. Turning on Korblox works fine. The problem is, I can’t figure out how to turn the player’s leg back to default. I have tried using the default Roblox leg but that doesn’t work on some avatars that use different legs.

game.ReplicatedStorage.HK.OnServerEvent:Connect(function(plr,hk,put)
---------------------------HEADLESS-------------------------
	local char = plr.Character
	if hk == "Headless" then
		if put == true then
			char.Head.Transparency = 1
			char.Head.face.Transparency = 1
		else
			char.Head.Transparency = 0
			char.Head.face.Transparency = 0
		end
-------------------------KORBLOX LEG------------------------
	elseif hk == "Korblox" then
		if put == true then
			local Humanoid = char:WaitForChild("Humanoid")
			local Desc = Humanoid:GetAppliedDescription()
			Desc.RightLeg = 139607718 -- KorbloxLeg
			Humanoid:ApplyDescription(Desc)
			end
		else
			--trying to figure out what to do here
		end
	end
)

Any help is appreciated. Thanks!

Store the old leg’s ID as an attribute onto the description’s humanoid

local oldRightLeg = description.RightLeg
human:SetAttribute("OriginalRightLeg", oldRightLeg)

Then you can just read the attribute to set it back later

description.RightLeg = human:GetAttribute("OriginalRightLeg")

For some reason, description.RightLeg has the value 0 when I print it. oldLeg has no proper value, giving me the error ServerScriptService.HK:24: attempt to index nil with 'GetAttribute'
This is my new code:

	elseif hk == "Korblox" then
		local Humanoid
		local Desc
		if put == true then
			Humanoid = char:WaitForChild("Humanoid")
			Desc = Humanoid:GetAppliedDescription()
			local oldLeg = Desc.RightLeg
			Humanoid:SetAttribute("OriginalRightLeg",oldLeg)
			Desc.RightLeg = 139607718 -- KorbloxLeg
			Humanoid:ApplyDescription(Desc)
		else
			Desc.RightLeg = Humanoid:GetAttribute("OriginalRightLeg")--this is line 24
		end
	end
end)