Lua · Examples · ESP
ESP extras
Money, armour and Faceit level under every enemy's ESP.
Uses: esp.add_text, players.intel
esp_extras.lua
-- name: ESP Extras
-- author: Adolfjon
-- version: 1.0
-- description: Money, armour and Faceit level under the ESP.
ui.checkbox("money", "Money", true)
ui.checkbox("armor", "Armour", true)
ui.checkbox("faceit", "Faceit level", false)
local green = color(120, 230, 140)
local blue = color(130, 180, 255)
local orange = color(255, 150, 60)
function on_frame()
for _, p in ipairs(game.players()) do
if p.enemy then
if ui.get("money") and p.money > 0 then
esp.add_text(p.slot, "$" .. p.money, green)
end
if ui.get("armor") and p.armor > 0 then
esp.add_text(p.slot, "armor " .. p.armor, blue)
end
if ui.get("faceit") and p.steamid ~= "" and p.steamid ~= "0" then
local i = players.intel(p.steamid)
if i and i.faceit then esp.add_text(p.slot, "FACEIT " .. i.faceit.level, orange) end
end
end
end
endInstall it
- Press Copy on the code above.
- In the menu, open Lua and press From Clipboard. The file is named from its
-- name:line. - Turn the script on in the list. Its settings show on its own tab.
Change anything you like and press Save (Ctrl+S) in the editor; the script reloads at once. See Getting started for the other ways to add scripts.