Forum > General >

How can we add custom commands in wearedevs api roblox

Posts: 1

Threads: 1

Joined: Jan, 2020

Reputation: 0

Posted

im working on a roblox exploit and i want to add custom commands

 

  • 0

mrc0d3p14yz

Developer of Rift

Posts: 22

Threads: 5

Joined: Jun, 2018

Reputation: 0

Replied

 

You can set up a switch statement in the button fire event:

switch (textBox1.Text){

case "dosomething":

api.SendLuaScript("print('ok')");

break;

default: // if nothing matches it

api.SendCommand(textBox1.text);

break;

}

  • 0

Users viewing this thread:

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