Created
June 11, 2015 21:26
-
-
Save jcheatham/d01573aaa9b635b317bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function md(x,y) { return {"data": { "getLocalPosition": function() { return {"x": x, "y": y}; } } } } | |
function clickjack() { | |
var lucky = Math.random(); | |
if (lucky < 0.25) { g_Minigame.m_CurrentScene.DoClick(md(514,386)); } | |
else if (lucky < 0.5) { g_Minigame.m_CurrentScene.DoClick(md(647,439)); } | |
else if (lucky < 0.75) { g_Minigame.m_CurrentScene.DoClick(md(764,398)); } | |
else { g_Minigame.m_CurrentScene.DoClick(md(640,241)); } | |
} | |
setInterval(function(){ clickjack(); }, 100) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment