Hi everybody. This is probably the third post on this issue. I made the character follow the player, but I do not know how to make him shoot at the player. Please help me, I’ve already searched the entire Internet but I haven’t found anything. I will attach a file with the project below.
Place1.rbxl (71.5 KB)
you’re going to need a custom shoot function, when the npc is at a reasonable range make it shoot at the direction of the player but not at the player
And how can shooting be implemented?
by using a module called fast cast, tweening the bullet to its end goal, etc.
note that you probably cant make an npc use a tool like a player usually does, so you would have to do more coding
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.