Script crash when the user is set online