Added some stuff for lua.

Don’t enter an incorrect scene object name. It’ll crash the program.
I’ll fix that when I have time.