Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way to know when a tool is being held, not just in someone's inventory?

Correct me if I'm wrong, but the Tool.Equipped() event only fires when the object enters the inventory, not when the player holds the tool.

1 answer

✓ Accepted answer

The Equipped event fires when the Humanoid equips the tool, so yes, you are wrong in that it fires when it enters their inventory.

local Tool = script.Parent

Tool.Equipped:connect(function()
	print(Tool.Parent)
end)

Will only fire when it enters their character model.

1 comment

0

That's really odd, right now I'm having an issue of it not working correctly. Back into the code mines I go, thank you.

This discussion is preserved as it was. New answers, comments, and votes are closed.