📜 Script Mode (Flow+)
Script Mode is a Flow+ and Flow Max feature that analyzes Luau script source code for embedded asset IDs.
What It Does
When you scan a place or RBXL file in Script Mode, AssetFlow goes beyond instance properties and parses every Script, LocalScript, and ModuleScript it finds. It extracts asset IDs embedded directly in code as strings:
-- AssetFlow detects IDs in patterns like:
local soundId = "rbxassetid://123456789"
local meshId = 987654321
local decal = "http://www.roblox.com/asset/?id=555555"This catches assets that aren’t directly referenced in instance properties but are loaded dynamically at runtime.
How to Use
- Scan a Studio place or import an RBXL file
- In the Sources to analyze section, click Scripts (Flow+ and Flow Max badge)
- The asset type filters are hidden — types are auto-detected from script source
- Click Analyze File or trigger a scan
- Review the results — assets found in scripts appear alongside instance-based assets
- Select the ones you want to reupload and proceed as normal
What Gets Detected
Script Mode looks for:
rbxassetid://URLs (most common)- Raw numeric IDs used with
AssetServiceor similar APIs HttpService:GetAsync()calls with asset URLs- Custom string patterns that resolve to asset IDs at runtime
Benefits
- Complete coverage — catch 100% of assets in a place, not just instance properties
- Script migration — when reuploading, scripts are also updated with new IDs via the Studio plugin
- Audit — see exactly which of your scripts reference which external assets
Limitations
- Only string literals are analyzed — dynamically constructed IDs (e.g.,
"id_" .. number) are not detectable - Script Mode requires more processing time depending on the number of scripts
- The feature is available on the Flow+ and Flow Max tiers
Example
Without Script Mode, a sound loaded via Instance.SoundId property is found. But if your game plays audio like this:
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://1122334455"
sound.Parent = workspaceScript Mode is required to detect the 1122334455 reference.
Last updated on