Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void timer1_Tick(object sender, EventArgs e)
- {
- foreach(Process proc in Process.GetProcessesByName("RobloxPlayerBeta"))
- {
- if (!NamedPipes.NamedPipeExist(NamedPipes.luapipename))
- {
- Thread.Sleep(6000);
- api.Inject();
- }
- else
- {
- return;
- }
- }
- }
- private void checkBox1_CheckedChanged(object sender, EventArgs e)
- {
- if (checkBox1.Checked)
- {
- this.timer1.Enabled = true;
- timer1.Start();
- }
- else
- {
- this.timer1.Stop();
- this.timer1.Enabled = false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement