Searching for a Roblox AI script generator? Most of them are a website where you paste a prompt, copy the code back, and paste it into Studio by hand. I wanted the opposite: describe what I want, and have it appear in my place.
That's Cortex — a Studio plugin that turns plain English into Luau and runs it right there.
Type English, get working Luau
› a part that kills the player on touch
Cortex writes it and runs it:
local part = Instance.new("Part")
part.Size = Vector3.new(8, 1, 8)
part.Anchored = true
part.Parent = workspace
part.Touched:Connect(function(hit)
local h = hit.Parent:FindFirstChildOfClass("Humanoid")
if h then h.Health = 0 end
end)
No copy-paste. It's in your Workspace, and Ctrl+Z removes it like any Studio edit.
Things it's good at
- Boilerplate you hate typing — RemoteEvents, DataStore scaffolds, Tool setups.
- Editing the script you have open — select a script, say "add a debounce", it patches the source.
- Prototyping — "spinning platform", "day/night cycle", "sprint on Shift" — one line each.
How it works
It's a plugin that calls a small gateway routing to frontier models (Claude, GPT-5). Generated code runs via loadstring (with a ModuleScript fallback), and every change is wrapped in ChangeHistoryService so Undo/Redo behave normally.
Try it (free beta)
- Plugin + kit: github.com/cortex-rbx/roblox-ai-kit
- See the terminal: cortex-rbx.github.io/cortex.html
- Free key in the Discord: discord.gg/A3MSqwkvn7
Open beta — free for early testers. If it writes something wrong, tell me; that's exactly the feedback I need.
Top comments (0)