Forge AI Documentation
Your AI copilot inside Roblox Studio. Type what you want in plain English — Forge writes the Lua, builds the UI, generates 3D models, and wires entire game systems for you. No SDK, no setup files, no boilerplate.
Install Plugin
Set up Forge AI in 3 steps. Takes under 2 minutes.
Install the Forge AI plugin
Open the Forge AI plugin on the Roblox Creator Store and click Get. It auto-installs into Studio.
Enable HTTP requests
In Roblox Studio: File → Experience Settings → Security tab. Enable all three: Allow HTTP Requests (so the plugin can reach Forge AI), Enable Studio Access to API Services (so DataStore-backed systems like inventory and pets work in Play mode), and Allow Third Party Sales (only if you plan to sell GamePasses/Developer Products). One-time per place.
Connect with your API key
Open the Forge AI panel in Studio (click the toolbar icon), paste your API key from the Dashboard, and click Connect. You're ready to build!
Quick Start
After connecting, type what you want to build in the chat. Forge AI writes Lua scripts, creates instances, and builds everything directly in your game. Try these examples:
-- Open forge.loopmobile.io/chat and type any of these:
"Give me a sword in StarterPack"
"Add 2 zombie enemies that chase the player"
"Build a shop UI with 3 items and a Buy button"
"Generate a magical purple crystal in 3D"
"Create an obby with 5 stages and checkpoints"
"Drop a screenshot of UI → I'll rebuild it in Roblox"
"Make NPCs that talk and give quests"
"Audit my place and tell me what's broken"API Key
One API key per Forge account — pastes into the Studio plugin once and persists. Find yours here:
Chat Interface
Forge AI lives in a dock widget inside Roblox Studio. Type what you want in plain English and Forge handles everything — writing scripts, creating instances, setting properties.
-- You type in the chat:
"Build me a combat system with a sword and health bar"
-- Forge AI creates:
-- + ReplicatedStorage/Remotes/CombatRemote
-- + ServerScriptService/CombatServer (84 lines)
-- + StarterGui/HealthBarUI (dark theme, animated)
-- + ServerStorage/Weapons/ClassicSword
-- + StarterPlayerScripts/CombatClient (56 lines)
-- Done in ~45 seconds, 1 credit usedCode Generation
Forge AI writes production-ready Lua code with --!strict type safety, anti-exploit validation, and proper server/client architecture.
--!strict
-- StarterPlayerScripts/SprintHandler (LocalScript)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local SPRINT_SPEED = 32
local WALK_SPEED = 16
UserInputService.InputBegan:Connect(function(input, processed)
if processed then return end
if input.KeyCode == Enum.KeyCode.LeftShift then
local char = player.Character
if char then
local hum = char:FindFirstChildOfClass("Humanoid")
if hum then hum.WalkSpeed = SPRINT_SPEED end
end
end
end)
UserInputService.InputEnded:Connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftShift then
local char = player.Character
if char then
local hum = char:FindFirstChildOfClass("Humanoid")
if hum then hum.WalkSpeed = WALK_SPEED end
end
end
end)3D Model Generation
Describe what you want and Forge generates a 3D mesh, uploads it, and inserts it directly into your game. Takes 1-3 minutes. Costs 10 credits.
-- Type in chat:
"Generate a low-poly medieval castle"
"Create a cartoon treasure chest"
"Make a sci-fi laser gun, blue glow"
-- Forge will:
-- 1. Generate the 3D model via AI
-- 2. Upload it to Roblox
-- 3. Insert it into Workspace
-- 4. Position it near your cameraGame System Templates
One prompt = complete game system. Forge creates all scripts, RemoteEvents, UI, and instances. Tested architectures with anti-exploit validation.
Combat System
Sword, damage, health bar, respawn, cooldowns
Pet System
Hatching, rarity, follow AI, inventory, DataStore
Shop System
Item catalog, currency validation, purchase UI
Obby Checkpoints
Stage tracking, kill bricks, respawn, leaderboard
Daily Rewards
7-day streak, DataStore save, claim UI
NPC Dialog
Dialog trees, typewriter effect, ProximityPrompt
Quest System
Collect/kill/visit quests, progress tracking, rewards
Inventory
Grid UI, drag-drop, stackable items, DataStore
Vehicle System
VehicleSeat, speedometer, horn, camera follow
Tycoon
Droppers, collectors, upgrades, buy buttons
Game Audit & Score
Ask Forge to audit your game and get a quality score out of 100. It scans structure, security, performance, and gameplay — then offers to auto-fix every issue.
-- Type: "Audit my game and give me a quality score"
-- Forge runs a comprehensive scan:
-- Structure: SpawnLocation, script placement, hierarchy
-- Security: RemoteEvent validation, client-side currency
-- Performance: Part count, unanchored parts, StreamingEnabled
-- Dead Code: Unused RemoteEvents, empty/disabled scripts
-- Gameplay: Baseplate, DataStore usage, kill bricks
-- Output: Game Quality Score: 72/100
-- + offers to fix each issue automaticallyPerformance Profiler
Full profiling: memory, FPS, instance census, dead code detection. Get a performance score with specific optimization steps.
-- Type: "Profile my game's performance"
-- Forge measures:
-- Memory: 245 MB (OK)
-- FPS: ~58 (OK)
-- Instances: 12,450
-- Parts: 3,200 (MeshParts: 890)
-- Scripts: 45 (Active: 38)
-- GUI Objects: 120
-- Particles: 18
-- StreamingEnabled: true
-- Issues Found:
-- 1. 340 unanchored parts causing physics load
-- 2. 7 disabled scripts (delete or re-enable)
-- 3. 3 unused RemoteEventsNPC & Quest Systems
Forge creates full NPC AI with pathfinding, dialog trees with typewriter effects, and quest systems with progress tracking.
-- Type: "Make NPCs that talk and give quests"
-- Forge creates:
-- + DialogData (ModuleScript) - dialog trees
-- + DialogServer (Script) - proximity + state
-- + DialogClient (LocalScript) - typewriter UI
-- + QuestServer (Script) - progress tracking
-- + QuestUI (ScreenGui) - quest log + tracker
-- + NPC Models with ProximityPrompt
-- Quest types: collect, kill, visit, talk, deliver
-- All progress tracked server-side via AttributesTerrain & Effects
Generate terrain with Perlin noise, create particle effects, lighting presets, and sound design — all from plain English.
-- Terrain:
"Create a desert terrain with sand dunes"
"Build a mountain range with snow peaks"
"Make an ocean with a small island"
-- Effects:
"Add fire particles to the torch"
"Create a healing glow effect"
"Make a dash trail effect"
-- Lighting:
"Set up horror lighting with fog"
"Create a sunset atmosphere"
"Add underwater post-processing"Credits & Pricing
Every AI interaction costs credits. Credits reset monthly.
Troubleshooting
Plugin not connecting
Open File → Experience Settings → Security and enable BOTH 'Allow HTTP Requests' (so the plugin can reach forge.loopmobile.io) AND 'Enable Studio Access to API Services' (for DataStore-backed systems). Then verify your API key is pasted correctly.
DataStoreService: StudioAccessToApisNotAllowed error
File → Experience Settings → Security → toggle 'Enable Studio Access to API Services' ON. This lets DataStore work in Studio Play mode. One-time per place.
Connection timed out
Complex tasks (5+ scripts) may exceed Roblox's HTTP timeout. The scripts are still being created — check Explorer panel. Send another message when ready.
Credits not updating
Credits refresh when you reconnect. Click the menu button > Reconnect in the plugin.
3D model not appearing
Model generation takes 1-3 minutes. It will auto-insert into Workspace when ready. Check the chat for status updates.
Plugin disappeared after Play mode
Forge AI only works in Edit mode. After stopping Play mode, the plugin will reconnect automatically.
Scripts created in wrong location
Tell Forge where you want them: 'Create a script in ServerScriptService called MyHandler'. It follows your instructions.
Still stuck? Email us at samet@loopmobile.io and we'll help you get set up.