Forum > Coding >

Lua,Lua C into Buttons

Posts: 2

Threads: 1

Joined: Nov, 2019

Reputation: 0

Posted

Well when i was making exploit from wearedevs api i wanted a lua c or a lua script to directly perform dose anyone know how to do it?

  • 0

Posts: 207

Threads: 22

Joined: Aug, 2019

Reputation: 3

Replied

What do you mean?

Like when you tap a button and it loads a script?

  • 0

Exploits I made: Weirderschnitzel and Protox

Exploits I own: SynX-Calmari-Sentinel

 

Posts: 2

Threads: 1

Joined: Nov, 2019

Reputation: 0

Replied

yea like a full script attached to a button click

  • 0

Posts: 16

Threads: 1

Joined: Nov, 2019

Reputation: 0

Replied

One way you can do it is put text on a textbox and then make the textbox invisible and then put the code to say api.ExecuteLuaScript(textboxname.Text);

another way you can do it is download a string from a raw data link with a lua script on it..

You will need to put using System.Net; on the top

and then

api.ExecuteLuaScript(new WebClient().DownloadString("RAW LINK HERE"));

Your Welcome..

  • 0

Users viewing this thread:

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