Introduction

from services import Players as plrs

@plrs.PlayerAdded
def onPlrAdded(plr: Player):
    print(f"Welcome {plr.Name}!")
    
    plr.CharacterAdded:Wait()
    plr.Character.Humanoid.Health -= 50;

What is roblox-py?

roblox-py is a Python to Luau compiler for Roblox. It adds many features like

  • Full support for Python 3.13

  • Simple Syntax

  • Pythons extensive support

  • Support for most Python Libraries

  • Compile one file or directories

Why?

Switching to Python will give many advantages such as Python's large community support, its huge standard library, and many of Python's features to make your coding experience easier like async functions, in, comprehension, or slice.

Last updated