forked from retpirato/Roblox-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
! [FE] Reviz Admin Cmd [BEST].txt(2).lua
3201 lines (3164 loc) · 118 KB
/
! [FE] Reviz Admin Cmd [BEST].txt(2).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
-- Creator: illremember#3799
-- Credits to infinite yield, harkinian, dex creators
prefix = ";"
wait(0.3)
Commands = {
'[-] cmdbar is shown when ; is pressed.',
'[1] kill [plr] -- You need a tool! Will kill the player, use rkill to kill you and player',
'[2] bring [plr] -- You need a tool! Will bring player to you',
'[3] spin [plr] -- You need a tool! Makes you and the player spin crazy',
'[4] unspin -- Use after using spin cmd and dying, so you stop loop teleporting',
'[5] attach [plr] -- You need a tool! Attaches you to player',
'[6] unattach [plr] -- Attempts to unattach you from a player',
'[7] follow [plr] -- Makes you follow behind the player',
'[8] unfollow',
'[9] freefall [plr] -- You need a tool! Teleports you and the player up into the air',
'[10] trail [plr] -- The opposite of follow, you stay infront of player',
'[11] untrail',
'[12] orbit [plr] -- Makes you orbit the player',
'[13] unorbit',
'[14] fling [plr] -- Makes you fling the player',
'[15] unfling',
'[16] fecheck -- Checks if the game is FE or not',
'[17] void [plr] -- Teleports player to the void',
'[18] noclip -- Gives you noclip to walk through walls',
'[19] clip -- Removes noclip',
'[20] speed [num]/ws [num] -- Changes how fast you walk 16 is default',
'[21] jumppower [num]/jp [num] -- Changes how high you jump 50 is default',
'[22] hipheight [num]/hh [num] -- Changes how high you float 0 is default',
'[23] default -- Changes your speed, jumppower and hipheight to default values',
'[24] annoy [plr] -- Loop teleports you to the player',
'[25] unannoy',
'[26] headwalk [plr] -- Loop teleports you to the player head',
'[27] unheadwalk',
'[28] nolimbs -- Removes your arms and legs',
'[29] god -- Gives you FE Godmode',
'[30] drophats -- Drops your accessories',
'[31] droptool -- Drops any tool you have equipped',
'[32] loopdhats -- Loop drops your accessories',
'[33] unloopdhats',
'[34] loopdtool -- Loop drops any tools you have equipped',
'[35] unloopdtool',
'[36] invisible -- Gives you invisibility CREDIT TO TIMELESS',
'[37] view [plr] -- Changes your camera to the player character',
'[38] unview',
'[39] goto [plr] -- Teleports you to player',
'[40] fly -- Allows you to fly, credit to Infinite Yield',
'[41] unfly',
'[42] chat [msg] -- Makes you chat a message',
'[43] spam [msg] -- Spams a message',
'[44] unspam',
'[45] spamwait [num] -- Changes delay of chatting a message for the spam command in seconds default is 1 second',
'[46] pmspam [plr] -- Spams a player in private message',
'[47] unpmspam',
'[48] cfreeze [plr] -- Freezes a player on your client, they will only be frozen for you',
'[49] uncfreeze [plr]',
'[50] unlockws -- Unlocks the workspace',
'[51] lockws -- Locks the workspace',
'[52] btools -- Gives you btools that will only show to you useful for deleting certain blocks only for you',
'[53] pstand -- Enables platform stand',
'[54] unpstand -- Disables platform stand',
'[55] blockhead -- Removes your head mesh',
'[56] sit',
'[57] bringobj [obj] -- Only shows on client, brings an object/part to you constantly, can be used to bring healing parts, weapons, money etc, type in exact name',
'[58] wsvis [num] -- Changes visibility of workspace parts, num should be between 0 and 1, only shows client sided',
'[59] hypertotal -- Loads in my FE GUI Hypertotal',
'[60] cmds -- Prints all commands',
'[61] rmeshhats/blockhats -- Removes the meshes of all your accessories aka block hats',
'[62] rmeshtool/blocktool -- Removes the mesh of the tool you have equipped aka block tool',
'[63] spinner -- Makes you spin',
'[64] nospinner',
'[65] reach [num] -- Gives you reach, mostly used for swords, say ;reachd for default and enter number after for custom',
'[66] noreach -- Removes reach, must have tool equipped',
'[67] rkill [plr] -- Kills you and the player, use kill to just kill the player without dying',
'[68] tp me [plr] -- Alternative to goto',
'[69] cbring [plr] -- Brings player infront of you, shows only on client, allows you to do damage to player',
'[70] uncbring',
'[71] swap [plr] -- You need a tool! Swaps players position with yours and your position with players',
'[72] givetool [plr] -- Gives the tool you have equipped to the player',
'[73] glitch [plr] -- Glitches you and the player, looks very cool',
'[74] unglitch -- Unglitches you',
'[75] grespawn -- Alternative to normal respawn and usually works best for when you want to reset with FE Godmode',
'[76] explorer -- Loads up DEX',
'[77] reset -- Resets your character.',
'[78] anim [id] -- Applies an animation on you, must be created by ROBLOX',
'[79] animgui -- Loads up Energize animations GUI',
'[80] savepos -- Saves your current position',
'[81] loadpos -- Teleports you to your saved position',
'[82] bang [plr] -- 18+ will not work if you have FE Godmode on',
'[83] unbang',
'[84] delcmdbar -- Removes the command bar completely',
'[85] bringmod [obj] -- Brings all the parts in a model, client only, comes from ;bringobj enter exact name of model',
'[86] shutdown -- Uses harkinians script to shutdown server',
'[87] respawn -- If grespawn doesnt work you can use respawn',
'[88] delobj [obj] -- Deletes a certain brick in workspace, client sided',
'[89] getplrs -- Prints all players in game',
'[90] deldecal -- Deletes all decals client sided',
'[91] opfinality -- Loads in my FE GUI Opfinality',
'[92] remotes -- Prints all remotes in the game in the console when added',
'[93] noremotes -- Stops printing remotes',
'[94] tpdefault -- Stops all loop teleports to a player',
'[95] stopsit -- Will not allow you to sit',
'[96] gosit -- Allows you to sit',
'[97] clicktp -- Enables click tp',
'[98] noclicktp -- Disables click tp',
'[99] toolson -- If any tools are dropped in the workspace you will automatically get them',
'[100] toolsoff -- Stops ;toolson',
'[101] version -- Gets the admin version',
'[102] state [num] -- Changes your humanoid state, ;unstate to stop.',
'[103] gravity [num] -- Changes workspace gravity default is 196.2',
'[104] pgs -- Checks if the game has PGSPhysicsSolverEnabled enabled',
'[105] clickdel -- Delete any block you press q on, client sided',
'[106] noclickdel -- Stops clickdel',
'[107] looprhats -- Loop removes mesh of your hats/loop block hats',
'[108] unlooprhats -- Stops loop removing mesh',
'[109] looprtool -- Loop removes mesh of your tool/loop block tools',
'[110] unlooprtool -- Stops loop removing mesh',
'[111] givealltools [plr] -- Gives all the tools you have in your backpack to the player',
'[112] age [plr] -- Makes you chat the account age of the player',
'[113] id [plr] -- Makes you chat the account ID of the player',
'[114] .age [plr] -- Privately shows you the account age of the player',
'[115] .id [plr] -- Privately shows you the account ID of the player',
'[116] gameid -- Shows the game ID',
'[117] removeinvis -- Removes all invisible walls/parts, client sided',
'[118] removefog -- Removes fog, client sided',
'[119] disable -- Disables your character by removing humanoid',
'[120] enable -- Enables your character by adding humanoid',
'[121] prefix [key] -- Changes the prefix used, default is ;',
'[122] ;resetprefix -- Resets the prefix to ; incase you change it to an unusable prefix. Say exactly ";resetprefix" to do this command, no matter what your prefix is set to.',
'[123] flyspeed [num] -- Change your fly speed, default is 1',
'[124] carpet [plr] -- Makes you a carpet for a player, will not work if FE Godmode is on',
'[125] uncarpet -- Stops carpet player',
'[126] stare [plr] -- Turns your character to stare at another player',
'[127] unstare -- Stops stare player',
'[128] logchat -- Logs all chat (including /e and whispers) of all players',
'[129] unlogchat -- Disables logchat',
'[130] fixcam -- Fixes/resets your camera',
'[131] unstate -- Stops changing state',
}
speedget = 1
lplayer = game:GetService("Players").LocalPlayer
lplayer.CharacterAdded:Connect(function(character)
spin = false
flying = false
staring = false
banpl = false
end)
function change()
prefix = prefix
speedfly = speedfly
end
function GetPlayer(String) -- Credit to Timeless/xFunnieuss
local Found = {}
local strl = String:lower()
if strl == "all" then
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
table.insert(Found,v)
end
elseif strl == "others" then
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
if v.Name ~= lplayer.Name then
table.insert(Found,v)
end
end
elseif strl == "me" then
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
if v.Name == lplayer.Name then
table.insert(Found,v)
end
end
else
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
if v.Name:lower():sub(1, #String) == String:lower() then
table.insert(Found,v)
end
end
end
return Found
end
local Mouse = lplayer:GetMouse()
spin = false
followed = false
traill = false
noclip = false
annoying = false
hwalk = false
droppinghats = false
droppingtools = false
flying = false
spamdelay = 1
spamming = false
spammingpm = false
cbringing = false
remotes = true
added = true
binds = false
stopsitting = false
clickgoto = false
gettingtools = false
removingmeshhats = false
removingmeshtool = false
clickdel = false
staring = false
chatlogs = false
banpl = false
changingstate = false
statechosen = 0
adminversion = "Reviz Admin by illremember, Version 2.0"
flying = false
speedfly = 1
function plrchat(plr, chat)
print(plr.Name..": "..tick().."\n"..chat)
end
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
v.Chatted:connect(function(chat)
if chatlogs then
plrchat(v, chat)
end
end)
end
game:GetService("Players").PlayerAdded:connect(function(plr)
plr.Chatted:connect(function(chat)
if chatlogs then
plrchat(plr, chat)
end
end)
end)
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local CMDBAR = Instance.new("TextBox")
ScreenGui.Parent = game:GetService("CoreGui")
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.new(0.3, 0.1, 0.1)
Frame.BackgroundTransparency = 0.3
Frame.Position = UDim2.new(0.5, 0, 0, 10)
Frame.Size = UDim2.new(0, 200, 0, 40)
Frame.Active = true
Frame.Draggable = true
CMDBAR.Name = "CMDBAR"
CMDBAR.Parent = Frame
CMDBAR.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
CMDBAR.BackgroundTransparency = 0.20000000298023
CMDBAR.Size = UDim2.new(0, 180, 0, 20)
CMDBAR.Position = UDim2.new(0.05, 0, 0.25, 0)
CMDBAR.Font = Enum.Font.SourceSansLight
CMDBAR.FontSize = Enum.FontSize.Size14
CMDBAR.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
CMDBAR.TextScaled = true
CMDBAR.TextSize = 14
CMDBAR.TextWrapped = true
CMDBAR.Text = "Press ; to type, Enter to execute"
local CMDS = Instance.new("ScreenGui")
local CMDSFRAME = Instance.new("Frame")
local ScrollingFrame = Instance.new("ScrollingFrame")
local TextLabel = Instance.new("TextLabel")
local closegui = Instance.new("TextButton")
CMDS.Name = "CMDS"
CMDS.Parent = game:GetService("CoreGui")
CMDSFRAME.Name = "CMDSFRAME"
CMDSFRAME.Parent = CMDS
CMDSFRAME.Active = true
CMDSFRAME.BackgroundColor3 = Color3.new(0.223529, 0.231373, 0.309804)
CMDSFRAME.BorderSizePixel = 0
CMDSFRAME.Draggable = true
CMDSFRAME.Position = UDim2.new(0, 315, 0, 100)
CMDSFRAME.Size = UDim2.new(0, 275, 0, 275)
CMDSFRAME.Visible = false
ScrollingFrame.Parent = CMDSFRAME
ScrollingFrame.BackgroundColor3 = Color3.new(0.160784, 0.160784, 0.203922)
ScrollingFrame.BorderSizePixel = 0
ScrollingFrame.Position = UDim2.new(0, 0, 0.0729999989, 0)
ScrollingFrame.Size = UDim2.new(1.04999995, 0, 0.92900002, 0)
ScrollingFrame.CanvasSize = UDim2.new(0, 0, 10, 0)
TextLabel.Parent = ScrollingFrame
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel.BackgroundTransparency = 1
TextLabel.Size = UDim2.new(0.930000007, 0, 1, 0)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.FontSize = Enum.FontSize.Size18
TextLabel.Text = "[-] cmdbar is shown when ; is pressed.,\n[1] kill [plr] -- You need a tool! Will kill the player, use rkill to kill you and player,\n[2] bring [plr] -- You need a tool! Will bring player to you,\n[3] spin [plr] -- You need a tool! Makes you and the player spin crazy,\n[4] unspin -- Use after using spin cmd and dying, so you stop loop teleporting,\n[5] attach [plr] -- You need a tool! Attaches you to player,\n[6] unattach [plr] -- Attempts to unattach you from a player,\n[7] follow [plr] -- Makes you follow behind the player,\n[8] unfollow,\n[9] freefall [plr] -- You need a tool! Teleports you and the player up into the air,\n[10] trail [plr] -- The opposite of follow, you stay infront of player,\n[11] untrail,\n[12] orbit [plr] -- Makes you orbit the player,\n[13] unorbit,\n[14] fling [plr] -- Makes you fling the player,\n[15] unfling,\n[16] fecheck -- Checks if the game is FE or not,\n[17] void [plr] -- Teleports player to the void,\n[18] noclip -- Gives you noclip to walk through walls,\n[19] clip -- Removes noclip,\n[20] speed [num]/ws [num] -- Changes how fast you walk 16 is default,\n[21] jumppower [num]/jp [num] -- Changes how high you jump 50 is default,\n[22] hipheight [num]/hh [num] -- Changes how high you float 0 is default,\n[23] default -- Changes your speed, jumppower and hipheight to default values,\n[24] annoy [plr] -- Loop teleports you to the player,\n[25] unannoy,\n[26] headwalk [plr] -- Loop teleports you to the player head,\n[27] unheadwalk,\n[28] nolimbs -- Removes your arms and legs,\n[29] god -- Gives you FE Godmode,\n[30] drophats -- Drops your accessories,\n[31] droptool -- Drops any tool you have equipped,\n[32] loopdhats -- Loop drops your accessories,\n[33] unloopdhats,\n[34] loopdtool -- Loop drops any tools you have equipped,\n[35] unloopdtool,\n[36] invisible -- Gives you invisibility CREDIT TO TIMELESS,\n[37] view [plr] -- Changes your camera to the player character,\n[38] unview,\n[39] goto [plr] -- Teleports you to player,\n[40] fly -- Allows you to fly,\n[41] unfly,\n[42] chat [msg] -- Makes you chat a message,\n[43] spam [msg] -- Spams a message,\n[44] unspam,\n[45] spamwait [num] -- Changes delay of chatting a message for the spam command in seconds default is 1 second,\n[46] pmspam [plr] -- Spams a player in private message,\n[47] unpmspam,\n[48] cfreeze [plr] -- Freezes a player on your client, they will only be frozen for you,\n[49] uncfreeze [plr],\n[50] unlockws -- Unlocks the workspace,\n[51] lockws -- Locks the workspace,\n[52] btools -- Gives you btools that will only show to you useful for deleting certain blocks only for you,\n[53] pstand -- Enables platform stand,\n[54] unpstand -- Disables platform stand,\n[55] blockhead -- Removes your head mesh,\n[56] sit,\n[57] bringobj [obj] -- Only shows on client, brings an object/part to you constantly, can be used to bring healing parts, weapons, money etc, type in exact name,\n[58] wsvis [num] -- Changes visibility of workspace parts, num should be between 0 and 1, only shows client sided,\n[59] hypertotal -- Loads in my FE GUI Hypertotal,\n[60] cmds -- Prints all commands,\n[61] rmeshhats/blockhats -- Removes the meshes of all your accessories aka block hats,\n[62] rmeshtool/blocktool -- Removes the mesh of the tool you have equipped aka block tool,\n[63] spinner -- Makes you spin,\n[64] nospinner,\n[65] reach [num] -- Gives you reach, mostly used for swords, say ;reachd for default and enter number after for custom,\n[66] noreach -- Removes reach, must have tool equipped,\n[67] rkill [plr] -- Kills you and the player, use kill to just kill the player without dying,\n[68] tp me [plr] -- Alternative to goto,\n[69] cbring [plr] -- Brings player infront of you, shows only on client, allows you to do damage to player,\n[70] uncbring,\n[71] swap [plr] -- You need a tool! Swaps players position with yours and your position with players,\n[72] givetool [plr] -- Gives the tool you have equipped to the player,\n[73] glitch [plr] -- Glitches you and the player, looks very cool,\n[74] unglitch -- Unglitches you,\n[75] grespawn -- Alternative to normal respawn and usually works best for when you want to reset with FE Godmode,\n[76] explorer -- Loads up DEX,\n[77] reset -- Resets your character.,\n[78] anim [id] -- Applies an animation on you, must be created by ROBLOX,\n[79] animgui -- Loads up Energize animations GUI,\n[80] savepos -- Saves your current position,\n[81] loadpos -- Teleports you to your saved position,\n[82] bang [plr] -- 18+,\n[83] unbang,\n[84] delcmdbar -- Removes the command bar completely,\n[85] bringmod [obj] -- Brings all the parts in a model, client only, comes from ;bringobj enter exact name of model,\n[86] shutdown -- Uses harkinians script to shutdown server,\n[87] respawn -- If grespawn doesnt work you can use respawn,\n[88] delobj [obj] -- Deletes a certain brick in workspace, client sided,\n[89] getplrs -- Prints all players in game,\n[90] deldecal -- Deletes all decals client sided,\n[91] opfinality -- Loads in my FE GUI Opfinality,\n[92] remotes -- Prints all remotes in the game in the console when added,\n[93] noremotes -- Stops printing remotes,\n[94] tpdefault -- Stops all loop teleports to a player,\n[95] stopsit -- Will not allow you to sit,\n[96] gosit -- Allows you to sit,\n[97] clicktp -- Enables click tp,\n[98] noclicktp -- Disables click tp,\n[99] toolson -- If any tools are dropped in the workspace you will automatically get them,\n[100] toolsoff -- Stops ;toolson,\n[101] version -- Gets the admin version, \n This list of commands is NOT showing everything, go to my thread in the pastebin link to see ALL commands."
TextLabel.TextColor3 = Color3.new(1, 1, 1)
TextLabel.TextSize = 15
TextLabel.TextWrapped = true
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel.TextYAlignment = Enum.TextYAlignment.Top
closegui.Name = "closegui"
closegui.Parent = CMDSFRAME
closegui.BackgroundColor3 = Color3.new(0.890196, 0.223529, 0.0588235)
closegui.BorderSizePixel = 0
closegui.Position = UDim2.new(0.995000005, 0, 0, 0)
closegui.Size = UDim2.new(0.0545952693, 0, 0.0728644878, 0)
closegui.Font = Enum.Font.SourceSansBold
closegui.FontSize = Enum.FontSize.Size24
closegui.Text = "X"
closegui.TextColor3 = Color3.new(1, 1, 1)
closegui.TextSize = 20
closegui.MouseButton1Click:connect(function()
CMDSFRAME.Visible = false
end)
game:GetService('RunService').Stepped:connect(function()
if spin then
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[spinplr.Name].Character.HumanoidRootPart.CFrame
end
if followed then
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * -5
end
if traill then
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * 5
end
if annoying then
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[annplr.Name].Character.HumanoidRootPart.CFrame
end
if hwalk then
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[hdwplr.Name].Character.HumanoidRootPart.CFrame + Vector3.new(0, 4, 0)
end
if staring then
lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(lplayer.Character.Torso.Position, game:GetService("Players")[stareplr.Name].Character.Torso.Position)
end
end)
game:GetService('RunService').Stepped:connect(function()
if noclip then
if lplayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
lplayer.Character.Head.CanCollide = false
lplayer.Character.Torso.CanCollide = false
lplayer.Character["Left Leg"].CanCollide = false
lplayer.Character["Right Leg"].CanCollide = false
else
lplayer.Character.Humanoid:ChangeState(11)
end
end
if changingstate then
lplayer.Character.Humanoid:ChangeState(statechosen)
end
end)
game:GetService('RunService').Stepped:connect(function()
if droppinghats then
for i,v in pairs(lplayer.Character:GetChildren()) do
if (v:IsA("Accessory")) or (v:IsA("Hat")) then
v.Parent = workspace
end
end
end
if droppingtools then
for i,v in pairs(lplayer.Character:GetChildren()) do
if (v:IsA("Tool")) then
v.Parent = workspace
end
end
end
if removingmeshhats then
for i,v in pairs(lplayer.Character:GetChildren()) do
if (v:IsA("Accessory")) or (v:IsA("Hat")) then
v.Handle.Mesh:Destroy()
end
end
end
if removingmeshtool then
for i,v in pairs(lplayer.Character:GetChildren()) do
if (v:IsA("Tool")) then
v.Handle.Mesh:Destroy()
end
end
end
end)
game:GetService('RunService').Stepped:connect(function()
if banpl then
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[bplrr].Character.HumanoidRootPart.CFrame
end
end)
game:GetService('RunService').Stepped:connect(function()
if stopsitting then
lplayer.Character.Humanoid.Sit = false
end
end)
plr = lplayer
hum = plr.Character.HumanoidRootPart
mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "e" then
if mouse.Target then
if clickgoto then
hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
elseif clickdel then
mouse.Target:Destroy()
end
end
end
end)
game:GetService("Workspace").ChildAdded:connect(function(part)
if gettingtools then
if part:IsA("Tool") then
part.Handle.CFrame = lplayer.Character.HumanoidRootPart.CFrame
end
end
end)
lplayer.Chatted:Connect(function(msg)
if string.sub(msg, 1, 6) == (prefix.."kill ") then
if string.sub(msg, 7) == "me" then
lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(100000,0,100000)
else
for i,v in pairs(GetPlayer(string.sub(msg, 7)))do
local NOW = lplayer.Character.HumanoidRootPart.CFrame
lplayer.Character.Humanoid.Name = 1
local l = lplayer.Character["1"]:Clone()
l.Parent = lplayer.Character
l.Name = "Humanoid"
wait(0.1)
lplayer.Character["1"]:Destroy()
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
lplayer.Character.Animate.Disabled = true
wait(0.1)
lplayer.Character.Animate.Disabled = false
lplayer.Character.Humanoid.DisplayDistanceType = "None"
for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
lplayer.Character.Humanoid:EquipTool(v)
end
local function tp(player,player2)
local char1,char2=player.Character,player2.Character
if char1 and char2 then
char1:MoveTo(char2.Head.Position)
end
end
wait(0.1)
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
wait(0.2)
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
wait(0.5)
lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
wait(0.7)
tp(lplayer,game:GetService("Players")[v.Name])
wait(0.7)
lplayer.Character.HumanoidRootPart.CFrame = NOW
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Tools needed!";
Text = "You need a tool in your backpack for this command!";
})
end
end
end
if string.sub(msg, 1, 7) == (prefix.."bring ") then
for i,v in pairs(GetPlayer(string.sub(msg, 8)))do
local NOW = lplayer.Character.HumanoidRootPart.CFrame
lplayer.Character.Humanoid.Name = 1
local l = lplayer.Character["1"]:Clone()
l.Parent = lplayer.Character
l.Name = "Humanoid"
wait(0.1)
lplayer.Character["1"]:Destroy()
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
lplayer.Character.Animate.Disabled = true
wait(0.1)
lplayer.Character.Animate.Disabled = false
lplayer.Character.Humanoid.DisplayDistanceType = "None"
for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
lplayer.Character.Humanoid:EquipTool(v)
end
local function tp(player,player2)
local char1,char2=player.Character,player2.Character
if char1 and char2 then
char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
end
end
local function getout(player,player2)
local char1,char2=player.Character,player2.Character
if char1 and char2 then
char1:MoveTo(char2.Head.Position)
end
end
tp(game:GetService("Players")[v.Name], lplayer)
wait(0.2)
tp(game:GetService("Players")[v.Name], lplayer)
wait(0.5)
lplayer.Character.HumanoidRootPart.CFrame = NOW
wait(0.5)
getout(lplayer, game:GetService("Players")[v.Name])
wait(0.3)
lplayer.Character.HumanoidRootPart.CFrame = NOW
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Tools needed!";
Text = "You need a tool in your backpack for this command!";
})
end
end
if string.sub(msg, 1, 6) == (prefix.."spin ") then
for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
lplayer.Character.Humanoid.Name = 1
local l = lplayer.Character["1"]:Clone()
l.Parent = lplayer.Character
l.Name = "Humanoid"
wait(0.1)
lplayer.Character["1"]:Destroy()
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
lplayer.Character.Animate.Disabled = true
wait(0.1)
lplayer.Character.Animate.Disabled = false
lplayer.Character.Humanoid.DisplayDistanceType = "None"
lplayer.Character.Animate.Disabled = false
for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
lplayer.Character.Humanoid:EquipTool(v)
end
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
spinplr = v
wait(0.5)
spin = true
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Tools needed!";
Text = "You need a tool in your backpack for this command!";
})
end
end
if string.sub(msg, 1, 7) == (prefix.."unspin") then
spin = false
end
if string.sub(msg, 1, 8) == (prefix.."attach ") then
for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
lplayer.Character.Humanoid.Name = 1
local l = lplayer.Character["1"]:Clone()
l.Parent = lplayer.Character
l.Name = "Humanoid"
wait(0.1)
lplayer.Character["1"]:Destroy()
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
lplayer.Character.Animate.Disabled = true
wait(0.1)
lplayer.Character.Animate.Disabled = false
lplayer.Character.Humanoid.DisplayDistanceType = "None"
for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
lplayer.Character.Humanoid:EquipTool(v)
end
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
wait(0.3)
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
attplr = v
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Tools needed!";
Text = "You need a tool in your backpack for this command!";
})
end
end
if string.sub(msg, 1, 10) == (prefix.."unattach ") then
for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
local function getout(player,player2)
local char1,char2=player.Character,player2.Character
if char1 and char2 then
char1:MoveTo(char2.Head.Position)
end
end
getout(lplayer, game:GetService("Players")[v.Name])
end
end
if string.sub(msg, 1, 8) == (prefix.."follow ") then
for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
followed = true
flwplr = v
end
end
if string.sub(msg, 1, 9) == (prefix.."unfollow") then
followed = false
end
if string.sub(msg, 1, 10) == (prefix.."freefall ") then
for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
local NOW = lplayer.Character.HumanoidRootPart.CFrame
lplayer.Character.Humanoid.Name = 1
local l = lplayer.Character["1"]:Clone()
l.Parent = lplayer.Character
l.Name = "Humanoid"
wait(0.1)
lplayer.Character["1"]:Destroy()
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
lplayer.Character.Animate.Disabled = true
wait(0.1)
lplayer.Character.Animate.Disabled = false
lplayer.Character.Humanoid.DisplayDistanceType = "None"
for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
lplayer.Character.Humanoid:EquipTool(v)
end
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
wait(0.2)
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
wait(0.6)
lplayer.Character.HumanoidRootPart.CFrame = NOW
wait(0.6)
lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Tools needed!";
Text = "You need a tool in your backpack for this command!";
})
end
end
if string.sub(msg, 1, 7) == (prefix.."trail ") then
for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
traill = true
trlplr = v
end
end
if string.sub(msg, 1, 8) == (prefix.."untrail") then
traill = false
end
if string.sub(msg, 1, 7) == (prefix.."orbit ") then
if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then
lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
else
for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
local o = Instance.new("RocketPropulsion")
o.Parent = lplayer.Character.HumanoidRootPart
o.Name = "Orbit"
o.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
o:Fire()
noclip = true
end
end
end
if string.sub(msg, 1, 8) == (prefix.."unorbit") then
lplayer.Character.HumanoidRootPart.Orbit:Destroy()
noclip = false
end
if string.sub(msg, 1, 7) == (prefix.."fling ") then
if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then
lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
else
for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
local y = Instance.new("RocketPropulsion")
y.Parent = lplayer.Character.HumanoidRootPart
y.CartoonFactor = 1
y.MaxThrust = 800000
y.MaxSpeed = 1000
y.ThrustP = 200000
y.Name = "Fling"
game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
y.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
y:Fire()
noclip = true
end
end
end
if string.sub(msg, 1, 8) == (prefix.."unfling") then
noclip = false
lplayer.Character.HumanoidRootPart.Fling:Destroy()
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
wait(0.4)
lplayer.Character.HumanoidRootPart.Fling:Destroy()
end
if string.sub(msg, 1, 8) == (prefix.."fecheck") then
if game:GetService("Workspace").FilteringEnabled == true then
warn("FE is Enabled (Filtering Enabled)")
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "FE is Enabled";
Text = "Filtering Enabled. Enjoy using Reviz Admin!";
})
else
warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.")
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "FE is Disabled";
Text = "Filtering Disabled. Consider using a different admin script.";
})
end
end
if string.sub(msg, 1, 6) == (prefix.."void ") then
for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
lplayer.Character.Humanoid.Name = 1
local l = lplayer.Character["1"]:Clone()
l.Parent = lplayer.Character
l.Name = "Humanoid"
wait(0.1)
lplayer.Character["1"]:Destroy()
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
lplayer.Character.Animate.Disabled = true
wait(0.1)
lplayer.Character.Animate.Disabled = false
lplayer.Character.Humanoid.DisplayDistanceType = "None"
for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
lplayer.Character.Humanoid:EquipTool(v)
end
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
wait(0.2)
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
wait(0.6)
lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(999999999999999,0,999999999999999)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Tools needed!";
Text = "You need a tool in your backpack for this command!";
})
end
end
if string.sub(msg, 1, 7) == (prefix.."noclip") then
noclip = true
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Noclip enabled";
Text = "Type ;clip to disable";
})
end
if string.sub(msg, 1, 5) == (prefix.."clip") then
noclip = false
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Noclip disabled";
Text = "Type ;noclip to enable";
})
end
if string.sub(msg, 1, 7) == (prefix.."speed ") then
lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 8))
end
if string.sub(msg, 1, 4) == (prefix.."ws ") then
lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 5))
end
if string.sub(msg, 1, 11) == (prefix.."hipheight ") then
lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 12))
end
if string.sub(msg, 1, 4) == (prefix.."hh ") then
lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 5))
end
if string.sub(msg, 1, 11) == (prefix.."jumppower ") then
lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 12))
end
if string.sub(msg, 1, 4) == (prefix.."jp ") then
lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 5))
end
if string.sub(msg, 1, 8) == (prefix.."default") then
lplayer.Character.Humanoid.JumpPower = 50
lplayer.Character.Humanoid.WalkSpeed = 16
lplayer.Character.Humanoid.HipHeight = 0
end
if string.sub(msg, 1, 7) == (prefix.."annoy ") then
for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
annoying = true
annplr = v
end
end
if string.sub(msg, 1, 8) == (prefix.."unannoy") then
annoying = false
end
if string.sub(msg, 1, 10) == (prefix.."headwalk ") then
for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
hwalk = true
hdwplr = v
end
end
if string.sub(msg, 1, 11) == (prefix.."unheadwalk") then
hwalk = false
end
if string.sub(msg, 1, 8) == (prefix.."nolimbs") then
lplayer.Character["Left Leg"]:Destroy()
lplayer.Character["Left Arm"]:Destroy()
lplayer.Character["Right Leg"]:Destroy()
lplayer.Character["Right Arm"]:Destroy()
end
if string.sub(msg, 1, 4) == (prefix.."god") then
lplayer.Character.Humanoid.Name = 1
local l = lplayer.Character["1"]:Clone()
l.Parent = lplayer.Character
l.Name = "Humanoid"
wait(0.1)
lplayer.Character["1"]:Destroy()
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
lplayer.Character.Animate.Disabled = true
wait(0.1)
lplayer.Character.Animate.Disabled = false
lplayer.Character.Humanoid.DisplayDistanceType = "None"
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "FE Godmode enabled";
Text = "Use ;grespawn or ;respawn to remove";
})
end
if string.sub(msg, 1, 9) == (prefix.."drophats") then
for i,v in pairs(lplayer.Character:GetChildren()) do
if (v:IsA("Accessory")) or (v:IsA("Hat")) then
v.Parent = workspace
end
end
end
if string.sub(msg, 1, 9) == (prefix.."droptool") then
for i,v in pairs(lplayer.Character:GetChildren()) do
if (v:IsA("Tool")) then
v.Parent = workspace
end
end
end
if string.sub(msg, 1, 10) == (prefix.."loopdhats") then
droppinghats = true
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Loop Drop Enabled";
Text = "Type ;unloopdhats to disable";
})
end
if string.sub(msg, 1, 12) == (prefix.."unloopdhats") then
droppinghats = false
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Loop Drop Disabled";
Text = "Type ;loopdhats to enable.";
})
end
if string.sub(msg, 1, 10) == (prefix.."loopdtool") then
droppingtools = true
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Loop Drop Enabled";
Text = "Type ;unloopdtool to disable";
})
end
if string.sub(msg, 1, 12) == (prefix.."unloopdtool") then
droppingtools = false
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Loop Drop Disabled";
Text = "Type ;loopdtool to enable.";
})
end
if string.sub(msg, 1, 10) == (prefix.."invisible") then -- Credit to Timeless
Local = game:GetService('Players').LocalPlayer
Char = Local.Character
touched,tpdback = false, false
box = Instance.new('Part',workspace)
box.Anchored = true
box.CanCollide = true
box.Size = Vector3.new(10,1,10)
box.Position = Vector3.new(0,10000,0)
box.Touched:connect(function(part)
if (part.Parent.Name == Local.Name) then
if touched == false then
touched = true
function apply()
if script.Disabled ~= true then
no = Char.HumanoidRootPart:Clone()
wait(.25)
Char.HumanoidRootPart:Destroy()
no.Parent = Char
Char:MoveTo(loc)
touched = false
end end
if Char then
apply()
end
end
end
end)
repeat wait() until Char
loc = Char.HumanoidRootPart.Position
Char:MoveTo(box.Position + Vector3.new(0,.5,0))
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Invisibility enabled!";
Text = "Reset or use ;respawn to remove.";
})
end
if string.sub(msg, 1, 6) == (prefix.."view ") then
for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
if game:GetService("Players")[v.Name].Character.Humanoid then
game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Humanoid
else
game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
end
end
end
if string.sub(msg, 1, 7) == (prefix.."unview") then
if lplayer.Character.Humanoid then
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
else
game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
end
end
if string.sub(msg, 1, 6) == (prefix.."goto ") then
for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
end
end
if string.sub(msg, 1, 4) == (prefix.."fly") then
repeat wait() until lplayer and lplayer.Character and lplayer.Character:FindFirstChild('HumanoidRootPart') and lplayer.Character:FindFirstChild('Humanoid')
repeat wait() until Mouse
local T = lplayer.Character.HumanoidRootPart
local CONTROL = {F = 0, B = 0, L = 0, R = 0}
local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
local SPEED = speedget
local function fly()
flying = true
local BG = Instance.new('BodyGyro', T)
local BV = Instance.new('BodyVelocity', T)
BG.P = 9e4
BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
BG.cframe = T.CFrame
BV.velocity = Vector3.new(0, 0.1, 0)
BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
spawn(function()
repeat wait()
lplayer.Character.Humanoid.PlatformStand = true
if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
SPEED = 50
elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
SPEED = 0
end
if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
else
BV.velocity = Vector3.new(0, 0.1, 0)
end
BG.cframe = workspace.CurrentCamera.CoordinateFrame
until not flying
CONTROL = {F = 0, B = 0, L = 0, R = 0}
lCONTROL = {F = 0, B = 0, L = 0, R = 0}
SPEED = 0
BG:destroy()
BV:destroy()
lplayer.Character.Humanoid.PlatformStand = false
end)
end
Mouse.KeyDown:connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = speedfly
elseif KEY:lower() == 's' then
CONTROL.B = -speedfly
elseif KEY:lower() == 'a' then
CONTROL.L = -speedfly
elseif KEY:lower() == 'd' then
CONTROL.R = speedfly
end
end)
Mouse.KeyUp:connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = 0
elseif KEY:lower() == 's' then
CONTROL.B = 0
elseif KEY:lower() == 'a' then
CONTROL.L = 0
elseif KEY:lower() == 'd' then
CONTROL.R = 0
end
end)
fly()
end
if string.sub(msg, 1, 6) == (prefix.."unfly") then
flying = false
lplayer.Character.Humanoid.PlatformStand = false
end
if string.sub(msg, 1, 6) == (prefix.."chat ") then
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer((string.sub(msg, 7)), "All")
end
if string.sub(msg, 1, 6) == (prefix.."spam ") then
spamtext = (string.sub(msg, 7))
spamming = true
end
if string.sub(msg, 1, 7) == (prefix.."unspam") then
spamming = false
end
if string.sub(msg, 1, 10) == (prefix.."spamwait ") then
spamdelay = (string.sub(msg, 11))
end
if string.sub(msg, 1, 8) == (prefix.."pmspam ") then
for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
pmspammed = v.Name
spammingpm = true
end
end
if string.sub(msg, 1, 9) == (prefix.."unpmspam") then
spammingpm = false
end
if string.sub(msg, 1, 9) == (prefix.."cfreeze ") then
for i,v in pairs(GetPlayer(string.sub(msg, 10))) do
v.Character["Left Leg"].Anchored = true
v.Character["Left Arm"].Anchored = true
v.Character["Right Leg"].Anchored = true
v.Character["Right Arm"].Anchored = true
v.Character.Torso.Anchored = true
v.Character.Head.Anchored = true
end
end
if string.sub(msg, 1, 11) == (prefix.."uncfreeze ") then
for i,v in pairs(GetPlayer(string.sub(msg, 12))) do
v.Character["Left Leg"].Anchored = false
v.Character["Left Arm"].Anchored = false
v.Character["Right Leg"].Anchored = false
v.Character["Right Arm"].Anchored = false
v.Character.Torso.Anchored = false
v.Character.Head.Anchored = false
end
end
if string.sub(msg, 1, 9) == (prefix.."unlockws") then
local a = game:GetService("Workspace"):getChildren()
for i = 1, #a do
if a[i].className == "Part" then
a[i].Locked = false
elseif a[i].className == "Model" then