i was told to render projectiles on the client so i made a system where the remoteevent passes a module to the client and the client simply runs the module, however i cant get this to work because the game doesnt let clients require() modules. how would i work around this limitation?
i would prefer not to write a complicated function to create parts on the client, so idk how else i would do that
They can require modules. The module you’re sending in the remote event has to be replicated to the client (So not in ServerStorage, or ServerScriptService)
Parent the module into ReplicatedStorage (or elsewhere) and require it from the client. There is no reason to send it in a RemoteEvent, and I do not recommend doing so.