Blox Fruit
Blox Fruit
local Module = {} do
local CachedBaseParts = {}
local ChachedToolTip = {}
local CachedEnemies = {}
local CachedBring = {}
local CachedChars = {}
local CachedTools = {}
local Items = {}
Module.AttackCooldown = tick()
Module.MaxLevel = 2600
Module.allMobs = { __RaidBoss = {}, __Bones = {}, __Elite = {}, __CakePrince = {}
}
Module.Progress = {}
Module.SpawnedFruits = {}
Module.BossesName = {}
Module.EnemyLocations = {}
Module.SpawnLocations = {}
Module.FruitsId = {
["rbxassetid://15060012861"] = "Rocket-Rocket",
["rbxassetid://15057683975"] = "Spin-Spin",
["rbxassetid://15104782377"] = "Chop-Chop",
["rbxassetid://15105281957"] = "Spring-Spring",
["rbxassetid://15116740364"] = "Bomb-Bomb",
["rbxassetid://15116696973"] = "Smoke-Smoke",
["rbxassetid://15107005807"] = "Spike-Spike",
["rbxassetid://15111584216"] = "Flame-Flame",
["rbxassetid://15112469964"] = "Falcon-Falcon",
["rbxassetid://15100433167"] = "Ice-Ice",
["rbxassetid://15111517529"] = "Sand-Sand",
["rbxassetid://15111553409"] = "Dark-Dark",
["rbxassetid://15112600534"] = "Diamond-Diamond",
["rbxassetid://15100283484"] = "Light-Light",
["rbxassetid://15104817760"] = "Rubber-Rubber",
["rbxassetid://15100485671"] = "Barrier-Barrier",
["rbxassetid://15112333093"] = "Ghost-Ghost",
["rbxassetid://15105350415"] = "Magma-Magma",
["rbxassetid://15057718441"] = "Quake-Quake",
["rbxassetid://15100313696"] = "Buddha-Buddha",
["rbxassetid://15116730102"] = "Love-Love",
["rbxassetid://15116967784"] = "Spider-Spider",
["rbxassetid://14661873358"] = "Sound-Sound",
["rbxassetid://15100246632"] = "Phoenix-Phoenix",
["rbxassetid://15112215862"] = "Portal-Portal",
["rbxassetid://15116747420"] = "Rumble-Rumble",
["rbxassetid://15116721173"] = "Pain-Pain",
["rbxassetid://15100384816"] = "Blizzard-Blizzard",
["rbxassetid://15100299740"] = "Gravity-Gravity",
["rbxassetid://14661837634"] = "Mammoth-Mammoth",
["rbxassetid://15708895165"] = "T-Rex-T-Rex",
["rbxassetid://15100273645"] = "Dough-Dough",
["rbxassetid://15112263502"] = "Shadow-Shadow",
["rbxassetid://15100184583"] = "Control-Control",
["rbxassetid://15106768588"] = "Leopard-Leopard",
["rbxassetid://15482881956"] = "Kitsune-Kitsune",
["https://assetdelivery.roblox.com/v1/asset/?id=10395893751"] = "Venom-Venom",
["https://assetdelivery.roblox.com/v1/asset/?id=10537896371"] = "Dragon-Dragon"
}
Module.Bosses = {
-- Bosses Sea 1
["Saber Expert"] = {
NoQuest = true,
Position = CFrame.new(-1461, 30, -51)
},
["The Saw"] = {
RaidBoss = true,
Position = CFrame.new(-690, 15, 1583)
},
["Greybeard"] = {
RaidBoss = true,
Position = CFrame.new(-4807, 21, 4360)
},
["The Gorilla King"] = {
IsBoss = true,
Level = 20,
Position = CFrame.new(-1128, 6, -451),
Quest = {"JungleQuest", CFrame.new(-1598, 37, 153)}
},
["Bobby"] = {
IsBoss = true,
Level = 55,
Position = CFrame.new(-1131, 14, 4080),
Quest = {"BuggyQuest1", CFrame.new(-1140, 4, 3829)}
},
["Yeti"] = {
IsBoss = true,
Level = 105,
Position = CFrame.new(1185, 106, -1518),
Quest = {"SnowQuest", CFrame.new(1385, 87, -1298)}
},
["Vice Admiral"] = {
IsBoss = true,
Level = 130,
Position = CFrame.new(-4807, 21, 4360),
Quest = {"MarineQuest2", CFrame.new(-5035, 29, 4326), 2}
},
["Swan"] = {
IsBoss = true,
Level = 240,
Position = CFrame.new(5230, 4, 749),
Quest = {"ImpelQuest", CFrame.new(5191, 4, 692)}
},
["Chief Warden"] = {
IsBoss = true,
Level = 230,
Position = CFrame.new(5230, 4, 749),
Quest = {"ImpelQuest", CFrame.new(5191, 4, 692), 2}
},
["Warden"] = {
IsBoss = true,
Level = 220,
Position = CFrame.new(5230, 4, 749),
Quest = {"ImpelQuest", CFrame.new(5191, 4, 692), 1}
},
["Magma Admiral"] = {
IsBoss = true,
Level = 350,
Position = CFrame.new(-5694, 18, 8735),
Quest = {"MagmaQuest", CFrame.new(-5319, 12, 8515)}
},
["Fishman Lord"] = {
IsBoss = true,
Level = 425,
Position = CFrame.new(61350, 31, 1095),
Quest = {"FishmanQuest", CFrame.new(61122, 18, 1567)}
},
["Wysper"] = {
IsBoss = true,
Level = 500,
Position = CFrame.new(-7927, 5551, -637),
Quest = {"SkyExp1Quest", CFrame.new(-7861, 5545, -381)}
},
["Thunder God"] = {
IsBoss = true,
Level = 575,
Position = CFrame.new(-7751, 5607, -2315),
Quest = {"SkyExp2Quest", CFrame.new(-7903, 5636, -1412)}
},
["Cyborg"] = {
IsBoss = true,
Level = 675,
Position = CFrame.new(6138, 10, 3939),
Quest = {"FountainQuest", CFrame.new(5258, 39, 4052)}
},
-- Bosses Sea 2
["Don Swan"] = {
RaidBoss = true,
Position = CFrame.new(2289, 15, 808)
},
["Cursed Captain"] = {
RaidBoss = true,
Position = CFrame.new(912, 186, 33591)
},
["Darkbeard"] = {
RaidBoss = true,
Position = CFrame.new(3695, 13, -3599)
},
["Diamond"] = {
IsBoss = true,
Level = 750,
Position = CFrame.new(-1569, 199, -31),
Quest = {"Area1Quest", CFrame.new(-427, 73, 1835)}
},
["Jeremy"] = {
IsBoss = true,
Level = 850,
Position = CFrame.new(2316, 449, 787),
Quest = {"Area2Quest", CFrame.new(635, 73, 919)}
},
["Fajita"] = {
IsBoss = true,
Level = 925,
Position = CFrame.new(-2086, 73, -4208),
Quest = {"MarineQuest3", CFrame.new(-2441, 73, -3219)}
},
["Smoke Admiral"] = {
IsBoss = true,
Level = 1150,
Position = CFrame.new(-5078, 24, -5352),
Quest = {"IceSideQuest", CFrame.new(-6061, 16, -4904)}
},
["Awakened Ice Admiral"] = {
IsBoss = true,
Level = 1400,
Position = CFrame.new(6473, 297, -6944),
Quest = {"FrostQuest", CFrame.new(5668, 28, -6484)}
},
["Tide Keeper"] = {
IsBoss = true,
Level = 1475,
Position = CFrame.new(-3711, 77, -11469),
Quest = {"ForgottenQuest", CFrame.new(-3056, 240, -10145)}
},
-- Bosses Sea 3
["Cake Prince"] = {
RaidBoss = true,
Position = CFrame.new(-2103, 70, -12165)
},
["Dough King"] = {
RaidBoss = true,
Position = CFrame.new(-2103, 70, -12165)
},
["rip_indra True Form"] = {
RaidBoss = true,
Position = CFrame.new(-5333, 424, -2673)
},
["Stone"] = {
IsBoss = true,
Level = 1550,
Position = CFrame.new(-1049, 40, 6791),
Quest = {"PiratePortQuest", CFrame.new(-291, 44, 5580)}
},
["Island Empress"] = {
IsBoss = true,
Level = 1675,
Position = CFrame.new(5730, 602, 199),
Quest = {"AmazonQuest2", CFrame.new(5448, 602, 748)}
},
["Kilo Admiral"] = {
IsBoss = true,
Level = 1750,
Position = CFrame.new(2904, 509, -7349),
Quest = {"MarineTreeIsland", CFrame.new(2485, 74, -6788)}
},
["Captain Elephant"] = {
IsBoss = true,
Level = 1875,
Position = CFrame.new(-13393, 319, -8423),
Quest = {"DeepForestIsland", CFrame.new(-13233, 332, -7626)}
},
["Beautiful Pirate"] = {
IsBoss = true,
Level = 1950,
Position = CFrame.new(5241, 23, 129),
Quest = {"DeepForestIsland2", CFrame.new(-12682, 391, -9901)}
},
["Cake Queen"] = {
IsBoss = true,
Level = 2175,
Position = CFrame.new(-710, 382, -11150),
Quest = {"IceCreamIslandQuest", CFrame.new(-818, 66, -10964)}
},
["Longma"] = {
NoQuest = true,
Position = CFrame.new(-10218, 333, -9444)
}
}
Module.Shop = {
{"Frags", {{"Race Reroll", {"BlackbeardReward", "Reroll", "2"}}, {"Reset
Stats", {"BlackbeardReward", "Refund", "2"}}}},
{"Fighting Style", {
{"Buy Black Leg", {"BuyBlackLeg"}},
{"Buy Electro", {"BuyElectro"}},
{"Buy Fishman Karate", {"BuyFishmanKarate"}},
{"Buy Dragon Claw", {"BlackbeardReward", "DragonClaw", "2"}},
{"Buy Superhuman", {"BuySuperhuman"}},
{"Buy Death Step", {"BuyDeathStep"}},
{"Buy Sharkman Karate", {"BuySharkmanKarate"}},
{"Buy Electric Claw", {"BuyElectricClaw"}},
{"Buy Dragon Talon", {"BuyDragonTalon"}},
{"Buy GodHuman", {"BuyGodhuman"}},
{"Buy Sanguine Art", {"BuySanguineArt"}}
-- {"Buy Divine Art", {"BuyDivineArt"}}
}},
{"Ability Teacher", {
{"Buy Geppo", {"BuyHaki", "Geppo"}},
{"Buy Buso", {"BuyHaki", "Buso"}},
{"Buy Soru", {"BuyHaki", "Soru"}},
{"Buy Ken", {"KenTalk", "Buy"}}
}},
{"Sword", {
{"Buy Katana", {"BuyItem", "Katana"}},
{"Buy Cutlass", {"BuyItem", "Cutlass"}},
{"Buy Dual Katana", {"BuyItem", "Dual Katana"}},
{"Buy Iron Mace", {"BuyItem", "Iron Mace"}},
{"Buy Triple Katana", {"BuyItem", "Triple Katana"}},
{"Buy Pipe", {"BuyItem", "Pipe"}},
{"Buy Dual-Headed Blade", {"BuyItem", "Dual-Headed Blade"}},
{"Buy Soul Cane", {"BuyItem", "Soul Cane"}},
{"Buy Bisento", {"BuyItem", "Bisento"}}
}},
{"Gun", {
{"Buy Musket", {"BuyItem", "Musket"}},
{"Buy Slingshot", {"BuyItem", "Slingshot"}},
{"Buy Flintlock", {"BuyItem", "Flintlock"}},
{"Buy Refined Slingshot", {"BuyItem", "Refined Slingshot"}},
{"Buy Refined Flintlock", {"BuyItem", "Refined Flintlock"}},
{"Buy Cannon", {"BuyItem", "Cannon"}},
{"Buy Kabucha", {"BlackbeardReward", "Slingshot", "2"}}
}},
{"Accessories", {
{"Buy Black Cape", {"BuyItem", "Black Cape"}},
{"Buy Swordsman Hat", {"BuyItem", "Swordsman Hat"}},
{"Buy Tomoe Ring", {"BuyItem", "Tomoe Ring"}}
}},
{"Race", {{"Ghoul Race", {"Ectoplasm", "Change", 4}}, {"Cyborg Race",
{"CyborgTrainer", "Buy"}}}}
}
function EnableBuso()
local Char = Player.Character
if Settings.AutoBuso and Module.IsAlive(Char) and not
Char:FindFirstChild("HasBuso") then
Module.FireRemote("Buso")
end
end
if Char then
local Tool = Char:FindFirstChild(Name) or Bag:FindFirstChild(Name)
if Tool then
CachedTools[Name] = Tool
return true
end
end
return false
end
function noSit()
local Char = Player.Character
if Module.IsAlive(Char) and Char.Humanoid.Sit then
Char.Humanoid.Sit = false
end
end
if CachedChars[Char] then
return CachedChars[Char].Health > 0
end
Module.Hooking:SetTarget(Target)
function Module.IsSpawned(Enemy)
local Cached = Module.SpawnLocations[Enemy]
if Cached then
return Cached:GetAttribute("Active") or Module:GetEnemyByTag(Enemy)
end
return Module:GetEnemyByTag(Enemy)
end
for i = 1, 100 do
local Servers = ServerBrowser:InvokeServer(i)
for id,info in pairs(Servers) do
if id ~= game.JobId and info["Count"] <= MaxPlayers then
task.spawn(ServerBrowser.InvokeServer, ServerBrowser, "teleport", id)
end
end
end
end
if Nearest then
self.newCachedEnemy(Name, Nearest)
return Nearest
end
end
if self.IsAlive(Cached) then
return Cached
end
if Mobs then
for _, Enemy in Mobs do
if self.IsAlive(Enemy) then
self.newCachedEnemy(Name, Enemy)
return Enemy
end
end
end
end
end
if Settings.BringMobs then
local Position = (Player.Character or
Player.CharacterAdded:Wait()).PrimaryPart.Position
local Target = ToEnemy.PrimaryPart.CFrame
ToEnemy.PrimaryPart.CFrame = CachedBring[ToEnemy]
end
end
local list = {}
self.RaidIsland = Island
return Island
end
if entry then
entry.result = result
entry.debounce = tick()
else
Progress[Tag] = {
debounce = tick(),
result = result
}
end
return result
end
Module.EnemySpawned = setmetatable({}, {
__index = function(self, index)
return Module:GetClosestEnemy(index)
end,
__call = function(self, index)
if type(index) == "table" then
return Module:GetEnemyByList(index)
end
if Module.IsAlive(Cached) then
return Cached
end
return self[index]
end
})
Module.FruitsName = setmetatable({}, {
__index = function(self, Fruit)
local Ids = Module.FruitsId
local Name = Fruit.Name
Module.MoonId = setmetatable({}, {
__index = function(self, index)
return (Lighting.Sky.MoonTextureId == "http://www.roblox.com/asset/?id=" ..
index)
end
})
Module.EquipTool = setmetatable({}, {
__call = function(self, Name, byTip)
local Char = Player.Character
if Module.IsAlive(Char) then
local Equipped = self.Equipped
Module.Chests = setmetatable({}, {
__call = function(self, Tier)
if self.Chest and not self.Chest:GetAttribute("IsDisabled") then
return self.Chest
end
self.Chest = Nearest
return Nearest
end
})
Module.PirateRaid = 0 do
Module.PirateRaidEnemies = {}
CollectionService:GetInstanceAddedSignal("BasicMob"):Connect(IsPirateRaidEnemy)
for _, Mob in CollectionService:GetTagged("BasicMob") do IsPirateRaidEnemy(Mob)
end
end
task.spawn(function()
local allMobs = Module.allMobs
function Module:GetClosestByTag(Tag)
local Cached = CachedEnemies[Tag]
local Mobs = allMobs[Tag]
if Nearest then
CachedEnemies[Tag] = Nearest
return Nearest
end
end
function Module:GetEnemyByTag(Tag)
local Mobs = allMobs[Tag]
if not Mobs then return end
if RaidBoss then
table.insert(allMobs.__RaidBoss, Enemy)
elseif Elites[EnemyName] then
table.insert(allMobs.__Elite, Enemy)
elseif Bones[EnemyName] then
table.insert(allMobs.__Bones, Enemy)
elseif CakePrince[EnemyName] then
table.insert(allMobs.__CakePrince, Enemy)
end
allMobs[EnemyName] = allMobs[EnemyName] or {}
table.insert(allMobs[EnemyName], Enemy)
end
task.spawn(function()
local BossesName = Module.BossesName
local Fruits = Module.SpawnedFruits
workspace.ChildAdded:Connect(function(Part)
if Module.IsFruit(Part) then
table.insert(Fruits, Part)
Part:GetPropertyChangedSignal("Parent"):Once(function()
table.remove(Fruits, table.find(Fruits, Part))
end)
end
end)
task.spawn(function()
local SpawnLocations = Module.SpawnLocations
local EnemyLocations = Module.EnemyLocations
task.spawn(function()
local Inventory = WaitChilds(Player, "PlayerGui", "Main", "UIController",
"Inventory")
local ItemList = getupvalue(require(Inventory).UpdateSort, 2)
self.Inventory[Name] = Item
if Details.Mastery then
self.ItemsMastery[Name] = Details.Mastery
end
end
end
Module.ItemsMastery = {}
Module.Inventory = {}
Module.Unlocked = {}
CommE.OnClientEvent:Connect(OnClientEvent)
end)
task.spawn(function()
local DeathM = require(WaitChilds(ReplicatedStorage, "Effect", "Container",
"Death"))
local CameraShaker = require(WaitChilds(ReplicatedStorage, "Util",
"CameraShaker"))
CameraShaker:Stop()
if hookfunction then
hookfunction(DeathM, function(...) return ... end)
end
end)
Module.Hooking = (function()
local module = {}
if Target then
table.insert(Enemies, Target)
Position = Target.Position
end
if Target then
return old(self, Target.Position)
end
end
elseif self.ClassName == "RemoteFunction" then
local Tag, Position = ...
function module:SpeedBypass()
if _ENV._Enabled_Speed_Bypass then
return nil
end
_ENV._Enabled_Speed_Bypass = true
local oldHook;
oldHook = hookmetamethod(Player, "__newindex", function(self, index, value)
if self.Name == "Humanoid" and index == "WalkSpeed" then
return oldHook(self, index, _ENV.WalkSpeedBypass or value)
end
return oldHook(self, index, value)
end)
end
function module:SetTarget(RootPart)
NextEnemy = RootPart
end
Stepped:Connect(UpdateTarget)
return module
end)()
Module.FastAttack = (function()
if _ENV.rz_FastAttack then
return _ENV.rz_FastAttack
end
local module = {
NextAttack = 0,
Distance = 55,
attackMobs = true,
attackPlayers = true
}
local RegisterAttack = Net:WaitForChild("RE/RegisterAttack")
local RegisterHit = Net:WaitForChild("RE/RegisterHit")
function module:AttackEnemy(EnemyHead)
if EnemyHead and Player:DistanceFromCharacter(EnemyHead.Position) <
self.Distance then
if not self.FirstAttack then
RegisterAttack:FireServer(Settings.ClickDelay or 0.125)
self.FirstAttack = true
end
RegisterHit:FireServer(EnemyHead, {})
end
end
function module:AttackNearest()
for _, Enemy in Enemies:GetChildren() do
self:AttackEnemy(Enemy:FindFirstChild("UpperTorso"))
end
for _, Enemy in Characters:GetChildren() do
if Enemy ~= Player.Character then
self:AttackEnemy(Enemy:FindFirstChild("UpperTorso"))
end
end
function module:BladeHits()
self:AttackNearest()
self.FirstAttack = false
end
task.spawn(function()
while task.wait(Settings.ClickDelay or 0.125) do
if (tick() - Module.AttackCooldown) < 1 then continue end
if not Settings.AutoClick then continue end
if not Module.IsAlive(Player.Character) then continue end
if not Player.Character:FindFirstChildOfClass("Tool") then continue end
module:BladeHits()
end
end)
_ENV.rz_FastAttack = module
return module
end)()
Module.Tween = (function()
if _ENV.TweenVelocity then
return _ENV.TweenVelocity
end
_ENV.TweenVelocity = Velocity
Stepped:Connect(function()
local Character = Player.Character
Heartbeat:Connect(function()
local Character = Player.Character
local isAlive = IsAlive(Character)
return Velocity
end)()
Module.RaidList = (function()
local Raids = require(ReplicatedStorage:WaitForChild("Raids"))
local list = {}
return list
end)()
end