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.2.tar.gz (18.2 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.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robloxmemoryapi-0.1.2.tar.gz
  • Upload date:
  • Size: 18.2 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.2.tar.gz
Algorithm Hash digest
SHA256 337107d7f8997de7485c5c8fc4d83e7981b18feaf6e9d64d56db044ae70554dd
MD5 da786caf51955158edcf2a0ded9b7c0d
BLAKE2b-256 6b2465c341d387f87cbf3653768096f9692b9cea6204b9e4f299fc74a966a650

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for robloxmemoryapi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aaabb98876ad6deca63304aca14d6b646fbfe41bc4c052d0f6deb7c6f1f8e236
MD5 ae48a2ed5afa356609885b57209972b3
BLAKE2b-256 595b5160aeb1d83855990df1b761b7e2715b7309a287cc6133a6f59ebe453580

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