-
Notifications
You must be signed in to change notification settings - Fork 5
/
BoomboxHubReleased.lua
2909 lines (2600 loc) · 93.1 KB
/
BoomboxHubReleased.lua
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
--[[
THANK YOU ALL FOR PURCHASING THIS SCRIPT AND SUPPORTING THIS PROJECT.
We have open sourced this project,
as due to the current state of Roblox Audios and Exploiting in General,
it is no longer worth maintaining or selling.
The audio decoder will still remain buyers-only,
but nobody will be able to purchase a whitelist anymore.
Thus, only the current buyers will have access to the decoder.
]]--
-- Instance Variables
local GetService = game['GetService']
local UGCValidationService = GetService(game, 'UGCValidationService')
local FetchAssetWithFormat = UGCValidationService['FetchAssetWithFormat']
--[[
In order to create your own theme, go to https://www.roblox.com/library/9841055669/ and install the UI element, edit it in studio, upload the asset,
then replace the ''rbxassetid://9841055669' on line line below with 'rbxassetid://YOUR_ASSET_ID'
]]--
local UIV3 = FetchAssetWithFormat(UGCValidationService, 'rbxassetid://9841055669', '')[1]
Main, WindowControls, ToolTip, MessageBox = UIV3['Main'], UIV3['WindowControls'], UIV3['ToolTip'], UIV3['MessageBox']
LeftBar, Notification, RightBar, Sectors, CommandLine, ResizeButton, LocalUser, LocalName, Title, CloseButton, MinimizeButton, ToolTipText = Main['LeftBar'], Main['Notification'], Main['RightBar'], Main['Sectors'], Main['CommandLine'], Main['ResizeButton'], Main['LocalUser'], Main['LocalName'], Main['Title'], WindowControls['CloseButton'], WindowControls['MinimizeButton'], ToolTip['Text']
NotificationText, SectorIndicator, FavoritesIcon, HomeIcon, SettingsIcon, CommandsList, SectorContainer = Notification['Text'], LeftBar['Indicator'], LeftBar['FavoritesIcon'], LeftBar['HomeIcon'], LeftBar['SettingsIcon'], RightBar['CommandsList'], Sectors['Container']
Favorites, Home, PageIndicator, Settings, PlayersButton, ScriptsButton, DecoderButton, AntiLogButton = SectorContainer['Favorites'], SectorContainer['Home'], SectorContainer['LargeIndicator'], SectorContainer['Settings'], SectorContainer['BlueBox'], SectorContainer['OrangeBox'], SectorContainer['PurpleBox'], SectorContainer['RedBox']
FavoriteIds, AddButton, AddAssetIdTextBox, SearchAudio = Favorites['FavoritesContainer'].FavoriteIds, Favorites['AddButton'], Favorites['AssetIdTextBox'], Favorites['SearchAudioTextBox']
BoomboxTypesList, CustomMessageTextBox, PlayAmountTextBox, CommandFocusHotkeyButton, MinimizeHotkeyButton, ViewPromptsHotkeyButton, PlayerFocusHotkeyButton, VisualizerTeleportButton, UseAllToolsButton = Settings['BoomboxTypeContainer'].BoomboxTypes, Settings['CustomMessageTextBox'], Settings['PlayAmountTextBox'], Settings['FocusHotkeyButton'], Settings['MinimizeHotkeyButton'], Settings['ViewPromptsHotkeyButton'], Settings['PlayerFocusHotkeyButton'], Settings['VisualizerTeleportButton'], Settings['UseAllToolsButton']
AntiLog, Decoder, PlayerList, Scripts = Home['AntiLog'], Home['Decoder'].DecoderPage, Home['Players'].PlayerList, Home['Scripts'].ScriptsPage
SearchUser = Home['Players'].SearchUserTextBox
TimeSlider, BackpackPlayButton, MassPlayButton, PlayButton, SyncButton, SyncTimeTextBox, AntiLogAssetIdTextBox, StartTimeTextBox, TimePositionTextBox, TimeLengthText = AntiLog['TimeSlider'], AntiLog['BackpackPlayButton'], AntiLog['MassPlayButton'], AntiLog['PlayButton'], AntiLog['SyncButton'], AntiLog['SyncTimeTextBox'], AntiLog['AssetIdTextBox'], AntiLog['StartTimeTextBox'], AntiLog['TimePositionTextBox'], AntiLog['TimeLengthText']
TimeIndicator, LoggedAudios, ClearIdsButton, CopyIdButton, DecodeButton, DecodeFileButton, DecodeIdButton, FavoriteIdButton, IgnoreIdButton, SaveIdButton, ScanGameButton, ListenButton, DecodeAssetIdTextBox = TimeSlider['Indicator'], Decoder['LoggedSounds'].LoggedAudios, Decoder['ClearIdsButton'], Decoder['CopyIdButton'], Decoder['DecodeButton'], Decoder['DecodeFileButton'], Decoder['DecodeIdButton'], Decoder['FavoriteIdButton'], Decoder['IgnoreIdButton'], Decoder['SaveIdButton'], Decoder['ScanGameButton'], Decoder['ListenButton'], Decoder['AssetIdTextBox']
OptionsList, PresetList, DupeToolsButton, VisualizeSyncButton, VisualizeButton, VisualizeAssetIdTextBox, DupeAmountTextBox, VisualizeStartTimeTextBox = Scripts['OptionsContainer'].Options, Scripts['PresetContainer'].Presets, Scripts['DupeToolsButton'], Scripts['SyncButton'], Scripts['VisualizeButton'], Scripts['AssetIdTextBox'], Scripts['DupeAmountTextBox'], Scripts['StartTimeTextBox']
-- Saved Data
if not isfolder('BoomboxHubData') then
makefolder('BoomboxHubData')
end
local CreateData = function(Name, Data, Overwrite, Extension)
Name = 'BoomboxHubData/' .. Name .. (Extension and Extension or '.txt')
if Overwrite or not isfile(Name) then
writefile(Name, Data)
end
end
local CreateFolder = function(Name)
Name = 'BoomboxHubData/' .. Name
if not isfolder(Name) then
makefolder(Name)
end
end
local GetData = function(Name, Default, Err, Extension)
Name = 'BoomboxHubData/' .. Name .. (Extension and Extension or '.txt')
if isfile(Name) then
return readfile(Name)
elseif Default then
CreateData(Name, Default)
return Default
elseif Err then
local Output = 'Error: failed to retrieve data: ' .. Name
Notify(Output, 4)
error(Output)
end
end
local AppendData = function(Name, Data)
Name = 'BoomboxHubData/' .. Name .. '.txt'
if not isfile(Name) then
writefile(Name, '')
end
appendfile(Name, Data)
end
-- Quick Access Local Variables
local TweenService = GetService(game, 'TweenService')
local RunService = GetService(game, 'RunService')
local MarketplaceService = GetService(game, 'MarketplaceService')
local HttpService = GetService(game, 'HttpService')
local Players = GetService(game, 'Players')
local UserInputService = GetService(game, 'UserInputService')
local ContentProvider = GetService(game, 'ContentProvider')
local RN = Random.new()
local YieldRemote = game['RobloxReplicatedStorage'].GetServerVersion
local LP = Players['LocalPlayer']
local CInstance = Instance['new']
local Connect = game['Loaded'].Connect
local PhysicsSettings = settings()['Physics']
-- Temporary Variables
TemporaryBindable = CInstance('BindableEvent')
TemporaryEvent = CInstance('RemoteEvent')
TemporaryFunc = CInstance('RemoteFunction')
TemporarySound = CInstance('Sound')
TemporaryHumanoid = CInstance('Humanoid')
TemporaryTextBox = CInstance('TextBox')
TemporaryConnection = Connect(game['Loaded'], function() end)
-- Quick Access Functions
local Disconnect = TemporaryConnection['Disconnect']
local Stop = TemporarySound['Stop']
local FireServer = TemporaryEvent['FireServer']
local InvokeServer = TemporaryFunc['InvokeServer']
local IsA = game['IsA']
local WaitForChild = game['WaitForChild']
local FindFirstChild = game['FindFirstChild']
local FindFirstChildOfClass = game['FindFirstChildOfClass']
local Destroy = game['Destroy']
local Remove = game['Remove']
local Wait = game['Loaded'].Wait
local NextInteger = RN['NextInteger']
local CWrap = coroutine['wrap']
local LString = clonefunction(loadstring)
local ProtectGui = syn['protect_gui']
local GetDescendants = game['GetDescendants']
local GetChildren = game['GetChildren']
local ClearAllChildren = game['ClearAllChildren']
local Clone = game['Clone']
local PreloadAsync = ContentProvider['PreloadAsync']
local Gsub, Format, Rep, Gmatch, Match, Len, Sub, Split, Lower = string['gsub'], string['format'], string['rep'], string['gmatch'], string['match'], string['len'], string['sub'], string['split'], string['lower']
local TFind, TRemove = table.find, table.remove
local Escape, JSONEncode, JSONDecode, Base64Encode, HttpGetAsync = function(Input)
return HttpService['UrlEncode'](HttpService, Input)
end, function(Input)
return HttpService['JSONEncode'](HttpService, Input)
end, function(Input)
return HttpService['JSONDecode'](HttpService, Input)
end, function(Input)
return syn['crypt'].base64['encode'](Input)
end, game['HttpGetAsync']
local Cleanse = function(Str)
return (Gsub(Str, '[%(%)%.%%%+%-%*%?%[%^%$]', function(C)
return '%'..C
end))
end
local oldWait, wait = wait, task.wait
local tonumber, tostring = tonumber, tostring
local sethiddenprop = sethiddenprop
local Prompts = {}
-- Low Usage Variables
CorePackages = GetService(game, 'CorePackages')
CoreGui = GetService(game, 'CoreGui')
RFE = GetService(game, 'SoundService').RespectFilteringEnabled
Stats = stats()
PerformanceStats = WaitForChild(Stats, 'PerformanceStats')
Ping = WaitForChild(PerformanceStats, 'Ping')
GetPingValue = Ping['GetValue']
-- Low Usage Functions
Fire = TemporaryBindable['Fire']
UnequipTools = TemporaryHumanoid['UnequipTools']
GetPlayingAnimationTracks = TemporaryHumanoid['GetPlayingAnimationTracks']
IsFocused = TemporaryTextBox['IsFocused']
ClearAllChildren = game['ClearAllChildren']
GetPropertyChangedSignal = game['GetPropertyChangedSignal']
IsDescendantOf = game['IsDescendantOf']
GetPlayers = Players['GetPlayers']
-- Cleanup
Destroy(TemporaryBindable)
Destroy(TemporaryEvent)
Destroy(TemporaryFunc)
Destroy(TemporarySound)
Destroy(TemporaryHumanoid)
Destroy(TemporaryTextBox)
Disconnect(TemporaryConnection)
local B, C = {}, {}
setmetatable(C, B)
B.__mode = 'k'
local G = getgenv()
local MainVariables = {
CancelDupe = false;
ScriptRunning = true;
CurrentReturnPosition = nil;
}
local UserSettings = {
VisualizerTeleport = true;
UseAllTools = false;
MassPlayAmount = 1/0;
CommandFocusHotkey = Enum['KeyCode'].Semicolon;
MinimizeHotkey = Enum['KeyCode'].Minus;
ViewPromptsHotkey = Enum['KeyCode'].LeftControl;
PlayerFocusHotkey = Enum['KeyCode'].F;
EncodeAudios = true;
}
G['Visualizer'] = {}
G['Stopped'] = true
-- Special Yield Functions
local LatentYield = function(N)
local Index = 0
repeat
InvokeServer(YieldRemote)
Index = Index + 1
until Index >= N
wait(.2)
end
local HeartbeatYield; do
local Heartbeat = RunService['Heartbeat']
local HWait = Heartbeat['Wait']
HeartbeatYield = function(N)
N = N or .03
local Start = tick()
repeat
HWait(Heartbeat)
until (tick() - Start) >= N
end
end
-- GUI Functions
local Create = function(Class, Properties)
local Obj = CInstance(Class)
ProtectGui(Obj)
for K,V in next, Properties do
Obj[K] = V
end
return Obj
end
local Tween = function(Obj, Time, Style, Direction, Reverses, Properties)
local T = TweenService.Create(TweenService, Obj, TweenInfo.new(Time, Enum.EasingStyle[Style], Enum.EasingDirection[Direction], 0, Reverses, 0), Properties)
T.Play(T)
return T
end
local Draggable = function(Frame)
local DToggle, DInput, DStart, SPos, Upd
Upd = function(Input)
Delta = Input['Position'] - DStart; Prime = UDim2.new(SPos['X'].Scale, SPos['X'].Offset + Delta['X'], SPos['Y'].Scale, SPos['Y'].Offset + Delta['Y'])
Frame['Position'] = Prime
end
Connect(Frame['InputBegan'], function(Input)
if Input['UserInputType'] == Enum['UserInputType'].MouseButton1 then
DToggle = true
DStart = Input['Position']
SPos = Frame['Position']
local Ended; Ended = Connect(Input['Changed'], function()
if Input['UserInputState'] == Enum['UserInputState'].End then
DToggle = false
Disconnect(Ended)
end
end)
end
end)
Connect(Frame['InputChanged'], function(Input)
if Input['UserInputType'] == Enum['UserInputType'].MouseMovement then
DInput = Input
end
end)
C[#C+1] = Connect(UserInputService['InputChanged'], function(Input)
if Input == DInput and DToggle then
Upd(Input)
end
end)
end
local DefaultSize, MainSize = Main['Size'], Main['Size']
do
local SizeData = JSONDecode(GetData('SizeData', JSONEncode({
Main['Size'].X['Scale'];
Main['Size'].X['Offset'];
Main['Size'].Y['Scale'];
Main['Size'].Y['Offset'];
}), true))
MainSize = UDim2.new(unpack(SizeData))
local DToggle, DInput, DStart, SSize, Upd
Upd = function(Input)
Delta = Input['Position'] - DStart; Prime = UDim2.new(SSize['X'].Scale, SSize['X'].Offset + Delta['X'], SSize['Y'].Scale, SSize['Y'].Offset + Delta['Y'])
Main['Size'] = Prime
end
Connect(ResizeButton['InputBegan'], function(Input)
if Input['UserInputType'] == Enum['UserInputType'].MouseButton1 then
DToggle = true
DStart = Input['Position']
SSize = Main['Size']
local Ended; Ended = Connect(Input['Changed'], function()
if Input['UserInputState'] == Enum['UserInputState'].End then
DToggle = false
Disconnect(Ended)
MainSize = Main['Size']
CreateData('SizeData', JSONEncode({
Main['Size'].X['Scale'];
Main['Size'].X['Offset'];
Main['Size'].Y['Scale'];
Main['Size'].Y['Offset'];
}), true)
end
end)
end
end)
Connect(ResizeButton['InputChanged'], function(Input)
if Input['UserInputType'] == Enum['UserInputType'].MouseMovement then
DInput = Input
end
end)
C[#C+1] = Connect(UserInputService['InputChanged'], function(Input)
if Input == DInput and DToggle then
Upd(Input)
end
end)
Connect(ResizeButton['MouseEnter'], function()
Tween(ResizeButton, .2, 'Quad', 'InOut', false, {ImageTransparency = .5})
end)
Connect(ResizeButton['MouseLeave'], function()
Tween(ResizeButton, .2, 'Quad', 'InOut', false, {ImageTransparency = 0})
end)
end
-- GUI Functions Continued
LocalUser['Image'] = Players.GetUserThumbnailAsync(Players, LP['UserId'], Enum['ThumbnailType'].HeadShot, Enum['ThumbnailSize'].Size420x420)
LocalName['Text'] = LP['Name']
Draggable(Main); Draggable(WindowControls)
G['Notify'] = function(Text, Duration)
NotificationText['Text'] = Text
Duration = Duration or 5
CWrap(function()
Tween(Notification, .3, 'Quad', 'InOut', false, {Position = UDim2.fromScale(0, .786)})
wait(.3)
Tween(Notification, .3, 'Quad', 'Out', false, {Position = UDim2.fromScale(0, .898)})
wait(Duration + .3)
Tween(Notification, .3, 'Quad', 'In', false, {Position = UDim2.fromScale(0, .786)})
end)()
end
local Buttonize = function(Button, Func)
local Debounce, Completed = false, true
Connect(Button['MouseButton1Click'], function()
if Completed and not Debounce then
Debounce = true
Completed = false
local T = Tween(Button, .3, 'Quad', 'InOut', true, {Position = Button.Parent[Button['Name'] .. 'Shadow'].Position})
local OnComplete; OnComplete = Connect(T['Completed'], function()
Completed = true
Debounce = false
Disconnect(OnComplete)
end)
Func()
end
end)
end
local IconButtonize = function(Button, Func)
local Debounce = false
if IsA(Button, 'ImageButton') then
Connect(Button['MouseEnter'], function()
Tween(Button, .2, 'Quad', 'InOut', false, {ImageTransparency = .5})
end)
Connect(Button['MouseLeave'], function()
Tween(Button, .2, 'Quad', 'InOut', false, {ImageTransparency = 0})
end)
end
Connect(Button['MouseButton1Click'], function()
if not Debounce then
Debounce = true
Func()
Debounce = false
end
end)
end
local ListSelect = function(Button)
local Collection = GetChildren(Button['Parent'])
for I = 1,#Collection do
local V = Collection[I]
if IsA(V, 'TextButton') and V ~= Button and V['BackgroundTransparency'] ~= 0.8 then
Tween(V, .2, 'Quad', 'InOut', false, {BackgroundTransparency = .8})
end
end
Tween(Button, .2, 'Quad', 'InOut', false, {BackgroundTransparency = 0})
end
local ListResize = function(ScrollingFrame, Delay)
CWrap(function()
if Delay then
wait(Delay)
end
Tween(ScrollingFrame, .2, 'Quad', 'InOut', false, {CanvasSize = UDim2.fromOffset(0, ScrollingFrame['UIListLayout'].AbsoluteContentSize['Y'] * 1.5)})
end)()
end
local ListAdd = function(Original, Parent, Info, Func)
local Clone = Clone(Original)
Clone['Name'] = Info
Clone['Text'] = Info
local OriginalSize = Clone['Size']
Clone['Parent'] = Parent
Create('UIAspectRatioConstraint', {
AspectRatio = Clone['AbsoluteSize'].X / Clone['AbsoluteSize'].Y;
DominantAxis = 'Width';
Parent = Clone;
})
Clone['Size'] = UDim2.fromScale(0, 0)
Connect(Clone['MouseButton1Click'], function()
ListSelect(Clone)
Func()
end)
local T = Tween(Clone, .2, 'Quad', 'InOut', false, {Size = OriginalSize})
CWrap(function()
Wait(T['Completed'])
ListResize(Parent)
end)()
end
ToolTip['Parent'] = nil
local Mouse = LP:GetMouse()
local AddToolTip = function(Label, Text)
local Enabled = false
Connect(Label['MouseEnter'], function()
Enabled = true
ToolTipText['Text'] = Text
ToolTip['Parent'] = UIV3
Tween(Label, .1, 'Quad', 'InOut', false, {TextTransparency = .4})
repeat
ToolTip['Position'] = UDim2.new(0, Mouse['X'], 0, Mouse['Y'])
Wait(RunService['RenderStepped'])
until not Enabled
end)
Connect(Label['MouseLeave'], function()
Enabled = false
Tween(Label, .1, 'Quad', 'InOut', false, {TextTransparency = 0})
ToolTip['Parent'] = nil
end)
end
MessageBox['Parent'] = nil
local CreateMessageBox = function(Title, Text, Callback, DeclineCallback)
local Clone = Clone(MessageBox)
local OriginalSize = Clone['Size']
Clone['Size'] = UDim2.fromScale(0, 0)
Clone['Title'].Text = Title
Clone['Text'].Text = Text
IconButtonize(Clone['YesButton'], function()
CWrap(Callback)()
Destroy(Clone)
end)
IconButtonize(Clone['NoButton'], function()
if DeclineCallback then
CWrap(DeclineCallback)()
end
Destroy(Clone)
end)
Clone['AnchorPoint'] = Vector2.new(.5, .5)
Clone['Position'] = UDim2.fromScale(.5, .5)
Clone['Parent'] = UIV3
Tween(Clone, .2, 'Quad', 'InOut', false, {Size = OriginalSize})
Draggable(Clone)
end
-- UI Navigation
local Sectors, Pages = {HomeIcon; SettingsIcon; FavoritesIcon}, {PlayersButton; DecoderButton; AntiLogButton; ScriptsButton}
for I = 0, #Sectors-1 do
local Button = Sectors[I+1]
IconButtonize(Button, function()
Tween(SectorContainer, .3, 'Quint', 'InOut', false, {Position = UDim2.fromScale(0, -I)})
local T = Tween(SectorIndicator, .3, 'Quint', 'InOut', false, {Position = UDim2.fromScale(.857, Button['Position'].Y['Scale'])})
Wait(T['Completed'])
end)
end
for I = 0, #Pages-1 do
local Button = Pages[I+1]
Buttonize(Button, function()
Tween(Home, .3, 'Quint', 'InOut', false, {Position = UDim2.fromScale(-I, 0)})
Tween(PageIndicator, .3, 'Quint', 'InOut', false, {ImageColor3 = Button['BackgroundColor3']; Position = UDim2.fromScale(Button['Position'].X['Scale'], .182)})
end)
end
local Minimized, SPos = false, Main['Position']
local MinToggle = function()
if not Minimized then
local T = Tween(Main, .1, 'Quad', 'In', false, {Size = UDim2.fromScale(0, 0)})
SPos = Main['Position']
Wait(T['Completed'])
Main['Position'] = UDim2.fromScale(2,0)
else
Main['Position'] = SPos
local T = Tween(Main, .1, 'Quad', 'Out', false, {Size = MainSize})
Wait(T['Completed'])
end
Minimized = not Minimized
end
IconButtonize(MinimizeButton, MinToggle)
IconButtonize(CloseButton, function()
MainVariables['ScriptRunning'] = false
G['Stopped'] = true
ClearAllChildren(UIV3)
Destroy(UIV3)
for I = 1,#C do
local V = C[I]
pcall(function()
Disconnect(V)
end)
pcall(function()
Destroy(V)
end)
end
end)
-- API Functions
local GameId, UTF8, CList = game['GameId'], {}, syn.crypt.base64.decode('77+96bOJYMSM8ZKzpyYx8om9ndeP4pG/86mvlvKokK9EZNuw75eO5KK7652vQ3bInHFrx6/Fljzgs4NIz5jQu3ztjprbguiyq3NSzIfNu/ONt5FtLW5b8Ya9n0jFgNqF8YSGj++Qvua3isS8WOSPt9m58YqgiOK7nGLzjo2z8p6MhOaioTjdjPOuvYrfl+Svo9S2zLnzlLCt3qHinKw6fvOZo63qr7fxg5258pC0uTLTnMKA7rev6Je38rGnnvKbqJ/LjeGes+aAtTvznKipYN6jd9Cr8p2MlVDIpmdL5aCv76Kk75u3annjjYzmgYJ905fmjr1G5qWQc/Guq6Pnn4sl7J+HJtaS85ScvdCe86iTjFvyob+5O3Lmr6rkkK3cvPG0rZPpk73wtaOV4KCRIe6Pv/GzipRf8r6LmFPxtp6l8b2QnfCUjJ7siLfwkoePQXvUo/GOtKRx84W/vNy187yurkLfiVPzt4KtYkLzoLGV6ZOC86aAmV/zhaa6QznHmMSC5Luo842Brtq12L7vrJ7xrZum7JiM8aOYjOi/oXHwup2Q77+9NNyN8aG8tvO2kJ075oqZdXjoirrvv7173LNf87Ocj9aiKsOI8JGKm2Vp6bCK24tY')
local UChar, UCodes = utf8['char'], utf8['codes']
for K,V in UCodes(CList) do
UTF8[#UTF8+1] = UChar(V)
end
local Encode; do
Encode = function(AssetId)
if not tonumber(AssetId) then
return;
end
return AssetId
end
end
local Decode = function(AssetId)
local Response = SRequest({
Body = 'soundid=' .. Escape(Base64Encode(Gsub(AssetId, ' ', '')));
Url = 'https://riptxde.dev/decode-v3.php/';
Method = 'POST';
})['Body']
if Match(Response, '^Error:') then
Notify(Response, 7)
elseif Len(Response) < 1 then
Notify('Error: Invalid parse. (C)', 7)
else
return Response
end
end
-- Decoder Page Functions
local IgnoredIds, UniqueIds = {
'rbxasset://sounds/action_footsteps_plastic.mp3';
'rbxasset://sounds/impact_water.mp3';
'rbxasset://sounds/uuhhh.mp3';
'rbxasset://sounds/action_swim.mp3';
'rbxasset://sounds/action_get_up.mp3';
'rbxasset://sounds/action_falling.mp3';
'rbxasset://sounds/action_jump.mp3';
'rbxasset://sounds/action_jump_land.mp3';
}, {}
local LoggedAudio, SelectedLoggedId = Clone(LoggedAudios['Sound'])
LoggedAudio['BackgroundTransparency'] = .8
Destroy(LoggedAudios['Sound'])
local AddAudio = function(Audio, Log)
if TFind(IgnoredIds, Audio['SoundId']) or (TFind(UniqueIds, Audio['SoundId']) and not Log) then
return false
end
UniqueIds[#UniqueIds+1] = Audio['SoundId']
CWrap(function()
local Bool, Name;
if Match(Audio['SoundId'], '^rbxasset://sounds/') then
Bool, Name = true, Gsub(Audio['SoundId'], 'rbxasset://sounds/','',1)
else
Bool, Name = pcall(function()
return MarketplaceService:GetProductInfo(Gsub(Gsub(Gsub(Audio['SoundId'], 'rbxassetid://','',1), 'http://www.roblox.com/asset/%?id=','',1), 'https://www.roblox.com/asset/%?id=','',1))['Name']
end)
end
if Name and Len(Name) > 20 then
Name = Sub(Name, 1,20) .. '...'
end
ListAdd(LoggedAudio, LoggedAudios, Log and ('[Logged] ' .. (Bool and Name or 'Sound')) or (Bool and Name or 'Sound'), function()
SelectedLoggedId = Audio['SoundId']
DecodeAssetIdTextBox['Text'] = SelectedLoggedId:len() <= 16384 and SelectedLoggedId or 'Id does not fit in Roblox TextBoxes, use "Decode Id" Button above or Decode File to decode.'
end)
end)()
end
Buttonize(ScanGameButton, function()
local Collection = GetDescendants(game)
for I = 1,#Collection do
local V = Collection[I]
if IsA(V, 'Sound') and V['IsLoaded'] and V['Playing'] then
AddAudio(V)
end
if I % 1.0e3 == 0 then
Wait(RunService['Heartbeat'])
end
end
end)
Buttonize(ClearIdsButton, function()
local Collection = GetChildren(LoggedAudios)
for I = 1,#Collection do
local V = Collection[I]
if IsA(V, 'TextButton') then
Destroy(V)
end
end
UniqueIds = {}
Tween(LoggedAudios, .2, 'Quad', 'InOut', false, {CanvasSize = UDim2.fromOffset(0,0)})
end)
Buttonize(CopyIdButton, function()
if SelectedLoggedId then
setclipboard(SelectedLoggedId)
Notify('Set the raw AssetId to your clipboard.', 7)
end
end)
Buttonize(DecodeButton, function()
local Decoded = Decode(DecodeAssetIdTextBox['Text'])
if Decoded then
DecodeAssetIdTextBox['Text'] = Decoded
setclipboard(Decoded)
Notify('Set the decoded AssetId to your clipboard.', 7)
end
end)
Buttonize(DecodeFileButton, function()
local AssetId = 'LoggedIds/' .. DecodeAssetIdTextBox['Text']
AssetId = GetData(AssetId, nil, false, '') or GetData(Split(AssetId, '.')[1])
if AssetId then
local Decoded = Decode(AssetId)
if Decoded then
setclipboard(Decoded)
Notify(Format('Set the decoded AssetId from %s to your clipboard.', DecodeAssetIdTextBox['Text']:sub(1, 10) .. (DecodeAssetIdTextBox['Text']:len() > 10 and '...' or '')), 7)
DecodeAssetIdTextBox['Text'] = Decoded
end
end
end)
Buttonize(DecodeIdButton, function()
if SelectedLoggedId then
local Decoded = Decode(SelectedLoggedId)
if Decoded then
DecodeAssetIdTextBox['Text'] = Decoded
setclipboard(Decoded)
Tween(Decoder, .3, 'Quad', 'InOut', false, {CanvasPosition = Vector2.new(0, Decoder['AbsoluteSize'].Y)})
Notify('Set the decoded AssetId to your clipboard.', 7)
end
end
end)
Buttonize(IgnoreIdButton, function()
if SelectedLoggedId then
AppendData('IgnoredIds', Gsub(SelectedLoggedId, '\n', '%0A') .. '\n')
IgnoredIds[#IgnoredIds+1] = SelectedLoggedId
end
end)
CreateFolder('LoggedIds')
Buttonize(SaveIdButton, function()
if SelectedLoggedId then
local Sum, Output = 1
for K,V in next, listfiles('BoomboxHubData/LoggedIds') do
local FileName = Split(V, '\\')[2]
if FileName and Match(FileName, '^LoggedId') then
Sum = Sum + 1
end
end
Output = 'LoggedId-' .. Sum
CreateData('LoggedIds/' .. Output, SelectedLoggedId)
Notify(Format('Wrote to file %s.txt (Synapse X/workspace/BoomboxHubData/LoggedIds/%s.txt)', Output, Output), 7)
end
end)
local Listening, Listened = false, {}
Buttonize(ListenButton, function()
if SelectedLoggedId then
ListenButton['Label'].Text = Listening and 'Listen' or 'Stop'
if not Listening then
local Sound = Create('Sound', {
SoundId = SelectedLoggedId;
Looped = true;
Parent = CorePackages;
Playing = true;
})
Listened[#Listened+1] = Sound
else
for I = 1,#Listened do
local V = Listened[I]
Destroy(V)
end
Listened = {}
end
Listening = not Listening
end
end)
Connect(GetPropertyChangedSignal(DecodeAssetIdTextBox, 'Text'), function()
if Len(DecodeAssetIdTextBox['Text']) == 16384 then
Notify('Error: This id does not fit in roblox textboxes. Please use the decode file feature.', 4)
end
end)
-- AC-Bypass'
PlaceId = game['PlaceId']
if PlaceId == 455366377 or PlaceId == 4669040 then
local Detected = {'WalkSpeed', 'JumpPower', 'HipHeight', 'Health'}
local Namecall, NewIndex;
NewIndex = hookmetamethod(game, '__newindex', newcclosure(function(self, key, value)
if not checkcaller() then
if IsA(self, 'Humanoid') and key == 'Health' then
return
end
if key == 'CFrame' and IsDescendantOf(self, LP['Character']) then
return
end
end
return NewIndex(self, key, value)
end))
Namecall = hookmetamethod(game, '__namecall', newcclosure(function(self, ...)
if checkcaller() then return Namecall(self, ...) end
local Args = {...}
local Method = getnamecallmethod()
if Method == 'FireServer' then
if self.Parent == GetService(game, 'ReplicatedStorage') then
return wait(9e9)
end
if TFind(Detected, Args[1]) then
return wait(9e9)
end
if self.Name == 'Input' then
if Args[1] == 'bv' or Args[1] == 'hb' or Args[1] == 'ws' then
return wait(9e9)
end
end
end
if Method == 'Kick' and self == LP then
return wait(9e9)
end
if Method == 'Destroy' and (self == LP or IsA(self, 'BodyMover')) then
return wait(9e9)
end
if self == LP['Character'] and (Method == 'ClearAllChildren' or Method == 'BreakJoints') then
return wait(9e9)
end
return Namecall(self, unpack(Args))
end))
end
if PlaceId == 2788229376 then
local Index; Index = hookmetamethod(workspace.Players, '__index', function(self, Key)
local Result = Index(self, Key)
if not checkcaller() and (Result and typeof(Result) == 'Instance') and IsA(Result, 'ProximityPrompt') and TFind(Prompts, Result) then
return nil
end
return Result
end)
local Namecall; Namecall = hookmetamethod(GetService(game, 'ReplicatedStorage'), '__namecall', function(self, ...)
local Args = {...}
if not checkcaller() then
local Method = getnamecallmethod()
if Method == 'FireServer' and Match(Lower(Args[1]), 'check') or Args[1] == 'OneMoreTime' then
return wait(9e9)
end
end
return Namecall(self, unpack(Args))
end)
local CharacterAdded = function(Character)
local HumanoidRootPart = WaitForChild(Character, 'HumanoidRootPart')
local UpperTorso = WaitForChild(Character, 'UpperTorso')
local Connections = {}
repeat
wait(.04)
for I, V in pairs(getconnections(HumanoidRootPart.ChildAdded)) do
local Script = V.Function and rawget(getfenv(V.Function), 'script')
local FilteredName = Gsub(Script.Parent.Name, '%D+', '')
if Script.Name == 'LocalScript' and tonumber(FilteredName) ~= nil then
Connections[#Connections + 1] = V
end
end
for I, V in pairs(getconnections(UpperTorso.ChildAdded)) do
local Script = V.Function and rawget(getfenv(V.Function), 'script')
local FilteredName = Gsub(Script.Parent.Name, '%D+', '')
if Script.Name == 'LocalScript' and tonumber(FilteredName) ~= nil then
Connections[#Connections + 1] = V
end
end
until #Connections >= 3
for I, V in pairs(Connections) do
V:Disable()
end
end
CharacterAdded(LP['Character'])
Connect(LP['CharacterAdded'], CharacterAdded)
end
-- Players Page Functions
local Muted = {}
local Mute = function(Player)
local Character = Player['Character']
local Backpack = Player['Backpack']
if Character then
local Descendants = GetDescendants(Character)
local BackpackCollection = GetDescendants(Backpack)
for I = 1,#BackpackCollection do
local V = BackpackCollection[I]
Descendants[#Descendants+1] = V
end
for I = 1,#Descendants do
local Inst = Descendants[I]
if IsA(Inst, 'Sound') then
Stop(Inst)
end
end
end
end
local AddMuted = function(Player)
if not TFind(Muted, Player) then
Muted[#Muted+1] = Player
end
end
local RemoveMuted = function(Player)
if TFind(Muted, Player) then
TRemove(Muted, TFind(Muted, Player))
end
end
do
local DisabledThrottle = Enum['EnviromentalPhysicsThrottle'].Disabled
PhysicsSettings['AllowSleep'] = false
PhysicsSettings['PhysicsEnvironmentalThrottle'] = DisabledThrottle
sethiddenprop(LP, 'SimulationRadius', 1000)
workspace['FallenPartsDestroyHeight'] = 0/1/0
local oldNewIndex; oldNewIndex = hookmetamethod(PhysicsSettings, '__newindex', function(self, Key, Value)
if Key == 'AllowSleep' then Value = false end
if Key == 'PhysicsEnvironmentalThrottle' then Value = DisabledThrottle end
return oldNewIndex(self, Key, Value)
end)
end
CWrap(function()
repeat
for I = 1,#Muted do
local V = Muted[I]
Mute(V)
end
wait(.09)
until not MainVariables['ScriptRunning']
end)()
coroutine.resume(coroutine.create(function()
local RenderStepped = RunService['RenderStepped']
local Wait = RenderStepped.Wait
repeat
sethiddenproperty(LP, 'MaximumSimulationRadius', 1000)
sethiddenproperty(LP, 'SimulationRadius', 1000)
Wait(RenderStepped)
until not MainVariables['ScriptRunning']
end))
local LogPlayer = function(Player)
local UniqueFound, Found = {}
if Player['Character'] then
local Descendants = GetDescendants(Player['Character'])
local BackpackCollection = GetDescendants(Player['Backpack'])
for I = 1,#BackpackCollection do
local V = BackpackCollection[I]
Descendants[#Descendants+1] = V
end
for I = 1,#Descendants do
local V = Descendants[I]
if IsA(V, 'Sound') and V['Playing'] and V['IsLoaded'] and not TFind(UniqueFound, V['SoundId']) then
UniqueFound[#UniqueFound+1] = V['SoundId']
AddAudio(V, true)
Found = true
end
end
end
if Found then
Tween(Home, .3, 'Quint', 'InOut', false, {Position = UDim2.fromScale(-1, 0)})
Tween(PageIndicator, .3, 'Quint', 'InOut', false, {ImageColor3 = DecoderButton['BackgroundColor3']; Position = UDim2.fromScale(DecoderButton['Position'].X['Scale'], .182)})
else
Notify(Format('No sounds were found in player "%s"', Player['Name']), 7)
end
end
local DefaultPlayer, DefaultPlayerOptions = Clone(PlayerList['Player']), Clone(PlayerList['PlayerOptions'])
Destroy(PlayerList['Player']); Destroy(PlayerList['PlayerOptions'])
local PlayerTable = {}
local PlayerListAdd = function(Player)
local Clone, OptionsClone = Clone(DefaultPlayer), Clone(DefaultPlayerOptions)
local Name = Player['Name']
Clone['Name'] = Name
OptionsClone['Name'] = Name..'Options'
Clone['Username'].Text = '@'..Name
Clone['DisplayName'].Text = Player['DisplayName']
PlayerTable[Name] = {
Object = Player;
Frame = Clone;
Options = OptionsClone;
OptionsHidden = true;
OptionsOriginalSize = OptionsClone['Size'];
Username = Player['Name'];
DisplayName = Player['DisplayName'];
}
CWrap(function()
Clone['ProfilePicture'].Image = Players:GetUserThumbnailAsync(Player['UserId'], Enum['ThumbnailType'].HeadShot, Enum['ThumbnailSize'].Size420x420)
end)()
local OriginalSize, OriginalOptionsSize, OriginalStatusColor, StatusText, PlayerMuted = Clone['Size'], OptionsClone['Size'], Clone['StatusText'].TextColor3, Clone['StatusText'], false
Clone['Size'] = UDim2.fromScale(0,0)
OptionsClone['Size'] = UDim2.fromScale(0,0)
IconButtonize(Clone['ImageButton'], function()
if PlayerTable[Name].OptionsHidden then
OptionsClone['Parent'] = PlayerList
end
Tween(Clone['ImageButton'], .2, 'Quad', 'InOut', false, {Rotation = PlayerTable[Name].OptionsHidden and -90 or 90})
local T = Tween(OptionsClone, .2, 'Quad', 'InOut', false, {Size = PlayerTable[Name].OptionsHidden and OriginalOptionsSize or UDim2.fromScale(0,0)})
if not PlayerTable[Name].OptionsHidden then
Wait(T['Completed'])
OptionsClone['Parent'] = nil
end
ListResize(PlayerList)
PlayerTable[Name].OptionsHidden = not PlayerTable[Name].OptionsHidden
end)
Buttonize(OptionsClone['LogButton'], function()
LogPlayer(Player)
end)
Buttonize(OptionsClone['MuteButton'], function()
if not PlayerMuted then
PlayerMuted = true
AddMuted(Player)
StatusText['Text'] = 'Muted'
Tween(StatusText, .2, 'Quint', 'Out', false, {TextColor3 = Color3.fromRGB(252, 30, 30)})
end
end)
Buttonize(OptionsClone['UnmuteButton'], function()
if PlayerMuted then
PlayerMuted = false
RemoveMuted(Player)
StatusText['Text'] = 'Unmuted'
Tween(StatusText, .2, 'Quint', 'Out', false, {TextColor3 = OriginalStatusColor})
end
end)
Buttonize(OptionsClone['VisualizerTargetButton'], function()
if Player['Character'] then