Skip to content

Commit

Permalink
fgh
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Nov 27, 2024
1 parent 911be70 commit 86efd5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -1854,6 +1854,9 @@ let setTime = Date.now();
function banGame() {
if(window.banned) return;
sendEvent("cheat_detected")
// redirect to banned page
alert("Cheat detected.")
window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
window.banned = true;
document.write("<h1>You have been banned from playing this game.</h1> If you believe this is a mistake, please contact us at [email protected]")
window.localStorage.setItem("banned", "true")
Expand Down

0 comments on commit 86efd5a

Please sign in to comment.