I want to send modified shop data from a server module to client, but I don’t want to modify the module, I want to do something like “cloning” the data, and modify it. I don’t know how I could do it, and I didn’t find any solution over here or in the developer hub. Thanks for reading or helping .
I think one of my basic module (but undocumented) could help, if your module returns a table.
Copy.rbxm (658 Bytes)
It basically clones the table.
A table passed from server to client is copied, so you don’t need to do anything. Cheers.
Edit: If you mean you want to copy the contents of it on the server and change it and then copy to client, I think that is a weird case scenario but this article should help: https://developer.roblox.com/en-us/articles/Cloning-tables