I need a script of, if you click the npc with ur tool equipped, ur tool will be given to the npc
Does anyone know the script of click to give npc tool?
2 answers
Please Don't Request scripts!
I will guide you to some links, So you can read them and learn by yourself
1. First off What is a tool?
Link: https://developer.roblox.com/en-us/api-reference/class/Tool Tools are objects that a Humanoid object can equip. For players, they are stored in a Backpack object parented to a Player object. In-game
2. Tool Events
A. Equipped() Event:
Fired when the tool is equipped For more Info: https://developer.roblox.com/en-us/api-reference/event/Tool/Equipped
B. Activated() Event:
Fired when the player clicks while a tool is equipped For more info: https://developer.roblox.com/en-us/api-reference/event/Tool/Activated
That's it, The rest is up to you
Learn to script instead of asking for a script written for you. It works like a charm.
1 comment
is there any sites to learn? I'm urgent to learn scripting.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Hi, but when i go into the site, it said: about:blank#blocked
nvm i got it working
okay can you accept it as an answer then?