{
  "format": "astral-documentation-v1",
  "pages": [
    {
      "group": "Start here",
      "id": "overview",
      "title": "Overview",
      "summary": "What Astral includes and how this documentation is organized.",
      "keywords": "home introduction universal game support",
      "html": "<p>This documentation mirrors Astral's interface. Search for any feature, setting, or Lua API to learn what it does, how to configure it, and where it is useful.</p>\n        <div class=\"callout\"><strong>How to use this wiki</strong><p>Press <kbd>/</kbd> anywhere, type a feature or API name, and open the exact result. Every page has a permanent hash URL you can bookmark or send to another user.</p></div>\n        <h2>Choose a section</h2><div class=\"card-grid\">\n          <button class=\"jump-card\" data-doc=\"loader\"><span>01</span><strong>Install and load</strong><small>Account, release channel, Roblox state, and common loader errors.</small></button>\n          <button class=\"jump-card\" data-doc=\"aimbot\"><span>02</span><strong>Combat</strong><small>Aimbot, Silent Aim, filters, triggerbot, and targeting behavior.</small></button>\n          <button class=\"jump-card\" data-doc=\"player-esp\"><span>03</span><strong>Visuals</strong><small>ESP preview, chams, effects, tracers, radar, and HUD.</small></button>\n          <button class=\"jump-card\" data-doc=\"lua-overview\"><span>04</span><strong>Lua API</strong><small>Dedicated API pages with signatures, examples, permissions, and errors.</small></button>\n        </div>\n        <h2>Release vocabulary</h2>\n        <table><thead><tr><th>Term</th><th>Meaning</th></tr></thead><tbody>\n          <tr><td>Stable</td><td>Recommended public build with broader testing.</td></tr>\n          <tr><td>Nightly</td><td>Access-controlled testing build with newer and potentially unstable work.</td></tr>\n          <tr><td>Universal</td><td>Designed to work from standard Roblox player and character data.</td></tr>\n          <tr><td>Game-specific</td><td>Uses a dedicated adapter and only appears for a recognized experience.</td></tr>\n        </tbody></table>"
    },
    {
      "group": "Start here",
      "id": "loader",
      "title": "Loader & installation",
      "summary": "Load Stable, Nightly, or Kernel correctly and diagnose loader failures.",
      "keywords": "install download sha-256 mismatch outdated waiting roblox release stable nightly kernel load product",
      "html": "<p>Download Astral only through the official website or forums. Start Roblox, join an experience, wait for the client to finish loading, then open the loader and select Roblox.</p>\n        <h2>Normal load sequence</h2><ol class=\"steps\"><li><span>1</span><div><strong>Sign in</strong><p>The loader should show <em>Status: Active</em>. Authentication errors remain on the product screen so you can retry.</p></div></li><li><span>2</span><div><strong>Select a release</strong><p>Use Stable normally. Nightly only appears when the account has Nightly access. Select Kernel only for a feature that explicitly requires it.</p></div></li><li><span>3</span><div><strong>Join Roblox first</strong><p>A server selector may expose only partial player data. For the cleanest start, load after the target experience reaches its lobby or spawn state.</p></div></li><li><span>4</span><div><strong>Load Product</strong><p>Wait for initialization and resource loading to complete, then use the configured menu key.</p></div></li></ol>\n        <h2>Error meanings</h2><table><thead><tr><th>Message</th><th>What it means</th><th>What to do</th></tr></thead><tbody>\n          <tr><td>SHA-256 mismatch</td><td>The downloaded executable does not match the server manifest.</td><td>Do not run it. Refresh and download again. If both channels fail, report the exact filename.</td></tr>\n          <tr><td>Outdated</td><td>The Roblox build and Astral build do not match.</td><td>Wait for the matching release; profiles are not the cause.</td></tr>\n          <tr><td>Waiting for Roblox</td><td>No usable live game session is attached yet.</td><td>Join a game, wait for loading, then retry once.</td></tr>\n          <tr><td>Session expired</td><td>The account session could not be refreshed.</td><td>Sign in again. Unsaved cloud changes should be retried after authentication succeeds.</td></tr>\n        </tbody></table>"
    },
    {
      "group": "Start here",
      "id": "profiles",
      "title": "Profiles & cloud sync",
      "summary": "Create, save, load, and understand Yours versus Subscribed profiles.",
      "keywords": "config profile cloud save load subscribed yours appearance hud position team flag",
      "html": "<p>Profiles are cloud-backed configuration snapshots. They store feature values, keybinds, theme appearance, ESP element settings, team/filter state, and movable HUD positions.</p>\n        <h2>Yours and Subscribed</h2><table><thead><tr><th>Area</th><th>Behavior</th></tr></thead><tbody><tr><td>Yours</td><td>Create, edit, rename, save, load, and delete your private profiles.</td></tr><tr><td>Subscribed</td><td>Load profiles published by another author. They remain read-only unless copied into your own profile.</td></tr></tbody></table>\n        <h2>Recommended workflow</h2><ol class=\"steps\"><li><span>1</span><div><strong>Create one profile per purpose</strong><p>Use recognizable names such as “Universal clean” or the game name.</p></div></li><li><span>2</span><div><strong>Configure and arrange</strong><p>Set features, right-click ESP preview elements, move HUD blocks, and adjust appearance.</p></div></li><li><span>3</span><div><strong>Save explicitly</strong><p>Loading another profile replaces the current state. Save before switching.</p></div></li><li><span>4</span><div><strong>Verify once</strong><p>Reload the profile and confirm binds, HUD positions, team colors, and preview settings restored.</p></div></li></ol>\n        <div class=\"callout warning\"><strong>Save fails</strong><p>Confirm your session is active and the selected profile is under Yours. A subscribed profile cannot be overwritten.</p></div>"
    },
    {
      "group": "Start here",
      "id": "keybinds",
      "title": "Keybinds & interface",
      "summary": "Bind modes, floating windows, animated panels, and menu organization.",
      "keywords": "hold toggle always double click menu key keybind list window drag snap appearance",
      "html": "<h2>Bind modes</h2><table><thead><tr><th>Mode</th><th>Behavior</th></tr></thead><tbody><tr><td>Hold</td><td>Active only while the assigned key is held.</td></tr><tr><td>Toggle</td><td>One press enables; the next press disables.</td></tr><tr><td>Always</td><td>Follows the feature checkbox without a key press.</td></tr><tr><td>Double click</td><td>Void Blink can require a second press inside the displayed confirmation timer.</td></tr></tbody></table>\n        <h2>Floating windows</h2><p>Settings → Interface &amp; Overlays controls the Player List, Keybind List, Appearance, Config window, Explorer, and Spotify player. Open the menu to arrange HUD panels. Drag a block away to detach it, or move it close to the stack to snap it back. Order, position, and detached state save with the active profile.</p>\n        <h2>Keybind list states</h2><p>The list displays the feature name and assigned key. State changes animate toward the theme color. Void Blink uses lower-case status text and can show <em>click again</em>, a countdown, and <em>teleported!</em>.</p>\n        <div class=\"callout\"><strong>Menu key</strong><p>Change it in Settings → Application Settings. Avoid assigning the same key to a frequently used feature.</p></div>"
    },
    {
      "group": "Tools",
      "id": "explorer",
      "title": "Explorer overview",
      "summary": "Understand the hierarchy, property inspector, context actions, object insertion, and decompiler.",
      "keywords": "dex explorer overview hierarchy properties insert child actions decompiler",
      "html": "<p>Enable Explorer in <strong>Settings → Interface &amp; Overlays</strong>. It provides a live view of the current DataModel: the hierarchy is on the left and the selected object's properties are on the right.</p>\n        <div class=\"callout\"><strong>Local session tool</strong><p>Objects created, edited, duplicated, or deleted through Explorer affect the current local Roblox session. The server may replace replicated values, and everything must be rediscovered after joining another server.</p></div>\n        <h2>Explorer documentation</h2><div class=\"card-grid\">\n          <button class=\"jump-card\" data-doc=\"explorer-hierarchy\"><strong>Hierarchy &amp; search</strong><small>Navigate services, expand branches, search, refresh, and copy paths.</small></button>\n          <button class=\"jump-card\" data-doc=\"explorer-properties\"><strong>Property inspector</strong><small>Read values, use typed editors, write changes, and understand unsupported types.</small></button>\n          <button class=\"jump-card\" data-doc=\"explorer-actions\"><strong>Object actions</strong><small>Duplicate, delete, refresh, and copy session information.</small></button>\n          <button class=\"jump-card\" data-doc=\"explorer-insert\"><strong>Insert &amp; customize</strong><small>Create supported children, effects, lights, GUI, decals, and textures.</small></button>\n          <button class=\"jump-card\" data-doc=\"explorer-session\"><strong>Session safety</strong><small>Read failures, stale objects, server hops, and recovery steps.</small></button>\n          <button class=\"jump-card\" data-doc=\"decompiler\"><strong>Script decompiler</strong><small>Open reconstructed LocalScript and ModuleScript source.</small></button>\n        </div>\n        <h2>Typical workflow</h2><ol class=\"steps\"><li><span>1</span><div><strong>Find an object</strong><p>Expand the hierarchy or search by its name or class.</p></div></li><li><span>2</span><div><strong>Select it</strong><p>Wait for its safe properties to populate in the right pane.</p></div></li><li><span>3</span><div><strong>Inspect or edit</strong><p>Use the generated editor, or open the object's context menu for actions.</p></div></li><li><span>4</span><div><strong>Refresh after changes</strong><p>Refresh the affected branch when a game creates, removes, or reparents objects.</p></div></li></ol>"
    },
    {
      "group": "Tools",
      "id": "explorer-hierarchy",
      "title": "Hierarchy & search",
      "summary": "Navigate the live DataModel, locate objects, refresh branches, and copy readable paths.",
      "keywords": "explorer hierarchy tree search name class expand refresh branch copy path services children",
      "html": "<p>The hierarchy shows the currently discovered DataModel as an expandable tree. Each row includes the object's name, class, and a class-appropriate icon.</p>\n        <h2>Navigation controls</h2><table><thead><tr><th>Control</th><th>Behavior</th></tr></thead><tbody><tr><td>Expand arrow</td><td>Loads and reveals the selected object's direct children.</td></tr><tr><td>Search</td><td>Filters discovered rows by object name or class name.</td></tr><tr><td>Refresh</td><td>Reloads the root and clears hierarchy state that no longer belongs to the live session.</td></tr><tr><td>Refresh branch</td><td>Reloads only the selected object's children.</td></tr><tr><td>Copy path</td><td>Copies a readable route such as <code>Workspace.Camera.ViewModel.Tool</code>.</td></tr></tbody></table>\n        <h2>Example: find a weapon model</h2><ol class=\"steps\"><li><span>1</span><div><strong>Search for Tool</strong><p>Use the search field to narrow the visible tree.</p></div></li><li><span>2</span><div><strong>Confirm the class and parent</strong><p>Two objects may share a name; expand their parents to identify the correct one.</p></div></li><li><span>3</span><div><strong>Refresh when it changes</strong><p>Viewmodels are commonly replaced after equipping, respawning, or switching weapons.</p></div></li></ol>\n        <div class=\"callout\"><strong>Search scope</strong><p>Search filters objects Explorer has already discovered. Expand or refresh the relevant branch if a newly created object is missing.</p></div>"
    },
    {
      "group": "Tools",
      "id": "explorer-properties",
      "title": "Property inspector",
      "summary": "Read reflected properties and edit supported values with type-specific controls.",
      "keywords": "explorer properties read write editor bool number string vector color material enum instance content id unsupported",
      "html": "<p>Select an object to load its safe reflected properties. Explorer reads them in the background and chooses an editor based on each property's type.</p>\n        <h2>Editors</h2><table><thead><tr><th>Value type</th><th>Editor</th><th>Example</th></tr></thead><tbody><tr><td>Boolean</td><td>Checkbox</td><td>Anchored, Enabled, CanCollide</td></tr><tr><td>Number</td><td>Numeric field</td><td>Transparency, Brightness, Range</td></tr><tr><td>String / Content</td><td>Text field</td><td>Name, Texture, SoundId</td></tr><tr><td>Vector / dimensions</td><td>Component fields</td><td>Position, Size, UDim2 values</td></tr><tr><td>Color</td><td>Color editor</td><td>Color, Ambient, Light color</td></tr><tr><td>Enum</td><td>Preset dropdown where available</td><td>Material, Shape, Face</td></tr><tr><td>Instance reference</td><td>Object reference display/editor when supported</td><td>Parent, Adornee, attachments</td></tr></tbody></table>\n        <h2>Editing a property</h2><ol class=\"steps\"><li><span>1</span><div><strong>Select the object</strong><p>Confirm its name, class, and parent before changing anything.</p></div></li><li><span>2</span><div><strong>Change one value</strong><p>Use the displayed editor and commit the value.</p></div></li><li><span>3</span><div><strong>Verify the result</strong><p>Observe the object, then refresh that property if the game immediately replaces it.</p></div></li></ol>\n        <div class=\"callout warning\"><strong>Unsupported type</strong><p>Unsupported or known-unsafe properties remain read-only. This does not mean the object is broken; Explorer deliberately avoids guessing how an unknown reflected value should be read or written.</p></div>"
    },
    {
      "group": "Tools",
      "id": "explorer-actions",
      "title": "Object actions",
      "summary": "Use the context menu to refresh, duplicate, delete, and copy object information.",
      "keywords": "explorer context menu duplicate clone delete destroy refresh branch copy path address actions",
      "html": "<p>Right-click a hierarchy row to open the actions supported for that object.</p>\n        <h2>Actions</h2><table><thead><tr><th>Action</th><th>Result</th></tr></thead><tbody><tr><td>Refresh branch</td><td>Discards the displayed child list and discovers it again.</td></tr><tr><td>Copy path</td><td>Copies a readable hierarchy path for notes or scripts.</td></tr><tr><td>Copy address</td><td>Copies the object's current-session address for diagnostics and trusted Lua tools.</td></tr><tr><td>Duplicate</td><td>Clones the selected supported object under the same parent.</td></tr><tr><td>Delete</td><td>Destroys the selected local object.</td></tr><tr><td>Insert child</td><td>Opens the supported child-type menu.</td></tr></tbody></table>\n        <h2>Example: make a safe copy</h2><ol class=\"steps\"><li><span>1</span><div><strong>Select a local object</strong><p>Use Copy path first if you may need to find the original again.</p></div></li><li><span>2</span><div><strong>Choose Duplicate</strong><p>The copy is placed beneath the same parent when cloning is supported.</p></div></li><li><span>3</span><div><strong>Rename the copy</strong><p>Give it a distinct name before editing its properties.</p></div></li></ol>\n        <div class=\"callout warning\"><strong>Delete is immediate</strong><p>Explorer does not provide an undo history. Delete only local objects you can recreate or recover by rejoining.</p></div>"
    },
    {
      "group": "Tools",
      "id": "explorer-insert",
      "title": "Insert & customize",
      "summary": "Create supported children and configure visual, audio, GUI, and effect objects.",
      "keywords": "explorer insert child part model folder attachment beam trail particle emitter light highlight sound gui decal texture",
      "html": "<p>Right-click the intended parent, open <strong>Insert child</strong>, and choose a supported class. The new object appears beneath that parent and can be configured through the property inspector.</p>\n        <h2>Supported categories</h2><table><thead><tr><th>Category</th><th>Examples</th></tr></thead><tbody><tr><td>Structure</td><td>Folder, Model, Part, and supported mesh objects.</td></tr><tr><td>Connections</td><td>Attachment, Beam, Trail, and supported constraints.</td></tr><tr><td>Effects</td><td>ParticleEmitter, Highlight, PointLight, and other supported lights.</td></tr><tr><td>Audio</td><td>Sound with ID, volume, playback speed, and loop controls.</td></tr><tr><td>Interface</td><td>ScreenGui, SurfaceGui, Frame, TextLabel, and ImageLabel.</td></tr><tr><td>Surface content</td><td>Decal and Texture children with content IDs and face selection.</td></tr></tbody></table>\n        <h2>Example: add a light</h2><ol class=\"steps\"><li><span>1</span><div><strong>Select a Part</strong><p>The light needs a suitable parent in the world.</p></div></li><li><span>2</span><div><strong>Insert PointLight</strong><p>It appears as a child of the selected Part.</p></div></li><li><span>3</span><div><strong>Edit the result</strong><p>Set Color, Brightness, Range, and Enabled in the property inspector.</p></div></li></ol>\n        <div class=\"callout\"><strong>Parent compatibility</strong><p>Not every class is meaningful beneath every parent. If an object is created but has no visible effect, verify its parent and required reference properties first.</p></div>"
    },
    {
      "group": "Tools",
      "id": "explorer-session",
      "title": "Session safety & errors",
      "summary": "Understand read failures, stale objects, server hops, and safe recovery.",
      "keywords": "explorer read failed retry unavailable waitinghybridscriptsjob stale server hop datamodel session recovery crash safe",
      "html": "<p>Explorer works against the live Roblox session. A server hop, teleport, respawned subsystem, or replaced callback can invalidate objects that were previously readable.</p>\n        <h2>Status meanings</h2><table><thead><tr><th>Status</th><th>Meaning</th><th>Action</th></tr></thead><tbody><tr><td>read failed</td><td>The property could not be safely read from the selected live object.</td><td>Refresh once after confirming the object still exists.</td></tr><tr><td>unsupported type</td><td>Explorer recognizes the property but has no safe editor for its reflected type.</td><td>Leave it read-only.</td></tr><tr><td>Object disappeared</td><td>The game destroyed or replaced the selected Instance.</td><td>Refresh its parent and select the replacement.</td></tr><tr><td>Live WaitingHybridScriptsJob is unavailable</td><td>The reflected call gate no longer has a valid live callback.</td><td>Wait for reattachment; if it persists after the game is ready, restart Roblox.</td></tr></tbody></table>\n        <h2>After switching servers</h2><ol class=\"steps\"><li><span>1</span><div><strong>Wait for the new game</strong><p>Let the DataModel and local player finish loading.</p></div></li><li><span>2</span><div><strong>Refresh Explorer</strong><p>Old addresses and object wrappers must not be reused.</p></div></li><li><span>3</span><div><strong>Reopen the branch</strong><p>Locate the new object rather than retrying a stale row repeatedly.</p></div></li></ol>\n        <div class=\"callout warning\"><strong>Repeated retries are not a fix</strong><p>If every safe property fails, stop clicking Retry. The session bridge needs to reacquire a valid callback before reads and writes can succeed.</p></div>"
    },
    {
      "group": "Tools",
      "id": "decompiler",
      "title": "Script decompiler",
      "summary": "Decompile LocalScripts and ModuleScripts from Explorer.",
      "keywords": "decompile decompiler localscript modulescript bytecode source reconstructed astral explorer",
      "html": "<p>Right-click a <strong>LocalScript</strong> or <strong>ModuleScript</strong> in Explorer and choose <strong>Decompile</strong>. Astral reads the current bytecode container, validates it, and opens reconstructed Lua source in a read-only editor.</p>\n        <h2>Workflow</h2><ol class=\"steps\"><li><span>1</span><div><strong>Find a script</strong><p>Locate a LocalScript or ModuleScript in the hierarchy.</p></div></li><li><span>2</span><div><strong>Choose Decompile</strong><p>Use the script's right-click context menu.</p></div></li><li><span>3</span><div><strong>Review the output</strong><p>The decompiler window shows reconstructed, read-only source or a specific failure message.</p></div></li></ol>\n        <h2>What is preserved</h2><table><thead><tr><th>Usually available</th><th>May differ or be missing</th></tr></thead><tbody><tr><td>Instructions, constants, control flow, function structure, and recoverable names.</td><td>Original comments, whitespace, formatting, local names removed by compilation, and exact source structure.</td></tr></tbody></table>\n        <h2>Common failures</h2><table><thead><tr><th>Error</th><th>Meaning</th></tr></thead><tbody><tr><td>Bytecode pointer invalid</td><td>The selected object no longer exposes a valid bytecode container for this session.</td></tr><tr><td>Unsupported container</td><td>The bytecode layout could not be normalized safely.</td></tr><tr><td>Could not reconstruct</td><td>Bytecode was read, but usable Lua source could not be produced.</td></tr></tbody></table>\n        <div class=\"callout\"><strong>Read-only output</strong><p>Editing text in the decompiler is not the same as replacing the live script. Copy useful sections into your own Lua script when you need to experiment.</p></div>"
    },
    {
      "group": "Tools",
      "id": "game-support",
      "title": "Game-specific support",
      "summary": "The dedicated game tabs and controls included in the current build.",
      "keywords": "supported games phantom forces criminality counter blox murder mystery blackout defuse division dedicated tab",
      "html": "<p>Astral adds a dedicated menu tab when it recognizes one of the supported experiences below. The tab contains controls made specifically for that game's object layout or systems.</p>\n        <h2>Current dedicated tabs</h2><table><thead><tr><th>Game</th><th>Controls</th></tr></thead><tbody>\n          <tr><td>Phantom Forces</td><td>PF Mode for decrypted player models, PF ESP, PF Team Check, and Resolve Names. ESP elements, colors, and chams are configured from Visuals.</td></tr>\n          <tr><td>Criminality</td><td>Dealer ESP, Mystery Boxes ESP, Crates ESP, crate highlighting, dealer stock viewing and refresh, stock-item notifications, and configurable local bullet trails.</td></tr>\n          <tr><td>Murder Mystery 2</td><td>Murderer ESP and Sheriff ESP with separate colors.</td></tr>\n          <tr><td>Counter Blox</td><td>Dropped Items ESP with selectable weapon highlighting, plus smoke transparency, color, and smoke visualizer controls.</td></tr>\n          <tr><td>Blackout</td><td>NPC ESP with Military, Rebel, Vulture, and default colors; Custom Tool ESP; and Airdrop ESP with its own color.</td></tr>\n          <tr><td>Defuse / Division</td><td>Wallbang (Ignore Parts) control for the supported experience.</td></tr>\n        </tbody></table>\n        <h2>When a tab appears</h2><p>The matching tab is inserted automatically after Astral identifies the current experience. Its position is immediately before Lua in the main menu.</p>\n        <div class=\"callout\"><strong>No dedicated tab</strong><p>This does not mean every Astral feature is unavailable. Universal ESP, combat filters, world visuals, movement, HUD, and Lua tools can still operate where their required data is accessible.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "lua-overview",
      "title": "Lua overview",
      "summary": "Cloud scripts, permissions, editor, console, and runtime safety.",
      "keywords": "lua scripts create subscribed yours editor console permission sandbox trusted api hybrid runtime",
      "html": "<p>The Lua tab is a script library rather than a launcher popup. Use <strong>All</strong>, <strong>Subscribed</strong>, or <strong>Yours</strong> to filter scripts. Create Lua opens a private cloud script in the editor; Console opens independently.</p>\n        <div class=\"callout\"><strong>Runtime model</strong><p>Astral uses a proprietary hybrid architecture. Implementation details are private and may change; the pages in this wiki document the supported public Lua surface.</p></div>\n        <h2>Permission tiers</h2><table><thead><tr><th>Script</th><th>Access</th></tr></thead><tbody><tr><td>Subscribed (default)</td><td>Safe core, typed values, drawing, UI, input, players, events, storage, and an isolated script file sandbox. No HTTP, GC, memory, offsets, native libraries, arbitrary files, or OS APIs.</td></tr><tr><td>Subscribed + GC/HTTPS</td><td>Session-only permission for public HTTPS plus GC, instance, and script introspection. Still no raw memory, offsets, arbitrary filesystem access, FFI, or private-network URLs.</td></tr><tr><td>Yours / editor</td><td>Trusted Astral APIs including advanced Roblox helpers. Native libraries and Windows filesystem/process APIs remain blocked.</td></tr></tbody></table>\n        <h2>Limits</h2><ul><li>Each script has an isolated global environment.</li><li>Lua allocation is capped at 64 MiB and source payloads at 2 MiB.</li><li>Host-dispatched execution is time-budgeted.</li><li>Long-running scripts should unload cleanly before replacement.</li><li>Permissions can change only while a subscribed script is unloaded.</li></ul>\n        <div class=\"callout warning\"><strong>Only run code you trust</strong><p>GC/HTTPS can inspect game runtime data and contact public websites. Review the script and author before granting that session permission.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "data-types",
      "title": "Data types overview",
      "summary": "Typed vectors, colors, dimensions, transforms, ranges, regions, rays, dates, and enums.",
      "keywords": "Vector2 Vector3 Vector2int16 Vector3int16 Color3 CFrame UDim UDim2 Rect NumberRange Region3 Ray DateTime BrickColor RaycastParams RaycastArguments RaycastResult Enum Enums",
      "html": "<p>Astral SDK values behave like normal Lua objects while keeping the field shapes accepted by the reflected Instance bridge and drawing APIs.</p>\n        <h2>Spatial and numeric types</h2><div class=\"api-list\"><div><code>Vector2.new(x, y)</code><p>Magnitude, Unit, Dot, Lerp, arithmetic, equality, and readable string output.</p></div><div><code>Vector3.new(x, y, z)</code><p>Magnitude, Unit, Dot, Cross, Lerp, arithmetic, and axis constants.</p></div><div><code>CFrame.new / Angles / lookAt</code><p>Position + Euler transform container compatible with reflected properties.</p></div><div><code>UDim / UDim2 / Rect</code><p>GUI dimensions and rectangles.</p></div><div><code>NumberRange / Region3 / Ray</code><p>Ranges and 3D query containers.</p></div></div>\n        <h2>Color and enum types</h2><pre><code>local accent = Color3.fromRGB(65, 145, 255)\nprint(accent:ToHex()) -- #4191FF\n\nlocal size = UDim2.fromOffset(240, 90)\nlocal facing = CFrame.lookAt(Vector3.zero, Vector3.new(0, 0, -1))\nlocal material = Enum.Material.Neon</code></pre>\n        <p>Also available: Vector2int16, Vector3int16, Region3int16, DateTime, BrickColor, RaycastParams, RaycastArguments, RaycastResult, EnumItem, <code>Enum.RaycastFilterType</code>, and the <code>Enums</code> alias.</p>\n        <div class=\"callout\"><strong>CFrame scope</strong><p>Astral's CFrame is a practical position + Euler value, not a complete clone of every Roblox matrix operation.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "signals-task",
      "title": "Signals & task overview",
      "summary": "Local events, disconnectable connections, coroutines, and bounded scheduling.",
      "keywords": "Signal Connection Connect Once Fire Wait Disconnect task spawn defer delay cancel wait coroutine scheduler",
      "html": "<h2>Signal</h2><pre><code>local changed = Signal.new()\nlocal connection = changed:Connect(function(value)\n    print(\"changed\", value)\nend)\nchanged:Fire(42)\nconnection:Disconnect()</code></pre>\n        <div class=\"api-list\"><div><code>Signal:Connect(fn)</code><p>Returns a Connection with Connected, Disconnect, and Destroy.</p></div><div><code>Signal:Once(fn)</code><p>Disconnects immediately after the first fire.</p></div><div><code>Signal:Wait()</code><p>Yields the current coroutine until the next fire.</p></div></div>\n        <h2>task</h2><table><thead><tr><th>Function</th><th>Behavior</th></tr></thead><tbody><tr><td><code>task.spawn(fn)</code></td><td>Schedule on the next Lua frame pump.</td></tr><tr><td><code>task.defer(fn)</code></td><td>Alias of spawn.</td></tr><tr><td><code>task.delay(seconds, fn)</code></td><td>Schedule after a delay and return an id.</td></tr><tr><td><code>task.cancel(id)</code></td><td>Cancel pending work.</td></tr><tr><td><code>task.wait(seconds)</code></td><td>Wait when the current permission tier exposes that primitive.</td></tr></tbody></table>"
    },
    {
      "group": "Lua API",
      "id": "lifecycle-cache",
      "title": "Lifecycle & cache",
      "summary": "Session transitions, unload cleanup, resource bags, capabilities, and TTL cache.",
      "keywords": "runtime stats capabilities session generation unload on_session_changed ResourceBag cleanup cache ttl game_alive",
      "html": "<h2>Runtime state</h2><p><code>runtime.stats()</code> returns Lua memory, the 64 MiB limit, callback budget, game availability, session generation, and Unix milliseconds. <code>runtime.capabilities</code> identifies the exact APIs granted to the current script.</p>\n        <pre><code>if runtime.capabilities.http then\n    print(\"HTTPS is available\")\nend\n\nastral.on_session_changed(function(generation)\n    cache.clear()\nend)</code></pre>\n        <h2>Automatic cleanup</h2><p><code>astral.ResourceBag.new()</code> holds Connections, Drawing objects, callbacks, and other disposable values. Cleanup calls Disconnect, Destroy, Remove, Cancel, or the function itself.</p>\n        <pre><code>local bag = astral.ResourceBag.new()\nbag:Add(Players.PlayerAdded:Connect(function(player) print(player.name) end))\nastral.on_unload(function() bag:Cleanup() end)</code></pre>\n        <h2>TTL cache</h2><p>Use <code>cache.set(key, value, ttlSeconds?)</code>, <code>get</code>, <code>has</code>, <code>delete</code>, <code>keys</code>, and <code>clear</code>. Cache values belong only to the current script environment.</p>"
    },
    {
      "group": "Lua API",
      "id": "serialization-api",
      "title": "Serialization overview",
      "summary": "Encode structured data, transport binary text, and calculate SHA-256.",
      "keywords": "json encode decode base64 crypto sha256 serialize deserialize hash",
      "html": "<div class=\"api-list\"><div><code>json.encode(value)</code><p>Encode nil, booleans, finite numbers, strings, arrays, and string-key objects.</p></div><div><code>json.decode(text)</code><p>Decode JSON into Lua values.</p></div><div><code>base64.encode / decode</code><p>Binary-safe Base64 conversion.</p></div><div><code>crypto.sha256(value)</code><p>Lowercase 64-character SHA-256 digest.</p></div></div>\n        <pre><code>local payload = json.encode({name = \"Astral\", ids = {1, 2, 3}})\nprint(base64.encode(payload))\nprint(crypto.sha256(payload))</code></pre>\n        <h2>Limits</h2><ul><li>JSON input/output is capped at 4 MiB.</li><li>Nesting is capped at 32 levels.</li><li>Cycles, NaN, and infinity are rejected explicitly.</li></ul>"
    },
    {
      "group": "Lua API",
      "id": "files-modules",
      "title": "Files & modules overview",
      "summary": "Private per-script storage and safe Lua module imports.",
      "keywords": "fs file read write append exists list mkdir delete import module require sandbox path traversal",
      "html": "<p>Every script gets a private directory under Astral's Lua sandbox. Scripts cannot see another script's files or escape to arbitrary Windows paths.</p>\n        <div class=\"api-list\"><div><code>fs.read(path)</code><p>Read a sandbox file.</p></div><div><code>fs.write / append(path, data)</code><p>Create or update a file.</p></div><div><code>fs.exists / list / mkdir / delete</code><p>Manage sandbox entries.</p></div><div><code>fs.import(path)</code><p>Compile a local .lua module inside the caller's environment and return its results.</p></div></div>\n        <pre><code>fs.write(\"modules/math.lua\", \"return { double = function(x) return x * 2 end }\")\nlocal helper = fs.import(\"modules/math.lua\")\nprint(helper.double(21))</code></pre>\n        <h2>Boundaries</h2><ul><li>Absolute paths and <code>..</code> traversal are rejected.</li><li>8 MiB per file and 32 MiB per script sandbox.</li><li>Imported modules must end in .lua and stay under 2 MiB.</li></ul>"
    },
    {
      "group": "Lua API",
      "id": "services-api",
      "title": "Services overview",
      "summary": "Session-safe camera access, projection, rays, and player signals.",
      "keywords": "Camera current position fov viewportSize worldToViewportPoint viewportPointToRay Players PlayerAdded PlayerRemoving",
      "html": "<h2>Camera</h2><div class=\"api-list\"><div><code>Camera.current()</code><p>Session-safe wrapped camera or nil.</p></div><div><code>Camera.position / fov / viewportSize</code><p>Common camera properties.</p></div><div><code>Camera.worldToViewportPoint(position)</code><p>Returns Vector2 and visibility state.</p></div><div><code>Camera.viewportPointToRay(point)</code><p>Builds a world-space ray using viewport, FOV, and current camera rotation.</p></div><div><code>Camera.Changed</code><p>Fires when Astral changes game-session generation.</p></div></div>\n        <h2>Players</h2><p><code>Players</code> forwards the existing players API and adds <code>PlayerAdded</code> and <code>PlayerRemoving</code> Signals.</p>\n        <pre><code>Players.PlayerAdded:Connect(function(player)\n    print(player.name, player.userid)\nend)\n\nfor _, player in ipairs(Players.all()) do\n    print(player.display_name, player.health)\nend</code></pre>"
    },
    {
      "group": "Lua API",
      "id": "retained-drawing",
      "title": "Retained Drawing",
      "summary": "Persistent Text, Line, Square, Circle, and remote Image objects with visibility and Z order.",
      "keywords": "Drawing new object Text Line Square Circle Image Visible ZIndex Remove Destroy retained overlay png jpeg gif",
      "html": "<p>The retained API stores objects and redraws them automatically. Use immediate <code>draw.*</code> for one-frame work and <code>Drawing.new</code> for persistent overlays.</p>\n        <pre><code>local label = Drawing.new(\"Text\")\nlabel.Text = \"Astral SDK\"\nlabel.Position = Vector2.new(20, 20)\nlabel.Color = 0xFFFFFFFF\nlabel.ZIndex = 10\n\nastral.on_unload(function()\n    label:Remove()\nend)</code></pre>\n        <p>Supported objects are Text, Line, Square, Circle, and Image. Shared fields include <code>Visible</code> and <code>ZIndex</code>; each type exposes its relevant geometry, color, thickness, filled, and text fields. Image adds <code>Data</code> (public HTTPS URL), <code>Position</code>, <code>Size</code>, <code>Color</code>, and <code>Rounding</code>. <code>Remove</code> and <code>Destroy</code> are aliases and release an Image handle automatically.</p>\n        <div class=\"callout warning\"><strong>Advanced permission</strong><p>Remote Image objects perform public HTTPS I/O, so subscribed scripts need the user-granted Advanced session permission.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "instance-api",
      "title": "Instance",
      "summary": "Create, modify, query, animate, clone, and destroy client-local Roblox objects.",
      "keywords": "Instance.new create part model folder set get properties parent children descendants clone destroy effectAt animate batch material shape normalid",
      "html": "<p><code>Instance.*</code> creates and modifies client-local Roblox objects through validated reflected engine operations. Handles are numeric addresses owned by the current Roblox session.</p>\n        <h2>Core functions</h2><div class=\"api-list\">\n          <div><code>Instance.new(className, parent?, properties?)</code><p>Create an object. <code>Instance.create</code> is an alias.</p></div>\n          <div><code>Instance.available()</code><p>Returns <code>ready, status</code>. Check it before a workflow that depends on reflection.</p></div>\n          <div><code>Instance.set(instance, property, value)</code><p>Write one supported reflected property.</p></div>\n          <div><code>Instance.get(instance, property)</code><p>Read one supported reflected property.</p></div>\n          <div><code>Instance.setProperties(instance, table)</code><p>Apply several properties through one reusable gate.</p></div>\n          <div><code>Instance.setParent(instance, parent)</code><p>Dedicated parenting helper.</p></div>\n          <div><code>Instance.getChildren(instance)</code><p>Return direct children.</p></div>\n          <div><code>Instance.getDescendants(instance, limit?)</code><p>Return descendants up to the limit.</p></div>\n          <div><code>Instance.findFirstChild(instance, name, recursive?)</code><p>Find a named child.</p></div>\n          <div><code>Instance.clone(instance, parent?)</code><p>Clone a supported object.</p></div>\n          <div><code>Instance.destroy(instance)</code><p>Destroy a local object.</p></div>\n        </div>\n        <h2>Example</h2><pre><code>local workspace = game.workspace()\nlocal part, err = Instance.new(\"Part\", workspace, {\n    Name = \"Marker\",\n    Position = { x = 0, y = 8, z = 0 },\n    Size = { x = 3, y = 1, z = 3 },\n    Anchored = true,\n    CanCollide = false,\n    Color = { r = 0.2, g = 0.55, b = 1.0 },\n    Material = Instance.Material.Neon\n})\nif not part then error(err) end</code></pre>\n        <h2>Constructors and types</h2><p>Short constructors include <code>part</code>, <code>meshPart</code>, <code>model</code>, <code>folder</code>, <code>attachment</code>, <code>beam</code>, <code>trail</code>, <code>particleEmitter</code>, lights, <code>highlight</code>, <code>sound</code>, GUI objects, decals, textures, and constraints. Values include booleans, numbers/enums, strings, Instance references, Vector2/3, Color3, CFrame, UDim/UDim2, NumberRange, and constant sequences.</p>\n        <div class=\"callout warning\"><strong>Server hop rule</strong><p>Never reuse saved Instance handles after a teleport, disconnect, or DataModel replacement. Reacquire workspace, local player, camera, and descendants.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "instance-effects",
      "title": "Instance effects & animation",
      "summary": "Batched writes, located effects, emitters, beams, GUI, and animation.",
      "keywords": "Instance.batch effectAt animate particle emitter beam trail light highlight sound gui cframe udim2",
      "html": "<h2>Batching</h2><p><code>Instance.setProperties</code> reuses one reflected gate for a property table. For mixed work, use <code>Instance.batch(function)</code>:</p>\n        <pre><code>local ok, err = Instance.batch(function()\n    Instance.set(part, \"Material\", Instance.Material.Neon)\n    Instance.set(part, \"Color\", { r = 1, g = 0.55, b = 0.72 })\n    Instance.set(part, \"Transparency\", 0.15)\nend)</code></pre>\n        <div class=\"callout warning\"><strong>Keep batches short</strong><p>Do not sleep, perform HTTP, or run a long animation inside a batch. The reusable Roblox callback remains occupied until the function returns.</p></div>\n        <h2>Located effects</h2><p><code>Instance.effectAt(className, position, parent, properties)</code> creates a hidden anchored holder Part at the requested location, parents the effect to it, and returns <code>effect, holder</code>.</p>\n        <pre><code>local emitter, holder = Instance.effectAt(\n    \"ParticleEmitter\",\n    { x = 0, y = 8, z = 0 },\n    game.workspace(),\n    { Rate = 30, Lifetime = { min = 0.35, max = 0.8 } }\n)\nInstance.animate(holder, \"Position\", { x = 0, y = 18, z = 0 }, 0.8, 30)</code></pre>\n        <p><code>Instance.animate</code> is synchronous and yields the current Lua script until complete. It supports numbers, vectors, colors, CFrames, and final-step assignment for discrete values.</p>"
    },
    {
      "group": "Lua API",
      "id": "runtime-events",
      "title": "Events & runtime",
      "summary": "astral.on/off, scheduler, notifications, logging, and timing.",
      "keywords": "astral on off bind frame render ui key player_added removed spawn death delay cancel sleep wait notify log time",
      "html": "<h2>Events</h2><table><thead><tr><th>Name</th><th>Callback</th><th>Use</th></tr></thead><tbody><tr><td>frame</td><td><code>fn(dt, frameIndex)</code></td><td>Per-overlay-tick logic.</td></tr><tr><td>render</td><td><code>fn()</code></td><td>Only valid place for <code>draw.*</code>.</td></tr><tr><td>ui</td><td><code>fn()</code></td><td>Only valid place for <code>ui.*</code>.</td></tr><tr><td>key</td><td><code>fn(vkey, down)</code></td><td>Keyboard/mouse transition without auto-repeat.</td></tr><tr><td>player_added / removed</td><td><code>fn(name, userid)</code></td><td>Entity-cache join/leave.</td></tr><tr><td>spawn / death</td><td><code>fn()</code></td><td>Local alive-state transitions.</td></tr></tbody></table>\n        <h2>Register and remove</h2><pre><code>local id = astral.on(\"frame\", function(dt, frame)\n    -- work\nend)\nastral.off(\"frame\", id)</code></pre>\n        <h2>Scheduler and utilities</h2><div class=\"api-list\"><div><code>astral.spawn(fn)</code><p>Run on the next frame tick.</p></div><div><code>astral.delay(ms, fn)</code><p>Run later and return a task id.</p></div><div><code>astral.cancel(id)</code><p>Cancel a pending task.</p></div><div><code>astral.sleep(ms) / wait(ms)</code><p>Block only the current Lua script.</p></div><div><code>astral.notify(title, message, duration?, type?)</code><p>Overlay notification plus console mirror.</p></div><div><code>astral.log.debug/info/warn/error(...)</code><p>Timestamped console logging.</p></div></div>"
    },
    {
      "group": "Lua API",
      "id": "drawing-api",
      "title": "Immediate Drawing",
      "summary": "Overlay text, shapes, world-to-screen, colors, and render-event rules.",
      "keywords": "draw text pixel animated line rect circle image media png jpg jpeg gif world_to_screen overlay color imcol32 render",
      "html": "<p>All <code>draw.*</code> calls must run inside an <code>astral.on(\"render\", ...)</code> callback. Calling them from another event raises an error.</p>\n        <h2>Functions</h2><table><thead><tr><th>Function</th><th>Purpose</th></tr></thead><tbody><tr><td><code>draw.text / text_pixel</code></td><td>Default or pixel-font text.</td></tr><tr><td><code>draw.animated_text / animated_text_pixel</code></td><td>Animated Astral-color text.</td></tr><tr><td><code>draw.get_text_size*</code></td><td>Measure text before alignment.</td></tr><tr><td><code>draw.line</code></td><td>Line with optional thickness.</td></tr><tr><td><code>draw.rect / rect_filled</code></td><td>Outlined or filled rectangle.</td></tr><tr><td><code>draw.circle / circle_filled</code></td><td>Outlined or filled circle.</td></tr><tr><td><code>draw.image</code></td><td>Draw a loaded PNG, JPEG, or animated GIF handle with optional tint and corner rounding.</td></tr><tr><td><code>draw.world_to_screen</code></td><td>Project a world coordinate; returns nil when off-screen.</td></tr></tbody></table>\n        <pre><code>local white = 0xFFFFFFFF\nastral.on(\"render\", function()\n    draw.text(12, 12, white, \"Astral Lua\")\n    local x, y = draw.world_to_screen({ x = 0, y = 10, z = 0 })\n    if x then draw.circle_filled(x, y, 4, white) end\nend)</code></pre>\n        <p>Colors use packed ImGui-style <code>0xAABBGGRR</code> numeric values.</p>"
    },
    {
      "group": "Lua API",
      "id": "media-api",
      "title": "Remote images",
      "summary": "Asynchronously cache and render PNG, JPEG, and animated GIF URLs without blocking frames.",
      "keywords": "media load status release clear draw image remote url png jpg jpeg gif animation cache texture advanced https",
      "html": "<p><code>media.load(url)</code> starts one deduplicated background load and returns a numeric handle immediately. Networking, disk access, decoding, and GIF composition stay off the render thread; completed textures are uploaded to D3D11 at a maximum of one frame per overlay frame.</p>\n        <div class=\"callout\"><strong>Persistent per-script cache</strong><p>Downloaded source files are stored under <code>C:\\astral\\lua\\&lt;lua-name&gt;\\</code>. A script named <code>untitled.lua</code> loading <code>whatever.gif</code> normally produces <code>C:\\astral\\lua\\untitled\\whatever.gif</code>. Later runs decode that file without downloading the URL again. Safe URL-fingerprint suffixes are added only when two different URLs would use the same filename.</p></div>\n        <h2>Functions</h2><table><thead><tr><th>Function</th><th>Result</th></tr></thead><tbody><tr><td><code>media.load(url)</code></td><td><code>handle</code>, or <code>nil, error</code> when the request cannot be queued.</td></tr><tr><td><code>media.status(handle)</code></td><td>Table containing state, ready, width, height, frames, format, error, disk_cached, and cache_path.</td></tr><tr><td><code>media.release(handle)</code></td><td>Releases the in-memory CPU/GPU resource. Returns true when found.</td></tr><tr><td><code>media.clear()</code></td><td>Releases every in-memory script-media entry and returns the removed count. Persistent source files remain.</td></tr><tr><td><code>draw.image(handle, x, y, width?, height?, tint?, rounding?)</code></td><td>Inside a render event, returns <code>drawn, state</code>. Width/height default to the natural size when omitted or zero.</td></tr></tbody></table>\n        <pre><code>local picture, err = media.load(\"https://example.com/banner.gif\")\nassert(picture, err)\n\nastral.on(\"render\", function()\n    local info = media.status(picture)\n    if info and info.ready then\n        draw.image(picture, 24, 24, 320, 180, 0xFFFFFFFF, 8)\n    end\nend)\n\nastral.on_unload(function()\n    media.release(picture)\nend)</code></pre>\n        <h2>Cache behavior</h2><ul><li><code>media.status(handle).disk_cached</code> is true once a validated source file is available on disk; <code>cache_path</code> contains its full path.</li><li><code>media.release</code> and <code>media.clear</code> release CPU/GPU resources only. They deliberately keep persistent files so reloads remain fast.</li><li>Corrupt or unsupported cached data is discarded and downloaded again.</li><li>Each Lua folder is capped at 256 MiB; least-recently-used files are removed first.</li></ul>\n        <h2>Limits and formats</h2><ul><li>PNG, JPEG/JPG, and animated GIF are supported. MP4 is not supported by this image API.</li><li>Public HTTPS only; private, loopback, link-local, and privately resolving hosts are rejected.</li><li>8 MiB compressed input, 4096 pixels per axis, 64 MiB decoded data, and 120 GIF frames per image.</li><li>32 in-memory resources, 4 concurrent background loads, and a 256 MiB resident image budget per client.</li><li>Identical URLs within the same Lua reuse one reference-counted in-memory entry; do not call load repeatedly to animate a GIF.</li></ul>\n        <div class=\"callout warning\"><strong>Advanced permission required</strong><p>Remote images can contact a public host, so <code>media</code> and <code>draw.image</code> are exposed only to trusted scripts and subscribed scripts granted Advanced for the current session.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "ui-api",
      "title": "Custom UI",
      "summary": "Lua-created windows, widgets, persistent state, and binding helpers.",
      "keywords": "ui window begin finish child text button checkbox combo color slider input tooltip state bind",
      "html": "<p>All <code>ui.*</code> functions require an active <code>ui</code> event. <code>ui.window(name, bodyFn, open?)</code> is recommended because it safely pairs Begin/End even when the body errors.</p>\n        <h2>Widgets</h2><table><thead><tr><th>Family</th><th>Functions</th></tr></thead><tbody><tr><td>Containers</td><td><code>window</code>, <code>begin</code>, <code>finish</code>, <code>begin_child</code>, <code>end_child</code>, <code>collapsing_header</code></td></tr><tr><td>Basic</td><td><code>text</code>, <code>button</code>, <code>checkbox</code>, <code>combo</code>, <code>color_edit</code></td></tr><tr><td>Values</td><td><code>drag_int</code>, <code>drag_float</code>, <code>slider_int</code>, <code>slider_float</code>, <code>input_text</code></td></tr><tr><td>Layout</td><td><code>separator</code>, <code>same_line</code>, <code>spacing</code>, <code>tooltip</code>, next-window position/size</td></tr><tr><td>State</td><td><code>state</code>, <code>bind_checkbox</code>, <code>bind_slider_int</code>, <code>bind_slider_float</code>, <code>bind_input_text</code></td></tr></tbody></table>\n        <pre><code>local open = true\nastral.on(\"ui\", function()\n    if not open then return end\n    open = ui.window(\"My Tool\", function()\n        local enabled = ui.bind_checkbox(\"tool.enabled\", \"Enabled\", true)\n        ui.text(\"Players: \" .. players.count())\n    end, open)\nend)</code></pre>"
    },
    {
      "group": "Lua API",
      "id": "game-players-api",
      "title": "Game & players overview",
      "summary": "Current game handles and copied live player snapshots.",
      "keywords": "game local_player camera workspace place_id is_alive stats metrics players all me count get find closest filtered query health position",
      "html": "<h2>game.*</h2><div class=\"api-list\"><div><code>game.local_player()</code><p>Current local Player address or 0.</p></div><div><code>game.camera()</code><p>Current Camera address or 0.</p></div><div><code>game.workspace()</code><p>Current Workspace address or 0.</p></div><div><code>game.place_id()</code><p>Numeric place id.</p></div><div><code>game.is_alive()</code><p>Whether the current game session gate is valid.</p></div><div><code>game.stats()</code><p>Current Roblox network and Windows hardware metrics; see the metrics reference.</p></div></div>\n        <h2>players.*</h2><div class=\"api-list\"><div><code>players.all()</code><p>Copied array of live player records.</p></div><div><code>players.me()</code><p>Local player record or nil.</p></div><div><code>players.count()</code><p>Current entity count.</p></div><div><code>players.get(userid)</code><p>Lookup by user id.</p></div><div><code>players.find(name)</code><p>Exact case-insensitive name/display-name match.</p></div><div><code>players.closest(position?)</code><p>Closest player plus distance.</p></div><div><code>players.filtered(fn)</code><p>Predicate-filtered array.</p></div><div><code>players.query(options)</code><p>Filter by friendly, alive, name, distance, and origin.</p></div></div>\n        <p>Records contain name, display name, userid, health/max health, friendly/team classification, rig/state/team color, Instance/humanoid handles, and best-effort root position. Returned tables are copies.</p>\n        <div class=\"card-grid\"><button class=\"jump-card\" data-doc=\"metrics-api\"><strong>Performance &amp; network metrics</strong><small>Ping, jitter, CPU/GPU use, memory, transfer rates, and packet loss.</small></button></div>\n        <div class=\"callout warning\"><strong>Before advanced writes</strong><p>If <code>game.is_alive()</code> is false, the DataModel is tearing down. Do not use session-owned handles.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "input-api",
      "title": "Input",
      "summary": "Key state, one-shot presses, mouse position, and built-in key codes.",
      "keywords": "input key down pressed mouse position virtual key VK end home insert delete f1 mouse1",
      "html": "<div class=\"api-list\"><div><code>input.is_key_down(vkey)</code><p>True every poll while the keyboard key or mouse button is held.</p></div><div><code>input.is_key_pressed(vkey)</code><p>One-shot transition state for a new press.</p></div><div><code>input.get_mouse_pos()</code><p>Returns overlay-relative coordinates as <code>{x, y}</code>, matching the screen-space origin used by <code>draw.*</code>.</p></div></div>\n        <h2>Mouse buttons</h2><p>Use <code>input.is_key_down(input.VK.MOUSE1)</code> for the held left button and <code>input.is_key_down(input.VK.MOUSE2)</code> for the held right button. Use <code>is_key_pressed</code> instead when an action should fire only once at the start of a click.</p>\n        <p>Common constants are under <code>input.VK</code>: END, HOME, INSERT, DELETE, ESCAPE, ENTER, SPACE, SHIFT, CTRL, ALT, TAB, BACKSPACE, arrows, F1, F2, F12, MOUSE1, and MOUSE2. Other Windows virtual-key integers can be passed directly.</p>\n        <pre><code>if input.is_key_pressed(input.VK.F2) then\n    astral.notify(\"Lua\", \"F2 pressed\")\nend</code></pre>"
    },
    {
      "group": "Lua API",
      "id": "metrics-api",
      "title": "Performance & network metrics",
      "summary": "Read Roblox ping, jitter, transfer rates, packet loss, and Windows CPU, GPU, RAM, and VRAM usage from Lua.",
      "keywords": "game.stats astral.metrics ping data ping jitter packet loss percent download upload kbps cpu gpu usage ram memory vram names telemetry",
      "html": "<p><code>game.stats()</code> and <code>astral.metrics()</code> return the same current snapshot. Both are available to every script permission tier. Readings are cached, so calling either function does not perform a new Roblox scan or Windows counter query.</p>\n        <pre><code>local stats = game.stats()\nif stats.ping_ms then\n    print(string.format(\"Ping: %.0f ms\", stats.ping_ms))\nend\nif stats.cpu_usage_percent then\n    print(string.format(\"CPU: %.1f%%\", stats.cpu_usage_percent))\nend\nif stats.download_kbps then\n    print(string.format(\"Roblox download: %.1f KB/s\", stats.download_kbps))\nend</code></pre>\n        <h2>Roblox network readings</h2><table><thead><tr><th>Field</th><th>Unit</th><th>Meaning</th></tr></thead><tbody>\n          <tr><td><code>ping_ms</code></td><td>ms</td><td>Network round-trip ping from Roblox performance stats.</td></tr>\n          <tr><td><code>data_ping_ms</code></td><td>ms</td><td>Roblox replication/data ping.</td></tr>\n          <tr><td><code>jitter_ms</code></td><td>ms</td><td>Mean absolute change between recent ping samples. It becomes available after two valid samples.</td></tr>\n          <tr><td><code>download_kbps</code></td><td>KB/s</td><td>Roblox NetworkReceived rate.</td></tr>\n          <tr><td><code>upload_kbps</code></td><td>KB/s</td><td>Roblox NetworkSent rate.</td></tr>\n          <tr><td><code>packet_loss_percent</code></td><td>%</td><td>Last-second loss ratio converted to a percentage.</td></tr>\n        </tbody></table>\n        <h2>Windows hardware readings</h2><table><thead><tr><th>Field</th><th>Unit</th><th>Meaning</th></tr></thead><tbody>\n          <tr><td><code>cpu_usage_percent</code></td><td>%</td><td>Whole-system CPU utilization.</td></tr>\n          <tr><td><code>gpu_usage_percent</code></td><td>%</td><td>Windows 3D GPU engine utilization, aggregated and capped at 100.</td></tr>\n          <tr><td><code>ram_used_mb</code>, <code>ram_total_mb</code></td><td>MiB</td><td>Whole-system physical RAM used and installed.</td></tr>\n          <tr><td><code>ram_used_gb</code>, <code>ram_total_gb</code></td><td>GiB</td><td>The same RAM values in larger units.</td></tr>\n          <tr><td><code>gpu_vram_used_mb</code>, <code>gpu_vram_total_mb</code></td><td>MiB</td><td>Dedicated VRAM used and installed on the selected hardware adapter.</td></tr>\n          <tr><td><code>gpu_vram_used_gb</code>, <code>gpu_vram_total_gb</code></td><td>GiB</td><td>The same VRAM values in larger units.</td></tr>\n          <tr><td><code>cpu_name</code>, <code>gpu_name</code></td><td>text</td><td>Optional Windows CPU and selected GPU names.</td></tr>\n        </tbody></table>\n        <div class=\"callout\"><strong>Availability and scope</strong><p>Missing readings are <code>nil</code>. Hardware readings refresh about once per second; the first call starts GPU sampling. Roblox network fields need a live game session. RAM is system-wide, and VRAM is adapter-wide rather than Roblox-only. On systems with multiple GPUs, Astral selects the adapter with the most dedicated memory.</p></div>\n        <p>Readings are numbers without unit suffixes. MB/GB field names use a 1024 base (MiB/GiB). An out-of-range raw packet-loss value is returned as <code>nil</code> rather than shown as a percentage.</p>"
    },
    {
      "group": "Lua API",
      "id": "http-api",
      "title": "HTTP overview",
      "summary": "GET, POST, full requests, background callbacks, cancellation, limits, and permissions.",
      "keywords": "http get post request request_async cancel https headers status method timeout response permission subscribed",
      "html": "<p>HTTP is available to trusted scripts and subscribed scripts explicitly granted GC + HTTPS for the current session. Public HTTPS destinations are required.</p>\n        <h2>Functions</h2><div class=\"api-list\"><div><code>http.get(url)</code><p>Compatibility GET returning body or nil, error.</p></div><div><code>http.post(url, body, contentType?)</code><p>Compatibility POST returning body.</p></div><div><code>http.request(options)</code><p>Synchronous GET/POST/PUT/PATCH/DELETE/HEAD with status, body, success, and headers.</p></div><div><code>http.request_async(options, callback)</code><p>Runs network work off the render thread and returns a request id.</p></div><div><code>http.cancel(id)</code><p>Suppress a pending async completion.</p></div></div>\n        <pre><code>http.request_async({\n    url = \"https://example.com/api\",\n    method = \"POST\",\n    headers = { [\"Content-Type\"] = \"application/json\" },\n    body = json.encode({hello = \"Astral\"}),\n    timeout_ms = 6000\n}, function(response, err)\n    if not response then return print(err) end\n    print(response.status, response.body)\nend)</code></pre>\n        <h2>Limits</h2><ul><li>Private, local, and link-local targets are rejected.</li><li>Request body 2 MiB; response 4 MiB; 64 headers.</li><li>Timeouts clamp to 1–15 seconds.</li><li>At most 32 async requests may be pending.</li></ul>\n        <div class=\"callout warning\"><strong>Synchronous requests</strong><p><code>http.request</code>, get, and post still block their Lua caller. Prefer request_async for UI and runtime tools.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "storage-utility-api",
      "title": "Storage & utility",
      "summary": "Persistent values, logging, time, math, and table helpers.",
      "keywords": "astral store set get delete keys log time math clamp lerp round sign angle table map filter find index",
      "html": "<h2>Persistent storage</h2><p><code>astral.store</code> saves string, number, and boolean values. Use <code>set</code>, <code>get</code>, <code>delete</code>, and <code>keys</code>. Every mutation is saved immediately.</p>\n        <pre><code>astral.store.set(\"hotkey\", input.VK.F2)\nlocal key = astral.store.get(\"hotkey\", input.VK.F2)</code></pre>\n        <h2>Helpers</h2><table><thead><tr><th>Namespace</th><th>Functions</th></tr></thead><tbody><tr><td><code>astral.log</code></td><td>debug, info, warn, error</td></tr><tr><td><code>astral.time</code></td><td>now, delta, since</td></tr><tr><td><code>astral.math</code></td><td>clamp, lerp, round, sign, angle_between</td></tr><tr><td><code>astral.table</code></td><td>map, filter, find, index_by</td></tr></tbody></table>\n        <p><code>vec2(x,y)</code> and <code>vec3(x,y,z)</code> create simple vector-like tables. <code>print(...)</code> writes to the Lua console and annotates offset-sized integers with hexadecimal.</p>"
    },
    {
      "group": "Lua API",
      "id": "gc-api",
      "title": "GC overview",
      "summary": "How Astral snapshots the live game-Luau heap and exposes it without blocking the overlay.",
      "keywords": "garbage collector getgc setgc worker snapshot Luau heap Extra.hpp overview permissions",
      "html": "<p>Astral's GC API inspects the live game-Luau heap. The VM layouts come from the current generated <code>Extra.hpp</code> values; Astral does not keep a second hard-coded layout for this subsystem.</p>\n        <div class=\"callout\"><strong>Background snapshot</strong><p>VM discovery, page traversal, object counting, and table collection run on a worker thread. Lua reads an immutable published snapshot, so a heap rebuild does not freeze the menu or ESP.</p></div>\n        <h2>GC documentation</h2><div class=\"card-grid\">\n          <button class=\"jump-card\" data-doc=\"gc-worker\"><strong>Snapshot worker</strong><small>Ready/building states, refreshes, snapshot age, and startup behavior.</small></button>\n          <button class=\"jump-card\" data-doc=\"gc-diagnostics\"><strong>Heap diagnostics</strong><small>Memory, VMs, pages, object census, types, and allocator page data.</small></button>\n          <button class=\"jump-card\" data-doc=\"gc-proxies\"><strong>Table proxies</strong><small>Iterate tables, inspect keys, addresses, headers, and metatables.</small></button>\n          <button class=\"jump-card\" data-doc=\"gc-search-write\"><strong>Search &amp; writes</strong><small>Find tables, read fields, safely edit existing primitive keys, and avoid timeouts.</small></button>\n          <button class=\"jump-card\" data-doc=\"gc-tuning\"><strong>Collector tuning</strong><small>Read and change pause, step multiplier, and step size with exact limitations.</small></button>\n          <button class=\"jump-card\" data-doc=\"gc-recipes\"><strong>Recipes &amp; lifecycle</strong><small>Safe startup, incremental inspection, server hops, and common errors.</small></button>\n        </div>\n        <h2>Normal workflow</h2><ol class=\"steps\"><li><span>1</span><div><strong>Wait for a ready snapshot</strong><p>Check <code>getgc_status()</code>. The first build can take several seconds in a large game.</p></div></li><li><span>2</span><div><strong>Inspect diagnostics</strong><p>Use <code>getgc_info()</code> before walking tables so you know the current VM, page, and object counts.</p></div></li><li><span>3</span><div><strong>Prefer lazy iteration</strong><p>Use <code>getgc(true, limit)</code> and inspect only what your script needs.</p></div></li><li><span>4</span><div><strong>Refresh deliberately</strong><p>Queue a new snapshot after meaningful runtime changes instead of rebuilding it in a tight loop.</p></div></li></ol>\n        <div class=\"callout warning\"><strong>Advanced permission</strong><p>GC access is available to trusted scripts and to subscribed scripts only when the user grants the GC + HTTPS session permission.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "gc-worker",
      "title": "Snapshot worker",
      "summary": "Read worker state, request refreshes, and understand immutable snapshot publication.",
      "keywords": "getgc_status getgc_refresh ready building generation age status snapshot worker background refresh",
      "html": "<p>The worker builds a replacement snapshot off the main/render thread, then publishes it atomically. Existing readers keep the previous immutable snapshot until the replacement is complete.</p>\n        <h2><code>getgc_status()</code></h2><table><thead><tr><th>Field</th><th>Meaning</th></tr></thead><tbody><tr><td><code>ready</code></td><td>A snapshot for the current game-session generation is available.</td></tr><tr><td><code>building</code></td><td>The worker is currently building or refreshing a snapshot.</td></tr><tr><td><code>generation</code></td><td>Current Astral game-session generation.</td></tr><tr><td><code>status</code></td><td>Worker text such as <em>building</em>, <em>waiting for worker</em>, or <em>ready</em>.</td></tr><tr><td><code>vms</code></td><td>Validated Luau global states in the published snapshot.</td></tr><tr><td><code>pages</code></td><td>Validated GC pages in the published snapshot.</td></tr><tr><td><code>tables</code></td><td>Validated table objects collected for proxy iteration.</td></tr><tr><td><code>age_ms</code></td><td>Milliseconds since the current snapshot was published.</td></tr></tbody></table>\n        <h2>State combinations</h2><table><thead><tr><th>Ready</th><th>Building</th><th>Interpretation</th></tr></thead><tbody><tr><td>false</td><td>true</td><td>First snapshot is warming; retry later.</td></tr><tr><td>true</td><td>false</td><td>Current snapshot is ready and no refresh is running.</td></tr><tr><td>true</td><td>true</td><td>The previous snapshot is usable while a newer one builds.</td></tr><tr><td>false</td><td>false</td><td>No current snapshot; the worker is waiting for a valid game VM.</td></tr></tbody></table>\n        <h2><code>getgc_refresh()</code></h2><p>Queues a forced rebuild and returns <code>true</code> immediately. It does not wait for the scan to finish.</p>\n        <pre><code>local function when_gc_ready(callback)\n    local status = getgc_status()\n    if status.ready then\n        return callback(status)\n    end\n\n    if not status.building then\n        getgc_refresh()\n    end\n    astral.delay(100, function()\n        when_gc_ready(callback)\n    end)\nend\n\nwhen_gc_ready(function(status)\n    print(\"GC ready\", status.vms, status.pages, status.tables)\nend)</code></pre>\n        <div class=\"callout warning\"><strong>Do not refresh every frame</strong><p>A refresh traverses the live heap. Poll status cheaply, but request a rebuild only when the existing snapshot is stale for your use case.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "gc-diagnostics",
      "title": "Heap diagnostics",
      "summary": "Read memory, collector state, object census, type counts, and validated GC pages.",
      "keywords": "getgc_info getgc pages objects sampled census by_type kb gcstate pause stepsize stepmul gray weak currentwhite",
      "html": "<h2><code>getgc_info()</code></h2><p><code>getgc()</code> with no truthy first argument is the same diagnostics call. It returns nil plus an error until a current snapshot exists.</p>\n        <table><thead><tr><th>Field</th><th>Meaning</th></tr></thead><tbody><tr><td><code>kb</code></td><td>Snapshot heap bytes converted to KiB.</td></tr><tr><td><code>gcstate</code>, <code>currentwhite</code></td><td>Current Luau collector state values.</td></tr><tr><td><code>pause</code>, <code>stepsize</code>, <code>stepmul</code></td><td>Live collector tuning values.</td></tr><tr><td><code>pages</code>, <code>objects_sampled</code></td><td>Validated page and object census counts.</td></tr><tr><td><code>census_complete</code></td><td>Whether the worker completed its configured census.</td></tr><tr><td><code>vms</code></td><td>Number of validated Luau global states.</td></tr><tr><td><code>strings</code></td><td>String objects counted in the census.</td></tr><tr><td><code>by_type</code></td><td>Present object types keyed by names such as <code>table</code>, <code>function</code>, and <code>string</code>.</td></tr><tr><td><code>gray</code>, <code>grayagain</code>, <code>weak</code></td><td>Whether those collector work lists currently have a head pointer.</td></tr><tr><td><code>L</code>, <code>G</code></td><td>Hex strings for the selected Luau state and global-state addresses.</td></tr><tr><td><code>threshold_kb</code></td><td><code>-1</code> because the threshold is protected in the current client.</td></tr><tr><td><code>string_capacity</code></td><td><code>0</code> means this value is not exposed; it is not the real capacity.</td></tr></tbody></table>\n        <h2><code>getgc_pages(limit?)</code></h2><p>Returns up to the requested number of validated allocator-page records. The limit clamps to Astral's page safety ceiling.</p>\n        <table><thead><tr><th>Field</th><th>Meaning</th></tr></thead><tbody><tr><td><code>address</code> / <code>address_hex</code></td><td>Current-session page address as a number and readable hex string.</td></tr><tr><td><code>size</code></td><td>Page allocation size.</td></tr><tr><td><code>block_size</code></td><td>Object block size used by the page.</td></tr><tr><td><code>busy_blocks</code></td><td>Validated live blocks in the page.</td></tr><tr><td><code>free_next</code></td><td>Allocator's next free-block cursor.</td></tr></tbody></table>\n        <pre><code>local info, err = getgc_info()\nif not info then return print(err) end\n\nprint(\"heap KiB\", info.kb)\nprint(\"VMs/pages/objects\", info.vms, info.pages, info.objects_sampled)\nprint(\"tables/functions\", info.by_type.table or 0, info.by_type[\"function\"] or 0)\n\nfor index, page in ipairs(getgc_pages(8)) do\n    print(index, page.address_hex, page.block_size, page.busy_blocks)\nend</code></pre>"
    },
    {
      "group": "Lua API",
      "id": "gc-proxies",
      "title": "Table proxies",
      "summary": "Iterate live game tables lazily and inspect their safe primitive values and metadata.",
      "keywords": "getgc true getgc_list proxy address rawkeys tableinfo metatable iterator index length tostring rawget",
      "html": "<p>A GC table proxy is an Astral Lua object backed by one validated game-Luau table address. It does not copy the whole table into the local Lua state.</p>\n        <h2>Creating proxies</h2><div class=\"api-list\"><div><code>getgc(true, limit?)</code><p>Returns a lazy generic-for iterator. Proxies are created only as the loop reaches them.</p></div><div><code>getgc_list(limit?)</code><p>Materializes a normal Lua array of proxies. Use this only when an array is genuinely required.</p></div></div>\n        <pre><code>for tableProxy in getgc(true, 2000) do\n    local info = getgc_tableinfo(tableProxy)\n    if info then\n        print(info.address_hex, info.array_size, info.node_capacity)\n    end\nend</code></pre>\n        <h2>Proxy operations</h2><table><thead><tr><th>Operation</th><th>Result</th></tr></thead><tbody><tr><td><code>proxy[key]</code></td><td>Reads a supported existing array slot or string-key value.</td></tr><tr><td><code>rawget(proxy, key)</code></td><td>Uses Astral's proxy-aware raw lookup.</td></tr><tr><td><code>#proxy</code></td><td>Current array-size field from the validated table header.</td></tr><tr><td><code>tostring(proxy)</code></td><td>Readable current-session table address.</td></tr><tr><td><code>getgc_address(proxy)</code></td><td>Backing address as a number, or nil for a non-proxy.</td></tr><tr><td><code>getrawkeys(proxy)</code></td><td>Materializes readable array values and readable string-key fields.</td></tr><tr><td><code>getgc_metatable(proxy)</code></td><td>Validated metatable proxy, or nil.</td></tr><tr><td><code>getgc_tableinfo(proxy)</code></td><td>Address, address hex, array size, node capacity/log2, and metatable address when present.</td></tr></tbody></table>\n        <pre><code>local tables = getgc_list(100)\nlocal first = tables[1]\nif first then\n    print(tostring(first), #first)\n    local keys = getrawkeys(first)\n    print(\"Name\", keys.Name)\nend</code></pre>\n        <div class=\"callout\"><strong>Proxy lifetime</strong><p>A proxy belongs to the snapshot and game session that created it. It may become stale when its game table disappears even before a full server hop.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "gc-search-write",
      "title": "Search & table writes",
      "summary": "Find matching game tables, inspect them in bounded batches, and edit supported existing keys.",
      "keywords": "getgc_find find key value proxy write newindex batch timeout watchdog existing keys primitive nil number boolean",
      "html": "<h2><code>getgc_find(key, value?, limit?)</code></h2><p>Scans up to <code>limit</code> snapshotted tables for a string key. When a non-nil value is supplied, the field must also equal that primitive value. The result is an array of proxies.</p>\n        <pre><code>local controllers = getgc_find(\"ControllerName\", \"Weapon\", 5000)\nfor _, controller in ipairs(controllers) do\n    print(getgc_tableinfo(controller).address_hex)\nend</code></pre>\n        <h2>Writing an existing field</h2><p><code>proxy[key] = value</code> can update an existing readable key. Current writes support only <code>nil</code>, numbers, and booleans. Astral refuses to create a new key because that would require mutating the game's table allocator and hash layout.</p>\n        <pre><code>local matches = getgc_find(\"Enabled\", true, 2500)\nlocal target = matches[1]\nif target then\n    local previous = target.Enabled\n    target.Enabled = false\n    -- Restore it when your test is complete.\n    target.Enabled = previous\nend</code></pre>\n        <h2>Incremental inspection</h2><p>A broad search is synchronous and can exceed the script watchdog. For custom filtering, use the lazy iterator and inspect a small number of proxies per scheduled callback.</p>\n        <pre><code>local iterator, state, index = getgc(true, 2500)\n\nlocal function inspect_batch()\n    for _ = 1, 64 do\n        local nextIndex, proxy = iterator(state, index)\n        if not nextIndex then\n            return print(\"inspection complete\")\n        end\n        index = nextIndex\n\n        if rawget(proxy, \"Name\") ~= nil then\n            print(getgc_tableinfo(proxy).address_hex, proxy.Name)\n        end\n    end\n    astral.delay(1, inspect_batch)\nend\n\ninspect_batch()</code></pre>\n        <div class=\"callout warning\"><strong>Keep limits intentional</strong><p>The API allows large limits for advanced scripts, but a maximum-size synchronous search can still trigger <em>script execution time limit exceeded</em>. Start small and increase only when needed.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "gc-tuning",
      "title": "Collector tuning",
      "summary": "Exact setgc modes, writable tuning values, return behavior, and protected operations.",
      "keywords": "setgc pause setpause stepmul setstepmul stepsize setstepsize stop restart collect step protected count isrunning",
      "html": "<p><code>setgc(mode, value?)</code> targets the selected live Roblox Luau global state. Read-only modes return one value. Writable tuning modes return the previous value so scripts can restore it.</p>\n        <table><thead><tr><th>Mode</th><th>Current behavior</th></tr></thead><tbody><tr><td><code>count</code></td><td>Returns snapshot heap size in KiB.</td></tr><tr><td><code>isrunning</code></td><td>Returns <code>true</code> for the current supported runtime.</td></tr><tr><td><code>pause</code> / <code>setpause</code></td><td>Read or set 0–1000; returns the previous value.</td></tr><tr><td><code>stepmul</code> / <code>setstepmul</code></td><td>Read or set 0–10000; returns the previous value.</td></tr><tr><td><code>stepsize</code> / <code>setstepsize</code></td><td>Read or set 0–1,073,741,824; returns the previous value.</td></tr><tr><td><code>stop</code> / <code>restart</code></td><td>Returns nil plus <em>GC threshold is protected in this Roblox client</em>. These modes are not currently available.</td></tr><tr><td><code>collect</code> / <code>step</code></td><td>Returns nil plus an error because these operations require an in-game Luau call gate.</td></tr></tbody></table>\n        <h2>Temporary tuning</h2><pre><code>local oldPause, err = setgc(\"pause\", 200)\nif not oldPause then return print(err) end\n\nprint(\"previous pause\", oldPause)\n-- Perform the short test that needs the new value.\nsetgc(\"pause\", oldPause)</code></pre>\n        <div class=\"callout warning\"><strong>This changes the game VM</strong><p>Collector tuning can alter frame pacing and memory behavior. Change one value at a time, keep the previous value, and restore it after the test. Do not present protected modes as working.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "gc-recipes",
      "title": "Recipes & lifecycle",
      "summary": "Safe startup, live diagnostics, server-hop recovery, and clear failure handling.",
      "keywords": "gc recipe smoke test server hop session stale worker ready timeout error lifecycle refresh generation",
      "html": "<h2>Safe capability check</h2><pre><code>local required = {\n    \"getgc_status\", \"getgc_refresh\", \"getgc_info\",\n    \"getgc\", \"getgc_tableinfo\"\n}\n\nfor _, name in ipairs(required) do\n    if type(_G[name]) ~= \"function\" then\n        return print(\"missing GC API\", name)\n    end\nend\n\nlocal status = getgc_status()\nprint(status.status, status.ready, status.building, status.generation)</code></pre>\n        <h2>Compact live report</h2><pre><code>local info, err = getgc_info()\nif not info then return print(\"GC unavailable\", err) end\n\nprint(\"heap\", math.floor(info.kb + 0.5), \"KiB\")\nprint(\"VMs\", info.vms, \"pages\", info.pages, \"objects\", info.objects_sampled)\nprint(\"tables\", info.by_type.table or 0)\nprint(\"functions\", info.by_type[\"function\"] or 0)</code></pre>\n        <h2>Session changes</h2><ol class=\"steps\"><li><span>1</span><div><strong>Discard old proxies</strong><p>Addresses and table wrappers from the previous DataModel are no longer valid.</p></div></li><li><span>2</span><div><strong>Wait for the new VM</strong><p>Check <code>game.is_alive()</code> and then poll <code>getgc_status()</code>.</p></div></li><li><span>3</span><div><strong>Request one refresh if needed</strong><p>Do not queue repeated forced builds while the worker already reports <code>building = true</code>.</p></div></li><li><span>4</span><div><strong>Reacquire proxies</strong><p>Start a new iterator only after the current generation is ready.</p></div></li></ol>\n        <h2>Common results</h2><table><thead><tr><th>Result</th><th>Meaning</th><th>Action</th></tr></thead><tbody><tr><td><em>no Luau state matched Extra.hpp</em></td><td>No live VM matched the generated layout yet.</td><td>Wait for the game to finish loading; verify offsets only if it persists.</td></tr><tr><td><em>worker did not become ready</em></td><td>The first snapshot did not finish within the script's wait window.</td><td>Poll status later instead of blocking.</td></tr><tr><td><em>game table proxy is stale</em></td><td>The backing table is gone or belongs to an old session.</td><td>Discard it and reacquire from a current snapshot.</td></tr><tr><td><em>script execution time limit exceeded</em></td><td>The local Lua script did too much synchronous work.</td><td>Lower limits and process lazy proxies in scheduled batches.</td></tr></tbody></table>\n        <div class=\"callout\"><strong>What the live test proved</strong><p>The current build resolved multiple Luau global states, completed a full page/object census, exposed table proxies, and kept the overlay responsive while the worker built the snapshot.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "introspection-api",
      "title": "Instances & scripts",
      "summary": "getinstances, nil instances, script enumeration, bytecode, and hashes.",
      "keywords": "getinstances getnilinstances status getscripts getscriptbytecode getscripthash userdata script introspection",
      "html": "<h2>Live Instances</h2><div class=\"api-list\"><div><code>getinstances(limit?)</code><p>Live Roblox Instance addresses referenced by game-Luau userdata.</p></div><div><code>getnilinstances(limit?)</code><p>Subset whose current Parent is nil.</p></div><div><code>getinstances_status()</code><p>Ready state and runtime-derived userdata layout status.</p></div></div>\n        <p>The first call in a new session can be slower because Astral derives the userdata layout from validated live anchors. It does not silently fall back to a hierarchy scan.</p>\n        <h2>Scripts</h2><div class=\"api-list\"><div><code>getscripts(root?, limit?)</code><p>Walk Script, LocalScript, and ModuleScript descendants.</p></div><div><code>getscriptbytecode(script)</code><p>Validated raw bytecode string, capped at 32 MiB.</p></div><div><code>getscripthash(script)</code><p>Stable 16-character hash of the raw bytecode.</p></div></div>\n        <div class=\"callout\"><strong>No getsenv stub</strong><p>Astral does not expose a fake empty environment as working functionality.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "memory-offsets-api",
      "title": "Memory & offsets",
      "summary": "Trusted-only typed reads/writes and generated offset access.",
      "keywords": "memory read write pointer chain struct offsets trusted raw process health camera",
      "html": "<p><code>memory.*</code> and <code>offsets.*</code> are trusted-user-script APIs. Subscribed scripts never receive them, even when GC + HTTPS is approved.</p>\n        <h2>Memory functions</h2><table><thead><tr><th>Function</th><th>Purpose</th></tr></thead><tbody><tr><td><code>read / write(address, value?, type)</code></td><td>Typed byte, int, float, double, uint64, or int64 access.</td></tr><tr><td><code>read_ptr / write_ptr</code></td><td>Pointer-sized access.</td></tr><tr><td><code>deref</code></td><td>Pointer-read alias.</td></tr><tr><td><code>chain(base, offsets)</code></td><td>Follow a pointer chain and stop on null.</td></tr><tr><td><code>read_struct / write_struct</code></td><td>Process a typed field schema in one call.</td></tr><tr><td><code>read_string</code></td><td>Read a supported Roblox-style string.</td></tr></tbody></table>\n        <h2>Safety boundary</h2><p>Reads require committed readable memory. Writes require committed writable, non-executable memory. Lua cannot patch executable/code pages, load FFI/native libraries, or access arbitrary processes. All addresses are current-session values.</p>\n        <h2>Offsets</h2><p>Generated fields are accessed as <code>offsets.Class.Field</code>, such as <code>offsets.Humanoid.Health</code>. Feature detection should check the needed table/function at runtime rather than trusting only the API version string.</p>"
    },
    {
      "group": "Lua API",
      "id": "vector2-type",
      "title": "Vector2",
      "summary": "Immutable 2D vectors for screen coordinates, sizes, and drawing geometry.",
      "keywords": "Vector2 new zero one Magnitude Unit Dot Lerp arithmetic screen point size",
      "html": "<h2>Construction and fields</h2><p><code>Vector2.new(x?, y?)</code> creates an immutable value with lowercase <code>x</code> and <code>y</code>. Missing components default to zero. Constants are <code>Vector2.zero</code> and <code>Vector2.one</code>.</p>\n        <h2>Operations</h2><table><thead><tr><th>Operation</th><th>Result</th></tr></thead><tbody><tr><td>v.Magnitude</td><td>Euclidean length.</td></tr><tr><td>v.Unit</td><td>Normalized vector; zero remains zero.</td></tr><tr><td>v:Dot(other)</td><td>Scalar dot product.</td></tr><tr><td>v:Lerp(other, alpha)</td><td>Linear interpolation; alpha is not clamped.</td></tr><tr><td>+, -, unary -, * scalar, / scalar</td><td>Component arithmetic returning a new Vector2.</td></tr></tbody></table>\n        <h2>Example: centered label</h2><pre><code>local viewport = Camera.viewportSize()\nlocal label = Drawing.new(\"Text\")\nlabel.Text = \"center\"\nlabel.Position = Vector2.new(viewport.x, viewport.y) * 0.5\nlabel.Center = true</code></pre>\n        <p>Vector2 is accepted by retained Drawing and camera viewport helpers. Immediate <code>draw.*</code> still takes separate numeric x/y arguments.</p>"
    },
    {
      "group": "Lua API",
      "id": "vector3-type",
      "title": "Vector3",
      "summary": "Immutable world-space vectors with geometric arithmetic and axis constants.",
      "keywords": "Vector3 new zero one xAxis yAxis zAxis Magnitude Unit Dot Cross Lerp world position direction",
      "html": "<h2>API</h2><p><code>Vector3.new(x?, y?, z?)</code> creates an immutable value. Constants: zero, one, xAxis, yAxis, and zAxis. Properties <code>Magnitude</code> and <code>Unit</code> are calculated on access.</p>\n        <div class=\"api-list\"><div><code>v:Dot(other)</code><p>Alignment: 1 for matching unit directions, 0 perpendicular, -1 opposite.</p></div><div><code>v:Cross(other)</code><p>Perpendicular vector following the right-hand rule.</p></div><div><code>v:Lerp(other, alpha)</code><p>Point along or beyond the segment.</p></div></div>\n        <h2>Example: direction and side vector</h2><pre><code>local delta = target.position - Camera.position()\nlocal direction = delta.Unit\nlocal right = direction:Cross(Vector3.yAxis).Unit\nprint(\"distance\", delta.Magnitude)\n\nlocal wall = world.raycast(Camera.position(), direction * 1000)\nif wall then print(\"normal alignment\", direction:Dot(wall.normal)) end</code></pre>\n        <div class=\"callout warning\"><strong>Zero direction</strong><p><code>Vector3.zero.Unit</code> is zero, but a world ray rejects a zero-length direction with an explicit error.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "color3-type",
      "title": "Color3 & BrickColor",
      "summary": "Normalized colors, RGB/hex conversion, interpolation, and named brick colors.",
      "keywords": "Color3 BrickColor fromRGB fromHex ToHex Lerp r g b color",
      "html": "<h2>Color3</h2><div class=\"api-list\"><div><code>Color3.new(r, g, b)</code><p>Normalized 0–1 components, clamped during construction.</p></div><div><code>Color3.fromRGB(r, g, b)</code><p>Converts 0–255 channels.</p></div><div><code>Color3.fromHex(\"#RRGGBB\")</code><p>Six-digit hex parser.</p></div><div><code>color:ToHex()</code><p>Uppercase #RRGGBB.</p></div><div><code>color:Lerp(other, alpha)</code><p>Blends normalized channels.</p></div></div>\n        <pre><code>local cold = Color3.fromHex(\"#4191FF\")\nlocal hot = Color3.fromRGB(255, 90, 120)\nlocal middle = cold:Lerp(hot, 0.5)\nInstance.set(part, \"Color\", middle)</code></pre>\n        <h2>BrickColor</h2><p><code>BrickColor.new(name)</code> currently provides a practical named subset: White, Black, Red, Blue, Green, Yellow, and Pink. <code>BrickColor.random()</code> chooses from that set. Use Color3 when exact color fidelity matters.</p>"
    },
    {
      "group": "Lua API",
      "id": "cframe-type",
      "title": "CFrame",
      "summary": "Practical position-plus-Euler transforms for reflected properties and camera math.",
      "keywords": "CFrame new Angles fromEulerAnglesXYZ lookAt Lerp Position Rotation transform",
      "html": "<p>Astral CFrame stores a typed <code>position</code> and Euler-degree <code>rotation</code>. Aliases <code>Position</code> and <code>Rotation</code> are readable. It is intentionally smaller than Roblox's complete 3×3 matrix CFrame.</p>\n        <h2>Constructors</h2><div class=\"api-list\"><div><code>CFrame.new(x, y, z)</code><p>Translation with zero rotation.</p></div><div><code>CFrame.Angles(x, y, z)</code><p>Radians in, Euler degrees stored.</p></div><div><code>CFrame.fromEulerAnglesXYZ(...)</code><p>Same rotation constructor.</p></div><div><code>CFrame.lookAt(position, target)</code><p>Creates pitch/yaw facing the target.</p></div><div><code>cf:Lerp(other, alpha)</code><p>Interpolates position and Euler components.</p></div></div>\n        <pre><code>local start = CFrame.new(0, 8, 0)\nlocal finish = CFrame.lookAt(Vector3.new(0, 8, 0), Vector3.new(10, 8, -20))\nInstance.set(part, \"CFrame\", start:Lerp(finish, 0.5))</code></pre>\n        <div class=\"callout\"><strong>Rotation caveat</strong><p>Euler interpolation is convenient but not quaternion interpolation; paths crossing ±180° can take an unintuitive route.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "gui-types",
      "title": "UDim, UDim2 & Rect",
      "summary": "GUI scale/offset dimensions and immutable rectangles.",
      "keywords": "UDim UDim2 Rect scale offset fromScale fromOffset GUI size position canvas",
      "html": "<h2>Dimensions</h2><div class=\"api-list\"><div><code>UDim.new(scale, offset)</code><p>One-axis scale plus pixel offset.</p></div><div><code>UDim2.new(xScale, xOffset, yScale, yOffset)</code><p>Two-axis GUI value.</p></div><div><code>UDim2.fromScale(x, y)</code><p>Scale-only shortcut.</p></div><div><code>UDim2.fromOffset(x, y)</code><p>Pixel-only shortcut.</p></div><div><code>Rect.new(minX, minY, maxX, maxY)</code><p>Exposes min/max Vector2 and computed width/height.</p></div></div>\n        <pre><code>local gui = Instance.frame(parent, {\n    Size = UDim2.fromOffset(280, 90),\n    Position = UDim2.new(0.5, -140, 0.5, -45),\n    AnchorPoint = Vector2.new(0.5, 0.5)\n})</code></pre>\n        <p>These values are Lua-side typed tables translated by the reflected Instance bridge. They do not create GUI objects by themselves.</p>"
    },
    {
      "group": "Lua API",
      "id": "spatial-types",
      "title": "Ranges, regions & rays",
      "summary": "Numeric ranges, integer vectors, regions, rays, result containers, and timestamps.",
      "keywords": "NumberRange Region3 Region3int16 Vector2int16 Vector3int16 Ray RaycastParams RaycastResult DateTime",
      "html": "<h2>Containers</h2><table><thead><tr><th>Type</th><th>Purpose</th></tr></thead><tbody><tr><td>NumberRange.new(min, max?)</td><td>Constant or two-ended range used by emitter properties.</td></tr><tr><td>Region3.new(min, max)</td><td>Stores min, max, computed size, and center.</td></tr><tr><td>Vector2int16 / Vector3int16</td><td>Floored integer components.</td></tr><tr><td>Ray.new(origin, direction)</td><td>Immutable ray container; direction length remains meaningful.</td></tr><tr><td>RaycastParams.new()</td><td>Compatibility options container. Astral world queries use their documented options table instead.</td></tr><tr><td>RaycastResult.new(...)</td><td>Immutable compatibility result container.</td></tr><tr><td>DateTime.now()</td><td>Unix timestamp seconds and milliseconds from the host clock.</td></tr></tbody></table>\n        <pre><code>local lifetime = NumberRange.new(0.35, 0.8)\nlocal ray = Ray.new(Camera.position(), Vector3.new(0, -250, 0))\nlocal hit = world.raycast(ray.origin, ray.direction)\nlocal timestamp = DateTime.now().unixTimestampMillis</code></pre>"
    },
    {
      "group": "Lua API",
      "id": "enum-types",
      "title": "Enum & EnumItem",
      "summary": "Readable enum values for common reflected properties.",
      "keywords": "Enum EnumItem Enums Material NormalId PartType Neon Front enum value name",
      "html": "<p><code>Enum</code> is immutable and currently exposes Material, NormalId, and PartType groups. <code>Enums</code> is an alias. Each item has EnumType, Name, Value, and readable <code>tostring</code> output.</p>\n        <pre><code>print(Enum.Material.Neon.Name)       -- Neon\nprint(Enum.NormalId.Front.Value)    -- numeric bridge value\nprint(tostring(Enum.PartType.Ball)) -- Enum.PartType.Ball\n\nInstance.set(part, \"Material\", Enum.Material.Glass)\nInstance.new(\"Decal\", part, {\n    Face = Enum.NormalId.Front\n})</code></pre>\n        <h2>Supported values</h2><p>Material includes Plastic, SmoothPlastic, Neon, Wood, Marble, Concrete, Metal, Grass, Glass, and ForceField. NormalId includes all six faces. PartType includes Ball, Block, and Cylinder.</p>\n        <div class=\"callout\"><strong>Forward compatibility</strong><p>For reflected properties beyond these groups, Instance-specific numeric constants may still exist. Check the relevant constructor table and current page rather than inventing enum values.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "signal-api",
      "title": "Signal & Connection",
      "summary": "Create local events with disconnectable, one-shot, and coroutine listeners.",
      "keywords": "Signal Connection Connect Once Fire Wait Disconnect Destroy coroutine local event",
      "html": "<h2>How dispatch works</h2><p><code>Signal:Fire(...)</code> takes a listener snapshot before dispatch. Disconnecting during a callback prevents later delivery to that listener without invalidating iteration. Callback errors are caught and written through <code>astral.log.error</code>.</p>\n        <div class=\"api-list\"><div><code>Signal.new()</code><p>Creates an independent local signal.</p></div><div><code>:Connect(fn)</code><p>Returns a Connection with Connected=true.</p></div><div><code>:Once(fn)</code><p>Disconnects before invoking the first callback.</p></div><div><code>:Fire(...)</code><p>Delivers arguments synchronously in the current Lua callback.</p></div><div><code>:Wait()</code><p>Yields a coroutine and resumes it on the next fire.</p></div><div><code>Connection:Disconnect()</code><p>Idempotent; true only on the first disconnect.</p></div></div>\n        <pre><code>local stateChanged = Signal.new()\nlocal bag = astral.ResourceBag.new()\n\nbag:Add(stateChanged:Connect(function(old, new)\n    print(old, \"->\", new)\nend))\nstateChanged:Once(function() print(\"first transition\") end)\nstateChanged:Fire(\"idle\", \"active\")</code></pre>\n        <div class=\"callout warning\"><strong>Wait requires a coroutine</strong><p>Calling <code>Signal:Wait()</code> from the top level errors. Spawn a coroutine with <code>task.spawn</code> first.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "task-api",
      "title": "Task scheduler",
      "summary": "Schedule, delay, cancel, and safely yield Lua work without blocking rendering.",
      "keywords": "task spawn defer delay cancel wait astral scheduler frame timer callback nonblocking",
      "html": "<h2>Scheduling model</h2><p>Scheduled callbacks execute on Astral's Lua frame pump under the same callback budget as events. <code>task.spawn</code> and <code>defer</code> queue work for the next pump; they do not create operating-system threads. <code>task.delay</code> stores a steady-clock deadline and returns a cancellable id.</p>\n        <table><thead><tr><th>Function</th><th>Returns</th><th>Use</th></tr></thead><tbody><tr><td>task.spawn(fn)</td><td>task id</td><td>Move work out of the current callback.</td></tr><tr><td>task.defer(fn)</td><td>task id</td><td>Alias of spawn.</td></tr><tr><td>task.delay(seconds, fn)</td><td>task id</td><td>Run once after a delay.</td></tr><tr><td>task.cancel(id)</td><td>boolean</td><td>Cancel pending work.</td></tr><tr><td>task.wait(seconds?)</td><td>implementation result</td><td>Available only where the script tier permits blocking wait.</td></tr></tbody></table>\n        <pre><code>local pending\nastral.on(\"key\", function(key, down)\n    if not down then return end\n    if pending then task.cancel(pending) end\n    pending = task.delay(0.25, function()\n        print(\"debounced key\", key)\n        pending = nil\n    end)\nend)</code></pre>\n        <p>Use <code>http.request_async</code> for networking. Scheduling a synchronous HTTP call with task.spawn still blocks the Lua frame that eventually executes it.</p>"
    },
    {
      "group": "Lua API",
      "id": "resource-bag-api",
      "title": "ResourceBag",
      "summary": "Own connections, drawings, callbacks, and disposable objects with one cleanup path.",
      "keywords": "ResourceBag Add Cleanup Destroy lifecycle dispose connection drawing cleanup unload",
      "html": "<p><code>astral.ResourceBag.new()</code> creates a LIFO disposal container. <code>Add(value)</code> returns the same value so setup can stay inline. Cleanup understands functions and objects exposing Disconnect, Destroy, Remove, or Cancel.</p>\n        <pre><code>local bag = astral.ResourceBag.new()\nlocal label = bag:Add(Drawing.new(\"Text\"))\nlabel.Text = \"tracking\"\n\nbag:Add(Players.PlayerAdded:Connect(function(player)\n    print(\"joined\", player.name)\nend))\n\nbag:Add(function()\n    print(\"custom finalizer\")\nend)\n\nastral.on_unload(function() bag:Cleanup() end)</code></pre>\n        <h2>Exact behavior</h2><ul><li>Items clean in reverse insertion order.</li><li>Cleanup errors are isolated with pcall so remaining items still dispose.</li><li>Cleanup empties the bag and can safely run again.</li><li>All SDK-created bags are also cleaned during runtime unload.</li></ul>\n        <div class=\"callout\"><strong>Session changes</strong><p>Use one bag per session-owned feature. Clean it in <code>astral.on_session_changed</code>, then rebuild with fresh Instance handles.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "runtime-capabilities",
      "title": "Runtime & capabilities",
      "summary": "Feature-detect permissions, observe session generations, and measure Lua runtime state.",
      "keywords": "runtime stats capabilities lua_memory session_generation game_alive permission feature detection limits",
      "html": "<h2>runtime.stats()</h2><table><thead><tr><th>Field</th><th>Meaning</th></tr></thead><tbody><tr><td>lua_memory_kb</td><td>Current Lua allocator usage.</td></tr><tr><td>memory_limit_kb</td><td>Per-runtime limit, currently 65,536 KiB.</td></tr><tr><td>callback_budget_ms</td><td>Host-dispatched callback budget.</td></tr><tr><td>session_generation</td><td>Monotonic ownership generation for Roblox handles.</td></tr><tr><td>game_alive</td><td>Whether a validated game session is live.</td></tr><tr><td>unix_timestamp_ms</td><td>Host wall-clock Unix milliseconds.</td></tr></tbody></table>\n        <h2>Capabilities</h2><pre><code>local caps = runtime.capabilities\nif caps.world_query then\n    print(\"triangle world queries available\")\nend\nif caps.http then\n    http.request_async({url=\"https://example.com\"}, print)\nend\nif caps.memory then\n    print(\"trusted-only memory access granted\")\nend</code></pre>\n        <p>Current flags include instance, world_query, drawing, ui, files, json, base64, HTTP, media, GC, introspection, memory, offsets, and native_modules. Capability checks are the supported way to branch across script tiers.</p>\n        <div class=\"callout warning\"><strong>Generation beats address</strong><p>The same numeric address can later be reused. A wrapped Instance validates both its address and the generation it came from.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "tween-api",
      "title": "Tween",
      "summary": "Animate numbers and typed values without writing your own per-frame interpolation loop.",
      "keywords": "Tween value to easing Linear InQuad OutQuad InOutQuad OutCubic Completed Cancel animation Lerp",
      "html": "<h2>Generic values</h2><p><code>Tween.value(from, to, durationSeconds, onStep, easing?)</code> interpolates numbers or values with a <code>Lerp</code> method. It returns a handle with <code>Playing</code>, a <code>Completed</code> Signal, and <code>Cancel(reason?)</code>.</p>\n        <pre><code>local tween = Tween.value(\n    Vector3.new(0, 5, 0),\n    Vector3.new(0, 20, 0),\n    0.8,\n    function(position)\n        local point = Camera.worldToViewportPoint(position)\n        if point then marker.Position = point end\n    end,\n    Tween.Easing.OutCubic\n)\n\ntween.Completed:Connect(function(finished, reason)\n    print(finished and \"complete\" or reason)\nend)</code></pre>\n        <h2>Table properties</h2><p><code>Tween.to(target, property, goal, duration, easing?)</code> reads the starting value once and updates that property every frame.</p>\n        <pre><code>local box = Drawing.new(\"Square\")\nbox.Position = Vector2.new(20, 80)\nbox.Size = Vector2.new(20, 20)\nlocal motion = Tween.to(box, \"Position\", Vector2.new(300, 80), 0.4, Tween.Easing.InOutQuad)</code></pre>\n        <p>Easings: Linear, InQuad, OutQuad, InOutQuad, and OutCubic. Add the handle to a ResourceBag so feature shutdown cancels active animation.</p>"
    },
    {
      "group": "Lua API",
      "id": "flow-control-api",
      "title": "Debounce & RateLimiter",
      "summary": "Control event spam and average work rate with steady-clock helpers.",
      "keywords": "Debounce RateLimiter Try Ready Reset Allow token bucket spam throttle rate burst cooldown",
      "html": "<h2>Debounce</h2><p><code>Debounce.new(intervalSeconds)</code> tracks the last accepted action. <code>Try()</code> returns true once per interval, <code>Ready()</code> checks without consuming, and <code>Reset()</code> makes the next attempt immediate.</p>\n        <pre><code>local click = Debounce.new(0.2)\nastral.on(\"key\", function(key, down)\n    if down and key == input.VK.MOUSE1 and click:Try() then\n        print(\"accepted click\")\n    end\nend)</code></pre>\n        <h2>Token-bucket rate limiting</h2><p><code>RateLimiter.new(ratePerSecond, burst?)</code> starts full. <code>Allow(cost?)</code> refills using steady elapsed time, consumes tokens when possible, and returns <code>allowed, remainingTokens</code>. <code>Reset(tokens?)</code> restores a chosen amount.</p>\n        <pre><code>local logs = RateLimiter.new(4, 8)\nastral.on(\"frame\", function()\n    local allowed = logs:Allow()\n    if allowed then astral.log.debug(\"bounded diagnostic\") end\nend)</code></pre>\n        <p>Debounce is for spacing discrete actions. RateLimiter is for allowing bursts while enforcing a long-term average.</p>"
    },
    {
      "group": "Lua API",
      "id": "json-api",
      "title": "JSON",
      "summary": "Encode and decode bounded JSON with explicit cycle, depth, and numeric validation.",
      "keywords": "json encode decode array object null cycle depth NaN payload",
      "html": "<h2>Encoding</h2><p><code>json.encode(value)</code> supports nil, booleans, finite numbers, strings, dense arrays, and string-key objects. Mixed numeric/string maps, cycles, non-finite numbers, unsupported userdata, or more than 32 nested levels are rejected.</p>\n        <h2>Decoding</h2><p><code>json.decode(text)</code> parses objects, arrays, strings, numbers, booleans, and null. Input and generated output are capped at 4 MiB.</p>\n        <pre><code>local settings = {\n    accent = Color3.fromRGB(65,145,255):ToHex(),\n    enabled = true,\n    samples = {12, 18, 24}\n}\nfs.write(\"settings.json\", json.encode(settings))\n\nlocal restored = json.decode(fs.read(\"settings.json\"))\nprint(restored.accent, restored.samples[2])</code></pre>\n        <p>Typed SDK objects are tables, but encoding them serializes their visible fields rather than preserving metatables. Reconstruct the intended type after decoding.</p>"
    },
    {
      "group": "Lua API",
      "id": "base64-api",
      "title": "Base64",
      "summary": "Convert arbitrary byte strings to and from portable Base64 text.",
      "keywords": "base64 encode decode binary bytes transport data uri",
      "html": "<div class=\"api-list\"><div><code>base64.encode(bytes)</code><p>Returns padded RFC-style Base64 text.</p></div><div><code>base64.decode(text)</code><p>Returns the original binary-safe Lua string or an error for malformed input.</p></div></div>\n        <pre><code>local raw = \"Astral\\0binary\\255\"\nlocal encoded = base64.encode(raw)\nlocal decoded = base64.decode(encoded)\nassert(decoded == raw)</code></pre>\n        <h2>Scenarios</h2><ul><li>Store a small binary token inside JSON.</li><li>Transport binary-safe data through a text-only endpoint.</li><li>Persist opaque bytes in the script sandbox.</li></ul>\n        <p>Base64 is encoding, not encryption. Anyone with the value can decode it.</p>"
    },
    {
      "group": "Lua API",
      "id": "crypto-api",
      "title": "SHA-256",
      "summary": "Calculate deterministic SHA-256 digests for integrity and cache keys.",
      "keywords": "crypto sha256 hash digest integrity cache checksum security",
      "html": "<p><code>crypto.sha256(value)</code> returns a lowercase 64-character hexadecimal SHA-256 digest of the exact Lua string bytes.</p>\n        <pre><code>local source = fs.read(\"modules/tool.lua\")\nlocal digest = crypto.sha256(source)\nlocal previous = astral.store.get(\"tool_hash\")\nif previous ~= digest then\n    print(\"module changed\", digest)\n    astral.store.set(\"tool_hash\", digest)\nend</code></pre>\n        <h2>Good uses</h2><ul><li>Detect file or response changes.</li><li>Build stable cache keys.</li><li>Compare content without logging it.</li></ul>\n        <div class=\"callout warning\"><strong>Not authentication by itself</strong><p>A plain digest does not prove who produced a message. Do not use it as a replacement for a server-verified signature or MAC.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "file-api",
      "title": "Private files",
      "summary": "Read and manage files inside a per-script sandbox with quota and path validation.",
      "keywords": "fs read write append exists list mkdir delete sandbox quota traversal symlink private",
      "html": "<h2>Functions</h2><table><thead><tr><th>Function</th><th>Behavior</th></tr></thead><tbody><tr><td>fs.read(path)</td><td>Binary-safe file contents.</td></tr><tr><td>fs.write(path, data)</td><td>Create/replace, making parent folders.</td></tr><tr><td>fs.append(path, data)</td><td>Append within limits.</td></tr><tr><td>fs.exists(path)</td><td>File or directory existence.</td></tr><tr><td>fs.list(path?)</td><td>Sorted relative child entries.</td></tr><tr><td>fs.mkdir(path)</td><td>Create folders recursively.</td></tr><tr><td>fs.delete(path)</td><td>Delete one sandbox entry.</td></tr></tbody></table>\n        <pre><code>fs.mkdir(\"sessions\")\nfs.write(\"sessions/current.txt\", tostring(runtime.stats().session_generation))\nfor _, path in ipairs(fs.list(\"sessions\")) do print(path) end</code></pre>\n        <h2>Boundary</h2><p>Absolute paths, drive prefixes, traversal, and resolved symlink escapes are rejected. Files cap at 8 MiB and a script sandbox at 32 MiB. Scripts cannot read another script's directory.</p>"
    },
    {
      "group": "Lua API",
      "id": "module-api",
      "title": "Lua modules",
      "summary": "Import sandboxed Lua modules into the caller's isolated environment.",
      "keywords": "fs import module lua require return cache isolated environment",
      "html": "<p><code>fs.import(path)</code> accepts a sandbox-relative <code>.lua</code> file up to 2 MiB, compiles it, assigns the current script environment, executes it through Astral's protected call path, and returns its results.</p>\n        <pre><code>-- modules/geometry.lua\n-- return {\n--   floor = function(point) return world.floor_below(point, 500) end\n-- }\n\nlocal geometry = fs.import(\"modules/geometry.lua\")\nlocal hit = geometry.floor(Vector3.new(0, 100, 0))\nprint(hit and hit.position)</code></pre>\n        <h2>Errors</h2><p>Missing file, wrong extension, oversized source, compilation error, runtime error, or a path outside the sandbox returns a descriptive failure. Imports are not automatically cached; store the returned module in your script or <code>cache</code> if it is reused.</p>"
    },
    {
      "group": "Lua API",
      "id": "http-sync-api",
      "title": "Synchronous HTTP",
      "summary": "Perform bounded public-HTTPS requests when a blocking call is acceptable.",
      "keywords": "http get post request synchronous blocking https method headers response status timeout",
      "html": "<h2>Functions</h2><div class=\"api-list\"><div><code>http.get(url)</code><p>Compatibility helper returning body or nil,error.</p></div><div><code>http.post(url, body, contentType?)</code><p>Compatibility POST helper.</p></div><div><code>http.request(options)</code><p>GET, POST, PUT, PATCH, DELETE, or HEAD with response table.</p></div></div>\n        <pre><code>local response, err = http.request({\n    url = \"https://example.com/data.json\",\n    method = \"GET\",\n    headers = {Accept = \"application/json\"},\n    timeout_ms = 5000\n})\nif not response then return print(err) end\nprint(response.status, response.success, #response.body)</code></pre>\n        <p>Response fields are status, body, success, and headers. Public HTTPS is mandatory; redirects are revalidated. Private, loopback, link-local, and DNS results resolving to private space are rejected.</p>\n        <div class=\"callout warning\"><strong>It blocks its Lua caller</strong><p>Do not call synchronous HTTP from frame, render, or UI callbacks. Use the async API for interactive scripts.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "http-async-api",
      "title": "Asynchronous HTTP",
      "summary": "Run public-HTTPS work off the render thread and receive bounded callbacks.",
      "keywords": "http request_async cancel callback background request id nonblocking concurrency",
      "html": "<p><code>http.request_async(options, callback)</code> validates the request, performs network I/O on a background worker, then delivers <code>callback(response, error)</code> from the Lua frame pump. It returns a request id immediately.</p>\n        <pre><code>local bag = astral.ResourceBag.new()\nlocal requestId = http.request_async({\n    url = \"https://example.com/profile\",\n    method = \"POST\",\n    headers = {[\"Content-Type\"]=\"application/json\"},\n    body = json.encode({userid = Players.me().userid}),\n    timeout_ms = 6000\n}, function(response, err)\n    if err then return astral.log.warn(err) end\n    print(response.status, response.body)\nend)\n\nbag:Add(function() http.cancel(requestId) end)</code></pre>\n        <h2>Limits</h2><p>At most 32 requests may be pending. Request body caps at 2 MiB, response at 4 MiB, headers at 64, and timeouts clamp to 1–15 seconds. <code>http.cancel(id)</code> suppresses a pending completion; it does not guarantee the operating-system request stops instantly.</p>"
    },
    {
      "group": "Lua API",
      "id": "world-query-overview",
      "title": "World query engine",
      "summary": "Query Astral's progressively reconstructed world geometry without calling Roblox raycast.",
      "keywords": "world query geometry bvh reconstructed map mesh triangle warmup status updated exact external",
      "html": "<p>The <code>world</code> namespace queries Astral's own immutable geometry snapshots. Parts, primitive shapes, terrain, and successfully decoded MeshPart triangles are converted into a background BVH. Lua queries never call Roblox raycast and never block the overlay to rebuild the index.</p>\n        <h2>Geometry lifecycle</h2><ol class=\"steps\"><li><span>1</span><div><strong>Demand</strong><p>The first world query enables the existing map reconstruction worker.</p></div></li><li><span>2</span><div><strong>Progressive snapshots</strong><p>Already decoded areas become queryable while the rest of a large map continues warming.</p></div></li><li><span>3</span><div><strong>Background BVH</strong><p>A worker indexes every available triangle. There is no arbitrary map-triangle truncation.</p></div></li><li><span>4</span><div><strong>Atomic publish</strong><p>Readers keep using the previous immutable index until the replacement is complete.</p></div></li></ol>\n        <h2>Status</h2><pre><code>local status = world.status()\nprint(status.ready, status.building)\nprint(status.parts, status.triangles, status.nodes)\nprint(\"unknown meshes\", status.unknown_geometry)\n\nworld.Updated:Connect(function(nextStatus)\n    print(\"world revision\", nextStatus.revision)\nend)</code></pre>\n        <table><thead><tr><th>Field</th><th>Meaning</th></tr></thead><tbody><tr><td>ready</td><td>An index for the current session exists. An empty place can be ready with zero triangles.</td></tr><tr><td>building</td><td>A newer immutable snapshot is being indexed.</td></tr><tr><td>unknown_geometry</td><td>GeometryInstance parts whose exact mesh was not decoded. They are skipped, not lied about as cubes.</td></tr><tr><td>revision</td><td>Changes whenever a new index is published.</td></tr></tbody></table>\n        <div class=\"callout\"><strong>Warm-up is real</strong><p>A query can return <code>nil, \"world index is warming up\"</code> before the first snapshot. Retry on a later frame or wait for <code>world.Updated</code>; do not busy-loop.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "world-raycast",
      "title": "Raycast & linecast",
      "summary": "Cast finite rays or exact line segments and inspect triangle-accurate hit metadata.",
      "keywords": "world raycast linecast origin direction position normal distance triangle barycentric filter ignore include",
      "html": "<h2>Signatures</h2><div class=\"api-list\"><div><code>world.raycast(origin, direction, options?)</code><p>The direction length is the default maximum distance. Returns nearest hit or nil.</p></div><div><code>world.raycast(arguments)</code><p>Accepts <code>RaycastArguments.new(origin, direction, params?)</code>.</p></div><div><code>world.trace(arguments)</code><p>Always returns an envelope containing Arguments, Result, Hit, Error, EndPosition, and Source.</p></div><div><code>world.linecast(from, to, options?)</code><p>Queries only the finite segment between two points.</p></div><div><code>world.is_visible(from, to, options?)</code><p>Returns true when no reconstructed triangle intersects the segment; otherwise false plus the blocking hit.</p></div></div>\n        <h2>Hit object</h2><table><thead><tr><th>Field</th><th>Meaning</th></tr></thead><tbody><tr><td>position / Position</td><td>Typed Vector3 world intersection.</td></tr><tr><td>normal / Normal</td><td>Triangle normal oriented against the cast direction.</td></tr><tr><td>distance / Distance</td><td>Stud distance from origin.</td></tr><tr><td>instance / Instance</td><td>Session-safe wrapped owning part.</td></tr><tr><td>Origin, Direction, Ray</td><td>The complete query context.</td></tr><tr><td>EndPosition, Fraction</td><td>Intersection position and normalized distance along the requested direction.</td></tr><tr><td>Source</td><td><code>AstralReconstructedWorld</code>; never confused with the live Roblox relay.</td></tr><tr><td>class_name, mesh_id</td><td>Source metadata.</td></tr><tr><td>decoded_mesh</td><td>True when the triangle came from decoded mesh geometry.</td></tr><tr><td>triangle_index, barycentric</td><td>Exact source triangle and local hit weights.</td></tr></tbody></table>\n        <h2>Example: camera pick</h2><pre><code>local mouse = Vector2.new(input.get_mouse_pos().x, input.get_mouse_pos().y)\nlocal hit, err = Camera.raycast(mouse, 2500, {\n    classes = {\"Part\", \"MeshPart\"},\n    backface_culling = false,\n    epsilon = 0.002\n})\n\nif hit then\n    print(hit.class_name, hit.position, hit.normal, hit.distance)\nelseif err then\n    print(\"query unavailable\", err)\nend</code></pre>\n        <h2>Filters</h2><p><code>include</code> and <code>ignore</code> accept arrays of numeric addresses or wrapped Instances. <code>classes</code> accepts a class string or array. <code>max_distance</code> overrides direction length; <code>epsilon</code> avoids immediately re-hitting the emitting surface; <code>backface_culling</code> ignores back-facing triangles.</p>\n        <h2>RaycastParams</h2><p><code>FilterDescendantsInstances</code> and <code>FilterType</code> are supported, including <code>Enum.RaycastFilterType.Include</code> and <code>Exclude</code>. Cached part addresses are matched exactly; parent descendants are not expanded implicitly. MaxDistance, MaxResults, Epsilon, and BackfaceCulling are accepted aliases. IgnoreWater, RespectCanCollide, and non-default collision groups return an explicit unsupported-option error because those properties are absent from the reconstructed snapshot.</p>"
    },
    {
      "group": "Lua API",
      "id": "world-multi-ray",
      "title": "Multi-hit & batched rays",
      "summary": "Collect ordered penetrations or evaluate many independent rays in one Lua call.",
      "keywords": "raycast_all batch_raycast penetration bullet wall thickness lidar grid visibility fan rays",
      "html": "<h2>All intersections</h2><p><code>world.raycast_all(origin, direction, options?)</code> returns ordered, de-duplicated hits. <code>max_results</code> defaults to 16 and clamps to 64 so one ray cannot allocate an unbounded Lua table.</p>\n        <pre><code>local hits = world.raycast_all(origin, direction * 500, {\n    max_results = 12,\n    ignore = {localCharacterPart}\n})\nfor index, hit in ipairs(hits or {}) do\n    print(index, hit.distance, hit.class_name, hit.decoded_mesh)\nend</code></pre>\n        <h2>Batching</h2><p><code>world.batch_raycast(rays, sharedOptions?)</code> evaluates up to 128 rays against one immutable index. Each ray is <code>{origin=Vector3, direction=Vector3, max_distance?=number}</code>. Result entries are a hit or <code>false</code>, preserving input indices.</p>\n        <pre><code>local rays = {}\nfor x = -4, 4 do\n    rays[#rays + 1] = {\n        origin = Camera.position(),\n        direction = Vector3.new(x * 0.08, 0, -1).Unit * 1000\n    }\nend\n\nlocal hits = world.batch_raycast(rays)\nfor i = 1, #rays do\n    print(i, hits[i] and hits[i].distance or \"clear\")\nend</code></pre>\n        <div class=\"callout\"><strong>Why batch?</strong><p>It avoids repeated Lua/native transitions and guarantees every result used the same world revision. It does not run one OS thread per ray; the BVH makes one shared query pass cheap.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "world-spatial-query",
      "title": "Nearest & overlap queries",
      "summary": "Find the nearest reconstructed surface or parts intersecting a sphere.",
      "keywords": "closest_point overlap_sphere nearest surface radius spatial query ground proximity",
      "html": "<h2>Closest surface</h2><p><code>world.closest_point(point, maxDistance?, options?)</code> traverses BVH bounds and computes the mathematically closest point on candidate triangles. It returns the same typed hit shape as raycast, with distance measured from the query point.</p>\n        <pre><code>local nearest, err = world.closest_point(player.position, 40, {\n    classes = {\"Part\", \"MeshPart\", \"Terrain\"}\n})\nif nearest then\n    print(\"surface is\", nearest.distance, \"studs away\")\nend</code></pre>\n        <h2>Sphere overlap</h2><p><code>world.overlap_sphere(center, radius, options?)</code> returns one nearest contact per owning part, ordered by distance. Radius must be greater than zero and at most 10,000 studs; <code>max_results</code> caps returned parts.</p>\n        <pre><code>local nearby = world.overlap_sphere(Vector3.new(0, 12, 0), 8, {\n    max_results = 32,\n    classes = \"MeshPart\"\n})\nfor _, contact in ipairs(nearby) do\n    print(contact.Instance, contact.position)\nend</code></pre>\n        <p>These are triangle-surface queries, not Roblox physics overlaps: CanCollide and collision groups are not inferred unless a future geometry snapshot records them.</p>"
    },
    {
      "group": "Lua API",
      "id": "world-query-recipes",
      "title": "World query recipes",
      "summary": "Practical recipes for floor detection, cover checks, path validation, and visibility sampling.",
      "keywords": "recipe floor wall path clear cover visibility sample camera click ground probe scenario",
      "html": "<h2>Floor below a point</h2><pre><code>local floor = world.floor_below(player.position, 250)\nif floor then\n    local height = player.position.y - floor.position.y\n    print(\"height above geometry\", height)\nend</code></pre>\n        <h2>Wall in a movement direction</h2><pre><code>local wall = world.wall_ahead(origin, velocity.Unit, 12, {\n    epsilon = 0.01\n})\nif wall and math.abs(wall.normal.y) < 0.45 then\n    print(\"vertical obstacle\", wall.distance)\nend</code></pre>\n        <h2>Validate a multi-point route</h2><pre><code>local clear, blocker, segment = world.path_clear({\n    startPosition,\n    cornerPosition,\n    destinationPosition\n})\nif clear == false then\n    print(\"blocked on segment\", segment, blocker.position)\nend</code></pre>\n        <h2>Sample partial cover</h2><pre><code>local ratio, visible, hits = world.sample_visibility(cameraPosition, {\n    target.position + Vector3.new(0, 2.5, 0),\n    target.position,\n    target.position + Vector3.new(0, -2, 0)\n})\nprint(string.format(\"%.0f%% samples clear\", ratio * 100))</code></pre>\n        <div class=\"callout warning\"><strong>Target bodies can be geometry</strong><p>A strict linecast reports any triangle before the endpoint. When sampling a character, ignore known body-part addresses or treat a hit very close to the endpoint as reaching the target. Do not globally inflate epsilon; that can hide thin walls.</p></div>"
    },
    {
      "group": "Lua API",
      "id": "camera-api",
      "title": "Camera",
      "summary": "Read the current camera, project points, generate viewport rays, and pick world geometry.",
      "keywords": "Camera current get position fov viewport worldToViewportPoint viewportPointToRay raycast screen mouse",
      "html": "<h2>Components</h2><div class=\"api-list\"><div><code>Camera.current()</code><p>Returns a wrapped Camera tied to the current session generation.</p></div><div><code>Camera.get(property)</code><p>Reads a reflected Camera property.</p></div><div><code>Camera.position(), fov(), viewportSize()</code><p>Common values with nil when no live camera exists.</p></div><div><code>Camera.worldToViewportPoint(position)</code><p>Returns Vector2 plus on-screen state.</p></div><div><code>Camera.viewportPointToRay(point)</code><p>Creates a unit world ray from FOV, viewport, and camera CFrame.</p></div><div><code>Camera.raycast(point, distance?, options?)</code><p>Casts through a screen point into Astral's reconstructed geometry.</p></div></div>\n        <h2>Example: object inspector cursor</h2><pre><code>astral.on(\"key\", function(key, down)\n    if not down or key ~= input.VK.MOUSE1 then return end\n    local mouse = input.get_mouse_pos()\n    local hit, err = Camera.raycast(Vector2.new(mouse.x, mouse.y), 5000)\n    if hit then print(hit.Instance, hit.position) end\nend)</code></pre>\n        <p><code>Camera.Changed</code> fires on Astral session-generation changes. Reacquire any Camera handle in that callback; old wrappers deliberately become invalid.</p>"
    },
    {
      "group": "Lua API",
      "id": "players-service",
      "title": "Players service",
      "summary": "Read copied player snapshots, filter targets, and react to cache additions and removals.",
      "keywords": "Players all me count get find closest filtered query PlayerAdded PlayerRemoving health position snapshot",
      "html": "<h2>Snapshot fields</h2><p>Player tables contain <code>name</code>, <code>display_name</code>, <code>userid</code>, health, max health, friendly/team state, rig and humanoid state, team color, Instance/humanoid addresses, and best-effort root <code>position</code>. They are copies: fetching again gets current values.</p>\n        <h2>Lookups</h2><div class=\"api-list\"><div><code>Players.all(), me(), count()</code><p>Enumerate current cached entities.</p></div><div><code>Players.get(userid), find(name)</code><p>Direct id or exact case-insensitive name lookup.</p></div><div><code>Players.closest(position?)</code><p>Nearest cached player plus distance.</p></div><div><code>Players.query(options)</code><p>Filter by friendly, alive, name, max distance, and origin.</p></div><div><code>Players.filtered(predicate)</code><p>Run a Lua predicate over copied records.</p></div></div>\n        <h2>Example: nearby enemies</h2><pre><code>local me = Players.me()\nlocal nearby = Players.query({\n    friendly = false,\n    alive = true,\n    max_distance = 150,\n    from = me and me.position\n})\ntable.sort(nearby, function(a, b)\n    return (a.position - me.position).Magnitude < (b.position - me.position).Magnitude\nend)</code></pre>\n        <p><code>Players.PlayerAdded</code> and <code>PlayerRemoving</code> are SDK Signals driven by the entity cache. A user in a server selector can exist before a character/root position does, so position may be nil.</p>"
    },
    {
      "group": "Lua API",
      "id": "esp-api",
      "title": "Custom ESP flags",
      "summary": "Register script-owned ESP fields and update them per player.",
      "keywords": "astral esp register_flag add_player_flag custom flag userid render queue",
      "html": "<p>Lua scripts can register a user-configurable player ESP flag and submit its current text for individual players.</p>\n        <pre><code>astral.esp.register_flag(\"role\", \"Role\", 0xFFFFFFFF)\n\nastral.on(\"frame\", function()\n    for _, player in ipairs(players.all()) do\n        astral.esp.add_player_flag(player.userid, \"role\", \"tracked\")\n    end\nend)</code></pre>\n        <div class=\"api-list\"><div><code>astral.esp.register_flag(id, name, defaultColor)</code><p>Creates the flag and its settings entry.</p></div><div><code>astral.esp.add_player_flag(userid, id, text)</code><p>Queues current text for one player.</p></div></div>\n        <div class=\"callout\"><strong>Submit every frame</strong><p>The custom flag render queue clears at the end of each ESP frame. A one-time add is intentionally not persistent.</p></div>"
    },
    {
      "group": "Support",
      "id": "troubleshooting",
      "title": "Troubleshooting",
      "summary": "Exact recovery steps for common loader, ESP, world, Explorer, and performance problems.",
      "keywords": "error fix troubleshooting crash freeze lag read failed no players no esp particles sha mismatch config save",
      "html": "<h2>Loader and account</h2><details open><summary>SHA-256 mismatch</summary><p>Do not run the file. Refresh and obtain a clean copy. Report the selected channel and exact executable name if it repeats.</p></details><details><summary>Build is outdated</summary><p>Roblox and Astral versions do not match. Wait for an updated release; deleting profiles does not help.</p></details><details><summary>Profile will not save</summary><p>Confirm the session is active and the profile is under Yours, not Subscribed.</p></details>\n        <h2>Game data and visuals</h2><details><summary>No players or players flicker</summary><p>Wait for the game to finish loading. In server selectors, unspawned users may not have character data; the player list should retain roster entries while ESP waits for a valid character.</p></details><details><summary>ESP disappears after a long session</summary><p>Open diagnostics and check process RAM, entity count, and mesh cache. Report whether only meshes disappear or all text/boxes disappear.</p></details><details><summary>Visual check freezes every second</summary><p>Disable visibility checks and map wireframe to confirm map-processing cost. Large maps should warm progressively rather than block the render thread.</p></details><details><summary>Mesh chams missing on one PC</summary><p>Try GPU then CPU rendering. If the mesh provider is unavailable, include the provider-probe output and Roblox version.</p></details>\n        <h2>Instance tools</h2><details><summary>Explorer says read failed</summary><p>Wait for the reflected bridge to become ready, then refresh once. If every property fails after a server hop, the old session gate was not invalidated.</p></details><details><summary>World modifiers or particles do nothing</summary><p>If Explorer also fails, troubleshoot the shared Instance bridge. If Explorer works, verify the parent toggle, non-zero opacity/rate, and the selected world option.</p></details><details><summary>Live WaitingHybridScriptsJob unavailable</summary><p>The active Roblox callback disappeared. Astral should reacquire it. Avoid hammering Retry while the game is transitioning.</p></details>\n        <h2>Reporting a bug</h2><p>Include the Astral release, Roblox version, game/place, exact settings required to reproduce it, whether it survives a fresh Roblox launch, the last relevant console lines, and a screenshot or short recording. Never post your license key or account token.</p>"
    },
    {
      "group": "Support",
      "id": "performance",
      "title": "Performance guide",
      "summary": "Diagnose frame stalls, memory growth, mesh cost, and background work.",
      "keywords": "performance optimize fps frame stall ram memory leak cpu gpu mesh cache diagnostics",
      "html": "<h2>Fast isolation order</h2><ol class=\"steps\"><li><span>1</span><div><strong>Disable visibility and map visualization</strong><p>Large geometry scans are the first thing to isolate when stalls occur on a timer.</p></div></li><li><span>2</span><div><strong>Reduce Mesh Chams</strong><p>Lower Max Distance and disable shader, glow, bloom fill, and wireframe passes.</p></div></li><li><span>3</span><div><strong>Reduce world particles</strong><p>Rate multiplied by lifetime determines the rough live particle count.</p></div></li><li><span>4</span><div><strong>Close heavy windows</strong><p>Explorer property loading and large Lua lists should run in the background, but closing them isolates regressions.</p></div></li><li><span>5</span><div><strong>Read diagnostics</strong><p>Capture FPS, frame time, P95/P99, missed budget, RAM, vertices/triangles, windows, and cache counts.</p></div></li></ol>\n        <h2>Memory growth</h2><p>Steady unbounded growth is not normal warm-up. Record RAM at launch, after joining, and after a server hop. If growth continues at a fixed rate, report which feature causes it to stop when disabled.</p>\n        <div class=\"callout\"><strong>Do not hide the symptom</strong><p>A frame cap can reduce load but does not fix a periodic blocking task or leak. Isolate the responsible feature before changing unrelated rendering settings.</p></div>"
    },
    {
      "group": "Combat",
      "id": "aimbot",
      "title": "Standard Aimbot",
      "summary": "Mouse aim, FOV, smoothing, prediction, sticky targeting, and multi-part fallback.",
      "keywords": "mouse aim standard aimbot smooth prediction fov sticky target parts closest crosshair",
      "html": "<p>Standard Aimbot moves the mouse toward a valid target. Enable it, assign a bind, choose a selection method, then set FOV and target parts.</p>\n        <h2>Controls</h2><table><thead><tr><th>Setting</th><th>Effect</th></tr></thead><tbody>\n          <tr><td>Target method</td><td>Chooses which valid player wins, commonly Closest to Crosshair or distance-based selection.</td></tr>\n          <tr><td>FOV</td><td>Maximum target area around the configured aim origin. Smaller is more selective.</td></tr>\n          <tr><td>Sticky Aim</td><td>Keeps the current valid target rather than reevaluating every frame.</td></tr>\n          <tr><td>Smooth</td><td>Enables blended mouse movement. The smoothness value is ignored when this is off.</td></tr>\n          <tr><td>Prediction</td><td>Leads moving targets. Too much prediction places aim ahead of motion.</td></tr>\n          <tr><td>Target parts</td><td>Allows multiple body parts. If a selected limb is missing or detached, another available selected part is used.</td></tr>\n        </tbody></table>\n        <h2>Setup that is easy to tune</h2><ol class=\"steps\"><li><span>1</span><div><strong>Start without smoothing</strong><p>Verify target selection and FOV first.</p></div></li><li><span>2</span><div><strong>Enable Smooth</strong><p>Increase its value gradually until movement feels controlled without falling behind.</p></div></li><li><span>3</span><div><strong>Add prediction last</strong><p>Tune in a private testing place with moving targets.</p></div></li></ol>\n        <div class=\"callout warning\"><strong>Feels extremely slow</strong><p>Confirm Smooth is enabled only when you intend to use the configured smoothness. Old profiles can contain values designed for a previous smoothing scale.</p></div>"
    },
    {
      "group": "Combat",
      "id": "silent-aim",
      "title": "Silent Aim",
      "summary": "Raycast, Viewport, and Universal modes with multi-part targeting and shared filters.",
      "keywords": "silent aim raycast viewport universal magic bullet force hit multi parts",
      "html": "<p>Silent Aim redirects supported shot queries without moving the visible mouse aim. Choose the mode that matches how the current game handles aiming and shots.</p>\n        <h2>Mode behavior</h2><table><thead><tr><th>Mode</th><th>Notes</th></tr></thead><tbody><tr><td>Raycast</td><td>Recommended for most games. It redirects supported raycasts toward the selected target and, in some games, can behave similarly to a force-hit path. Magic Bullet appears as a dependent checkbox while this mode is selected.</td></tr><tr><td>Viewport</td><td>Uses projected screen-space target positions for games whose aiming behavior is driven by the viewport.</td></tr><tr><td>Universal</td><td>Uses Astral's general player and character targeting path for broad compatibility.</td></tr></tbody></table>\n        <h2>Target parts and filters</h2><p>You can select several body parts. Missing limbs are skipped rather than invalidating the entire target. Team, friend, visibility, forcefield, distance, and enemy-priority rules are applied before a target is accepted.</p>\n        <div class=\"callout\"><strong>Magic Bullet placement</strong><p>It has no separate panel. Select Raycast, then enable the Magic Bullet checkbox that unfolds below the mode.</p></div>\n        <h2>When shots do not register</h2><ul><li>Try Raycast first, then compare Viewport and Universal if the game uses a different shot path.</li><li>Check that at least one selected body part exists.</li><li>Temporarily disable visibility and forcefield checks to identify an over-restrictive filter.</li><li>Confirm the target is inside the configured FOV and distance limits.</li></ul>"
    },
    {
      "group": "Combat",
      "id": "target-filters",
      "title": "Target filters",
      "summary": "Team, friend, enemy, forcefield, visibility, FOV, and priority rules.",
      "keywords": "team check visuals use team color friendly enemy priority forcefield visible check neutral whitelist",
      "html": "<p>Combat filters are shared validity rules used by relevant targeting features. They are kept outside an individual aimbot panel because the same classification can affect more than one mode.</p>\n        <table><thead><tr><th>Filter</th><th>Result</th></tr></thead><tbody><tr><td>Team Check</td><td>Rejects teammates resolved from the current game data.</td></tr><tr><td>Friend</td><td>Manually marked friendlies are ignored by targeting.</td></tr><tr><td>Enemy</td><td>Marked enemies are preferred over neutral players after normal validity checks.</td></tr><tr><td>Forcefield Check</td><td>Rejects protected characters using the same detection that powers the ESP flag.</td></tr><tr><td>Visibility</td><td>Requires the reconstructed wall-check result to pass.</td></tr><tr><td>FOV / Distance</td><td>Rejects candidates outside the configured aim area or range.</td></tr></tbody></table>\n        <h2>Priority order</h2><p>A marked enemy does not bypass safety filters. The player must still be alive, have an available selected part, and pass enabled team, forcefield, visibility, FOV, and distance checks. Enemy priority decides between remaining valid candidates.</p>\n        <div class=\"callout\"><strong>Visual team colors</strong><p>Team Check (Visuals), Use Team Color ESP, and Different Enemy/Friendly affect display classification and bounding-box colors. Combat Team Check controls target rejection.</p></div>"
    },
    {
      "group": "Combat",
      "id": "triggerbot",
      "title": "Triggerbot",
      "summary": "Click behavior, delay, cooldown, and safe configuration.",
      "keywords": "trigger bot single click delay cooldown time on target fire",
      "html": "<p>Triggerbot fires when a valid target is under the configured aim point. It uses the same target validity data as the current combat setup.</p>\n        <h2>Settings</h2><table><thead><tr><th>Setting</th><th>Meaning</th></tr></thead><tbody><tr><td>Single Click</td><td>Produces one click for each valid activation rather than holding input.</td></tr><tr><td>Use Delay</td><td>Waits for the configured time on target before firing.</td></tr><tr><td>Delay / Cooldown</td><td>Controls reaction time and minimum spacing between activations.</td></tr></tbody></table>\n        <h2>Tuning</h2><p>Begin with a visible delay and cooldown. Reduce delay only after target validation behaves consistently. A zero or very small cooldown can cause repeated clicks when a target remains under the aim point.</p>"
    },
    {
      "group": "Combat",
      "id": "anti-aim",
      "title": "Anti-Aim",
      "summary": "Enable, bind, spin behavior, and HUD state.",
      "keywords": "anti aim keybind spinbot spin desync",
      "html": "<p>Anti-Aim applies the selected character-orientation behavior while enabled. Assign a Toggle or Hold bind so it can be controlled without reopening the menu. The assigned key appears in the keybind list.</p>\n        <h2>Spinbot</h2><p>Spinbot is an additional orientation behavior with its own enable state. Test it separately from desync so you can distinguish visible orientation from network-state effects.</p>\n        <div class=\"callout warning\"><strong>Custom game controllers</strong><p>Experiences that fully replace character movement or orientation may override Anti-Aim. If the character fights the effect, disable it instead of increasing values blindly.</p></div>"
    },
    {
      "group": "Combat",
      "id": "smart-correlation",
      "title": "Smart correlation",
      "summary": "How hit detection works without a lock and why confidence can miss.",
      "keywords": "smart hit correlation confidence miss hit sound hit marker ping aware health history candidate",
      "html": "<p>Smart correlation estimates whether a local shot caused a remote health change when no explicit target lock is available. It combines shot timing, crosshair/FOV candidates, distance, alive/spawn state, target history, observed health transitions, and ping-aware timing.</p>\n        <h2>Locked versus unlocked</h2><table><thead><tr><th>State</th><th>Behavior</th></tr></thead><tbody><tr><td>Locked target</td><td>The locked player is treated as the primary hit candidate and does not need broad correlation to identify who was intended.</td></tr><tr><td>No lock</td><td>Several nearby candidates are scored. Clear low-confidence failures can be shown instead of disappearing silently.</td></tr></tbody></table>\n        <h2>Why a real hit can show miss</h2><ul><li>The health change arrived outside the ping-aware observation window.</li><li>The game replaced or delayed its health value.</li><li>Several players were close to the aim path.</li><li>The target died or respawned before the cache observed a stable transition.</li></ul>\n        <p>Smart correlation drives hit sounds, markers, effects, and tracers only when their own feature toggles are enabled. Confirmation timing is a shared setting, not hidden inside one effect.</p>"
    },
    {
      "group": "ESP & visuals",
      "id": "player-esp",
      "title": "Player ESP",
      "summary": "Configure every ESP element from the 3D preview.",
      "keywords": "box skeleton name distance health bar flags weapon outline shadow brackets font preview right click config toggle",
      "html": "<p>Open Visuals to show the rotating 3D ESP preview. Click <strong>Config</strong> in the preview's top-right corner to choose which ESP elements are enabled. This includes the bounding box, skeleton, bars, text elements, and individual flags. Right-click an enabled element on the model to open the settings that belong specifically to it. The preview closes when you leave the Visuals tab.</p>\n        <h2>Element groups</h2><table><thead><tr><th>Group</th><th>Examples</th></tr></thead><tbody><tr><td>Boxes &amp; lines</td><td>Bounding box, box fill, skeleton, head dot, snapline, off-screen arrows.</td></tr><tr><td>Text &amp; info</td><td>Name, display/username choice, distance, weapon, health text, flags.</td></tr><tr><td>Bars</td><td>Health and armor bars with side, thickness, color, and gradients.</td></tr><tr><td>Text style</td><td>Font, color, outline, drop shadow, brackets, gradient text.</td></tr></tbody></table>\n        <h2>Editing workflow</h2><ol class=\"steps\"><li><span>1</span><div><strong>Open Config</strong><p>Click <strong>Config</strong> at the top-right of the 3D preview. Toggle the bounding box, box fill, skeleton, head dot, snapline, bars, text elements, and flags from this panel.</p></div></li><li><span>2</span><div><strong>Enable the elements you want</strong><p>Dependent controls animate open beneath their feature. Flags can be enabled individually.</p></div></li><li><span>3</span><div><strong>Right-click the exact preview item</strong><p>Use this for that element's appearance and behavior. Name options live on Name; health-bar options live on the bar; skeleton color lives on Skeleton.</p></div></li><li><span>4</span><div><strong>Check real players</strong><p>The preview shows layout, but live distance, health, rig, and game-specific data come from the current server.</p></div></li><li><span>5</span><div><strong>Save</strong><p>Element visibility, colors, fonts, brackets, outline, drop shadow, and enabled flags save with the profile.</p></div></li></ol>\n        <div class=\"callout\"><strong>Detached limbs</strong><p>Settings → ESP Processing → Max ESP Size rejects parts that are implausibly far from the character, preventing huge boxes when a game removes limbs.</p></div>"
    },
    {
      "group": "ESP & visuals",
      "id": "chams",
      "title": "Chams",
      "summary": "Block, Mesh, and Engine chams with renderers, shaders, visibility, and performance.",
      "keywords": "mesh chams engine chams block material fill glow wireframe shader gpu cpu transparency visible check zfighting",
      "html": "<h2>Types</h2><table><thead><tr><th>Type</th><th>Use</th><th>Notes</th></tr></thead><tbody><tr><td>Block (Material)</td><td>Simple broad-compatible part rendering.</td><td>Lower complexity; follows body parts rather than extracted mesh detail.</td></tr><tr><td>Mesh Chams</td><td>Accurate body/accessory geometry.</td><td>Heavier; supports CPU/GPU rendering, fill, glow, wireframe and custom shaders.</td></tr><tr><td>Engine Chams</td><td>Native FastCluster material styles.</td><td>Supports wireframe, character mesh, and invisibility when the current client validates.</td></tr></tbody></table>\n        <h2>Mesh controls</h2><p><strong>Fill</strong> enables the solid pass. <strong>Glow Outline</strong> adds a separate outline pass. <strong>Visible Check</strong> allows visible and occluded fill/outline colors. <strong>Max Distance</strong> stops expensive far-away rendering. Shader parameters change names for each shader—for example Star Density, Snow Density, Gloss, Rim Strength, or Edge Glow.</p>\n        <h2>CPU versus GPU</h2><p>GPU is normally faster for dense meshes. CPU can be useful as a compatibility fallback. If chams are missing on another system and the console says the mesh provider is unavailable, update the build or use the provider probe supplied by support; identical executables can still see different Roblox cache layouts.</p>\n        <div class=\"callout warning\"><strong>Performance order</strong><p>Reduce Max Distance first, then disable complex shaders, bloom fill, glow, and wireframe. Avoid stacking multiple heavy passes while diagnosing frame loss.</p></div>"
    },
    {
      "group": "ESP & visuals",
      "id": "combat-effects",
      "title": "Hit & kill effects",
      "summary": "Hit chams, glass rise, fairy dust, markers, sounds, and confirmation.",
      "keywords": "hit effects kill effects flat ghost glass fairy dust sound marker png volume confirmation delayed",
      "html": "<h2>Hit effects</h2><p>Hit effects capture the confirmed target shape and fade it independently. Available styles are <strong>Flat</strong> (default), <strong>Ghost</strong>, and <strong>Glass</strong>. They are intentionally short-lived and do not replace the live player's chams.</p>\n        <h2>Kill effects</h2><table><thead><tr><th>Effect</th><th>Behavior</th></tr></thead><tbody><tr><td>Glass rise</td><td>Turns the eliminated player into glass, then slowly lifts and fades them away.</td></tr><tr><td>Fairy dust</td><td>Uses accurate character and accessory geometry as the emission source, disperses dust outward, then fades slowly.</td></tr></tbody></table>\n        <h2>Markers and sounds</h2><p>Hit marker style, image marker, hit sound, volume, and confirmation behavior are independent toggles. Sounds use overlapping playback voices, so rapid hits do not restart one shared sound. The image marker expects <code>C:astral\resourcesimageshitmarker.png</code>.</p>\n        <div class=\"callout\"><strong>Confirmation mode</strong><p>Delayed/confirmed waits for hit correlation instead of firing immediately from input. The shared confirmation setting affects enabled hit feedback consistently.</p></div>"
    },
    {
      "group": "ESP & visuals",
      "id": "tracers",
      "title": "Hit & bullet tracers",
      "summary": "Tracer endpoints, static color, Per-bullet RGB, and Gradient RGB.",
      "keywords": "hit tracer criminality bullet tracer rgb per bullet gradient gif color picker",
      "html": "<p>Hit tracers start at the outer edge of the local character's relevant arm and end at the body part associated with the confirmed hit. Criminality bullet tracers use the supported game-shot data but share the same visual color system.</p>\n        <h2>RGB modes</h2><table><thead><tr><th>Mode</th><th>Result</th></tr></thead><tbody><tr><td>Off</td><td>Uses the selected static color and opacity.</td></tr><tr><td>Per bullet</td><td>Each shot receives one RGB hue and keeps that hue for its full tracer.</td></tr><tr><td>Gradient per bullet</td><td>Each individual tracer carries the full RGB spectrum along its length.</td></tr></tbody></table>\n        <p>Open the tracer color picker, enable RGB Mode, and select the mode from its dropdown. Hover the <strong>[?]</strong> control to see the embedded live GIF for the selected behavior.</p>\n        <div class=\"callout\"><strong>Color picker</strong><p>The base color still controls opacity and acts as the fallback when RGB Mode is disabled.</p></div>"
    },
    {
      "group": "ESP & visuals",
      "id": "radar",
      "title": "Radar",
      "summary": "Range, rotation, FOV cone, colors, and movable placement.",
      "keywords": "radar range size alpha rotate player fov cone enemy friendly",
      "html": "<p>Radar is a movable top-down player display. Enable it in Visuals → Radar, then configure its world range and screen size.</p>\n        <table><thead><tr><th>Setting</th><th>Effect</th></tr></thead><tbody><tr><td>Range</td><td>Maximum represented world distance.</td></tr><tr><td>Size</td><td>On-screen panel dimensions.</td></tr><tr><td>Background Alpha</td><td>Panel transparency.</td></tr><tr><td>Show FOV Cone</td><td>Draws the local facing/field-of-view direction.</td></tr><tr><td>Rotate With Player</td><td>Keeps the local facing direction oriented consistently while the map rotates.</td></tr><tr><td>Colors</td><td>Separate background, border, local, enemy, and friendly colors.</td></tr></tbody></table>\n        <p>Move the radar while the menu is open. Its saved position is profile-specific.</p>"
    },
    {
      "group": "ESP & visuals",
      "id": "hud",
      "title": "HUD & indicators",
      "summary": "Keybind, target, network, smart-hit, extrapolation, and split blocks.",
      "keywords": "hud on screen information keybind target network ping graph quality server location extrapolation smart hit desync view angle cpu fps",
      "html": "<p>Settings → On-Screen Information enables the modular HUD. Pick Lined or List style, set scale and colors, then enable individual fields. Open the menu to reveal and arrange enabled panels.</p>\n        <h2>Available information</h2><table><thead><tr><th>Block</th><th>Shows</th></tr></thead><tbody><tr><td>View</td><td>Character view angle in degrees.</td></tr><tr><td>Desync</td><td>Grey when bound but inactive, green while desyncing, yellow during the interval stop.</td></tr><tr><td>Performance</td><td>Frame time, cheat FPS, CPU/GPU information where available.</td></tr><tr><td>Server</td><td>Location, IP-derived details, instance ID, ping, network quality and graph.</td></tr><tr><td>Target</td><td>Avatar, configured display/username format, distance and state.</td></tr><tr><td>Smart hit</td><td>Correlation result and confidence, including low-confidence failures.</td></tr><tr><td>Extrapolation</td><td>Live visual prediction/safety status; it does not alter aim prediction.</td></tr></tbody></table>\n        <h2>Layout</h2><p>Network information is split into individual blocks rather than one fixed panel. Any block can remain snapped to the stack or be detached and moved separately. The popup layer is rendered above blocks so controls are not hidden.</p>"
    },
    {
      "group": "ESP & visuals",
      "id": "spotify",
      "title": "Spotify player",
      "summary": "Local detection, playback controls, progress seeking, repeat, shuffle, and quality.",
      "keywords": "spotify song artist artwork play pause seek shuffle repeat loop lyrics quality lossless draggable hud overlay",
      "html": "<p>Enable Show Spotify Player in Settings → Interface &amp; Overlays. Astral detects Spotify Desktop locally through Windows and displays artwork, song, artist, playback state, progress, shuffle, repeat, and any quality state the local client exposes.</p>\n        <h2>Interaction</h2><ul><li>Drag the player from its header.</li><li>Use play/pause, previous/next, shuffle, and repeat controls.</li><li>Click or drag the progress bar to seek.</li><li>Enable Synced Lyrics when lyric timing is available.</li><li>The player remains interactive with the menu closed, but input is captured only inside its bounds so Roblox remains clickable elsewhere.</li></ul>\n        <div class=\"callout\"><strong>Update timing</strong><p>Playback position is interpolated between metadata refreshes so the bar remains smooth. Track and device state still depend on what Spotify exposes locally.</p></div>"
    },
    {
      "group": "World & movement",
      "id": "lighting",
      "title": "Lighting & sky",
      "summary": "Clock time, system time, brightness, ambient, outdoor ambient, and skybox.",
      "keywords": "world time of day clock system brightness ambient outdoor custom skybox preset rotate",
      "html": "<p>World lighting controls change only the local client presentation. They do not modify the server or what other players see.</p>\n        <table><thead><tr><th>Control</th><th>Behavior</th></tr></thead><tbody><tr><td>Time of Day</td><td>Sets the selected clock value. System Time updates periodically rather than writing every frame.</td></tr><tr><td>Brightness</td><td>Overrides local scene brightness.</td></tr><tr><td>Ambient</td><td>Changes ambient light color.</td></tr><tr><td>Outdoor Ambient</td><td>Changes outdoor ambient color independently.</td></tr><tr><td>Custom Skybox</td><td>Selects a local six-face preset and optional rotation speed.</td></tr></tbody></table>\n        <h2>Server hops</h2><p>Roblox replaces the DataModel and Lighting object during a hop. Astral invalidates the old session handles, waits for the new session, then reapplies enabled modifiers. If one modifier does not return, toggle that modifier once after the new game is fully ready.</p>\n        <div class=\"callout warning\"><strong>Explorer unavailable at the same time</strong><p>If both Explorer property reads and world modifiers fail, the reflected Instance bridge is not ready. Refreshing values repeatedly will not fix stale session state; wait for reattachment or restart Roblox.</p></div>"
    },
    {
      "group": "World & movement",
      "id": "particles-rain",
      "title": "World particles & rain",
      "summary": "Snow/fireflies, three-dimensional drift, glow, and external rain controls.",
      "keywords": "particles particle emitter snow snowflake firefly decal texture rate size speed lifetime opacity glow bloom rain wind lightning splash",
      "html": "<h2>World particles</h2><p>Select Snowflake or Firefly, then configure rate, size, speed, lifetime, opacity, color, and particle glow. Snow uses three-dimensional camera-aware emitters with varied drift so flakes do not all travel in one scripted direction. Fireflies use their own texture and movement profile.</p>\n        <table><thead><tr><th>Setting</th><th>Cost / result</th></tr></thead><tbody><tr><td>Rate</td><td>Particles emitted per second. This is the fastest way to reduce cost.</td></tr><tr><td>Lifetime</td><td>How long particles remain. High rate plus long lifetime creates the largest live count.</td></tr><tr><td>Glow</td><td>Emission brightness local to the effect. It should not require a world-wide BloomEffect.</td></tr><tr><td>Opacity</td><td>Visibility of the particle texture.</td></tr></tbody></table>\n        <h2>External rain</h2><p>Rain is rendered from the active camera with density, fall speed, drop length, wind, thickness, opacity, depth layers, impact splashes, and optional lightning. It follows camera position and orientation but preserves world-like direction.</p>\n        <div class=\"callout warning\"><strong>Nothing appears</strong><p>Confirm the parent feature is enabled, rate and opacity are above zero, and the new Roblox session is ready. If all Instance-based world tools fail together, troubleshoot the session bridge rather than the particle sliders.</p></div>"
    },
    {
      "group": "World & movement",
      "id": "movement",
      "title": "Movement",
      "summary": "Walkspeed, JumpPower, Fly, Infinite Jump, Noclip, and method choices.",
      "keywords": "misc movement walkspeed jump power fly infinite jump noclip no collide method velocity cframe",
      "html": "<div class=\"callout warning\"><strong>Server-authoritative movement</strong><p>Some movement features may not work in experiences using Roblox's server-authoritative movement system. Compatibility depends on whether the experience developer has enabled it; when enabled, the server can reject or correct local movement changes.</p></div>\n        <h2>Features</h2><table><thead><tr><th>Feature</th><th>Controls</th></tr></thead><tbody><tr><td>Walkspeed</td><td>Bind, method, and speed value.</td></tr><tr><td>JumpPower</td><td>Bind, property/velocity method, and power.</td></tr><tr><td>No Jump Cooldown</td><td>Removes supported local jump timing restriction.</td></tr><tr><td>Fly</td><td>Bind, Velocity or CFrame method, and fly speed.</td></tr><tr><td>Infinite Jump</td><td>Allows repeated jump input with its own bind.</td></tr><tr><td>Noclip</td><td>Disables supported local collision behavior.</td></tr><tr><td>Player No-Collide</td><td>Prevents collision against other characters separately.</td></tr></tbody></table>\n        <h2>Methods</h2><p>Property methods pair values through the reflected property path. Velocity methods influence physics motion. CFrame methods move directly and are more likely to conflict with server correction. Use the least invasive method that works in the target game.</p>"
    },
    {
      "group": "World & movement",
      "id": "freecam",
      "title": "Freecam",
      "summary": "Camera controls, bind behavior, input suppression, and FOV stability.",
      "keywords": "free camera freecam flicker fov wasd qe shift right click shiftlock",
      "html": "<p>Freecam detaches the camera from the character while suppressing normal character movement. Enable it, assign a bind, and set Camera Speed.</p>\n        <div class=\"key-grid\"><span><kbd>Mouse</kbd> look</span><span><kbd>WASD</kbd> move</span><span><kbd>Q / E</kbd> down / up</span><span><kbd>Shift</kbd> boost</span></div>\n        <h2>Expected behavior</h2><ul><li>The camera does not require shift-lock or right-click to move.</li><li>Your character should remain still while freecam owns movement input.</li><li>FOV is captured when freecam starts and should not alternate with the game's camera controller.</li><li>Disabling freecam restores the normal camera without leaving an active checkbox separate from the feature.</li></ul>\n        <div class=\"callout warning\"><strong>Flicker or camera snapping</strong><p>Disable freecam before teleports or camera-mode transitions. A game-specific camera script can fight ownership; report the game and whether the flicker is position, rotation, or FOV.</p></div>"
    },
    {
      "group": "World & movement",
      "id": "desync",
      "title": "Desync",
      "summary": "Interval behavior, ghost visualization, progress, and HUD status colors.",
      "keywords": "desync fake lag interval ghost progress hud status",
      "html": "<p>Enable Desync, assign a bind, and optionally enable Interval Lag. The progress bar shows the current sending and desync interval. Desync Ghost Visualizer renders the stored position with its own color and optional text.</p>\n        <h2>HUD status</h2><table><thead><tr><th>Color</th><th>Meaning</th></tr></thead><tbody><tr><td>Grey</td><td>Feature is enabled or bound but not currently active.</td></tr><tr><td>Green</td><td>Actively desyncing.</td></tr><tr><td>Yellow</td><td>The configured interval temporarily stopped desync.</td></tr></tbody></table>"
    },
    {
      "group": "World & movement",
      "id": "void-blink",
      "title": "Void Blink",
      "summary": "Target selection, teleport distance, and animated double-click confirmation.",
      "keywords": "void blink teleport closest crosshair distance double tap click again teleported",
      "html": "<p>Choose <strong>Closest to Crosshair</strong> or <strong>Closest Distance</strong>, then set the Teleport Distance and assign a bind.</p>\n        <h2>Double-click confirmation</h2><p>With Double Tap to Confirm enabled, the first press changes the keybind label to <em>click again</em> and displays the remaining time. A successful second press changes it to <em>teleported!</em>.</p>\n        <div class=\"callout warning\"><strong>Game correction</strong><p>Some experiences reject or correct a local teleport. The confirmation animation only reports that Astral issued the teleport; the server can still move the character back.</p></div>"
    }
  ]
}