
520 Views
411 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
This script serializes in-game instances into executable Luau code for dynamic replication and generation. Instructions Execute the script and wait for the process to complete. The execution time depends on the size and density of the Workspace. Once finished, the generated code will be automatically copied to your clipboard. Built with AI: Gemini 3 Flash Version: 0.1 BETA
local Target = game:GetService("Workspace") --SELECT YOUR TARGET
local Output = "-- Generated automatically\nlocal create = Instance.new\nlocal refs = {}\n\n"
local blacklist = {
["TouchTransmitter"] = true,
["Camera"] = true,
["Terrain"] = true,
["Workspace"] = true,
["Status"] = true,
["ManualWeld"] = true,
["Weld"] = true,
["Motor6D"] = true,
["Snap"] = true
}
local defaultCache = {}
local function cleanValue(val)
if typeof(val) == "string" then
return '"' .. val .. '"'
elseif typeof(val) == "Vector3" then
return "Vector3.new(" .. tostring(val) .. ")"
elseif typeof(val) == "Vector2" then
return "Vector2.new(" .. tostring(val) .. ")"
elseif typeof(val) == "CFrame" then
return "CFrame.new(" .. tostring(val) .. ")"
elseif typeof(val) == "Color3" then
return "Color3.new(" .. tostring(val) .. ")"
elseif typeof(val) == "BrickColor" then
return "BrickColor.new(\"" .. tostring(val) .. "\")"
elseif typeof(val) == "UDim2" then
return "UDim2.new(" .. tostring(val) .. ")"
elseif typeof(val) == "UDim" then
return "UDim.new(" .. tostring(val) .. ")"
elseif typeof(val) == "NumberRange" then
return "NumberRange.new(" .. val.Min .. ", " .. val.Max .. ")"
elseif typeof(val) == "EnumItem" then
return tostring(val)
elseif typeof(val) == "Instance" then
return "nil"










This is actually fire for mobile users