Bonk.io RainbowStyle

Adds a shared rainbow effect to the name, level, and the word 'level' in Bonk.io, visible to other users with this script.

Από την 16/12/2024. Δείτε την τελευταία έκδοση.

// ==UserScript==
// @name        Bonk.io RainbowStyle
// @namespace   http://tampermonkey.net/
// @version     12.7.6
// @match       *://bonk.io/*
// @grant       GM_addStyle
// @description Adds a shared rainbow effect to the name, level, and the word 'level' in Bonk.io, visible to other users with this script.
// ==/UserScript==

// Example: Adding a rainbow effect to the player's name and level
GM_addStyle(`
  #player-name, #player-level, .level-text {
    color: #ff0000;
    animation: rainbow 3s infinite;
  }

  @keyframes rainbow {
    0% { color: red; }
    14% { color: orange; }
    28% { color: yellow; }
    42% { color: green; }
    57% { color: blue; }
    71% { color: indigo; }
    85% { color: violet; }
    100% { color: red; }
  }
`);