Skip to main content

Python Library that abstracts reading and writing data from the Roblox DataModel

Project description

RobloxMemoryAPI

A Python library that is hopefully stealthy and abstracts externally reading memory to get datamodel information from the roblox game client.

This was made by upio, mstudio45, and Master Oogway and created for the Dig Macro project (external mode and not the computer vision mode).

Installation

PyPI:

pip install robloxmemoryapi

Development (editable install from source):

pip install -e .

Usage

An example script can be found in example.py. If running from the repo, use the editable install above so import robloxmemoryapi resolves the src package.

Import the library and create a client instance:

from robloxmemoryapi import RobloxGameClient

client = RobloxGameClient()

To request write access (e.g. to patch values), pass allow_write=True when creating the client.

client = RobloxGameClient(allow_write=True)

Access the data model:

game = client.DataModel

Kill the local player:

# (requires allow_write=True when creating the client)
# allow_write may be detected by roblox. It is disabled by default.
game.Players.LocalPlayer.Character.Humanoid.Health = 0

Get the local player's name:

print("Player Name:", game.Players.LocalPlayer.Name)

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robloxmemoryapi-0.0.7.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robloxmemoryapi-0.0.7-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file robloxmemoryapi-0.0.7.tar.gz.

File metadata

  • Download URL: robloxmemoryapi-0.0.7.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for robloxmemoryapi-0.0.7.tar.gz
Algorithm Hash digest
SHA256 aef46f494651d5d9fb9520e909a02b171b1346e8d190cd8791e9de66a40a6cd5
MD5 dabe41dacd6eed0855729d4e566137b3
BLAKE2b-256 1cd53a395b717622a1af550ea59f2dcf7be7754f61f19de2f4303d986958c4da

See more details on using hashes here.

File details

Details for the file robloxmemoryapi-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for robloxmemoryapi-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1a516c595277583ad1540c9acb8f121de4a10900b740d5f08820f42ef599fb4e
MD5 b6c15c8738dee7668c06ecd2516be4ed
BLAKE2b-256 6157f954d16684fde2c00489c60557e3c0e30f40ea3a9ccea31e62df32ae5718

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page