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