I'm not even beginner level at roblox scripting, so I have no idea how this is supposed to work but I want an NPC to actually use the weapon it holds in its hand.
When a player is using the weapon, they can press left click to slash, double left click to lunge and press q to use a special ability... but NPCs don't have keys to press so it just holds the weapon as it walks up to me.
The weapon by the way is "Dagger Of Shattered Dimensions" - a gear by Roblox which I added to the NPC.
Just to be clear, I don't want some super-advanced AI that makes the NPC act just like a player, I just want the NPC to use the weapon... sort of like it's spamming left click or something. And then, I want it to use the special ability when it's under half health and is near the player.
I'm aware that I could try and just load the toolslash animation and pretend that the NPC is slashing that way, but what about the special? - Because that's more than just an animation.
Usually the idea of an NPC using a tool is pretty-down pat with any game, but when I tried to look up information on NPCs using weapons on roblox (properly) I get nothing.
I don't want my NPC to just have the tool equipped, I want it to use the weapon. Is there any way of achieving this?