daily pastebin goal
39%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Cow Client Hats 1
  3. // @version      1.0
  4. // @description  Hat Macros, Auto-Hat
  5. // @author       Derpity Derpity
  6. // @match        http://moomoo.io/*
  7. // @match        http://45.77.0.81/?party=45.32.128.142
  8. // @require      http://code.jquery.com/jquery-1.12.4.min.js
  9. // @grant        none
  10. // @connect      moomoo.io
  11. // @icon http://i.imgur.com/eJSOmz9.png[/img]
  12. // @namespace https://greasyfork.org/users/131053
  13. // ==/UserScript==
  14.  
  15. $('head').append('<link rel="stylesheet" href="http://wormax.org/chrome3kafa/moomods.css" type="text/css" media="screen, projection" /><script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script><script>(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","https://www.google-analytics.com/analytics.js","ga");ga("create", "UA-96874588-1", "auto");ga("send", "pageview");</script><script data-cfasync="false" type="text/javascript" src="http://www.tradeadexchange.com/a/display.php?r=1433959"></script>');
  16. $('title').html('Moo Moo');
  17. $('#gameName').remove();
  18. $('#leaderboard').append('Cow');
  19. $('#menuCardHolder').prepend('<a href="https://www.youtube.com/channel/UCpLebMINCQlfVSJmggN4OqA" target="_blank"><div id=gameName3>Cow Client</div></a>');
  20. $('#adCard').html('<div align="left"><center><b><a class="menuText" href="https://www.youtube.com/channel/UCpLebMINCQlfVSJmggN4OqA" target="_blank">Cow Client FEATURES</a></b></center><table style="border-collapse: collapse;" border="1"><tbody><tr><td style="width: 100px;"><b>Features</b></td><td style="width: 250px;"><b>How to use</b></td></tr><tr><td>NO ADS</td><td>Automatically Removed</td></tr><tr><td>AUTO-HAT</td><td>Press F8 or Del to toggle!</td></tr><tr><td>AUTO ATTACK</td><td>Make in progress</td></tr><tr><td>CHANGE HATS</td><td>Numpad 0-9 Keys to change hat</td></tr><tr><td>POLICE MOD</td><td>Updated to Auto-Hat </br>...</td></tr><tr><td>AUTO FOOD</td><td>Make in progress</td></tr><tr><td>MINIMAP SIZE</td><td>Edit from within the script as shown in the video.</td></tr><tr><td>+=+=AD POPUPS!!!!=+=+</td><td>Ad popups in different tabs may appear on click!</td></tr><tr><td>AUTO HEAL<a style="font-size:11px; color:green;"></a></td><td>Make in progress</td></tr><tr><td>Enemy Radar<a style="font-size:9.5px; color:red;"></a></td><td>Make in progress</td></tr></tbody></table><hr><b>Subscribe To Derpity Derpity For Constant Updates!</b><br><a href="https://www.youtube.com/channel/UCpLebMINCQlfVSJmggN4OqA" target="_blank">HERE</a>');
  21. $('#linksContainer1').remove();
  22. $('#linksContainer2').html('<a href="./docs/versions.txt" target="_blank" class="menuLink">Changelog</a> |<a href="https://discordapp.com/invite/moomoo" target="_blank" class="menuLink">Discord</a> |<a href="https://www.youtube.com/channel/UCpLebMINCQlfVSJmggN4OqA" target="_blank" class="menuLink">Derpity Derpity</a>');
  23. $('#youtubeFollow').remove();
  24. $('#twitterFollow').remove();
  25.  
  26.  
  27. (function() {
  28. var weapon;
  29. var foodx;
  30. $("#gameCanvas").mousedown(function(ev){
  31.       if(ev.which == 3)
  32.       {
  33.         document.getElementById("actionBarItem7").onclick();
  34.         var e = jQuery.Event( "keydown", { keyCode: 32 } );
  35.         jQuery( "body" ).trigger( e );
  36.         weapon = setTimeout(function(){ weapon5(); }, 25);
  37.         foodx = setTimeout(function(){ takefood(); }, 40);
  38.       }
  39. });
  40.     function takefood() {
  41.     clearTimeout(foodx);
  42.     document.getElementById("actionBarItem6").onclick();
  43.     }
  44.     function weapon5() {
  45.     clearTimeout(weapon);
  46.     document.getElementById("actionBarItem0").onclick();
  47.     document.getElementById("actionBarItem1").onclick();
  48.     document.getElementById("actionBarItem2").onclick();
  49.     document.getElementById("actionBarItem4").onclick();
  50.     }
  51. })();
  52.  
  53.  
  54. (function() {
  55.  
  56.     'use strict';
  57.     var myVar;
  58.     var myVar2;
  59.     var police = true;
  60.     var ID_SoldierHelmet = 6;
  61.     var ID_EMPTY = 0;
  62.     var ID_SoldierHelmet = 6;
  63.  
  64.     document.addEventListener('keydown', function (e) {
  65.         if (e.keyCode == 46 || e.keyCode == 67) {
  66.             e.preventDefault();
  67.             if (police) {
  68.             storeEquip(ID_SoldierHelmet);
  69.             myVar = setTimeout(function(){ h1(); }, 1);
  70.             } else {
  71.             clearTimeout(myVar);
  72.             clearTimeout(myVar2);
  73.             storeEquip(ID_EMPTY);
  74.             }
  75.             police = !police;
  76.         }
  77.     });
  78.  
  79.     function h1() {
  80.     storeEquip(ID_SoldierHelmet);
  81.     clearTimeout(myVar);
  82.     myVar2 = setTimeout(function(){ h2(); }, 1);
  83.     }
  84.     function h2() {
  85.     storeEquip(ID_SoldierHelmet);
  86.     clearTimeout(myVar2);
  87.     myVar = setTimeout(function(){ h1(); }, 1);
  88.     }
  89. })();
  90.  
  91. (function() {
  92.     'use strict';
  93.  
  94.     var ID_BummleHat = 8;
  95.     var ID_StrawHat = 2;
  96.     var ID_WinterCap = 15;
  97.     var ID_CowboyHat = 5;
  98.     var ID_RangerHat = 4;
  99.     var ID_ExplorerHat = 18;
  100.     var ID_MarksmanCap = 1;
  101.     var ID_SoldierHelmet = 6;
  102.     var ID_HoneycrispHat = 13;
  103.     var ID_MinersHelmet = 9;
  104.     var ID_BoosterHat = 12;
  105.     var ID_BushGear = 10;
  106.     var ID_SpikeGear = 11;
  107.     var ID_BushidoArmor = 16;
  108.     var ID_SamuraiArmor = 20;
  109.     var ID_BullsHelmet = 7;
  110.     var ID_DemolisherArmor = 26;
  111.     var ID_FlipperHat = 31;
  112.     var ID_EmpHelmet = 22;
  113.     var actionBarItem10; // cookie
  114.     var actionBarItem20; // boostpad
  115.     var actionBarItem19; // pitfall
  116.     var actionBarItem4; // katana
  117.     var actionBarItem3; // shortsword
  118.  
  119.     document.addEventListener('keydown', function(e) {
  120.         switch (e.keyCode - 96) {
  121.             case 0: storeEquip(0); break; // UnEquip
  122.             case 1: storeEquip(ID_BullsHelmet); break;
  123.             case 2: storeEquip(ID_WinterCap); break;
  124.             case 3: storeEquip(ID_SoldierHelmet); break;
  125.             case 4: storeEquip(ID_HoneycrispHat); break;
  126.             case 5: storeEquip(ID_BoosterHat); break;
  127.             case 6: storeEquip(ID_BushGear); break;
  128.             case 7: storeEquip(ID_SpikeGear); break;
  129.             case 8: storeEquip(ID_BushidoArmor); break;
  130.             case 9: storeEquip(ID_SamuraiArmor); break;
  131.         }
  132.     });
  133.  
  134. })();
  135.  
  136.  
  137. (function() {
  138.     'use strict';
  139.  
  140.     var conf = {
  141.         'map': {
  142.             'w': '130',
  143.             'h': '130',
  144.             'top': '15',
  145.             'left': '15'
  146.         },
  147.     };
  148.  
  149.     // Change Layout
  150.     $('#mapDisplay').css({
  151.         'top': conf.map.top + 'px', // default 20px
  152.         'left': conf.map.left + 'px',       // default 20px
  153.         'width': conf.map.w + 'px',         // default 130px
  154.         'height': conf.map.h + 'px'         // default 130px
  155.     });
  156.     $('#scoreDisplay').css({
  157.         'bottom': '20px',                   // default 20px
  158.         'left': '20px'                      // default 170px
  159.     });
  160.  
  161. })();
  162. (function() {
  163.     var leaderboard2 = document.getElementById("setupCard");
  164.         var myCssText = "display:block;margin-top:10px;";
  165.         splixDIV2.innerHTML = '</br>Right Click -> Apple: Not eat, auto get to hand</br>Right Click -> Cookie: auto eat, not get to hand';
  166.  
  167. })();
RAW Paste Data
Top