If you put a tool / weapon inside of a NPC they will carry it around but never use it. I was wondering how I could get a NPC to use the sword I gave it. (When I say activate a tool, I mean like when you click with the tool equipped.)
✓ ANSWER ACCEPTED
How to make a NPC activate a tool?
1 answer
✓ Accepted answer
local tool = script.Parent;
tool.Activated:Connect(function()
--code here
end)
if conditional then --put a conditional here
tool:Activate()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thanks! I can't like yet, so this is the closest thing i can get.
good answer