This documentation is now deprecated.
I've created a better place for this and future documentation on GitBook.
You can find them here.
- Universal Script API
- Universal Esp Functions
- Esp Types & Options
- Aimbot Types & Options
- Script Errors
This applies to Universal Esp and Aimbot
local esp = loadstring(game:HttpGet("https://raw.githubusercontent.com/zzerexx/scripts/main/UniversalEsp.lua"))()
-- You can also access the esp table with getgenv().UESP
local aimbot = loadstring(game:HttpGet("https://raw.githubusercontent.com/zzerexx/scripts/main/UniversalAimbot.lua"))()
-- You can also access the aimbot table with getgenv().UAIMToggles the specified type.
void api:Toggle(type)
esp:Toggle("Boxes")
aimbot:Toggle("Aimbot")Returns the specified options' value.
variant api:Get(type, option)
print(esp:Get("Boxes", "Enabled"))
print(aimbot:Get("Aimbot", "Enabled"))Sets the specified options' value.
void api:Set(type, option, value)
esp:Set("Boxes", "Enabled", true)
aimbot:Set("Aimbot", "Enabled", true)Replaces script functions.
This can allow custom compatibility for unsupported games.
void api:SetFunction(function, newfunction)
api:SetFunction("Alive", function(plr)
return plr.Character:FindFirstChild("Humanoid").Health > 0
-- make sure to return a boolean
end)
api:SetFunction("Character", function(plr)
return plr.Character
-- make sure to return the player's CHARACTER OBJECT WITH THEIR BODY PARTS
end)
api:SetFunction("Team", function(plr)
return plr.Team
-- this does not have to be the team object, it can be the team name or whatever
end)
api:SetFunction("FFA", function()
return game:GetService("Players").LocalPlayer.Team == nil
-- make sure to return a boolean
end)
esp:SetFunction("Health", function(plr)
local hum = plr.Character.Humanoid
return {hum.Health, hum.MaxHealth}
-- make sure to put the player's HEALTH before MAX HEALTH {health, maxhealth}
end)
aimbot:SetFunction("Closest", function()
-- return the closest player
-- make sure to return the player OBJECT, not player name
end)
aimbot:SetFunction("Visible", function(plr)
-- return if plr is visible or not
-- make sure to return a boolean
end)Universal Esp and Aimbot both have these.
| Name | Description | Arguments |
|---|---|---|
| Alive | Returns a boolean indicating if the player is alive | Player |
| Character | Returns the player's character | Player |
| Health | Returns the player's health in a table | Player |
| Team | Returns the player's team | Player |
| FFA | Returns true if the teams are free-for-all | None |
| Name | Description | Arguments |
|---|---|---|
| Health | Returns the player's health in a table | Player |
| Name | Description | Arguments |
|---|---|---|
| Closest | Returns the closest player | None |
| Visible | Returns true if the player is visible | Player |
Resets the specified function back to its original function
void esp:ResetFunction(function)
esp:SetFunction("Character", function(plr)
return workspace[plr.Name]
end)
task.wait(3)
esp:ResetFunction("Character")Removes all drawing objects and disconnects all connections.
void api:Destroy()
esp:Destroy()
aimbot:Destroy()These are only available on Universal Esp!
Adds a Label on the specified part.
Note: You don't need to set all of the options. If they aren't provided, they will be set to the default option.
object esp.Label(part, options)
local label = esp.Label(workspace.Part, {
Text = "Part",
Transparency = 1,
Color = Color3.fromRGB(255, 255, 255),
RainbowColor = false,
Size = 18,
Outline = true,
OutlineColor = Color3.fromRGB(0, 0, 0),
Font = Drawing.Fonts.UI,
Offset = Vector2.new()
})
task.wait(3)
label:Remove()Adds Chams on the specified part.
Note: You don't need to set all of the options. If they aren't provided, they will be set to the default option.
object esp.Cham(part, options)
local cham = esp.Cham(workspace.Part, {
Transparency = 1,
Color = Color3.fromRGB(255, 255, 255),
RainbowColor = false,
Thickness = 2,
Filled = true
})
task.wait(3)
cham:Remove()Sets the label/cham's target part to the specified part.
This is only available for Labels and Chams!
void object:SetPart(part)
local label = esp.Label(workspace.Part)
task.wait(3)
label:SetPart(workspace.OtherPart)Sets the label/cham's property.
This is only available for Labels and Chams!
void object:SetProp(property, value)
local label = esp.Label(workspace.Part)
task.wait(3)
label:SetProp("Font", Drawing.Fonts.Plex)Sets all options to a value.
Note that this only works for options that are on all types. (Enabled, Transparency, Color, UseTeamColor)
void esp:SetAll(option, value)
esp:SetAll("Color", Color3.fromRGB(0, 255, 0)) -- sets all colors to greenReturns a table of objects for the specified player.
You can use either the Player object, or the player's username as a string.
Calling this function without arguments will return all objects.
table esp:GetObjects(player)
table.foreach(esp:GetObjects("Roblox"), print)
-- You can also use this function to remove specific objects on players
esp:GetObjects("Roblox").Box:Remove() -- Only call :Remove on the tableReturns a table of data.
table esp:GetTotalObjects()
local data = esp:GetTotalObjects()
table.foreach(data, print)Adds Esp on the specified player.
You can use either the Player object, or the player's username as a string.
void esp:Add(player)
esp:Add("Roblox")Removes Esp from the specified player.
You can use either the Player object, or the player's username as a string.
void esp:Remove(player)
esp:Remove("Roblox")Removes specific object(s).
void table:Remove()
esp:GetObjects(game.Players.Roblox).Box:Remove() -- Only call :Remove on the tableAll types have these options
| Name | Type | Default |
|---|---|---|
| Enabled | Boolean | true |
| Transparency | Number | 1 |
| Color | Color3 | 255,255,255 |
| UseTeamColor | Boolean | true |
| RainbowColor | Boolean | false |
| Outline | Boolean | true |
| OutlineColor | Color3 | 0,0,0 |
| OutlineThickness | Number | 3 |
| Name | Type | Default |
|---|---|---|
| Thickness | Number | 1 |
| Name | Type | Default |
|---|---|---|
| Origin | String | Top |
| Thickness | Number | 1 |
| Name | Type | Default |
|---|---|---|
| Font | Font | Drawing.Fonts.UI |
| Size | Number | 18 |
| Outline | Boolean | true |
| OutlineColor | Color3 | 0,0,0 |
| ShowDistance | Boolean | false |
| ShowHealth | Boolean | true |
| UseDisplayName | Boolean | false |
| DistanceDataType | String | m |
| HealthDataType | String | Percentage |
| Name | Type | Default |
|---|---|---|
| Thickness | Number | 1 |
| Name | Type | Default |
|---|---|---|
| Origin | String | None |
| OutlineBarOnly | Boolean | true |
| Name | Type | Default |
|---|---|---|
| Thickness | Number | 1 |
| Filled | Boolean | false |
| Scale | Number | 1 |
| Name | Type | Default |
|---|---|---|
| Thickness | Number | 1 |
| Length | Number | 5 |
| Name | Type | Default |
|---|---|---|
| Enabled | Boolean | true |
| Radius | Number | 60 |
| Transparency | Number | 0.3 |
| Selected | Table | All true |
| Name | Type | Default |
|---|---|---|
| TeamCheck | Boolean | false |
| ToggleKey | String | RightAlt |
| RefreshRate | Number | 10 |
| MaximumDistance | Number | 500 |
| FaceCamera | Boolean | false |
| Name | Type | Default |
|---|---|---|
| Enabled | Boolean | true |
| TargetPart | String | Head |
| Use_mousemoverel | Boolean | true |
| Strength | Number | 100 |
| AimType | String | Hold |
| Name | Type | Default |
|---|---|---|
| Enabled | Boolean | false |
| MinFov | Number | 15 |
| MaxFov | Number | 80 |
| DynamicFov | Boolean | true |
| ShowFov | Boolean | false |
| Strength | Number | 55 |
| SlowSensitivity | Boolean | true |
| SlowFactor | Number | 1.75 |
| RequireMovement | Boolean | true |
| Name | Type | Default |
|---|---|---|
| Enabled | Boolean | true |
| Dynamic | Boolean | true |
| Radius | Number | 100 |
| Transparency | Number | 1 |
| Color | Color3 | 255,255,255 |
| NumSides | Number | 64 |
| Name | Type | Default |
|---|---|---|
| Enabled | Boolean | true |
| Delay | Number | 60 |
| Spam | Boolean | true |
| ClicksPerSecond | Number | 10 |
| Name | Type | Default |
|---|---|---|
| TeamCheck | Boolean | true |
| VisibleCheck | Boolean | true |
| RefreshRate | Number | 10 |
| Keybind | String | MouseButton2 |
| ToggleKey | String | RightShift |
| MaximumDistance | Number | 300 |
| AlwaysActive | Boolean | false |
| Whitelisted | Table | {} |
| WhitelistFriends | Boolean | true |
| Ignore | Table | {} |
The type you provided is invalid. Check for spelling or capitalization mistakes. Types are case sensitive.
The option you provided is invalid. Check for spelling or capitalization mistakes. Options are case sensitive.