Memory Read / Write
Typed accessors for reading and writing process memory directly.
Typed reads and writes straight into the Roblox process. Use these when you have an address and know what is at it — for named properties, the offset accessors are safer and more readable.
Width matters. Reading a float as an int gives you the bit pattern, not the value.
| Function | Width | Typical use |
|---|---|---|
| read_byte / write_byte | 1 byte | Booleans and enums. |
| read_int / write_int | 4 bytes | Counts, small integers, enum values. |
| read_float / write_float | 4 bytes | Most Roblox numeric properties. |
| read_double / write_double | 8 bytes | Higher-precision values. |
| read_qword / write_qword | 8 bytes | Pointers — anything holding another address. |
| read_string | varies | Roblox strings, length handled for you. |
Following a pointer
local part = find_instance_by_path("Workspace.Baseplate")
local primitive = read_qword(part + 0x160) -- a pointer
local value = read_float(primitive + 0x10) -- a number at that pointer
print(primitive, value)