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.1.4.tar.gz (22.7 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.1.4-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for robloxmemoryapi-0.1.4.tar.gz
Algorithm Hash digest
SHA256 28c1b936e69e0c7f382ce881e923298cbc6ab6508cdee01d61e70b941d073247
MD5 a09a2c2405e3988eb151b8151bc6c839
BLAKE2b-256 88883c3296ebb591251d305eccd8d889ddd9a4ca2367003ff2e99d56f00b5adb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robloxmemoryapi-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dc0e3242a2501b4bdef5d302cefd83b6d516939fce4d58db7e8d838c1115e062
MD5 a34d73668ac84b274cc91044b2be211e
BLAKE2b-256 39ccbaed39ad5515f172f87c1a2cf9dd763c82608417d9022a769e4c238168ff

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