CloneLuau✎

A shallow copy: the tables inside it are the same tables. A copy of a frozen table is not frozen.

Pending review

ClonetableTable
  • the language itself, so it works in Roblox and in Lune
  • pure — no execution pins, wire it anywhere
  • names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals

Inputs

  • Table:tablemust be wired

Outputs

  • result:table

What it compiles to

luau
print(table.clone(value))

Not reviewed yet