Yuari
Documentation
Docs/Raw memory access/memory_write

memory_write

Writes to the game process using the same type names as memory_read.

Syntax

memory_write(type: string, address: number, value: any) -> nil

Parameters

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

Returns

TypeDescription
nilThis function does not return a value.

Description

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

The change is applied directly to the live target, so later reads observe the updated value.

Example

memory_write("int", getbase() + 0x123456, 100)

Notes

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