Command-line only; requires manual intervention if dealing with modified opcodes.

Open the .luac in a hex editor. Look at the first byte: