-- // Ultimate Power Hub | Blox Fruits | FREE | NO KEY
-- // Optimized: <9k chars | Fits 30k limit | Protected
local p=game:GetService("Players")
local lp=p.LocalPlayer
local ws=game:GetService("Workspace")
local rs=game:GetService("ReplicatedStorage")
local run=game:GetService("RunService")
local uis=game:GetService("UserInputService")
-- GUI
local sg=Instance.new("ScreenGui")
sg.Name="UPh"
sg.Parent=lp:WaitForChild("PlayerGui")
sg.ZIndexBehavior=Enum.ZIndexBehavior.Sibling
sg.ResetOnSpawn=false
local f=Instance.new("Frame")
f.Size=UDim2.new(0,300,0,420)
f.Position=UDim2.new(0.02,0,0.1,0)
f.BackgroundColor3=Color3.fromRGB(20,20,20)
f.BorderSizePixel=2
f.BorderColor3=Color3.fromRGB(255,170,0)
f.Active=true
f.Draggable=true
f.Parent=sg
local t=Instance.new("TextLabel")
t.Size=UDim2.new(1,0,0,40)
t.BackgroundColor3=Color3.fromRGB(35,35,35)
t.Text=string.char(85,76,84,73,77,65,84,69,32,80,79,87,69,82,32,72,85,66)
t.TextColor3=Color3.fromRGB(255,170,0)
t.Font=Enum.Font.GothamBold
t.TextSize=17
t.Parent=f
-- Toggle
local function btn(n,y,cb)
local b=Instance.new("TextButton")
b.Size=UDim2.new(0.9,0,0,35)
b.Position=UDim2.new(0.05,0,0.1+(y*0.085),0)
b.BackgroundColor3=Color3.fromRGB(50,50,50)
b.Text=n..": OFF"
b.TextColor3=Color3.new(1,1,1)
b.Font=Enum.Font.Gotham
b.TextSize=14
b.Parent=f
local e=false
b.MouseButton1Click:Connect(function()
e=not e
b.Text=n..": "..(e and "ON" or "OFF")
b.BackgroundColor3=e and Color3.fromRGB(20,140,20) or Color3.fromRGB(50,50,50)
cb(e)
end)
end
-- Features
local af=false
btn("Auto Farm",0,function(v)af=v end)
local aq=false
btn("Auto Quest",1,function(v)aq=v end)
-- Fruit Sniper
local fb=Instance.new("TextButton")
fb.Size=UDim2.new(0.9,0,0,35)
fb.Position=UDim2.new(0.05,0,0.27,0)
fb.BackgroundColor3=Color3.fromRGB(60,40,100)
fb.Text=string.char(83,78,65,71,32,78,69,65,82,69,83,84,32,70,82,85,73,84)
fb.TextColor3=Color3.new(1,1,1)
fb.Font=Enum.Font.GothamBold
fb.TextSize=14
fb.Parent=f
fb.MouseButton1Click:Connect(function()
if not lp.Character or not lp.Character:FindFirstChild("HumanoidRootPart")then return end
local r=lp.Character.HumanoidRootPart
local c,d=nil,math.huge
for _,v in pairs(ws:GetDescendants())do
if v.Name=="Fruit"and v:IsA("Model")and v:FindFirstChild("Handle")then
local di=(v.Handle.Position-r.Position).Magnitude
if di<d then d=di c=v end
end
end
if c then r.CFrame=c.Handle.CFrame*CFrame.new(0,3,0)end
end)
-- ESP
local esp=true
btn("Player ESP",3,function(v)esp=v end)
-- Main Loop
run.RenderStepped:Connect(function()
local ch=lp.Character
if not ch or not ch:FindFirstChild("HumanoidRootPart")then return end
local r=ch.HumanoidRootPart
local h=ch:FindFirstChild("Humanoid")
-- Auto Farm
if af then
local tg,d=nil,math.huge
for _,v in pairs(ws:GetDescendants())do
if v:IsA("Model")and v~=ch and v:FindFirstChild("Humanoid")and v:FindFirstChild("HumanoidRootPart")then
if v.Name:lower():find("enemy")or v.Name:lower():find("bandit")or v.Name:lower():find("pirate")then
local di=(v.HumanoidRootPart.Position-r.Position).Magnitude
if di<d and di<100 then d=di tg=v end
end
end
end
if tg and h then
h:MoveTo(tg.HumanoidRootPart.Position)
if d<15 then pcall(function()rs.Remotes.Combat:FireServer("Attack",tg)end)end
end
end
-- ESP
if esp then
for _,v in pairs(ws:GetDescendants())do
if v:IsA("Model")and v~=ch and v:FindFirstChild("Humanoid")and v:FindFirstChild("HumanoidRootPart")then
if not v:FindFirstChild("E")then
local g=Instance.new("BillboardGui")
g.Name="E"
g.Adornee=v.HumanoidRootPart
g.Size=UDim2.new(0,120,0,40)
g.AlwaysOnTop=true
local l=Instance.new("TextLabel")
l.Size=UDim2.new(1,0,1,0)
l.BackgroundTransparency=1
l.Text=v.Name.."\nHP: "..math.floor(v.Humanoid.Health)
l.TextColor3=v:FindFirstChild("Enemy")and Color3.new(1,0.3,0.3)or Color3.new(0.3,1,0.3)
l.Font=Enum.Font.GothamBold
l.TextSize=12
l.Parent=g
g.Parent=v
else
v.E.TextLabel.Text=v.Name.."\nHP: "..math.floor(v.Humanoid.Health)
end
end
end
end
end)
-- Toggle UI
uis.InputBegan:Connect(function(i,g)
if g then return end
if i.KeyCode==Enum.KeyCode.Insert then sg.Enabled=not sg.Enabled end
end)
Comments
No comments yet
Be the first to share your thoughts!