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!