Goal Description
It would be useful to introduce a PlayerEvents.Leaving event that triggers before a player fully disconnects from the server.
Currently, PlayerEvents.Left is fired after the player has already left, which limits access to important player data at the time of disconnection. This makes it difficult or impossible to reliably retrieve or process certain information (inventory, role state, custom data).
This would avoid the usage of OnDestroy or any alternative.
Notes
No response
Goal Description
It would be useful to introduce a PlayerEvents.Leaving event that triggers before a player fully disconnects from the server.
Currently, PlayerEvents.Left is fired after the player has already left, which limits access to important player data at the time of disconnection. This makes it difficult or impossible to reliably retrieve or process certain information (inventory, role state, custom data).
This would avoid the usage of OnDestroy or any alternative.
Notes
No response