where can i learn how to do this?
COMMUNITY QUESTION
Hi, how can i code an NPC to attack a player?
1 answer
Well, first you need the NPC to find and follow the player by pathfinding.
Then when the NPC touches the player, make the player take damage.
1 comment
0
Thank you for your reply.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
the roblox wiki my boy