forked from retpirato/Roblox-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Admin Script Topkek.lua
5286 lines (5008 loc) · 158 KB
/
Admin Script Topkek.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
-- Epic Script Leaked By Scratchy!
-- Subscribe for more EPIC scripts! https://www.youtube.com/channel/UC-fFrczkFJuwHJguR6SXx5Q?sub_confirmation=1
_G.Rc7Notification = function(a,b,c)
game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://776252057", c)
end
local topkek = {}
topkek.patch = '1.0.5a'
topkek.data = {}
topkek.commandbase = {}
topkek.navigation = {}
topkek.banmgr = {}
topkek.lplr = game:GetService('Players').LocalPlayer
topkek.tools = {}
topkek.tools.gui = {}
topkek.tools.util = {}
topkek.tools.animator = {}
topkek.windows = {}
topkek.windows.lplr = {}
topkek.windows.server = {}
topkek.windows.players = {}
topkek.windows.destruction = {}
topkek.windows.scripts = {}
topkek.windows.misc = {}
topkek.misc = {}
local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
NewGuiPart1.Name = "4.0"
-------
local NewGuiPart2 = Instance.new("Frame")
NewGuiPart2.Active = true
NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
NewGuiPart2.BorderSizePixel = 0
NewGuiPart2.Name = "Main"
NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
NewGuiPart2.Selectable = true
NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
NewGuiPart2.Visible = false
NewGuiPart2.ClipsDescendants = true
NewGuiPart2.Draggable = true
NewGuiPart2.Parent = NewGuiPart1
-------
local NewGuiPart3 = Instance.new("Frame")
NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
NewGuiPart3.BorderSizePixel = 0
NewGuiPart3.Name = "Topbar"
NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
NewGuiPart3.Parent = NewGuiPart2
-------
local NewGuiPart4 = Instance.new("TextLabel")
NewGuiPart4.BackgroundTransparency = 1
NewGuiPart4.Name = "PlayerName"
NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
NewGuiPart4.Visible = false
NewGuiPart4.ZIndex = 4
NewGuiPart4.Font = Enum.Font.Arcade
NewGuiPart4.FontSize = Enum.FontSize.Size18
NewGuiPart4.Text = "Player1"
NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
NewGuiPart4.Parent = NewGuiPart3
-------
local NewGuiPart5 = Instance.new("Frame")
NewGuiPart5.BackgroundTransparency = 1
NewGuiPart5.Name = "Controllers"
NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
NewGuiPart5.Parent = NewGuiPart3
-------
local NewGuiPart6 = Instance.new("TextButton")
NewGuiPart6.Active = true
NewGuiPart6.AutoButtonColor = false
NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
NewGuiPart6.BorderSizePixel = 0
NewGuiPart6.Name = "Exit"
NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
NewGuiPart6.Selectable = true
NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
NewGuiPart6.Style = Enum.ButtonStyle.Custom
NewGuiPart6.FontSize = Enum.FontSize.Size14
NewGuiPart6.Text = ""
NewGuiPart6.Parent = NewGuiPart5
-------
local NewGuiPart7 = Instance.new("TextButton")
NewGuiPart7.Active = true
NewGuiPart7.AutoButtonColor = false
NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
NewGuiPart7.BorderSizePixel = 0
NewGuiPart7.Name = "Hide"
NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
NewGuiPart7.Selectable = true
NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
NewGuiPart7.Style = Enum.ButtonStyle.Custom
NewGuiPart7.FontSize = Enum.FontSize.Size14
NewGuiPart7.Text = ""
NewGuiPart7.Parent = NewGuiPart5
-------
local NewGuiPart8 = Instance.new("TextLabel")
NewGuiPart8.BackgroundTransparency = 1
NewGuiPart8.Name = "IsFE"
NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
NewGuiPart8.FontSize = Enum.FontSize.Size18
NewGuiPart8.Text = "Not FE"
NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
NewGuiPart8.TextStrokeTransparency = 0.69999998807907
NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
NewGuiPart8.Parent = NewGuiPart5
-------
local NewGuiPart9 = Instance.new("TextLabel")
NewGuiPart9.BackgroundTransparency = 1
NewGuiPart9.Name = "Stella"
NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
NewGuiPart9.ZIndex = 2
NewGuiPart9.Font = Enum.Font.Arcade
NewGuiPart9.FontSize = Enum.FontSize.Size18
NewGuiPart9.Text = "[Stella]"
NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
NewGuiPart9.Parent = NewGuiPart3
-------
local NewGuiPart10 = Instance.new("Frame")
NewGuiPart10.BackgroundTransparency = 1
NewGuiPart10.Name = "Holder"
NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
NewGuiPart10.Parent = NewGuiPart2
-------
local NewGuiPart11 = Instance.new("Frame")
NewGuiPart11.BackgroundTransparency = 1
NewGuiPart11.Name = "Home"
NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
NewGuiPart11.Parent = NewGuiPart10
-------
local NewGuiPart12 = Instance.new("TextLabel")
NewGuiPart12.BackgroundTransparency = 1
NewGuiPart12.BorderSizePixel = 0
NewGuiPart12.Name = "Title1"
NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
NewGuiPart12.Selectable = true
NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
NewGuiPart12.Font = Enum.Font.SourceSansBold
NewGuiPart12.FontSize = Enum.FontSize.Size42
NewGuiPart12.Text = "T0PK3K 4.0"
NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
NewGuiPart12.TextStrokeTransparency = 0.5
NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
NewGuiPart12.Parent = NewGuiPart11
-------
local NewGuiPart13 = Instance.new("TextLabel")
NewGuiPart13.BackgroundTransparency = 1
NewGuiPart13.BorderSizePixel = 0
NewGuiPart13.Name = "Title2"
NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
NewGuiPart13.Font = Enum.Font.SourceSansBold
NewGuiPart13.FontSize = Enum.FontSize.Size18
NewGuiPart13.Text = "by nosyliam"
NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
NewGuiPart13.TextStrokeTransparency = 0.5
NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
NewGuiPart13.Parent = NewGuiPart12
-------
local NewGuiPart14 = Instance.new("Frame")
NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
NewGuiPart14.Name = "Container"
NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
NewGuiPart14.Parent = NewGuiPart11
-------
local NewGuiPart15 = Instance.new("TextLabel")
NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
NewGuiPart15.BorderSizePixel = 0
NewGuiPart15.Name = "Message"
NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
NewGuiPart15.Font = Enum.Font.Highway
NewGuiPart15.FontSize = Enum.FontSize.Size14
NewGuiPart15.Text = "Server Message: variable is gay"
NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
NewGuiPart15.TextStrokeTransparency = 0.69999998807907
NewGuiPart15.Parent = NewGuiPart11
-------
local NewGuiPart16 = Instance.new("TextBox")
NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
NewGuiPart16.Name = "Command"
NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
NewGuiPart16.Font = Enum.Font.Code
NewGuiPart16.FontSize = Enum.FontSize.Size12
NewGuiPart16.Text = "Press ; to enter a command"
NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
NewGuiPart16.TextStrokeTransparency = 0.80000001192093
NewGuiPart16.TextTransparency = 0.30000001192093
NewGuiPart16.Parent = NewGuiPart10
-------
local NewGuiPart17 = Instance.new("Frame")
NewGuiPart17.BackgroundTransparency = 1
NewGuiPart17.Name = "Template"
NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
NewGuiPart17.Visible = false
NewGuiPart17.ZIndex = 2
NewGuiPart17.Parent = NewGuiPart10
-------
local NewGuiPart18 = Instance.new("ScrollingFrame")
NewGuiPart18.Active = true
NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
NewGuiPart18.Name = "Container"
NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
NewGuiPart18.Selectable = true
NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
NewGuiPart18.ZIndex = 2
NewGuiPart18.BottomImage = "rbxassetid://368504177"
NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
NewGuiPart18.MidImage = "rbxassetid://368504177"
NewGuiPart18.ScrollBarThickness = 5
NewGuiPart18.TopImage = "rbxassetid://368504177"
NewGuiPart18.ClipsDescendants = true
NewGuiPart18.Parent = NewGuiPart17
-------
local NewGuiPart19 = Instance.new("Frame")
NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
NewGuiPart19.BackgroundTransparency = 1
NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
NewGuiPart19.Name = "Navigator"
NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
NewGuiPart19.Visible = false
NewGuiPart19.Parent = NewGuiPart10
-------
local NewGuiPart20 = Instance.new("Frame")
NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
NewGuiPart20.Name = "NavMain"
NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
NewGuiPart20.Parent = NewGuiPart19
-------
local NewGuiPart21 = Instance.new("TextButton")
NewGuiPart21.Active = true
NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
NewGuiPart21.BorderSizePixel = 0
NewGuiPart21.Name = "NavLeft"
NewGuiPart21.Selectable = true
NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
NewGuiPart21.Style = Enum.ButtonStyle.Custom
NewGuiPart21.FontSize = Enum.FontSize.Size14
NewGuiPart21.Text = ""
NewGuiPart21.Parent = NewGuiPart19
-------
local NewGuiPart22 = Instance.new("TextButton")
NewGuiPart22.Active = true
NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
NewGuiPart22.BorderSizePixel = 0
NewGuiPart22.Name = "NavRight"
NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
NewGuiPart22.Selectable = true
NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
NewGuiPart22.Style = Enum.ButtonStyle.Custom
NewGuiPart22.FontSize = Enum.FontSize.Size14
NewGuiPart22.Text = ""
NewGuiPart22.Parent = NewGuiPart19
-------
local NewGuiPart23 = Instance.new("Frame")
NewGuiPart23.Active = true
NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
NewGuiPart23.BorderSizePixel = 0
NewGuiPart23.Name = "Navigation"
NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
NewGuiPart23.ZIndex = 2
NewGuiPart23.Parent = NewGuiPart2
-------
local NewGuiPart24 = Instance.new("Frame")
NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
NewGuiPart24.BorderSizePixel = 0
NewGuiPart24.Name = "Topbar"
NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
NewGuiPart24.ZIndex = 3
NewGuiPart24.Parent = NewGuiPart23
-------
local NewGuiPart25 = Instance.new("ScrollingFrame")
NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
NewGuiPart25.BorderSizePixel = 0
NewGuiPart25.Name = "Scroll"
NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
NewGuiPart25.Selectable = true
NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
NewGuiPart25.ZIndex = 3
NewGuiPart25.BottomImage = "rbxassetid://368504177"
NewGuiPart25.MidImage = "rbxassetid://368504177"
NewGuiPart25.ScrollBarThickness = 6
NewGuiPart25.TopImage = "rbxassetid://368504177"
NewGuiPart25.ClipsDescendants = true
NewGuiPart25.Parent = NewGuiPart23
-------
local NewGuiPart26 = Instance.new("Frame")
NewGuiPart26.BackgroundTransparency = 1
NewGuiPart26.Name = "Composite1"
NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
NewGuiPart26.ClipsDescendants = true
NewGuiPart26.Parent = NewGuiPart1
-------
local NewGuiPart27 = Instance.new("TextLabel")
NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
NewGuiPart27.BorderSizePixel = 0
NewGuiPart27.Name = "Label"
NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
NewGuiPart27.Font = Enum.Font.SourceSansBold
NewGuiPart27.FontSize = Enum.FontSize.Size96
NewGuiPart27.Text = "T"
NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
NewGuiPart27.Parent = NewGuiPart26
-------
local NewGuiPart28 = Instance.new("Frame")
NewGuiPart28.BackgroundTransparency = 1
NewGuiPart28.Name = "Composite2"
NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
NewGuiPart28.ClipsDescendants = true
NewGuiPart28.Parent = NewGuiPart1
-------
local NewGuiPart29 = Instance.new("TextLabel")
NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
NewGuiPart29.BorderSizePixel = 0
NewGuiPart29.Name = "Label"
NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
NewGuiPart29.Font = Enum.Font.SourceSansBold
NewGuiPart29.FontSize = Enum.FontSize.Size96
NewGuiPart29.Text = "T"
NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
NewGuiPart29.Parent = NewGuiPart28
-------
local NewGuiPart30 = Instance.new("Frame")
NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
NewGuiPart30.Name = "Solid"
NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
NewGuiPart30.Visible = false
NewGuiPart30.ClipsDescendants = true
NewGuiPart30.Parent = NewGuiPart1
-------
local NewGuiPart31 = Instance.new("TextLabel")
NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
NewGuiPart31.BorderSizePixel = 0
NewGuiPart31.Name = "Label"
NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
NewGuiPart31.Font = Enum.Font.SourceSansBold
NewGuiPart31.FontSize = Enum.FontSize.Size96
NewGuiPart31.Text = "T"
NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
NewGuiPart31.Parent = NewGuiPart30
topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
AllowHovers = false
PlayerChatHook, UpdateBanlist = nil
cmd = {}
--// data //--
topkek.data.windows = {
'Home',
'LocalPlayer',
'Server',
'Players',
'Destruction',
'Scripts',
'Catalog',
'Music',
'Hats',
'Faces',
'Settings',
'Commands',
'Banlist',
}
color3 = function(r,g,b)
return Color3.new(r/255, g/255, b/255)
end
--// doggo dropdown //--
-- thanks krystal
GUI = {
TextBox = {
Settings = {
Font = Enum.Font.SourceSans;
FontSize = Enum.FontSize.Size14;
};
Color = {
Main = Color3.fromRGB(5,8,11);
Border = Color3.fromRGB(27,42,53);
Text = Color3.fromRGB(199,199,199);
};
New = function(Position, Size, Parent, ...)
local arguments = {...};
local TextBox = Instance.new("TextBox", Parent);
TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
TextBox.BorderColor3 = GUI.DropDown.Color.Border;
TextBox.Font = GUI.TextBox.Settings.Font;
TextBox.FontSize = GUI.TextBox.Settings.FontSize;
TextBox.TextColor3 = GUI.TextBox.Color.Text;
TextBox.Position = Position;
TextBox.Size = Size;
if #arguments then
if arguments[1] then
TextBox.Text = tostring(arguments[1]);
else
TextBox.Text = "";
end
end
return TextBox;
end;
};
DropDown = {
Settings = {
ScrollerAmount = 5; --A scroller will appear at this amount.
ScrollBarThickness = 6;
};
Gfx = {
Scroller = "rbxassetid://606572419";
};
Color = {
Main = color3(107, 36, 36);
Secondary = color3(113, 39, 39);
Border = color3(127, 44, 44);
Text = Color3.fromRGB(199,199,199);
};
New = function(Position, Size, Parent, ...)
local vValue = {};
local arguments = {...};
local vSelected = Instance.new("StringValue");
vSelected.Value = "nil";
if arguments then
if type(arguments) == "table" then
for i=1,#(arguments) do
if type(arguments[i]) == "table" then
for f=1,#(arguments[i]) do
table.insert(vValue, tostring((arguments[i])[f]));
end
else
table.insert(vValue, tostring(arguments[i]));
end
end
vSelected.Value = (vValue[1]);
end
end
local Main = Instance.new("TextButton", Parent);
Main.BackgroundColor3 = GUI.DropDown.Color.Main;
Main.BorderColor3 = GUI.DropDown.Color.Border;
Main.Position = Position;
Main.Size = Size;
Main.TextColor3 = GUI.DropDown.Color.Text;
Main.FontSize = Enum.FontSize.Size14;
Main.TextStrokeTransparency = 0.5;
Main.TextXAlignment = Enum.TextXAlignment.Left;
Main.Font = Enum.Font.SourceSans;
Main.Text = " "..tostring(vSelected.Value);
Main.ZIndex = 3
local Icon = Instance.new("TextLabel", Main);
Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
Icon.BorderColor3 = GUI.DropDown.Color.Border;
Icon.Position = UDim2.new(1,-2,1,-2);
Icon.Size = UDim2.new(-1,4,-1,4);
Icon.TextColor3 = GUI.DropDown.Color.Text;
Icon.FontSize = Enum.FontSize.Size14;
Icon.TextStrokeTransparency = 0.5;
Icon.Font = Enum.Font.SourceSans;
Icon.Text = "V"
Icon.ZIndex = 4
local Holder, Search;
local ClearHolder = function()
if Holder then
Holder:ClearAllChildren();
Holder.Size = UDim2.new(1,0,0,0);
Holder.Visible = false;
if Search then
Search.Visible = false;
end
end
end;
local CreateButton;
local RefreshDropDown = function()
if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
if not Holder or not Holder:IsA("Frame") then
Holder = nil; Search = nil;
Holder = Instance.new("Frame",Main);
Holder.Size = UDim2.new(1,0,0,0);
Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
Holder.BorderColor3 = GUI.DropDown.Color.Border;
Holder.Visible = false;
Holder.ZIndex = 3
end
elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
if not Holder or not Holder:IsA("ScrollingFrame") then
Holder = nil; Search = nil;
Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
Search.Visible = false;
Search.ZIndex = 4
Search.Changed:connect(function(p)
if p == "Text" then
CreateButton(Search.Text);
end
end)
Holder = Instance.new("ScrollingFrame",Main);
Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
Holder.BorderColor3 = GUI.DropDown.Color.Border;
Holder.TopImage = GUI.DropDown.Gfx.Scroller;
Holder.MidImage = GUI.DropDown.Gfx.Scroller;
Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
Holder.Visible = false;
Holder.ZIndex = 3;
end
end
if #vValue == 1 and vSelected.Value ~= vValue[1] then
vSelected.Value = vValue[1];
elseif #vValue == 0 then
vSelected.Value = "nil";
warn("Table amount is nil.");
end
Main.Text = " "..tostring(vSelected.Value);
--ClearHolder();
end;
local Debounce = false;
CreateButton = function(searches)
if Debounce == false then
Debounce = true;
ClearHolder()
Holder.Visible = true;
local Searched = 0;
if #vValue > 0 then
for i=1,#vValue do
if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
Searched = Searched + 1;
end
end
for i=1,#vValue do
if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "" and Searched > 0) or searches == nil or searches == "" or Searched <= 0 then
local Select = Instance.new("TextButton", Holder);
Select.BackgroundColor3 = GUI.DropDown.Color.Main;
Select.BorderColor3 = GUI.DropDown.Color.Border;
Select.BackgroundTransparency = 1;
Select.BorderSizePixel = 0;
Select.Position = Position;
if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
else
Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
end
Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
Select.TextColor3 = GUI.DropDown.Color.Text;
Select.FontSize = Enum.FontSize.Size14;
Select.TextStrokeTransparency = 0.5;
Select.Font = Enum.Font.SourceSans;
Select.Text = tostring(vValue[i]);
Select.ZIndex = 3
Select.MouseButton1Click:connect(function()
vSelected.Value = vValue[i];
ClearHolder();
RefreshDropDown();
end)
if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
elseif Holder:IsA("ScrollingFrame") then
Search.Visible = true;
if #Holder:GetChildren() >= 1 then
Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
end
elseif #Holder:GetChildren() < 1 then
Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
end
end
end
end
end
Debounce = false;
end
end;
RefreshDropDown();
Main.MouseButton1Click:connect(function()
CreateButton()
if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
Search:CaptureFocus();
Search.Text = "";
end
end)
topkek.lplr:GetMouse().Button1Down:connect(function()
ClearHolder()
end)
return {
Update = function()
RefreshDropDown();
end;
GetValue = function()
RefreshDropDown();
return vValue;
end;
GetSelected = function()
RefreshDropDown();
return vSelected.Value;
end;
SetTable = function(F)
vValue = F;
RefreshDropDown();
end;
Changed = function(F)
vSelected.Changed:connect(function()
ypcall(function()
F(vSelected.Value);
end)
end)
return "ChangedEvent Hooked";
end;
AddValue = function(obj)
local Type = type(obj);
if Type == "table" then
for i=1,#obj do
table.insert(vValue, obj[i])
end
elseif Type == "string" or Type == "number" or Type == "boolean" then
table.insert(vValue, obj)
end
RefreshDropDown();
end;
RemoveValue = function(obj)
local Type = type(obj);
if Type == "table" then
for i=1,#vValue do
for f=1,#obj do
if tostring(obj[f]) == tostring(vValue[i]) then
table.remove(vValue,i)
end
end
end
else
for i=1,#vValue do
if tostring(obj) == tostring(vValue[i]) then
table.remove(vValue,i)
end
end
end
RefreshDropDown();
end;
ClearValue = function()
vValue = {};
RefreshDropDown();
end;
}
end;
};
};
--// util //--
function topkek.tools.util.Object(o, p)
local a, b = pcall(function()
Instance.new(o)
end)
if not a then
return
end
local obj = Instance.new(o)
for prop, val in pairs(p) do
pcall(function()
obj[prop] = val
end)
end
return obj
end
function topkek.tools.util.getContainer(n)
if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
return game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
else
print("menu not found; returning template")
return topkek.holder['Template']
end
end
function topkek.tools.util.play(id)
local mu = Instance.new("Sound", game:GetService('Workspace'))
mu.Volume = 1
mu.Looped = true
mu.Pitch = 1
mu.SoundId = "rbxassetid://"..tostring(id)
mu:Play()
end
function topkek.tools.util.getTorso(plr) --r15 compatibility lole
if plr.Character then
if plr.Character:FindFirstChild('UpperTorso') then
return plr.Character.UpperTorso
elseif plr.Character:FindFirstChild('Torso') then
return plr.Character.Torso
else
return nil
end
end
end
function topkek.tools.util.recurseRemove(x,type_)
local function recurse(x)
for i, v in pairs(x:GetChildren()) do
pcall(function()
if v:IsA(type_) then
v:Destroy()
end
if #(v:GetChildren())>0 then
recurse(v)
end
end)
end
end
recurse(x)
end
function topkek.tools.util.recurseFunc(type_,func)
local function recurse(x)
for i, v in pairs(x:GetChildren()) do
pcall(function()
if v:IsA(type_) then
func(v)
end
if #(v:GetChildren())>0 then
recurse(v)
end
end)
end
end
recurse(game)
end
function topkek.tools.util.trowel()
local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
T.Name = 'Custom Trowel'
local p = Instance.new('Part')
p.Name = 'Handle'
p.Size = Vector3.new(1,4.4,1)
p.Parent = T
local specialMesh = Instance.new('SpecialMesh')
specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
specialMesh.MeshType = 'FileMesh'
specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
specialMesh.Parent = T.Handle
local sound = Instance.new'Sound'
sound.Name = 'build'
sound.SoundId = 'rbxasset://sounds//bass.wav'
sound.Volume = 1
sound.Parent = T.Handle
local brickHeight = 100
local trowelSpeed = 0.05
local brickWidth = 500
local mouseConnection
function newBrick(CF, P, color)
local brick = Instance.new('Part')
brick.BrickColor = color
brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
brick.Parent = game.Workspace
brick:MakeJoints()
brick.Material = 'Neon'
brick.Name = 'DeleteMe'
return brick, P + brick.Size
end
function genBrick(cFrame)
local randBrickColor = BrickColor.Random()
assert(brickWidth > 0)
local yPos = 0
while yPos < brickHeight do
local vPos
local X = -brickWidth / 2
while X < brickWidth / 2 do
local brick
brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
X = vPos.x
wait(trowelSpeed)
end
yPos = vPos.y
end
end
function calcPos(vec)
if (math.abs(vec.x) > math.abs(vec.z)) then
if vec.x > 0 then
return Vector3.new(1, 0, 0)
else
return Vector3.new(-1, 0, 0)
end
else
if (vec.z > 0) then
return Vector3.new(0, 0, 1)
else
return Vector3.new(0, 0, -1)
end
end
end
T.Enabled = true
T.Activated:connect(function()
if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
T.Enabled = false
T.Handle.build:Play()
genBrick(CFrame.new(game.Players.LocalPlayer.Character.Humanoid.TargetPoint, game.Players.LocalPlayer.Character.Humanoid.TargetPoint + calcPos((game.Players.LocalPlayer.Character.Humanoid.TargetPoint - game.Players.LocalPlayer.Character.Head.Position).unit)))
T.Enabled = true
end
end)
T.Equipped:connect(function()
mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
if (key == 'r') then
for i,v in next, workspace:children'' do
if (v.Name == 'DeleteMe') then
v:Destroy()
end
end
end
end)
end)
T.Unequipped:connect(function()
mouseConnection:disconnect()
end)
end
function topkek.tools.util.recurseSet(type_,prop,val)
local function recurse(x)
for i, v in pairs(x:GetChildren()) do
pcall(function()
if v:IsA(type_) then
v[prop]=val
end
if #(v:GetChildren())>0 then
recurse(v)
end
end)
end
end
recurse(game)
end
function topkek.tools.util.recurseUltimate(d)
topkek.tools.util.recurseDecal(d)
topkek.tools.util.recurseParticles(d)
end
function topkek.tools.util.recurseDecal(img)
img = 'rbxassetid://' .. img
local function skybox(x)
local sky = Instance.new("Sky",game.Lighting)
local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
for i,v in pairs(fcs) do
sky["Skybox"..v]=x
end
end
local function decal(p, b)
local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
for i, v in pairs(sides) do
local a = Instance.new("Decal", p)
a.Texture = b
a.Face = v
end
end
local function recurse(x)
for i, v in pairs(x:GetChildren()) do
pcall(function() -- 'error occured, no output from Lua' LOLE
if v:IsA("BasePart") then
decal(v, img)
end
if #(v:GetChildren())>0 then
recurse(v)
end
end)
end
end
recurse(game)
skybox(img)
end
function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
img = 'rbxassetid://' .. img
local function skybox(x)
local sky = Instance.new("Sky",game.Lighting)
local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
for i,v in pairs(fcs) do
sky["Skybox"..v]=x
end
end
local function particle(p, b)
local a = Instance.new("ParticleEmitter", p)
a.Rate = 500
a.Lifetime = NumberRange.new(20, 30)
a.VelocitySpread = 200
a.Texture = b
end
local function recurse(x)
for i, v in pairs(x:GetChildren()) do
pcall(function() -- 'error occured, no output from Lua' LOLE
if v:IsA("BasePart") then
particle(v, img)
end
if #(v:GetChildren())>0 then
recurse(v)
end
end)
end
end
recurse(game)
skybox(img)
end
function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
local function recurse(x)
for i, v in pairs(x:GetChildren()) do
pcall(function()
if v:IsA(type_) then
v[prop]=val
end
if #(v:GetChildren())>0 then
recurse(v)
end
end)
end
end
recurse(obj)
end
function topkek.tools.util.doPlayers(cval, func)
local plrs = {}
if cval == 'All' then
plrs = game:GetService('Players'):GetPlayers()
else
plrs = {game:GetService('Players'):FindFirstChild(cval)}
end
for i, v in pairs(plrs) do
func(v)
end
end
function topkek.tools.util.scalePlayer(sc,plr)
local pchar = plr.Character
if pchar:FindFirstChild("UpperTorso") then
warn("Player [" ..plr.Name.. "] is R15.")
return
end
local function scale(chr,scl)
for _,v in pairs(pchar:GetChildren()) do
if v:IsA("Hat") then
v:Clone()
v.Parent = game.Lighting
end
end
local Head = chr['Head']
local Torso = chr['Torso']
local LA = chr['Left Arm']
local RA = chr['Right Arm']
local LL = chr['Left Leg']
local RL = chr['Right Leg']
local HRP = chr['HumanoidRootPart']
wait(0.1)
Head.formFactor = 3