Open .txt file and read a line from it? (solved)

Check out the Lua io library:
https://www.lua.org/pil/21.1.html

Defold ref:

Here’s an actual example: