how to make an npc move in roblox studio
-- Variables for the zombie and its humanoid
local zombie = game.Workspace.Zombie
local humanoid = zombie.Humanoid
-- Variables for the point(s) the zombie should move between
local pointA = game.Workspace.GreenFlag
-- Move the zombie to the primary part of the green flag model
humanoid:MoveTo(pointA.PrimaryPart.Position)