Force Player to deselect tool?

Hi, I’m trying to add a part into my script which forcibly deselects the tool being held by the player.
I am not trying to delete the tool from their inventory. If someone could point me in the right direction I would be very grateful.

Here is the relevant bit of my script:

if plr.Team == Team[“Placeholder”] then
– deselect tool here
plr:LoadCharacter()

If you store the tool inside of the players Backpack (Core Gui) then you can use Humanoid:UnequipTools(), this isn’t the case though with custom inventory systems and you’d need to parent the tool to some type of storage to be held for later use.

1 Like

Thank you for your help, that seems to be what I’m looking for.

1 Like

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