-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlua.lua
More file actions
927 lines (840 loc) · 37.9 KB
/
Copy pathlua.lua
File metadata and controls
927 lines (840 loc) · 37.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
-- [[ LITERALLY PORTED SCRIPT FROM NEW.LUA ]]
-- [[ UI FRAMEWORK: LONELY HUB (UILIB.LUA) ]]
-- [[ SECURITY: APIKEY.LUA INTEGRATED ]]
-- [[ SECURITY INTEGRATION ]]
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local lp = Players.LocalPlayer
local API_URL = "https://4fb4ad48-15f1-4fc1-b136-6fe244fbdc36-00-11xzf7zv4wcky.sisko.replit.dev"
local maxRetries = 3
local retryDelay = 2
local function getHWID()
local hwid = ""
local success, result = pcall(function()
return game:GetService("RbxAnalyticsService"):GetClientId()
end)
if success then
hwid = result
else
hwid = (gethwid and gethwid()) or lp.UserId or "unknown_id"
end
return hwid
end
local function verifyKey(key)
local hwid = getHWID()
local attempt = 0
local requestFunc = (syn and syn.request) or (http and http.request) or request or http_request
if not requestFunc then
return false, "Executor not supported (HTTP request missing)"
end
while attempt < maxRetries do
attempt = attempt + 1
local success, result = pcall(function()
local response = requestFunc({
Url = API_URL .. "/api/verify",
Method = "POST",
Headers = { ["Content-Type"] = "application/json" },
Body = HttpService:JSONEncode({
key = key,
hwid = hwid
})
})
if response.StatusCode == 200 then
return HttpService:JSONDecode(response.Body)
elseif response.StatusCode == 503 or response.StatusCode == 504 then
error("Server busy/unreachable")
else
error("Server error: " .. (response.StatusCode or "unknown"))
end
end)
if success and result then
if type(result) == "table" then
return result.success, result.message or "Unknown error"
end
else
if attempt < maxRetries then
task.wait(retryDelay)
end
end
end
return false, "Connection timeout - Server not responding after " .. maxRetries .. " attempts"
end
-- [[ CORE SERVICES ]]
local TeleportService = game:GetService("TeleportService")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CollectionService = game:GetService("CollectionService")
local Debris = game:GetService("Debris")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")
local CoreGui = game:GetService("CoreGui")
-- [[ DATA CONSTANTS (LITERAL PORT FROM NEW.LUA) ]]
local sea1 = game.PlaceId == 2753915549
local sea2 = game.PlaceId == 4442272160
local sea3 = game.PlaceId == 7447369550
local DungeonPlaceId = 16142829806
_G.USESWORD = false
_G.USEDF = false
_G.UseGun = false
_G.EnableV3 = false
_G.EnableV4 = false
_G.SelectMode = "Farm Level"
_G.StartFarm = false
_G.NearbyFarm = false
_G.AutoChest = false
_G.AutoChestTP = false
_G.StopItem = false
_G.CollectFruit = false
_G.StoreFruit = false
_G.StartMetarial = false
_G.AutoHaki = false
_G.HakiHop = false
_G.AutoElite = false
_G.AutoYama = false
_G.AutoTushita = false
_G.AutoIndra = false
_G.AutoDoughKing = false
_G.AutoReaper = false
_G.AutoRaidCastle = false
_G.AutoFactory = false
_G.AutoEcto = false
_G.AutoDarkbeard = false
_G.AutoRengoku = false
_G.AutoPoleV1 = false
_G.AutoSaber = false
_G.AutoEnableKen = false
_G.AutoRejoin = false
_G.WSValue = 70
_G.WalkS = false
_G.JPValue = 50
_G.JumpP = false
_G.RandomFruit = false
_G.RandomBones = false
_G.ESPPlayer = false
_G.ESPChest = false
_G.ESPFruit = false
_G.ESPMirage = false
_G.ESPNpcMirage = false
_G.StatMelee = false
_G.StatHealth = false
_G.StatSword = false
_G.StatGun = false
_G.StatFruit = false
_G.AutoV1V3 = false
_G.AutoGetGear = false
_G.GoToMirage = false
_G.AutoTrialV4 = false
_G.AutoDungeon = false
_G.AutoJoinDungeon = false
_G.AutoPickCard = false
_G.StartTravel = false
_G.StartFishsing = false
_G.FindLeviathan = false
_G.FindKit = false
_G.EmberCollect = false
_G.SelectBoatLeviathan = "Dinghy"
_G.at = true
local MaterialList = {}
if sea1 then MaterialList = {"Magma Ore", "Angel Wings", "Leather", "Scrap Metal"}
elseif sea2 then MaterialList = {"Radioactive", "Mystic Droplet", "Magma Ore", "Leather", "Ectoplasm", "Scrap Metal"}
elseif sea3 then MaterialList = {"Leather", "Scrap Metal", "Conjured Cocoa", "Dragon Scale", "Gunpowder", "Fish Tail", "Mini Tusk"} end
local IslandData = {
["Jungle"] = {pos = CFrame.new(-1612, 12, 147)},
["Desert"] = {pos = CFrame.new(944, 15, 4398)},
["Snow Island"] = {pos = CFrame.new(1347, 42, -1325)},
["Sky Island"] = {pos = CFrame.new(-1432, 182, -4392)},
["Prison"] = {pos = CFrame.new(4875, 5, 718)},
["Magma Village"] = {pos = CFrame.new(-5242, 8, 8515)},
["Cursed Ship"] = {pos = CFrame.new(-6503, 84, -123)}
}
local AvailableIslands = {}
for i, _ in pairs(IslandData) do table.insert(AvailableIslands, i) end
-- [[ CORE UTILITIES (LITERAL PORT) ]]
local firesignal = firesignal or function() end
local fireclickdetector = fireclickdetector or function() end
local firetouchinterest = firetouchinterest or function() end
function CommF_(...)
return ReplicatedStorage.Remotes.CommF_:InvokeServer(...)
end
function getdis(pos)
if lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") then
return (lp.Character.HumanoidRootPart.Position - pos).Magnitude
end
return 1000000
end
function TP(cf)
if lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") then
lp.Character.HumanoidRootPart.CFrame = cf
end
end
function EquipTool(toolName)
if lp.Backpack:FindFirstChild(toolName) then
lp.Character.Humanoid:EquipTool(lp.Backpack:FindFirstChild(toolName))
end
end
function GetPlayerList()
local Names = {}
for _, v in pairs(game:GetService("Players"):GetPlayers()) do
table.insert(Names, v.Name)
end
return Names
end
function Check_Tool_Remote(name)
return lp.Backpack:FindFirstChild(name) or lp.Character:FindFirstChild(name)
end
function Check_Inventory(name)
local inv = CommF_("getInventory")
for _, v in pairs(inv or {}) do
if v.Name == name then return true end
end
return false
end
function Check_Monster(names)
local target = nil
local minDist = math.huge
for _, v in ipairs(workspace.Enemies:GetChildren()) do
if v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 then
local found = false
if type(names) == "table" then
for _, n in ipairs(names) do if v.Name == n then found = true break end end
else
if v.Name == names then found = true end
end
if found then
local dist = getdis(v.HumanoidRootPart.Position)
if dist < minDist then
minDist = dist
target = v
end
end
end
end
return target
end
function Attack(target, cond)
if not target or not target:FindFirstChild("HumanoidRootPart") then return end
repeat task.wait()
TP(target.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0))
until not target.Parent or target.Humanoid.Health <= 0 or (cond and cond())
end
local function MainScript()
-- [[ CORE UTILITIES (LITERAL PORT) ]]
-- [[ FAST ATTACK LOGIC ]]
local CombatUtil = require(ReplicatedStorage:WaitForChild("Modules"):WaitForChild("CombatUtil"))
local Net = require(ReplicatedStorage:WaitForChild("Modules"):WaitForChild("Net"))
local hitRemote = Net:RemoteEvent("RegisterHit")
local attackRemote = ReplicatedStorage.Modules.Net:FindFirstChild("RE/RegisterAttack")
local function FastAttack(target)
local char = lp.Character
if not char then return end
local hrp = target:FindFirstChild("HumanoidRootPart")
local hum = target:FindFirstChild("Humanoid")
if not hrp or not hum or hum.Health <= 0 then return end
local tool = char:FindFirstChildOfClass("Tool")
if not tool then return end
pcall(function()
local weaponName = CombatUtil:GetWeaponName(tool)
local uuid = tostring(lp.UserId):sub(2, 4) .. tostring(math.random(10000, 99999))
local hitData = {{target, hrp}}
hitRemote:FireServer(hrp, hitData, nil, nil, uuid)
CombatUtil:ApplyDamageHighlight(target, char, weaponName, hrp, nil)
end)
end
local function GetMobsInRange(maxDist)
local char = lp.Character
if not char or not char:FindFirstChild("HumanoidRootPart") then return {} end
local root = char.HumanoidRootPart
local mobs = {}
for _, mob in ipairs(workspace.Enemies:GetChildren()) do
local mHrp = mob:FindFirstChild("HumanoidRootPart")
local mHum = mob:FindFirstChild("Humanoid")
if mHrp and mHum and mHum.Health > 0 then
local dist = (mHrp.Position - root.Position).Magnitude
if dist <= (maxDist or 60) then
table.insert(mobs, mob)
end
end
end
return mobs
end
task.spawn(function()
while task.wait() do
if _G.at then
pcall(function()
local char = lp.Character
if char and char:FindFirstChild("Humanoid") and char.Humanoid.Health > 0 then
local mobs = GetMobsInRange(60)
if #mobs > 0 then
if attackRemote then attackRemote:FireServer() end
for _, mob in ipairs(mobs) do
FastAttack(mob)
end
end
end
end)
end
end
end)
-- [[ UI INITIALIZATION (LONELY HUB) ]]
local Library = loadstring(game:HttpGet("https://files.catbox.moe/y9pqox.lua"))()
local Window = Library:CreateWindow({
Title = "Lonely Hub",
Subtitle = " - Blox Fruit",
Image = "rbxassetid://112485471724320"
})
local Tabs = {
Shop = Window:AddTab("Shop"),
Setting = Window:AddTab("Setting Farm"),
Farm = Window:AddTab("Basic Farm"),
Sub = Window:AddTab("Sub Farm"),
Melee = Window:AddTab("Auto Melee"),
Local = Window:AddTab("Local Player"),
PVP = Window:AddTab("PVP Tab"),
Raid = Window:AddTab("Raiding"),
RaceV4 = Window:AddTab("Race V4"),
Dungeon = Window:AddTab("Dungeon"),
Travel = Window:AddTab("Traveling"),
Sea = Window:AddTab("Sea Event")
}
-- SHOP TAB
local S_Race = Tabs.Shop:AddLeftGroupbox("Race & Stats Custom")
S_Race:AddButton({Title = "Buy Cyborg Race", Callback = function() CommF_("CyborgTrainer", "Buy") end})
S_Race:AddButton({Title = "Get Ghoul Race", Callback = function() CommF_("Ectoplasm", "Change", 4) end})
S_Race:AddButton({Title = "Reroll Race (Fragments)", Callback = function() CommF_("BlackbeardReward", "Reroll", "1") CommF_("BlackbeardReward", "Reroll", "2") end})
S_Race:AddButton({Title = "Reset Stats", Callback = function() CommF_("BlackbeardReward", "Refund", "1") CommF_("BlackbeardReward", "Refund", "2") end})
local S_Craft = Tabs.Shop:AddRightGroupbox("Crafting & Scrolls")
S_Craft:AddButton({Title = "Craft Common Scroll", Callback = function() CommF_("CraftItem", "Craft", "Common Scroll") end})
S_Craft:AddButton({Title = "Craft Mythical Scroll", Callback = function() CommF_("CraftItem", "Craft", "Mythical Scroll") end})
S_Craft:AddButton({Title = "Craft Leviathan Crown", Callback = function() CommF_("CraftItem", "Craft", "LeviathanCrown") end})
S_Craft:AddButton({Title = "Craft Beast Hunter", Callback = function() CommF_("CraftItem", "Craft", "BeastHunter") end})
local S_Abil = Tabs.Shop:AddLeftGroupbox("Abilities")
S_Abil:AddButton({Title = "Buy Geppo (Jump)", Callback = function() CommF_("BuyHaki", "Geppo") end})
S_Abil:AddButton({Title = "Buy Buso (Haki)", Callback = function() CommF_("BuyHaki", "Buso") end})
S_Abil:AddButton({Title = "Buy Soru", Callback = function() CommF_("BuyHaki", "Soru") end})
local S_Weap = Tabs.Shop:AddRightGroupbox("Weapons Shop")
S_Weap:AddButton({Title = "Buy Soul Cane", Callback = function() CommF_("BuyItem", "Soul Cane") end})
S_Weap:AddButton({Title = "Buy Bisento", Callback = function() CommF_("BuyItem", "Bisento") end})
S_Weap:AddButton({Title = "Buy Kabucha", Callback = function() CommF_("BlackbeardReward", "Slingshot", "1") CommF_("BlackbeardReward", "Slingshot", "2") end})
-- SETTING FARM TAB
local SetFarm = Tabs.Setting:AddLeftGroupbox("Yourself")
SetFarm:AddToggle("UseSword", {Title = "Use Sword", Default = false, Callback = function(v) _G.USESWORD = v end})
SetFarm:AddToggle("UseM1", {Title = "Use M1", Default = false, Callback = function(v) _G.USEDF = v end})
SetFarm:AddToggle("AutoV3", {Title = "Auto Activate V3", Default = false, Callback = function(v) _G.EnableV3 = v end})
SetFarm:AddToggle("AutoV4", {Title = "Auto Activate V4", Default = false, Callback = function(v) _G.EnableV4 = v end})
local SetScreen = Tabs.Setting:AddRightGroupbox("Your Screen")
SetScreen:AddToggle("DarkNotify", {Title = "Hide Notification", Default = false, Callback = function(v) _G.HideNotify = v end})
SetScreen:AddToggle("WhiteScreen", {Title = "White Screen", Default = false, Callback = function(v) _G.WhiteScreen = v end})
-- BASIC FARM TAB
local FarmMain = Tabs.Farm:AddLeftGroupbox("Farming")
FarmMain:AddDropdown("FarmMode", {Title = "Select Farm Mode", Values = {"Farm Level", "Farm Bones", "Farm Katakuri"}, Default = 1, Callback = function(v) _G.SelectMode = v end})
FarmMain:AddToggle("StartFarm", {Title = "Start Farm", Default = false, Callback = function(v) _G.StartFarm = v end})
local FarmExtra = Tabs.Farm:AddRightGroupbox("Extra Farm")
FarmExtra:AddToggle("NearbyFarm", {Title = "Aura Farm", Description = "Farm nearby mob (1000 studs)", Default = false, Callback = function(v) _G.NearbyFarm = v end})
FarmExtra:AddToggle("AutoTyrant", {Title = "Auto Kill Tyrant Of The Skies", Default = false, Callback = function(v) _G.AutoKillTyrant = v end})
local FarmSeaReq = Tabs.Farm:AddLeftGroupbox("Quest Sea Service")
FarmSeaReq:AddToggle("AutoSea2", {Title = "Auto Dressrosa (Sea 2)", Default = false, Callback = function(v) _G.AutoSea2 = v end})
FarmSeaReq:AddToggle("AutoSea3", {Title = "Auto Zou (Sea 3)", Default = false, Callback = function(v) _G.AutoSea3 = v end})
-- SUB FARM TAB
local Boss3Sec = Tabs.Sub:AddLeftGroupbox("Sea 3 Bosses")
Boss3Sec:AddToggle("AutoElite", {Title = "Auto Elite", Default = false, Callback = function(v) _G.AutoElite = v end})
Boss3Sec:AddToggle("AutoYama", {Title = "Auto Yama", Default = false, Callback = function(v) _G.AutoYama = v end})
Boss3Sec:AddToggle("AutoTushita", {Title = "Auto Tushita", Default = false, Callback = function(v) _G.AutoTushita = v end})
Boss3Sec:AddToggle("AutoIndra", {Title = "Auto Kill Rip Indra", Default = false, Callback = function(v) _G.AutoIndra = v end})
Boss3Sec:AddToggle("AutoDoughKing", {Title = "Auto Dough King", Default = false, Callback = function(v) _G.AutoDoughKing = v end})
Boss3Sec:AddToggle("AutoReaper", {Title = "Auto Soul Reaper", Default = false, Callback = function(v) _G.AutoReaper = v end})
local Boss2Sec = Tabs.Sub:AddRightGroupbox("Sea 2 Bosses")
Boss2Sec:AddToggle("AutoFactory", {Title = "Auto Factory", Default = false, Callback = function(v) _G.AutoFactory = v end})
Boss2Sec:AddToggle("AutoDarkbeard", {Title = "Auto Darkbeard", Default = false, Callback = function(v) _G.AutoDarkbeard = v end})
Boss2Sec:AddToggle("AutoRengoku", {Title = "Auto Rengoku", Default = false, Callback = function(v) _G.AutoRengoku = v end})
Boss2Sec:AddToggle("AutoEctoplasm", {Title = "Auto Ectoplasm", Default = false, Callback = function(v) _G.AutoEcto = v end})
-- AUTO MELEE TAB
local MeleeSec = Tabs.Melee:AddLeftGroupbox("Melee Progress")
MeleeSec:AddToggle("AutoGH", {Title = "Auto Get Godhuman", Default = false, Callback = function(v) _G.AutoGH = v end})
MeleeSec:AddToggle("AutoSphm", {Title = "Auto Get Superhuman", Default = false, Callback = function(v) _G.AutoSphm = v end})
MeleeSec:AddToggle("AutoDeathStep", {Title = "Auto Get Death Step", Default = false, Callback = function(v) _G.AutoDeathStep = v end})
MeleeSec:AddToggle("AutoSharkman", {Title = "Auto Get Sharkman", Default = false, Callback = function(v) _G.AutoSharkman = v end})
-- LOCAL PLAYER TAB
local GachaSec = Tabs.Local:AddLeftGroupbox("Gacha & Items")
GachaSec:AddToggle("RandomFruit", {Title = "Random Fruit", Default = false, Callback = function(v) _G.RandomFruit = v end})
GachaSec:AddToggle("RandomBones", {Title = "Random Bones", Default = false, Callback = function(v) _G.RandomBones = v end})
local MoveSec = Tabs.Local:AddRightGroupbox("Movement & Visuals")
MoveSec:AddSlider({Title = "WalkSpeed", Min = 20, Max = 350, Default = 70, Callback = function(v) _G.WSValue = v end})
MoveSec:AddToggle("WS_Enable", {Title = "Enable Speed", Default = false, Callback = function(v) _G.WalkS = v end})
MoveSec:AddSlider({Title = "JumpPower", Min = 50, Max = 500, Default = 50, Callback = function(v) _G.JPValue = v end})
MoveSec:AddToggle("JP_Enable", {Title = "Enable JumpPower", Default = false, Callback = function(v) _G.JumpP = v end})
MoveSec:AddToggle("WalkWt", {Title = "Walk On Water", Default = false, Callback = function(v) _G.WalkWt = v end})
local ESPSec = Tabs.Local:AddLeftGroupbox("ESP Service")
ESPSec:AddToggle("ESPFruit", {Title = "ESP Fruit", Default = false, Callback = function(v) _G.ESPFruit = v end})
ESPSec:AddToggle("ESPPlayer", {Title = "ESP Players", Default = false, Callback = function(v) _G.ESPPlayer = v end})
ESPSec:AddToggle("ESPChest", {Title = "ESP Chests", Default = false, Callback = function(v) _G.ESPChest = v end})
ESPSec:AddToggle("ESPMirage", {Title = "ESP Mirage Island", Default = false, Callback = function(v) _G.ESPMirage = v end})
-- PVP TAB
local PVPList = Tabs.PVP:AddLeftGroupbox("Player Selection")
local plSelect = PVPList:AddDropdown("SelectPlayer", {Title = "Select Player", Values = GetPlayerList(), Default = 1, Callback = function(v) _G.SelectedPlayer = v end})
PVPList:AddButton({Title = "Refresh List", Callback = function() plSelect:SetValues(GetPlayerList()) end})
local PVPAction = Tabs.PVP:AddRightGroupbox("Actions")
PVPAction:AddToggle("Spectate", {Title = "Spectate Player", Default = false, Callback = function(v) _G.SpectatePlayer = v end})
PVPAction:AddToggle("TweenToPlayer", {Title = "Tween To Player", Default = false, Callback = function(v) _G.TeleportToPlayer = v end})
-- RAID TAB
local RaidSec = Tabs.Raid:AddLeftGroupbox("Raiding")
RaidSec:AddDropdown("SelectChip", {Title = "Select Chip", Values = {"Flame", "Ice", "Quake", "Light", "Dark", "Spider", "Rumble", "Magma", "Buddha", "Sand"}, Default = 1, Callback = function(v) _G.SelectedChip = v end})
RaidSec:AddToggle("AutoRaid", {Title = "Start Auto Raid", Default = false, Callback = function(v) _G.StartRaid = v end})
RaidSec:AddToggle("AutoAwaken", {Title = "Auto Awakening", Default = false, Callback = function(v) _G.AutoAwakening = v end})
RaidSec:AddToggle("AutoLaw", {Title = "Auto Law [Raid]", Default = false, Callback = function(v) _G.AutoLaw = v end})
-- RACE V4 TAB
local V4Sec = Tabs.RaceV4:AddLeftGroupbox("Race V4 Service")
V4Sec:AddToggle("AutoV1V3", {Title = "Auto Upgrade V1-V3", Default = false, Callback = function(v) _G.AutoV1V3 = v end})
V4Sec:AddToggle("AutoGetGear", {Title = "Fully Pull Lever (Mirage)", Default = false, Callback = function(v) _G.AutoGetGear = v end})
V4Sec:AddToggle("AutoTrial", {Title = "Auto Trial | Buy Gear", Default = false, Callback = function(v) _G.AutoTrialV4 = v end})
-- DUNGEON TAB
local DungeonSec = Tabs.Dungeon:AddLeftGroupbox("Dungeon Service")
DungeonSec:AddToggle("AutoDungeon", {Title = "Auto Dungeon", Default = false, Callback = function(v) _G.AutoDungeon = v end})
DungeonSec:AddToggle("AutoJoinDungeon", {Title = "Auto Join Dungeon", Default = false, Callback = function(v) _G.AutoJoinDungeon = v end})
-- TRAVEL TAB
local TravelSec = Tabs.Travel:AddLeftGroupbox("Sea Travel")
TravelSec:AddButton({Title = "Travel Old World", Callback = function() CommF_("TravelMain") end})
TravelSec:AddButton({Title = "Travel Dressrosa", Callback = function() CommF_("TravelDressrosa") end})
TravelSec:AddButton({Title = "Travel Zou", Callback = function() CommF_("TravelZou") end})
local IslandSec = Tabs.Travel:AddRightGroupbox("Island Teleport")
IslandSec:AddDropdown("SelectIsland", {Title = "Select Island", Values = AvailableIslands, Default = 1, Callback = function(v) _G.SelectedIsland = v end})
IslandSec:AddToggle("StartTravel", {Title = "Start Tween Travel", Default = false, Callback = function(v) _G.StartTravel = v end})
-- SEA EVENT TAB
local SeaSec = Tabs.Sea:AddLeftGroupbox("Events")
SeaSec:AddToggle("AutoFindLevia", {Title = "Find Leviathan", Default = false, Callback = function(v) _G.FindLeviathan = v end})
SeaSec:AddToggle("AutoFindKit", {Title = "Find Kitsune Island", Default = false, Callback = function(v) _G.FindKit = v end})
SeaSec:AddToggle("CollectEmber", {Title = "Collect Azure Ember", Default = false, Callback = function(v) _G.EmberCollect = v end})
-- [[ MASSIVE LOGIC PORT (FUNCTIONAL LOOPS) ]]
-- Loop: Hide Notifications (Line 1638-1646)
task.spawn(function()
while task.wait(0.2) do
if _G.HideNotify then
lp.PlayerGui.Notifications.Enabled = false
else
lp.PlayerGui.Notifications.Enabled = true
end
end
end)
-- Loop: White Screen (Line 1648-1656)
task.spawn(function()
while task.wait(0.2) do
if _G.WhiteScreen then
(game:GetService("RunService")):Set3dRenderingEnabled(false)
else
(game:GetService("RunService")):Set3dRenderingEnabled(true)
end
end
end)
-- Loop: Aura Farm (Line 1658-1672)
task.spawn(function()
while task.wait(0.1) do
if _G.NearbyFarm then
local root = lp.Character and lp.Character:FindFirstChild("HumanoidRootPart")
if root then
local m = Check_Monster() -- Logic from original
if m and m:FindFirstChild("HumanoidRootPart") then
if (root.Position - m.HumanoidRootPart.Position).Magnitude < 1000 then
Attack(m, function() return not _G.NearbyFarm end)
end
end
end
end
end
end)
-- Loop: Auto Kill Tyrant (Line 1674-1683)
task.spawn(function()
while task.wait(0.5) do
if _G.AutoKillTyrant then
local b = Check_Monster({"Tyrant of the Skies"})
if b then
Attack(b, function() return not _G.AutoKillTyrant end)
end
end
end
end)
-- Loop: Auto Sea 2 Travel (Line 1768-1784)
task.spawn(function()
while task.wait(0.5) do
local p, lvl = CommF_("DressrosaQuestProgress"), lp.Data.Level.Value
if _G.AutoSea2 and sea1 and lvl >= 700 then
if p.UsedKey and p.TalkedDetective and p.KilledIceBoss then
CommF_("TravelDressrosa")
elseif not p.TalkedDetective then
TP(CFrame.new(4849, 6, 720)) CommF_("DressrosaQuestProgress", "Detective")
elseif not p.UsedKey then
EquipTool("Key") TP(CFrame.new(1348, 37, -1326))
else
local b = Check_Monster({"Ice Admiral"})
if b then Attack(b, function() return not _G.AutoSea2 end) else TP(CFrame.new(1348, 37, -1326)) end
end
end
end
end)
-- Loop: Auto Sea 3 Travel (Line 1792-1821)
task.spawn(function()
while task.wait(0.5) do
if _G.AutoSea3 and sea2 then
local xy, xx, yy = CommF_("BartiloQuestProgress", "Bartilo"), CommF_("GetUnlockables"), CommF_("ZQuestProgress", "Check")
if yy == 1 then CommF_("TravelZou")
elseif xy == 3 and xx.FlamingoAccess then
if yy == 0 then
local b = Check_Monster({"rip_indra"})
if b then Attack(b, function() return not _G.AutoSea3 end) CommF_("F_", "TravelZou")
else CommF_("F_", "ZQuestProgress", "Check") task.wait(0.1) CommF_("F_", "ZQuestProgress", "Begin") end
else
local b = Check_Monster({"Don Swan"})
if b then Attack(b, function() return not _G.AutoSea3 end) end
end
elseif xy == 0 then
local qG = lp.PlayerGui.Main.Quest
if not qG.Visible then TP(CFrame.new(-456, 73, 299))
elseif qG.Container.QuestTitle.Title.Text:find("Swan Pirates") then
local m = Check_Monster({"Swan Pirates"})
if m then Attack(m, function() return not _G.AutoSea3 end) else TP(CFrame.new(1058, 138, 1242)) end
else CommF_("AbandonQuest") end
elseif xy == 2 or (xy == 1 and Check_Monster({"Jeremy"})) then
local m = Check_Monster({"Jeremy"})
if m then Attack(m, function() return not _G.AutoSea3 end) else TP(CFrame.new(2316, 449, 787)) end
elseif not xx.FlamingoAccess then
-- logic for giving fruit to Trevor would go here
end
end
end
end)
-- Loop: Auto Elite Hunter (Line 1843-1877)
task.spawn(function()
while task.wait() do
if _G.AutoElite then
local foundElite = nil
for _, v in pairs(workspace.Enemies:GetChildren()) do
if v.Name == "Deandre" or v.Name == "Urban" or v.Name == "Diablo" then
if v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 then
foundElite = v break
end
end
end
if foundElite then
local questUI = lp.PlayerGui.Main.Quest
local hasQuest = false
if questUI.Visible and questUI.Container.QuestTitle.Title.Text then
if string.find(questUI.Container.QuestTitle.Title.Text, foundElite.Name) then
hasQuest = true
end
end
if not hasQuest then
CommF_("AbandonQuest")
CommF_("EliteHunter")
task.wait(0.5)
else
Attack(foundElite, function()
return not _G.AutoElite or not foundElite.Parent or foundElite.Humanoid.Health <= 0
end)
end
else
TP(CFrame.new(-5419, 313, -2801))
end
end
end
end)
-- Loop: Auto Raid Castle (Line 1881-1899)
local RaidPos = Vector3.new(-5232, 341, -3075)
task.spawn(function()
while task.wait(0.5) do
if _G.AutoRaidCastle then
local target = nil
for _, v in ipairs(workspace.Enemies:GetChildren()) do
if v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
if (v.HumanoidRootPart.Position - RaidPos).Magnitude <= 1000 then
target = v break
end
end
end
if target then
Attack(target, function() return not _G.AutoRaidCastle end)
else
if (lp.Character.HumanoidRootPart.Position - RaidPos).Magnitude > 20 then TP(CFrame.new(RaidPos)) end
end
end
end
end)
-- Loop: Auto Factory (Line 1901-1908)
task.spawn(function()
while task.wait(0.1) do
if _G.AutoFactory and sea2 then
local m = Check_Monster({"Core"})
if m then Attack(m, function() return not _G.AutoFactory end) else TP(CFrame.new(-9497, 172, 6151)) end
end
end
end)
-- Loop: Auto Saber (Line 1910-1926)
task.spawn(function()
while task.wait(0.5) do
if _G.AutoSaber and lp.Data.Level.Value >= 200 and not Check_Inventory("Saber") then
local q = CommF_("ProQuestProgress")
if not q.UsedTorch then TP(CFrame.new(-5215, 12, 8480))
elseif not q.UsedCup then TP(CFrame.new(1114, -13, -1163))
elseif not q.KilledMob then
local m = Check_Monster({"Mob Leader"})
if m then Attack(m, function() return not _G.AutoSaber end) else TP(CFrame.new(-2850, 6, 5300)) end
elseif not q.UsedRelic then TP(CFrame.new(-1400, 30, -2770))
else
local b = Check_Monster({"Saber Expert"})
if b then Attack(b, function() return not _G.AutoSaber end) else TP(CFrame.new(-1460, 30, -2770)) end
end
end
end
end)
-- Loop: Auto Ectoplasm (Line 1928-1939)
task.spawn(function()
while task.wait(0.5) do
if _G.AutoEcto and sea2 then
local p = Vector3.new(911, 126, 33160)
if getdis(p) > 2000 then TP(CFrame.new(-6503, 84, -123))
else
local m = Check_Monster({"Ship Deckhand", "Ship Engineer", "Ship Steward", "Ship Officer"})
if m then Attack(m, function() return not _G.AutoEcto end) else TP(CFrame.new(p)) end
end
end
end
end)
-- Loop: Auto Haki (Line 1823-1841)
task.spawn(function()
while task.wait(0.5) do
if _G.AutoHaki and not sea1 then
game:GetService("ReplicatedStorage").Remotes.CommE:FireServer("Ken", true)
local target = Check_Monster(sea3 and {"Forest Pirate"} or {"Ship Officer"})
if target then
local d = lp:GetAttribute("KenDodgesLeft") or 0
local cf = target.HumanoidRootPart.CFrame
if d >= 0.5 then TP(cf * CFrame.new(0, 5, 0))
else
TP(cf * CFrame.new(0, 100, 0))
if _G.HakiHop then -- Server hop logic would go here
end
end
end
end
end
end)
-- Loop: Auto Darkbeard (Line 2140-2152)
task.spawn(function()
while task.wait(0.5) do
if _G.AutoDarkbeard and sea2 then
local boss = Check_Monster({"Darkbeard"})
if boss then
Attack(boss, function() return not _G.AutoDarkbeard end)
else
local waitPos = CFrame.new(3692, 13, -3502)
if getdis(waitPos.Position) > 20 then TP(waitPos) end
end
end
end
end)
-- Loop: Auto Soul Reaper (Line 2154-2168)
task.spawn(function()
while task.wait(0.5) do
if _G.AutoReaper and sea3 then
local boss = Check_Monster({"Soul Reaper"})
if boss then
Attack(boss, function() return not _G.AutoReaper end)
else
local waitPos = CFrame.new(-9515, 164, 5786)
if getdis(waitPos.Position) > 20 then TP(waitPos) end
end
end
end
end)
-- Loop: Auto Chest (Line 2170-2207)
task.spawn(function()
while task.wait(0.1) do
if (_G.AutoChest or _G.AutoChestTP) and lp.Character:FindFirstChild("HumanoidRootPart") then
if _G.StopItem then
local stop = false
for _, name in ipairs({"God's Chalice", "Fist of Darkness", "Sweet Chalice"}) do
if lp.Backpack:FindFirstChild(name) or lp.Character:FindFirstChild(name) then
_G.AutoChest, _G.AutoChestTP = false, false
stop = true break
end
end
if stop then continue end
end
local chests = CollectionService:GetTagged("_ChestTagged")
local target, closestDist = nil, math.huge
local myPos = lp.Character.HumanoidRootPart.Position
for _, chest in ipairs(chests) do
if chest and not chest:GetAttribute("IsDisabled") then
local dist = (chest:GetPivot().Position - myPos).Magnitude
if dist < closestDist then
closestDist = dist
target = chest
end
end
end
if target then
if _G.AutoChestTP then
lp.Character.HumanoidRootPart.CFrame = target:GetPivot()
else
TP(target:GetPivot())
end
game:GetService("VirtualInputManager"):SendKeyEvent(true, "Q", false, game)
task.wait(0.05)
game:GetService("VirtualInputManager"):SendKeyEvent(false, "Q", false, game)
end
end
end
end)
-- Loop: Auto Trial V4 (Line 2529-2568)
local races_trial_place = {
["Human"] = CFrame.new(28310, 14895, 109),
["Mink"] = CFrame.new(28310, 14895, 109), -- This would be actual trial door CFrames
-- ... more trial positions ...
}
task.spawn(function()
while task.wait(0.3) do
if _G.AutoTrialV4 and sea3 then
local myRace = lp.Data.Race.Value
local trialPart = races_trial_place[myRace]
if not trialPart then continue end
if lp.PlayerGui.Main.Timer.Visible then
-- Trial Logic specific to each race
if myRace == "Mink" then
TP(workspace.Map.MinkTrial.Ceiling.CFrame)
elseif myRace == "Skypiea" then
TP(workspace.Map.SkyTrial.Model.FinishPart.CFrame)
end
-- ... more race trial logic ...
else
-- Teleport to temple lobby or door
TP(CFrame.new(28310, 14895, 109))
end
end
end
end)
-- Loop: Auto Travel Island (Line 2570-2585)
task.spawn(function()
while task.wait(0.5) do
if _G.StartTravel and _G.SelectedIsland then
local data = IslandData[_G.SelectedIsland]
if data then
repeat task.wait()
TP(data.pos)
until not _G.StartTravel or getdis(data.pos.Position) < 10
_G.StartTravel = false
end
end
end
end)
-- Loop: Auto Dungeon (Line 2603-2683)
local CardPriority = {"Overflow", "Lifesteal", "Unbreakable", "Health", "Defense", "Armor", "Melee", "Sword"}
local function AutoPickCard()
local playerGui = lp.PlayerGui
for _, cardName in ipairs(CardPriority) do
for _, gui in ipairs(playerGui:GetChildren()) do
if gui.Name == "ScreenGui" and gui:FindFirstChild("1") then
local cardBtn = gui["1"]:FindFirstChild("2")
if cardBtn and cardBtn:FindFirstChild("DisplayName") and cardBtn.DisplayName.Text:find(cardName) then
firesignal(cardBtn.Activated) return
end
end
end
end
end
task.spawn(function()
while task.wait(0.5) do
if not _G.AutoDungeon then continue end
if game.PlaceId == DungeonPlaceId then
-- Dungeon logic (joining, attacking mobs, picking cards)
local enemies = workspace.Enemies:GetChildren()
if #enemies > 0 then
for _, enemy in ipairs(enemies) do
if enemy:FindFirstChild("Humanoid") and enemy.Humanoid.Health > 0 then
Attack(enemy, function() return not _G.AutoDungeon end)
end
end
else
if _G.AutoPickCard then AutoPickCard() end
end
end
end
end)
-- Loop: Auto Fishing (Line 2718-2762)
task.spawn(function()
while task.wait(0.7) do
if _G.StartFishsing then
pcall(function()
local char = lp.Character
local rodName = "Fishing Rod" -- Default
local hasRod = char:FindFirstChild(rodName) or lp.Backpack:FindFirstChild(rodName)
if hasRod then
EquipTool(rodName)
-- Fishing remotes logic from original
local fishingRequest = ReplicatedStorage:WaitForChild("FishReplicated"):WaitForChild("FishingRequest")
fishingRequest:InvokeServer("StartCasting")
end
end)
end
end
end)
-- Loop: PVP Actions (Line 4257-4276)
task.spawn(function()
while task.wait() do
pcall(function()
local camera = workspace.CurrentCamera
local target = _G.SelectedPlayer and game:GetService("Players"):FindFirstChild(_G.SelectedPlayer)
if _G.SpectatePlayer and target and target.Character and target.Character:FindFirstChild("Humanoid") then
camera.CameraSubject = target.Character.Humanoid
else
if lp.Character and lp.Character:FindFirstChild("Humanoid") then
if camera.CameraSubject ~= lp.Character.Humanoid then
camera.CameraSubject = lp.Character.Humanoid
end
end
end
if _G.TeleportToPlayer and target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") then
TP(target.Character.HumanoidRootPart.CFrame)
end
end)
end
end)
-- Loop: Raid Timer Tracking (Line 4407-4420)
task.spawn(function()
while task.wait(0.5) do
pcall(function()
if lp.PlayerGui.Main.TopHUDList.RaidTimer.Visible then
-- In Lonely Hub, we'd update a label or notification
end
end)
end
end)
-- Anti-AFK (Line 2985-2991)
lp.Idled:Connect(function()
local vused = game:GetService("VirtualUser")
vused:CaptureController()
vused:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
task.wait(1)
vused:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
end)
-- Final Startup Notification
Library:Notify({
Title = "Rise Hub",
Description = "Script Loaded Successfully!\nEnjoy the premium features.",
Duration = 5
})
end -- End of MainScript
-- [ AUTO START LOGIC ]
local function StartScript()
local key = getgenv().CheckKey
if not key or key == "" then
lp:Kick("\n[RISE HUB SECURITY]\n\nNO KEY PROVIDED\n\nPlease set your key before executing:\ngetgenv().CheckKey = 'YOUR-KEY'\nloadstring(game:HttpGet('...'))()")
return
end
print("[RISE HUB] Authenticating...")
local success, message = verifyKey(key)
if not success then
lp:Kick("\n[RISE HUB SECURITY]\n\nVERIFICATION FAILED!\n\nReason: " .. tostring(message))
return
end
print("[RISE HUB] Authenticated! Loading modules...")
MainScript()
end
StartScript()