// Token: 0x06000007 RID: 7 RVA: 0x0000219C File Offset: 0x0000039C public static void LuaPipe(string script) { bool flag = NamedPipes.NamedPipeExist(NamedPipes.luapipename); if (flag) { new Thread(delegate() { try { using (NamedPipeClientStream namedPipeClientStream = new NamedPipeClientStream(".", NamedPipes.luapipename, PipeDirection.Out)) { namedPipeClientStream.Connect(); using (StreamWriter streamWriter = new StreamWriter(namedPipeClientStream, Encoding.Default, 999999)) { streamWriter.Write(script); streamWriter.Dispose(); } namedPipeClientStream.Dispose(); } } catch (IOException) { MessageBox.Show("Error connecting to the pipe.", "Filtered", MessageBoxButtons.OK, MessageBoxIcon.Hand); } catch (Exception ex) { MessageBox.Show(ex.Message.ToString()); } }).Start(); } }
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250 public static void Inject() { bool flag = NamedPipes.NamedPipeExist(NamedPipes.luapipename); if (!flag) { bool flag2 = !NamedPipes.NamedPipeExist(NamedPipes.luapipename); if (flag2) { switch (Injector.DllInjector.GetInstance.Inject("RobloxPlayerBeta", AppDomain.CurrentDomain.BaseDirectory + Functions.exploitdllname)) { case Injector.DllInjectionResult.DllNotFound: MessageBox.Show("Couldn't find " + Functions.exploitdllname + "Please disable your anti-virus or extract the file, and retry!", "RedBoy", MessageBoxButtons.OK, MessageBoxIcon.Hand); break; case Injector.DllInjectionResult.GameProcessNotFound: MessageBox.Show("ROBLOX is not open!", "RedBoy", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); break; } } } }