How to make Korblox Leg back to Default

In my latest post, nobody help at all, I’m recreating the post and hopefully anyone helps.

local SettingsEvent = game.ReplicatedStorage.SettingsEvent

local PlayerLegs = {

}

SettingsEvent.OnServerEvent:Connect(function(player, SettingType, boolean)
	if SettingType == "Korblox" then
		local Humanoid = player.Character:FindFirstChild("Humanoid")	
		
		if boolean then
			local descriptionClone = Humanoid:GetAppliedDescription()
			PlayerLegs[player] = descriptionClone.RightLeg
			print(PlayerLegs)
			descriptionClone.RightLeg = 139607718
			Humanoid:ApplyDescription(descriptionClone)
		else
			if PlayerLegs[player] then
				local descriptionClone = Humanoid:GetAppliedDescription()
				descriptionClone.RightLeg = PlayerLegs[descriptionClone]
				Humanoid:ApplyDescription(PlayerLegs[player])
			end
		end
	elseif SettingType == "Headless" then
		local Head = player.Character:FindFirstChild("Head")
		
		if boolean then
			Head.Transparency = 1
			Head.face.Transparency = 1
		else
			Head.Transparency = 0
			Head.face.Transparency = 0
		end
	end
end)

I think korblox characters have a character mesh( Korblox Deathspeaker Right Leg), if you delete it it will give the player a normal left/right leg, (if u dont want to delete it u can store it somewhere else)

This is an example:

--Assuming you have the korblox character mesh defined
--[[Korblox Deathspeaker 
Left Leg or Korblox Deathspeaker Right Leg)]]
--do this if u wanna destroy:
player.Character:FindFirstChild("Korblox Deathspeaker Right Leg"):Destroy() --Korblox Deathspeaker Right Leg is a CharacterMesh
--do this if u wanna keep:
--assuming u have the Storage variable defined
player.Character:FindFirstChild("Korblox Deathspeaker Right Leg").Parent = Storage
--Why the storage variable is important? (To reverse!)
Storage.FindFirstChild("Korblox Deathspeaker Right Leg").Parent = player.Character

I figured it out, thanks to all who helped.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.