Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can you unequip a tool using a script?

Asked by 9 years ago

How can you unequip a tool using a script? Can you?

1 answer

Log in to vote
1
Answered by
ImageLabel 1541 Moderation Voter
9 years ago

There's actually a handy method of the Humanoid -- UnequipTools, that allows for all tools equipped at the time to be unequipped.

Once you obtain the player's Humanoid, just use it like so:

Humanoid:UnequipTools()
1
Thank you Bluemonkey132 194 — 9y
0
yup ImageLabel 1541 — 9y
Ad

Answer this question