ThatOneGuy748
Jan 9th, 2025
13
0
Never
This is comment for paste Arras Septa Script
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name Septa-Trapper Script
  3. // @description This script increases your cooldown by 7 times. Take the Septa-Trapper and use M to turn the script OFF or ON. If the script shoots a stream sideways, use the + and - buttons to point the stack in the desired direction. If the script shoots in two directions at once, try taking another reload.
  4. // @author fireman
  5. // @version 1.3
  6. // @match *://arras.io/
  7. // @match *://arras.netlify.app/*
  8. // @run-at document-start
  9. // @require https://gist.githubusercontent.com/ABCxFF/478c8c9d22ba4ba58a3bb9d909b93fcb/raw/bcf1babf48124eadd0c146cb7451f0e172c19a41/APM.js
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. arras.hijack().then(_0x1ea12e => {
  14. let _0x52d61b = false;
  15. let _0x18dbd9 = 0;
  16. let _0x1973f3 = false;
  17. let _0xd5b3f5 = 0;
  18. let _0x201867 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
  19. const _0x2e44d4 = new arras.UpdateParser();
  20. let _0x280902 = {
  21. 'x': 0x0,
  22. 'y': 0x0
  23. };
  24. window.mouse = () => _0x280902;
  25. let _0x4850fb = 0;
  26. const _0x58a4c3 = () => _0x2e44d4.entities.find(_0x1343eb => _0x1343eb.id === _0x2e44d4.player.body.id);
  27. _0x1ea12e.hookMsg(_0x4be6df => {
  28. if (_0x4be6df[0] === 'u') {
  29. _0x2e44d4.parse(_0x4be6df);
  30. let _0x372678 = _0x58a4c3();
  31. if (_0x372678 && _0x372678.guns.length === 14) {
  32. if (!_0x201867.every((_0x5e98be, _0x261939) => _0x372678.guns[_0x261939].time === _0x5e98be)) {
  33. _0xd5b3f5 = _0x201867.findIndex((_0x4cb5c6, _0x43e0cf) => _0x372678.guns[_0x43e0cf].time !== _0x4cb5c6) + 3;
  34. _0x201867 = _0x372678.guns.map(_0x7bd65e => _0x7bd65e.time);
  35. _0x1ea12e.talk('C', _0x280902.x, _0x280902.y, _0x4850fb);
  36. }
  37. } else {
  38. currentCount = 0;
  39. }
  40. }
  41. });
  42. const _0x1703e1 = () => {
  43. let _0x127dbe = -0.897598 * _0xd5b3f5 / 2 + Math.atan2(_0x280902.y, _0x280902.x);
  44. if (_0x52d61b) {
  45. _0x52d61b = false;
  46. _0x127dbe -= 0.03;
  47. } else {
  48. _0x52d61b = true;
  49. _0x127dbe += 0.03;
  50. }
  51. const _0x552ab6 = Math.hypot(_0x280902.x, _0x280902.y);
  52. return ['C', _0x552ab6 * Math.cos(_0x127dbe + _0x18dbd9), _0x552ab6 * Math.sin(_0x127dbe + _0x18dbd9), _0x4850fb];
  53. };
  54. _0x1ea12e.hookSend(_0x1d3a07 => {
  55. if (_0x1d3a07[0] === 'C') {
  56. _0x280902 = {
  57. 'x': _0x1d3a07[1],
  58. 'y': _0x1d3a07[2]
  59. };
  60. _0x4850fb = _0x1d3a07[3];
  61. if (!_0x2e44d4.camera || _0x2e44d4.camera.x === null) {
  62. return false;
  63. }
  64. if (_0x1973f3) {
  65. return _0x1703e1();
  66. }
  67. }
  68. return false;
  69. });
  70. window.addEventListener("keydown", _0x1c3171 => {
  71. if (_0x1c3171.code === "Equal") {
  72. _0x18dbd9 += Math.PI * 2 / 7;
  73. }
  74. if (_0x1c3171.code === "Minus") {
  75. _0x18dbd9 -= Math.PI * 2 / 7;
  76. }
  77. if (_0x1c3171.code === "KeyM") {
  78. _0x1973f3 = !_0x1973f3;
  79. _0x1ea12e.receive('m', "Septa Stack is " + (_0x1973f3 ? 'ON' : "OFF"));
  80. }
  81. });
  82. });
Advertisement
Add Comment
Please, Sign In to add comment