Forum > Coding >

Console commands

Posts: 22

Threads: 9

Joined: Jun, 2018

Reputation: 0

Posted

How to make for C# on visualstudio a roblox conole?
like for JJsploit
  • 0

Posts: 369

Threads: 61

Joined: Apr, 2018

Reputation: 0

Replied

You add a textbox, name it consoleBox, 
then add another textbox, now name it inputBox , this is where you type in the commands.

Then, do a function that when you use the inputBox and that you press enter, it executes your command.:
For help, consult this: http://csharp.net-informations.com/gui/key-press-cs.htm

Code: (please go to the properties and select events and then keyPress, double-click it.)

private void inputBox_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Enter) { //add the command consoleBox.AppendText(inputBox.Text + "\r\n"); //Haere plez tyip uor coder to excute ur scropt and inject codes to Roibloc. //clear text of the inputBox inputBox.Text = "";
} }
  • 0

Added

Last post seems messy, here's the code, (by following the steps of my previous post)



Code: (please go to the properties and select events and then keyPress, double-click it.)

private void inputBox_KeyPress(object sender, KeyPressEventArgs e) { 
if (e.KeyChar == (char)Keys.Enter) {
//add the command
consoleBox.AppendText(inputBox.Text + "\r\n");
//Haere plez tyip uor coder to excute ur scropt and inject codes to Roibloc.

//clear text of the inputBox
inputBox.Text = "";
} }
  • 0

Posts: 22

Threads: 9

Joined: Jun, 2018

Reputation: 0

Replied

can you make a video? plz
  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )