Library

rbxcli

table

Madius host integration. Game teleport, hybrid-bridge instance creation and remote firing, instance reparenting, RakNet receive, and runtime UI manipulation.

Functions

19

#rbxcli.teleport_local_player(position: Vector3) → nil

since 0.2.4-alpha

Teleports the local player's character to position. Yields until the teleport completes.

Aliasesteleportlocalplayer

Parameters

positionVector3

Target position.

Errors

  • LuaError no game context -- No active game context; nothing to teleport.

#rbxcli.get_product_information() → ProductInformation

since 0.6.0a-alpha

Returns a table with Madius build information: name (string), version (string), build (string, DD-MM-YYYY), built_for_roblox_version (string).

Aliasesgetproductinformation

#rbxcli.display_notification(message: string, duration: number?) → nil

since 0.3.0c-alpha

Displays an overlay notification with the given message. duration controls how long it stays visible in seconds (default 5).

Aliasesdisplaynotification

Parameters

messagestring

Notification text.

durationnumber?

Duration in seconds (default 5).

#rbxcli.reparent(instance: Instance, parent: Instance | nil) → nil

hybridsince 0.7.0c-alpha

Sets instance's parent to parent via Hybrid Mode. Pass nil as the parent to unparent the instance.

Parameters

instanceInstance

The instance to reparent.

parentInstance | nil

New parent, or nil to unparent.

Errors

  • LuaError hybrid mode disabled -- Hybrid mode not enabled.
  • LuaError hybrid mode not ready -- Hybrid bridge has not finished initialising.

#rbxcli.fire_proximity_prompt(prompt: ProximityPrompt) → nil

hybridsince 1.3.0-alpha

Fires a ProximityPrompt as if the local player triggered it.

Aliasesfireproximityprompt

Parameters

promptProximityPrompt

The proximity prompt to fire.

Errors

  • LuaError hybrid mode disabled -- Hybrid mode not enabled.
  • LuaError hybrid mode not ready -- Hybrid bridge has not finished initialising.

#rbxcli.create_instance(className: string, parent: Instance) → Instance | nil, string?

hybridsince 1.3.0-alpha

Creates a new instance of className parented to parent via Hybrid Mode. Returns the new Instance on success, or nil, errorMessage on failure.

Aliasescreateinstance

Parameters

classNamestring

Class name of the instance to create.

parentInstance

Parent for the new instance.

Errors

  • LuaError hybrid mode disabled -- Hybrid mode not enabled.
  • LuaError hybrid mode not ready -- Hybrid bridge has not finished initialising.

#rbxcli.fire_touch_interest(part0: BasePart, part1: BasePart, touch: number, replicate: boolean?) → nil

hybridsince 1.4.0-alpha

Fires a touch/untouch event between two BaseParts. touch must be 0 (Touch) or 1 (Untouch). replicate controls whether the event is sent to the server (default true). At least one part must be network-owned by the client.

Aliasesfiretouchinterest

Parameters

part0BasePart

First part.

part1BasePart

Second part.

touchnumber

0 for Touch, 1 for Untouch.

replicateboolean?

Whether to replicate to server (default true).

Errors

  • LuaError hybrid mode disabled -- Hybrid mode not enabled.
  • LuaError hybrid mode not ready -- Hybrid bridge has not finished initialising.
  • LuaError no ownership -- Neither part is network-owned; the touch event cannot be fired.

#rbxcli.fire_remote_event(remote: RemoteEvent | UnreliableRemoteEvent, ...args: ...any) → nil

hybridsince 1.6.7-alpha

Fires a RemoteEvent or UnreliableRemoteEvent with the given arguments. Maximum 256 arguments.

Aliasesfireremoteevent

Parameters

remoteRemoteEvent | UnreliableRemoteEvent

The remote event to fire.

...args...any

Arguments to send.

Errors

  • LuaError hybrid mode disabled -- Hybrid mode not enabled.
  • LuaError hybrid mode not ready -- Hybrid bridge has not finished initialising.
  • LuaError too many arguments -- Argument count exceeds the 256-element cap.
  • LuaError generation failed -- Internal payload generation failed (id unavailable, argument cap exceeded, invalid instance, or other internal error).

#rbxcli.raknet_send(data: buffer) → nil

hybridsince 1.6.8-alpha

Sends a raw RakNet packet constructed from data. Use with care! Malformed packets may disconnect/ban you.

Aliasessend

Parameters

databuffer

Raw packet data.

Errors

  • LuaError hybrid mode disabled -- Hybrid mode not enabled.
  • LuaError hybrid mode not ready -- Hybrid bridge has not finished initialising.

#rbxcli.raknet_receive(data: buffer) → nil

hybridsince 1.7.1-alpha

Makes your client receive a raw RakNet packet constructed from data. Use with care! Malformed packets may flag you, crash you or disconnect you.

Aliasesreceive

Parameters

databuffer

Raw packet data.

Errors

  • LuaError hybrid mode disabled -- Hybrid mode not enabled.
  • LuaError hybrid mode not ready -- Hybrid bridge has not finished initialising.

#rbxcli.is_permission_granted(permission: string) → boolean

since 1.6.13-alpha

Returns whether the calling script currently holds the named permission. Errors if permission is not a recognised permission name.

Parameters

permissionstring

The permission name to check. Accepted values: "NetworkExploits", "Memory", "Hybrid", "Filesystem",

#rbxcli.get_instances() → RemoteGCTableProxy?

yieldssince 1.8.4-free

Retrieves the instance cache in the Roblox luau vm. (roll a dice, since you may get an actor or main thread)

Aliasesgetinstances

Returns

RemoteGCTableProxy?

Proxy of the remote lookup table, or nil if not located.

#rbxcli.get_nil_instances() → { Instance }

yieldssince 1.8.4-free

Returns the instances current parented to nil inside the instance cache on Roblox

Aliasesgetnilinstancesgetnil

Returns

{ Instance }

Array of parentless Instances.

#rbxcli.client_crash() → ()

No description yet.
Aliasescrashforce_exitexit

Returns

()

No return, crashes.

#rbxcli.panic() → ()

No description yet.

Returns

()

No return.

#rbxcli.loadstring(source: string, options: LoadstringOptions?) → function

since 0.6.0a-alpha

Compiles a Luau source string and returns the resulting callable closure. When options.native is enabled and the host supports CodeGen, the closure is additionally compiled to native code. On compilation/load failure, raises the underlying Luau error.

Parameters

sourcestring

Luau source code to compile.

optionsLoadstringOptions?

Optional compile/runtime settings. See LoadstringOptions.

Returns

function

The compiled chunk as a Luau closure.

#rbxcli.mass_decompile() → any

No description yet.

#rbxcli.decompile(container: Instance, options: DecompilerOptions?) → string

since 0.6.0a-alpha

Decompiles a LuaSourceContainer (LocalScript / Script / ModuleScript) using Fission with the flags currently configured in the Configuration tab. With no options, returns reconstructed Luau source. With options.DecompilationKind = "IR", returns the lifted IR text instead. Requires client-side bytecode; server Script instances have none and will raise.

Parameters

containerInstance

A LuaSourceContainer (LocalScript or ModuleScript) holding client-visible bytecode.

optionsDecompilerOptions?

Optional table selecting the output kind. Defaults to Luau source when omitted.

Returns

string

Decompilation output. Luau source by default, or IR text when requested.

Errors

  • LuaError the provided instance may be type confused -- Container failed type-confusion check.
  • LuaError script has no bytecode (likely a server Script!) -- Container has no client-side bytecode.
  • LuaError Failed to process DecompilerOptions.DecompilationKind -- options.DecompilationKind was not "IR" or "Luau".
  • LuaError invalid call -- Called with no arguments.

#rbxcli.setrandomstate() → any

No description yet.