logOut(); //function attempt(){ // $this->updateRow("public_users", ["IsOnline" => 0], ["Id" => $_SESSION['player']]); //} unset ($_SESSION["player"]); unset ($_COOKIE["userToken"]); session_destroy(); invalidateSession($_COOKIE['_ROBLOSECURITY']); header("Location: /"); }