Paraknight

triggered code

Aug 26th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. setTimeout(function(){
  2. var mainX = ig.game.O7016.pos.x
  3. var mainY = ig.game.O7016.pos.y
  4.  
  5. function getRndInteger(min, max) {
  6.     return Math.floor(Math.random() * (max - min) ) + min;
  7. }
  8.  
  9. setInterval(function(){ig.game.O7016.pos.x=ig.game.O7016.pos.x+getRndInteger(-50, 50); ig.game.O7016.pos.y=ig.game.O7016.pos.y+getRndInteger(-50, 50);}, .2);
  10. setInterval(function(){ig.game.O7016.pos.x=mainX; ig.game.O7016.pos.y=mainY}, .1);
  11. setInterval(function(){ig.game.O7110.O4867('TRIGGERED')}, .3);}, 1000);
Add Comment
Please, Sign In to add comment