I’m working on having visual effects be run on the client rather than the server, and i’ve come across an issue. Before that though, this is how this system is supposed to run.
- Module passes a function and some parameters into the VisualService module using either the .AllClients(Function, …) function or .OneClient(Player, Function, …)
- VisualService module simply feeds its parameters into a remote event (or unreliable remote event, both have this issue though)
- The remote event is caught by the client through a local script and executes the passed function and feeds the remote’s parameters into that function
The Module in step 1 is in Server Storage, the Visual Service is in Replicated Storage, the Remote event is also in Replicated Storage. I’ve tried having the function that I would pass into Visual Service originate from Replicated Storage but to no avail.
Here are some screenshots:
-
BindableEventService code
-
Visual Service
-
Local Script
-
Image of the error in output