Skip to content

Kayn hub #14

Description

@icaroooohaoh

-- ====================================================================
-- SISTEMA ANTI-DETECÇÃO (BÁSICO)
-- ====================================================================
local xMetatable = getrawmetatable(game)
local xNamecall = xMetatable.__namecall
if setreadonly then setreadonly(xMetatable, false) else make_writeable(xMetatable) end

xMetatable.__namecall = newcclosure(function(Self, ...)
local Method = getnamecallmethod()
if Method == "FireServer" and checkcaller() then
return xNamecall(Self, ...)
end
return xNamecall(Self, ...)
end)
if setreadonly then setreadonly(xMetatable, true) else make_readonly(xMetatable) end

-- ====================================================================
-- CARREGAMENTO DA INTERFACE (RAYFIELD)
-- ====================================================================
local Rayfield = loadstring(game:HttpGet('https://sirius.menu'))()

local Window = Rayfield:CreateWindow({
Name = "Kayn Hub",
Icon = 0,
LoadingTitle = "Carregando Kayn Hub...",
LoadingSubtitle = "by AI Assistant",
ShowText = "Abrir Menu",
Theme = "Default",
ToggleUIKeybind = "K",
DisableRayfieldPrompts = false,
DisableBuildWarnings = false,
ConfigurationSaving = {
Enabled = true,
FolderName = "KaynHub_Config",
FileName = "config"
},
Discord = {
Enabled = false,
Invite = "noinvitelink",
RememberJoins = true
},
KeySystem = false
})

-- Abas do Menu
local TabRecompensas = Window:CreateTab("Auto Recompensas", 4483362458)
local TabPersonagem = Window:CreateTab("Config. Personagem", 4483362458) -- Nova Aba
local TabStatus = Window:CreateTab("Status / Info", 4483362458)

-- Variáveis de Controle
local AutoElo = false
local AutoSpin = false
local AutoMoedas = false
local AutoSkillPoints = false

-- Variáveis do Personagem / Hitbox
local TargetWalkSpeed = 16
local TargetJumpPower = 50
local HitboxEnabled = false
local HitboxSize = 15 -- Tamanho padrão inicial do aumento

-- Função auxiliar para checar e disparar Remotes com segurança
local function SafeFire(remoteName)
local Remotes = game:GetService("ReplicatedStorage"):FindFirstChild("Remotes")
if Remotes then
local Remote = Remotes:FindFirstChild(remoteName)
if Remote and Remote:IsA("RemoteEvent") then
Remote:FireServer()
end
end
end

-- ==================== ABA: AUTO RECOMPENSAS ====================

local ToggleElo = TabRecompensas:CreateToggle({
Name = "Auto Coletar Recompensa de Elo",
CurrentValue = false,
Flag = "ToggleEloRank",
Callback = function(Value)
AutoElo = Value
if AutoElo then
Rayfield:Notify({Title = "Segurança Ativada", Content = "Coletando Elo com intervalos humanos.", Duration = 3})
task.spawn(function()
while AutoElo do
pcall(function() SafeFire("ClaimEloReward") end)
task.wait(math.random(5, 9) + math.random())
end
end)
end
end,
})

local ToggleSpin = TabRecompensas:CreateToggle({
Name = "Auto Giro / Lucky Spins",
CurrentValue = false,
Flag = "ToggleLuckySpin",
Callback = function(Value)
AutoSpin = Value
if AutoSpin then
Rayfield:Notify({Title = "Segurança Ativada", Content = "Girando a roleta com intervalos humanos.", Duration = 3})
task.spawn(function()
while AutoSpin do
pcall(function() SafeFire("SpinWheel") end)
task.wait(math.random(3, 6) + math.random())
end
end)
end
end,
})

local ToggleMoedas = TabRecompensas:CreateToggle({
Name = "Auto Coletar Moedas (Tempo/Diário)",
CurrentValue = false,
Flag = "ToggleCoins",
Callback = function(Value)
AutoMoedas = Value
if AutoMoedas then
Rayfield:Notify({Title = "Segurança Ativada", Content = "Coletando bônus diários de forma segura.", Duration = 3})
task.spawn(function()
while AutoMoedas do
pcall(function()
SafeFire("ClaimDaily")
task.wait(math.random(1, 2))
SafeFire("ClaimTimeReward")
end)
task.wait(math.random(15, 25) + math.random())
end
end)
end
end,
})

local ToggleSkill = TabRecompensas:CreateToggle({
Name = "Auto Resgatar Pontos de Habilidade",
CurrentValue = false,
Flag = "ToggleSkillPoints",
Callback = function(Value)
AutoSkillPoints = Value
if AutoSkillPoints then
Rayfield:Notify({Title = "Segurança Ativada", Content = "Auto resgate de Skill Points iniciado.", Duration = 3})
task.spawn(function()
while AutoSkillPoints do
pcall(function() SafeFire("ClaimSkillPoints") end)
task.wait(math.random(6, 10) + math.random())
end
end)
end
end,
})

-- ==================== ABA: CONFIG. PERSONAGEM ====================

-- Slider para controlar o tamanho da hitbox da Bola
local SliderHitbox = TabPersonagem:CreateSlider({
Name = "Tamanho da Hitbox da Bola",
Min = 2,
Max = 30,
DefaultValue = 15,
Increment = 1,
ValueName = "Studs",
Callback = function(Value)
HitboxSize = Value
end,
})

-- Toggle para ativar/desativar a Hitbox expandida da bola
local ToggleHitbox = TabPersonagem:CreateToggle({
Name = "Ativar Expansor de Hitbox da Bola",
CurrentValue = false,
Flag = "BallHitboxExtender",
Callback = function(Value)
HitboxEnabled = Value
if HitboxEnabled then
Rayfield:Notify({Title = "Hitbox Ativada", Content = "Modificando propriedades físicas da bola.", Duration = 3})

     -- Loop em segundo plano buscando a bola no ambiente
     task.spawn(function()
        while HitboxEnabled do
           pcall(function()
              -- Varre o Workspace procurando objetos que contenham "Ball" ou "Volleyball" no nome
              for _, object in pairs(workspace:GetDescendants()) do
                 if object:IsA("BasePart") and (object.Name:find("Ball") or object.Name:find("Volleyball")) then
                    object.Size = Vector3.new(HitboxSize, HitboxSize, HitboxSize)
                    object.Transparency = 0.6 -- Torna visível para você ver o tamanho real alterado
                    object.CanCollide = false  -- Evita bugs de física e colisões violentas
                 end
              end
           end)
           task.wait(0.5) -- Atualiza a cada meio segundo caso uma nova bola surja
        end
     end)
  else
     -- Reseta as bolas encontradas para o tamanho padrão caso o toggle seja desligado
     pcall(function()
        for _, object in pairs(workspace:GetDescendants()) do
           if object:IsA("BasePart") and (object.Name:find("Ball") or object.Name:find("Volleyball")) then
              object.Size = Vector3.new(2, 2, 2) -- Tamanho normal aproximado
              object.Transparency = 0
           end
        end
     end)
  end

end,
})

TabPersonagem:CreateSection("Atributos Físicos")

-- Slider de Velocidade (WalkSpeed)
local SliderSpeed = TabPersonagem:CreateSlider({
Name = "Velocidade de Corrida (WalkSpeed)",
Min = 16,
Max = 100,
DefaultValue = 16,
Increment = 1,
ValueName = "Velocidade",
Callback = function(Value)
TargetWalkSpeed = Value
pcall(function()
local Player = game.Players.LocalPlayer
if Player.Character and Player.Character:FindFirstChildOfClass("Humanoid") then
Player.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = TargetWalkSpeed
end
end)
end,
})

-- Slider de Pulo (JumpPower)
local SliderJump = TabPersonagem:CreateSlider({
Name = "Força do Pulo (JumpPower)",
Min = 50,
Max = 150,
DefaultValue = 50,
Increment = 1,
ValueName = "Força",
Callback = function(Value)
TargetJumpPower = Value
pcall(function()
local Player = game.Players.LocalPlayer
if Player.Character and Player.Character:FindFirstChildOfClass("Humanoid") then
local Humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
Humanoid.JumpPower = TargetJumpPower
Humanoid.UseJumpPower = true -- Garante que o jogo use a propriedade JumpPower
end
end)
end,
})

-- Loop persistente para manter a velocidade e pulo mesmo após morrer/renascer
task.spawn(function()
while true do
pcall(function()
local Player = game.Players.LocalPlayer
if Player.Character and Player.Character:FindFirstChildOfClass("Humanoid") then
local Humanoid = Player.Character:FindFirstChildOfClass("Humanoid")
if Humanoid.WalkSpeed ~= TargetWalkSpeed then
Humanoid.WalkSpeed = TargetWalkSpeed
end
if Humanoid.JumpPower ~= TargetJumpPower then
Humanoid.JumpPower = TargetJumpPower
Humanoid.UseJumpPower = true
end
end
end)
task.wait(1)
end
end)

-- ==================== ABA: STATUS / INFO ====================

local LabelInfo = TabStatus:CreateLabel("Kayn Hub carregado com sucesso!")
local LabelProtecao = TabStatus:CreateLabel("Proteção de Metatable: ATIVADA")
local LabelAviso = TabStatus:CreateLabel("Intervalos humanos ativos para evitar bans.")

local BotaoDestruir = TabStatus:CreateButton({
Name = "Fechar e Destruir Menu",
Callback = function()
Rayfield:Destroy()
end,
})

Rayfield:LoadConfiguration()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions