> For the complete documentation index, see [llms.txt](https://rcc-1.gitbook.io/roblox-py/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rcc-1.gitbook.io/roblox-py/introduction.md).

# Introduction

```python
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.`
