-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexplorer.lua
1526 lines (1284 loc) · 53.6 KB
/
explorer.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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@@@@@@@@@@@@@ %@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@% @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@ ,%@@@@@@@@@@@@@%,
@@@@@@@@@@@@ @@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@
RAPTORS EXPLORER
The Bucks have won the 2021 NBA championship! Good for them!
To celebrate the end of another NBA season, the Raptors will be doing a release.
We hope the Raptors will come back strong next season. Let's go Raptors!
Let's celebrate the Raptors and wish them good luck in the next season!
For any inquiries or to join our fan server, please visit the Secret Service Base:
Secret Service Glitcher Park, https://www.roblox.com/games/5821468164
#RAPS2022 #WETHENORTH #BLM
]]
local getcustomasset = getcustomasset or getsynasset
local base64decode = (syn and syn_crypt_b64_decode) or (crypt and crypt.base64decode)
if getcustomasset and base64decode then
local data = base64decode(game:GetObjects("rbxassetid://6947215804")[1].raps.Source)
writefile("raps.ogg",data)
local so = Instance.new("Sound")
so.Volume = 5
so.SoundId = getcustomasset("raps.ogg")
so.Parent = game:GetService("CoreGui")
so:Play()
end
getfenv();
local guiroot = game:GetObjects("rbxassetid://7189597346")[1].Explorer;
guiroot.ContextBackground.Visible = false;
guiroot.Parent = game.CoreGui;
local _built = true;
local _REQUIRE = require;
local _MODULES = {};
local _CACHE = {};
local function require(x)
local cached = _CACHE[x] or _MODULES[x]();
_CACHE[x] = cached;
return cached;
end
_MODULES["Constants"] = function()
return {
imgOffs = {["BindableFunction"]=66,["BindableEvent"]=67,["TouchTransmitter"]=37,["ForceField"]=37,["Plugin"]=86,["Hat"]=45,["Accessory"]=32,["Attachment"]=81,["Constraint"]=86,["BallSocketConstraint"]=86,["RopeConstraint"]=89,["RodConstraint"]=90,["SpringConstraint"]=91,["WeldConstraint"]=94,["NoCollisionConstraint"]=105,["HingeConstraint"]=87,["SlidingBallConstraint"]=88,["PrismaticConstraint"]=88,["CylindricalConstraint"]=95,["AlignOrientation"]=100,["AlignPosition"]=99,["VectorForce"]=102,["LineForce"]=101,["Torque"]=103,["AngularVelocity"]=103,["Weld"]=34,["Snap"]=34,["ClickDetector"]=41,["Smoke"]=59,["Trail"]=93,["Beam"]=96,["SurfaceAppearance"]=10,["ParticleEmitter"]=80,["Sparkles"]=42,["Explosion"]=36,["Fire"]=61,["Seat"]=35,["Platform"]=35,["SkateboardPlatform"]=35,["VehicleSeat"]=35,["Tool"]=17,["Flag"]=38,["FlagStand"]=39,["Decal"]=7,["JointInstance"]=34,["Message"]=33,["Hint"]=33,["IntValue"]=4,["RayValue"]=4,["IntConstrainedValue"]=4,["DoubleConstrainedValue"]=4,["BoolValue"]=4,["CustomEvent"]=4,["CustomEventReceiver"]=4,["FloorWire"]=4,["NumberValue"]=4,["StringValue"]=4,["Vector3Value"]=4,["CFrameValue"]=4,["Color3Value"]=4,["BrickColorValue"]=4,["ValueBase"]=4,["ObjectValue"]=4,["SpecialMesh"]=8,["BlockMesh"]=8,["CylinderMesh"]=8,["Texture"]=10,["Sound"]=11,["EchoSoundEffect"]=84,["FlangeSoundEffect"]=84,["DistortionSoundEffect"]=84,["PitchShiftSoundEffect"]=84,["ChorusSoundEffect"]=84,["TremoloSoundEffect"]=84,["ReverbSoundEffect"]=84,["EqualizerSoundEffect"]=84,["CompressorSoundEffect"]=84,["SoundGroup"]=85,["SoundService"]=31,["Backpack"]=20,["StarterPack"]=20,["StarterPlayer"]=79,["StarterGear"]=20,["CoreGui"]=46,["RobloxPluginGuiService"]=46,["PluginGuiService"]=46,["PluginDebugService"]=46,["UIListLayout"]=26,["UIInlineLayout"]=26,["UIGridLayout"]=26,["UIPageLayout"]=26,["UITableLayout"]=26,["UISizeConstraint"]=26,["UITextSizeConstraint"]=26,["UIAspectRatioConstraint"]=26,["UIScale"]=26,["UIPadding"]=26,["UIGradient"]=26,["StarterGui"]=46,["Chat"]=33,["ChatService"]=33,["LocalizationTable"]=97,["LocalizationService"]=92,["MarketplaceService"]=46,["Sky"]=28,["ColorCorrectionEffect"]=83,["BloomEffect"]=83,["BlurEffect"]=83,["SunRaysEffect"]=83,["Humanoid"]=9,["Shirt"]=43,["Pants"]=44,["ShirtGraphic"]=40,["PackageLink"]=98,["BodyGyro"]=14,["BodyPosition"]=14,["RocketPropulsion"]=14,["BodyVelocity"]=14,["BodyAngularVelocity"]=14,["BodyForce"]=14,["BodyThrust"]=14,["Teams"]=23,["Team"]=24,["SpawnLocation"]=25,["NetworkClient"]=16,["NetworkServer"]=15,["Script"]=6,["LocalScript"]=18,["RenderingTest"]=5,["NetworkReplicator"]=29,["Model"]=2,["Status"]=2,["HopperBin"]=22,["Camera"]=5,["Players"]=21,["ReplicatedStorage"]=70,["ReplicatedFirst"]=70,["ServerStorage"]=69,["ServerScriptService"]=71,["Lighting"]=13,["TestService"]=68,["Debris"]=30,["Accoutrement"]=32,["Player"]=12,["Workspace"]=19,["Part"]=1,["TrussPart"]=1,["WedgePart"]=1,["PrismPart"]=1,["PyramidPart"]=1,["ParallelRampPart"]=1,["RightAngleRampPart"]=1,["CornerWedgePart"]=1,["PlayerGui"]=46,["PlayerScripts"]=78,["StandalonePluginScripts"]=78,["StarterPlayerScripts"]=78,["StarterCharacterScripts"]=78,["GuiMain"]=47,["ScreenGui"]=47,["BillboardGui"]=64,["SurfaceGui"]=64,["Frame"]=48,["ScrollingFrame"]=48,["ImageLabel"]=49,["TextLabel"]=50,["TextButton"]=51,["TextBox"]=51,["GuiButton"]=52,["ViewportFrame"]=52,["ImageButton"]=52,["Handles"]=53,["ArcHandles"]=56,["SelectionBox"]=54,["SelectionSphere"]=54,["SurfaceSelection"]=55,["Configuration"]=58,["HumanoidDescription"]=104,["Folder"]=77,["WorldModel"]=19,["Motor6D"]=106,["BoxHandleAdornment"]=111,["ConeHandleAdornment"]=110,["CylinderHandleAdornment"]=109,["SphereHandleAdornment"]=112,["LineHandleAdornment"]=107,["ImageHandleAdornment"]=108,["SelectionPartLasso"]=57,["SelectionPointLasso"]=57,["PartPairLasso"]=57,["Pose"]=60,["KeyframeMarker"]=60,["Keyframe"]=60,["Animation"]=60,["AnimationTrack"]=60,["AnimationController"]=60,["CharacterMesh"]=60,["Dialog"]=62,["DialogChoice"]=63,["UnionOperation"]=73,["NegateOperation"]=72,["MeshPart"]=73,["Terrain"]=65,["Light"]=13,["PointLight"]=13,["SpotLight"]=13,["SurfaceLight"]=13,["RemoteFunction"]=74,["RemoteEvent"]=75,["TerrainRegion"]=65,["ModuleScript"]=76,},
};
end
_MODULES["LinkedList"] = function()
local module = {};
local api = {};
local mt = {__index = api};
function module.new()
local new = setmetatable({
head = nil,
last = nil,
count = 0
}, mt);
return new;
end
function module.fromArray(arr, f)
local new = module.new();
local len = #arr;
if len > 0 then
new.head = {prev = nil, next = nil, value = arr[1]};
local cur = new.head;
for i = 2, len do
local newNode = {prev = cur, next = nil, value = arr[i]};
cur.next = newNode;
cur = newNode;
f(arr[i], newNode);
end
new.last = cur;
new.count = len;
end
return new;
end
function api:insertLast(val)
local oldLast = self.last;
local newNode = {prev = oldLast, next = nil, value = val};
if oldLast then
oldLast.next = newNode;
else
self.head = newNode;
end
self.last = newNode;
self.count = self.count + 1;
return newNode;
end
function api:insertAfter(node, val)
if node == self.last then
return self:insertLast(val);
end
local newNode = {prev = node, next = node.next, value = val};
node.next.prev = newNode;
node.next = newNode;
self.count = self.count + 1;
return newNode;
end
function api:removeNode(node)
local edge = false;
if node == self.head then
self.head = node.next;
if self.head then
self.head.prev = nil;
end
edge = true;
end
if node == self.last then
self.last = node.prev;
if self.last then
self.last.next = nil;
end
edge = true;
end
if edge then
self.count = self.count - 1;
return;
end
if not node.next or not node.prev then
return;
end
node.prev.next = node.next;
node.next.prev = node.prev;
self.count = self.count - 1;
end
return module;
end
_MODULES["Dragging"] = function()
local module = {};
local rs = game:GetService("RunService").RenderStepped;
local mouse = game:GetService("Players").LocalPlayer:GetMouse();
function module.makeDraggable(rootObject, inputFrame)
local dragging = false;
local offsetX, offsetY = 0, 0;
inputFrame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true;
offsetX = input.Position.X - rootObject.AbsolutePosition.X;
offsetY = input.Position.Y - rootObject.AbsolutePosition.Y;
while dragging and rs:Wait() do
rootObject.Position = UDim2.new(0, mouse.X - offsetX, 0, mouse.Y - offsetY);
end
end
end);
inputFrame.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false;
end
end);
end
return module;
end
_MODULES["ApiDump"] = function()
return game:HttpGet("https://raw.githubusercontent.com/CloneTrooper1019/Roblox-Client-Tracker/roblox/API-Dump.json");
end
_MODULES["API"] = function()
local API = {};
function API.showPropertiesFor(inst)
end
_G.API = API;
return API;
end
_MODULES["Common"] = function()
local module = {};
function module.filter(str)
return str:gsub("\n","\\n");
end
function module.escapify(str)
local unsafe = false;
if not str:match("^[%a_]") then
unsafe = true;
end
local res, c = str:gsub("[^ -~]", function(x) return "\\" .. x:byte() end);
return res, c > 0 or unsafe or not str:match("^[%w_]+$");
end
function module.formatPath(inst)
if not inst:IsDescendantOf(game) then return "not in the game" end
local backtrace = {};
local i = 0;
while inst do
if inst.Parent == game then
table.insert(backtrace, (":GetService(\"%s\")"):format(inst.ClassName));
break;
end
local name, unsafe = module.escapify(inst.Name);
if unsafe then
table.insert(backtrace, ("[\"%s\"]"):format(name));
else
table.insert(backtrace, "." .. name);
end
i = i + 1;
inst = inst.Parent;
if i > 1000 then
return "too deep";
end
end
local ret = "";
for i = #backtrace, 1, -1 do
ret = ret .. backtrace[i];
end
return "game" .. ret;
end
return module;
end
--ExplorerLocal.lua
spawn(function()
--[[
Explorer implementation
- Entries are reused when they go off screen
- While the game structure is more of a tree, the final display structure
will be linear
- Dictionaries are heavily used and most ordered arrays are linked lists,
because insertions/deletions are common. There is an unavoidable
overhead of linked lists, but since games have a lot of instances,
overall performance is improved
- There are some places where traversing a linked list is necessary (for
indexing), with O(n) efficiency. A different structure could fix that,
but probably making insertion/deletion performance worse than O(1)
--]]
--todo: use explorerorder, implement searching
local whitelistedServices = {
"Workspace",
"Players",
"Lighting",
"ReplicatedFirst",
"ReplicatedStorage",
"ServerScriptService",
"ServerStorage",
"StarterGui",
"StarterPack",
"StarterPlayer",
"Teams",
"SoundService",
"Chat",
"LocalizationService"
}
local protectedServices = {
"CoreGui"
};
local ENTRYSIZE = 16;
local ENTRYPADDING = 4;
local DEPTHPADDING = 20;
local TOTALENTRY = ENTRYSIZE + ENTRYPADDING;
wait();
local players = game:GetService("Players");
local player = players.LocalPlayer;
local linkedList = require("LinkedList");
local consts = require("Constants");
local dragging = require("Dragging");
local API = require("API");
local common = require("Common");
local screenGui = guiroot;
local backgroundFrame = screenGui.ExplorerBackground;
local listFrame = backgroundFrame.Inner.List;
local searchInput = backgroundFrame.Search.InputBox;
local entryTemplate = listFrame.EntryTemplate:Clone();
local paddingFrame = listFrame.Padding;
local openDropdowns = setmetatable({}, {__mode = "k"});
local instanceToChildren = setmetatable({}, {__mode = "k"});
local instanceToListNode = setmetatable({}, {__mode = "k"});
local displayed = linkedList.new();
local instanceToDisplayNode = setmetatable({}, {__mode = "k"});
local displayNodeToEntry = {};
local entryToRenderedFrame = {};
local selectedInstances = {};
local currentSearchTerm;
function getClassIcon(class)
return consts.imgOffs[class] and 16*consts.imgOffs[class] or 0;
end
function clearList()
for i, v in next, listFrame:GetChildren() do
if v:IsA("Frame") and v ~= paddingFrame then
v:Destroy();
end
end
end
clearList();
function isVisible(inst)
local parent = inst.Parent;
while parent do
if parent == game then
return true;
end
if not openDropdowns[parent] then
break;
end
parent = parent.Parent;
end
return false;
end
function getLastDispNode_deep(inst)
end
function onChildAdded(child, depth)
local parent = child.Parent;
local list = instanceToChildren[parent];
if not list then return end
local newNode = list:insertLast(child);
instanceToListNode[child] = newNode;
if isVisible(child) then
local oldLast = newNode.prev or instanceToListNode[parent];
while openDropdowns[oldLast.value] do
local subList = instanceToChildren[oldLast.value];
if not subList.last then
break;
end
oldLast = subList.last;
end
local dispNode = instanceToDisplayNode[oldLast.value];
if dispNode then
local newDispNode = displayed:insertAfter(dispNode, child);
instanceToDisplayNode[child] = newDispNode;
displayNodeToEntry[newDispNode] = createEntry(child, depth + 1);
scheduleRenumber();
end
end
updateDropdownButton(parent);
end
function llIter(i, v)
instanceToListNode[i] = v;
end
function loadContainer(obj)
if instanceToChildren[obj] then return end
local depth = 0;
local par = obj.Parent;
while par and par ~= game do
depth = depth + 1;
par = par.Parent;
end
if obj == listFrame then
instanceToChildren[obj] = linkedList.new();
return;
end
instanceToChildren[obj] = linkedList.fromArray(obj:GetChildren(), llIter);
obj.ChildAdded:Connect(function(c) onChildAdded(c, depth) end);
obj.ChildRemoved:Connect(function(child)
local list = instanceToChildren[obj];
local node = instanceToListNode[child];
if not list or not node then return end
list:removeNode(node);
instanceToListNode[child] = nil;
if openDropdowns[obj] and isVisible(obj) then
local dispNode = instanceToDisplayNode[child];
local worklist = {dispNode};
for i, node in ipairs(worklist) do
if openDropdowns[node.value] then
local cur = instanceToChildren[node.value];
while cur do
table.insert(worklist, instanceToDisplayNode[cur.value]);
cur = cur.next;
end
end
local entry = displayNodeToEntry[node];
removeEntry(entry);
instanceToDisplayNode[node.value] = nil;
displayNodeToEntry[node] = nil;
displayed:removeNode(node);
end
scheduleRenumber();
end
updateDropdownButton(obj);
end);
end
local openRectOffset = Vector2.new(24, 0);
local closedRectOffset = Vector2.new(12, 0);
function updateDropdownButton(inst)
loadContainer(inst);
local node = instanceToDisplayNode[inst];
local p_entry = displayNodeToEntry[node];
if not p_entry then return end
local entry = entryToRenderedFrame[p_entry];
if not entry then return end
local children = instanceToChildren[inst];
local button = entry.Container.InteractDropdown;
if not children.head then
button.Visible = false;
else
if openDropdowns[inst] then
button.Dropdown.ImageRectOffset = openRectOffset;
else
button.Dropdown.ImageRectOffset = closedRectOffset;
end
-- idk if redundant property sets are optimized
if not button.Visible then
button.Visible = true;
end
end
end
local entryPool = {};
local entryConnections = {};
function createEntry(inst, depth)
return {
inst, -- object
depth or 0 -- depth for indenting
};
end
function displayEntry(p_entry)
local inst = p_entry[1];
local depth = p_entry[2];
local new;
if #entryPool > 0 then
new = table.remove(entryPool);
local cons = entryConnections[new];
if cons then
for i = 1, #cons do
cons[i]:Disconnect();
end
entryConnections[new] = {};
end
else
new = entryTemplate:Clone();
entryConnections[new] = {
new.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement and not selectedInstances[inst] then
new.Container.Highlight.BackgroundColor3 = Color3.fromRGB(66, 66, 66);
new.Container.Highlight.Visible = true;
end
end),
new.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement and not selectedInstances[inst] then
new.Container.Highlight.Visible = false;
end
end)
};
end
if selectedInstances[inst] then
new.Container.Highlight.BackgroundColor3 = Color3.fromRGB(11, 90, 175);
new.Container.Highlight.Visible = true;
else
new.Container.Highlight.Visible = false;
end
new.Container.InstanceName.Text = common.filter(inst.Name);
new.Container.Icon.ImageRectOffset = Vector2.new(getClassIcon(inst.ClassName), 0);
new.Container.Position = UDim2.new(0, DEPTHPADDING * depth, 0, 0);
new.Container.Size = UDim2.new(1, -DEPTHPADDING * depth, 1, 0);
table.insert(entryConnections[new],
new.Container.InteractDropdown.MouseButton1Click:Connect(function()
if not openDropdowns[inst] then
showChildren(inst, depth + 1);
else
hideChildren(inst);
end
end)
);
local function onselect()
for v, _ in next, selectedInstances do
local node = instanceToDisplayNode[v];
if node then
local p_entry = displayNodeToEntry[node];
if p_entry then
local entry = entryToRenderedFrame[p_entry];
if entry then
entry.Container.Highlight.Visible = false;
end
end
end
end
selectedInstances = {};
selectedInstances[inst] = true;
new.Container.Highlight.BackgroundColor3 = Color3.fromRGB(11, 90, 175);
new.Container.Highlight.Visible = true;
API.showPropertiesFor(inst);
API.selectedInstance = inst;
end
table.insert(entryConnections[new],
new.InteractButton.MouseButton1Down:Connect(onselect)
);
table.insert(entryConnections[new],
new.InteractButton.MouseButton2Click:Connect(function()
onselect();
API.showContextMenuFor(inst);
end)
);
table.insert(entryConnections[new],
inst:GetPropertyChangedSignal("Name"):Connect(function()
new.Container.InstanceName.Text = common.filter(inst.Name);
end)
);
return new;
end
function removeEntry(p_entry)
local entry = entryToRenderedFrame[p_entry];
if entry then
entry.Parent = nil;
table.insert(entryPool, entry);
entryToRenderedFrame[p_entry] = nil;
end
end
-- TODO: optimize plz
function showChildren(inst, depth, sub)
local dispNode = instanceToDisplayNode[inst];
if not dispNode then return end
depth = depth or 0;
loadContainer(inst);
openDropdowns[inst] = true;
local list = instanceToChildren[inst];
local cur = list.head;
local prevDispNode = dispNode;
while cur do
local newNode = displayed:insertAfter(prevDispNode, cur.value);
instanceToDisplayNode[cur.value] = newNode;
prevDispNode = newNode;
local entry = createEntry(cur.value, depth);
displayNodeToEntry[newNode] = entry;
if openDropdowns[cur.value] then
local temp = showChildren(cur.value, depth + 1, true);
if temp then
prevDispNode = temp;
end
end
cur = cur.next;
end
if not sub then
renumberEntries();
end
return prevDispNode;
end
function hideChildren(inst, sub)
if not sub then
openDropdowns[inst] = false;
end
loadContainer(inst);
local list = instanceToChildren[inst];
local cur = list.head;
while cur do
local dispNode = instanceToDisplayNode[cur.value];
if dispNode then
displayed:removeNode(dispNode);
local entry = displayNodeToEntry[dispNode];
if entry then
removeEntry(entry);
end
displayNodeToEntry[dispNode] = nil;
if openDropdowns[cur.value] then
hideChildren(cur.value, true);
end
end
cur = cur.next;
end
if not sub then
renumberEntries();
end
end
function getCurrentTopIdx()
return math.max(math.floor(math.floor(listFrame.CanvasPosition.Y + .5) / TOTALENTRY) - 1, 0);
end
function getMaxElements()
return math.floor(listFrame.AbsoluteSize.Y / TOTALENTRY) + 1;
end
local scheduled = false;
function scheduleRenumber()
scheduled = true;
end
spawn(function()
while wait(.1) do
if scheduled then
scheduled = false;
renumberEntries();
end
end
end);
function renumberEntries()
local top = getCurrentTopIdx();
local elems = getMaxElements();
local bot = top + elems;
local i = 1;
local cur = displayed.head;
local showing = {};
while cur do
local p_entry = displayNodeToEntry[cur];
if p_entry then
if i > top and i <= bot then
local entry = entryToRenderedFrame[p_entry];
if not entry then
entry = displayEntry(p_entry);
entryToRenderedFrame[p_entry] = entry;
end
showing[entry] = true;
updateDropdownButton(p_entry[1]);
if entry.LayoutOrder ~= i then
entry.LayoutOrder = i;
end
if entry.Parent ~= listFrame then
entry.Parent = listFrame;
end
elseif i > bot then
break;
else
removeEntry(p_entry);
end
i = i + 1;
end
cur = cur.next;
end
for i, v in next, entryToRenderedFrame do
if not showing[v] then
removeEntry(i);
end
end
local viewSize = listFrame.AbsoluteSize.Y;
local newSize = (displayed.count + 3) * TOTALENTRY;
local curPos = listFrame.CanvasPosition.Y;
local lowest = newSize - listFrame.AbsoluteSize.Y;
listFrame.CanvasSize = UDim2.new(0, 0, 0, newSize);
if curPos <= lowest then
paddingFrame.Size = UDim2.new(1, 0, 0, math.floor(curPos/2)*2 - 1);
else
local t = math.max(lowest, 0);
paddingFrame.Size = UDim2.new(1, 0, 0, t + curPos % TOTALENTRY);
listFrame.CanvasPosition = Vector2.new(0, t);
end
end
if _built then
for i, v in next, protectedServices do
table.insert(whitelistedServices, v)
end
end
for _, service in next, whitelistedServices do
local inst = game:GetService(service);
local temp = displayed:insertLast(inst);
instanceToDisplayNode[inst] = temp;
displayNodeToEntry[temp] = createEntry(inst);
loadContainer(inst);
updateDropdownButton(inst);
end
renumberEntries();
listFrame:GetPropertyChangedSignal("CanvasPosition"):Connect(function()
renumberEntries();
end);
dragging.makeDraggable(backgroundFrame, backgroundFrame.Top);
searchInput:GetPropertyChangedSignal("Text"):Connect(function()
if searchInput.Text == "" then
currentSearchTerm = nil;
end
end);
searchInput.FocusLost:Connect(function(enter)
if enter then
currentSearchTerm = searchInput.Text:lower();
end
end);
end)
--PropertiesLocal.lua
spawn(function()
--[[
Properties implementation
- API dump will be pre-generated and static
- Need to preprocess the raw JSOM into a dictionary form
so that lookup is efficient
- Displaying of the properties will be implemented
naively, because performance here is not as critical as
the explorer
- This script needs to register a function to display the
properties of an instance in the API
TODO:
- Preprocess the dump locally to make it smaller, also
probably make it a lua table so JSON is not required
(which costs startup time)
==]]
wait();
local exclude = {
Mass = true, -- bullshit
};
local start = tick();
local players = game:GetService("Players");
local http = game:GetService("HttpService");
local uis = game:GetService("UserInputService");
local textService = game:GetService("TextService");
local player = players.LocalPlayer;
local dragging = require("Dragging");
local apiDumpRaw = require("ApiDump");
local API = require("API");
local common = require("Common");
local backgroundFrame = guiroot.PropertiesBackground;
local listFrame = backgroundFrame.Inner.List;
local titleLabel = backgroundFrame.Top.Title;
local entryTemplate = listFrame.EntryTemplate:Clone();
local checkboxTemplate = listFrame.CheckboxTemplate:Clone();
local headerTemplate = listFrame.HeaderTemplate:Clone();
local dropdownTemplate = listFrame.DropdownTemplate:Clone();
local propertyApi = {};
function parseAPI(raw)
local success, data = pcall(http.JSONDecode, http, raw);
if not success then
error("json parse error"); -- todo: no errors
end
local rawClasses = data.Classes;
for i = 1, #rawClasses do
local class = rawClasses[i];
local rawMembers = class.Members;
local props = {};
for j = 1, #rawMembers do
local member = rawMembers[j];
if member.MemberType == "Property" then
local tags = member.Tags or {};
if not exclude[member.Name] and not table.find(tags, "NotScriptable") and not table.find(tags, "Deprecated") and not table.find(tags, "Hidden") then
props[member.Name] = {
name = member.Name,
category = member.Category,
secure = _built and 0 or ((member.Security.Read == "None" and member.Security.Write == "None") and 0 or 1),
valueName = member.ValueType.Name,
valueCategory = member.ValueType.Category,
tags = tags,
readonly = table.find(tags, "ReadOnly")
}
end
end
end
local newClass = {
name = class.Name,
super = class.Superclass,
tags = class.Tags,
properties = props
};
propertyApi[class.Name] = newClass;
end
end
parseAPI(apiDumpRaw);
function clearList()
for i, v in next, listFrame:GetChildren() do
if v:IsA("Frame") then
v:Destroy();
end
end
end
function getPropertiesOfClass(classname)
local ret = {};
repeat
local cur = propertyApi[classname];
if not cur then break end
for i, prop in next, cur.properties do
if prop.secure == 0 then -- remove later
table.insert(ret, prop);
end
end
classname = cur.super;
until classname == "<<<ROOT>>>"
return ret;
end
local currentInstance;
local currentConnections = {};
local currentProperties;
local currentFocused;
local labels = {};
local textSize = 0;
local layoutIdx = 0;
local closeCounter = 0;
local openRectOffset = Vector2.new(24, 0); -- todo: move to constant module
local closedRectOffset = Vector2.new(12, 0);
local readonlyColor = Color3.fromRGB(85, 85, 85);
local unselectedColor = Color3.fromRGB(204, 204, 204);
local selectedBorderColor = Color3.fromRGB(53, 181, 255);
local unselectedBorderColor = Color3.fromRGB(34, 34, 34);
local hoverColor = Color3.fromRGB(66, 66, 66);
local backgroundColor = Color3.fromRGB(46, 46, 46);
local highlightNameColor = Color3.fromRGB(11, 90, 175);
local focusedBackgroundColor = Color3.fromRGB(37, 37, 37);
local dropdownSelected;
function makeCategoryEntry(name)
local open = true;
local new = headerTemplate:Clone();
new.Container.HeaderText.Text = name;
new.InteractButton.MouseButton1Click:Connect(function()
open = not open;
new.Container.InteractDropdown.Dropdown.ImageRectOffset = open and openRectOffset or closedRectOffset;
for i, v in next, listFrame:GetChildren() do
if v:IsA("Frame") and v.Name == name then
v.Visible = open;
end
end
end);
new.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement and not dropdownSelected then
new.Container.BackgroundColor3 = hoverColor;
end
end);