Tool unequip itself

Hi.

How can I make it so if I equip a tool, it’ll auto-unequip? I’ve tried several things but for some reason it doesn’t work.

Thanks.

1 Like

I mean its not really that hard, if you just make it so when the player equips the tool it fires an event wich makes the player unequip the tool via function for example.

I’ll retry that lol, probably messed up some sort of code

Just make the parent of the tool the players backpack.

tool.Parent=Player.Backpack
1 Like

if he wants it to unequip and be removed and not being able to be equipped again
this would work like this

function equipped()
script.Parent = game.ServerStorage --Removing the tool from the player into the serverstorage for example
end

script.Parent.Selected:connect(equipped)  --Activates the function when equipped?
1 Like

This will remove the tool from the player all together, not unequip it.

2 Likes

Yeah I had an error within it I wanted to change it to say it but it gave an error