NULL Location from GetHitResultUnderCursorByChannel

You need to know how to fix this, so my advice would be just increase your float var to max an you get the result how long you can send your npc-s. It’s everything what you can another way is to add minimap of your level and on click that map you can send npc-s where you want.