Skip to content

Aimsense Lua API Documentation

High-performance LuaJIT 2.1 scripting bridge for CS:GO. Build custom visuals, anti-aim logic, ragebot telemetry, menu widgets, and networking.

Getting Started

Learn where to install scripts, how to manage scripts in the menu, console output formatting, and your first hello world script. Read Guide →

Script Lifecycle

Understand isolated script environments, automatic rollback on unload, menu state persistence, and deferred memory cleanup. Read Guide →

Callbacks & Events

Hook into tick execution with createmove, antiaim, frame_stage, game_events, aim_ack, and custom draw_chams. Read Guide →

Reading & Writing Netprops

Access Source engine networked properties directly on entities with automatic recursive receive table resolution. Read Guide →

UI & Menu Customization

Create custom tabs, groupboxes, widgets, inline switches, gear popups, and query or override native cheat controls. Read Guide →

Gotchas & Best Practices

Critical rules regarding game thread performance, render boundaries, 0-based netprop arrays, and JSON serialization. Read Guide →

Examples & Recipes

Ready-to-use production recipes for health bar ESP, bunnyhopping, static anti-aim, ragebot miss logging, and JSON storage. Read Guide →

CS:GO Game Events

Comprehensive reference of 160+ Source engine game events (player_death, player_hurt, bomb_planted, weapon_fire, bullet_impact, etc.) and their payload properties. View Game Events Table →

Windows Virtual-Key Codes

Complete table of Windows Virtual-Key (VK) codes in hexadecimal and decimal formats for utils.is_key_pressed and keybind:get_key(). View Virtual Keys Table →

Core Engine & Client

  • globals: Engine timings, ticks, server state & global functions
  • client: Callbacks, delays, reload/unload & logs
  • common: Map names, voice states & system time
  • cvar: ConVar get/set, name resolution & flags
  • utils: Commands, raycasts, bullet penetration & interfaces

Entities & Weapons

  • entity: Entity querying, players, resource tables & avatars
  • csgo_weapons: Weapon stats, ballistics, economy & clip sizes
  • localize: CS:GO translation token lookup
  • types: Full type specs (vector, qangle, player_t, user_cmd_t)

UI & Rendering

  • ui: Custom menu widgets, gears, inline switches & overrides
  • render: 2D/3D shapes, text, fonts, images, SVGs & projections
  • materials: Material compilation, KeyValues & custom chams
  • animations: Frame-rate independent animation state engine
  • easing: Robert Penner easing equations
  • gif: Animated GIF decoding & frame renderer

Combat & Exploits

  • rage: Anti-aim yaw, tickbase shift charges & peeking state
  • chat: Local in-game text chat formatting

Storage & System

  • files: Binary-safe file reading, writing, folders & deletion
  • database: Cross-script persistent key-value store
  • json: Type-preserving JSON parser and serializer
  • clipboard: Operating system clipboard read/write
  • sourcenav: Source navigation mesh binary parser
  • unzip: Zip/tar archive extraction

Networking & Security

  • network: Low-level HTTP requests (sync & async)
  • http: Steam HTTP bridge with status & headers
  • crypto: Base64, MD5, SHA-1, SHA-256, and AES-256
  • panorama: Panorama JavaScript execution bridge