0

I Can't Use This. How To Fix It.

I make my projects for Obfuscator The Lua Script.

I make this for my script. I don't want other people to view my script.

Error: Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array. Code:

using System.IO;
using System.Text;
using IronBrew2;
using IronBrew2.Obfuscator;

namespace IronBrew2_CLI
{
    class Program
    {
        static void Main(string[] args)
        {
            if (Directory.Exists("temp"))
                Directory.Delete("temp", true);
            Directory.CreateDirectory("temp");
            if (!IB2.Obfuscate("temp",  args[0], new ObfuscationSettings(), out string err))
            {
                Console.WriteLine("ERR: " + err);
                return;
            }

            File.Delete("out.lua");
            File.Move("temp/out.lua", "out.lua");
            Console.WriteLine("Done!");
        }
    }
}```
Farn
  • 13
  • 2

0 Answers0