If you understand functions, tables, variables and loops, you are ready to go. Lua is that simple. My advice is to read Leadwerks' default scripts and see how those concepts are used there along with Leadwerks API. Then you try to adapt example scripts to your needs. And after that you are ready to program everything yourself.