So I've made a script that worked for a different NPC, but I felt bad that I took the NPC from the toolbox, so I'm trying my hand at making my own. I've tried copy and pasting my character into the workspace and fixed the script to work for it, but the result was this.
https://imgur.com/S30m8eb Just a sad, emotionless, robotic thing.
I can supply my script if it's neccesary, but I'm just looking for a way to make an npc that sucks less.
An npc that can play animations, face the player when it's moving, and maybe shoot bullets at the player would be optimal.
NPC Pathfinding Script - https://pastebin.com/4ZbhJD4Y

4 comments
Roblox Wiki on AI's (path finding) is good to learn from. Or even YouTube. Great examples. Just search Roblox AI or Path finding. You'll get some results.
You haven't really specified any real features you want your NPC to have like supernatural attacks, or chases the player. So I lay all that across the table and then it will be easier for someone to help you out.
Alright @songboy I'll edit my post
and yes it's necessary to supply all code