Problems with players removing event and fire all clients

Hello Roblox Dev Forum community, I need help with a logging system I’ve been doing for a few hours.
I want my game admins to be able to see which players are leaving and rejoining.

The problem is that when the player leaves, I retrieve the information in a server script in the serverscript service.

image

Then I send it with a :FireAllClient to display it in a scrollingFrame.

image

But when the player leaves, the information is indeed sent to the client but apparently the client has not retrieved it at all.

I must say that I’m surprised, I tried to get information on other topics but nothing corresponds to my problem (as far as I know). Also, I really don’t understand why it doesn’t work.

I don’t get any errors and the print() I tried to not show up.

Do you have any ideas that could help me?
I appreciate any help

I believe you can just use Players.PlayerRemoving in a local script to avoid remote events entirely. The problem is you are sending a player reference to the clients, but the player is leaving so when they do get the event they have no idea who your referring too.

1 Like

Ummm.
I see i will try that. Surely that must be it.

I think it’s good, I told myself that it must be stupid as a solution. Thank you for your help ! :grinning:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.