Event being Spammed Issue

Currently, whenever I join my game and only me it appears in server console that:
“Player [player name] appears to be spamming remote events.” I have checked all my remote events and none of them is the problem.

Please, help me out with fixing this issue as it seems to only be caused whenever I am in-game. On my phone it is fine and in studio it is fine just seems to be like this on my phone.

make a connection for the Remote event then disconnect it

To all of them? I have a decent amount around 10+ yet they are not all being fired all the time.

can you show a screenshot of them remote events

there are more located in different areas, yet they do not get fired until something opens.
I have removed all remote events and yet it still says a remote event is being fired.

image

Jesus christ thats way too much Remote Events

check for more and check in scripts for code connected to a remote event.Or it may be random events

alright, I will also lower the count of remote events.

what do you think is the best way to do this?

You should use Remote events for necessary things but the remote events on your screenshot can be achieved by using modulescripts or bindableEvents as remoteEvents use a lot of memory as your firing a lot of connections between client and server

Yeah currently making a framework, never really looked much into bindableEvents so I will look into it, I appreciate it.

k cool encapulastion is a great way to reduce remote events as your using one remote event only and can create many events

1 Like