Greasy Fork镜像 支持简体中文。

Cryzen.io Mod Menu

Adds a simple mod menu to Cryzen.io for cheats and enhancements.

  1. // ==UserScript==
  2. // @name Cryzen.io Mod Menu
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Adds a simple mod menu to Cryzen.io for cheats and enhancements.
  6. // @author Me : )
  7. // @match https://cryzen.io/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. // Create a new div element for the mod menu
  15. const modMenu = document.createElement('div');
  16. modMenu.style.position = 'fixed';
  17. modMenu.style.top = '10px';
  18. modMenu.style.left = '10px';
  19. modMenu.style.padding = '10px';
  20. modMenu.style.backgroundColor = 'rgba(0, 0, 0, 0.8)';
  21. modMenu.style.color = 'white';
  22. modMenu.style.zIndex = '10000';
  23. modMenu.style.fontFamily = 'Arial, sans-serif';
  24. modMenu.style.borderRadius = '5px';
  25.  
  26. // Add title to the mod menu
  27. const title = document.createElement('h2');
  28. title.innerText = 'Cryzen.io Mod Menu';
  29. title.style.marginTop = '0';
  30. modMenu.appendChild(title);
  31.  
  32. // Function to create a button
  33. function createButton(text, onClick) {
  34. const button = document.createElement('button');
  35. button.innerText = text;
  36. button.style.margin = '5px';
  37. button.style.padding = '5px 10px';
  38. button.style.border = 'none';
  39. button.style.borderRadius = '3px';
  40. button.style.cursor = 'pointer';
  41. button.style.backgroundColor = '#444';
  42. button.style.color = 'white';
  43. button.addEventListener('click', onClick);
  44. modMenu.appendChild(button);
  45. }
  46.  
  47. // Function to add score
  48. function addScore(amount) {
  49. if (window.Cryzen && window.Cryzen.player) {
  50. window.Cryzen.player.score += amount;
  51. console.log(`Added ${amount} to score.`);
  52. } else {
  53. console.log('Cryzen.io player object not found.');
  54. }
  55. }
  56.  
  57. // Function to increase speed
  58. function increaseSpeed(amount) {
  59. if (window.Cryzen && window.Cryzen.player) {
  60. window.Cryzen.player.speed += amount;
  61. console.log(`Increased speed by ${amount}.`);
  62. } else {
  63. console.log('Cryzen.io player object not found.');
  64. }
  65. }
  66.  
  67. // Add buttons to the mod menu
  68. createButton('Add 1000 Score', () => addScore(1000));
  69. createButton('Add 5000 Score', () => addScore(5000));
  70. createButton('Increase Speed by 10', () => increaseSpeed(10));
  71. createButton('Increase Speed by 20', () => increaseSpeed(20));
  72.  
  73. // Add the mod menu to the document body
  74. document.body.appendChild(modMenu);
  75. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址