[go: up one dir, main page]

0% found this document useful (0 votes)
5 views4 pages

Script

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views4 pages

Script

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

// Variables used by Scriptable.

// These must be at the very top of the file. Do not edit.


// icon-color: deep-brown; icon-glyph: magic;
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: orange; icon-glyph: magic;
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: deep-blue; icon-glyph: magic;
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: gray; icon-glyph: magic;
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: red; icon-glyph: cog;
function createLogin() {
let alert = new Alert();
alert.title = "ScriptServe"; // Alterei o título
alert.message = "Digite Seu Login:";
alert.addTextField("Senha");
alert.addAction("Login");
alert.addCancelAction("Cancelar");

alert.present().then((response) => {
let password = alert.textFieldValue(0);
if (password === "legit") { // Alterei a senha para "a"
let webView = new WebView();
webView.loadHTML(createMenu());
webView.present();
} else {
let errorAlert = new Alert();
errorAlert.title = "Erro";
errorAlert.message = "Senha incorreta!";
errorAlert.addAction("OK");
errorAlert.present();
}
});
}

function createMenu() {
return `
<!DOCTYPE html>
<html lang="pt">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0,
user-scalable=no">
<title>LEGIT </title>
<!-- Alterei o título -->
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: flex-start;
height: 100vh;
margin: 0;
background-color: #FFFFFF;
color: #0000ff;
overflow: hidden;
}
.container {
width: 300px;
padding: 20px;
background: linear-gradient(to bottom, #993399, #993399);
border-radius: 8px;
box-shadow: 0 4px 10px rgba(255, 97, 97 ,0.4);
margin-top: 140px;
position: fixed;
}
h2 {
text-align: center;
color: #FFFFFF ;
}
.mod-menu {
display: block;
margin-top: 20px;
}
.menu-item {
margin: 8px 0;
padding: 10px;
background-color: #800080;
border-radius: 4px;
cursor: pointer;
text-align: center;
color: #fff;
position: relative;
font-size: 16px;
}
.menu-item::before {
content: '►';
position: absolute;
left: 10px;
font-size: 14px;
transition: transform 0.2s;
}
.menu-item.open::before {
transform: rotate(90deg);
}
.sub-options {
display: none;
padding-left: 20px;
}
.checkbox-label {
font-size: 18px;
color: #ffffff;
}
.checkbox-label input {
width: 20px;
height: 20px;
vertical-align: middle;
margin-right: 10px;
accent-color: #0363ff;
}
.command-prompt {
margin-top: 20px;
padding: 10px;
background-color:#000000;
border: 1px solid #ffffff;
border-radius: 4px;
font-size: 14px;
max-height: 100px;
overflow-y: auto;
color: #fff;
}
</style>
</head>
<body>
<div class="container">
<div class="mod-menu" id="modMenu">
<h2>LEGIT ALMAZ</h2>
<div class="menu-item" onclick="toggleOptions(this, 'aimbot-
options')">Funções Principais</div>
<div class="sub-options" id="aimbot-options">
<label class="checkbox-label"><input type="checkbox"
onchange="updatePrompt(this, 'Aimbot')"> Aimbot</label><br>

<label class="checkbox-label"><input type="checkbox"


onchange="updatePrompt(this, 'Aim Sensitivity')"> Aimbot Sensitivity</label> <br>

<label class="checkbox-label"><input type="checkbox"


onchange="updatePrompt(this, 'Bypass')"> Bypass</label> <br>

<label class="checkbox-label"><input type="checkbox" onchange="updatePrompt(this,


'AimLock')"> AimLock </label> <!-- Adicionado o novo botão -->

<div class="menu-item" onclick="toggleOptions(this, 'aimbot-options')">Outras


Funções:</div>

<label class="checkbox-label"><input type="checkbox" onchange="updatePrompt(this,


'AntBan')">AntBan </label> <br>

<label class="checkbox-label"><input type="checkbox" onchange="updatePrompt(this,


'AntBlack')">AntBlack </label> <br>

<label class="checkbox-label"><input type="checkbox" onchange="updatePrompt(this,


'Auxilio Head')">Auxilio Head </label> <br>

</div>
<div class="command-prompt" id="commandPrompt"></div>
</div>
</div>
<script>
function toggleOptions(element, id) {
const options = document.getElementById(id);
const isOpen = options.style.display === 'block';
options.style.display = isOpen ? 'none' : 'block';
element.classList.toggle('open', !isOpen);
}
function updatePrompt(checkbox, modName) {
const prompt = document.getElementById('commandPrompt');
let message = modName + (checkbox.checked ? " Ativado" : "
Desativado");
const color = checkbox.checked ? 'lightgreen' : 'lightcoral';
prompt.innerHTML += '<span style="color: ' + color + ';">' +
message + '</span><br>';
prompt.scrollTop = prompt.scrollHeight;
}
</script>
</body>
</html>
`;
}

createLogin();

You might also like