Version / Update: v1.0.0
- Download / Script Link
- -- Hyzen hub - VersĂŁo Final (Draggable Open Button + Low Float)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera
-- Configurações de Estado
local SelectedPlayer = nil
local ActiveFloat = false
local Viewing = false
local AntiKickEnabled = false
local FollowDistance = 5
-- Cores do Tema
local Theme = {
Background = Color3.fromRGB(15, 15, 20),
Accent = Color3.fromRGB(0, 210, 255),
Text = Color3.fromRGB(255, 255, 255),
BtnNormal = Color3.fromRGB(30, 30, 35),
BtnSelected = Color3.fromRGB(0, 210, 100),
Stop = Color3.fromRGB(255, 50, 50),
}
-- Interface Principal
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "HyzenHub_GUI"
ScreenGui.Parent = game.CoreGui
ScreenGui.ResetOnSpawn = false
-- Botão OPEN (Agora Arrastável)
local OpenBtn = Instance.new("TextButton")
OpenBtn.Name = "OpenBtn"
OpenBtn.Parent = ScreenGui
OpenBtn.BackgroundColor3 = Theme.Background
OpenBtn.Position = UDim2.new(0.5, 105, 0.5, -175)
OpenBtn.Size = UDim2.new(0, 60, 0, 35)
OpenBtn.Text = "OPEN"
OpenBtn.TextColor3 = Theme.Accent
OpenBtn.Font = Enum.Font.GothamBold
OpenBtn.TextSize = 13
OpenBtn.Visible = false
OpenBtn.Active = true
OpenBtn.Draggable = true -- BotĂŁo Open agora pode ser movido
Instance.new("UICorner", OpenBtn).CornerRadius = UDim.new(0, 8)
Instance.new("UIStroke", OpenBtn).Color = Theme.Accent
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Theme.Background
MainFrame.Position = UDim2.new(0.5, -125, 0.5, -180)
MainFrame.Size = UDim2.new(0, 250, 0, 420)
MainFrame.Active = true
MainFrame.Draggable = true -- Hub arrastável
Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 15)
-- TĂtulo
local Title = Instance.new("TextLabel")
Title.Parent = MainFrame
Title.Size = UDim2.new(1, 0, 0, 50)
Title.Font = Enum.Font.GothamBold
Title.Text = "Hyzen hub"
Title.TextColor3 = Theme.Accent
Title.TextSize = 20
Title.BackgroundTransparency = 1
-- BotĂŁo FECHAR (X)
local CloseBtn = Instance.new("TextButton")
CloseBtn.Parent = MainFrame
CloseBtn.BackgroundColor3 = Theme.Stop
CloseBtn.Position = UDim2.new(0.85, 0, 0.03, 0)
CloseBtn.Size = UDim2.new(0, 25, 0, 25)
CloseBtn.Text = "X"
CloseBtn.TextColor3 = Theme.Text
CloseBtn.Font = Enum.Font.GothamBold
Instance.new("UICorner", CloseBtn).CornerRadius = UDim.new(1, 0)
CloseBtn.MouseButton1Click:Connect(function()
MainFrame.Visible = false
OpenBtn.Visible = true
end)
OpenBtn.MouseButton1Click:Connect(function()
MainFrame.Visible = true
OpenBtn.Visible = false
end)
-- Lista de Players
local ScrollingFrame = Instance.new("ScrollingFrame")
ScrollingFrame.Parent = MainFrame
ScrollingFrame.BackgroundTransparency = 1
ScrollingFrame.Position = UDim2.new(0.05, 0, 0.12, 0)
ScrollingFrame.Size = UDim2.new(0.9, 0, 0.35, 0)
ScrollingFrame.ScrollBarThickness = 2
ScrollingFrame.ScrollBarImageColor3 = Theme.Accent
local UIListLayout = Instance.new("UIListLayout")
UIListLayout.Parent = ScrollingFrame
UIListLayout.Padding = UDim.new(0, 5)
local function UpdatePlayerList()
for _, child in pairs(ScrollingFrame:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer then
local pBtn = Instance.new("TextButton")
pBtn.Size = UDim2.new(0.95, 0, 0, 28)
pBtn.BackgroundColor3 = (SelectedPlayer == player) and Theme.BtnSelected or Theme.BtnNormal
pBtn.Text = player.DisplayName
pBtn.TextColor3 = Theme.Text
pBtn.Font = Enum.Font.Gotham
pBtn.Parent = ScrollingFrame
Instance.new("UICorner", pBtn).CornerRadius = UDim.new(0, 5)
pBtn.MouseButton1Click:Connect(function() SelectedPlayer = player UpdatePlayerList() end)
end
end
end
UpdatePlayerList()
Players.PlayerAdded:Connect(UpdatePlayerList)
Players.PlayerRemoving:Connect(UpdatePlayerList)
-- Botões de Ação
local function CreateActionBtn(text, pos)
local btn = Instance.new("TextButton")
btn.Parent = MainFrame
btn.BackgroundColor3 = Theme.BtnNormal
btn.Position = pos
btn.Size = UDim2.new(0.85, 0, 0, 35)
btn.Font = Enum.Font.GothamSemibold
btn.Text = text
btn.TextColor3 = Theme.Text
btn.TextSize = 13
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8)
return btn
end
local FloatBtn = CreateActionBtn("AI Float: OFF", UDim2.new(0.075, 0, 0.50, 0))
local DistanceBtn = CreateActionBtn("Distance: Near", UDim2.new(0.075, 0, 0.60, 0))
local ViewBtn = CreateActionBtn("View Player", UDim2.new(0.075, 0, 0.70, 0))
local AntiKickBtn = CreateActionBtn("Anti-Kick: OFF", UDim2.new(0.075, 0, 0.80, 0))
DistanceBtn.MouseButton1Click:Connect(function()
if FollowDistance == 5 then
FollowDistance = 15
DistanceBtn.Text = "Distance: Medium"
elseif FollowDistance == 15 then
FollowDistance = 30
DistanceBtn.Text = "Distance: Far"
else
FollowDistance = 5
DistanceBtn.Text = "Distance: Near"
end
end)
FloatBtn.MouseButton1Click:Connect(function()
if not SelectedPlayer then return end
ActiveFloat = not ActiveFloat
FloatBtn.Text = ActiveFloat and "AI Float: ON" or "AI Float: OFF"
FloatBtn.BackgroundColor3 = ActiveFloat and Theme.BtnSelected or Theme.BtnNormal
end)
ViewBtn.MouseButton1Click:Connect(function()
if not SelectedPlayer then return end
Viewing = not Viewing
Camera.CameraSubject = Viewing and SelectedPlayer.Character.Humanoid or LocalPlayer.Character.Humanoid
ViewBtn.Text = Viewing and "Stop Viewing" or "View Player"
ViewBtn.BackgroundColor3 = Viewing and Theme.Stop or Theme.BtnNormal
end)
AntiKickBtn.MouseButton1Click:Connect(function()
AntiKickEnabled = not AntiKickEnabled
AntiKickBtn.Text = AntiKickEnabled and "Anti-Kick: ON" or "Anti-Kick: OFF"
AntiKickBtn.BackgroundColor3 = AntiKickEnabled and Theme.BtnSelected or Theme.Stop
task.wait(0.1)
print(AntiKickEnabled and "Anti kick is Activated" or "Anti-kick is disabled")
end)
-- Loop de Movimentação (Low Float)
RunService.Heartbeat:Connect(function()
local char = LocalPlayer.Character
local hrp = char and char:FindFirstChild("HumanoidRootPart")
local hum = char and char:FindFirstChild("Humanoid")
if ActiveFloat and SelectedPlayer and SelectedPlayer.Character and hrp and hum then
local targetHrp = SelectedPlayer.Character:FindFirstChild("HumanoidRootPart")
local targetHum = SelectedPlayer.Character:FindFirstChild("Humanoid")
if targetHum and targetHum.Health > 0 and targetHrp then
hum.Sit = false
local offset = targetHrp.CFrame.LookVector * -FollowDistance
local targetPos = targetHrp.Position + offset + Vector3.new(0, 0.2, 0)
hrp.CFrame = hrp.CFrame:Lerp(CFrame.new(targetPos, targetHrp.Position), 0.1)
hrp.Velocity = Vector3.new(0,0,0)
else
hrp.Velocity = Vector3.new(0,0,0)
end
end
end)
-- Metatable Anti-Kick
local mt = getrawmetatable(game)
local old = mt.__namecall
setreadonly(mt, false)
mt.__namecall = newcclosure(function(self, ...)
if AntiKickEnabled and getnamecallmethod() == "Kick" then return nil end
return old(self, ...)
end)
setreadonly(mt, true)[ View More ]
The Hub Brings anti-kick view and floats the player, which is 100% functional.