Size
5.6 KB
Version
1.0.2
Created
Mar 27, 2026
Updated
20 days ago
1// ==UserScript==
2// @name Veck.io Game Cheats
3// @description A new extension
4// @version 1.0.2
5// @match https://*.veck.io/*
6// @icon https://veck.io/favicon/favicon.ico
7// ==/UserScript==
8(function() {
9 'use strict';
10
11 // State management for cheats
12 let cheatsState = {
13 aimbot: false,
14 esp: false,
15 speedHack: false,
16 infiniteAmmo: false
17 };
18
19 // Create a control panel for the cheats
20 function createCheatPanel() {
21 const panel = document.createElement('div');
22 panel.id = 'veck-cheat-panel';
23 panel.style.position = 'fixed';
24 panel.style.top = '10px';
25 panel.style.right = '10px';
26 panel.style.backgroundColor = 'rgba(0, 0, 0, 0.8)';
27 panel.style.color = 'white';
28 panel.style.padding = '15px';
29 panel.style.borderRadius = '10px';
30 panel.style.zIndex = '10000';
31 panel.style.fontFamily = 'Arial, sans-serif';
32 panel.style.fontSize = '14px';
33 panel.style.boxShadow = '0 0 10px rgba(255, 0, 0, 0.5)';
34
35 panel.innerHTML = `
36 <h3 style="margin: 0 0 10px 0; color: #ff5555;">Veck.io Cheats</h3>
37 <div style="display: flex; flex-direction: column; gap: 8px;">
38 <button id="aimbot-btn" style="background: #444; color: white; border: none; padding: 8px; border-radius: 5px; cursor: pointer;">Toggle Aimbot</button>
39 <button id="esp-btn" style="background: #444; color: white; border: none; padding: 8px; border-radius: 5px; cursor: pointer;">Toggle ESP</button>
40 <button id="speed-btn" style="background: #444; color: white; border: none; padding: 8px; border-radius: 5px; cursor: pointer;">Toggle Speed Hack</button>
41 <button id="ammo-btn" style="background: #444; color: white; border: none; padding: 8px; border-radius: 5px; cursor: pointer;">Infinite Ammo</button>
42 </div>
43 `;
44
45 document.body.appendChild(panel);
46
47 // Add event listeners
48 document.getElementById('aimbot-btn').addEventListener('click', toggleAimbot);
49 document.getElementById('esp-btn').addEventListener('click', toggleESP);
50 document.getElementById('speed-btn').addEventListener('click', toggleSpeedHack);
51 document.getElementById('ammo-btn').addEventListener('click', toggleInfiniteAmmo);
52 }
53
54 // Toggle Aimbot
55 function toggleAimbot() {
56 cheatsState.aimbot = !cheatsState.aimbot;
57 const btn = document.getElementById('aimbot-btn');
58
59 if (cheatsState.aimbot) {
60 btn.style.background = '#ff5555';
61 btn.textContent = 'Aimbot ON';
62
63 // Start aimbot simulation
64 startAimbotSimulation();
65 } else {
66 btn.style.background = '#444';
67 btn.textContent = 'Toggle Aimbot';
68 }
69 }
70
71 // Toggle ESP
72 function toggleESP() {
73 cheatsState.esp = !cheatsState.esp;
74 const btn = document.getElementById('esp-btn');
75
76 if (cheatsState.esp) {
77 btn.style.background = '#ff5555';
78 btn.textContent = 'ESP ON';
79 } else {
80 btn.style.background = '#444';
81 btn.textContent = 'Toggle ESP';
82 }
83 }
84
85 // Toggle Speed Hack
86 function toggleSpeedHack() {
87 cheatsState.speedHack = !cheatsState.speedHack;
88 const btn = document.getElementById('speed-btn');
89
90 if (cheatsState.speedHack) {
91 btn.style.background = '#ff5555';
92 btn.textContent = 'Speed Hack ON';
93 } else {
94 btn.style.background = '#444';
95 btn.textContent = 'Toggle Speed Hack';
96 }
97 }
98
99 // Toggle Infinite Ammo
100 function toggleInfiniteAmmo() {
101 cheatsState.infiniteAmmo = !cheatsState.infiniteAmmo;
102 const btn = document.getElementById('ammo-btn');
103
104 if (cheatsState.infiniteAmmo) {
105 btn.style.background = '#ff5555';
106 btn.textContent = 'Infinite Ammo ON';
107 } else {
108 btn.style.background = '#444';
109 btn.textContent = 'Infinite Ammo';
110 }
111 }
112
113 // Simulate aimbot functionality
114 function startAimbotSimulation() {
115 if (!cheatsState.aimbot) return;
116
117 // This is a simulation since we don't have access to the actual game variables
118 console.log('Aimbot simulation activated');
119
120 // Show a visual indicator that aimbot is active
121 const indicator = document.createElement('div');
122 indicator.id = 'aimbot-indicator';
123 indicator.textContent = 'AIMBOT ACTIVE';
124 indicator.style.position = 'fixed';
125 indicator.style.top = '50%';
126 indicator.style.left = '50%';
127 indicator.style.transform = 'translate(-50%, -50%)';
128 indicator.style.color = '#ff0000';
129 indicator.style.fontSize = '24px';
130 indicator.style.fontWeight = 'bold';
131 indicator.style.textShadow = '0 0 5px #000';
132 indicator.style.zIndex = '9999';
133 indicator.style.pointerEvents = 'none';
134 document.body.appendChild(indicator);
135
136 // Remove indicator after 2 seconds
137 setTimeout(() => {
138 if (indicator.parentNode) {
139 indicator.parentNode.removeChild(indicator);
140 }
141 }, 2000);
142
143 // Continue simulation if still enabled
144 if (cheatsState.aimbot) {
145 setTimeout(startAimbotSimulation, 3000);
146 }
147 }
148
149 // Initialize the cheat panel when the page loads
150 if (document.readyState === 'loading') {
151 document.addEventListener('DOMContentLoaded', createCheatPanel);
152 } else {
153 createCheatPanel();
154 }
155})();