Not too far back, I made a module called “LocalInstance”. Basically what it does, is you call LocalInstance.new
(from the server) which functions exactly like Instance.new
except instead of returning an instance, it returns a table that acts exactly like an instance. When you set the parent of the table it gets serialized, compressed, and sent over to all clients to be processed and instance-ized.
Now, what I’m wondering is if it’s better performance wise to just create the instances on the server, or to send compressed strings representing instances to all clients. I already made the module, and it’s fully functional, I’m just wondering.