Trying to program in LUA, I want to make a script that spawns a set amount of NPCs, then makes them walk around randomly.

Any help appreciated.