v1.0Last updated: Apr 2026

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.

Code Generation
3D Models
Game Systems
Terrain & Effects
NPC & Quests
Game Audit
Performance Profiler
Image → UI
Install Forge AI from the Roblox Creator Store

Install Plugin

Set up Forge AI in 3 steps. Takes under 2 minutes.

1

Install the Forge AI plugin

Open the Forge AI plugin on the Roblox Creator Store and click Get. It auto-installs into Studio.

2

Enable HTTP requests

In Roblox Studio: FileExperience SettingsSecurity 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.

3

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!

Important: Enable all three security toggles in File → Experience Settings → Security: Allow HTTP Requests (mandatory — without it, the plugin can't connect), Enable Studio Access to API Services (mandatory if you'll test DataStore-backed systems), Allow Third Party Sales (optional, for monetization). One-time per place file.
Edit mode only. Forge AI works in Edit mode, not during Play mode. Do not press Play while Forge is building your game systems.

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:

Example promptsTry these
lua
-- 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"
Generate scripts (server + client)auto
Build UI from text or imagesauto
Insert 3D assets (5,000+ Kenney library)auto
AI 3D model generation (Hunyuan3D)auto
Wire complete game systems (combat, shop, quest)auto
Multi-language: TR / EN / ES / anyauto
Recipe-grade compound systemsauto
Edit-mode workflow (no Play required)auto
Everything above happens through one chat prompt — Forge handles the architecture, file placement, and wiring. No setup files, no boilerplate.

API Key

One API key per Forge account — pastes into the Studio plugin once and persists. Find yours here:

forge.loopmobile.ioDashboardForge AIAPI Key
Never share your API key. Anyone with it can run actions and burn your credits. Paste it only into the Forge AI plugin in your own Studio. If leaked, regenerate it from the dashboard.

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.

How it worksOverview
lua
-- 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 used
Edit mode only. Forge AI only works in Edit mode. Do not press Play while Forge is creating scripts — it will disconnect.

Code Generation

Forge AI writes production-ready Lua code with --!strict type safety, anti-exploit validation, and proper server/client architecture.

Example: Sprint SystemGenerated by Forge
lua
--!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)
Forge automatically places scripts in the correct location — Server scripts in ServerScriptService, LocalScripts in StarterPlayerScripts, ModuleScripts in ReplicatedStorage.

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.

Example prompts3D Models
lua
-- 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 camera

Game 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.

Game AuditExample
lua
-- 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 automatically

Performance Profiler

Full profiling: memory, FPS, instance census, dead code detection. Get a performance score with specific optimization steps.

Performance ProfileExample output
lua
-- 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 RemoteEvents

NPC & Quest Systems

Forge creates full NPC AI with pathfinding, dialog trees with typewriter effects, and quest systems with progress tracking.

NPC DialogGenerated
lua
-- 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 Attributes

Terrain & Effects

Generate terrain with Perlin noise, create particle effects, lighting presets, and sound design — all from plain English.

Terrain ExamplesPrompts
lua
-- 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.

AI Chat — Sonnet (complex tasks)5 credits
AI Chat — Haiku (simple questions)0.5 credits
3D Model Generation15 credits
Thumbnail Generation2 credits
Pro
200/month$19/mo ($12/mo yearly)
Business
500/month$49/mo ($35/mo yearly)

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.