<!DOCTYPE html>
<html lang="vi">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Menu Cheat iOS</title>
    
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }

        body {
            background: #222;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        .open-btn {
            padding: 10px 20px;
            background: linear-gradient(45deg, red, yellow, green, blue, purple);
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-size: 16px;
            transition: 0.3s;
            animation: blink 1.5s infinite alternate;
        }

        .menu {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 350px;
            background: white;
            border-radius: 15px;
            box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            text-align: center;
            animation: blink 1.5s infinite alternate;
        }

        @keyframes blink {
            0% { filter: brightness(1); }
            100% { filter: brightness(1.5); }
        }

        .marquee {
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            background: black;
            color: white;
            font-weight: bold;
            padding: 8px 0;
            animation: marquee 8s linear infinite;
        }

        @keyframes marquee {
            from { transform: translateX(100%); }
            to { transform: translateX(-100%); }
        }

        .menu-header {
            background: #007AFF;
            color: white;
            padding: 15px;
            font-size: 18px;
        }

        .menu-content {
            max-height: 300px;
            overflow-y: auto;
            padding: 15px;
        }

        .hack-btn {
            width: 100%;
            padding: 10px;
            margin: 5px 0;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            transition: 0.3s;
            background: linear-gradient(45deg, red, yellow, green, blue, purple);
            color: white;
            animation: blink 1.5s infinite alternate;
        }

        .hack-btn.active {
            background: #007AFF;
            color: white;
        }
    
</head>
<body>

    <div id="app">
        <button @click="toggleMenu" class="open-btn">☰ Mở Menu</button>

        <div class="menu" v-if="menuOpen">
            <div class="marquee">🚀 MENU BY : Tuấn - Anh : ZaLo : 036 - 3716 - 993 🚀</div>
            <div class="menu-header">
                Cheat Menu - {{ currentTime }}
            </div>

            <div class="menu-content">
                <button class="hack-btn" :class="{ active: hacks.aimbot }" @click="toggleHack('aimbot')">Aimbot</button>
                <button class="hack-btn" :class="{ active: hacks.danthang }" @click="toggleHack('danthang')">Đạn Thẳng</button>
                <button class="hack-btn" @click="fs1()">Tìm Speed</button>
                <button class="hack-btn" @click="fs2()">Bật Speed</button>
                <button class="hack-btn" @click="fs3()">Xóa Speed</button>
                <button class="hack-btn" :class="{ active: hacks.magic }" @click="toggleHack('magic')">Magic</button>
                <button class="hack-btn" :class="{ active: hacks.buffnhay }" @click="toggleHack('buffnhay')">Buff Nhạy</button>
                <button class="hack-btn" :class="{ active: hacks.aimscope }" @click="toggleHack('aimscope')">Aim Ngắm</button>
                <button class="hack-btn" @click="antennaHead()">Antenna Đầu</button>
                <button class="hack-btn" @click="antennaHand()">Antenna Tay</button>
            </div>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
    <script>
        new Vue({
            el: "#app",
            data: {
                menuOpen: false,
                currentTime: new Date().toLocaleTimeString(),
                hacks: {
                    aimbot: false,
                    danthang: false,
                    magic: false,
                    buffnhay: false,
                    aimscope: false
                }
            },
            mounted() {
                setInterval(() => {
                    this.currentTime = new Date().toLocaleTimeString();
                }, 1000);
            },
            methods: {
                toggleMenu() {
                    this.menuOpen = !this.menuOpen;
                },
                toggleHack(hackName) {
                    this.hacks[hackName] = !this.hacks[hackName];
                    this.runHack(hackName, this.hacks[hackName]);
                },
                runHack(hackName, status) {
                    if (status) {
                        if (hackName === "aimbot") {
                            h5gg.searchNumber('1057048494','I32','0x100000000', '0x160000000');
                            h5gg.editAll('-2000', 'I32');
                            h5gg.clearResults();
                        }
                        if (hackName === "danthang") {
                            function searchAndReplace(searchValue, replaceValue, type) {
                                h5gg.clearResults();
                                h5gg.searchNumber(searchValue, type, '0x100000000', '0x160000000');
                                h5gg.editAll(replaceValue, type);
                            }
                            searchAndReplace(1016018816, 180, 'I32');
                        }
                        if (hackName === "magic") {
                            h5gg.clearResults();
                            h5gg.searchNumber('4333543704410193920', 'I64', '0x100000000', '0x160000000');
                            h5gg.editAll('1.875', "F32");
                        }
                        if (hackName === "buffnhay") {
                            h5gg.clearResults();
                            var hk1 = prompt("Chọn DPI");
                            h5gg.searchNumber('4417130516484980736', 'I64', '0x100000000', '0x160000000');
                            h5gg.editAll(hk1, "F32");
                        }
                        if (hackName === "aimscope") {
                            h5gg.searchNumber('0.09', 'F32', '0x100000000', '0x160000000');
                            h5gg.editAll('180', "F32");
                        }
                    }
                }
            }
        });

        function fs1() { h5gg.clearResults(); h5gg.searchNumber('4397530849764387586', 'I64', '0x100000000', '0x200000000'); }
        function fs2() { h5gg.editAll('4366458311853765201', 'I64'); }
        function fs3() { h5gg.editAll('4397530849764387586', 'I64'); }
        function antennaHead() { h5gg.clearResults(); h5gg.searchNumber('so90', 'I64', '0x100000000', '0x200000000'); alert("Định vị đầu đã kích hoạt!"); }
        function antennaHand() { h5gg.clearResults(); h5gg.searchNumber('so91', 'I64', '0x100000000', '0x200000000'); alert("Định vị tay đã kích hoạt!"); }
    </script>

</body>
</html>
