Ad
Log in to vote
1

How do I delete the tool that the player is holding ONLY?

Asked by 1 month ago

I've tried a lot of scripts, but none work. I would like to know to how to only delete the tool that the player is holding, not any tools in the backpack though

0
what is leading up to the deletion? tightanfall 110 — 1mo

1 answer

Log in to vote
0
Answered by 1 month ago

When the player has the tool in their hands, the tool location is in the character. So, simply you would only need to delete the tool with the function :FindFirstChildWhichIsA()

Example:

local char -- char location

char:FindFirstChildWhichIsA('Tool'):Destroy() 
Ad

Answer this question