-
Notifications
You must be signed in to change notification settings - Fork 703
/
Copy pathArchive Admin Hub.lua
1464 lines (1381 loc) · 228 KB
/
Archive Admin Hub.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
-- Objects
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local Commands = Instance.new("Frame")
local Noclip = Instance.new("TextButton")
local God = Instance.new("TextButton")
local Fly = Instance.new("TextButton")
local Trump = Instance.new("TextButton")
local Pepe = Instance.new("TextButton")
local Speed = Instance.new("TextButton")
local Jump = Instance.new("TextButton")
local Fire = Instance.new("TextButton")
local Sparkles = Instance.new("TextButton")
local Smoke = Instance.new("TextButton")
local Btools = Instance.new("TextButton")
local Porn = Instance.new("TextButton")
local Title = Instance.new("TextLabel")
local Credits = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local Com = Instance.new("TextButton")
local Cre = Instance.new("TextButton")
local Login = Instance.new("Frame")
local Login_2 = Instance.new("Frame")
local User = Instance.new("TextBox")
local Pass = Instance.new("TextBox")
local Submit = Instance.new("TextButton")
local TopBar = Instance.new("TextLabel")
-- Properties
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
Frame.Parent = ScreenGui
Frame.Active = true
Frame.BackgroundColor3 = Color3.new(0.176471, 0.180392, 0.188235)
Frame.Draggable = true
Frame.Position = UDim2.new(0.0489642173, 0, 0.440366983, 0)
Frame.Size = UDim2.new(0, 301, 0, 53)
Frame.Visible = false
Commands.Name = "Commands"
Commands.Parent = Frame
Commands.BackgroundColor3 = Color3.new(0.231373, 0.270588, 0.278431)
Commands.BorderColor3 = Color3.new(0.164706, 0.180392, 0.192157)
Commands.Position = UDim2.new(0, 0, 1.01886797, 0)
Commands.Size = UDim2.new(0, 301, 0, 183)
Noclip.Name = "Noclip"
Noclip.Parent = Commands
Noclip.BackgroundColor3 = Color3.new(0.12549, 0.662745, 0.427451)
Noclip.BorderColor3 = Color3.new(0.203922, 0.490196, 0.372549)
Noclip.Position = UDim2.new(0.0664451867, 0, 0.0547450744, 0)
Noclip.Size = UDim2.new(0, 71, 0, 28)
Noclip.Font = Enum.Font.SourceSans
Noclip.FontSize = Enum.FontSize.Size14
Noclip.Text = "Noclip"
Noclip.TextColor3 = Color3.new(1, 1, 1)
Noclip.TextSize = 14
Noclip.MouseButton1Down:connect(function()
hop = Instance.new("HopperBin")
script.Parent = hop
local player = game:service("Players").LocalPlayer
local char = player.Character
local Torsoz = char:findFirstChild("Torso")
local RA = char:findFirstChild("Right Arm")
local LA = char:findFirstChild("Left Arm")
local RL = char:findFirstChild("Right Leg")
local LL = char:findFirstChild("Left Leg")
local H = char:findFirstChild("Head")
local RS = Torsoz:findFirstChild("Right Shoulder")
local LS = Torsoz:findFirstChild("Left Shoulder")
local RH = Torsoz:findFirstChild("Right Hip")
local LH = Torsoz:findFirstChild("Left Hip")
local N = Torsoz:findFirstChild("Neck")
local mouse = player:GetMouse()
local T = Instance.new("TextButton")
local FadeBox = Instance.new("Frame")
local FadeText = Instance.new("TextLabel")
local PrevWS = player.Character.Humanoid.WalkSpeed
local Sprinting = false
local QD = false
local ED = false
local RHoverPref = 0
local xfade = false
local HoverPart
local TeleLines = {}
local NoClipCons = {}
local Options = {}
local Change = {0, nil, nil}
local P = Instance.new("Part")
P.Anchored = false
P.CanCollide = false
P.Name = "Part"
P.formFactor = "Custom"
P.Size = Vector3.new(0.5,0.5,0.5)
P.Locked = true
P.TopSurface = 0
P.BottomSurface = 0
local Binds = {{"Hover", 122}, {"Rise Hover", 101}, {"Descend Hover", 113}, {"Sprint", 48}, {"Teleport", 116}, {"No Clip", 110}}
local Preferences = {{"Toggle Hover", true}, {"Hover Move Speed", 2}, {"Toggle Sprint", false}, {"Sprint Multiplier", 2}, {"Toggle No Clip", true}}
function WhatKey(key)
local Key = key
if Key == 50 then
Key = "Left Ctrl"
elseif Key == 49 then
Key = "Right Ctrl"
elseif Key == 32 then
Key = "Space"
elseif Key == 52 then
Key = "Left Alt"
elseif Key == 45 then
Key = "Caps Lock"
elseif Key == 48 then
Key = "Left Shift"
elseif Key == 47 then
Key = "Right Shift"
elseif Key == 13 then
Key = "Enter"
elseif Key == 8 then
Key = "Backspace"
elseif Key == 17 then
Key = "Up Arrow"
elseif Key == 18 then
Key = "Down Arrow"
elseif Key == 20 then
Key = "Left Arrow"
elseif Key == 19 then
Key = "Right Arrow"
elseif Key == 23 then
Key = "End"
elseif Key == 22 then
Key = "Home"
elseif Key == 127 then
Key = "Delete"
elseif Key == 21 then
Key = "Insert"
else
Key = string.char(Key):upper()
end
return Key
end
function ChangePref(gui, txt)
local val
for i, v in pairs(Preferences) do
if v[1] == txt then
val = v
break
end
end
if val ~= nil then
if gui.Type.Value == "boolean" then
val[2] = not val[2]
gui.Text = tostring(val[2])
elseif gui.Type.Value == "number" then
Change = {2, val, gui}
local g = Instance.new("ScreenGui", player.PlayerGui)
g.Name = "EnterANum"
local tb = Instance.new("TextButton", g)
tb.Visible = false
tb.Size = UDim2.new(1.1,0,1.1,0)
tb.Position = UDim2.new(-0.05,0,-0.05,0)
tb.BackgroundColor3 = Color3.new(0,0,0)
tb.BackgroundTransparency = 0.15
tb.AutoButtonColor = false
local f = Instance.new("Frame", g)
f.Visible = false
f.Size = UDim2.new(0.3,0,0.22,0)
f.Position = UDim2.new(0.35,0,0.39,0)
f.BackgroundColor3 = Color3.new(0,0,0)
f.BorderColor3 = Color3.new(0,0.4,0.7)
local tl = Instance.new("TextLabel", f)
tl.Text = [[Enter a number for
]] .. txt:lower() .. " preference"
tl.TextColor3 = Color3.new(0.4,0.6,0.8)
tl.TextStrokeTransparency = 0
tl.TextStrokeColor3 = Color3.new(tl.TextColor3.r-0.3,tl.TextColor3.g-0.3,tl.TextColor3.b-0.3)
tl.Font = "ArialBold"
tl.FontSize = 7
tl.Size = UDim2.new(1,0,0.5,0)
tl.BackgroundTransparency = 1
tl.TextWrap = true
local b = Instance.new("TextBox", f)
b.BackgroundColor3 = Color3.new(0,0,0)
b.TextColor3 = Color3.new(0.4,0.6,0.8)
b.Size = UDim2.new(0.6,0,0.25,0)
b.Position = UDim2.new(0.2,0,0.575,0)
b.Font = "ArialBold"
b.FontSize = 6
b.BorderColor3 = Color3.new(0,0.4,0.7)
b.Text = "- - - - -"
local thecon = b.FocusLost:connect(function()
local num = tonumber(b.Text)
if num == nil then
b.Text = "That was not a number"
else
val[2] = num
gui.Text = val[2]
if val[1] == "Sprint Multiplier" then
gui.Text = "x"..val[2]
end
for i, v in pairs(player.PlayerGui:children()) do
if v.Name == "EnterANum" and v.className == "ScreenGui" then
v:remove()
end
end
gui.TextColor3 = Color3.new(0.5,0.6,0.8)
gui.TextStrokeColor3 = Color3.new(Change[3].TextColor3.r-0.3,Change[3].TextColor3.g-0.3,Change[3].TextColor3.b-0.3)
Change = {0, nil, nil}
thecon:disconnect()
end
end)
wait(0.02)
tb.Visible = true
f.Visible = true
end
end
end
function ChangeBind(gui, txt)
if Change[1] == 0 then
local val
for i, v in pairs(Binds) do
if v[1] == txt then
val = v
break
end
end
if val ~= nil then
Change = {1, val, gui}
local g = Instance.new("ScreenGui", player.PlayerGui)
g.Name = "EnterAKey"
local tb = Instance.new("TextButton")
tb.Size = UDim2.new(1.1,0,1.1,0)
tb.Position = UDim2.new(-0.05,0,-0.05,0)
tb.BackgroundColor3 = Color3.new(0,0,0)
tb.BackgroundTransparency = 0.15
tb.Text = "Press a key for the " .. txt:lower() .. " action"
tb.TextColor3 = Color3.new(0.4,0.6,0.8)
tb.TextStrokeTransparency = 0
tb.TextStrokeColor3 = Color3.new(tb.TextColor3.r-0.3,tb.TextColor3.g-0.3,tb.TextColor3.b-0.3)
tb.Font = "ArialBold"
tb.FontSize = 7
tb.AutoButtonColor = false
wait(0.025)
tb.Parent = g
end
end
end
function ConfigGui()
for i, v in pairs(player.PlayerGui:children()) do
if v.className == "ScreenGui" and v.Name == "ConfigGui" then
v:remove()
end
end
local g = Instance.new("ScreenGui", player.PlayerGui)
g.Name = "ConfigGui"
----- border -----
local fr = Instance.new("Frame", g)
fr.Visible = false
fr.Position = UDim2.new(0.3,0,0.3,0)
fr.Size = UDim2.new(0.4,0,0.4,0)
fr.BackgroundColor3 = Color3.new(0,0,0)
fr.BorderColor3 = Color3.new(0,0.4,0.7)
-- fr.AutoButtonColor = false
-- fr.Draggable = true
local e = Instance.new("ImageLabel", fr)
e.Size = UDim2.new(0.12,0,0.12,0)
e.BackgroundColor3 = Color3.new(0,0,0)
e.BorderColor3 = Color3.new(0,0.4,0.7)
e.ZIndex = 10
local esx = (e.Size.X.Scale /2) - 0.01
local esy = (e.Size.Y.Scale /2) - 0.01
e.Position = UDim2.new(-esx,0,-esy,0)
local e = e:Clone()
e.Parent = fr
e.Position = UDim2.new(1-(esx*1.25),0,1-(esy*1.25),0)
local e = e:Clone()
e.Parent = fr
e.Position = UDim2.new(-esx,0,1-(esy*1.25),0)
local e = Instance.new("ImageLabel", fr)
e.Size = UDim2.new(0.12,0,0.12,0)
e.BackgroundColor3 = Color3.new(0,0,0)
e.BorderColor3 = Color3.new(0,0.4,0.7)
e.ZIndex = 10
e.Position = UDim2.new(1-(esx*1.25),0,-esy,0)
local t = Instance.new("TextButton", e)
t.Position = UDim2.new(0.2,0,0,0)
t.Size = UDim2.new(0.6,0,0.8,0)
t.BackgroundTransparency = 1
t.TextColor3 = Color3.new(0.6,0,0)
t.Font = "ArialBold"
t.Text = "x"
t.TextStrokeTransparency = 0
t.TextStrokeColor3 = Color3.new(0.4,0,0)
t.FontSize = 8
t.ZIndex = 10
t.MouseEnter:connect(function() xfade = true end)
t.MouseLeave:connect(function() xfade = false end)
t.MouseButton1Up:connect(function()
for i, v in pairs(player.PlayerGui:children()) do
if v.className == "ScreenGui" and v.Name == "ConfigGui" then
v:remove()
end
end
end)
T = t
local f = Instance.new("Frame", fr)
f.Position = UDim2.new(0.02,0,0.02,0)
f.Size = UDim2.new(0.96,0,0.96,0)
f.BackgroundColor3 = Color3.new(0,0,0)
f.BorderColor3 = Color3.new(0,0.4,0.7)
local t = Instance.new("TextLabel", f)
t.Position = UDim2.new(0.5,0,0.08,0)
t.Text = "Configuration"
t.TextColor3 = Color3.new(0.4,0.6,0.8)
t.Font = "ArialBold"
t.FontSize = 8
t.TextStrokeTransparency = 0
t.TextStrokeColor3 = Color3.new(t.TextColor3.r-0.3,t.TextColor3.g-0.3,t.TextColor3.b-0.3)
local t = Instance.new("TextLabel", f)
t.Position = UDim2.new(0.5,0,0.95,0)
t.Text = [[Say "-config-" to open this menu]]
t.TextColor3 = Color3.new(0.5,0.5,0.5)
t.Font = "ArialBold"
t.FontSize = 5
t.Transparency = 0.7
FadeText = t
local f = Instance.new("Frame", f)
f.Position = UDim2.new(0.05,0,0.2,0)
f.Size = UDim2.new(0.9,0,0.7,0)
f.Transparency = 1
local b = Instance.new("Frame", f)
b.Position = UDim2.new(0.4925,0,-0.02,0)
b.Size = UDim2.new(0.01,0,1.04,0)
b.BackgroundColor3 = Color3.new(0,0.1,0.175)
b.BorderColor3 = Color3.new(0,0.2,0.35)
b.Transparency = 0.4
local fa = Instance.new("Frame", f)
fa.Position = UDim2.new(0.505,0,0,0)
fa.Size = UDim2.new(0.495,0,1,0)
fa.BackgroundColor3 = Color3.new(0,0,0)
fa.BorderSizePixel = 0
fa.Transparency = 0
fa.ZIndex = 6
FadeBox = fa
local kbw = Instance.new("Frame", f)
kbw.Name = "Menu"
kbw.Position = UDim2.new(0.5,0,0,0)
kbw.Size = UDim2.new(0.5,0,1,0)
kbw.Transparency = 1
local t = Instance.new("TextLabel", kbw)
t.Position = UDim2.new(0.01,0,0.05,0)
t.Size = UDim2.new(0.55,0,0.15,0)
t.Text = "Action"
t.TextColor3 = Color3.new(0.4,0.6,0.8)
t.BackgroundTransparency = 1
t.Font = "ArialBold"
t.FontSize = 6
t.TextStrokeTransparency = 0
t.TextStrokeColor3 = Color3.new(t.TextColor3.r-0.3,t.TextColor3.g-0.3,t.TextColor3.b-0.3)
local t = t:Clone()
t.Parent = kbw
t.Position = UDim2.new(0.56,0,0.05,0)
t.Size = UDim2.new(0.43,0,0.15,0)
t.Text = "Key binded"
for i, v in pairs(Binds) do
local tl = Instance.new("TextLabel", kbw)
tl.Position = UDim2.new(0.01,0,0.2+(0.1*(i-1)),0)
tl.Size = UDim2.new(0.55,0,0.1,0)
tl.Text = v[1]
tl.TextColor3 = Color3.new(0.5,0.6,0.8)
tl.BackgroundTransparency = 1
tl.Font = "ArialBold"
tl.FontSize = 5
tl.TextStrokeTransparency = 0
tl.TextStrokeColor3 = Color3.new(tl.TextColor3.r-0.3,tl.TextColor3.g-0.3,tl.TextColor3.b-0.3)
local bar = Instance.new("Frame", kbw)
bar.Position = UDim2.new(0.04,0,0.2+(0.1*(i-1)),-1)
bar.Size = UDim2.new(0.92,0,0,2)
bar.BackgroundColor3 = Color3.new(0,0.15,0.22)
bar.BorderSizePixel = 0
local t = Instance.new("TextButton", kbw)
t.Position = UDim2.new(0.56,0,0.2+(0.1*(i-1)),0)
t.Size = UDim2.new(0.43,0,0.1,0)
t.Text = WhatKey(v[2])
t.TextColor3 = Color3.new(0.5,0.6,0.8)
t.BackgroundTransparency = 1
t.Font = "ArialBold"
t.FontSize = 5
t.TextStrokeTransparency = 0
t.TextStrokeColor3 = Color3.new(t.TextColor3.r-0.3,t.TextColor3.g-0.3,t.TextColor3.b-0.3)
t.MouseEnter:connect(function()
if Change[1] == 0 then
t.TextColor3 = Color3.new(0.8,0.6,0.5)
t.TextStrokeColor3 = Color3.new(t.TextColor3.r-0.3,t.TextColor3.g-0.3,t.TextColor3.b-0.3)
end
end)
t.MouseLeave:connect(function()
if Change[1] == 0 then
t.TextColor3 = Color3.new(0.5,0.6,0.8)
t.TextStrokeColor3 = Color3.new(t.TextColor3.r-0.3,t.TextColor3.g-0.3,t.TextColor3.b-0.3)
end
end)
t.MouseButton1Up:connect(function()
if Change[1] == 0 then
ChangeBind(t, tl.Text)
end
end)
end
local pw = Instance.new("Frame", f)
pw.Name = "Menu"
pw.Position = UDim2.new(0.5,0,0,0)
pw.Size = UDim2.new(0.5,0,1,0)
pw.Transparency = 1
pw.Visible = false
local t = Instance.new("TextLabel", pw)
t.Position = UDim2.new(0.01,0,0.05,0)
t.Size = UDim2.new(0.55,0,0.15,0)
t.Text = "Action"
t.TextColor3 = Color3.new(0.4,0.6,0.8)
t.BackgroundTransparency = 1
t.Font = "ArialBold"
t.FontSize = 6
t.TextStrokeTransparency = 0
t.TextStrokeColor3 = Color3.new(t.TextColor3.r-0.3,t.TextColor3.g-0.3,t.TextColor3.b-0.3)
local t = t:Clone()
t.Parent = pw
t.Position = UDim2.new(0.56,0,0.05,0)
t.Size = UDim2.new(0.43,0,0.15,0)
t.Text = "Preference"
for i, v in pairs(Preferences) do
local tl = Instance.new("TextLabel", pw)
tl.Position = UDim2.new(0.01,0,0.2+(0.1*(i-1)),0)
tl.Size = UDim2.new(0.55,0,0.1,0)
tl.Text = v[1]
tl.TextColor3 = Color3.new(0.5,0.6,0.8)
tl.BackgroundTransparency = 1
tl.Font = "ArialBold"
tl.FontSize = 5
tl.TextStrokeTransparency = 0
tl.TextStrokeColor3 = Color3.new(tl.TextColor3.r-0.3,tl.TextColor3.g-0.3,tl.TextColor3.b-0.3)
local bar = Instance.new("Frame", pw)
bar.Position = UDim2.new(0.04,0,0.2+(0.1*(i-1)),-1)
bar.Size = UDim2.new(0.92,0,0,2)
bar.BackgroundColor3 = Color3.new(0,0.15,0.22)
bar.BorderSizePixel = 0
local t = Instance.new("TextButton", pw)
t.Position = UDim2.new(0.56,0,0.2+(0.1*(i-1)),0)
t.Size = UDim2.new(0.43,0,0.1,0)
t.Text = tostring(v[2])
if v[1] == "Sprint Multiplier" then
t.Text = "x"..tostring(v[2])
end
t.TextColor3 = Color3.new(0.5,0.6,0.8)
t.BackgroundTransparency = 1
t.Font = "ArialBold"
t.FontSize = 5
t.TextStrokeTransparency = 0
t.TextStrokeColor3 = Color3.new(t.TextColor3.r-0.3,t.TextColor3.g-0.3,t.TextColor3.b-0.3)
t.MouseEnter:connect(function()
if Change[1] == 0 then
t.TextColor3 = Color3.new(0.8,0.6,0.5)
t.TextStrokeColor3 = Color3.new(t.TextColor3.r-0.3,t.TextColor3.g-0.3,t.TextColor3.b-0.3)
end
end)
t.MouseLeave:connect(function()
if Change[1] == 0 then
t.TextColor3 = Color3.new(0.5,0.6,0.8)
t.TextStrokeColor3 = Color3.new(t.TextColor3.r-0.3,t.TextColor3.g-0.3,t.TextColor3.b-0.3)
end
end)
t.MouseButton1Up:connect(function()
ChangePref(t, tl.Text)
end)
local val = Instance.new("StringValue", t)
val.Name = "Type"
val.Value = tostring(type(v[2]))
end
Options = {}
for i = 0, 1 do
local o = Instance.new("TextButton", f)
o.Size = UDim2.new(0.47,0,0.185,0)
o.Position = UDim2.new(0,0,0.2*i,0)
o.FontSize = 6
o.Font = "ArialBold"
o.TextXAlignment = "Left"
o.BackgroundColor3 = Color3.new(0.07,0.07,0.07)
o.TextColor3 = Color3.new(0.5,0.5,0.5)
o.BorderSizePixel = 0
o.AutoButtonColor = false
if i == 0 then
o.Text = " Keybindings"
o.Selected = true
elseif i == 1 then
o.Text = " Preferences"
end
o.MouseEnter:connect(function()
o.TextWrap = true
end)
o.MouseLeave:connect(function()
o.TextWrap = false
end)
o.MouseButton1Up:connect(function()
if o.Selected == false then
for _, v in pairs(f:children()) do
if v.Name == "Menu" then
v.Visible = false
end
end
if i == 0 then
kbw.Visible = true
elseif i == 1 then
pw.Visible = true
end
FadeBox.Transparency = 0
end
for _, v in pairs(Options) do
v[1].Selected = false
end
o.Selected = true
end)
if i == 0 then
table.insert(Options, {o, 0.8, 0.075})
else
table.insert(Options, {o, 0.8, 0})
end
end
wait(0.01)
fr.Visible = true
end
ConfigGui()
function KD(key)
if Change[1] == 1 and string.byte(key) ~= 27 then
Change[3].Text = WhatKey(string.byte(key))
Change[3].TextColor3 = Color3.new(0.5,0.6,0.8)
Change[3].TextStrokeColor3 = Color3.new(Change[3].TextColor3.r-0.3,Change[3].TextColor3.g-0.3,Change[3].TextColor3.b-0.3)
Change[2][2] = string.byte(key)
Change = {0, nil, nil}
for i, v in pairs(player.PlayerGui:children()) do
if v.className == "ScreenGui" and v.Name == "EnterAKey" then
v:remove()
end
end
elseif Change[1] == 0 then
local Key = string.byte(key)
local func
for i, v in pairs(Binds) do
if v[2] == Key then
func = v[1]
break
end
end
if func == "Teleport" then
if mouse.Target ~= nil then
local torsoz = player.Character.Torso.Position
local thepos = mouse.Hit.p + Vector3.new(0,3,0)
local thepos2 = CFrame.new(thepos, Vector3.new(torsoz.x, thepos.y, torsoz.z))
player.Character.Torso.CFrame = thepos2 * CFrame.Angles(0,math.pi,0)
local l = P:Clone()
l.Parent = player.Character.Torso
l.BrickColor = BrickColor.new("Deep blue")
l.Transparency = 0.2
l.Anchored = true
l.CFrame = CFrame.new((torsoz + thepos)/2, torsoz)
local mesh = Instance.new("SpecialMesh", l)
mesh.MeshType = "Brick"
mesh.Name = "Mesh"
mesh.Scale = Vector3.new(1.2,2.6,(torsoz - thepos).magnitude*2)
table.insert(TeleLines, l)
local l = l:Clone()
l.Parent = player.Character.Torso
l.Mesh.Scale = l.Mesh.Scale - Vector3.new(0.3,0.75,0.75)
l.BrickColor = BrickColor.new("Cyan")
table.insert(TeleLines, l)
end
elseif func == "Hover" then
if player.Character.Torso:findFirstChild("HotkeyHoverBP") ~= nil then
for i, v in pairs(player.Character.Torso:children()) do
if v.className == "BodyPosition" and v.Name == "HotkeyHoverBP" then
v:remove()
end
end
for i, v in pairs(workspace.CurrentCamera:children()) do
if v.className == "Part" and v.Name == "HoverPart" then
v:remove()
end
end
HoverPart = nil
else
for i, v in pairs(workspace.CurrentCamera:children()) do
if v.className == "Part" and v.Name == "HoverPart" then
v:remove()
end
end
HoverPart = nil
if player.Character:findFirstChild("Torso") ~= nil then
local p = P:Clone()
p.Name = "HoverPart"
p.Parent = workspace.CurrentCamera
p.Transparency = 1
p.Size = Vector3.new(8,0.5,8)
HoverPart = p
local bp = Instance.new("BodyPosition", player.Character:findFirstChild("Torso"))
bp.Name = "HotkeyHoverBP"
bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
bp.position = player.Character.Torso.Position
bp.P = 10000
wait(0.028)
bp.maxForce = Vector3.new(0,math.huge,0)
end
end
for i, v in pairs(Preferences) do
if v[1] == "Hover Move Speed" then
RHoverPref = v[2]
end
end
ED = true
for i, v in pairs(Preferences) do
if v[1] == "Hover Move Speed" then
RHoverPref = v[2]
end
end
QD = true
elseif func == "No Clip" then
if #NoClipCons == 0 then
local con = game:service("RunService").Stepped:connect(function()
pcall(function() player.Character.Torso.CanCollide = false end)
pcall(function() player.Character.Head.CanCollide = false end)
end)
table.insert(NoClipCons, con)
else
for i, v in pairs(NoClipCons) do
v:disconnect()
table.remove(NoClipCons, i)
end
end
end
end
end
function KU(key)
local HoverPref
local SprintPref
local NoClipPref
for i, v in pairs(Preferences) do
if v[1] == "Toggle Hover" then
HoverPref = v[2]
elseif v[1] == "Toggle Sprint" then
SprintPref = v[2]
elseif v[1] == "Hover Move Speed" then
RHoverPref = v[2]
elseif v[1] == "Toggle No Clip" then
NoClipPref = v[2]
end
end
local Key = string.byte(key)
local func
for i, v in pairs(Binds) do
if v[2] == Key then
func = v[1]
break
end
end
if func == "Hover" then
if HoverPref == false then
for i, v in pairs(player.Character.Torso:children()) do
if v.className == "BodyPosition" and v.Name == "HotkeyHoverBP" then
v:remove()
end
end
for i, v in pairs(workspace.CurrentCamera:children()) do
if v.className == "Part" and v.Name == "HoverPart" then
v:remove()
end
end
HoverPart = nil
end
elseif func == "Sprint" then
if Sprinting == true and SprintPref == false then
player.Character.Humanoid.WalkSpeed = PrevWS
Sprinting = false
end
elseif func == "Rise Hover" then
ED = false
elseif func == "Descend Hover" then
QD = false
elseif func == "No Clip" then
if NoClipPref == false then
for i, v in pairs(NoClipCons) do
v:disconnect()
table.remove(NoClipCons, i)
end
end
end
end
function Chat(msg)
if msg == "-config-" then
ConfigGui()
end
end
mouse.KeyDown:connect(KD)
mouse.KeyUp:connect(KU)
player.Chatted:connect(Chat)
local fadenum = 0.5
while true do
if xfade == true then
fadenum = fadenum + 0.045
if fadenum > 1 then
fadenum = 1
end
T.TextColor3 = Color3.new(0,fadenum*0.2,fadenum)
T.TextStrokeColor3 = Color3.new(0,fadenum*0.2,fadenum*0.45)
else
fadenum = fadenum - 0.045
if fadenum < 0.5 then
fadenum = 0.5
end
T.TextColor3 = Color3.new(0,fadenum*0.2,fadenum)
T.TextStrokeColor3 = Color3.new(0,fadenum*0.2,fadenum*0.45)
end
for i, v in pairs(Options) do
if v[1].TextWrap == true or v[1].Selected == true then
v[2] = v[2] + 0.028
v[3] = v[3] + 0.0056
if v[2] > 0.8 then
v[2] = 0.8
end
if v[3] > 0.06 then
v[3] = 0.06
end
v[1].TextColor3 = Color3.new(v[2]-0.2,v[2],v[2]+0.2)
v[1].BackgroundColor3 = Color3.new(v[3]+0.02,v[3]+0.04,v[3]+0.07)
v[1].Size = UDim2.new(0.38+(v[3]*1.4),0,0.185,0)
if v[1].Selected == true then
v[1].Size = UDim2.new(0.38+(v[3]*1.4),0,0.185,0)
v[1].BackgroundColor3 = Color3.new(v[3]+0.02,v[3]+0.06,v[3]+0.15)
end
else
v[2] = v[2] - 0.028
v[3] = v[3] - 0.0056
if v[2] < 0.5 then
v[2] = 0.5
end
if v[3] < 0 then
v[3] = 0
end
v[1].TextColor3 = Color3.new(v[2]-0.2,v[2],v[2]+0.2)
v[1].BackgroundColor3 = Color3.new(v[3]+0.02,v[3]+0.04,v[3]+0.07)
v[1].Size = UDim2.new(0.38+(v[3]*1.4),0,0.185,0)
end
end
for i, v in pairs(TeleLines) do
v.Transparency = v.Transparency + 0.05
if v.Transparency > 0.9 then
v:remove()
table.remove(TeleLines, i)
end
end
if FadeBox.Transparency < 1 then
FadeBox.Transparency = FadeBox.Transparency + 0.05
else
FadeBox.Transparency = 1
end
if FadeText.BorderSizePixel == 0 then
FadeText.Transparency = FadeText.Transparency + 0.0125
if FadeText.Transparency > 0.76 then
FadeText.BorderSizePixel = 1
end
else
FadeText.Transparency = FadeText.Transparency - 0.0125
if FadeText.Transparency < 0.38 then
FadeText.BorderSizePixel = 0
end
end
local tors = player.Character:findFirstChild("Torso")
if QD == true or ED == true then
if tors ~= nil then
if tors:findFirstChild("HotkeyHoverBP") ~= nil then
if QD == true then
tors:findFirstChild("HotkeyHoverBP").position = tors.Position - Vector3.new(0,RHoverPref,0)
end
if ED == true then
tors:findFirstChild("HotkeyHoverBP").position = tors.Position + Vector3.new(0,RHoverPref,0)
end
end
end
end
if tors ~= nil then
if HoverPart ~= nil and tors:findFirstChild("HotkeyHoverBP") ~= nil then
HoverPart.Size = Vector3.new(3.5,0.5,3.5)
HoverPart.Anchored = true
HoverPart.CanCollide = true
HoverPart.CFrame = CFrame.new(tors.Position-Vector3.new(0,3.5,0))
elseif HoverPart ~= nil and tors:findFirstChild("HotkeyHoverBP") == nil then
for i, v in pairs(workspace.CurrentCamera:children()) do
if v.className == "Part" and v.Name == "HoverPart" then
v:remove()
end
end
HoverPart = nil
end
end
wait(0.025)
end
end)
God.Name = "God"
God.Parent = Commands
God.BackgroundColor3 = Color3.new(0.12549, 0.662745, 0.427451)
God.BorderColor3 = Color3.new(0.203922, 0.490196, 0.372549)
God.Position = UDim2.new(0.0664451867, 0, 0.306562394, 0)
God.Size = UDim2.new(0, 71, 0, 28)
God.Font = Enum.Font.SourceSans
God.FontSize = Enum.FontSize.Size14
God.Text = "God"
God.TextColor3 = Color3.new(1, 1, 1)
God.TextSize = 14
God.MouseButton1Down:connect(function()
game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 999999999
wait(0.1)
game.Players.LocalPlayer.Character.Humanoid.Health = 999999999
end)
Fly.Name = "Fly"
Fly.Parent = Commands
Fly.BackgroundColor3 = Color3.new(0.12549, 0.662745, 0.427451)
Fly.BorderColor3 = Color3.new(0.203922, 0.490196, 0.372549)
Fly.Position = UDim2.new(0.0664451867, 0, 0.547400594, 0)
Fly.Size = UDim2.new(0, 71, 0, 28)
Fly.Font = Enum.Font.SourceSans
Fly.FontSize = Enum.FontSize.Size14
Fly.Text = "Fly"
Fly.TextColor3 = Color3.new(1, 1, 1)
Fly.TextSize = 14
Fly.MouseButton1Down:connect(function()
repeat wait()
until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
local mouse = game.Players.LocalPlayer:GetMouse()
repeat wait() until mouse
local plr = game.Players.LocalPlayer
local torso = plr.Character.Torso
local flying = true
local deb = true
local ctrl = {f = 0, b = 0, l = 0, r = 0}
local lastctrl = {f = 0, b = 0, l = 0, r = 0}
local maxspeed = 50
local speed = 0
function Fly()
local bg = Instance.new("BodyGyro", torso)
bg.P = 9e4
bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
bg.cframe = torso.CFrame
local bv = Instance.new("BodyVelocity", torso)
bv.velocity = Vector3.new(0,0.1,0)
bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
repeat wait()
plr.Character.Humanoid.PlatformStand = true
if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
speed = speed+.5+(speed/maxspeed)
if speed > maxspeed then
speed = maxspeed
end
elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
speed = speed-1
if speed < 0 then
speed = 0
end
end
if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
else
bv.velocity = Vector3.new(0,0.1,0)
end
bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
until not flying
ctrl = {f = 0, b = 0, l = 0, r = 0}
lastctrl = {f = 0, b = 0, l = 0, r = 0}
speed = 0
bg:Destroy()
bv:Destroy()
plr.Character.Humanoid.PlatformStand = false
end
mouse.KeyDown:connect(function(key)
if key:lower() == "e" then
if flying then flying = false
else
flying = true
Fly()
end
elseif key:lower() == "w" then
ctrl.f = 1
elseif key:lower() == "s" then
ctrl.b = -1
elseif key:lower() == "a" then
ctrl.l = -1
elseif key:lower() == "d" then
ctrl.r = 1
end
end)
mouse.KeyUp:connect(function(key)
if key:lower() == "w" then
ctrl.f = 0
elseif key:lower() == "s" then
ctrl.b = 0
elseif key:lower() == "a" then
ctrl.l = 0
elseif key:lower() == "d" then
ctrl.r = 0
end
end)
Fly()
end)
Trump.Name = "Trump"
Trump.Parent = Commands
Trump.BackgroundColor3 = Color3.new(0.12549, 0.662745, 0.427451)
Trump.BorderColor3 = Color3.new(0.203922, 0.490196, 0.372549)
Trump.Position = UDim2.new(0.0664451867, 0, 0.793803573, 0)
Trump.Size = UDim2.new(0, 71, 0, 28)
Trump.Font = Enum.Font.SourceSans
Trump.FontSize = Enum.FontSize.Size14
Trump.Text = "Trumpify"
Trump.TextColor3 = Color3.new(1, 1, 1)
Trump.TextSize = 14
trum = Instance.new("ParticleEmitter")
Trump.MouseButton1Down:connect(function()
trum.Texture = "http://www.roblox.com/asset/?id=526577438"
trum.Parent = game.Players.LocalPlayer.Character.Torso
end)
Pepe.Name = "Pepe"
Pepe.Parent = Commands
Pepe.BackgroundColor3 = Color3.new(0.12549, 0.662745, 0.427451)
Pepe.BorderColor3 = Color3.new(0.203922, 0.490196, 0.372549)
Pepe.Position = UDim2.new(0.382059813, 0, 0.0547450744, 0)
Pepe.Size = UDim2.new(0, 71, 0, 28)
Pepe.Font = Enum.Font.SourceSans
Pepe.FontSize = Enum.FontSize.Size14
Pepe.Text = "Pepefy"
Pepe.TextColor3 = Color3.new(1, 1, 1)
Pepe.TextSize = 14
parti = Instance.new("ParticleEmitter")
Pepe.MouseButton1Down:connect(function()