-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathShatter Vast FE
3957 lines (3746 loc) · 129 KB
/
Shatter Vast FE
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
-- By illremember#3799
-- Important Loading
trueSettings = {
commandPrefix = ";";
hotkeys = {};
fchotkeymode = "unfc";
}
-- Important Variables
gsPlayers = game:GetService("Players")
gsWorkspace = game:GetService("Workspace")
gsLighting = game:GetService("Lighting")
gsReplicatedStorage = game:GetService("ReplicatedStorage")
gsCoreGui = game:GetService("CoreGui")
gsTween = game:GetService("TweenService")
gsHttp = game:GetService("HttpService")
LP = gsPlayers.LocalPlayer
Mouse = LP:GetMouse()
defaultSettings = gsHttp:JSONEncode(trueSettings)
function CreateSave()
writefile("Shattervast.txt", defaultSettings)
wait(0.5)
local content = readfile("Shattervast.txt")
local trueValue = gsHttp:JSONDecode(content)
commandPrefix = trueValue.commandPrefix
hotkeys = trueValue.hotkeys
fchotkeymode = trueValue.fchotkeymode
end
function fullUpdate()
local updatedSettings = {
commandPrefix = commandPrefix;
hotkeys = hotkeys;
fchotkeymode = fchotkeymode;
}
local fullUPDATED = gsHttp:JSONEncode(updatedSettings)
wait(0.2)
writefile("Shattervast.txt", fullUPDATED)
end
if writefile ~= nil then
function builder()
local TESTsave = readfile("Shattervast.txt")
if TESTsave == nil then
return false
else
return true
end
end
local success, message = pcall(builder)
if success == true then
function reader()
local content = readfile("Shattervast.txt")
local trueValue = gsHttp:JSONDecode(content)
commandPrefix = trueValue.commandPrefix
hotkeys = trueValue.hotkeys
if trueValue.fchotkeymode == nil then
fchotkeymode = "unfc"
fullUpdate()
else
fchotkeymode = trueValue.fchotkeymode
end
end
reader()
elseif success == false then
CreateSave()
end
else
commandPrefix = ";"
hotkeys = {}
fchotkeymode = "unfc"
end
CurrentGravity = gsWorkspace.Gravity
CurrentWalkspeed = LP.Character.Humanoid.WalkSpeed
CurrentJumppower = LP.Character.Humanoid.JumpPower
CurrentHipheight = LP.Character.Humanoid.HipHeight
CurrentNormal = LP.DevCameraOcclusionMode
gsWorkspace.Camera.Changed:Connect(function()
gsWorkspace.Camera.FieldOfView = 70
end)
-- Important Functions
function view(plr)
if plr.Character.Humanoid ~= nil then
gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
else
gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Head
end
end
function unlockWS()
for i,part in pairs(gsWorkspace:GetDescendants()) do
if part:IsA("Part") then
part.Locked = false
end
end
end
function lockWS()
for i,part in pairs(gsWorkspace:GetDescendants()) do
if part:IsA("Part") then
part.Locked = true
end
end
end
function FEGodmode()
local changeview = false
if gsWorkspace.CurrentCamera.CameraSubject == LP.Character.Humanoid or gsWorkspace.CurrentCamera.CameraSubject == LP.Character then
changeview = true
end
LP.Character.Humanoid.Name = 1
local l = LP.Character["1"]:Clone()
l.Parent = LP.Character
l.Name = "Humanoid"
wait(0.1)
LP.Character["1"]:Destroy()
if changeview then
game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character
end
LP.Character.Animate.Disabled = true
wait(0.1)
LP.Character.Animate.Disabled = false
LP.Character.Humanoid.DisplayDistanceType = "None"
end
function RocketPropulsion(maxthrust,maxspeed,thrustp,targetplr,name)
local l = Instance.new("RocketPropulsion")
l.Parent = LP.Character.HumanoidRootPart
l.CartoonFactor = 1
l.MaxThrust = maxthrust
l.MaxSpeed = maxspeed
l.ThrustP = thrustp
l.Name = name
l.Target = targetplr.Character.HumanoidRootPart
l:Fire()
end
function createIntro(style, msg, length)
if gsCoreGui:FindFirstChild("Notification") then
gsCoreGui:FindFirstChild("Notification"):Destroy()
end
local info = "http://www.roblox.com/asset/?id=1281284684"
local warning = "http://www.roblox.com/asset/?id=1281286925"
if style == "info" then
style = info
elseif style == "warning" then
style = warning
end
local Notification = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local IMAGE = Instance.new("ImageLabel")
Notification.Name = "Notification"
Notification.Parent = gsCoreGui
Frame.Parent = Notification
Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
Frame.BackgroundTransparency = 0.20000000298023
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(0, 0, -0.2, 0)
Frame.Size = UDim2.new(1, 0, 0, 30)
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel.BackgroundTransparency = 1
TextLabel.Size = UDim2.new(1, 0, 1, 0)
TextLabel.Font = Enum.Font.SourceSansLight
TextLabel.Text = msg
TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
TextLabel.TextScaled = true
TextLabel.TextSize = 14
TextLabel.TextWrapped = true
IMAGE.Parent = Frame
IMAGE.BackgroundTransparency = 1
IMAGE.Size = UDim2.new(0, 50, 0, 50)
IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
IMAGE.Image = style
local Intro = Instance.new("ScreenGui")
local Frame2 = Instance.new("Frame")
local IMAGE2 = Instance.new("ImageLabel")
Intro.Name = "Intro"
Intro.Parent = gsCoreGui
Frame2.Parent = Intro
Frame2.BackgroundTransparency = 1
Frame2.BorderSizePixel = 0
Frame2.Position = UDim2.new(0, 0, -0.2, 0)
Frame2.Size = UDim2.new(1, 0, 0, 30)
IMAGE2.Parent = Frame
IMAGE2.BackgroundTransparency = 1
IMAGE2.AnchorPoint = Vector2.new(0.5, 0)
IMAGE2.Size = UDim2.new(0, 240, 0, 120)
IMAGE2.Position = UDim2.new(0.5, 0, 0, 0)
IMAGE2.Image = "http://www.roblox.com/asset/?id=1795472522"
Frame2:TweenPosition(UDim2.new(0, 0, 0, 200), "Out", "Quad", 1.5)
Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
wait(length)
pcall(function()
Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
Frame2:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
end)
wait(3.01)
Intro:Destroy()
Notification:Destroy()
end
function Notification(style, msg, length)
if gsCoreGui:FindFirstChild("Notification") then
gsCoreGui:FindFirstChild("Notification"):Destroy()
end
local info = "http://www.roblox.com/asset/?id=1281284684"
local warning = "http://www.roblox.com/asset/?id=1281286925"
if style == "info" then
style = info
elseif style == "warning" then
style = warning
end
local Notification = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local IMAGE = Instance.new("ImageLabel")
Notification.Name = "Notification"
Notification.Parent = gsCoreGui
Frame.Parent = Notification
Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
Frame.BackgroundTransparency = 0.20000000298023
Frame.BorderSizePixel = 0
Frame.Position = UDim2.new(0, 0, -0.2, 0)
Frame.Size = UDim2.new(1, 0, 0, 30)
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel.BackgroundTransparency = 1
TextLabel.Size = UDim2.new(1, 0, 1, 0)
TextLabel.Font = Enum.Font.SourceSansLight
TextLabel.Text = msg
TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
TextLabel.TextScaled = true
TextLabel.TextSize = 14
TextLabel.TextWrapped = true
IMAGE.Parent = Frame
IMAGE.BackgroundTransparency = 1
IMAGE.Size = UDim2.new(0, 50, 0, 50)
IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
IMAGE.Image = style
Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
wait(length)
pcall(function()
Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
end)
wait(3.01)
Notification:Destroy()
end
function hasTools()
local a = false
local b = false
for i,v in pairs(LP.Character:GetDescendants()) do
if v:IsA("Tool") then
if v ~= nil then
a = true
else
a = false
end
end
end
for i,k in pairs(LP.Backpack:GetDescendants()) do
if k:IsA("Tool") then
if k ~= nil then
b = true
else
b = false
end
end
end
return a or b
end
Compliments = {" is the coolest person in this server!", ", I really like your avatar!", ", I really want to be your friend!", " is truly amazing. Truly!", " is incredible!", ", you are my favourite here!!", ", I am complimenting you right now at this very moment.", " you are really awesome", " when will you be my friend!?", " is such a great person", " is a fantastic person!"}
function complimentplr(player)
local plrName = player.Name
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(plrName..Compliments[math.random(1, #Compliments)], "All")
end
function createINFO(player)
local InfoGUIv2 = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local Frame_2 = Instance.new("Frame")
local infoguiCLOSE = Instance.new("TextButton")
local Frame_3 = Instance.new("Frame")
local playerName = Instance.new("TextLabel")
local Frame_4 = Instance.new("Frame")
local playerAvatar = Instance.new("ImageLabel")
local playerAccAge = Instance.new("TextLabel")
local playerId = Instance.new("TextLabel")
local playerOs = Instance.new("TextLabel")
local playerMembership = Instance.new("TextLabel")
local Frame_5 = Instance.new("Frame")
local Frame_6 = Instance.new("Frame")
InfoGUIv2.Name = "InfoGUIv2"
InfoGUIv2.Parent = gsCoreGui
Frame.Parent = InfoGUIv2
Frame.BackgroundColor3 = Color3.new(0, 0, 0)
Frame.BackgroundTransparency = 1
Frame.BorderColor3 = Color3.new(0, 0, 0)
Frame.ClipsDescendants = true
Frame.Position = UDim2.new(0.45, 0, 1, 0)
Frame.Size = UDim2.new(0, 265, 0, 302)
Frame.ZIndex = -1
Frame_2.Parent = Frame
Frame_2.BackgroundColor3 = Color3.new(0.290196, 0, 0.447059)
Frame_2.BorderSizePixel = 0
Frame_2.Size = UDim2.new(0, 260, 0, 20)
infoguiCLOSE.Name = "infoguiCLOSE"
infoguiCLOSE.Parent = Frame_2
infoguiCLOSE.BackgroundColor3 = Color3.new(1, 1, 1)
infoguiCLOSE.BackgroundTransparency = 1
infoguiCLOSE.BorderSizePixel = 0
infoguiCLOSE.Position = UDim2.new(0, 230, 0, 0)
infoguiCLOSE.Size = UDim2.new(0, 30, 0, 20)
infoguiCLOSE.Font = Enum.Font.SourceSansBold
infoguiCLOSE.Text = "X"
infoguiCLOSE.TextColor3 = Color3.new(0.992157, 0.992157, 0.992157)
infoguiCLOSE.TextSize = 20
Frame_3.Parent = Frame
Frame_3.BackgroundColor3 = Color3.new(0.482353, 0.121569, 0.635294)
Frame_3.BorderSizePixel = 0
Frame_3.Position = UDim2.new(0, 0, 0, 20)
Frame_3.Size = UDim2.new(0, 260, 0, 40)
playerName.Name = "playerName"
playerName.Parent = Frame_3
playerName.BackgroundColor3 = Color3.new(1, 1, 1)
playerName.BackgroundTransparency = 1
playerName.Position = UDim2.new(0, 10, 0, 5)
playerName.Size = UDim2.new(0, 240, 0, 30)
playerName.Font = Enum.Font.SourceSansLight
playerName.Text = player.Name
playerName.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235)
playerName.TextScaled = true
playerName.TextSize = 14
playerName.TextWrapped = true
Frame_4.Parent = Frame
Frame_4.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
Frame_4.BorderSizePixel = 0
Frame_4.Position = UDim2.new(0, 0, 0, 60)
Frame_4.Size = UDim2.new(0, 260, 0, 237)
playerAvatar.Name = "playerAvatar"
playerAvatar.Parent = Frame_4
playerAvatar.BackgroundColor3 = Color3.new(1, 1, 1)
playerAvatar.Position = UDim2.new(0, 85, 0, 10)
playerAvatar.Size = UDim2.new(0, 85, 0, 85)
playerAvatar.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username="..player.Name
playerAccAge.Name = "playerAccAge"
playerAccAge.Parent = Frame_4
playerAccAge.BackgroundColor3 = Color3.new(1, 1, 1)
playerAccAge.BackgroundTransparency = 1
playerAccAge.Position = UDim2.new(0, 5, 0, 101)
playerAccAge.Size = UDim2.new(0, 250, 0, 30)
playerAccAge.Font = Enum.Font.SourceSans
playerAccAge.Text = "Account Age: "..player.AccountAge
playerAccAge.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
playerAccAge.TextScaled = true
playerAccAge.TextSize = 14
playerAccAge.TextWrapped = true
playerId.Name = "playerId"
playerId.Parent = Frame_4
playerId.BackgroundColor3 = Color3.new(1, 1, 1)
playerId.BackgroundTransparency = 1
playerId.Position = UDim2.new(0, 5, 0, 131)
playerId.Size = UDim2.new(0, 250, 0, 30)
playerId.Font = Enum.Font.SourceSans
playerId.Text = "Account ID: "..player.UserId
playerId.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
playerId.TextScaled = true
playerId.TextSize = 14
playerId.TextWrapped = true
playerOs.Name = "playerOs"
playerOs.Parent = Frame_4
playerOs.BackgroundColor3 = Color3.new(1, 1, 1)
playerOs.BackgroundTransparency = 1
playerOs.Position = UDim2.new(0, 5, 0, 161)
playerOs.Size = UDim2.new(0, 250, 0, 30)
playerOs.Font = Enum.Font.SourceSansLight
playerOs.Text = "Player OS: "..player.OsPlatform
playerOs.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
playerOs.TextScaled = true
playerOs.TextSize = 14
playerOs.TextWrapped = true
playerMembership.Name = "playerMembership"
playerMembership.Parent = Frame_4
playerMembership.BackgroundColor3 = Color3.new(1, 1, 1)
playerMembership.BackgroundTransparency = 1
playerMembership.Position = UDim2.new(0, 5, 0, 191)
playerMembership.Size = UDim2.new(0, 250, 0, 30)
playerMembership.Font = Enum.Font.SourceSansLight
if player.MembershipType == Enum.MembershipType.None then
playerMembership.Text = "No builder's club."
elseif player.MembershipType == Enum.MembershipType.BuildersClub then
playerMembership.Text = "Builder's club!"
elseif player.MembershipType == Enum.MembershipType.TurboBuildersClub then
playerMembership.Text = "Turbo Builder's club!"
elseif player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
playerMembership.Text = "Outrageous Builder's club!"
end
playerMembership.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
playerMembership.TextScaled = true
playerMembership.TextSize = 14
playerMembership.TextWrapped = true
Frame_5.Parent = Frame
Frame_5.BackgroundColor3 = Color3.new(0, 0, 0)
Frame_5.BackgroundTransparency = 0.69999998807907
Frame_5.BorderColor3 = Color3.new(0, 0, 0)
Frame_5.BorderSizePixel = 0
Frame_5.ClipsDescendants = true
Frame_5.Position = UDim2.new(0, 10, 0, 10)
Frame_5.Selectable = true
Frame_5.Size = UDim2.new(0, 255, 0, 292)
Frame_5.ZIndex = -1
Frame_6.Parent = Frame
Frame_6.BackgroundColor3 = Color3.new(0, 0, 0)
Frame_6.BackgroundTransparency = 0.69999998807907
Frame_6.BorderColor3 = Color3.new(0, 0, 0)
Frame_6.BorderSizePixel = 0
Frame_6.ClipsDescendants = true
Frame_6.Position = UDim2.new(0, 8, 0, 8)
Frame_6.Selectable = true
Frame_6.Size = UDim2.new(0, 255, 0, 292)
Frame_6.ZIndex = -1
local closeGet = {}
closeGet.Size = UDim2.new(0, 0, 0, 0)
local openGet = {}
openGet.Position = UDim2.new(0.45, 0, 0.45, 0)
local closeFunction = gsTween:Create(Frame, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), closeGet)
local openFunction = gsTween:Create(Frame, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), openGet)
infoguiCLOSE.MouseButton1Click:Connect(function()
closeFunction:Play()
Frame:TweenPosition((Frame.Position + UDim2.new(0, 265 / 2, 0, 302 / 2)), "InOut", "Sine", 2)
wait(2.01)
Frame:Destroy()
end)
openFunction:Play()
local UserInputService = game:GetService("UserInputService")
local dragging
local dragInput
local dragStart
local startPos
local function update(input)
local delta = input.Position - dragStart
local dragTime = 0.055
local SmoothDrag = {}
SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
local dragSmoothFunction = gsTween:Create(Frame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
dragSmoothFunction:Play()
end
Frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = Frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
Frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging and Frame.Size == UDim2.new(0, 265, 0, 302) then
update(input)
end
end)
end
function clientSided()
Notification("info", "This command is for the client (you) only, no one else can see!", 6)
end
searchCmds={"1 print [msg] - Prints a message to the developer console","2 warn [msg] - Warns a message to the developer console","3 sit - Makes you sit","4 god - Activates FE Godmode (breaks tools)","5 view [plr] - Changes your camera subject to another player","6 unview - Changes your camera back to your player","7 gravity [num] - Changes workspace gravity to [num]","8 ungravity - Reverts workspace gravity to game's default","9 goto [plr] - Teleports you to a player","10 fecheck - Checks whether the game is FE or not","11 lockws - Locks the whole workspace","12 unlockws - Unlocks the whole workspace","13 noclip - Allows you to walk through walls and other objects","14 clip - Stops noclip, can collide","15 follow [plr] / [num] - Makes you follow a player constantly, optional [num] for how far away to follow","16 unfollow - Stops you from following","17 fling [plr] / [pow] - Uses your character to fling a player, optional [pow] for how much power to put into the fling","18 unfling - Stops you from flinging","19 trail [plr] / [num] - Makes you trail (walk infront) of a player constantly, optional [num] for how far away to trail","20 untrail - Stops you from trailing","21 annoy [plr] - Loop teleports you to the player","22 unannoy - Stops loop teleporting you","23 reset - Resets your character","24 grespawn - Respawns your character, best for use after FE godmode","25 respawn - Respawns your character, best to use if grespawn fails to work","26 speed // ws [num] - Changes your walkspeed (speed or ws) to [num]","27 jumppower // jp [num] - Changes your jumppower (jumppower or jp) to [num]","28 hipheight // hh [num] - Changes your hipheight (hipheight or hh) to [num]","29 default - Changes your walkspeed, jumppower and hipheight back to normal","30 credits - Displays admin credits (by illremember#3799)","31 attach [plr] - Attaches you to a player, tool required","32 fly / [speed] - Enables fly, optional [speed] for how fast to fly","33 unfly - Disables fly","34 kill [plr] - Kills a player, tool required","35 bring [plr] - Brings a player, tool required","36 naked - Displays avatar body colours","37 nolimbs - Deletes all your arms and legs","38 noarms - Deletes both your arms","39 nolegs - Deletes both your legs","40 antikick [on/off] - Blocks all remotes for antikick when on, disables when off","41 blockremote [remote] / [service] - Blocks a remote from firing, optional [service] for where the remote is located","42 remotespy [on/off] - Prints all remotes to developer console when on when fired, stops printing when off","43 bang [plr] / [speed] - Bangs a player, optional [speed] to set animation adjust speed","44 unbang - Stops bang player","45 spam [msg] - Spams [msg] in chat","46 spamdelay [num] - Sets how long to wait in between spamming","47 unspam - Stops spamming","48 info [plr] - Creates GUI with information about player account, shows Account age, membership and account ID","49 age [plr] - Chats account age of player","50 invisible - Enables FE invisibility, by Timeless","51 walk [plr] - Begins to make you loop walk towards player","52 glitch [plr] / [num] - Glitches a player, tool required, optional [num] for strength of glitch","53 tp [plr] [plr] - Teleports a player to another player, tool required","54 givetool [plr] / [tool] - Gives your current equipped tool to player, optional [tool] to pick a tool by name from your inventory","55 givealltools [plr] - Gives all tools currently equipped and in inventory to player","56 blockhats - Removes mesh of all accessories","57 blocktool - Removes mesh of currently equipped tool","58 orbit [plr] - Begins to make you orbit around a player","59 unorbit - Stops you orbiting a player","60 pos - Shows your current position","61 savepos - Saves your current position","62 loadpos - Loads your current position from savepos","63 tppos [num] [num] [num] - Teleports you to position [num], [num], [num]","64 pmspam [plr] [msg] - Makes you spam a player's pm with [msg]","65 unpmspam - Stops spamming a player's pm","66 wsvis [num] - Changes all parts in workspace to [num] transparency","67 bringobj [obj] / [num] - Brings an object in the workspace to you, optional [num] for how far away to bring object","68 cbring [plr] - Brings a player to you constantly on client","69 uncbring - Stops bringing a player to you on client","70 cfreeze [plr] - Freezes a player on your client","71 uncfreeze / [plr] - Unfreezes a player on your cleint","72 unattach - Unattaches you from a player","73 reach [on/off] / [num] - Activates/Deactivates reach for currently equipped tool, optional [num] for how long the reach should be","74 droptool / [tool] - Drops a tool into the workspace, optional [tool] command for which tool to drop","75 drophats - Drops all your accessories into the workspace","76 hidecmdbar - Hides the command bar","77 showcmdbar - Shows the command bar","78 prefix [key] - Changes your prefix to [key] must be 1 character","79 removeinvis - Removes all invisible parts in workspace","80 removefog - Removes fog in lighting","81 animation [id/gui] / [speed] - Makes you play an animation with [id], optional [speed] for adjusting animation speed OR [gui] to open Energize animation GUI","82 btools - Gives you btools for deleting, copying and dragging (client side)","83 esp [plr] - Enables an esp for that player, credits to Infinite Yield","84 unesp / [plr] - Disables all esp, optional [plr] for disabling esp just for that player","85 dice - Chats you rolling a dice for 1, 2, 3, 4, 5 or 6","86 random [min] [max] - Chats you picking a random number between [min] and [max]","87 closegame - Shutsdown/closes your game","88 savetool / [tool] - Saves a tool to your player equipped, optional [tool] for which tool to save in your inventory","89 loadtool / [tool] - Loads a tool from your player, optional [tool] for which tool to load by name","90 savealltool - Saves all tools in your character/inventory","91 loadalltool - Loads all tools in your player saved tools","92 clicktp / [key] - Enables click teleport, optional [key] to set a key instead of clicking","93 clickdel / [key] - Enables click delete part, optional [key] to set a key instead of clicking","94 unclicktp - Disables clicktp","95 unclickdel - Disables clickdel","96 shutdown - Attempts a server shutdown","97 chatlogs - Opens up a chat log gui with options to print chat to developer console","98 stopadmin - Disables currently running admin completely","99 freecam / [speed] - Enables freecam (like flying but not in character), optional [speed] for how fast the freecam should go","100 unfreecam // unfc - Disables freecam","101 fctp [plr] - Teleports your freecam to player","102 gotofc - Teleports you to current freecam position","103 cmds - Opens up this GUI with commands","104 fullcredits - Shows full individual credits for all help with the admin","105 hotkey [key] [cmd] - Creates a hotkey that executes [cmd] when [key] is pressed","106 removehotkey [key] - Removes a hotkey with [key]","107 removeallhotkey - Removes all current hotkeys for commands","108 printhotkeys - Prints all current existing hotkeys","109 os [plr] - Chats the current OS of a player","110 spin [plr] - Makes you spin with a player, tool required","111 unspin - Stops you spinning a player/teleporting to a player","112 explorer - Loads DEX explorer","113 maxzoom [num] - Changes your maxzoom to number","114 stare [plr] - Makes you stare at another player","115 unstare [plr] - Makes you stop staring at player","116 tempgod - Enables temporary FE godmode, does not work on all games, does not break tools","117 void [plr] - Teleports you and a player to the void, requires a tool","118 freefall [plr] - Makes you and a player freefall to the ground","119 version - Shows current admin's version","120 shiftlockon - Enables shift lock if not enabled by game developer","121 copychat [plr] - Makes you copy the chat player says, use uncopychat to stop copying chat","122 newattach [plr] - Does not FE Godmode you, requires 2 tools, attaches you to player","123 newkill [plr] - Does not FE Godmode you, requires 2 tools, kills player","124 newbring [plr] - Does not FE Godmode you, requires 2 tools, brings player","125 spawn [ws/jp/hh/god] [num] - Sets your walkspeed/jumppower/hipheight to number whenever you respawn, or makes you FE Godded whenever you respawn","126 unspawn - Stops you spawning with stats set by "..commandPrefix.."spawn","127 autosavetool [on/off] - Auto saves your tools when you reset","128 beginbot / [mode] - Makes you a bot for other players, type just "..commandPrefix.."beginbot to print available modes","129 endbot / [mode] - Ends "..commandPrefix.."beginbot, optional [mode] to disable one mode only","130 stopsit - Disables your ability to sit","131 gosit - Enables your ability to sit","132 spawnpoint - Sets your spawnpoint for whenever you reset to where you are","133 nospawn - Removes your spawnpoint","134 chaterror - Creates a chat error, works best first time","135 bypass [on/off] - Changes certain commands like "..commandPrefix.."fly so they are not detected by most anti-exploits", "136 fixcam - Fixes your camera in case it breaks", "137 gotoobj [obj] - Teleports you to a part in the workspace, make sure you put the name properly!", "138 breakcam - Makes it so your camera can go through parts, fixed with "..commandPrefix.."fixcam", "139 inviscam - Makes it so your camera goes through parts and makes them transparent so your character is always visible, fixed with "..commandPrefix.."fixcam", "140 printobj / [key] - Prints the object's path clicked to developer console, optional [key] for key pressed instead of click", "141 unprintobj - Stops printobj from running", "142 hotkeyfc [goto/unfc] - If freecam is set as a hotkey, chooses whether to use unfreecam or gotofc when disabling through a hotkey", "143 carpet [plr] - Makes you a carpet for a player", "144 uncarpet - Stops carpet", "145 brickcreate [num] / [pos] [pos] [pos] - Creates [num] amount of bricks from accessories, wont work in all games, optional [pos] for position to create bricks", "146 uncopychat - Stops copying chat", "147 forward / [speed] - Makes you automatically move forward default speed is 1", "148 unforward - Stops you moving automatically forward from forward", "149 id [plr] - Makes you chat the user ID of the player", "150 spinhats / [pow] - Makes all your accessories begin to spin around! Credit to xFunnieuss.", "151 unspinhats - Stops spinhats from spinning accessories", "152 headless - Makes you headless, but cannot control your character after, use grespawn to reset", "153 savemap - Saves the current workspace/map", "154 loadmap - Loads map saved by savemap", "155 creatorid - Changes your user ID to the game creator's user ID", "156 gameid - Shows the game's ID", "157 delobj [obj] - Allows you to delete an object in the workspace by name", "158 glide [plr] / [speed] - Makes you glide towards a player, optional [speed] for the speed of gliding", "159 stutter [on/off] - Makes your character begin stuttering as you move", "160 platform - Creates a platform on your client that you can stand on, deletes in 20 seconds", "161 servertime - Gets the server time", "162 ride [plr] - Makes you ride a player's head", "163 unride [plr] - Makes you stop riding a player's head", "164 cmute [plr] - Client mutes a player, useful for muting spammers", "165 uncmute - Unmutes a player that has been cmuted", "166 hat [plr] - Makes you carpet a player, but on their head", "167 unhat - Stops hat from running", "168 chat [msg] - Makes you chat a string, useful for hotkeys"}
CMDS={"print [msg]","warn [msg]","sit","god","view [plr]","unview","gravity [num]","ungravity","goto [plr]","fecheck","lockws","unlockws","noclip","clip","follow [plr] / [num]","unfollow","fling [plr] / [pow]","unfling","trail [plr] / [num]","untrail","annoy [plr]","unannoy","reset","grespawn","respawn","speed // ws [num]","jumppower // jp [num]","hipheight // hh [num]","default","credits","attach [plr]","fly / [speed]","unfly","kill [plr]","bring [plr]","naked","nolimbs","noarms","nolegs","antikick [on/off]","blockremote [remote] / [service]","remotespy [on/off]","bang [plr] / [speed]","unbang","spam [msg]","spamdelay [num]","unspam","info [plr]","age [plr]","invisible","walk [plr]","glitch [plr] / [num]","tp [plr] [plr]","givetool [plr] / [tool]","givealltools [plr]","blockhats","blocktool","orbit [plr]","unorbit","pos","savepos","loadpos","tppos [num] [num] [num]","pmspam [plr] [msg]","unpmspam","wsvis [num]","bringobj [obj] / [num]","cbring [plr] / [num]","uncbring","cfreeze [plr]","uncfreeze / [plr]","unattach","reach [on/off] / [num]","droptool / [tool]","drophats","hidecmdbar","showcmdbar","prefix [key]","removeinvis","removefog","animation [id/gui] / [speed]","btools","esp [plr]","unesp / [plr]","dice","random [min] [max]","closegame","savetool / [tool]","loadtool / [tool]","savealltool","loadalltool","clicktp / [key]","clickdel / [key]","unclicktp","unclickdel","oof","chatlogs","stopadmin","freecam / [speed] // fc / [speed]","unfreecam // unfc","gotofc","cmds","fullcredits","hotkey [key] [cmd]","removehotkey [key]","removeallhotkey","printhotkeys","os [plr]","spin [plr]","unspin","fctp [plr]","explorer","maxzoom [num]","stare [plr]","unstare [plr]","tempgod","void [plr]","freefall [plr]","version","shiftlockon","copychat [plr]","newattach [plr]","newkill [plr]","newbring [plr]","spawn [ws/jp/hh/god] [num]","unspawn","autosavetool [on/off]","beginbot / [mode]","endbot / [mode]","stopsit","gosit","spawnpoint","nospawn","chaterror", "bypass [on/off]", "fixcam", "gotoobj [obj]", "breakcam", "inviscam", "printobj / [key]", "unprintobj", "hotkeyfc [goto/unfc]", "carpet [plr]", "uncarpet", "brickcreate [num] / [pos] [pos] [pos]", "uncopychat", "forward / [speed]", "unforward", "id [plr]", "spinhats / [pow]", "unspinhats", "headless", "savemap", "loadmap", "creatorid", "gameid", "delobj [obj]", "glide [plr] / [speed]", "stutter [on/off]", "platform", "servertime", "ride [plr]", "unride", "cmute [plr]", "uncmute", "hat [plr]", "unhat", "chat [msg]"} -- 168
local CMDS_GUI_V2 = Instance.new("ScreenGui")
local CMDSmain = Instance.new("Frame")
local CMDSframemain = Instance.new("Frame")
local cmdgui_topframe = Instance.new("Frame")
local closecmdsgui = Instance.new("TextButton")
local cmdgui_midframe = Instance.new("Frame")
local cmdsgui_SearchFunction = Instance.new("TextBox")
local cmdsgui_searchDETAILFRAME = Instance.new("Frame")
local cmdsgui_searchDETAILTEXT = Instance.new("TextLabel")
local ListofCMDS = Instance.new("ScrollingFrame")
local cmdTutorial = Instance.new("TextLabel")
local cmdTutorial_2 = Instance.new("TextLabel")
local cmdTutorial_3 = Instance.new("TextLabel")
local CMDS_Shadow = Instance.new("Frame")
local CMDS_Shadow2 = Instance.new("Frame")
CMDS_GUI_V2.Name = "CMDS_GUI_V2"
CMDS_GUI_V2.Parent = gsCoreGui
CMDSmain.Name = "CMDSmain"
CMDSmain.Parent = CMDS_GUI_V2
CMDSmain.BackgroundColor3 = Color3.new(1, 1, 1)
CMDSmain.BackgroundTransparency = 1
CMDSmain.Position = UDim2.new(0, 695, 0, 297)
CMDSmain.Size = UDim2.new(0, 440, 0, 367)
CMDSmain.AnchorPoint = Vector2.new(0.5, 0.5)
CMDSmain.Visible = false
CMDSmain.ClipsDescendants = true
CMDSframemain.Name = "CMDSframemain"
CMDSframemain.Parent = CMDSmain
CMDSframemain.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
CMDSframemain.BorderSizePixel = 0
CMDSframemain.Size = UDim2.new(0, 440, 0, 367)
cmdgui_topframe.Name = "cmdgui_topframe"
cmdgui_topframe.Parent = CMDSframemain
cmdgui_topframe.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
cmdgui_topframe.BorderSizePixel = 0
cmdgui_topframe.Size = UDim2.new(0, 440, 0, 15)
closecmdsgui.Name = "closecmdsgui"
closecmdsgui.Parent = cmdgui_topframe
closecmdsgui.BackgroundColor3 = Color3.new(1, 1, 1)
closecmdsgui.BackgroundTransparency = 1
closecmdsgui.Position = UDim2.new(0, 410, 0, 0)
closecmdsgui.Size = UDim2.new(0, 30, 0, 15)
closecmdsgui.Font = Enum.Font.SourceSansBold
closecmdsgui.Text = "X"
closecmdsgui.TextColor3 = Color3.new(0.968628, 0.968628, 0.968628)
closecmdsgui.TextSize = 20
cmdgui_midframe.Name = "cmdgui_midframe"
cmdgui_midframe.Parent = CMDSframemain
cmdgui_midframe.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
cmdgui_midframe.BorderSizePixel = 0
cmdgui_midframe.Position = UDim2.new(0, 0, 0, 15)
cmdgui_midframe.Size = UDim2.new(0, 440, 0, 45)
cmdsgui_SearchFunction.Name = "cmdsgui_SearchFunction"
cmdsgui_SearchFunction.Parent = cmdgui_midframe
cmdsgui_SearchFunction.BackgroundColor3 = Color3.new(1, 1, 1)
cmdsgui_SearchFunction.BackgroundTransparency = 1
cmdsgui_SearchFunction.BorderSizePixel = 0
cmdsgui_SearchFunction.Position = UDim2.new(0, 120, 0, 10)
cmdsgui_SearchFunction.Size = UDim2.new(0, 200, 0, 25)
cmdsgui_SearchFunction.Font = Enum.Font.SourceSans
cmdsgui_SearchFunction.Text = ""
cmdsgui_SearchFunction.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
cmdsgui_SearchFunction.TextScaled = true
cmdsgui_SearchFunction.TextSize = 14
cmdsgui_SearchFunction.TextWrapped = true
cmdsgui_searchDETAILFRAME.Name = "cmdsgui_searchDETAILFRAME"
cmdsgui_searchDETAILFRAME.Parent = cmdsgui_SearchFunction
cmdsgui_searchDETAILFRAME.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
cmdsgui_searchDETAILFRAME.BorderSizePixel = 0
cmdsgui_searchDETAILFRAME.Position = UDim2.new(0, 0, 0, 25)
cmdsgui_searchDETAILFRAME.Size = UDim2.new(0, 200, 0, 2)
cmdsgui_searchDETAILTEXT.Name = "cmdsgui_searchDETAILTEXT"
cmdsgui_searchDETAILTEXT.Parent = cmdsgui_SearchFunction
cmdsgui_searchDETAILTEXT.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
cmdsgui_searchDETAILTEXT.BackgroundTransparency = 1
cmdsgui_searchDETAILTEXT.Size = UDim2.new(0, 200, 0, 25)
cmdsgui_searchDETAILTEXT.Font = Enum.Font.SourceSansLight
cmdsgui_searchDETAILTEXT.Text = "Search"
cmdsgui_searchDETAILTEXT.TextColor3 = Color3.fromRGB(240, 240, 240)
cmdsgui_searchDETAILTEXT.TextSize = 30
ListofCMDS.Name = "ListofCMDS"
ListofCMDS.Parent = CMDSframemain
ListofCMDS.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
ListofCMDS.BorderSizePixel = 0
ListofCMDS.Position = UDim2.new(0, 0, 0, 60)
ListofCMDS.Size = UDim2.new(0, 440, 0, 307)
ListofCMDS.CanvasSize = UDim2.new(5, 0, 8, 0)
ListofCMDS.ScrollingDirection = Enum.ScrollingDirection.XY
cmdTutorial.Name = "cmdTutorial"
cmdTutorial.Parent = ListofCMDS
cmdTutorial.BackgroundColor3 = Color3.new(1, 1, 1)
cmdTutorial.BackgroundTransparency = 1
cmdTutorial.BorderSizePixel = 0
cmdTutorial.Position = UDim2.new(0, 5, 0, 5)
cmdTutorial.Size = UDim2.new(0, 420, 0, 20)
cmdTutorial.Font = Enum.Font.SourceSansBold
cmdTutorial.Text = "\"/\" means OPTIONAL argument after"
cmdTutorial.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
cmdTutorial.TextScaled = true
cmdTutorial.TextSize = 14
cmdTutorial.TextWrapped = true
cmdTutorial.TextXAlignment = Enum.TextXAlignment.Left
cmdTutorial_2.Name = "cmdTutorial"
cmdTutorial_2.Parent = ListofCMDS
cmdTutorial_2.BackgroundColor3 = Color3.new(1, 1, 1)
cmdTutorial_2.BackgroundTransparency = 1
cmdTutorial_2.BorderSizePixel = 0
cmdTutorial_2.Position = UDim2.new(0, 5, 0, 25)
cmdTutorial_2.Size = UDim2.new(0, 420, 0, 20)
cmdTutorial_2.Font = Enum.Font.SourceSansBold
cmdTutorial_2.Text = "\"//\" means another way of running command"
cmdTutorial_2.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
cmdTutorial_2.TextScaled = true
cmdTutorial_2.TextSize = 14
cmdTutorial_2.TextWrapped = true
cmdTutorial_2.TextXAlignment = Enum.TextXAlignment.Left
cmdTutorial_3.Name = "cmdTutorial"
cmdTutorial_3.Parent = ListofCMDS
cmdTutorial_3.BackgroundColor3 = Color3.new(1, 1, 1)
cmdTutorial_3.BackgroundTransparency = 1
cmdTutorial_3.BorderSizePixel = 0
cmdTutorial_3.Position = UDim2.new(0, 5, 0, 45)
cmdTutorial_3.Size = UDim2.new(0, 420, 0, 20)
cmdTutorial_3.Font = Enum.Font.SourceSansBold
cmdTutorial_3.Text = "Anything inside \"[ ]\" is an argument for the command"
cmdTutorial_3.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
cmdTutorial_3.TextScaled = true
cmdTutorial_3.TextSize = 14
cmdTutorial_3.TextWrapped = true
cmdTutorial_3.TextXAlignment = Enum.TextXAlignment.Left
CMDS_Shadow.Name = "CMDS_Shadow"
CMDS_Shadow.Parent = CMDSmain
CMDS_Shadow.BackgroundColor3 = Color3.new(0, 0, 0)
CMDS_Shadow.BackgroundTransparency = 0.60000002384186
CMDS_Shadow.BorderSizePixel = 0
CMDS_Shadow.Position = UDim2.new(0, 2, 0, 2)
CMDS_Shadow.Size = UDim2.new(0, 440, 0, 367)
CMDS_Shadow.ZIndex = -1
CMDS_Shadow2.Name = "CMDS_Shadow2"
CMDS_Shadow2.Parent = CMDSmain
CMDS_Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
CMDS_Shadow2.BackgroundTransparency = 0.80000001192093
CMDS_Shadow2.BorderSizePixel = 0
CMDS_Shadow2.Position = UDim2.new(0, 5, 0, 5)
CMDS_Shadow2.Size = UDim2.new(0, 440, 0, 367)
CMDS_Shadow2.ZIndex = -1
closecmdsgui.MouseButton1Click:Connect(function()
CMDSmain:TweenSize(UDim2.new(0, 0, 0, 0), "InOut", "Sine", 2)
end)
function CreateCMDlabel(position, text)
local sizenow = 15
local cmdHere = Instance.new("TextLabel")
cmdHere.Name = "cmdHere"
cmdHere.TextWrapped = true
cmdHere.Parent = ListofCMDS
cmdHere.BackgroundColor3 = Color3.new(1, 1, 1)
cmdHere.BackgroundTransparency = 1
cmdHere.BorderSizePixel = 0
cmdHere.Position = position
cmdHere.Size = UDim2.new(0, 1950, 0, sizenow)
cmdHere.Font = Enum.Font.SourceSans
cmdHere.Text = text
cmdHere.TextWrapped = true
cmdHere.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
cmdHere.TextScaled = false
cmdHere.TextSize = 20
cmdHere.TextXAlignment = Enum.TextXAlignment.Left
end
for i,_cmds in pairs(searchCmds) do
CreateCMDlabel(UDim2.new(0, 5, 0, 50 + (i * 15)), _cmds)
end
local UserInputService = game:GetService("UserInputService")
local dragging
local dragInput
local dragStart
local startPos
local function updateCMDS(input)
local delta = input.Position - dragStart
local dragTime = 0.055
local SmoothDrag = {}
SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
local dragSmoothFunction = gsTween:Create(CMDSmain, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
dragSmoothFunction:Play()
end
cmdgui_topframe.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = CMDSmain.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
cmdgui_topframe.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
cmdgui_midframe.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = CMDSmain.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
cmdgui_midframe.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
updateCMDS(input)
end
end)
cmdsgui_SearchFunction.Focused:Connect(function()
cmdsgui_SearchFunction.TextTransparency = 0
local searchTween = {}
searchTween.TextColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
searchTween.TextSize = 18
searchTween.Position = UDim2.new(0, -70, 0, -15)
local frameTweenblue = {}
frameTweenblue.BackgroundColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
searchTween1:Play()
local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
frameTweenblue1:Play()
end)
cmdsgui_SearchFunction.FocusLost:Connect(function(enterPressed)
if not enterPressed then
cmdsgui_SearchFunction.TextTransparency = 1
else
cmdsgui_SearchFunction.Text = " "
end
local searchTween = {}
searchTween.TextColor3 = Color3.fromRGB(240, 240, 240)
searchTween.TextSize = 30
searchTween.Position = UDim2.new(0, 0, 0, 0)
local frameTweenblue = {}
frameTweenblue.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
searchTween1:Play()
local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
frameTweenblue1:Play()
end)
cmdsgui_SearchFunction.Changed:Connect(function()
local index = 0
if cmdsgui_SearchFunction.Text ~= "" then
for i,v in pairs(ListofCMDS:GetChildren()) do
if v.Name == "cmdHere" then
if not string.find(v.Text, cmdsgui_SearchFunction.Text) then
v.Visible = false
else
v.Visible = true
index = index + 1
v.Position = UDim2.new(0, 5, 0, 50 + (index * 15))
end
end
end
end
end)
-- Command Execution
LP.Chatted:Connect(function(chat)
run(chat)
end)
function run(msg)
if string.lower(string.sub(msg, 2, 5)) == "chat" then
msg = msg
elseif string.match(msg, "hotkey") and string.match(msg, "chat") then
msg = msg
else
msg = string.lower(msg)
end
local cmdPrefix = string.sub(msg, 1, 1)
if cmdPrefix == commandPrefix then
msg = string.sub(msg, 2)
local args = {}
for arg in string.gmatch(msg,"[^%s]+") do
table.insert(args,arg)
end
local cmdName = args[1]
table.remove(args,1)
local doCmd = Commands[cmdName]
if doCmd ~= nil then
doCmd(args)
end
end
end
-- Command bar
local CommandBar = Instance.new("ScreenGui")
local CMDBAR = Instance.new("Frame")
local CMDBARText = Instance.new("TextBox")
CommandBar.Name = "CommandBar"
CommandBar.Parent = gsCoreGui
CMDBAR.Name = "CMDBAR"
CMDBAR.Parent = CommandBar
CMDBAR.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
CMDBAR.BorderSizePixel = 0
CMDBAR.Position = UDim2.new(0.025, 0, 1, 0)
CMDBAR.Size = UDim2.new(0, 270, 0, 35)
CMDBARText.Name = "CMDBARText"
CMDBARText.Parent = CMDBAR
CMDBARText.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
CMDBARText.BorderSizePixel = 0
CMDBARText.Position = UDim2.new(0, 5, 0, 5)
CMDBARText.Size = UDim2.new(0, 260, 0, 25)
CMDBARText.Font = Enum.Font.SourceSansLight
CMDBARText.Text = ""
CMDBARText.TextColor3 = Color3.new(0.933333, 0.933333, 0.933333)
CMDBARText.TextScaled = true
CMDBARText.TextSize = 14
CMDBARText.TextWrapped = true
Mouse.KeyDown:connect(function(Key)
if Key == string.lower(commandPrefix) then
CMDBARText:CaptureFocus()
CMDBAR:TweenPosition(UDim2.new(0.015, 0, 0.95, 0), "Out", "Elastic", 0.5, true)
end
end)
CMDBARText.FocusLost:connect(function(enterPressed)
CMDBAR:TweenPosition(UDim2.new(0.015, 0, 1, 0), "Out", "Quad", 0.5, true)
if enterPressed then
local cmdmsg = CMDBARText.Text
CMDBARText.Text = ""
run(commandPrefix..cmdmsg)
end
end)
local Match = Instance.new("Frame")
Match.Name = "Match"
Match.Parent = CMDBAR
Match.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
Match.BorderSizePixel = 0
Match.Position = UDim2.new(0, 0, -4, 0)
Match.Size = UDim2.new(1, 0, 4, 0)
Match.Visible = false
function CreateOption(Text)
local Option1 = Instance.new("TextLabel")
Option1.Name = "Option"
Option1.Parent = Match
Option1.BackgroundColor3 = Color3.new(1, 1, 1)
Option1.BackgroundTransparency = 1
Option1.Position = UDim2.new(-10, 0, 0, 0)
Option1.Size = UDim2.new(1, 0, 0, 20)
Option1.Font = Enum.Font.SourceSans
Option1.Text = Text
Option1.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941)
Option1.TextScaled = true
Option1.TextWrapped = true
end
for i,cmdtext2 in pairs(CMDS) do
CreateOption(cmdtext2)
end
CMDBARText.Changed:Connect(function()
if CMDBARText.Text ~= "" and CMDBARText.Text ~= commandPrefix then
Match.Visible = true
local PositionMatch = 0
for i,cmdtext in pairs(Match:GetChildren()) do
if cmdtext.Name == "Option" then
if string.find(cmdtext.Text, CMDBARText.Text) then
cmdtext.Position = UDim2.new(0, 0, 0, 2 + (PositionMatch * 20))
PositionMatch = PositionMatch + 1
if cmdtext.Position == UDim2.new(0, 0, 0, 142) then
cmdtext.Position = UDim2.new(-10, 0, 0, 0)
PositionMatch = PositionMatch - 1
end
else
cmdtext.Position = UDim2.new(-10, 0, 0, 0)
end
end
end
else
Match.Visible = false
end
end)
-- Chat
local ChatLogsv2 = Instance.new("ScreenGui")
local MainChatFrame = Instance.new("Frame")
local Framess = Instance.new("Frame")
local CloseChatGUI = Instance.new("TextButton")
local Frame_222 = Instance.new("Frame")
local PrintChat = Instance.new("TextButton")
local Shadow1 = Instance.new("Frame")
local Shadow2 = Instance.new("Frame")
local ScrollingFrame = Instance.new("ScrollingFrame")
ChatLogsv2.Name = "ChatLogsv2"
ChatLogsv2.Parent = gsCoreGui
MainChatFrame.Name = "MainChatFrame"
MainChatFrame.Parent = ChatLogsv2
MainChatFrame.BackgroundColor3 = Color3.new(1, 1, 1)
MainChatFrame.BackgroundTransparency = 1
MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
MainChatFrame.Size = UDim2.new(0, 525, 0, 337)
MainChatFrame.Visible = false
Framess.Parent = MainChatFrame
Framess.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
Framess.BorderSizePixel = 0
Framess.Size = UDim2.new(0, 525, 0, 15)
CloseChatGUI.Name = "CloseChatGUI"
CloseChatGUI.Parent = Framess
CloseChatGUI.BackgroundColor3 = Color3.new(1, 1, 1)
CloseChatGUI.BackgroundTransparency = 1
CloseChatGUI.BorderSizePixel = 0
CloseChatGUI.Position = UDim2.new(0, 495, 0, 0)
CloseChatGUI.Size = UDim2.new(0, 30, 0, 15)
CloseChatGUI.Font = Enum.Font.SourceSansBold
CloseChatGUI.Text = "X"
CloseChatGUI.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
CloseChatGUI.TextSize = 20
Frame_222.Parent = MainChatFrame
Frame_222.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
Frame_222.BorderSizePixel = 0
Frame_222.Position = UDim2.new(0, 0, 0, 15)
Frame_222.Size = UDim2.new(0, 525, 0, 50)
PrintChat.Name = "PrintChat"
PrintChat.Parent = Frame_222
PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
PrintChat.BorderSizePixel = 0
PrintChat.Position = UDim2.new(0, 15, 0, 0)
PrintChat.Size = UDim2.new(0, 170, 0, 30)
PrintChat.Font = Enum.Font.SourceSansLight
PrintChat.Text = "Print Chat"
PrintChat.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
PrintChat.TextSize = 30
PrintChat.TextWrapped = true
Shadow1.Name = "Shadow1"
Shadow1.Parent = MainChatFrame
Shadow1.BackgroundColor3 = Color3.new(0, 0, 0)
Shadow1.BackgroundTransparency = 0.5
Shadow1.Position = UDim2.new(0, 2, 0, 2)
Shadow1.Size = UDim2.new(0, 525, 0, 337)
Shadow1.ZIndex = -1
Shadow2.Name = "Shadow2"
Shadow2.Parent = MainChatFrame
Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
Shadow2.BackgroundTransparency = 0.80000001192093
Shadow2.Position = UDim2.new(0, 5, 0, 5)
Shadow2.Size = UDim2.new(0, 525, 0, 337)
Shadow2.ZIndex = -1
ScrollingFrame.Parent = MainChatFrame
ScrollingFrame.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
ScrollingFrame.BorderSizePixel = 0
ScrollingFrame.Position = UDim2.new(0, 0, 0, 65)
ScrollingFrame.Size = UDim2.new(0, 525, 0, 271)
ScrollingFrame.CanvasPosition = Vector2.new(0, 403)
ScrollingFrame.ScrollBarThickness = 8
function CreateChatText(plr, chat)
for i,v in pairs(ScrollingFrame:GetDescendants()) do
v.Position = v.Position - UDim2.new(0, 0, 0, 20)
if v.Position == UDim2.new(0, 5, 0, 10) then
v:Destroy()
end
end
local Example = Instance.new("TextLabel")
Example.Name = "Example"
Example.Parent = ScrollingFrame
Example.BackgroundColor3 = Color3.new(1, 1, 1)
Example.BackgroundTransparency = 1
Example.Position = UDim2.new(0, 5, 0, 650)
Example.Size = UDim2.new(0, 500, 0, 20)
Example.Font = Enum.Font.SourceSans
Example.Text = "["..plr.Name.."]: "..chat
Example.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
Example.TextScaled = true
Example.TextSize = 20
Example.TextWrapped = true
Example.TextXAlignment = Enum.TextXAlignment.Left
end
CloseChatGUI.MouseButton1Click:Connect(function()
MainChatFrame:TweenPosition(UDim2.new(0, 550, 0, -550), "InOut", "Sine", 2)
wait(2.01)
MainChatFrame.Visible = false
end)
printingChat = false
PrintChat.MouseButton1Click:Connect(function()
if printingChat == false then
printingChat = true
PrintChat.BackgroundColor3 = Color3.fromRGB(60, 200, 60)
elseif printingChat == true then
printingChat = false
PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
end
end)
local UserInputService = game:GetService("UserInputService")
local dragging
local dragInput
local dragStart
local startPos
local function updateChat(input)
local delta = input.Position - dragStart
local dragTime = 0.055
local SmoothDrag = {}
SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
local dragSmoothFunction = gsTween:Create(MainChatFrame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
dragSmoothFunction:Play()
end
Frame_222.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = MainChatFrame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
Frame_222.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
updateChat(input)