As title says, GameRules:SetSafeToLeave() should enable players to leave the game without receiving penalties. Also to allow more control and choose ourselves the condition of a game free to leave.