0% found this document useful (0 votes)
4 views4 pages

Text File

The document is a Lua script for a Roblox game called Blox Fruits, featuring a user interface (UI) with various automated functions like Auto Farm, Auto Quest, Auto Boss, Auto Skill, ESP, Chest collection, and Noclip. It includes anti-AFK functionality and allows players to toggle these features on and off through buttons in the UI. The script also supports dragging the UI around the screen for user convenience.

Uploaded by

bomayyeuvietnam
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views4 pages

Text File

The document is a Lua script for a Roblox game called Blox Fruits, featuring a user interface (UI) with various automated functions like Auto Farm, Auto Quest, Auto Boss, Auto Skill, ESP, Chest collection, and Noclip. It includes anti-AFK functionality and allows players to toggle these features on and off through buttons in the UI. The script also supports dragging the UI around the screen for user convenience.

Uploaded by

bomayyeuvietnam
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

-- Blox Fruits GOD HUB v5 (FINAL)

-- by ChatGPT

local plr = [Link]


local char = [Link] or [Link]:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")

-- Anti AFK
game:GetService("Players").[Link]:Connect(function()
game:GetService("VirtualUser"):CaptureController()
game:GetService("VirtualUser"):ClickButton2([Link]())
end)

-- UI
local gui = [Link]("ScreenGui", [Link])
local open = [Link]("TextButton", gui)
[Link] = [Link](0,100,0,30)
[Link] = [Link](0,10,0.5,0)
[Link] = "GOD HUB"

local main = [Link]("Frame", gui)


[Link] = [Link](0,280,0,300)
[Link] = [Link](0.1,0,0.2,0)
main.BackgroundColor3 = [Link](10,10,10)
[Link] = false

open.MouseButton1Click:Connect(function()
[Link] = not [Link]
end)

local function btn(txt,y)


local b = [Link]("TextButton", main)
[Link] = [Link](0.9,0,0,30)
[Link] = [Link](0.05,0,0,y)
[Link] = txt
b.BackgroundColor3 = [Link](40,40,40)
b.TextColor3 = [Link](1,1,1)
return b
end

-- buttons
local farmBtn = btn("Auto Farm",20)
local questBtn = btn("Auto Quest",60)
local bossBtn = btn("Auto Boss",100)
local skillBtn = btn("Auto Skill",140)
local espBtn = btn("ESP",180)
local chestBtn = btn("Chest",220)
local noclipBtn = btn("Noclip",260)

-- trạng thái
local farm, quest, boss, skill, esp, chest, noclip =
false,false,false,false,false,false,false

farmBtn.MouseButton1Click:Connect(function() farm = not farm end)


questBtn.MouseButton1Click:Connect(function() quest = not quest end)
bossBtn.MouseButton1Click:Connect(function() boss = not boss end)
skillBtn.MouseButton1Click:Connect(function() skill = not skill end)
espBtn.MouseButton1Click:Connect(function() esp = not esp end)
chestBtn.MouseButton1Click:Connect(function() chest = not chest end)
noclipBtn.MouseButton1Click:Connect(function() noclip = not noclip end)

-- Auto Farm (gần nhất)


spawn(function()
while wait(0.7) do
if farm then
pcall(function()
local closest,dist=nil,[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 Quest (fake)


spawn(function()
while wait(3) do
if quest then
print("Đang nhận quest...")
end
end
end)

-- Auto Boss
spawn(function()
while wait(1) do
if boss then
for _,v in pairs([Link]:GetChildren()) do
if [Link]([Link],"Boss") then
[Link] = [Link] * [Link](0,5,5)
end
end
end
end
end)

-- Auto Skill + Fast Attack


spawn(function()
while wait(0.2) do
if skill then
pcall(function()

game:GetService("VirtualInputManager"):SendKeyEvent(true,"Z",false,game)

game:GetService("VirtualInputManager"):SendKeyEvent(true,"X",false,game)

game:GetService("VirtualInputManager"):SendKeyEvent(true,"C",false,game)
game:GetService("VirtualUser"):ClickButton1([Link]())
end)
end
end
end)

-- ESP
spawn(function()
while wait(2) do
if esp then
for _,v in pairs([Link]:GetChildren()) do
if v:FindFirstChild("Head") and not [Link]:FindFirstChild("ESP")
then
local bill = [Link]("BillboardGui", [Link])
[Link] = "ESP"
[Link] = [Link](0,100,0,40)
[Link] = true
local txt = [Link]("TextLabel", bill)
[Link] = [Link](1,0,1,0)
[Link] = [Link]
txt.TextColor3 = [Link](1,0,0)
[Link] = 1
end
end
end
end
end)

-- Chest
spawn(function()
while wait(2) do
if chest then
for _,v in pairs([Link]:GetDescendants()) do
if [Link]=="Chest" then
[Link] = [Link]
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)

-- 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 d=[Link]-start

[Link]=[Link]([Link],[Link]+d.X,[Link],[Link]+d.Y)
end
end)

You might also like