Run it
Copy the script and paste it into your executor.
ReplicatedStorage = :()
TweenService = :()
VirtualUser = :()
RunService = :()
Lighting = :()
Players = :()
CoreGui = :()
Stepped = RunService.Stepped
Player = Players.LocalPlayer
Data = Player:()
Level = Data:()
Fragments = Data:()
Map = :()
NPCs = :()
Boats = :()
SeaBeasts = :()
EnemiesFolder = :()
Characters = :()
WorldOrigin = :()
Locations = WorldOrigin:()
Remotes = ReplicatedStorage:()
Modules = ReplicatedStorage:()
Net = Modules:()
_ENV = ( getfenv)()
HttpGet = .HttpGet
clonedEnabled = {}
Functions = _ENV.rz_Functions {}
FarmFunctions = _ENV.rz_FarmFunctions {}
Settings = _ENV.rz_Settings {
AutoBuso = ,
BringMobs = ,
BringDistance = ,
FarmTool = ,
skillSelected = {},
boatSelected = {},
fishSelected = {}
}
Enabled = _ENV.rz_EnabledOptions ({}, {
__newindex = (self, index, value)
(clonedEnabled, index, value )
.(FarmFunctions)
_, func (Functions)
(clonedEnabled, func.Name)
.(FarmFunctions, func.Function)
,
__index = clonedEnabled
})
PlayerGui = Player.PlayerGui
PlayerGui:()
PlayerGui.ChildAdded:().Name ~=
_ENV.rz_Functions = Functions
_ENV.rz_Settings = Settings
_ENV.rz_EnabledOptions = Enabled
_ENV.rz_FarmFunctions = FarmFunctions
Library =
Module =
PlayerTP =
Tween =
RedeemCodes = ()
success, codes = (()
(, )
)
success codes
_, code (codes:(, ):())
ReplicatedStorage.Remotes.Redeem:(code)
NoFog = ()
LightingLayers = Lighting:()
LightingLayers
LightingLayers:()
TradeBones = ()
Module:() >=
Module:(, , , )
JoinTeam = {
Marines = () Module.(, ) ,
Pirates = () Module.(, )
}
Loader = {}
Loader.Modules = {}
Modules = Loader.Modules
Tween = ()()
Modules.PlayerTeleport = ()
module = {
lastCF = ,
lastTP = ,
nextNum = ,
BypassCooldown = ,
islands = ({
{
[] = .(-, , -),
[] = .(-, , -),
[] = .(, , ),
[] = .(, , -)
},
{
[] = .(-, , ),
[] = .(, , ),
[] = .(, , ),
[] = .(-, , -)
},
{
[] = .(-, , -),
[] = .(, , -),
[] = .(, , ),
[] = .(-, , -),
[] = .(, , -)
}
})[Module.Sea]
}
setDebounce = (value)
module.NpcDebounce = value
IsAlive = Module.IsAlive
FireRemote = Module.FireRemote
module:(cframe, action, ...)
Player:(cframe.Position) <
(action) ==
()
(action, ...)
module:(pos1)
distance, topos, iName = .huge
name, pos2 (self.islands)
Mag = (pos1 - pos2).Magnitude
Mag < distance
distance, topos, iName = Mag, pos2, name
topos, iName
module:()
self.(.(, , ), , )
self:(.(, , ), , )
module:(locations, speed)
self.NpcDebounce (Player.Character)
PrimaryPart = Player.Character.PrimaryPart
#locations ==
self.(locations[], speed)
#locations >
self.nextNum > #locations
self.nextNum =
cframe = locations[self.nextNum]
(PrimaryPart.Position - cframe.Position).Magnitude <
self.nextNum = self.nextNum +
self.NpcDebounce =
.(, setDebounce, )
self.(cframe, speed)
module.(cframe, speed, noLog)
self = module
(() - self.lastTP) < cframe == self.lastCF
self.lastTP = ()
self.lastCF = cframe
(Player.Character)
noLog self.lastPosition = cframe.Position
PrimaryPart = Player.Character.PrimaryPart
tSpeed = Settings.TweenSpeed
tPosition = cframe.Position
Distance = (PrimaryPart.Position - tPosition).Magnitude
Portal, pName = self:(tPosition)
PortalMag = Portal ((tPosition - Portal).Magnitude + )
Portal (() - self.BypassCooldown) >= Distance > PortalMag
pName ==
self:()
Tween:(PrimaryPart).()
(tPosition - Portal).Magnitude <
Portal = tPosition
Portal = Portal + ((tPosition - PrimaryPart.Position).Unit) *
oldPosition = PrimaryPart.Position
PrimaryPart.CFrame = .(Portal)
.() (PrimaryPart.Position - oldPosition).Magnitude <
self.BypassCooldown = ()
Distance <
Tween:(PrimaryPart)
PrimaryPart.CFrame = cframe
speed
Tween.(PrimaryPart, Distance / speed, , cframe)
blockPos = PrimaryPart.Position
yPos = .(blockPos.X, tPosition.Y, blockPos.Z)
(blockPos - yPos.Position).Magnitude >
Tween:(PrimaryPart).()
PrimaryPart.CFrame = yPos
.()
Distance <
Tween.(PrimaryPart, Distance / tSpeed * , , cframe)
Tween.(PrimaryPart, Distance / tSpeed, , cframe)
Module.Tween:():(()
Module.Tween.Parent (Player.Character)
Tween:(Player.Character.PrimaryPart)
)
PlayerTP = module.new
module
Modules.QuestManager = ()
module = {
QuestList = {},
EnemyList = {},
QuestPos = {},
Sea = Module.Sea,
takeQuestDebounce = ,
_Position = .(, , )
}
QuestFrame = Player.PlayerGui.Main.Quest
QuestTitle = QuestFrame.Container.QuestTitle.Title
GuideModule = (ReplicatedStorage:())
QuestModule = (ReplicatedStorage:())
EnemyPos = Module.EnemyLocations
Enemies = Module.EnemySpawned
IsBoss = Module.IsBoss
getTasks = (Mission)
Enemies, Position = {},
Enemie,_ , Mission.Task
.(Enemies, Enemie)
Position
Position = EnemyPos[Enemie]
Enemies, Position
.(()
_,Npc , GuideModule.Data.NPCList
module.QuestPos[Npc.NPCName] = .(Npc.Position)
)
.((), module, QuestModule, getTasks)
module:()
self.oldLevel == Level.Value self.CurrentQuest ( self.oldBoss Module.(self.oldBoss))
self.CurrentQuest
oldBoss = ;
oldQuest = ;
self.oldLevel = Level.Value
_,Quest (self.QuestList)
level = Quest.Enemy.Level
name = Quest.Enemy.Name
level > Level.Value
self.oldBoss, self.CurrentQuest = oldBoss, oldQuest
oldQuest
(name[])
Module.(name[])
oldBoss, oldQuest = name[], Quest
oldQuest = Quest
self.oldBoss, self.CurrentQuest = oldBoss, oldQuest
oldQuest
module:()
self.QuestPos[GuideModule.Data.LastClosestNPC]
module:(query)
QuestFrame.Visible
Title = .(QuestTitle.Text, , ):()
(query) ==
.(Title, .(query, , ):())
_,Enemy (query)
.(Title, .(Enemy, , ):())
Enemy
module:(quest, index, cframe)
cframe Player:(cframe.Position) >=
(cframe * self._Position)
self.takeQuestDebounce
self.Debounce (() - self.Debounce) >=
self.Debounce = ()
.() Module.(, quest, index) .()
module
Modules.FarmManager = ()
module = {
canFarm = {},
EnemyLocation = {},
Position = .(, , ),
}
module.Materials = ({
{, , , },
{, , , , },
{, , , , , }
})[Module.Sea]
module.Enemies = {
Elites = {, , },
Bones = {, , , },
Katakuri = {, , , },
Ectoplasm = {, , , }
}
Enemies = Module.EnemySpawned
MaterialDetails = {
[] = {{, , , }, {, , }},
[] = {{, }, {}},
[] = {{, }, {, }},
[] = {{, , }, {, , }},
[] = {{, }, {, , }},
[] = {{}, {, }},
[] = {{}, {, }},
[] = {{}, {, }},
[] = {{}, {, , }},
[] = {{}, {, , }},
[] = {{}, {, , }}
}
EnemyPos = Module.EnemyLocations
EquipTool = Module.EquipTool
sTool = ;
sToolDb = ()
module.(tool)
sToolDb, sTool = (), tool
module.(Enemy, bring, multBring)
Humanoid = Enemy:()
PrimaryPart = Enemy.PrimaryPart
Enabled.Mastery Humanoid
Module.AttackCooldown = ()
Humanoid.Health / Humanoid.MaxHealth * > Settings.mHealth
(, )
(Settings.mTool, )
Equipped = EquipTool.Equipped
Equipped Equipped.ToolTip ~=
Equipped:()
Module.Hooking:(PrimaryPart)
(PrimaryPart.CFrame + module.Position)
bring Module:(Enemy, multBring)
()
(PrimaryPart.CFrame + module.Position)
bring Module:(Enemy, multBring)
()
(() - sToolDb) < sTool
(sTool, )
()
module.(Name, ...)
Enemy = (Name)
Enemy Enemy.PrimaryPart
module.(Enemy, )
module.(cframe)
(cframe)()()
module.(Name)
self = module
details = MaterialDetails[Name]
self.canFarm[Name] ==
details[][Module.Sea]
self.canFarm[Name] =
self.canFarm[Name] =
self.canFarm[Name]
self.EnemyLocation[Name]
_,Enemy , details[]
Locations = EnemyPos[Enemy]
Locations #Locations >
self.EnemyLocation[Name] = Locations
Enemy = (details[])
Enemy
self.(Enemy, )
self.EnemyLocation[Name]
Modules.PlayerTeleport:(self.EnemyLocation[Name])
module
Modules.RaidManager = ()
Module.Sea ~= Module.Sea ~=
module = {
RaidPosition = Module.Sea == .(-, , -),
requests = {},
Require = ,
Timer = Player.PlayerGui.Main.Timer,
Button = (
(Module.Sea == Map.CircleIsland.RaidSummon2.Button)
(Module.Sea == Map[].RaidSummon2.Button)
)
}
module:()
Enabled.Raid Player:()
module:()
Module:()
module:()
Level.Value >= ()
module:()
self:() self:()
self.Button:()
(self.RaidPosition)
(self.Button.Main.ClickDetector)
.()
module:(tag, amount)
self.requests[tag]
self.Require = self.Require + (amount )
module
Modules.IslandManager = ()
module = {}
module:()
self.MirageFruitDealer
self.MirageFruitDealer
FruitDealer = NPCs:()
ReplicatedStorage.NPCs:()
FruitDealer
self.MirageFruitDealer = FruitDealer
FruitDealer
module:(Mirage)
self.MirageGear self.MirageGear.Parent
self.MirageGear
_, Gear (Mirage:())
Gear:() Gear.MeshId ==
self.MirageGear = Gear
Gear
module:(Mirage)
self.MirageTop self.MirageTop.Parent
self.MirageTop
_,part (Mirage:())
top = part:()
top
self.MirageTop = top
top
module
Modules.EspManager = ()
module = {}
module.__index = module
module.__newindex = (self, index, value)
index ==
.(self.toggle, self, value)
(self, index, value)
GetBasePart = (Obj)
Obj:()
Obj.PrimaryPart Obj
Obj:()
Obj.Handle
Obj
remove = (self)
self.Object self.Section.List[self.Object]
self.Section.List[self.Object] =
self.EspHandle
self.EspHandle:()
FruitsName = Module.FruitsName
HumHealth =
EspFolder = .(, CoreGui)
EspFolder.Name =
folderFind = CoreGui:(EspFolder.Name)
folderFind folderFind ~= EspFolder
folderFind:()
module.(name, instance, func2)
self = ({}, module)
Folder = .(, EspFolder)
Folder.Name = name
self.List = {}
self.Name = name
self.Folder = Folder
self.Instance = instance
self.IsEspObject = func2
self
module:()
self.Folder:()
.(self.List)
module:(obj, color, name)
self.List[obj]
Esp = {
Section = self,
Color = color .(, , ),
Name = name obj.Name,
Object = obj,
EspHandle =
}
self.List[obj] = Esp
BHA = .()
BHA.Size = .(, , , )
BHA.AlwaysOnTop =
BHA.ZIndex =
BHA.Transparency =
BBG = .()
BBG.Adornee = obj
BBG.Size = .(, , , )
BBG.StudsOffset = .(, , )
BBG.AlwaysOnTop =
TL = .()
TL.BackgroundTransparency =
TL.Position = .(, , , -)
TL.Size = .(, , , )
TL.TextSize =
TL.TextColor3 = Esp.Color
TL.TextStrokeTransparency =
TL.TextYAlignment = .TextYAlignment.Bottom
TL.Text =
TL.ZIndex =
TL.RichText =
TL.Parent = BBG
BBG.Parent = BHA
BHA.Parent = self.Folder
Esp.EspHandle = BHA
stepped
stepped = Stepped:(()
obj BHA
stepped:()
(Esp)
BasePart = (obj)
BasePart BasePart:()
stepped:()
(Esp)
Distance = .((Player:(BasePart.Position)) / )
Humanoid = obj:()
Humanoid
TL.Text = HumHealth:(name obj.Name, Distance, .(Humanoid.Health), .(Humanoid.MaxHealth))
obj:()
TL.Text = ():(FruitsName[obj], Distance)
TL.Text = ():(name obj.Name, Distance)
)
module:(value)
name = .. self.Name
_ENV[name] = value
instance = self.Instance
isEspObject = self.IsEspObject
_ENV[name]
_,child , instance:()
isObj, Color, Name = (child)
isObj
self:(child, Color, Name)
.()
self:()
module
Modules.SeaManager = ()
module = {
nextNum = ,
oldTool = ,
randomNumber = ,
toolDebounce = ,
rdDebounce = ,
SeaEvents = {}
}
module.nextTool = {
[] = ,
[] = ,
[] = ,
[] =
}
module.BuyBoat = {
Position = (Module.Sea == .(, , )) .(-, , -),
BoatName =
}
module.RandomPosition = ({
,
{
.(-, , ),
.(, , ),
.(, , ),
.(-, , )
},
{
[] = -,
[] = -,
[] = -,
[] = -,
[] = -,
[] = -,
[] = -
}
})[Module.Sea]
module.Directions = {
.(, , ),
.(, , ),
.(-, , ),
.(, , -),
.(, , )
}
module.SeaEventsName = {
Terrorshark = ,
Piranha = ,
Shark = ,
[] =
}
module.SeaBoatsName = {
PirateGrandBrigade = ,
PirateBrigade = ,
FishBoat =
}
UseSkills = Module.UseSkills
EquipTool = Module.EquipTool
FireRemote = Module.FireRemote
Humanoid = ;
Module.Sea ==
Random = module.RandomPosition
Level, Distance (Random)
Random[Level] = {
.(Distance, , ),
.(Distance - , , ),
.(Distance - , , ),
.(Distance, , -)
}
module.(Boat)
Boat:() Boat.Owner.Value.Name == Player.Name
module.(Enemy)
Humanoid = Enemy:()
Class = Humanoid Humanoid.ClassName
Class ==
Humanoid.Health >
Class == Class ==
Humanoid.Value >
module:()
self.PlayerBoat self.(self.PlayerBoat)
self.PlayerBoat
_,Boat , Boats:()
self.(Boat) self.(Boat)
Boat.Name ~= self.BuyBoat.BoatName
self.BuyBoat.BoatName = Boat.Name
self.PlayerBoat = Boat
Boat
module:()
= self.BuyBoat.Position
Player:(.Position) <
(, self.BuyBoat.BoatName)
()
module:(cframe, speed)
Boat = self:()
BodyVelocity = Module.Tween
direction = (cframe.Position - Boat.PrimaryPart.Position).Unit
BodyVelocity.Velocity = direction * (speed Settings.BoatSpeed)
module:()
Module.Tween.Velocity = .zero
module:(SeaLevel)
self.RandomPosition[SeaLevel Settings.SeaLevel]
module:(SeaLevel)
Humanoid Humanoid.SeatPart
self:()
Boat = self:()
Position = Boat.PrimaryPart.Position
locations = Module.Sea == self:(SeaLevel) self.RandomPosition
#locations ==
self:(locations[])
#locations >
self.nextNum > #locations
self.nextNum =
nextPos = locations[self.nextNum]
(Position - nextPos.Position).Magnitude <
self.nextNum = self.nextNum +
self:(nextPos)
module:()
(() - self.toolDebounce) <
self.oldTool
self.toolDebounce = ()
NextTool = self.nextTool[self.oldTool]
Count =
(NextTool)
NextTool, Count = self.nextTool[self.oldTool], Count +
Count >=
self.oldTool = NextTool
NextTool
module:(Name)
nBoats = self.SeaBoatsName
nEnemies = self.SeaEventsName
_, Enemy (EnemiesFolder:())
EnName = Enemy.Name
(nEnemies[EnName] nBoats[EnName]) self.(Enemy)
Name EnName == Name
Enemy
module:(Enemy)
randomTool = self:()
PrimaryPart = Enemy.PrimaryPart
PrimaryPart
Target = PrimaryPart.CFrame + .(, , )
Player:(Target.Position) <
(PrimaryPart, Settings.skillSelected)
(randomTool, )
(Target)
()()
self:()
module:(Enemy)
Enemy Enemy.PrimaryPart
(Enemy.PrimaryPart.CFrame + .(, , ))
()
()()
self:()
module:(Enemy)
self.SeaEventsName[Enemy.Name]
self:(Enemy)
self.SeaBoatsName[Enemy.Name]
self:(Enemy)
module:()
(() - self.rdDebounce) <
self.Directions[self.randomNumber]
self.rdDebounce = ()
self.randomNumber = .(#self.Directions)
self.Directions[self.randomNumber]
module:(SeaBeast)
randomTool = self:()
randomPosition = self:()
PrimaryPart = SeaBeast:()
PrimaryPart
Position = PrimaryPart.Position
seaCFrame = .(Position.X, , Position.Z) + randomPosition
(seaCFrame)
(randomTool, )
(PrimaryPart, Settings.skillSelected)
()()
self:()
module:()
self.SeaBeast self.(self.SeaBeast)
self.SeaBeast
Distance, Nearest = .huge
_, SeaBeast (SeaBeasts:())
Magnitude = Player:(SeaBeast:().Position)
Magnitude < Distance
Distance, Nearest = Magnitude, SeaBeast
self.SeaBeast = Nearest
Nearest
module:()
Humanoid
Humanoid = (Player.Character Player.CharacterAdded:()):()
Boat = self.PlayerBoat
BoatSit = Boat:()
Humanoid.SeatPart Humanoid.SeatPart ~= BoatSit
Humanoid.Sit =
(BoatSit.CFrame)
module
Modules.CDKPuzzle = ()
Module.Sea ~=
Module.Unlocked[]
module = {}
InvokeCursedSkeleton = {}
DoorNpc = .(-, , -)
ForestPirateSpawn = .(-, , -)
Cursed = Map.Turtle:()
FireRemote = Module.FireRemote
Enemies = Module.EnemySpawned
Unlocked = Module.Unlocked
EquipTool = Module.EquipTool
EnemyList = {
Heaven = {, },
Hell = {, }
}
hasMastery = ()
Module:() < Module:() <
GetTorch = (Dimension)
i = ,
torch = Dimension[ .. (i)]
torch.ProximityPrompt.Enabled
torch
GetTask = ()
Unlocked[]
()
Cursed:()
Player:()
,
Map:()
,
Map:()
,
Count = Module:()
Count ==
Count ==
(, , )
(, , )
,
Progress = (, )
Good = Progress.Good
Evil = Progress.Evil
Evil Evil >= Evil <
(, , )
(, , )
Evil ==
,
Evil ==
,
Evil ==
,
Good Good >= Good <
(, , )
(, , )
Good ==
,
Good ==
,
Good ==
,
GetPedestal = ()
i = , , -
pedestal = Cursed[ .. (i)]
pedestal.ProximityPrompt.Enabled
pedestal
closestHaze = ;
GetClosestHazeEnemy = ()
closestHaze closestHaze.Value >
closestHaze
dist, near = .huge
_,Enemy (Player.QuestHaze:())
Enemy.Value >
Position = Enemy:()
Mag = (Position) == Player:(Position)
Mag Mag <= dist
dist, near = Mag, Enemy
closestHaze = near
near
Boats = {
.(-, , ),
.(-, , -),
.(-, , -)
}
module.Tasks = {
Yama = {
()
()
(, )
Enemy = Enemies[]
Enemy Enemy.PrimaryPart
(Enemy.PrimaryPart.CFrame * .(, , -))
(ForestPirateSpawn)
,
()
QuestHaze = Player:()
QuestHaze
HazeEnemy = ()
HazeEnemy
Name = HazeEnemy.Name
Enemy = Enemies[Name]
Enemy Enemy.PrimaryPart
Modules.FarmManager.(Enemy, )
EnemyPositions[Name]
Modules.PlayerTeleport:(EnemyPositions[Name])
(HazeEnemy:())
,
()
Dimension = Map:()
Dimension
Enemy = (EnemyList.Hell)
Enemy Enemy.PrimaryPart
Modules.FarmManager.(Enemy, , )
Torch = (Dimension)
Torch
Player:(Torch.Position) <
(Torch.ProximityPrompt)
(Torch.CFrame)
(Dimension.Exit.CFrame)
()
Enemy = Enemies[]
Enemy Enemy.PrimaryPart
Player:(Enemy.PrimaryPart.Position) >
(Enemy.PrimaryPart.CFrame * .(, , -))
()
()
(Map[].Summoner.Detection.CFrame)
Enemy = (Modules.FarmManager.Enemies.Elites)
Enemy Enemy.PrimaryPart
Modules.FarmManager.(Enemy, , )
(.(-, , ))
.(TradeBones)
},
Tushita = {
()
(() - Module.PirateRaid) >=
Target = Module:()
Target Target.PrimaryPart
Modules.FarmManager.(Target, , )
(.(-, , -))
,
()
index, cframe (Boats)
Player:(cframe.Position) <
Target = NPCs:()
Target
(, , Target)
(, , Target, )
.()
Boats[index] =
(cframe)
,
()
Dimension = Map:()
Dimension
Enemy = (EnemyList.Heaven)
Enemy Enemy.PrimaryPart
Modules.FarmManager.(Enemy, , )
Torch = (Dimension)
Torch
Player:(Torch.Position) <
(Torch.ProximityPrompt)
(Torch.CFrame)
(Dimension.Exit.CFrame)
Module.()
Enemy = ()
Enemy Enemy.PrimaryPart
Modules.FarmManager.(Enemy)
(.(-, , -))
},
OpenDoor = ()
Player:(DoorNpc.Position) <
(, )
(, , )
Cursed:()
Cursed.Breakable:()
(DoorNpc)
,
FinalQuest = ()
() ()
(, )
()
Enemy = Enemies[]
Enemy Enemy.PrimaryPart
Modules.FarmManager.(Enemy)
Player.PlayerGui.Main.Dialogue.Visible
VirtualUser:(.(, ))
Pedestal = ()
Pedestal
Player:(Pedestal.Position) <
(Pedestal.ProximityPrompt)
(Pedestal.CFrame)
Player:(InvokeCursedSkeleton[].Position) >
(InvokeCursedSkeleton[])
Modules.PlayerTeleport:(InvokeCursedSkeleton, )
,
MasterySwords = ()
Sword = (Module:() < )
(Sword)
(, Sword)
(, )
Enemy = (Modules.FarmManager.Enemies.Elites)
Enemy Enemy.PrimaryPart
Modules.FarmManager.()
Modules.FarmManager.(Enemy, , )
(.(-, , ))
}
module:()
Task, Num = ()
Tasks = self.Tasks
Task Tasks[Task]
( Num Tasks[Task]()) Tasks[Task][Num]()
module
Loader:()
name, module , self.Modules
success, result = (module)
success
self.Modules[name] = result
_ENV[name] = result
_ENV[name] =
( .. name .. .. result)
Loader:()
owner = ;
raw = ;
url = (raw .. owner .. );
Library = ((, url .. ))()
Module = ((, url .. ) .. )(Settings)
Loader:()
Loader:(Window)
{
Discord = Window:({, }),
MainFarm = Window:({, }),
Sea = Window:({, }),
RaceV4 = Window:({, }),
Items = Window:({, }),
FruitRaid = Window:({, }),
Stats = Window:({, }),
Teleport = Window:({, }),
Visual = Window:({, }),
Shop = Window:({, }),
Misc = Window:({, })
}
Loader:()
{
Toggle = ()
}
Loader:()
Logo1 = ;
Logo2 = ;
Name = ;
Folder = ;
Credits = ;
Discord = ;
Window = Library:({Name, Credits, Folder})
Plugin = self:(Library)
Tabs = self:(Window)
FarmManager = self.Modules.FarmManager
FireRemote = Module.FireRemote
AddToggle = Plugin.Toggle
Window:(Tabs.MainFarm)
Window:({
Button = { Image = Logo1, BackgroundTransparency = },
Corner = { CornerRadius = .(, ) }
})
Tabs.Discord:({
Name = ,
Description = ,
Logo = Logo2,
Invite = Discord
})
Main = Tabs.MainFarm
UIScales = { Large = , Medium = , Small = }
SetScale = (Value)
Library:(UIScales[Value] )
TradeBones = (Value)
_ENV.TradeBones = Value
_ENV.TradeBones .()
Module:() >=
(, , , )
.()
BossDropdown;
UpdateBosses = ()
List = {}
Boss,_ (Module.Bosses)
Module.(Boss)
.(List, Boss)
BossDropdown:(List)
AddChristmasTimer = ()
str =
Paragraph = Main:({str})
TextLabel = .Countdown.SurfaceGui.TextLabel
TextLabel:():(()
Text = TextLabel.Text
Paragraph:(Text)
Text ~=
split = Text:()
time =
i = , #split
split[i] = (split[i])
time = time + (split[] >= (split[] * ) ) + split[]
_ENV.StartingChristmasEvent = time <=
_ENV.StartingChristmasEvent =
)
Main:({, {, , }, , {Settings, }, })
Main:({, {, , }, , SetScale, })
Main:()
(Main, {, }, )
(Main, {, }, )
Module.Sea ==
Module.Sea ==
(Main, {, }, )
Main:()
(Main, {}, )
Module.Sea ==
(Main, {, }, )
Main:()
(Main, {}, )
(Main, {}, )
Main:({, , TradeBones})
Module.Christmas :()
Main:()
(AddChristmasTimer)
Level.Value >= Module.MaxLevel
(Main, {}, )
(Main, {}, )
Main:()
(Main, {}, )
Main:()
Main:({, UpdateBosses})
BossDropdown = Main:({, {}, , {Settings, }, })()
(Main, {, }, )
(Main, {, }, )
Main:({, , {Settings, }, })
Main:()
Main:({, FarmManager.Materials, , {Settings, }, })
(Main, {, }, )
Main:()
Main:({, , , , , {Settings, }, })
Main:({, {, }, {}, {Settings, }, })
(Main, {}, )
Main:()
Main:({, , {Settings, }, })
Main:({, , {Settings, }, })
Main:({, , {Settings, }, })
Main:({, , {Settings, }, })
Main:({, , {Settings, }, })
Sea = Tabs.Sea
Module.Sea ==
Sea:()
Module.Sea ==
enemyList = {, }
listSkills = {, , , , }
defSkills = {, , , }
Sea:({})
(Sea, {}, )
Sea:({})
Sea:({, enemyList, enemyList, {Settings, }, , MultiSelect = })
Sea:({, listSkills, defSkills, {Settings, }, , MultiSelect = })
Sea:()
Sea:({, , , , , {Settings, }, })
Module.Sea ==
FishList = {, , , , }
npcList = {, , , }
BoatList = {, , }
seaLevels = {, , , , , , }
listSkills = {, , , , }
defSkills = {, , , }
npcsLocations = {
[] = .(-, , ),
[] = .(-, , ),
[] = .(-, , ),
[] = .(-, , )
}
AddKistuneStats = ()
Paragraph = Sea:({})
.(()
.()
Map:()
Distance = .(Player:(Map.KitsuneIsland.WorldPivot.Position) / )
Paragraph:( .. Distance)
Paragraph:()
Map.ChildAdded:()
)
TradeAzure = (Value)
_ENV.TradeAzure = Value
_ENV.TradeAzure .()
Module:() >= Settings.Azure
ReplicatedStorage.Modules.Net[]:()
teleportNpc = (Value)
_ENV.teleporting = Value
_ENV.teleporting .()
Settings.selectedNpc
(npcsLocations[Settings.selectedNpc])
stopNpcTeleport = (Value)
Value
self, Magnitude = self.Modules.PlayerTeleport, .huge
.()
self.lastPosition
Magnitude = Player:(self.lastPosition)
_ENV.teleporting (Magnitude < )
_ENV.teleporting =
Sea:()
()
Sea:({, , , , , {Settings, }, })
Sea:({, , TradeAzure})
(Sea, {}, )
Sea:()
(Sea, {}, )
Sea:()
Sea:({, FishList, FishList, {Settings, }, , MultiSelect = })
Sea:({, BoatList, BoatList, {Settings, }, , MultiSelect = })
Sea:({, listSkills, defSkills, {Settings, }, , MultiSelect = })
Sea:()
Sea:({, seaLevels, , {Settings, }, })
Sea:({, , , , , {Settings, }, })
Sea:()
Sea:({, npcList, , {Settings, }})
Sea:({, , teleportNpc}):(stopNpcTeleport)
Race = Tabs.RaceV4
Module.Sea ==
Race:()
(Race, {}, )
(Race, {}, )
(Race, {}, )
Race:()
Stats = Tabs.Stats
Level.Value < Module.MaxLevel
Selected, StatsName = {}, {, , , , }
Points = Data:()
StatsFolder = Data:()
AutoStats = (Value)
_ENV.AutoStats = Value
.() _ENV.AutoStats
Points = Points.Value
Points >
Tag, Enabled (Selected)
Enabled StatsFolder[Tag].Level.Value < Module.MaxLevel
Amount = .(.(Settings.StatsPoints , , Points), , Module.MaxLevel)
(, Tag, Amount)
AddStatsToggle = (_, Name)
Stats:({Name, , {Selected, Name}, .. Name})
Stats:({, , , , , {Settings, }, })
Stats:({, , AutoStats, })
Stats:()
.(StatsName, AddStatsToggle)
Stats:()
Items = Tabs.Items
Module.Sea ==
Items:()
(Items, {, }, )
(Items, {, }, )
Items:()
(Items, {, }, )
(Items, {, }, )
(Items, {, }, )
(Items, {, }, )
Items:()
(Items, {, }, )
(Items, {, }, )
Items:()
(Items, {, }, )
Module.Sea ==
LegendarySword = (Value)
_ENV.LegendSword = Value
.() _ENV.LegendSword
Sword = (, )
(Sword) ==
Module.Unlocked[Sword]
.(*)
(, )
(, )
.()
Items:()
(Items, {, }, )
(Items, {, }, )
Items:()
(Items, {, }, )
(Items, {, }, )
Items:()
(Items, {, }, )
Items:({, , {Settings, }, ;
Desc = crochip"
})
Items:AddSection("Legendary Sword")
Items:AddToggle({"Auto Buy Legendary Sword", false, LegendarySword, "LegendSword";
Desc = "Automatically purchases Legendary Swords when available"
})
Items:AddSection("Race")
AddToggle(Items, {"Auto Race V2", "Automatically evolves the Race to V2"}, "RaceV2")
AddToggle(Items, {"Auto Race V3", "Mink, Human & Shark"}, "RaceV3")
elseif Module.Sea == 1 then
Items:AddSection("Second Sea")
AddToggle(Items, {"Auto Second Sea", "Automatically unlocks access to the Second Sea"}, "SecondSea")
Items:AddSection("Swords")
AddToggle(Items, {"Auto Unlock Saber", "Automatically unlocks the Saber Sword"}, "Saber")
AddToggle(Items, {"Auto Pole V1", "Kill Thunder God"}, "PoleV1")
AddToggle(Items, {"Auto Saw Sword", "Kill The Saw"}, "TheSaw")
end
end
local Fruits = Tabs.FruitRaid do
local CanStore = function(FruitName)
local Item = Module.Inventory[FruitName]
if Item then
return Item.details.Count < Data.FruitCap.Value
end
return true
end
local IsFruit = function(child)
return child:FindFirstChild("Fruit")
end
local store = function(Fruit)
local FruitName = (Fruit.Name:gsub(" Fruit", ""))
FruitName = (FruitName .. "-" .. FruitName)
if CanStore(FruitName) then
Module.FireRemote("StoreFruit", FruitName, Fruit)
return true
end
return false
end
local AutoStore = function(Value)
_ENV.AutoStore = Value
while _ENV.AutoStore do task.wait(0.25)
local Character = Player.Character
if Module.IsAlive(Character) then
for _,child in ipairs(Player.Backpack:GetChildren()) do
if child:IsA("Tool") and IsFruit(child) then
store(child)
end
end
for _,child in ipairs(Character:GetChildren()) do
if child:IsA("Tool") and IsFruit(child) then
store(child)
end
end
else
-- Player.CharacterAdded:Wait()
end
end
end
local RandomFruit = function(Value)
_ENV.AutoRandomFruit = Value
while _ENV.AutoRandomFruit do task.wait(1)
if Level.Value >= 50 then
Module.FireRemote("Cousin", "Buy")
else
Level.Changed:Wait()
end
end
end
Fruits:AddSection("Fruits")
Fruits:AddToggle({"Auto Store Fruits", false, AutoStore, "F-AutoStore"})
AddToggle(Fruits, {"Teleport To Fruits"}, "Fruits")
Fruits:AddToggle({"Auto Random Fruit", false, RandomFruit, "F-RandomFruit"})
Fruits:AddSection("Raid")
if Module.Sea ~= 2 and Module.Sea ~= 3 then
Fruits:AddParagraph({"Only on Sea 2 and 3"})
else
local RaidChip = function(Value)
_ENV.BuyRaidChip = Value
while _ENV.BuyRaidChip do task.wait()
if not VerifyTool("Special Microchip") then
if not _ENV.AutoStore and Settings.SelectedChip then
Module.FireRemote("RaidsNpc", "Select", Settings.SelectedChip)
task.wait(1)
end
else
task.wait(1)
end
end
end
Fruits:AddDropdown({"Select Chip", Module.RaidList, "", {Settings, "SelectedChip"}, "R-RaidChip"})
AddToggle(Fruits, {"Auto Farm Raid", "Kill Aura, Start & Awaken"}, "Raid")
Fruits:AddToggle({"Auto Buy Chip", false, RaidChip, "R-BuyChip"})
end
end
local Teleport = Tabs.Teleport do
local Toggle = nil;
local Islands = ({
{
"WindMill", "Marine", "Middle Town",
"Jungle", "Pirate Village", "Desert",
"Snow Island", "MarineFord", "Colosseum",
"Sky Island 1", "Sky Island 2", "Sky Island 3",
"Prison", "Magma Village", "Under Water Island",
"Fountain City"
},
{
"The Cafe", "Frist Spot", "Dark Area",
"Flamingo Mansion", "Flamingo Room", "Green Zone",
"Zombie Island", "Two Snow Mountain", "Punk Hazard",
"Cursed Ship", "Ice Castle", "Forgotten Island",
"Ussop Island"
},
{
"Mansion", "Port Town", "Great Tree",
"Castle On The Sea", "Hydra Island", "Floating Turtle",
"Haunted Castle", "Ice Cream Island", "Peanut Island",
"Cake Island", "Candy Cane Island", "Tiki Outpost"
}
})[Module.Sea]
local IslandsPos = {
["Middle Town"] = CFrame.new(-688, 15, 1585),
["MarineFord"] = CFrame.new(-4810, 21, 4359),
["Marine"] = CFrame.new(-2728, 25, 2056),
["WindMill"] = CFrame.new(889, 17, 1434),
["Desert"] = CFrame.new(1054, 53, 4490),
["Snow Island"] = CFrame.new(1298, 87, -1344),
["Pirate Village"] = CFrame.new(-1173, 45, 3837),
["Jungle"] = CFrame.new(-1614, 37, 146),
["Prison"] = CFrame.new(4870, 6, 736),
["Under Water Island"] = CFrame.new(61164, 5, 1820),
["Colosseum"] = CFrame.new(-1535, 7, -3014),
["Magma Village"] = CFrame.new(-5290, 9, 8349),
["Sky Island 1"] = CFrame.new(-4814, 718, -2551),
["Sky Island 2"] = CFrame.new(-4652, 873, -1754),
["Sky Island 3"] = CFrame.new(-7895, 5547, -380),
["Fountain City"] = CFrame.new(5041, 1, 4101),
["The Cafe"] = CFrame.new(-382, 73, 290),
["Frist Spot"] = CFrame.new(-11, 29, 2771),
["Dark Area"] = CFrame.new(3494, 13, -3259),
["Flamingo Mansion"] = CFrame.new(-317, 331, 597),
["Flamingo Room"] = CFrame.new(2285, 15, 905),
["Green Zone"] = CFrame.new(-2258, 73, -2696),
["Zombie Island"] = CFrame.new(-5552, 194, -776),
["Two Snow Mountain"] = CFrame.new(752, 408, -5277),
["Punk Hazard"] = CFrame.new(-5897, 18, -5096),
["Cursed Ship"] = CFrame.new(919, 125, 32869),
["Ice Castle"] = CFrame.new(5505, 40, -6178),
["Forgotten Island"] = CFrame.new(-3050, 240, -10178),
["Ussop Island"] = CFrame.new(4816, 8, 2863),
["Mansion"] = CFrame.new(-12471, 374, -7551),
["Port Town"] = CFrame.new(-334, 7, 5300),
["Castle On The Sea"] = CFrame.new(-5073, 315, -3153),
["Hydra Island"] = CFrame.new(5666, 1013, -310),
["Great Tree"] = CFrame.new(2683, 275, -7008),
["Floating Turtle"] = CFrame.new(-12528, 332, -8658),
["Haunted Castle"] = CFrame.new(-9517, 142, 5528),
["Ice Cream Island"] = CFrame.new(-902, 79, -10988),
["Peanut Island"] = CFrame.new(-2062, 50, -10232),
["Cake Island"] = CFrame.new(-1897, 14, -11576),
["Candy Cane Island"] = CFrame.new(-1038, 10, -14076),
["Tiki Outpost"] = CFrame.new(-16224, 9, 439)
}
local GoToIsland = function(Value)
_ENV.teleporting = Value
while _ENV.teleporting do task.wait()
if _ENV.SelectedIsland then
PlayerTP(IslandsPos[_ENV.SelectedIsland])
end
end
if Value and Toggle then
Toggle:Set(false, true)
end
end
local StopTween = function(Value)
if Value then
local self, Magnitude = self.Modules.PlayerTeleport, math.huge
repeat task.wait()
if self.lastPosition then
Magnitude = Player:DistanceFromCharacter(self.lastPosition)
end
until not _ENV.teleporting or (Magnitude < 15)
_ENV.teleporting = false
end
end
Teleport:AddSection("Travel")
Teleport:AddButton({"Teleport to Sea 1", function() Module.TravelTo(1) end, Desc = "Main"})
Teleport:AddButton({"Teleport to Sea 2", function() Module.TravelTo(2) end, Desc = "Dressrosa"})
Teleport:AddButton({"Teleport to Sea 3", function() Module.TravelTo(3) end, Desc = "Zou"})
Teleport:AddSection("Islands")
Teleport:AddDropdown({"Select Island", Islands, "", {_ENV, "SelectedIsland"}})
Toggle = Teleport:AddToggle({"Teleport To Island", false, GoToIsland}):Callback(StopTween)
end
local Visual = Tabs.Visual do
local EspManager = self.Modules.EspManager
local EspColors = {
Players = Color3.fromRGB(220, 220, 220),
Fruits = Color3.fromRGB(255, 0, 0),
Islands = Color3.fromRGB(0, 255, 255),
Chests = {
Chest1 = Color3.fromRGB(150, 150, 150),
Chest2 = Color3.fromRGB(255, 255, 0),
Chest3 = Color3.fromRGB(0, 255, 255),
Null = Color3.fromRGB(150, 0, 255)
}
}
local Esps = {
Players = EspManager.new("Player", Characters, function(Obj)
if Obj ~= Player.Character then
return true, EspColors.Players
end
end),
Chests = EspManager.new("Chest", workspace, function(Obj)
if Obj.Name:find("Chest") then
return true, EspColors.Chests[Obj.Name] or EspColors.Chests.Null
end
end),
Islands = EspManager.new("Island", Locations, function(Obj)
if Obj.Name ~= "Sea" then
return true, EspColors.Islands
end
end),
Fruits = EspManager.new("Fruit", workspace, function(Obj)
if Obj.Name:find("Fruit") and Obj:FindFirstChild("Handle") then
return true, EspColors.Fruits
end
end),
Flowers = EspManager.new("Flower", workspace, function(Obj)
if Obj:IsA("BasePart") and Obj.Name:find("Flower") then
return true, Obj.Color
end
end)
}
--[[Visual:AddSection("Aimbot Nearest")
Visual:AddToggle({"Aimbot Gun", false, {_ENV, "AimBot_Gun"}})
Visual:AddToggle({"Aimbot Tap", false, {_ENV, "AimBot_Tap"}})
Visual:AddToggle({"Aimbot Skills", false, {_ENV, "AimBot_Skills"}})
Visual:AddToggle({"Ignore Mobs", true, {Settings, "NoAimMobs"}})]]
Visual:AddSection("ESP")
if Module.Sea == 2 then Visual:AddToggle({"ESP Flowers", false, {Esps.Flowers, "Enabled"}}) end
Visual:AddToggle({"ESP Players", false, {Esps.Players, "Enabled"}})
Visual:AddToggle({"ESP Fruits", false, {Esps.Fruits, "Enabled"}})
Visual:AddToggle({"ESP Chests", false, {Esps.Chests, "Enabled"}})
Visual:AddToggle({"ESP Islands", false, {Esps.Islands, "Enabled"}})
end
local Shop = Tabs.Shop do
for _, Option in ipairs(Module.Shop) do
Shop:AddSection(Option[1])
for _, item in ipairs(Option[2]) do
local buyfunc = item[2]
if type(item[2]) == "table" then
buyfunc = function() FireRemote(unpack(item[2])) end
end
Shop:AddButton({item[1], buyfunc})
end
end
end
local Misc = Tabs.Misc do
local ExecClipboard = function()
loadstring((getclipboard or fromclipboard)())()
end
local JobIdFilter = function(JobId)
return string.gsub(JobId:gsub("`", ""), "\n", "")
end
local JoinJobId = function(JobId)
TeleportService:TeleportToPlaceInstance(game.PlaceId, JobId, Player)
end
local JoinClipboard = function()
JoinJobId((getclipboard or fromclipboard)())
end
local WS_Toggle, WS_Slider
local ToggleWalkSpeed = function(Value)
if Value then Module.Hooking:SpeedBypass() end
_ENV.WalkSpeedBypass, WS_Toggle = (Value and WS_Slider) or false, Value
end
local ChangeWalkSpeed = function(Value)
_ENV.WalkSpeedBypass, WS_Slider = (WS_Toggle and Value) or false, Value
end
local WalkWater = function(Value)
_ENV.WalkOnWater = Value
local BasePlate = Map:WaitForChild("WaterBase-Plane", 9e9)
while _ENV.WalkOnWater do task.wait(0.1)
BasePlate.Size = Vector3.new(1000, 113, 1000)
end
BasePlate.Size = Vector3.new(1000, 80, 1000)
end
local AntiAfk = function(Value)
_ENV.AntiAFK = Value
while _ENV.AntiAFK do
VirtualUser:CaptureController()
VirtualUser:ClickButton1(Vector2.new(math.huge, math.huge))task.wait(600)
end
end
if IsOwner then
Misc:AddSection("Executor")
Misc:AddButton({"Execute Clipboard", ExecClipboard})
end
if Module.JobIds then
Misc:AddSection("Join Server")
Misc:AddTextBox({"Input Job Id", "1", false, JoinJobId, "JobId"}).OnChanging = JobIdFilter
Misc:AddButton({"Join Clipboard", JoinClipboard})
end
Misc:AddSection("Settings")
Misc:AddSlider({"Farm Distance", 5, 30, 1, 15, function(Value)
Settings.FarmPos = Vector3.new(0, Value, 0)
Settings.FarmDistance = Value
end, "S-Distance"})
Misc:AddSlider({"Tween Speed", 50, 300, 5, 200, {Settings, "TweenSpeed"}, "S-TweenSpeed"})
Misc:AddSlider({"Bring Mobs Distance", 50, 400, 10, 250, {Settings, "BringDistance"}, "S-BringDistance"})
Misc:AddSlider({"Auto Attack Delay", 0, 1, 0.01, 0.201, {Settings, "ClickDelay"}, "S-ClickDelay"})
Misc:AddToggle({"Bring Mobs", true, {Settings, "BringMobs"}, "S-BringMobs"})
Misc:AddToggle({"Auto Haki", true, {Settings, "AutoBuso"}, "S-AutoBuso"})
Misc:AddToggle({"Auto Attack", true, {Settings, "AutoClick"}, "S-AutoClick"})
-- Misc:AddToggle({"Fast Attack", true, {Settings, "FastAttack"}, "S-FastAttack"})
Misc:AddSection("Codes")
Misc:AddButton({"Redeem all Codes", RedeemCodes})
Misc:AddSection("Team")
Misc:AddButton({"Join Pirates Team", JoinTeam.Pirates})
Misc:AddButton({"Join Marines Team", JoinTeam.Marines})
Misc:AddSection("Menu")
Misc:AddButton({"Devil Fruit Shop", function()
FireRemote("GetFruits")
Player.PlayerGui.Main.FruitShop.Visible = true
end})
Misc:AddButton({"Titles", function()
FireRemote("getTitles")
Player.PlayerGui.Main.Titles.Visible = true
end})
Misc:AddButton({"Haki Color", function()
Player.PlayerGui.Main.Colors.Visible = true
end})
Misc:AddSection("Local-Player")
Misc:AddToggle({"Walk Speed", false, ToggleWalkSpeed, "M-WalkSpeed:A"})
Misc:AddSlider({"Walk Speed", 10, 300, 5, 150, ChangeWalkSpeed, "M-WalkSpeed:B"})
Misc:AddSection("Visual")
Misc:AddButton({"Remove Fog", NoFog})
Misc:AddSection("More FPS")
Misc:AddToggle({"Remove Damage", false, function(Value)
ReplicatedStorage.Assets.GUI.DamageCounter.Enabled = not Value
end, "M-DamageCounter"})
Misc:AddToggle({"Remove Notifications", false, function(Value)
Player.PlayerGui.Notifications.Enabled = not Value
end, "M-Notifications"})
Misc:AddSection("Others")
Misc:AddToggle({"Walk On Water", true, WalkWater, "M-WalkOnWater"})
Misc:AddToggle({"Anti AFK", true, AntiAfk, "M-AntiAFK"})
end
end
function Loader:StartFarm()
if not _ENV.loadedFarm then
_ENV.loadedFarm = true
loadstring([[local w,e,f=task.wait,(getgenv or getrenv or getfenv)(),...;task.spawn(function()while w() do local b=false;for i,v in f do if v() then b=true;break end;end;e.OnFarm=(e.teleporting or b);end;end)]])(FarmFunctions)
end
end
function Loader:StartFunctions()
table.clear(Functions)
local index = {}
local newFunc = function(Name, Function, cancel)
if cancel == false then
return nil
end
index[Name] = Function
table.insert(Functions, { Name = Name, Function = Function })
end
local IslandManager = self.Modules.IslandManager
local QuestManager = self.Modules.QuestManager
local FarmManager = self.Modules.FarmManager
local RaidManager = self.Modules.RaidManager
local SeaManager = self.Modules.SeaManager
local CDKPuzzle = self.Modules.CDKPuzzle
local Tween = self.Modules.PlayerTeleport
local Sea = Module.Sea
local IsAlive = Module.IsAlive
local Inventory = Module.Inventory
local Unlocked = Module.Unlocked
local EquipTool = Module.EquipTool
local FireRemote = Module.FireRemote
local IsSpawned = Module.IsSpawned
local Enemies = Module.EnemySpawned
local EnemyLocations = Module.EnemyLocations
local Elites = FarmManager.Enemies.Elites
local Bones = FarmManager.Enemies.Bones
local Katakuri = FarmManager.Enemies.Katakuri
local Ectoplasm = FarmManager.Enemies.Ectoplasm
local Attack = FarmManager.attack
local PirateRaidSpawn = CFrame.new(-5556, 300, -2988)
local EctoplasmSpawn = CFrame.new(914, 126, 33100)
local RipIndraSpawn = CFrame.new(-5561, 314, -2663)
local KatakuriSpawn = CFrame.new(-2103, 70, -12165)
local SweetChalice = CFrame.new(224, 25, -12771)
local DarkbeardSpawn = CFrame.new(3779, 16, -3500)
local EliteQuest = CFrame.new(-5417, 313, -2822)
local BonesSpawn = CFrame.new(-9513, 164, 5786)
local ShanksSpawn = CFrame.new(-1461, 30, -51)
local DojoTrainer = CFrame.new(5867, 1208, 872)
local HunterLocation = CFrame.new(5864, 1209, 810)
local YamaSword = CFrame.new(5251, 20, 454)
local ThunderGod = CFrame.new(-7739, 5657, -2289)
local TheSaw = CFrame.new(-690, 15, 1583)
local ThirdSea = CFrame.new(-26952, 21, 329)
local Bartilo = CFrame.new(-462, 73, 300)
local DonSwan = CFrame.new(2289, 15, 808)
local Alchemist = CFrame.new(-2777, 73, -3570)
local Wenlocktoad = CFrame.new(-1988, 124, -70)
local RF_InteractDragonQuest = Net:WaitForChild("RF/InteractDragonQuest")
local RE_DragonDojoEmber = Net:WaitForChild("RE/DragonDojoEmber")
local RF_DragonHunter = Net:WaitForChild("RF/DragonHunter")
local QuestUpdate = Remotes:WaitForChild("QuestUpdate")
local cachedBoss = nil;
local DangerCooldown = 0;
local DragonHunterProgress = nil;
local DojoTrainerProgress = nil;
local CachedNearest = nil;
local CachedTree = nil;
local Completed = {}
local Dragon = {
DojoClaim = { NPC = "Dojo Trainer", Command = "ClaimQuest" },
DojoProgress = { NPC = "Dojo Trainer", Command = "RequestQuest" },
RequestQuest = { Context = "RequestQuest" },
Check = { Context = "Check" },
TresSkills = {Z=true,X=true,C=true,V=true}
}
local RaceV3 = {
Human = {"Fajita", "Diamond", "Jeremy"}
}
local PlacesColors = {
["Really red"] = "Pure Red",
["Oyster"] = "Snow White",
["Hot pink"] = "Winter Sky"
}
local ChristmasIslands = {
CFrame.new(-1076, 14, -14437),
CFrame.new(-5219, 15, 1532),
CFrame.new(1007, 15, -3805)
}
local GetChristmasGift = function()
for _,Gift in ipairs(WorldOrigin:GetChildren()) do
if Gift.Name == "Present" then
if Gift:FindFirstChild("Box") and Gift.Box:FindFirstChild("ProximityPrompt") then
return Gift
end
end
end
end
local GetNextBoss = function()
if cachedBoss and IsSpawned(cachedBoss) then
return cachedBoss
end
for _, Name in ipairs(Module.BossesName) do
if IsSpawned(Name) then
cachedBoss = Name
return Name
end
end
end
local PlacesActivated = function()
local Places = workspace.Map["Boat Castle"].Summoner.Circle
for _, Place in ipairs(Places:GetChildren()) do
if Place:IsA("BasePart") and Place.Part.BrickColor ~= BrickColor.new("Lime green") then
local HakiColor = PlacesColors[Place.BrickColor.Name]
local Position = Place.Position
if HakiColor then
PlayerTP(Place.CFrame)
if Player:DistanceFromCharacter(Position) < 10 then
ReplicatedStorage.Modules.Net:FindFirstChild("RF/FruitCustomizerRF"):InvokeServer({
StorageName = HakiColor,
Type = "AuraSkin",
Context = "Equip"
})
end
end
return false
end
end
return true
end
local CollectYama = function()
fireclickdetector(Map.Waterfall.SealedKatana.Hitbox.ClickDetector)
end
local KillBossByInfo = function(Information, Name)
local Quest = Information.Quest
if Settings.BossQuest and Quest then
if Level.Value >= Information.Level and not QuestManager:VerifyQuest(Name) then
QuestManager:StartQuest(Quest[1], Quest[3] or 3, Quest[2])
return true
end
end
local Enemy = Enemies(Name)
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
return true
elseif Information.Position then
PlayerTP(Information.Position)
return true
end
end
local GetEmberTemplate = function()
local Distance, Nearest = math.huge
for _, Fire in ipairs(workspace:GetChildren()) do
if Fire.Name == "EmberTemplate" and Fire:FindFirstChild("Part") then
if Fire.Part.Position.Y > 0 then
local Magnitude = Player:DistanceFromCharacter(Fire.Part.Position)
if Magnitude < Distance then
Distance, Nearest = Magnitude, Fire.Part
end
end
end
end
return Nearest
end
local BuyMicrochip = function()
if Fragments.Value >= 1000 and not VerifyTool("Microchip") then
FireRemote("BlackbeardReward", "Microchip", "2")
local time = tick()
repeat task.wait() until VerifyTool("Microchip") or (tick() - time) > 5
end
end
local GetHydraTree = function()
if CachedTree and CachedTree.Parent then
return CachedTree
end
local Trees = Map.Waterfall.IslandModel:GetChildren()
for _, Tree in ipairs(Trees) do
if Tree:IsA("Model") and Tree.Name == "Tree" then
local Group = Tree:FindFirstChild("Group")
local Mesh = Group:FindFirstChild("Meshes/bambootree")
if Mesh and Mesh.Anchored then
CachedTree = Mesh
return Mesh
end
end
end
end
local BreakHydraTrees = function()
local Tree = GetHydraTree()
PlayerTP(Tree.CFrame)
return true
end
newFunc("Tushita", function()
if Unlocked.Tushita then
local Enemy = Enemies("rip_indra True Form")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
return true
end
return nil
end
local Progress = Data:GetProgress("Tushita", "TushitaProgress")
if Progress.OpenedDoor then
local Enemy = Enemies("Longma")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
return true
end
end
if VerifyTool("Holy Torch") then
for i = 1, 5 do FireRemote("TushitaProgress", "Torch", i) end
return true
end
if IsSpawned("rip_indra True Form") then
PlayerTP(CFrame.new(5152, 142, 912))
return true
end
end, (Sea == 3))
newFunc("Darkbeard", function()
local Enemy = Enemies("Darkbeard")
if Enemy and Enemy.PrimaryPart then
if Enabled.Sea then noSit() end
Attack(Enemy)
return true
elseif VerifyTool("Fist of Darkness") then
if Enabled.Sea then noSit() end
EquipTool("Fist of Darkness")
PlayerTP(DarkbeardSpawn)
return true
end
end, (Sea == 2))
newFunc("CursedCaptain", function()
local Enemy = Enemies("Cursed Captain")
if Enemy and Enemy.PrimaryPart then
if Enabled.Sea then noSit() end
Attack(Enemy)
return true
end
end, (Sea == 2))
newFunc("Factory", function()
local Enemy = Enemies("Core")
if Enemy and Enemy.PrimaryPart then
if Enabled.Sea then noSit() end
FarmManager.attackPosition(Enemy.PrimaryPart.CFrame)
return true
end
end, (Sea == 2))
newFunc("CursedDualKatana", function()
CDKPuzzle:UpdateProgress()
CDKPuzzle:CursedDualKatana()
end, (Sea == 3))
newFunc("ChristmasGift", function()
if not _ENV.StartingChristmasEvent then
return nil
end
local Gift = GetChristmasGift()
if Gift and Gift.PrimaryPart then
if Player:DistanceFromCharacter(Gift.PrimaryPart.Position) < 5 then
fireproximityprompt(Gift.Box.ProximityPrompt)
else
PlayerTP(Gift.PrimaryPart.CFrame)
end
else
PlayerTP(ChristmasIslands[Sea])
end
return true
end)
newFunc("Raid", function()
if RaidManager:IsRaiding() then
local NextIsland = Module:GetRaidIsland()
if NextIsland then
PlayerTP(NextIsland.CFrame + Vector3.new(0, 70, 0))
Module.KillAura()
end
return true
end
if VerifyTool("Special Microchip") then
RaidManager:start()
return true
end
end, (Sea == 2 or Sea == 3))
newFunc("PirateRaid", function()
if (tick() - Module.PirateRaid) <= 10 then
for _, Enemy in ipairs(Module.PirateRaidEnemies) do
if IsAlive(Enemy) and Enemy.PrimaryPart then
Attack(Enemy)
return true
end
end
PlayerTP(PirateRaidSpawn)
return true
end
end, (Sea == 3))
newFunc("Fruits", function()
local Fruit = workspace:FindFirstChild("Fruit ")
if Fruit and Fruit:FindFirstChild("Handle") then
PlayerTP(Fruit.Handle.CFrame)
return true
else
local Tool = workspace:FindFirstChildOfClass("Tool")
if Tool and Tool:FindFirstChild("Handle") then
PlayerTP(Tool.Handle.CFrame)
return true
end
end
end)
newFunc("DojoTrainer", function()
local Progress = DojoTrainerProgress
local Quest = Progress and Progress.Quest
if Quest and Quest.Progress >= Quest.Goal then
if Player:DistanceFromCharacter(DojoTrainer.Position) <= 5 then
RF_InteractDragonQuest:InvokeServer(Dragon.DojoProgress)
RF_InteractDragonQuest:InvokeServer(Dragon.DojoClaim)
else
PlayerTP(DojoTrainer)
end
end
if not Progress then
if Player:DistanceFromCharacter(DojoTrainer.Position) <= 5 then
DojoTrainerProgress = RF_InteractDragonQuest:InvokeServer(Dragon.DojoProgress)
else
PlayerTP(DojoTrainer)
end
return true
end
if Quest then
local QuestName = Quest.BeltName
if QuestName == "Admittance" then
return index.Level()
elseif QuestName == "Yellow" then
return index.Sea()
elseif QuestName == "Purple" then
return index.EliteHunter()
elseif QuestName == "Blue" then
return index.Fruits()
elseif QuestName == "Green" then
if Player:GetAttribute("DangerLevel") >= 500 and (tick() - DangerCooldown) >= 1 then
Quest.Progress = Quest.Progress + 1
DangerCooldown = tick()
end
local Boat = SeaManager:GetPlayerBoat()
if Boat then
SeaManager:RandomTeleport("inf")
else
SeaManager:BuyNewBoat()
end
return true
elseif QuestName == "Orange" then
return false
end
end
end, (Sea == 3))
newFunc("DragonHunter", function()
if DragonHunterProgress == "Locked" then
return nil
end
local Ember = GetEmberTemplate()
if Ember then
PlayerTP(Ember.CFrame)
return true
end
if not DragonHunterProgress or not DragonHunterProgress.Text then
if Player:DistanceFromCharacter(HunterLocation.Position) < 5 then
DragonHunterProgress = RF_DragonHunter:InvokeServer(Dragon.Check)
if DragonHunterProgress and not DragonHunterProgress.Text then
RF_DragonHunter:InvokeServer(Dragon.RequestQuest)
end
else
PlayerTP(HunterLocation)
end
return true
end
local Text = DragonHunterProgress.Text
if Text:find("Defeat") then
local Name = Text:find("Venomous") and "Venomous Assailant" or "Hydra Enforcer"
local Enemy = Enemies(Name)
local Position = EnemyLocations[Name]
if Enemy and Enemy.PrimaryPart then
Attack(Enemy, true)
elseif Position then
Tween:NPCs(Position)
end
return true
elseif Text:find("Destroy") then
return BreakHydraTrees()
end
end, (Sea == 3))
newFunc("MirageFruitDealer", function()
if Map:FindFirstChild("MysticIsland") then
local FruitDealer = IslandManager:GetMirageFruitDealer()
if FruitDealer and FruitDealer.PrimaryPart then
PlayerTP(FruitDealer.PrimaryPart.CFrame)
return true
end
end
end, (Sea == 3))
newFunc("MirageGear", function()
local Mirage = Map:FindFirstChild("MysticIsland")
if Mirage then
local MirageGear = IslandManager:GetMirageGear(Mirage)
if MirageGear and MirageGear.Transparency < 1 then
PlayerTP(MirageGear.CFrame)
return true
end
end
end, (Sea == 3))
newFunc("TeleportMirage", function()
local Mirage = Map:FindFirstChild("MysticIsland")
if Mirage then
local MirageTop = IslandManager:GetMirageTop(Mirage)
if MirageTop then
PlayerTP(MirageTop.CFrame * CFrame.new(0, 211.8, 0))
end
end
end, (Sea == 3))
newFunc("KitsuneIsland", function()
local Island = Map:FindFirstChild("KitsuneIsland")
if Island then
noSit()
local Ember = GetEmberTemplate()
if Ember then
PlayerTP(Ember.CFrame)
return true
end
local Stone = Island:FindFirstChild("ShrineDialogPart")
if Stone then
PlayerTP(Stone.CFrame)
else
PlayerTP(Island.WorldPivot)
end
end
local Boat = SeaManager:GetPlayerBoat()
if not Boat then
SeaManager:BuyNewBoat()
return true
else
SeaManager:RandomTeleport("6")
return true
end
end)
newFunc("Bartilo", function()
if Level.Value < 850 or Unlocked["Warrior Helmet"] then
return nil
end
local Progress = Module:GetProgress("Bartilo", "BartiloQuestProgress")
if Progress.KilledSpring then
FireRemote("BartiloQuestProgress", "DidPlates")
elseif Progress.KilledBandits then
if Module.IsAlive("Jeremy") then
local Enemy = Enemies("Jeremy")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
else
PlayerTP(CFrame.new(2316, 449, 787))
end
return true
end
elseif not Progress.KilledBandits then
local HasQuest = (Quest:VerifyQuest("Swan Pirate") and Quest:VerifyQuest("50"))
if HasQuest then
local Enemy = Enemies("Swan Pirate")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
elseif EnemyLocations["Swan Pirate"] then
Tween:NPCs(EnemyLocations["Swan Pirate"])
end
else
QuestManager:StartQuest("BartiloQuest", 1, Bartilo)
end
return true
end
end, (Sea == 2))
newFunc("RaceV2", function()
if Level.Value < 850 or Unlocked["Warrior Helmet"] or Data.Race:FindFirstChild("Evolved") then
return nil
end
local Progress = Module:GetData("RaceV2", "Alchemist", "1")
if Progress == 0 or Progress == 2 then
if Player:DistanceFromCharacter(Alchemist.Position) < 5 then
FireRemote("Alchemist", Progress == 0 and "2" or "3")
else
PlayerTP(Alchemist)
end
return true
elseif Progress == 1 then
for i = 1, 2 do
local Flower = workspace:FindFirstChild("Flower" .. i)
if Flower and Flower.Transparency ~= 1 and not VerifyTool("Flower " .. i) then
PlayerTP(Flower.CFrame)
return true
end
end
if not VerifyTool("Flower 3") then
local Enemy = Enemies("Swan Pirate")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
elseif EnemyLocations["Swan Pirate"] then
Tween:NPCs(EnemyLocations["Swan Pirate"])
end
end
end
end, (Sea == 2))
newFunc("RaceV3", function()
if Completed.RaceV3 or not Data.Race:FindFirstChild("Evolved") then
return nil
end
local Progress = Module:GetProgress("RaceV3", "Wenlocktoad", "1")
if Progress == 3 then
Completed.RaceV3 = true
return nil
end
if Progress == 0 or Progress == 2 then
if Player:DistanceFromCharacter(Wenlocktoad.Position) < 5 then
FireRemote("Wenlocktoad", Progress == 0 and "2" or "3")
else
PlayerTP(Wenlocktoad)
end
return true
elseif Progress == 1 then
local Race = Data.Race.Value
if Race == "Shark" then
return index.Sea()
elseif Race == "Human" then
for _, Name in ipairs(RaceV3.Human) do
if IsSpawned(Name) then
return KillBossByInfo(Module.Bosses[Name], Name)
end
end
elseif Race == "Mink" then
return index.ChestTween()
end
end
end, (Sea == 2))
newFunc("Sea", function()
local Boat = SeaManager:GetPlayerBoat()
if not Boat then
SeaManager:BuyNewBoat()
return true
end
local EnabledOptions = Settings.seaEnemy
if not EnabledOptions then
return nil
end
if EnabledOptions["Pirate Brigade"] then
local PirateBrigade = SeaManager:GetSeaEvent("Pirate Brigade")
if PirateBrigade then
SeaManager:attackSeaEvent(PirateBrigade)
return true
end
end
if EnabledOptions["Sea Beast"] then
local SeaBeast = SeaManager:GetSeaBeast()
if SeaBeast then
SeaManager:attackSeaBeast(SeaBeast)
return true
end
end
if Boat then
SeaManager:RandomTeleport()
return true
end
end, (Sea == 2))
newFunc("Sea", function()
local Boat = SeaManager:GetPlayerBoat()
if not Boat then
SeaManager:BuyNewBoat()
return true
end
local EnabledBoats = Settings.boatSelected
local EnabledFishs = Settings.fishSelected
if EnabledFishs["Sea Beast"] then
local SeaBeast = SeaManager:GetSeaBeast()
if SeaBeast then
SeaManager:attackSeaBeast(SeaBeast)
return true
end
end
for Name, Enabled in pairs(EnabledFishs) do
if Enabled and Name ~= "Sea Beast" then
local Enemy = SeaManager:GetSeaEvent(Name)
if Enemy then
SeaManager:attackSeaEvent(Enemy)
return true
end
end
end
for Name, Enabled in pairs(EnabledBoats) do
if Enabled then
local Enemy = SeaManager:GetSeaEvent(Name)
if Enemy then
SeaManager:attackSeaEvent(Enemy)
return true
end
end
end
if Boat then
SeaManager:RandomTeleport()
return true
end
end, (Sea == 3))
newFunc("Yama", function()
if Unlocked.Yama then
return nil
end
if Module.Progress.EliteHunter >= 30 then
if Player:DistanceFromCharacter(YamaSword) < 5 then
pcall(CollectYama)
task.wait(1)
else
PlayerTP(YamaSword)
end
return true
end
end, (Sea == 3))
newFunc("EliteHunter", function()
local Quest = QuestManager:VerifyQuest(Elites)
if (Enabled.DoughKing or Enabled.CakePrince or Enabled.RipIndra) and ((
IsSpawned("rip_indra True Form") or IsSpawned("Dough King") or IsSpawned("Cake Prince")
) or (
VerifyTool("God's Chalice") or VerifyTool("Sweet Chalice")
)) then
return nil
end
if Quest then
local Elite = Enemies(Quest)
if Elite and Elite.PrimaryPart then
Attack(Elite)
return true
end
else
for i = 1, #Elites do
if IsSpawned(Elites[i]) then
PlayerTP(EliteQuest)
Tween:talkNpc(EliteQuest, "EliteHunter")
return true
end
end
end
end, (Sea == 3))
newFunc("ThirdSea", function()
if Level.Value < 1500 or Level.Value >= 1850 then
return nil
end
local Progress = Module:GetProgress("Zou1", "ZQuestProgress")
local Check = Completed.Zou2 or Module:GetProgress("Zou2", "ZQuestProgress", "Check")
if not Check then
local Unlocked = Module:GetProgress("Unlockables", "GetUnlockables").FlamingoAccess
if Unlocked then
return index.DonSwan()
end
return nil
elseif not Completed.Zou2 then
Completed.Zou2 = true
end
if Player:DistanceFromCharacter(ThirdSea) < 1200 then
local Enemy = EnemiesFolder:FindFirstChild("rip_indra")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
end
return true
end
if Progress.KilledIndraBoss then
return Module.TravelTo(3)
else
local NPC = CFrame.new(-1926, 13, 1738)
if Player:DistanceFromCharacter(NPC.Position).Magnitude < 5 then
FireRemote("ZQuestProgress", "Begin")
_ENV.OnFarm = false
repeat task.wait() until Player:DistanceFromCharacter(ThirdSea) < 250
return true
else
PlayerTP(NPC)
end
end
end, (Sea == 2))
newFunc("DonSwan", function()
if not Unlocked["Warrior Helmet"] then
return nil
end
if IsSpawned("Don Swan") then
local Enemy = Enemies("Don Swan")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
else
PlayerTP(DonSwan)
end
return true
end
end, (Sea == 2))
newFunc("SecondSea", function()
if Level.Value < 700 then
return nil
end
local Progress = Module:GetProgress("Dressrosa", "DressrosaQuestProgress")
if Progress.KilledIceBoss then
return Module.TravelTo(2)
end
if not Progress.TalkedDetective then
FireRemote("DressrosaQuestProgress","Detective")
elseif not Progress.UsedKey then
if not VerifyTool("Key") then FireRemote("DressrosaQuestProgress", "Detective") end
EquipTool("Key")
FireRemote("DressrosaQuestProgress", "UseKey")
elseif not Progress.KilledIceBoss then
local Enemy = Enemies("Ice Admiral")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
end
end
return true
end, (Sea == 1))
newFunc("Order", function()
local Enemy = EnemiesFolder:FindFirstChild("Order")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
return true
end
if VerifyTool("Microchip") then
return fireclickdetector(Map.CircleIsland.RaidSummon.Button.Main.ClickDetector)
end
if Settings.FullyLawRaid then
return BuyMicrochip()
end
end, (Sea == 2))
newFunc("Saber", function()
if Level.Value < 200 or Unlocked.Saber then
return nil
end
local Data = Module:GetProgress("Shanks", "ProQuestProgress")
if Data.UsedRelic then
if Module.IsSpawned("Saber Expert") then
local Enemy = Enemies("Saber Expert")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
else
PlayerTP(ShanksSpawn)
end
return true
end
elseif Data.KilledMob then
if VerifyTool("Relic") then
FireRemote("ProQuestProgress", "PlaceRelic")
else
FireRemote("ProQuestProgress", "RichSon")
end
return true
elseif Data.UsedCup then
if not Data.TalkedSon then
return FireRemote("ProQuestProgress", "RichSon")
end
if Module.IsSpawned("Mob Leader") then
local Enemy = Enemies("Mob Leader")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
else
PlayerTP(CFrame.new(-2880, 9, 5430))
end
return true
end
elseif Data.UsedTorch then
if VerifyTool("Cup") then
FireRemote("ProQuestProgress", "FillCup",
Player.Character and Player.Character:FindFirstChild("Cup") or Player.Backpack:FindFirstChild("Cup")
)
else
FireRemote("ProQuestProgress", "GetCup")
end
FireRemote("ProQuestProgress", "SickMan")
return true
else
for i, v in next, Data.Plates do
if not v then
FireRemote("ProQuestProgress", "Plate", i)
return true
end
end
if VerifyTool("Torch") then
FireRemote("ProQuestProgress", "DestroyTorch")
else
FireRemote("ProQuestProgress", "GetTorch")
end
return true
end
end, (Sea == 1))
newFunc("PoleV1", function()
if Level.Value < 450 or Unlocked["Pole (1st Form)"] then
return nil
end
if Module.IsSpawned("Thunder God") then
local Enemy = Enemies("Thunder God")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
else
PlayerTP(ThunderGod)
end
return true
end
end, (Sea == 1))
newFunc("TheSaw", function()
if Level.Value < 100 or Unlocked["Shark Saw"] then
return nil
end
if Module.IsSpawned("The Saw") then
local Enemy = Enemies("The Saw")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
else
PlayerTP(TheSaw)
end
return true
end
end, (Sea == 1))
newFunc("SoulReaper", function()
local Enemy = Enemies("Soul Reaper")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
return true
elseif VerifyTool("Hallow Essence") then
EquipTool("Hallow Essence")
PlayerTP(Map["Haunted Castle"].Summoner.Detection.CFrame)
return true
end
end, (Sea == 3))
newFunc("RipIndra", function()
local Enemy = Enemies("rip_indra True Form")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
return true
end
if VerifyTool("God's Chalice") then
if PlacesActivated() then
PlayerTP(RipIndraSpawn)
end
return true
end
end, (Sea == 3))
newFunc("BossSelected", function()
local Name = Settings.BossSelected
local Enemy = Name and IsSpawned(Name)
if Enemy then
return KillBossByInfo(Module.Bosses[Name], Name)
end
end)
newFunc("AllBosses", function()
local Name = GetNextBoss()
if Name then
return KillBossByInfo(Module.Bosses[Name], Name)
end
end)
newFunc("DoughKing", function()
local Enemy = Enemies("Dough King") or Enemies("Cake Prince")
if VerifyTool("Red Key") then
FireRemote("CakeScientist", "Check")
return true
end
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
else
if not VerifyTool("Sweet Chalice") and VerifyTool("God's Chalice") then
if Module:GetMaterial("Conjured Cocoa") < 10 then
FarmManager.Material("Conjured Cocoa")
else
PlayerTP(SweetChalice)
Tween:talkNpc(SweetChalice, "SweetChaliceNpc")
end
return true
end
local Target = Enemies(Katakuri)
if Target and Target.PrimaryPart then
Attack(Target, true, true)
else
PlayerTP(KatakuriSpawn)
end
end
return true
end, (Sea == 3))
newFunc("CakePrince", function()
if Enabled.DoughKing then
return nil
end
local Enemy = Enemies("Dough King") or Enemies("Cake Prince")
if Enemy and Enemy.PrimaryPart then
Attack(Enemy)
else
local Target = Enemies(Katakuri)
if Target and Target.PrimaryPart then
Attack(Target, true, true)
else
PlayerTP(KatakuriSpawn)
end
end
return true
end, (Sea == 3))
newFunc("ChestTween", function()
local Chest = Module.Chests()
if Chest then
PlayerTP(Chest:GetPivot())
return true
end
end)
newFunc("Ectoplasm", function()
local Enemy = Enemies(Ectoplasm)
if Enemy and Enemy.PrimaryPart then
Attack(Enemy, true, true)
else
PlayerTP(EctoplasmSpawn)
end
return true
end, (Sea == 2))
newFunc("Bones", function()
if Enabled.Level and Level.Value < Module.MaxLevel then
return nil
end
local Enemy = Enemies(Bones)
if Enemy and Enemy.PrimaryPart then
Attack(Enemy, true, true)
else
PlayerTP(BonesSpawn)
end
return true
end, (Sea == 3))
newFunc("Level", function()
-- if Enabled.SkyFarm then return nil end
local Quest = QuestManager:GetQuest()
if not Quest then
return nil
end
local Target = Quest.Enemy.Name
local Position = Quest.Enemy.Position
local Enemy = QuestManager:VerifyQuest(Target)
if Enemy then
Enemy = Enemies[Enemy]
if Enemy and Enemy.PrimaryPart then
Attack(Enemy, true)
else
if #Position > 0 then
Tween:NPCs(Position)
else
PlayerTP(QuestManager:GetQuestPosition())
end
end
else
QuestManager:StartQuest(Quest.Name, Quest.Count, QuestManager:GetQuestPosition())
end
return true
end)
newFunc("Material", function()
if Settings.fMaterial then
FarmManager.Material(Settings.fMaterial)
return true
end
end)
newFunc("Nearest", function()
if CachedNearest and IsAlive(CachedNearest) then
Attack(CachedNearest, true, true)
return true
end
local Distance, Nearest = math.huge
for _, Enemy in ipairs(EnemiesFolder:GetChildren()) do
local PrimaryPart = Enemy.PrimaryPart
if IsAlive(Enemy) and PrimaryPart then
local Magnitude = Player:DistanceFromCharacter(PrimaryPart.Position)
if Magnitude < Distance then
Distance, Nearest = Magnitude, Enemy
end
end
end
if Nearest then
CachedNearest = Nearest
Attack(Nearest, true, true)
return true
end
end)
if Sea == 3 then
RE_DragonDojoEmber.OnClientEvent:Connect(function()
DragonHunterProgress = nil
end)
QuestUpdate.OnClientEvent:Connect(function(...)
local Quest = DojoTrainerProgress and DojoTrainerProgress.Quest
if Quest and (Quest.BeltName == "Admittance" or Quest.BeltName == "Yellow") then
Quest.Progress = Quest.Progress + 1
end
end)
end
local function NewCharacter(Character)
local Humanoid = Character:WaitForChild("Humanoid")
Humanoid:GetPropertyChangedSignal("SeatPart"):Connect(function()
local SeatPart = Humanoid.SeatPart
if _ENV.OnFarm and SeatPart and SeatPart.Name ~= "VehicleSeat" then
Humanoid.Sit = false
end
end)
end
if Player.Character then NewCharacter(Player.Character) end
Player.CharacterAdded:Connect(NewCharacter)
end
Loader:Initialize()
Loader:StartFarm()
Loader:StartFunctions()
Loader:LoadLibrary()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com, discord.gg.
bcs ban me for null reason kl bro

Universal