Categories > Coding > Lua >
scripthub with wrd api
Posted
Anyone knows how to make a Script Hub with the WeAreDevs api to my own exploit?
Replied
WRDAPI.SendLuaScript("your script here");
the easy way is to add pictureboxes and add this to the picture box code
Cancel
Post
<3 N4ri
---
Exploits i use: Comet
Scripts i use: anything cool
Replied
yeah but do i put a pastebin link? or just a script? or a raw pastebin link?
Cancel
Post
Replied
@1_Brutalify The SendLuaScript function accepts a string. It runs that string as a Lua script. You can read the documentation here. If you still don't understand....then take the time to learn C#.
Cancel
Post
Replied
@1_Brutalify it's pretty simple, example code
string script = "loadstring(game:Httpget('https://www.pastebin.com/raw/yourpastebinhere'))()";
api.SendLuaScript(script);
Cancel
Post
im not a clown
or any other funny thing
u understand right?
Why are you here
Replied
@63568 ikr, welp i dont know that much C# and my reply is getting hella hypocritical
Cancel
Post
Replied
@Haxim You have to use a loadstring. Or any valid Lua code. Passing a url won't work.
Cancel
Post
Replied
Try using this code. Use the 2nd one if your script is large. Use the first one if your script is loadstring/small.
string script = "TheLoadstringHere";
//Use this if your script is a loadstringer.
//While pasting the script, Make sure to replace the "" with '' or else its gonna cause some errors.
WebClient web = new WebClient();
string script = web.DownloadString("LinkHere");
api.SendLuaScript(script);
//In LinkHere, Replace it with your raw pastebin/github script link.
//Make sure to add using System.Net; at the top (Reference it).
Cancel
Post
https://media.discordapp.net/attachments/994643402949926956/1004560140252495960/uqJXQIda.gif
Discord: Ad#1085; Don't hesitate to DM me if you need help/anything.
Replied
@63568 well if u make the api execute the raw then it works i use it. idk if send lua script is execute for wrd api or it is API.Execute("Pastebin");
Cancel
Post
Why are you here
Replied
will doing this work
string script = "loadstring(game:Httpget('https://pastebin.com/raw/cPxGx27V'))()";
api.SendLuaScript(script);
Cancel
Post
https://media.discordapp.net/attachments/994643402949926956/1004560140252495960/uqJXQIda.gif
Discord: Ad#1085; Don't hesitate to DM me if you need help/anything.
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post