Does players.PlayerRemoving trigger when the player gets kicked out?

I making a game and there’s a dataStore script and I was wondering if players.PlayerRemoving gets triggered when a player get’s kicked out. I have also made a game:BindToClose() function if the game randomly shuts down.

2 Likes

players.PlayerRemoving is triggered when a player is disconnected form the server so yes its triggered when its kicked (the only exception is when the server shutdown i think)

4 Likes