If you are being chased by an NPC / AI (I also need help with that) then how can I click a key (E) so that I hide in a closet, or under a chest, the NPC / AI doesn't have the mechanic to check there -- if seen running in there.
If you can't do that then can you help me on how to make an NPC / AI that can use PathFinding, Wondering Around, and The NPC / AI noticing you on a certain distance?
If you also can't do that, can you help me with pathfinding?

1 comment
http://wiki.roblox.com/index.php?title=API:Class/UserInputService/InputBegan