pcall(function()
if game:GetService("CoreGui").RobloxGui:FindFirstChild("CoreScripts/NetworkPause") then
game:GetService("CoreGui").RobloxGui["CoreScripts/NetworkPause"]:Destroy()
end
end)
-- Limpiar versiones anteriores
if game.CoreGui:FindFirstChild("KaytoHub_Menu") then
game.CoreGui.KaytoHub_Menu:Destroy()
end
local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local UICorner = Instance.new("UICorner")
local UIStroke = Instance.new("UIStroke")
local Title = Instance.new("TextLabel")
local TPButton = Instance.new("TextButton")
local ButtonCorner = Instance.new("UICorner")
local AutoTPButton = Instance.new("TextButton")
local AutoTPCorner = Instance.new("UICorner")
local AntiAFKButton = Instance.new("TextButton")
local AFKCorner = Instance.new("UICorner")
local StatsLabel = Instance.new("TextLabel")
-- Variables
local startTime = tick()
local RunService = game:GetService("RunService")
local antiAFKEnabled = false
local autoTPEnabled = false
local autoTPConnection = nil
-- Configuración del GUI
ScreenGui.Name = "KaytoHub_Menu"
ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
-- Frame Principal (Preto e Roxo Neon)
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
MainFrame.Position = UDim2.new(0.5, -110, 0.35, -90)
MainFrame.Size = UDim2.new(0, 220, 0, 230)
MainFrame.Active = true
MainFrame.Draggable = true
UICorner.CornerRadius = UDim.new(0, 12)
UICorner.Parent = MainFrame
-- Borda Roxa
UIStroke.Parent = MainFrame
UIStroke.Color = Color3.fromRGB(128, 0, 255)
UIStroke.Thickness = 2
UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
-- Título (Kayto Hub)
Title.Name = "Title"
Title.Parent = MainFrame
Title.BackgroundTransparency = 1
Title.Size = UDim2.new(1, 0, 0, 40)
Title.Font = Enum.Font.GothamBold
Title.Text = "Kayto Hub 💜"
Title.TextColor3 = Color3.fromRGB(128, 0, 255)
Title.TextSize = 18
-- Botón Teleport Win (Manual)
TPButton.Name = "TPButton"
TPButton.Parent = MainFrame
TPButton.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
TPButton.Position = UDim2.new(0.1, 0, 0.22, 0)
TPButton.Size = UDim2.new(0.8, 0, 0.18, 0)
TPButton.Font = Enum.Font.GothamMedium
TPButton.Text = "Teleport Win 🏆"
TPButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TPButton.TextSize = 14
ButtonCorner.Parent = TPButton
-- Botón Auto Teleport Win
AutoTPButton.Name = "AutoTPButton"
AutoTPButton.Parent = MainFrame
AutoTPButton.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
AutoTPButton.Position = UDim2.new(0.1, 0, 0.43, 0)
AutoTPButton.Size = UDim2.new(0.8, 0, 0.18, 0)
AutoTPButton.Font = Enum.Font.GothamMedium
AutoTPButton.Text = "Auto Teleport Win: OFF"
AutoTPButton.TextColor3 = Color3.fromRGB(255, 80, 80)
AutoTPButton.TextSize = 13
AutoTPCorner.Parent = AutoTPButton
-- Botón Anti-AFK
AntiAFKButton.Name = "AntiAFK"
AntiAFKButton.Parent = MainFrame
AntiAFKButton.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
AntiAFKButton.Position = UDim2.new(0.1, 0, 0.64, 0)
AntiAFKButton.Size = UDim2.new(0.8, 0, 0.18, 0)
AntiAFKButton.Font = Enum.Font.GothamMedium
AntiAFKButton.Text = "Anti-AFK: OFF"
AntiAFKButton.TextColor3 = Color3.fromRGB(255, 80, 80)
AntiAFKButton.TextSize = 14
AFKCorner.Parent = AntiAFKButton
-- Stats (Tiempo + FPS Redondeados)
StatsLabel.Name = "Stats"
StatsLabel.Parent = MainFrame
StatsLabel.BackgroundTransparency = 1
StatsLabel.Position = UDim2.new(0, 0, 0.85, 0)
StatsLabel.Size = UDim2.new(1, 0, 0, 30)
StatsLabel.Font = Enum.Font.Code
StatsLabel.Text = "Time: 0s | FPS: 0"
StatsLabel.TextColor3 = Color3.fromRGB(128, 0, 255)
StatsLabel.TextSize = 12
-- Coordenadas da vitória
local winCoordinates = CFrame.new(-209.87, -2399.97, -37992.24)
-- Função de teleporte
local function teleportToWin()
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local rootPart = character:WaitForChild("HumanoidRootPart")
rootPart.CFrame = winCoordinates
-- Feedback visual
game.StarterGui:SetCore("SendNotification", {
Title = "Kayto Hub",
Text = "Teleportado para a VITÓRIA! 🏆",
Duration = 1
})
end
-- Função para iniciar Auto Teleporte
local function startAutoTeleport()
if autoTPConnection then
autoTPConnection:Disconnect()
autoTPConnection = nil
end
autoTPConnection = RunService.RenderStepped:Connect(function()
if autoTPEnabled then
teleportToWin()
wait(0.5) -- Pequeno delay entre teleportes para não sobrecarregar
end
end)
end
-- Função para parar Auto Teleporte
local function stopAutoTeleport()
if autoTPConnection then
autoTPConnection:Disconnect()
autoTPConnection = nil
end
end
-- Lógica Teleport Win (Manual)
TPButton.MouseButton1Click:Connect(function()
teleportToWin()
end)
-- Lógica Auto Teleport Win
AutoTPButton.MouseButton1Click:Connect(function()
autoTPEnabled = not autoTPEnabled
if autoTPEnabled then
AutoTPButton.Text = "Auto Teleport Win: ON ✅"
AutoTPButton.BackgroundColor3 = Color3.fromRGB(128, 0, 255)
AutoTPButton.TextColor3 = Color3.fromRGB(255, 255, 255)
startAutoTeleport()
game.StarterGui:SetCore("SendNotification", {
Title = "Kayto Hub",
Text = "Auto Teleporte ATIVADO! Teleportando automaticamente...",
Duration = 2
})
else
AutoTPButton.Text = "Auto Teleport Win: OFF"
AutoTPButton.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
AutoTPButton.TextColor3 = Color3.fromRGB(255, 80, 80)
stopAutoTeleport()
game.StarterGui:SetCore("SendNotification", {
Title = "Kayto Hub",
Text = "Auto Teleporte DESATIVADO!",
Duration = 2
})
end
end)
-- Lógica Anti-AFK
AntiAFKButton.MouseButton1Click:Connect(function()
antiAFKEnabled = not antiAFKEnabled
if antiAFKEnabled then
AntiAFKButton.Text = "Anti-AFK: ON ✅"
AntiAFKButton.TextColor3 = Color3.fromRGB(128, 0, 255)
else
AntiAFKButton.Text = "Anti-AFK: OFF"
AntiAFKButton.TextColor3 = Color3.fromRGB(255, 80, 80)
end
end)
-- Conexión de Anti-AFK
game:GetService("Players").LocalPlayer.Idled:Connect(function()
if antiAFKEnabled then
game:GetService("VirtualUser"):CaptureController()
game:GetService("VirtualUser"):ClickButton2(Vector2.new())
end
end)
-- Loop de Stats con Redondeo de FPS (10 en 10)
RunService.RenderStepped:Connect(function(deltaTime)
local rawFps = 1 / deltaTime
local roundedFps = math.floor((rawFps / 10) + 0.5) * 10
local elapsedTime = math.floor(tick() - startTime)
StatsLabel.Text = "Time: "..elapsedTime.."s | FPS: "..roundedFps
end)
-- Limpeza ao sair
game.Players.LocalPlayer.OnTeleport:Connect(function()
stopAutoTeleport()
end)
Comments
get fun :)