Write Roblox-style games in Luau and run them on Godot 4. A C++ extension that brings game, the services, scripts, Humanoid, RemoteEvents and real multiplayer to Godot.
There are no precompiled binaries for macOS yet: on a Mac you have to build it from source.
GodotLuau is an extension for the Godot editor: download it from your computer.
ServerScriptService › GameManager
-- Runs top to bottom, just like in Robloxlocal Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
print(player.Name .. " joined")
end)
local part = Instance.new("Part")
part.Size = Vector3.new(8, 1, 8)
part.Position = Vector3.new(0, 10, 0)
part.BrickColor = BrickColor.new("Bright red")
part.Parent = workspace
1.16.12Latest version
4.3+Godot version
2Systems with binaries
MITOpen-source license
What is GodotLuau?
The Roblox API, on top of Godot
GodotLuau is a C++ GDExtension that embeds the official Luau interpreter in Godot and rebuilds the Roblox architecture on top of it: game, the services (Workspace, Players, Lighting, ReplicatedStorage…), LocalScript, ServerScript and ModuleScript, Humanoid, the R6 avatar, RemoteEvents, the task library and Roblox-style GUI.
You write game logic the way you already do, with PlayerAdded, Touched, FireServer or task.wait, and Godot takes care of rendering, physics, exporting and platforms.
Built with
C++
Luau
Godot 4
godot-cpp
What it is
An independent reimplementation of the most used Roblox API, on top of two open technologies: Godot and Luau.
A way to take your Luau knowledge and your scripts to a free engine that exports to many platforms.
Open source under the MIT license, with every bundled license included in the package.
What it isn't
A Roblox emulator or client: it never connects to Roblox servers.
A way to run your Roblox game as is: the API is big, but not complete.
A way to download Roblox assets: meshes, textures and sounds live on Roblox's servers, not inside the .rbxl file.
Features
Everything that comes with it
The pieces of Roblox Studio you use every day, rebuilt on Godot.
Roblox structure
A RobloxGame3D or RobloxGame2D root builds the whole service tree the first time you open the scene: Workspace with its Baseplate, Players, Lighting, ServerScriptService, StarterPlayer and the rest.
Scripts like in Studio
LocalScript, ServerScript and ModuleScript nodes create their own .lua file, editable inside Godot with Roblox Studio colors. Press F5 and they run top to bottom.
Characters and physics
R6 avatar with classic animations, StarterCharacter, Humanoid, constraints and BodyMovers, with Jolt physics tuned to Roblox's scale.
Roblox-style GUI
ScreenGui, Frame, TextLabel, TextButton, ImageButton, ScrollingFrame, BillboardGui and SurfaceGui, with UICorner, UIListLayout, UIStroke and UIGradient.
Import .rbxl places
Bring in a place saved from Studio: the full tree, properties, CFrames, colors, GUI, the source of every script, tags and attributes. Nothing is dropped.
Real multiplayer
Dedicated server, Direct Connect, RemoteEvents over the network and server-authoritative replication, plus a coordinator that opens worlds like Roblox does.
Lighting
ClockTime, TimeOfDay, fog, an automatic day/night cycle, presets, and Technology mapped to Godot's real graphics quality.
Autocomplete and AI
Suggestions that know your scene (workspace. lists your real children), inline syntax errors, and the optional LuauIA autocomplete models.
Updater and settings
The GodotLuau Config panel (English, Spanish and Portuguese) checks GitHub, downloads the package, verifies its SHA-256 and restarts the editor. In game, Esc opens the Roblox-style menu.
Four ways to play together
1
Local test
Open 1 to 8 windows from the editor plus a Server View window, like Studio's test mode.
2
Dedicated server
Start a server on your LAN or on the Internet and connect the clients by IP with Direct Connect.
3
Coordinator and worlds
Roblox-style matchmaking: players join without typing an IP and new worlds open by themselves.
4
Listen server from Luau
One player hosts the game from a script and the rest join them.
What works today
Official Luau interpreter, compiled into the extensionWorks
Service tree, LocalScript, ServerScript, ModuleScript and requireWorks
task library, RunService.Heartbeat and signals (:Connect, :Wait)Works
Data types: Vector3, CFrame, Color3, UDim2, BrickColor, Enum…Works
Error messages exactly like Roblox'sWorks
R6 avatar, StarterCharacter, Humanoid, constraints and BodyMoversWorks
Roblox-style GUI, BillboardGui, SurfaceGui and the in-game settings menuWorks
Importing .rbxl places (binary format)Assets referenced by id can't be downloadedWorks
Local multiplayer test with several windows and Server ViewWorks
Dedicated server, Direct Connect, networked RemoteEvents and replicationWorks
HttpService with real HTTP and HTTPSWorks
Coordinator with automatic worldsOnly on a single machinePartial
DataStoreServiceLocal JSON files, no cloud yetPartial
Server authentication, anti-cheat and accountsNot yet
macOS binariesBuild from sourceNot yet
Download
Get GodotLuau
Download the package for your system and unzip it into the root of your Godot project. From then on, the built-in updater brings new versions by itself.
Download and unzipUnzip the package into the root of your project. It contains godot_luau.gdextension, the GodotLuau folder (binaries, icons, assets, shaders and default scripts) and addons/GodotLuauUpdater.
Open the projectGodot loads the extension on startup. If the project was already open, restart Godot once.
Turn on the pluginEnable GodotLuau Config in Project › Project Settings › Plugins if it isn't on already.
Add the root nodeAdd a RobloxGame3D (or RobloxGame2D) node as the root of the scene and save it. The whole Roblox structure appears by itself.
Write your first scriptRight-click ServerScriptService › Add Child Node › ServerScript, write Luau and press F5. In game, Esc opens the menu with the players and their ping, graphics quality, max FPS, volume and camera sensitivity.
Starting a brand new game?
Clone the repository and run the wizard. It asks for a name, 3D or 2D and a folder, and writes a complete Godot project with the extension, the icons, the plugin already enabled and a RobloxGame root scene.
Terminal
git clone --recursive https://github.com/Pimpoli/GodotLuau
cd GodotLuau
python tools/nuevo_proyecto.py
Updates
Changelog
GodotLuau updates itself from the GodotLuau Config panel inside Godot: it compares versions with GitHub, downloads the package, verifies its SHA-256 and restarts the editor. If an update goes wrong, you can go back to the previous version.
1.16.12Latest
Fixes Bugs Fast: uncapped FPS and graphics that finally look right.
Performance and graphics
V-Sync is now a player option and is off by default. Godot ships it on, which locked FPS to the monitor's refresh rate or half of it (the "30 FPS cap").
The Max FPS list goes up to 300, 360, 480 and Unlimited, and remembers your choice.
Automatic quality no longer acts as an FPS ceiling: it aims for 60 and never drops below level 5, so it doesn't strip the shadows or halve the resolution anymore.
The Graphics Mode selector works and adds Custom: render scale, upscaler, sharpness, shadows, view distance, SSAO, glow, fog, occlusion and batching, one by one.
Graphics quality is shown as 10 clickable segments, like in Roblox.
Scripts and docs
The default Luau scripts now live in GodotLuau/DefaultScripts, so you can edit them without recompiling.
README rewritten in English and Spanish, with a real guide to online mode.
UI and performance: imported places look and run much better.
Performance and graphics
Meshes and collision shapes are shared by size, and a bug that duplicated meshes and colliders is gone (+44% performance).
Adaptive physics (+21%), LOD by size and Automatic, Manual and Custom quality modes with FSR.
Configurable occlusion culling, off by default.
Closer to Roblox
Lighting faithful to Roblox: its real defaults, no invented effects and a day and night sky. Technology no longer overrides bloom and ShadowSoftness is real.
1:1 UI layout (UDim2 turned into native anchors), a working ImageButton, readable UIGradient colors and the health and name display above characters.
Imported GUI properties are applied on load, without importing again.
Selective shadows, invisible parts and per-pixel transparency.
1.16 – 1.16.7
Start RBX: importing Roblox places in phases, with progress.
The .rbxl import runs in phases with a progress window and merges with the Roblox structure already in your scene, without duplicating services.
Fixed the duplicated GUI and white boxes after pressing Play on an imported place: Visible is applied and StarterGui is only drawn as a template in the editor.
Players spawn on the imported map, and the Enabled property of Lighting effects is respected.
The gray 3D world that stayed in the Workspace is gone, and the StarterGui HUD is fixed.
Wider settings panel, a search button for updates and a readable versions menu.
1.15
Characters, teams and Roblox-style settings.
Runtime fixes, characters and teams, death in the void, visibility and UI layout modifiers.
A new graphics quality system, and the ugly shadows are fixed.
Roblox-style settings with 10 quality levels, camera lock and mobile support.
Menu fixes in 1.15.1.
1.14
The multiplayer update.
RemoteEvent and UnreliableRemoteEvent with full parity, and connecting by IP with ENet and Direct Connect.
A real Player object (the Player is not the Character) and Minecraft-style hosting with a dedicated server and a server list.
A coordinator and matchmaker with Roblox-style world instances, and services shared between servers.
Automatic server-authoritative replication: remote characters, animations and physics prediction.
require can yield, RemoteFunction errors reach the caller and time() is synced.
Materials, script identity, PlayerAdded, BindToClose, value objects and Terrain.
1.13
Networked multiplayer and a real HttpService.
RemoteEvents travel over the network with ENet: FireServer, FireClient, FireAllClients and their handlers now work between game instances.
Event arguments are serialized: numbers, strings, tables, Vector3, Color3, CFrame, UDim2 and Instances.
HttpService makes real HTTP and HTTPS requests.
1.12
Roblox-scale physics, the MIT license and Linux.
Higher Jolt Physics limits: tested with 262,000 colliding bodies.
The project moves to the MIT license and the package ships Windows and Linux binaries.
Fixed the updater's version comparison and the D3D12 descriptor limit; parts share their materials.
1.11
The R6 avatar and a Studio-like workspace.
Default R6 avatar with classic animations, Roblox mouse and camera, and StarterCharacter.
A Studio-like workspace, Luau syntax colors and editable shaders.
Scripts get an Enabled checkbox like in Roblox, and errors use Roblox's exact messages.
Works with real frameworks: Players, Enum.Material, CFrame.new(Vector3) and HumanoidRootPart.
1.9 – 1.10
The multiplayer foundation and the settings menu.
NetworkService with ENet, and a toolbar to test with 1 to 8 local windows plus a Server View window.
PC, Mobile, Console and VR device selector, networked chat and a walk animation.
Roblox-style settings menu saved per player, with tabs and the players list with ping.
Dozens of new classes such as UICorner, UIListLayout, UIStroke, LinearVelocity, AlignPosition, ParticleEmitter, Fire and Smoke, plus 3D spatial audio.
1.8
Movement on every device and Roblox-style lighting.
The first .rbxl importer: it reads Roblox's binary format and extracts every script.
Movement and camera with keyboard, gamepad and touch, and a real-time UserInputService.
Smoother character turning and a calmer camera.
Roblox-style lighting and materials: ACES tonemapping, bloom so Neon glows, SSAO and soft sun shadows.
1.7
A safe updater and the R15 character.
A fail-safe updater: it checks the package before touching anything, backs up what it replaces and lets you go back to the previous version.
R15 character by default with Roblox-style movement: smooth acceleration and braking.
The repository compiles straight from a fresh clone, submodules included.
1.5 – 1.6
A big round of fixes and the AI autocomplete.
21 fixes: print is visible, syntax is validated and the updater checks the SHA-256.
A redesigned panel, persistent script IDs and a trash to recover deleted scripts.
Autocomplete that knows your scene and the LuauIA model family: Mini, Medium, High and HighPRO.
Lighting.Technology turns on Godot's real effects.
1.0 – 1.4
Where it all started.
Luau running inside Godot 4 with Roblox-style classes and icons: DataModel, LocalScript, Workspace and more.
Limits
What it can't do yet
The API is big, but it's not all of Roblox. These are the known limits before you start a project with it.
Known limitations
One VM per script: a ModuleScript required by two scripts doesn't share state between them.
DataStoreService saves to local JSON files, not to the cloud.
Very large part counts (tens of thousands) work, but they aren't batched yet.
XML places (.rbxlx) can't be read, and rbxassetid:// content can't be downloaded.
Precompiled binaries only for Windows and Linux x86_64; macOS needs a source build.
Online mode and security
Self-hosted networking only: no relay, no NAT traversal, no accounts and no official server browser.
There's no server authentication or anti-cheat yet.
The coordinator and its worlds must run on the same machine, and every world port has to be reachable.
GodotLuau is an independent project. It is not affiliated with, endorsed or sponsored by Roblox Corporation or the Godot Foundation. "Roblox" is a trademark of Roblox Corporation and is only mentioned to describe API compatibility. GodotLuau doesn't connect to Roblox servers and ships no Roblox assets.
Made with Luau (MIT, Roblox Corporation), godot-cpp (MIT) and Godot Engine (MIT). The package includes a copy of every license.
Want it ready to go?GodotLuau already comes built into ROME Engine, the Rocket Meteor editor inspired by Roblox Studio.