Need help moving npcs

Ive tried using setlastposition, but they dont move.
I want zombies to spawn in the terrorist spawn point and then move to the counterterrorist spawn points. Is there an easy way to do this? Im really bad at lua fyi

when using setlastposition you have to use the function
npc:SetSchedule( SCHED_FORCED_GO )
to force them to move.

yeah i tried that, just like the wiki said, but they dont move.
local spawnpoints = ents.FindByClass( “info_player_counterterrorist” )
local spawnpoints2 = ents.FindByClass( “info_player_terrorist” )
local Unit = ents.Create( “npc_zombie” )
Unit:SetPos(table.Random( spawnpoints ):GetPos())
Unit:SetLastPosition(table.Random( spawnpoints2 ):GetPos())
Unit:SetSchedule( SCHED_FORCED_GO ) – run move

The NPCs cant go very far with SetSchedule( SCHED_FORCED_GO ), You have to make it go from point to point.