local Mercury = loadstring(game:HttpGet("https://[Log in to view URL]"))()

local GUI = Mercury:Create{
    Name = "Kyirht Hub",
    Size = UDim2.fromOffset(600, 400),
    Theme = Mercury.Themes.Dark,
    Link = "https://[Log in to view URL]"
}

local MainTab = GUI:Tab{
    Name = "Main",
    Icon = "rbxassetid://8569322835" -- Replace with the desired icon ID
}

local KeybindTab = GUI:Tab{
    Name = "Keybinds",
    Icon = "rbxassetid://8569322835" -- Replace with the desired icon ID
}

local UserInputService = game:GetService("UserInputService")

local keybindKeyAutoHaki = Enum.KeyCode.P -- Tecla padrão para o "Auto Haki"

KeybindTab:Textbox{
    Name = "Keybind (Auto Haki)",
    Text = keybindKeyAutoHaki.Name, -- Convert KeyCode to its name
    Callback = function(text)
        local key = Enum.KeyCode[text]
        if key then
            keybindKeyAutoHaki = key
            text = key.Name
        else
            text = "Selecione uma tecla válida!"
        end
        return text
    end
}

local function pressKey(key)
    local VirtualInputManager = game:GetService('VirtualInputManager')
    VirtualInputManager:SendKeyEvent(true, key, false, game)
    wait()
    VirtualInputManager:SendKeyEvent(false, key, false, game)
end

MainTab:Toggle{
    Name = "Auto Weapon",
    StartingState = false,
    Description = nil,
    Callback = function(state)
        _G.AutoWeapon = state
        if _G.AutoWeapon then
            while _G.AutoWeapon do
                local VirtualInputManager = game:GetService('VirtualInputManager')
                local character = game.Players.LocalPlayer.Character
                local humanoid = character and character:FindFirstChild("Humanoid")

                if game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Died then
                    wait(2)
                    if humanoid and humanoid.Health <= 0 then
                        wait(7)
                        VirtualInputManager:SendKeyEvent(true, "Four", false, game)
                        wait()
                        VirtualInputManager:SendKeyEvent(false, "Four", false, game)
                    end
                end
            end
        end
    end
}

MainTab:Toggle{
    Name = "Auto Haki",
    StartingState = false,
    Description = "The default selected key for this is 'P'. To select a different key go to the 'Keybind' tab.",
    Callback = function(state)
        _G.AutoHaki = state
        if _G.AutoHaki then
            while _G.AutoHaki do
                local VirtualInputManager = game:GetService('VirtualInputManager')
                local character = game.Players.LocalPlayer.Character
                local humanoid = character and character:FindFirstChild("Humanoid")

                if game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Died then
                    wait(2)
                    if humanoid and humanoid.Health <= 0 then
                        wait(7)
                        VirtualInputManager:SendKeyEvent(true, keybindKeyAutoHaki, false, game)
                        wait()
                        VirtualInputManager:SendKeyEvent(false, keybindKeyAutoHaki, false, game)
                    end
                end
            end
        end
    end
}

MainTab:Toggle{
    Name = "Auto Strenght",
    StartingState = false,
    Description = nil,
    Callback = function(state)
        _G.AutoStrenght = state
        if _G.AutoStrenght then
            while _G.AutoStrenght do
              wait(0.5)
              local args = {
                  [1] = "TrainStat",
                  [2] = "Strength"
              }
              
              game:GetService("ReplicatedStorage").Events:FindFirstChild("Stats/RemoteFunction"):InvokeServer(unpack(args))
            end
        end
    end
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: