I am trying to make an NPC use a tool but there is one problem. When the client is fired there is no player to put into player variable in the :FireClient function. All help is much appreciated.
Depends what the tool is supposed to do but if the FireClient is simply to show something on the screen to a normal player you can probably just comment it out as an NPC wouldn’t need that.
When a player equips a tool, it’s just put into their character, and the handle is welded to their right hand or wherever. You just do that when you want an NPC to equip a tool. Also, you don’t need a remote event to tell the NPC to equip the tool, also since tools can’t be manually equipped like this on a client. Instead, you could use a bindable event on the server or a remote event fired from the client to the server.
Thanks I did not think of these!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.