Exploit API v1

WeAreDevs API v1 code example


Stop searching, "How to make a roblox exploit" on Google. Stop waiting for exploit developers to fix their stuff. In this day and age, anyone can easily create one using our API. You can make exploits using what even some of the biggest exploit creators use. You're given precoded commands. You can create your own custom commands with Lua scripts. You can even give people massive power with a limited Lua executor and a Lua C executor. Go ahead and sell, give it out to friends, make videos, or create something for yourself. Create an exploit in C#.

This API has largely grown in capability from when the project was first released. It can execute complicated scripts such as Dex Explorer thanks to instance caching, it can run loadstrings, it has a bypassed HttpGet() which can load content from any website, and adds functions to the Lua environment. There's very little work you need to do on your end. This leaves you with more time to create quality content!

Full fledged example: https://github.com/WeAreDevs-Official/Exploit-Template-with-WRDAPI

API Last modified: September 18, 2019

Doc Last modified: May 13, 2020

API Methods

List of methods and valid parameters(Given you used the naming convention above)

ExploitAPI() Create the ExploitAPI() object to call the following methods from
LaunchExploit() Before doing anything, you will need to launch the exploit. This will check if it's patched, inject the necessary tools, etc.
SendLuaScript(string_LuaScript) Takes in a string and executes the string as a Lua script
SendLuaCScript(string_LuaCScript) Takes in a string and executes the string as a Lua C script. Refer to the Lua C Parser documentation
SendCommand(string_Command) Takes in a string and executes its corresponding pre-built command
isAPIAttached() Returns true if the module is attached, false otherwise.

Pre-built commands

List of commands you can use with the SendCommand() function

FE Safe
kill me Kills your character
float me Makes your character float
nofloat me If floating, it disables your character's float
print {text} Prints the specified text onto the game's developer console as a local script
warn {text} Prints the specified text onto the game's developer console as a warning and local script
hipheight me {number} Sets your character's hip height to the specified value
vectorteleport {xpos} {ypos} {zpos} Teleports your character to the specified vector 3 position

ESP Controls
Helps you spot players from across the map and through walls. It displays boxes over a player's character to give you an idea of where they are. This is undetectable by anti-GUI scripts.
boxesp Toggles the player ESP
boxespteamcheck Toggles team check. If on, ESP won't target players on the same team
boxesplines Toggles lines to a player's ESP box
boxespnames Gets a players name and displays under ESP boxes | Toggles
boxespdistance Gets a player's distance from you and displays under ESP boxes | Toggles

FE Protected
Note: Only you can see the effects of the commands below due to Filtering Enabled
chat {plr} {text} Applies chat bubble above target player's head with the specified text
ff me Adds forcefield above your player
noff me Removes forcefield from your player
blockhead {plr} Removes mesh from target player's head
nolimbs {plr} Removes arms and legs from target player
noarms {plr} Removes arms from target player
nolegs {plr} Removes legs from target player
fire me Adds fire effect to your player
nofire me Removes fire effect from your player
sparkles me Adds sparkle effect to your player
nosparkles me Removes sparkle effect from your player
smoke me Adds smoke to your player
nosmoke me Removes from from your player
print {text} Prints the specified text onto the game's developer console
warn {text} Prints the specified text onto the game's developer console as a warning
btools me Gives your character btools
music {musicid} Players the specified audio id from Roblox assets
skybox {decalid} Sets all skybox images to the specified decal id from Roblox assets

Custom Lua Environment

To get around some of the RLua limits, we added custom methods that we felt were needed to the Lua environment.

Unique Custom Functions
FireClickDetector([instance], [number]distance)

Simulates a click on the specified ClickDetector instance. The specified distance in studs simulates how far your character was from the click.

Aliases: fireclickdector
OpenWebsite([string]url) Expects 1 string parameter which should be a website link. It then opens that link on the device's default browser.
isRobloxFocused() Returns true if the Roblox window is the active window, otherwise false.

Writes first parameter's data to the clipboard.

Aliases: setclipboard, ToClipBoard, toclipboard

Returns content from the clipboard.

Aliases: getclipboard

Simulated Mouse Control
MouseMoveRel(int x, int y)

Moves mouse cursor x pixels left/right and y pixels up/down from the current position.

Aliases: mousemoverel, MouseMoveRelative, mousemoverelative
MouseScroll(int y)

Simulates mouse to scroll up/down by y pixels.

Aliases: mousescroll

Sends left button click signal.


Sends left mouse button down signal.


Sends left mouse button up signal.


Sends right button click signal.


Sends right mouse button down signal.


Sends right mouse button up signal.

WRDAPI Library
WRDAPI.ShowConsole() Displays the cmd.exe console
WRDAPI.HideConsole() Hides the cmd.exe console
WRDAPI.error(string text) Writes red text to the cmd.exe console
WRDAPI.warn(string text) Writes orange text to the cmd.exe console
WRDAPI.log(string text) Writes white text to the cmd.exe console
WRDAPI.InfoMsg(string text) Displays message box
WRDAPI.ErrorMsg(string text) Displays error message box

Drawing Library

Example Script

newSquare = Drawing.new("Square")
newSquare.Position = Vector2.new(0,0)
newSquare.Size = Vector2.new(50,50)
newSquare.Color = Color3.new(0, 1, 0)
newSquare.Thickness = 16
newSquare.Rounding = 0
newSquare.Filled = true
newSquare.Transparency = 0.5

Drawing Canvas

Drawing.new(string ClassName) Creates a new Drawing object based on the given class name and returns it.
Drawing.clear() Clears the Drawing canvas.

Drawing Classes

Base - All Drawing classes inherit these properties and functions.

  • bool Visible
  • int ZIndex
  • void Remove()


  • Vector2 From
  • Vector2 To
  • Color3 Color
  • float Thickness
  • float Transparency


  • string Text
  • Vector2 Position
  • float Size
  • Color3 Color
  • bool Center
  • bool Outline
  • float Transparency
  • Vector2 TextBounds [readonly]


  • Vector2 Position
  • Vector2 Size
  • Color3 Color
  • float Thickness
  • bool Filled
  • float Transparency


  • Vector2 Position
  • float Radius
  • Color3 Color
  • float Thickness
  • bool Filled
  • float Transparency
  • int NumSides


  • Vector2 PointA
  • Vector2 PointB
  • Vector2 PointC
  • Color3 Color
  • float Thickness
  • bool Filled
  • float Transparency

Remade RLua Functions
loadstring(string script) Works like the normal Lua loadstring function, but was remade in the API to run prechecks.
HttpGet(string url)

Fetches text from the given URL. game:HttpGet() wraps this so there is URL bypass.

Aliases: httpget

WrapGlobal(string script) Expects 1 string parameter. Add your own method to the custom Lua environment

Installed Libraries
Lua BitOp "bit lib" More information: http://bitop.luajit.org/

Note that the Lua environment implements custom wrapping for: getrawmetatable, loadstring, HttpGet, setreadonly, isreadonly, getrenv, getgenv. This is done to improve execution capability.

Lua C Parser in SendLuaCScript()

Documentation specific to the Lua C parser as used in the SendLuaCScript() function. This is an opinionated design specific to the WRD API. It is used to interact with the wrapped Lua C API. Learn more about Lua C here.

Example Script

getglobal print
pushstring Hello world!
pcall 1 0 0

Example Call

SendLuaCScript("getglobal print\npushstring Hello world!\npcall 1 0 0")

Available Functions
getglobal <global> Example: getglobal game
getfield <index> <field> Example: getfield -1 Workspace
setfield <index> <field> Example: setfield -2 Position
pushvalue <index> Example: pushvalue -6
pushstring <string> Example: pushstring Hello world!
pushnumber <index> Example: pushnumber 100
pcall <nargs> <nresults> <errfunc> Example: pcall 1 0 0
call <nargs> <nresults> Example: call 1 0

Example: emptystack

Alias for "settop 0"

settop <top> Example: settop 0
pushboolean <bool> Example: pushboolean false

Example: gettop

Print's the top of the stack's index to the WRD API console

pushnil Example: pushnil
next <index> Example: next -2
pop <number> Example: pop 5
insert <index> Example: insert -2
createtable <narr> <nrec> Example: createtable 0 3
settable <index> Example: settable -3
tonumber <index>

Example: tonumber -1

Prints the index's number value to the WRD API console

tostring <index>

Example: tonumber -1

Prints the index's string value to the WRD API console

touserdata <index>

Example: touserdata -2

Print's the memory address of the index to the WRD API console