-- Blox Fruits Ultra Lite Hub v4
-- by ChatGPT
local plr = [Link]
local char = [Link] or [Link]:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
local hum = char:WaitForChild("Humanoid")
-- UI toggle (ẩn/hiện)
local gui = [Link]("ScreenGui", [Link])
local openBtn = [Link]("TextButton", gui)
[Link] = [Link](0,100,0,30)
[Link] = [Link](0,10,0.5,0)
[Link] = "OPEN HUB"
local frame = [Link]("Frame", gui)
[Link] = [Link](0,260,0,260)
[Link] = [Link](0.1,0,0.25,0)
frame.BackgroundColor3 = [Link](15,15,15)
[Link] = false
openBtn.MouseButton1Click:Connect(function()
[Link] = not [Link]
end)
local function btn(txt,y)
local b = [Link]("TextButton", frame)
[Link] = [Link](0.9,0,0,30)
[Link] = [Link](0.05,0,0,y)
[Link] = txt
b.BackgroundColor3 = [Link](45,45,45)
b.TextColor3 = [Link](1,1,1)
return b
end
local autoLvBtn = btn("Auto Level",20)
local chestBtn = btn("Auto Chest",60)
local noclipBtn = btn("Noclip",100)
local tpSeaBtn = btn("Teleport Sea",140)
local fastAtkBtn = btn("Fast Attack",180)
-- trạng thái
local autoLv = false
local chest = false
local noclip = false
local fast = false
-- toggle
autoLvBtn.MouseButton1Click:Connect(function() autoLv = not autoLv end)
chestBtn.MouseButton1Click:Connect(function() chest = not chest end)
noclipBtn.MouseButton1Click:Connect(function() noclip = not noclip end)
fastAtkBtn.MouseButton1Click:Connect(function() fast = not fast end)
-- Auto Level (farm enemy gần nhất)
spawn(function()
while wait(1) do
if autoLv then
pcall(function()
local closest = nil
local dist = [Link]
for _,v in pairs([Link]:GetChildren()) do
if v:FindFirstChild("HumanoidRootPart") then
local d = ([Link] -
[Link]).Magnitude
if d < dist then
dist = d
closest = v
end
end
end
if closest then
[Link] = [Link] *
[Link](0,0,3)
end
end)
end
end
end)
-- Auto Chest
spawn(function()
while wait(2) do
if chest then
for _,v in pairs([Link]:GetDescendants()) do
if [Link] == "Chest" then
[Link] = [Link]
wait(0.3)
end
end
end
end
end)
-- Noclip
spawn(function()
while wait(0.2) do
if noclip then
for _,v in pairs(char:GetDescendants()) do
if v:IsA("BasePart") then
[Link] = false
end
end
end
end
end)
-- Fast Attack
spawn(function()
while wait(0.1) do
if fast then
pcall(function()
game:GetService("VirtualUser"):ClickButton1([Link]())
end)
end
end
end)
-- Teleport Sea (demo)
tpSeaBtn.MouseButton1Click:Connect(function()
[Link] = [Link](1000, 100, 1000)
end)
-- kéo UI
local UIS = game:GetService("UserInputService")
local drag, start, pos
[Link]:Connect(function(i)
if [Link] == [Link].MouseButton1 then
drag = true
start = [Link]
pos = [Link]
end
end)
[Link]:Connect(function(i)
if [Link] == [Link].MouseButton1 then
drag = false
end
end)
[Link]:Connect(function(i)
if drag and [Link] == [Link] then
local delta = [Link] - start
[Link] = [Link]([Link], [Link] + delta.X,
[Link], [Link] + delta.Y)
end
end)