Decompile a supported Roblox script Instance. To decompile a whole game, iterate its descendants or use a saveinstance workflow.
local targetScriptfor _, descendant in ipairs(game:GetDescendants()) do if descendant:IsA("LuaSourceContainer") then targetScript = descendant break endendif targetScript then local source = decompile(targetScript) if source then print(source) endend