Size
6.3 KB
Version
2.0
Created
Feb 27, 2026
Updated
23 days ago
1// ==UserScript==
2// @name Cryzen.io King
3// @namespace http://tampermonkey.net/
4// @version 2.0
5// @description Free ad-rewards, player ESP, anti recoil
6// @author You
7// @match https://cryzen.io/*
8// @icon https://www.google.com/s2/favicons?sz=64&domain=cryzen.io
9// @grant none
10// @run-at document-start
11// @license MIT
12// @downloadURL https://update.greasyfork.org/scripts/505150/Cryzenio%20King.user.js
13// @updateURL https://update.greasyfork.org/scripts/505150/Cryzenio%20King.meta.js
14// ==/UserScript==
15
16const { log, debug, warn, error } = console;
17
18const _assign = Object.assign;
19const _create = Object.create;
20const _defineProperty = Object.defineProperty;
21const _parse = JSON.parse;
22
23Object.create = function create() {
24 if (!arguments[0]) return {};
25 return _create.apply(this, arguments);
26};
27
28Object.defineProperty = function defineProperty() {
29 const ret = _defineProperty.apply(this, arguments);
30 if (arguments[1] === 'player') {
31 setTimeout(() => {
32 if (Object.getOwnPropertyNames(arguments[0]).includes('gameWorld')) window.hooked = ret;
33 }, 1000);
34 }
35 return ret;
36};
37
38Object.defineProperty(Object.prototype, 'player', {
39 get() {
40 return this.__player;
41 },
42 set(v) {
43 this.__player = v;
44 }
45});
46
47let cheatInterval;
48function cheatingIsFun() {
49 if (cheatInterval) {
50 clearInterval(cheatInterval);
51 cheatInterval = null;
52 return;
53 }
54
55 cheatInterval = setInterval(() => {
56 if (!window.hooked?.gameWorld) return;
57
58 // Player ESP
59 try {
60 for (const key in window.hooked.gameWorld.server.players) {
61 const plr = window.hooked.gameWorld.server.players[key];
62 if (!plr || !Array.isArray(plr?.model?.children)) continue;
63 const { isEnemy } = plr;
64 plr.model.children.forEach(parent => {
65 if (!Array.isArray(parent.children)) return;
66 parent.children.forEach(child => {
67 if (!child.material || child.type !== 'SkinnedMesh') return;
68 child.material.depthTest = (isEnemy) ? false : true;
69 child.material.transparent = (isEnemy) ? true : false;
70 });
71 });
72 }
73 } catch (e) { console.error(e); }
74
75 // CORRECT_POSITION removal
76 try {
77 let correctPos = Object.entries(window.hooked.gameWorld.server.msgsListeners).find(x => x[1].toString().includes('correct p'));
78 if (correctPos) {
79 delete window.hooked.gameWorld.server.msgsListeners[correctPos[0]];
80 window.hooked.gameWorld.server.addMsgListener(correctPos[0], () => { });
81 }
82 } catch { }
83
84 try {
85 //const physicsSystem = window.hooked.gameWorld.systemsManager.activeExecuteSystems.find(x => x.playerPhysicsSystem);
86 if (window?.hooked?.gameWorld?.player?.settings) {
87 Object.defineProperty(window.hooked.gameWorld.player.settings, 'aimAssist', {
88 get() { return true; },
89 set() { },
90 });
91 }
92 } catch { }
93
94 hookPokiSDK();
95 }, 100);
96}
97
98setTimeout(() => {
99 cheatingIsFun();
100}, 5000);
101
102/* No Spread */
103const _random = Math.random;
104_defineProperty(Math, 'random', {
105 set(value) {
106 _random = value;
107 },
108 get() {
109 try {
110 throw new Error();
111 } catch (error) {
112 const stack = error.stack;
113 if (stack.includes('shoot')) {
114 return _ => .5;
115 }
116 }
117 return _random;
118 }
119});
120
121/* Removed for desync issues lol
122function tp(x = 0, y = 0, z = 0, relative = true) {
123 try {
124 const physicsSystem = window.hooked.gameWorld.systemsManager.activeExecuteSystems.find(x => x.playerPhysicsSystem);
125 const localPos = window.hooked.gameWorld.threeScene.camera.position;
126 if (physicsSystem) {
127 if (relative) {
128 const A = new localPos.constructor(localPos.x + x, localPos.y + y, localPos.z + z);
129 } else {
130 const A = new localPos.constructor(x, y, z);
131 }
132 physicsSystem.playerPhysicsSystem.updatePlayerPosAndRot(A, false);
133 } else {
134 if (relative) {
135 window.hooked.gameWorld.player.position.set(x, y + window.hooked.gameWorld.player.physics.height / 2, z)
136 } else {
137 window.hooked.gameWorld.player.position.x += x;
138 window.hooked.gameWorld.player.position.y += y;
139 window.hooked.gameWorld.player.position.z += z;
140 }
141 }
142 } catch (e) {
143 console.error(e);
144 }
145}
146
147// Keystokes Stuff
148function allowBinds() {
149 if (!document) return false;
150 return (
151 document?.pointerLockElement &&
152 document?.activeElement?.tagName !== 'INPUT'
153 );
154}
155
156const pressedKeys = {
157 allowBackquote: true,
158 allowPeriod: true,
159 allowComma: true
160};
161
162function unlockKey(code) {
163 pressedKeys[`allow${code}`] = true;
164}
165
166window.addEventListener('keydown', (event) => {
167 pressedKeys[event.code] = true;
168});
169
170// Event listener for when a key is released
171window.addEventListener('keyup', (event) => {
172 pressedKeys[event.code] = false;
173});
174
175function keybindsLoop() {
176 if (allowBinds()) {
177 if (pressedKeys['Space']) {
178 if (window?.hooked?.gameWorld) {
179 tp(0, 2, 0);
180 }
181 }
182 }
183 requestAnimationFrame(keybindsLoop);
184}
185*/
186
187// Ad stuff
188function hookPokiSDK() {
189 if (!window?.PokiSDK) return console.warn('PokiSDK not defined');
190 if (window.PokiSDK.hooked) return;
191
192 try {
193 function resolveTrue() { return Promise.resolve(true); }
194 Object.defineProperties(window.PokiSDK, {
195 'rewardedBreak': {
196 get() {
197 return resolveTrue.bind(this);
198 },
199 set() { },
200 },
201 'commercialBreak': {
202 get() {
203 return resolveTrue.bind(this);
204 },
205 set() { },
206 },
207 'hooked': {
208 get() {
209 return true;
210 },
211 set() { },
212 },
213 });
214 } catch {
215 console.error('PokiSDK hook failed');
216 }
217};