Player.Removing Question

Does it fire as soon before the player leaves, or is there a delay with clients who have slower internet?

4 Likes

its supposed to but sometimes it doesnt.

1 Like

It actually fires just before a player leaves, but sometimes it can appear differently due to server lag.

From what I can tell, it will fire right before the player leaves. Internet connection would definitely impact when it gets called since the server would have a delay on when the player tells the server they want to leave said game.

I cannot say for sure, but when I tested this with my data store script with a message in it, the game sometimes waited a bit before closing the local server. I am assuming to fire that function.