#Janitor and Unreliable Remote Event issue

1 messages · Page 1 of 1 (latest)

sturdy gazelle
#

I don't know why this thing isn't working but the regular remote event works perfectly without any issues. But previously it worked without any problems, after I implemented the janitor module for the onclientevent unreliable event, this problem occurred.

Script:

_janitor:Add(GunEvent.OnClientEvent:Connect(onGunClientEvent), "Disconnect")
    _janitor:Add(ReplicateSoundUEvent.OnClientEvent:Connect(function(owner: Player, action: string, ...: any?)
        onReplicateSoundClientUEvent(self, owner, action, ...)
    end), "Disconnect")
    _janitor:Add(TracerUEvent.OnClientEvent:Connect(onTracerUEvent), "Disconnect")

Output:

22:34:22.548  Remote event invocation discarded event for ReplicatedStorage.Remotes.Events.Unreliable.ReplicateSound; did you forget to implement OnClientEvent? (1 events dropped)  -  Studio
  22:34:32.450  Remote event invocation discarded event for ReplicatedStorage.Remotes.Events.Unreliable.ReplicateSound; did you forget to implement OnClientEvent? (2 events dropped)  -  Studio
  22:34:32.616  Remote event invocation discarded event for ReplicatedStorage.Remotes.Events.Unreliable.Tracer; did you forget to implement OnClientEvent? (1 events dropped)  -  Studio