I would like to know how to detect if a tool is in a player’s backpack or not, and detect when it is dropped.
Edit: I’m also curious to know if you can make a tool that is on the ground not be able to be picked up.
I would like to know how to detect if a tool is in a player’s backpack or not, and detect when it is dropped.
Edit: I’m also curious to know if you can make a tool that is on the ground not be able to be picked up.
When it is dropped, the tool’s parent is set to workspace, so you can just check if the parent is the player or workspace. As for not being able to be picked up, I think you can just clone the tool handle so it is no longer a tool
Check the tool’s parent. If it’s directly under a character, it’s being held by a player. If it’s directly under Backpack, it’s in backpack. Otherwise, anything else is dropped or stored.
Thank you! I had a hunch it would have something to do with that!
Here’s what I made: