PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

UnequipTools

This function unequips any Tool currently equipped by the Humanoid

The unequipped Tool will be parented to the Backpack of the Player associated with the Humanoid.

If no Tool is equipped, this function will do nothing.

Although Tool|Tools can be equipped by NPCs (Non Player Characters), this function only works on Humanoid|Humanoids with a corresponding Player. This is because a Backpack object is required to parent the unequipped Tool to.

See also

  • To instead equip a Tool, use Humanoid/EquipTool

Returns

Return Type Summary

No return


Code Samples


Unequip Tool Keybind

The following sample will bind the U key to unequip any Tool|Tools the Player currently has equipped.

To use this sample, place it inside a LocalScript within StarterPlayerScripts|StarterPlayer.StarterPlayerScripts.