Is there an event that invokes before a player leaves??
To do this you will most likely need a 3rd party menu as editing the default roblox one is not possible.