Posted
This setting is useless for most of the dudes. But it's useful for those, who opens their pc and starts exploiting in roblox!
So this Auto launch works on a checkbox.
1. Make a checkbox named autolaunchCB.
2. add this code to the checkbox:
private void autolaunchCB_CheckedChanged(object sender, EventArgs e) { RegistryKey rk = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true); bool idk = autolaunchCB.Checked; if (idk) { rk.SetValue("executorName.exe", Application.ExecutablePath); } else { rk.SetValue("executorName.exe", false); } }
3. And also add a sys that if you check the autolaunch and closed your executor. when you open executor again the auto launch will be checked! I ALR MADE THIS SYS (But Not Giving, Its Easy Make Yourself)
imaKid
Replied
Oh no
content length
Cancel
Post
Discord : Doctor Doom#0550
Replied
private void autolaunchCB_CheckedChanged(object sender, EventArgs e)
{
RegistryKey rk = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", true);
rk.SetValue("executorName.exe", autolaunchCB.Checked ? Application.ExecutablePath : false);
}
shorter
Cancel
Post
!!!!!marcus__!!!!!#8611
https://cdn.discordapp.com/attachments/1066053366758780978/1078052772567597127/image.png
Replied
private void autolaunchCB_CheckedChanged(object sender, EventArgs e) => Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", true)?.SetValue("executorName.exe", autolaunchCB.Checked ? Application.ExecutablePath : "", RegistryValueKind.String) ?? Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", true)?.DeleteValue("executorName.exe", false);
Shorter
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post