roblox-py v3.25.111
Playground | Docs | Github | Discord
roblox-py is a production ready Python to Luau compiler for roblox. The latest version adds support for all Python 3.13 statements, performance boosts, rewritten from the ground up, and a simpler interface.
Quickstart
This guide requires experience in the Terminal and Executables, for an online compiler visit the Playground
linked above.
Download
- Guide your self to the Github repository linked above and locate this:
- Click on the latest release and look for this:
- On Windows download the
rbxpy.exe
and on macOS/Linux downloadrbxpy
Testing
- Locate where the executable has been downloaded to, in my case it is in
/Downloads
- Open up your terminal and
cd
there - Run
./rbxpy
or./rbxpy.exe
- Make a new
test.lua
andtest.py
file.
- Edit test.py to your desire, in this example we will write a script that prints the squares of all numbers up to 10.
squares = [num**2 for num in range(100)]
print(squares)
- Run
./rbxpy test.py -o test.lua -f
or./rbxpy.exe test.py -o test.lua -f
(the-f
means to include python standard functions) - Check
test.lua
and also try running it.
Oh yeah, did I mention roblox-ts support!