Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function CloneTable(table)
- local new = {}
- for i, v in next, table do
- if (typeof(v) == "table") then
- new[i] = CloneTable(v)
- else
- new[i] = v
- end
- end
- return new
- end
- return CloneTable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement