UI.AddSliderInt(' ', 0, 0);
UI.AddSliderInt('Jitter Random', 0, 30);
UI.AddSliderInt('Yaw Randomization', 0, 45);
UI.AddSliderInt('Jitter Width', 0, 1);
UI.AddSliderInt('Jitter Frequency', 0, 1);
UI.AddCheckbox('Auto-Inverter');
UI.AddDropdown('Presets', [
'Jag0Yaw',
'XO-Yaw',
'Hybrid',
'Agressive Yaw',
'Jitter Side'
]);
UI.AddSliderInt(' ', 0, 0);
function presets() {
if (UI.GetValue('Script items', 'Presets') == 0) {
UI.SetValue('Script items', 'Jitter Random', 0);
UI.SetValue('Script items', 'Yaw Randomization', 13);
UI.SetValue('Script items', 'Jitter Width', 1);
UI.SetValue('Script items', 'Jitter Frequency', 1);
UI.SetValue('Script items', 'Presets', 0);
}
if (UI.GetValue('Script items', 'Presets') == 1) {
UI.SetValue('Script items', 'Jitter Random', 10);
UI.SetValue('Script items', 'Yaw Randomization', 5);
UI.SetValue('Script items', 'Jitter Width', 0);
UI.SetValue('Script items', 'Jitter Frequency', 1);
UI.SetValue('Script items', 'Presets', 1);
}
if (UI.GetValue('Script items', 'Presets') == 2) {
UI.SetValue('Script items', 'Jitter Random', 5);
UI.SetValue('Script items', 'Yaw Randomization', 0);
UI.SetValue('Script items', 'Jitter Width', 1);
UI.SetValue('Script items', 'Jitter Frequency', 1);
UI.SetValue('Script items', 'Presets', 2);
}
if (UI.GetValue('Script items', 'Presets') == 3) {
UI.SetValue('Script items', 'Jitter Random', 20);
UI.SetValue('Script items', 'Yaw Randomization', 5);
UI.SetValue('Script items', 'Jitter Width', 1);
UI.SetValue('Script items', 'Jitter Frequency', 1);
UI.SetValue('Script items', 'Presets', 3);
}
if (UI.GetValue('Script items', 'Presets') == 4) {
UI.SetValue('Script items', 'Jitter Random', 22);
UI.SetValue('Script items', 'Yaw Randomization', 0);
UI.SetValue('Script items', 'Jitter Width', 1);
UI.SetValue('Script items', 'Jitter Frequency', 1);
UI.SetValue('Script items', 'Presets', 4);
}
if (UI.GetValue('Anti-Aim', 'Fake angles', 'Fake desync') == 0) {
UI.SetValue('Anti-Aim', 'Fake angles', 'Fake desync', 1);
}
if (UI.GetValue('Anti-Aim', 'Fake angles', 'Desync on shot') == 0) {
UI.SetValue('Anti-Aim', 'Fake angles', 'Desync on shot', 1);
}
if (UI.GetValue('Anti-Aim', 'Fake angles', 'Inverter flip') == 0) {
UI.SetValue('Anti-Aim', 'Fake angles', 'Inverter flip', 2);
}
}
var master = {
dir: 'back',
cycle: false,
iteration: 0,
getJitter: function () {
return UI.GetValue('Anti-Aim', 'Rage Anti-Aim', 'Jitter offset');
},
setJitter: function (_0xcf41b8) {
return UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Jitter offset', _0xcf41b8);
},
getJitterValue: function () {
return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Jitter Value');
},
getJitterRandom: function () {
return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Jitter Random');
},
getYaw: function () {
return UI.GetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset');
},
setYaw: function (_0x4d63ba) {
return UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', _0x4d63ba);
},
getAAInvert: function () {
return UI.IsHotkeyActive('Anti-Aim', 'Fake angles', 'Inverter');
},
setAAInvert: function () {
return UI.ToggleHotkey('Anti-Aim', 'Fake angles', 'Inverter');
},
getWidth: function () {
return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Jitter Width');
},
getFreq: function () {
return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Jitter Frequency');
},
getRandom: function () {
return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Yaw Randomization');
},
getInvert: function () {
return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Auto-Inverter');
}
};
function getRandomInt(_0x5c4fb7, _0x366e2e) {
_0x5c4fb7 = Math.ceil(_0x5c4fb7);
_0x366e2e = Math.floor(_0x366e2e);
return Math.floor(Math.random() * (_0x366e2e - _0x5c4fb7)) + _0x5c4fb7;
}
function jitter() {
master.iteration++;
if (master.iteration % master.getFreq() != 0) {
return;
}
master.cycle = !master.cycle;
if (master.dir == 'left') {
master.setYaw((master.cycle ? -90 : master.getWidth() - 90) + getRandomInt(-master.getRandom(), master.getRandom()));
} else {
if (master.dir == 'back') {
master.setYaw((master.cycle ? master.getWidth() / 2 : -(master.getWidth() / 2)) + getRandomInt(-master.getRandom(), master.getRandom()));
} else {
if (master.dir == 'right') {
master.setYaw((master.cycle ? 90 : 90 - master.getWidth()) + getRandomInt(-master.getRandom(), master.getRandom()));
}
}
}
master.setJitter((master.cycle ? master.getJitterValue() / 2 * 2 : -(master.getJitterValue() / 2) * 2) + getRandomInt(-master.getJitterRandom(), master.getJitterRandom()));
}
function invert() {
if (!master.getInvert() || Entity.GetEntityFromUserID(Event.GetInt('userid')) != Entity.GetLocalPlayer()) {
return;
}
master.setAAInvert();
}
function main() {
Global.RegisterCallback('CreateMove', 'jitter');
Global.RegisterCallback('player_hurt', 'invert');
Global.RegisterCallback('CreateMove', 'presets');
}
main();
thanks, реакций нет, так бы далby suga#0001JavaScript:UI.AddSliderInt(' ', 0, 0); UI.AddSliderInt('Jitter Random', 0, 30); UI.AddSliderInt('Yaw Randomization', 0, 45); UI.AddSliderInt('Jitter Width', 0, 1); UI.AddSliderInt('Jitter Frequency', 0, 1); UI.AddCheckbox('Auto-Inverter'); UI.AddDropdown('Presets', [ 'Jag0Yaw', 'XO-Yaw', 'Hybrid', 'Agressive Yaw', 'Jitter Side' ]); UI.AddSliderInt(' ', 0, 0); function presets() { if (UI.GetValue('Script items', 'Presets') == 0) { UI.SetValue('Script items', 'Jitter Random', 0); UI.SetValue('Script items', 'Yaw Randomization', 13); UI.SetValue('Script items', 'Jitter Width', 1); UI.SetValue('Script items', 'Jitter Frequency', 1); UI.SetValue('Script items', 'Presets', 0); } if (UI.GetValue('Script items', 'Presets') == 1) { UI.SetValue('Script items', 'Jitter Random', 10); UI.SetValue('Script items', 'Yaw Randomization', 5); UI.SetValue('Script items', 'Jitter Width', 0); UI.SetValue('Script items', 'Jitter Frequency', 1); UI.SetValue('Script items', 'Presets', 1); } if (UI.GetValue('Script items', 'Presets') == 2) { UI.SetValue('Script items', 'Jitter Random', 5); UI.SetValue('Script items', 'Yaw Randomization', 0); UI.SetValue('Script items', 'Jitter Width', 1); UI.SetValue('Script items', 'Jitter Frequency', 1); UI.SetValue('Script items', 'Presets', 2); } if (UI.GetValue('Script items', 'Presets') == 3) { UI.SetValue('Script items', 'Jitter Random', 20); UI.SetValue('Script items', 'Yaw Randomization', 5); UI.SetValue('Script items', 'Jitter Width', 1); UI.SetValue('Script items', 'Jitter Frequency', 1); UI.SetValue('Script items', 'Presets', 3); } if (UI.GetValue('Script items', 'Presets') == 4) { UI.SetValue('Script items', 'Jitter Random', 22); UI.SetValue('Script items', 'Yaw Randomization', 0); UI.SetValue('Script items', 'Jitter Width', 1); UI.SetValue('Script items', 'Jitter Frequency', 1); UI.SetValue('Script items', 'Presets', 4); } if (UI.GetValue('Anti-Aim', 'Fake angles', 'Fake desync') == 0) { UI.SetValue('Anti-Aim', 'Fake angles', 'Fake desync', 1); } if (UI.GetValue('Anti-Aim', 'Fake angles', 'Desync on shot') == 0) { UI.SetValue('Anti-Aim', 'Fake angles', 'Desync on shot', 1); } if (UI.GetValue('Anti-Aim', 'Fake angles', 'Inverter flip') == 0) { UI.SetValue('Anti-Aim', 'Fake angles', 'Inverter flip', 2); } } var master = { dir: 'back', cycle: false, iteration: 0, getJitter: function () { return UI.GetValue('Anti-Aim', 'Rage Anti-Aim', 'Jitter offset'); }, setJitter: function (_0xcf41b8) { return UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Jitter offset', _0xcf41b8); }, getJitterValue: function () { return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Jitter Value'); }, getJitterRandom: function () { return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Jitter Random'); }, getYaw: function () { return UI.GetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset'); }, setYaw: function (_0x4d63ba) { return UI.SetValue('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', _0x4d63ba); }, getAAInvert: function () { return UI.IsHotkeyActive('Anti-Aim', 'Fake angles', 'Inverter'); }, setAAInvert: function () { return UI.ToggleHotkey('Anti-Aim', 'Fake angles', 'Inverter'); }, getWidth: function () { return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Jitter Width'); }, getFreq: function () { return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Jitter Frequency'); }, getRandom: function () { return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Yaw Randomization'); }, getInvert: function () { return UI.GetValue('Misc', 'JAVASCRIPT', 'Script Items', 'Auto-Inverter'); } }; function getRandomInt(_0x5c4fb7, _0x366e2e) { _0x5c4fb7 = Math.ceil(_0x5c4fb7); _0x366e2e = Math.floor(_0x366e2e); return Math.floor(Math.random() * (_0x366e2e - _0x5c4fb7)) + _0x5c4fb7; } function jitter() { master.iteration++; if (master.iteration % master.getFreq() != 0) { return; } master.cycle = !master.cycle; if (master.dir == 'left') { master.setYaw((master.cycle ? -90 : master.getWidth() - 90) + getRandomInt(-master.getRandom(), master.getRandom())); } else { if (master.dir == 'back') { master.setYaw((master.cycle ? master.getWidth() / 2 : -(master.getWidth() / 2)) + getRandomInt(-master.getRandom(), master.getRandom())); } else { if (master.dir == 'right') { master.setYaw((master.cycle ? 90 : 90 - master.getWidth()) + getRandomInt(-master.getRandom(), master.getRandom())); } } } master.setJitter((master.cycle ? master.getJitterValue() / 2 * 2 : -(master.getJitterValue() / 2) * 2) + getRandomInt(-master.getJitterRandom(), master.getJitterRandom())); } function invert() { if (!master.getInvert() || Entity.GetEntityFromUserID(Event.GetInt('userid')) != Entity.GetLocalPlayer()) { return; } master.setAAInvert(); } function main() { Global.RegisterCallback('CreateMove', 'jitter'); Global.RegisterCallback('player_hurt', 'invert'); Global.RegisterCallback('CreateMove', 'presets'); } main();
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz