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.5.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.5-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robloxmemoryapi-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 7a82c42c15d07d1b202e5bcd59083e5fd55b2c4ee09abe6905c0e036a68b9ab7
MD5 11aa5755da8848dfe0402d37ae797a8b
BLAKE2b-256 b7f19c352df47474b07bea621bfd0683a877a0782d5ebb1606fdcbbcbff0187e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robloxmemoryapi-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c23c86e9188ba289a4984241b738756bb9ad6f0b9f97e590308cbc12a0d4a909
MD5 1fd6e80b732c0df740eb5c8e78377dbb
BLAKE2b-256 cd1205f40374601b0ee4be8a0d41d1a37f01d5c3b05f9f072b89565acaebdd32

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