Advertisement
dahnnyel1

filter

May 17th, 2020
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("\x0314"+scriptName()+" by dane, has been loaded correctly");
  2.  
  3.  
  4. function onLoad()
  5. {
  6.     Users.local(function(x){
  7.         x.vroom = 1;
  8.     });
  9. }
  10.  
  11. var blacklist = "arlnk://F5fPxdTq8eJeuqSVejGmq0Y2XosK6SG4aFbSifAN6Ia6KM0DyHtMXO4VklDBsILKF5DlQdX8";
  12.  
  13.  
  14. function onJoinCheck(userobj)
  15. {
  16.     var iphub = new HttpRequest();
  17.    
  18.     iphub.src = "https://v2.api.iphub.info/guest/ip/"+userobj.externalIp+"?c=Fae9gi8a";
  19.  
  20.     iphub.oncomplete = function()
  21.     {
  22.         var result = JSON.parse(this.page);
  23.         var is = result.block;
  24.         if (is == 1)
  25.         {
  26.             userobj.redirect(blacklist);
  27.             return false;
  28.  
  29.         }
  30.         else
  31.         {
  32.             userobj.vroom = 1;
  33.             return true;
  34.         }
  35.        
  36.     }
  37.     return iphub.download();
  38.  
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement