-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRgmFL97T.txt
1614 lines (1502 loc) · 65.4 KB
/
RgmFL97T.txt
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
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
repeat task.wait(); local a = false
if game:IsLoaded() then
a = pcall(function()
Settings = {
["On Screen Trackers"] = false,
["Performance"] = {
["Disable 3D Rendering"] = false,
["Diable Orb Rendering"] = true,
["Disable Lootbags"] = true
},
["Auto Collect"] = {
["Orbs"] = true,
["Lootbags"] = true
},
["Auto Mailbox"] = {
["Recipient"] = "dont_use_it", -- Person To Send To
["Min Dias"] = 1000000000, -- Minumum Gems
["Enabled"] = false
},
["Multipliers"] = {
["Giant Chest"] = 0,
["Chest"] = 0,
["Small Chest"] = 0,
["Vault"] = 0,
["Safe"] = 3,
["Present"] = 5
},
["Webhooks"] = {
["Server Hop Webhook"] = "ur whebook",
["Time Frame Webhook"] = "ur whebook",
["Timeframe"] = 300 -- Seconds
},
["Pet Team"] = {
["Mode"] = "Best", -- Best Or Manual: Best = Highest Power, Manual = All Pets With A Certain Nickname
["Nickname"] = "Farm"
},
["Fruit"] = {
["Farm Fruit If Low"] = true,
["Min Fruit"] = 100, -- Starts Farming If Below This
["Max Fruit"] = 150, -- Stops Farming Once Above This
["Mode"] = "Pixel Vault" -- Pixel Vault or Server Hop
},
["Boosts"] = {
["Triple Damage"] = true,
["Server Damage"] = true
}
}
local Http = game:GetService("HttpService")
writefile("v4config.txt", Http:JSONEncode(Settings))
Http = game:GetService("HttpService")
Settings = Http:JSONDecode(readfile("v4config.txt"))
if not game:IsLoaded() then
while not game:IsLoaded() do wait(1) end
end
if Settings["Performance"]["Disable 3D Rendering"] then game:GetService("RunService"):Set3dRenderingEnabled(false) end
local totallabelsize = 0
function makelabel()
local sg = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
local label = Instance.new("TextLabel")
label.Size = UDim2.new(0.4, 0, 0.2, 0)
label.Position = UDim2.new(0.05, 0, 0.95 - totallabelsize)
label.BackgroundColor3 = Color3.new(0, 0, 0)
label.BackgroundTransparency = 0
label.BorderSizePixel = 0
label.TextColor3 = Color3.new(1, 1, 1)
label.Font = Enum.Font.SourceSansBold
label.TextScaled = true
label.TextWrapped = true
label.Text = "Label"
label.Parent = sg
if not Settings["On Screen Trackers"] then sg.Enabled = false end
label.ClipsDescendants = true
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 5)
corner.Parent = label
totallabelsize = totallabelsize + 0.25
return label
end
local label1 = makelabel()
local label2 = makelabel()
local label3 = makelabel()
label1.Text = "🌟 | Coins Remaining"
label2.Text = "💎 | Gems Earned"
label3.Text = "🕒 | Time Elapsed"
label1.Position = UDim2.new(0.05, 0, 0.95 - totallabelsize + 0.05)
label2.Position = UDim2.new(0.05, 0, 0.95 - totallabelsize + 0.05 + 0.25)
label3.Position = UDim2.new(0.05, 0, 0.95 - totallabelsize + 0.05 + 0.5)
local CoinsLeft = 0
local TimeElapsed = 0
local timer = coroutine.create(function()
while 1 do
TimeElapsed = TimeElapsed + 1
label3.Text = "🕒 | Time Elapsed: " .. TimeElapsed .. "s"
wait(1)
end
end)
coroutine.resume(timer)
local coinst = coroutine.create(function()
while 1 do
label1.Text = "🌟 | Coins Remaining: " .. CoinsLeft
wait(1)
end
end)
coroutine.resume(coinst)
local v1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"));
while not v1.Loaded do
game:GetService("RunService").Heartbeat:Wait();
end;
AREATOCHECK = "Mystic Mine"
local Network = require(game:GetService("ReplicatedStorage").Library.Client.Network)
local Fire, Invoke = Network.Fire, Network.Invoke
local old
old = hookfunction(getupvalue(Fire, 1), function(...)
return true
end)
if Settings["Performance"]["Disable Orb Rendering"] then
game:GetService("Workspace")["__THINGS"].Orbs.ChildAdded:Connect(function(v)
pcall(function()
v.Orb.Enabled = false
end)
end)
end
if Settings["Performance"]["Disable Lootbags"] then
game:GetService("Workspace")["__THINGS"].Lootbags.ChildAdded:Connect(function(v)
pcall(function()
v.Transparency = 1
v.ParticleEmitter:Destroy()
end)
end)
end
if Settings["Auto Collect"]["Orbs"] then
game.Workspace['__THINGS'].Orbs.ChildAdded:Connect(function(v)
Fire("Claim Orbs", {v.Name})
end)
end
if Settings["Auto Collect"]["Lootbags"] then
game.Workspace['__THINGS'].Lootbags.ChildAdded:Connect(function(v)
Fire("Collect Lootbag", v.Name, v.Position)
end)
end
Lib = require(game:GetService("ReplicatedStorage").Library)
local StartGems = Lib.Save.Get().Diamonds
function add_suffix(inte)
local gems = inte
local gems_formatted
if gems >= 1000000000000 then -- if gems are greater than or equal to 1 trillion
gems_formatted = string.format("%.1ft", gems / 1000000000000) -- display gems in trillions with one decimal point
elseif gems >= 1000000000 then -- if gems are greater than or equal to 1 billion
gems_formatted = string.format("%.1fb", gems / 1000000000) -- display gems in billions with one decimal point
elseif gems >= 1000000 then -- if gems are greater than or equal to 1 million
gems_formatted = string.format("%.1fm", gems / 1000000) -- display gems in millions with one decimal point
elseif gems >= 1000 then -- if gems are greater than or equal to 1 thousand
gems_formatted = string.format("%.1fk", gems / 1000) -- display gems in thousands with one decimal point
else -- if gems are less than 1 thousand
gems_formatted = tostring(gems) -- display gems as is
end
return gems_formatted
end
local gemc = coroutine.create(function()
while 1 do
cg = Lib.Save.Get().Diamonds
label2.Text = "💎 | Gems Earned: " .. add_suffix(cg - StartGems)
wait(1)
end
end)
coroutine.resume(gemc)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local HttpService = game:GetService("HttpService")
local InputService = game:GetService('UserInputService')
local RunService = game:GetService('RunService')
local ContentProvider = game:GetService("ContentProvider")
local banSuccess, banError = pcall(function()
local Blunder = require(game:GetService("ReplicatedStorage"):WaitForChild("X", 10):WaitForChild("Blunder", 10):WaitForChild("BlunderList", 10))
if not Blunder or not Blunder.getAndClear then LocalPlayer:Kick("Error while bypassing the anti-cheat! (Didn't find blunder)") end
local OldGet = Blunder.getAndClear
setreadonly(Blunder, false)
local function OutputData(Message)
print("-- PET SIM X BLUNDER --")
print(Message .. "\n")
end
Blunder.getAndClear = function(...)
local Packet = ...
for i,v in next, Packet.list do
if v.message ~= "PING" then
OutputData(v.message)
table.remove(Packet.list, i)
end
end
return OldGet(Packet)
end
setreadonly(Blunder, true)
end)
if not banSuccess then
LocalPlayer:Kick("Error while bypassing the anti-cheat! (".. banError ..")")
return
end
local Library = require(game:GetService("ReplicatedStorage").Library)
assert(Library, "Oopps! Library has not been loaded. Maybe try re-joining?")
while not Library.Loaded do task.wait() end
Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
Humanoid = Character:WaitForChild("Humanoid")
HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local bypassSuccess, bypassError = pcall(function()
if not Library.Network then
LocalPlayer:Kick("Network not found, can't bypass!")
end
if not Library.Network.Invoke or not Library.Network.Fire then
LocalPlayer:Kick("Network Invoke/Fire was not found! Failed to bypass!")
end
hookfunction(debug.getupvalue(Library.Network.Invoke, 1), function(...) return true end)
-- Currently we don't need to hook Fire, since both Invoke/Fire have the same upvalue, this may change in future.
-- hookfunction(debug.getupvalue(Library.Network.Fire, 1), function(...) return true end)
local originalPlay = Library.Audio.Play
Library.Audio.Play = function(...)
if checkcaller() then
local audioId, parent, pitch, volume, maxDistance, group, looped, timePosition = unpack({ ... })
if type(audioId) == "table" then
audioId = audioId[Random.new():NextInteger(1, #audioId)]
end
if not parent then
warn("Parent cannot be nil", debug.traceback())
return nil
end
if audioId == 0 then return nil end
if type(audioId) == "number" or not string.find(audioId, "rbxassetid://", 1, true) then
audioId = "rbxassetid://" .. audioId
end
if pitch and type(pitch) == "table" then
pitch = Random.new():NextNumber(unpack(pitch))
end
if volume and type(volume) == "table" then
volume = Random.new():NextNumber(unpack(volume))
end
if group then
local soundGroup = game.SoundService:FindFirstChild(group) or nil
else
soundGroup = nil
end
if timePosition == nil then
timePosition = 0
else
timePosition = timePosition
end
local isGargabe = false
if not pcall(function() local _ = parent.Parent end) then
local newParent = parent
pcall(function()
newParent = CFrame.new(newParent)
end)
parent = Instance.new("Part")
parent.Anchored = true
parent.CanCollide = false
parent.CFrame = newParent
parent.Size = Vector3.new()
parent.Transparency = 1
parent.Parent = workspace:WaitForChild("__DEBRIS")
isGargabe = true
end
local sound = Instance.new("Sound")
sound.SoundId = audioId
sound.Name = "sound-" .. audioId
sound.Pitch = pitch and 1
sound.Volume = volume and 0.5
sound.SoundGroup = soundGroup
sound.Looped = looped and false
sound.MaxDistance = maxDistance and 100
sound.TimePosition = timePosition
sound.RollOffMode = Enum.RollOffMode.Linear
sound.Parent = parent
if not require(game:GetService("ReplicatedStorage"):WaitForChild("Library"):WaitForChild("Client")).Settings.SoundsEnabled then
sound:SetAttribute("CachedVolume", sound.Volume)
sound.Volume = 0
end
sound:Play()
getfenv(originalPlay).AddToGarbageCollection(sound, isGargabe)
return sound
end
return originalPlay(...)
end
end)
if not bypassSuccess then
print(bypassError)
LocalPlayer:Kick("Error while bypassing network, try again or wait for an update!")
return
end
function FrTeleportToWorld(world, area)
local Library = require(game:GetService("ReplicatedStorage").Library)
Library.WorldCmds.Load(world)
wait(0.25)
local areaTeleport = Library.WorldCmds.GetMap().Teleports:FindFirstChild(area)
Library.Signal.Fire("Teleporting")
task.wait(0.25)
local Character = game.Players.LocalPlayer.Character
local Humanoid = Character.Humanoid
local HumanoidRootPart = Character.HumanoidRootPart
Character:PivotTo(areaTeleport.CFrame + areaTeleport.CFrame.UpVector * (Humanoid.HipHeight + HumanoidRootPart.Size.Y / 2))
Library.Network.Fire("Performed Teleport", area)
task.wait(0.25)
end
function FrTeleportToArea(world, area)
local areaTeleport = Library.WorldCmds.GetMap().Teleports:FindFirstChild(area)
local Character = game.Players.LocalPlayer.Character
local Humanoid = Character.Humanoid
local HumanoidRootPart = Character.HumanoidRootPart
Character:PivotTo(areaTeleport.CFrame + areaTeleport.CFrame.UpVector * (Humanoid.HipHeight + HumanoidRootPart.Size.Y / 2))
Library.Network.Fire("Performed Teleport", area)
end
function GetOranges()
local FruitLib = require(game.ReplicatedStorage.Library.Client.FruitCmds)
local Fruit = FruitLib.Directory.Orange
return math.floor(FruitLib.Get(game.Players.LocalPlayer, Fruit))
end
function get_coins_in_area(area)
local allCoins = Invoke("Get Coins") -- this gets every coin in the world you are in
local coinsInArea = {} -- Make a blank list that will store all the ids of the coins in the area
for coinid,coindata in pairs(allCoins) do -- Loop through every coin in the world
if coindata.a == area and not string.find(coindata.n, "Chest") then -- if the area the coin is in is in the area you specify then...
table.insert(coinsInArea, coinid) -- add the coin id to the coinsinarea table
end
end
return coinsInArea
end
function attack_coin(id, equip)
local v86 = Invoke("Join Coin", id, equip)
for v88, v89 in pairs(v86) do
Fire("Farm Coin", id, v88);
end
end
function wait_until_broken(id)
while 1 do
wait(0.01)
found = false
for i,v in pairs(debug.getupvalue(getsenv(game.Players.LocalPlayer.PlayerScripts.Scripts.Game.Coins).DestroyAllCoins, 1)) do
if i == id then
found = true
end
end
if not found then break end
end
end
Invoke("Unequip All Pets")
if Settings["Pet Team"]["Mode"] == "Best" then Invoke("Equip Best Pets") end
if Settings["Pet Team"]["Mode"] == "Manual" then
local Pets = Lib.Save.Get().Pets
petstoe = {}
for i,v in pairs(Pets) do
if v.nk == Settings["Pet Team"]["Nickname"] then
table.insert(petstoe, v.uid)
end
end
for i,v in pairs(petstoe) do
cert = coroutine.create(function()
Invoke("Equip Pet", v)
end)
coroutine.resume(cert)
end
end
wait(1)
if not isfile("fruitfarmT.txt") then writefile("fruitfarmT.txt", "false") end
if GetOranges() >= Settings["Fruit"]["Max Fruit"] then writefile("fruitfarmT.txt", "false") end
if Settings["Fruit"]["Farm Fruit If Low"] == true then
if GetOranges() <= Settings["Fruit"]["Min Fruit"] or readfile("fruitfarmT.txt") == "true" then
writefile("fruitfarmT.txt", "true")
if Settings["Fruit"]["Mode"] == "Pixel Vault" then
FrTeleportToWorld("Pixel", "Pixel Vault")
wait(3)
while 1 do
wait(1)
local equipped = {}
local lib = require(game.ReplicatedStorage.Library)
p = lib.Save.Get().PetsEquipped
for petid, petdata in pairs(p) do
table.insert(equipped, petid)
end
local AllCoins = get_coins_in_area("Pixel Vault")
for i,v in pairs(AllCoins) do
attack_coin(v, equipped)
wait(0.05)
wait_until_broken(i)
end
if GetOranges() >= Settings["Fruit"]["Max Fruit"] then
writefile("fruitfarmT.txt", "false")
break
end
end
end
if Settings["Fruit"]["Mode"] == "Server Hop" then
if not game:IsLoaded() then
while not game:IsLoaded() do wait(1) end
wait(5)
end
local Network = require(game:GetService("ReplicatedStorage").Library.Client.Network)
local Fire, Invoke = Network.Fire, Network.Invoke
-- Hooking the _check function in the module to bypass the anticheat.
local old
old = hookfunction(getupvalue(Fire, 1), function(...)
return true
end)
local v1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"));
while not v1.Loaded do
game:GetService("RunService").Heartbeat:Wait();
end;
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local HttpService = game:GetService("HttpService")
local InputService = game:GetService('UserInputService')
local RunService = game:GetService('RunService')
local ContentProvider = game:GetService("ContentProvider")
local banSuccess, banError = pcall(function()
local Blunder = require(game:GetService("ReplicatedStorage"):WaitForChild("X", 10):WaitForChild("Blunder", 10):WaitForChild("BlunderList", 10))
if not Blunder or not Blunder.getAndClear then LocalPlayer:Kick("Error while bypassing the anti-cheat! (Didn't find blunder)") end
local OldGet = Blunder.getAndClear
setreadonly(Blunder, false)
local function OutputData(Message)
print("-- PET SIM X BLUNDER --")
print(Message .. "\n")
end
Blunder.getAndClear = function(...)
local Packet = ...
for i,v in next, Packet.list do
if v.message ~= "PING" then
OutputData(v.message)
table.remove(Packet.list, i)
end
end
return OldGet(Packet)
end
setreadonly(Blunder, true)
end)
if not banSuccess then
LocalPlayer:Kick("Error while bypassing the anti-cheat! (".. banError ..")")
return
end
local Library = require(game:GetService("ReplicatedStorage").Library)
assert(Library, "Oopps! Library has not been loaded. Maybe try re-joining?")
while not Library.Loaded do task.wait() end
Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
Humanoid = Character:WaitForChild("Humanoid")
HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local bypassSuccess, bypassError = pcall(function()
if not Library.Network then
LocalPlayer:Kick("Network not found, can't bypass!")
end
if not Library.Network.Invoke or not Library.Network.Fire then
LocalPlayer:Kick("Network Invoke/Fire was not found! Failed to bypass!")
end
hookfunction(debug.getupvalue(Library.Network.Invoke, 1), function(...) return true end)
-- Currently we don't need to hook Fire, since both Invoke/Fire have the same upvalue, this may change in future.
-- hookfunction(debug.getupvalue(Library.Network.Fire, 1), function(...) return true end)
local originalPlay = Library.Audio.Play
Library.Audio.Play = function(...)
if checkcaller() then
local audioId, parent, pitch, volume, maxDistance, group, looped, timePosition = unpack({ ... })
if type(audioId) == "table" then
audioId = audioId[Random.new():NextInteger(1, #audioId)]
end
if not parent then
warn("Parent cannot be nil", debug.traceback())
return nil
end
if audioId == 0 then return nil end
if type(audioId) == "number" or not string.find(audioId, "rbxassetid://", 1, true) then
audioId = "rbxassetid://" .. audioId
end
if pitch and type(pitch) == "table" then
pitch = Random.new():NextNumber(unpack(pitch))
end
if volume and type(volume) == "table" then
volume = Random.new():NextNumber(unpack(volume))
end
if group then
local soundGroup = game.SoundService:FindFirstChild(group) or nil
else
soundGroup = nil
end
if timePosition == nil then
timePosition = 0
else
timePosition = timePosition
end
local isGargabe = false
if not pcall(function() local _ = parent.Parent end) then
local newParent = parent
pcall(function()
newParent = CFrame.new(newParent)
end)
parent = Instance.new("Part")
parent.Anchored = true
parent.CanCollide = false
parent.CFrame = newParent
parent.Size = Vector3.new()
parent.Transparency = 1
parent.Parent = workspace:WaitForChild("__DEBRIS")
isGargabe = true
end
local sound = Instance.new("Sound")
sound.SoundId = audioId
sound.Name = "sound-" .. audioId
sound.Pitch = pitch and 1
sound.Volume = volume and 0.5
sound.SoundGroup = soundGroup
sound.Looped = looped and false
sound.MaxDistance = maxDistance and 100
sound.TimePosition = timePosition
sound.RollOffMode = Enum.RollOffMode.Linear
sound.Parent = parent
if not require(game:GetService("ReplicatedStorage"):WaitForChild("Library"):WaitForChild("Client")).Settings.SoundsEnabled then
sound:SetAttribute("CachedVolume", sound.Volume)
sound.Volume = 0
end
sound:Play()
getfenv(originalPlay).AddToGarbageCollection(sound, isGargabe)
return sound
end
return originalPlay(...)
end
end)
if not bypassSuccess then
print(bypassError)
LocalPlayer:Kick("Error while bypassing network, try again or wait for an update!")
return
end
function FrTeleportToWorld(world, area)
local Library = require(game:GetService("ReplicatedStorage").Library)
Library.WorldCmds.Load(world)
wait(0.25)
local areaTeleport = Library.WorldCmds.GetMap().Teleports:FindFirstChild(area)
Library.Signal.Fire("Teleporting")
task.wait(0.25)
local Character = game.Players.LocalPlayer.Character
local Humanoid = Character.Humanoid
local HumanoidRootPart = Character.HumanoidRootPart
Character:PivotTo(areaTeleport.CFrame + areaTeleport.CFrame.UpVector * (Humanoid.HipHeight + HumanoidRootPart.Size.Y / 2))
Library.Network.Fire("Performed Teleport", area)
task.wait(0.25)
end
function FrTeleportToArea(world, area)
local areaTeleport = Library.WorldCmds.GetMap().Teleports:FindFirstChild(area)
local Character = game.Players.LocalPlayer.Character
local Humanoid = Character.Humanoid
local HumanoidRootPart = Character.HumanoidRootPart
Character:PivotTo(areaTeleport.CFrame + areaTeleport.CFrame.UpVector * (Humanoid.HipHeight + HumanoidRootPart.Size.Y / 2))
Library.Network.Fire("Performed Teleport", area)
end
local TimeElapsed = 0
local ThingsBroke = 0
local STOP = false
local MADE = false
HttpService = game:GetService("HttpService")
local timer = coroutine.create(function()
while 1 do
TimeElapsed = TimeElapsed + 1
wait(1)
end
end)
coroutine.resume(timer)
SettingsBreakable = {
WorldHop = true, -- If This Is True It Will Break Stuff In Every World Up To Cat World
Area = "", -- If World Hop Is False And This Isnt Blank It Will Only Farm In This Area
AutoCollectOrbs = true, -- If This Is True It Will Collect The Orbs Automatically
Loop = false, -- If This Is True It Will Happen All Again And Again (Only Enable If Server Hop Is False)
WaitTime = 20, -- If Something Isnt Broken Past This Time Then Move On To The Next Thing 1 = 0.1s
ThingsToBreak = {
"Apple",
"Orange",
"Pineapple",
"Pear",
"Rainbow Fruit",
"Banana"
} -- List Of Things To Break, If The Name Of The Breakable Contains Any Of These It Will Break It
}
WebhookLayout = { -- {amount} | shows the amount of breakables broken {time} | Shows the time it took finish (seconds)
Title = "Breakables Farmed", -- The Title Of The Webhook
Description = "You Broke ``{amount}`` **Things** In ``{time}`` **Seconds**!", -- Description Of The Webhook
Color = tonumber(0x6967d5) -- The Color Of The Webhook
} -- Will be sent after each server hop if the Webhook thing in SettingsBreakable has a link
function PostWebhook(amount, seconds)
local StatsPath = game:GetService("Players").LocalPlayer.PlayerGui.Main.Right
function GetCoinsAmount(name)
return StatsPath[name].Amount.Text
end
local thingsfarming = ""
local coins = ":coin: **Coins: ** ``" .. GetCoinsAmount("Coins") .. "``\n:coin: **Fantasy Coins: ** ``" .. GetCoinsAmount("Fantasy Coins") .. "``\n:coin: **Tech Coins: ** ``" .. GetCoinsAmount("Tech Coins") .. "``\n:coin: **Rainbow Coins: ** ``" .. GetCoinsAmount("Rainbow Coins") .. "``\n:coin: **Cartoon Coins: ** ``" .. GetCoinsAmount("Cartoon Coins") .. "``\n:gem: **Diamonds: ** ``" .. GetCoinsAmount("Diamonds") .. "``"
local title = WebhookLayout.Title
title = string.gsub(title, "{amount}", tostring(amount))
title = string.gsub(title, "{time}", tostring(seconds))
local desc = WebhookLayout.Description
desc = string.gsub(desc, "{amount}", tostring(amount))
desc = string.gsub(desc, "{time}", tostring(seconds))
for i, v in pairs(SettingsBreakable.ThingsToBreak) do
thingsfarming = thingsfarming .. ":rock: ``" .. v .. "``\n"
end
syn.request({
Url = SettingsBreakable.Webhook,
Method = "POST",
Headers = {
["Content-Type"] = "application/json"
},
Body = HttpService:JSONEncode{
["content"] = "Username: " .. game.Players.LocalPlayer.Name,
["embeds"] = {{
["title"] = title,
["description"] = desc,
["type"] = "rich",
["color"] = WebhookLayout.Color,
["thumbnail"] = {
["url"] = "https://www.biggames.io/_next/static/media/bigGames.66f7ea84.svg",
["height"] = 350,
["width"] = 270
},
["author"] = {
["name"] = "Breakable Farmer",
["icon_url"] = "https://tr.rbxcdn.com/d8055fdc4f5c0cb1f7d40f5e10e93eed/150/150/Image/Png"
},
["fields"] = {{
["name"] = "Things Farming",
["value"] = thingsfarming,
["inline"] = true
},{
["name"] = "Coins",
["value"] = coins,
["inline"] = true
}}
}}
}
})
end
local WebhookLayout
local v1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"));
while not v1.Loaded do
game:GetService("RunService").Heartbeat:Wait();
end;
function WaitUntilAllThingsHaveLoaded()
while 1 do
if #game.Workspace["__THINGS"].Coins:GetChildren() <= 100 then
break
end
wait(0.1)
end
if true then
return
end
while 1 do
oldcount = #game.Workspace["__THINGS"].Coins:GetChildren()
wait(1)
newcount = #game.Workspace["__THINGS"].Coins:GetChildren()
if newcount ~= oldcount then
break
end
end
while 1 do
oldcount = #game.Workspace["__THINGS"].Coins:GetChildren()
wait(1)
newcount = #game.Workspace["__THINGS"].Coins:GetChildren()
if newcount == oldcount then
break
end
end
end
function ShouldBreak(coin)
for i2, v2 in pairs(SettingsBreakable.ThingsToBreak) do
if string.find(coin, v2) then
return true
end
end
return false
end
local Network = require(game:GetService("ReplicatedStorage").Library.Client.Network)
local Fire, Invoke = Network.Fire, Network.Invoke
while 1 do
local Ccount = 0
for i, v in pairs(Invoke("Get Coins")) do
Ccount = Ccount + 1
end
if Ccount >= 10 then break end
wait(3)
end
function ForeverPickupOrbs()
while true do
orbs = {}
for i, v in pairs (game.Workspace['__THINGS'].Orbs:GetChildren()) do
table.insert(orbs, v.Name)
end
Fire("Claim Orbs", orbs)
wait(0.1)
end
end
foreverpickup = coroutine.create(ForeverPickupOrbs)
if SettingsBreakable.AutoCollectOrbs then
coroutine.resume(foreverpickup)
end
game.Players.LocalPlayer.PlayerGui.Inventory.Enabled = true
wait(1)
game.Players.LocalPlayer.PlayerGui.Inventory.Enabled = false
if not SettingsBreakable.WorldHop then
while 1 do
wait(0.01)
if SettingsBreakable.Area == "" then
pcall(function()
for i, v in pairs(game:GetService("Workspace")["__MAP"].Teleports:GetChildren()) do
local anycoins = false
for i2, v2 in pairs(Invoke("Get Coins")) do
if (v2.a) == v.Name and ShouldBreak(v2.n) then
anycoins = true
end
end
if anycoins then
FrTeleportToArea("", v.Name)
Fire("Performed Teleport")
for i2, v2 in pairs(Invoke("Get Coins")) do
pcall(function()
if (v2.a) == v.Name then
if ShouldBreak(v2.n) then
local equippedpets = {}
for i3, v3 in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets.Normal:GetChildren()) do
if v3:IsA("TextButton") then
if v3.Equipped.Visible == true then
table.insert(equippedpets, v3.Name)
end
end
end
local Network = require(game:GetService("ReplicatedStorage").Library.Client.Network)
local Fire, Invoke = Network.Fire, Network.Invoke
n = v2.Name
local v86 = Invoke("Join Coin", i2, equippedpets)
for v88, v89 in pairs(v86) do
Fire("Farm Coin", i2, v88);
end
ThingsBroke = ThingsBroke + 1
count = 0
while 1 do
wait(0.01)
local f = false
for i3, v3 in pairs(Invoke("Get Coins")) do
if i2 == i3 then
f = true
end
end
if count >= SettingsBreakable.WaitTime then break end
if not f then break end
count = count + 1
end
end
end
end)
end
end
end
end)
else
pcall(function()
anycoins = true
if anycoins then
FrTeleportToArea("", SettingsBreakable.Area)
Fire("Performed Teleport")
for i2, v2 in pairs(Invoke("Get Coins")) do
pcall(function()
if (v2.a) == SettingsBreakable.Area then
if ShouldBreak(v2.n) then
FrTeleportToArea(SettingsBreakable.Area, SettingsBreakable.Area)
local equippedpets = {}
for i3, v3 in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets.Normal:GetChildren()) do
if v3:IsA("TextButton") then
if v3.Equipped.Visible == true then
table.insert(equippedpets, v3.Name)
end
end
end
local Network = require(game:GetService("ReplicatedStorage").Library.Client.Network)
local Fire, Invoke = Network.Fire, Network.Invoke
n = v2.Name
local v86 = Invoke("Join Coin", i2, equippedpets)
for v88, v89 in pairs(v86) do
Fire("Farm Coin", i2, v88);
end
ThingsBroke = ThingsBroke + 1
count = 0
while 1 do
wait(0.01)
local f = false
for i3, v3 in pairs(Invoke("Get Coins")) do
if i2 == i3 then
f = true
end
end
if count >= SettingsBreakable.WaitTime then break end
if not f then break end
count = count + 1
end
end
end
end)
end
end
end)
end
if not SettingsBreakable.Loop then
break
end
if STOP then break end
if SettingsBreakable.Loop and not MADE then
MADE = true
local screenCenter = Vector2.new(workspace.CurrentCamera.ViewportSize.X/2, workspace.CurrentCamera.ViewportSize.Y/2)
-- Create the button
local myButton = Instance.new("TextButton")
myButton.Parent = game.Players.LocalPlayer.PlayerGui.Main -- Assumes the script is a child of a ScreenGui
myButton.Position = UDim2.new(0.5, -50, 0.5, -50) -- Set the button's position to the center of the screen
myButton.Size = UDim2.new(0, 100, 0, 100)
myButton.TextWrapped = true
myButton.Text = "Stop Farm"
myButton.Font = Enum.Font.SourceSansBold
myButton.FontSize = Enum.FontSize.Size48 -- Set a big cartoony font
myButton.TextColor3 = Color3.new(1, 1, 1) -- Set the button's text color to white
myButton.BackgroundTransparency = 0 -- Make the button fill visible
myButton.BackgroundColor3 = Color3.new(1, 0, 0) -- Set the button's background color to red
myButton.BorderColor3 = Color3.new(0, 0, 0) -- Set the button's border color to black
myButton.BorderSizePixel = 10 -- Set the button's border size
-- Add an event listener to the button
myButton.MouseButton1Click:Connect(function()
STOP = true
myButton:Destroy()
end)
end
end
else
while 1 do
wait(0.01)
FrTeleportToWorld("Spawn", "Shop")
wait(0.5)
AllCs = Invoke("Get Coins")
pcall(function()
for i, v in pairs(game:GetService("Workspace")["__MAP"].Teleports:GetChildren()) do
local anycoins = false
for i2, v2 in pairs(AllCs) do
if (v2.a) == v.Name and ShouldBreak(v2.n) then
anycoins = true
end
end
if anycoins then
FrTeleportToArea("", v.Name)
wait(0.1)
for i2, v2 in pairs(Invoke("Get Coins")) do
pcall(function()
if (v2.a) == v.Name then
if ShouldBreak(v2.n) then
local equippedpets = {}
for i3, v3 in pairs(game:GetService("Players").LocalPlayer.PlayerGui.Inventory.Frame.Main.Pets.Normal:GetChildren()) do
if v3:IsA("TextButton") then
if v3.Equipped.Visible == true then
table.insert(equippedpets, v3.Name)
end
end
end
local Network = require(game:GetService("ReplicatedStorage").Library.Client.Network)
local Fire, Invoke = Network.Fire, Network.Invoke
n = v2.Name
local v86 = Invoke("Join Coin", i2, equippedpets)
for v88, v89 in pairs(v86) do
Fire("Farm Coin", i2, v88);
end
ThingsBroke = ThingsBroke + 1
count = 0
while 1 do
wait(0.01)
local f = false
for i3, v3 in pairs(Invoke("Get Coins")) do
if i2 == i3 then
f = true
end
end
if count >= SettingsBreakable.WaitTime then break end
if not f then break end
count = count + 1
end
end
end
end)
end
end
end
end)
FrTeleportToWorld("Fantasy", "Fantasy Shop")
wait(0.5)
FarmWorld = "Fantasy"
AllCs = Invoke("Get Coins")
pcall(function()
for i, v in pairs(game:GetService("Workspace")["__MAP"].Teleports:GetChildren()) do
local anycoins = false
for i2, v2 in pairs(AllCs) do
if (v2.a) == v.Name and ShouldBreak(v2.n) then
anycoins = true
end
end
if anycoins then
FrTeleportToArea("", v.Name)
wait(0.1)
for i2, v2 in pairs(Invoke("Get Coins")) do