FireAllClients suddenly stops working (even though everything is correct)

Hey,

I am working on a Force System in my Roblox game and using FireAllClients to replicate the powers to all players. However, after using it a few times, FireAllClients suddenly stops working and only replicates to the local player instead of all clients.

To help diagnose the issue, I am attaching the game file below along with some screenshots of the relevant code. Please let me know if you need any additional information.

Thank in advance for the support!

image


image

Client-Sided:
image

Expected behavior

I just expected the forces that use FireAllClients to be replicated to all clients every time.

A private message is associated with this bug report

This is almost certainly not a Roblox issue but instead a bug with your code. Just an FYI.

I doubt it’s a bug in the code, especially since it was working perfectly fine until a few days ago. But assuming it is a bug in my code, what kind of issue could cause FireAllClients to suddenly stop replicating to all clients and only replicate to the local player? (The LocalScript that handles OnClientEvent is in StarterPlayerScripts and is never deleted, and the code I wrote in the modules doesn’t trigger any errors).