This is comment for paste
Arras Septa Script
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Septa-Trapper Script
- // @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.
- // @author fireman
- // @version 1.3
- // @match *://arras.io/
- // @match *://arras.netlify.app/*
- // @run-at document-start
- // @require https://gist.githubusercontent.com/ABCxFF/478c8c9d22ba4ba58a3bb9d909b93fcb/raw/bcf1babf48124eadd0c146cb7451f0e172c19a41/APM.js
- // @grant none
- // ==/UserScript==
- arras.hijack().then(_0x1ea12e => {
- let _0x52d61b = false;
- let _0x18dbd9 = 0;
- let _0x1973f3 = false;
- let _0xd5b3f5 = 0;
- let _0x201867 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
- const _0x2e44d4 = new arras.UpdateParser();
- let _0x280902 = {
- 'x': 0x0,
- 'y': 0x0
- };
- window.mouse = () => _0x280902;
- let _0x4850fb = 0;
- const _0x58a4c3 = () => _0x2e44d4.entities.find(_0x1343eb => _0x1343eb.id === _0x2e44d4.player.body.id);
- _0x1ea12e.hookMsg(_0x4be6df => {
- if (_0x4be6df[0] === 'u') {
- _0x2e44d4.parse(_0x4be6df);
- let _0x372678 = _0x58a4c3();
- if (_0x372678 && _0x372678.guns.length === 14) {
- if (!_0x201867.every((_0x5e98be, _0x261939) => _0x372678.guns[_0x261939].time === _0x5e98be)) {
- _0xd5b3f5 = _0x201867.findIndex((_0x4cb5c6, _0x43e0cf) => _0x372678.guns[_0x43e0cf].time !== _0x4cb5c6) + 3;
- _0x201867 = _0x372678.guns.map(_0x7bd65e => _0x7bd65e.time);
- _0x1ea12e.talk('C', _0x280902.x, _0x280902.y, _0x4850fb);
- }
- } else {
- currentCount = 0;
- }
- }
- });
- const _0x1703e1 = () => {
- let _0x127dbe = -0.897598 * _0xd5b3f5 / 2 + Math.atan2(_0x280902.y, _0x280902.x);
- if (_0x52d61b) {
- _0x52d61b = false;
- _0x127dbe -= 0.03;
- } else {
- _0x52d61b = true;
- _0x127dbe += 0.03;
- }
- const _0x552ab6 = Math.hypot(_0x280902.x, _0x280902.y);
- return ['C', _0x552ab6 * Math.cos(_0x127dbe + _0x18dbd9), _0x552ab6 * Math.sin(_0x127dbe + _0x18dbd9), _0x4850fb];
- };
- _0x1ea12e.hookSend(_0x1d3a07 => {
- if (_0x1d3a07[0] === 'C') {
- _0x280902 = {
- 'x': _0x1d3a07[1],
- 'y': _0x1d3a07[2]
- };
- _0x4850fb = _0x1d3a07[3];
- if (!_0x2e44d4.camera || _0x2e44d4.camera.x === null) {
- return false;
- }
- if (_0x1973f3) {
- return _0x1703e1();
- }
- }
- return false;
- });
- window.addEventListener("keydown", _0x1c3171 => {
- if (_0x1c3171.code === "Equal") {
- _0x18dbd9 += Math.PI * 2 / 7;
- }
- if (_0x1c3171.code === "Minus") {
- _0x18dbd9 -= Math.PI * 2 / 7;
- }
- if (_0x1c3171.code === "KeyM") {
- _0x1973f3 = !_0x1973f3;
- _0x1ea12e.receive('m', "Septa Stack is " + (_0x1973f3 ? 'ON' : "OFF"));
- }
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment