C
C#2y ago
Cruddy

❔ ✅ Kill Process

Basically, this code wont kill the process RobloxPlayerLauncher.exe private void button1_Click(object sender, EventArgs e) { foreach (Process process in Process.GetProcessesByName("RobloxPlayerLauncher.exe")) { process.Kill(); } }
65 Replies
Servator
Servator2y ago
Are you sure about .exe name ?
Cruddy
CruddyOP2y ago
i mean it was used in a different tutorial robloxgameclient.exe dont work either
Henkypenky
Henkypenky2y ago
try this
using System.Diagnostics;

foreach (var process in Process.GetProcesses())
{
Console.WriteLine(process.ProcessName);
}
using System.Diagnostics;

foreach (var process in Process.GetProcesses())
{
Console.WriteLine(process.ProcessName);
}
processes don't have a .exe ending, a process is an instance of a program
Cruddy
CruddyOP2y ago
where do i get the process name then
Henkypenky
Henkypenky2y ago
run that an check what it should be
Cruddy
CruddyOP2y ago
?
Henkypenky
Henkypenky2y ago
dude, run this
Cruddy
CruddyOP2y ago
yeah
Henkypenky
Henkypenky2y ago
using System.Diagnostics;

foreach (var process in Process.GetProcesses())
{
Console.WriteLine(process.ProcessName);
}
using System.Diagnostics;

foreach (var process in Process.GetProcesses())
{
Console.WriteLine(process.ProcessName);
}
and see what is the name you want
Cruddy
CruddyOP2y ago
but how do i see the name i want
Henkypenky
Henkypenky2y ago
don't you want RobloxPlayerLauncher or whatever
Cruddy
CruddyOP2y ago
yeah
Henkypenky
Henkypenky2y ago
then find it exactly how it is
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
is robloxplayerlauncher not the game client? i saw it be used in another video and it worked i tried robloxplayerbeta
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
im trying to kill the game client i forgot the video but i saw it one time and i remembered it used RobloxPlayerLauncher.exe
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
incase it freezes? just an emergency end task like in task manager like end the game client like task manager does
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Henkypenky
Henkypenky2y ago
<:picard_facepalm:616692703685509130>
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
wdym
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
yeah but if 100% of my memory is being used by roblox how am i supposed to open task manager
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
but this way is faster its a button press
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
yeah but why cant i just make a button that does that and its faster
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
wdym
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
yeah
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
you click a button im using visual code
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
the pirple one purple yeah a UI button
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
what
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
thats task manager and you have to type it
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
yeah
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
try that on 100% memory usage
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
one: a) you type b) you click click is more efficient
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
what
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
yeah, and i'd also start this app BEFORE i have the memory issue
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
yeah but my code will be faster beacuse you click it
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
ok
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
what issue
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
ok and your point being i still want help witht he code
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Cruddy
CruddyOP2y ago
i did i looked at it i dont get it
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Henkypenky
Henkypenky2y ago
they left pointless someone close this when they can very likely
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server