Voxiom Sniper Speed

Move faster with the heavy sniper

  1. // ==UserScript==
  2. // @name Voxiom Sniper Speed
  3. // @version 0.2
  4. // @description Move faster with the heavy sniper
  5. // @author Pix#7008
  6. // @match https://voxiom.io/*
  7. // @icon https://avatars.githubusercontent.com/u/44953835?v=4
  8. // @grant none
  9. // @license MIT
  10. // @namespace pixelmelt-vox-sniperspeed
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. function keyup49(){
  17. var kek = new KeyboardEvent("keyup",{
  18. keyCode: 49
  19. })
  20. document.dispatchEvent(kek);
  21. }
  22.  
  23. function keyup50(){
  24. var kek = new KeyboardEvent("keyup",{
  25. keyCode: 50
  26. })
  27. document.dispatchEvent(kek);
  28. }
  29.  
  30. var hotbarslot = 1
  31. document.body.addEventListener('keydown', function(event) {
  32. if (event.keyCode == 16) {
  33. if (hotbarslot == 2) {
  34. console.log(`Running mode active`)
  35. var e = new KeyboardEvent("keydown",{
  36. keyCode: 49
  37. })
  38. document.dispatchEvent(e);
  39. setTimeout(keyup49, 500)
  40. hotbarslot = 1
  41. }
  42. }
  43. hotbarslot = document.getElementsByClassName(`sc-iAzEPL`)[0].parentElement.children[1].innerHTML
  44. });
  45.  
  46. document.body.addEventListener('keyup', function(event) {
  47. if (event.keyCode == 16) {
  48. if (hotbarslot == 1) {
  49. console.log(`Running mode de-activated`)
  50. var f = new KeyboardEvent("keydown",{
  51. keyCode: 50
  52. })
  53. document.dispatchEvent(f);
  54. setTimeout(keyup50, 500)
  55. hotbarslot = 2
  56. }
  57. }
  58. hotbarslot = document.getElementsByClassName(`sc-iAzEPL`)[0].parentElement.children[1].innerHTML
  59. });
  60. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址