Geometry that's game-ready
Generate polygon-optimized meshes with UV maps, normals, and Roblox-native export. Describe what you want and get a .rbxm file ready to drop into Studio.
- Style-aware generation
Pass a style keyword like sci-fi, medieval, or modern and the generator adapts geometry, proportions, and surface detail accordingly.
- Polygon budget control
Set a target poly count with --poly-count to stay within Roblox's performance guidelines for mobile and desktop.
- Multi-format export
Export as .rbxm for direct Studio import, .obj for third-party tools, or .fbx for rigging pipelines.
- Auto UV mapping
Every generated mesh ships with clean UV maps so textures apply without manual unwrapping.
rag generate model \ --name "SpaceStation" \ --style sci-fi \ --poly-count 1500 \ --export rbxm
✓ Analyzing style: sci-fi ✓ Generating mesh (1,500 polygons) ✓ UV mapping complete ✓ SpaceStation.rbxm → ./output/
rag generate texture \ --material "mossy stone" \ --size 1024 \ --type pbr
✓ Generating albedo map (1024×1024) ✓ Generating normal map (1024×1024) ✓ Generating roughness map (1024×1024) ✓ mossy_stone_pbr.zip → ./output/
Surfaces that look hand-crafted
Generate seamless PBR texture sets or flat decals at any resolution. Apply them to any Roblox surface without visible tiling or seams.
- PBR texture sets
Each PBR generation produces albedo, normal, and roughness maps — the full set needed for physically-based rendering in Studio.
- Seamless tiling
All textures are generated with seamless edges so they tile across large surfaces without visible repetition.
- Material library
Choose from dozens of material types: stone, wood, metal, fabric, concrete, grass, water, and more.
- Custom resolutions
Generate at 256px for mobile-optimized games or up to 1024px for high-fidelity desktop experiences.
Working code, not boilerplate
Describe the behavior you want in plain English and get a complete, commented Lua script ready to paste into Roblox Studio. No Lua experience required.
- Natural language input
Describe behavior in plain English — "a sword that swings and deals damage" — and the generator writes the Lua logic for you.
- Four script types
Generate Tool scripts, GUI handlers, ServerScripts, or ModuleScripts — each wired to the correct Roblox service APIs.
- Commented output
Every generated script includes inline comments explaining each section so you can learn, modify, and extend it.
- Studio-ready structure
Scripts follow Roblox best practices: LocalScript vs Script placement, RemoteEvent patterns, and DataStore usage.
rag generate script \ --type tool \ --behavior "magic staff that fires a projectile" \ --output ./scripts/MagicStaff.lua
✓ Parsing behavior description ✓ Generating Lua (162 lines) ✓ MagicStaff.lua → ./scripts/
Compare asset types at a glance
| Feature | 3D Models | Textures | Scripts |
|---|---|---|---|
| Output format | .rbxm / .obj / .fbx | .png / .zip (PBR set) | .lua |
| Key flag | --style, --poly-count | --material, --size | --type, --behavior |
| Import method | Insert from File in Studio | Texture property in Studio | Paste into Script editor |
| Roblox experience needed | None | None | None |
| Customizable after generation | Yes — edit in Blender or Studio | Yes — edit in any image editor | Yes — standard Lua |
Ready to start generating?
Free, open source, and runs entirely on your machine.