Advertisement
PareX

Auto Inject lol enjoy

Nov 1st, 2019
1,845
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.85 KB | None | 0 0
  1. private void timer1_Tick(object sender, EventArgs e)
  2.         {
  3.             foreach(Process proc in Process.GetProcessesByName("RobloxPlayerBeta"))
  4.             {
  5.                 if (!NamedPipes.NamedPipeExist(NamedPipes.luapipename))
  6.                 {
  7.                     Thread.Sleep(6000);
  8.                     api.Inject();
  9.                 }
  10.                 else
  11.                 {
  12.                     return;
  13.                 }
  14.             }
  15.            
  16.            
  17.         }
  18.  
  19.         private void checkBox1_CheckedChanged(object sender, EventArgs e)
  20.         {
  21.             if (checkBox1.Checked)
  22.             {
  23.                 this.timer1.Enabled = true;
  24.                 timer1.Start();
  25.             }
  26.             else
  27.             {
  28.                 this.timer1.Stop();
  29.                 this.timer1.Enabled = false;
  30.             }
  31.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement