make points string to lua
add lua judge