Yuari
Documentation

memory_read

Reads from the game process. type is one of "int", "float", "double", "byte", "string", "uintptr_t". Returns nil for a null address.

Syntax

memory_read(type: string, address: number) -> nil

Parameters

ParameterTypeDescription
typestringThe type value used by the call.
addressnumberThe memory address to access.

Returns

TypeDescription
nilValue?

Description

memory_read is part of the Raw memory access library. Raw memory access reads directly from the Roblox process and requires Allow Unsafe Luau.

The operation is performed immediately using the arguments supplied at the call site.

Example

local v = memory_read("float", 0x1A2B3C4D)
print(v)

Notes

  • Requires Allow Unsafe Luau to be enabled.
  • Requires Allow Unsafe Luau and can crash the game if misused.