A collection of creator-facing code samples published by Roblox: reference experiences, Studio templates, and reusable packages. These are the same samples featured in the Roblox documentation.
experiences/— reference experiences and Studio templatespackages/— reusable Luau packages
-
Install rokit
-
rokit installYou probably have to individually trust all repositories. If this command fails with a 403 or rate limiting error, you might need to add a PAT from GitHub using
rokit authenticate github --token YOUR_TOKEN_HERE.
cd packagesmkdir your-package- Copy the desired directory from a working experience running Rojo.
- Copy and modify an existing
default.project.jsonanddev.project.jsonfrom another package in this repository. - Run
rojo serve dev.project.jsonfrom the project directory and make sure the code loads as-expected into a new Roblox experience.
cd experiencesmkdir your-experience- Copy the contents of your Rojo directory into this new folder.
- Run
rojo servefrom the project directory and make sure it works as-expected.
We welcome community contributions! When you open a pull request, Developer Advocates from the Roblox Creator Solutions team will review it and either:
- Guide you on best practices and work the change in, or
- Direct you to file a bug report on the Developer Forum if the issue requires internal handling.
Please do not open issues for private bugs or security vulnerabilities—use the DevForum for those.