#!/usr/bin/env python3 """Extract the exact Source of every script in a binary Roblox model (.rbxm) or place (.rbxl). Why: when a collaborator edits scripts live in Studio, Studio is the source of truth. Reading a script back through an MCP "get source" call can reformat it, truncate it, or flood the agent's context. Instead, export the subtree to a binary .rbxm (an export tool, or right-click > Save to File), then run this. You get byte-exact files on disk to diff, edit, and use as the "base" for stage_rbxmx.py. Usage: python3 rbxm_src.py file.rbxm outdir Writes outdir///