I will separate my business code into a script language. it would be Lua or Python. 
My question is my business code written in script file is viewable by others.
Because of script file will not compiled that is open. Anyone can see it.
How can I hide it?
I think if I use Python, it would be compiled (.pyo), but Lua looks like more suitable for me.
You will not be able to hide this easily. You can encrypt and decipher on the fly. The problem is that people will be able to look at you're process memory and see the code clear as day. If you want to prevent people from changing the lua you can create a hash which the text file is checked against on each run.
Compiling script files Lua or Python