Categories > Coding > Lua >

scripthub with wrd api

Posts: 17

Threads: 5

Joined: Sep, 2021

Reputation: 0

Posted

Anyone knows how to make a Script Hub with the WeAreDevs api to my own exploit?

  • 0

N4ri

truly gamer pro :suncool:

contentCreator

Posts: 575

Threads: 88

Joined: Mar, 2020

Reputation: 46

Replied

WRDAPI.SendLuaScript("your script here");

the easy way is to add pictureboxes and add this to the picture box code

  • 0

<3 N4ri
---

Exploits i use: Comet
Scripts i use: anything cool

Posts: 17

Threads: 5

Joined: Sep, 2021

Reputation: 0

Replied

yeah but do i put a pastebin link? or just a script? or a raw pastebin link?

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

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#.

  • 0

carni_val

carni_val

Posts: 7

Threads: 1

Joined: Aug, 2020

Reputation: 0

Replied

@1_Brutalify it's pretty simple, example code

string script = "loadstring(game:Httpget('https://www.pastebin.com/raw/yourpastebinhere'))()";

api.SendLuaScript(script);

 

  • 0

im not a clown

or any other funny thing

u understand right?

Posts: 709

Threads: 55

Joined: Feb, 2021

Reputation: 32

Replied

@carni_val or just

api.SendLuaScript("your raw pastebin");
  • 0

Why are you here

TERIHAX

i say im gay as a joke 🙀

Posts: 2240

Threads: 102

Joined: Jul, 2020

Reputation: 32

Replied

@63568 ikr, welp i dont know that much C# and my reply is getting hella hypocritical

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@Haxim You have to use a loadstring. Or any valid Lua code. Passing a url won't work.

  • 0

Posts: 381

Threads: 42

Joined: Feb, 2021

Reputation: 9

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).
  • 0

https://media.discordapp.net/attachments/994643402949926956/1004560140252495960/uqJXQIda.gif

Read me.

Discord: Ad#1085; Don't hesitate to DM me if you need help/anything.

Posts: 709

Threads: 55

Joined: Feb, 2021

Reputation: 32

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");

  • 0

Why are you here

Posts: 17

Threads: 5

Joined: Sep, 2021

Reputation: 0

Replied

@carni_val

 

will doing this work

            string script = "loadstring(game:Httpget('https://pastebin.com/raw/cPxGx27V'))()";

 

            api.SendLuaScript(script);

 

  • 0

Posts: 381

Threads: 42

Joined: Feb, 2021

Reputation: 9

Replied

@1_Brutalify Yes it will.

  • 0

https://media.discordapp.net/attachments/994643402949926956/1004560140252495960/uqJXQIda.gif

Read me.

Discord: Ad#1085; Don't hesitate to DM me if you need help/anything.

Users viewing this thread:

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