How do I detect if a player has a specific item in their backpack while they're holding it?

So basically I have a repeating loop that detects if a player has a specific tool, and if not then it will give it to them. It gives the player the tool but the tool gets removed from the backpack once the player actually holds it, so it gives the player another tool resulting in two.

So how can I detect if the player is holding it?

1 Like

I figured it out. The tool goes into the player’s character when they hold it.