View difference between Paste ID: FxZ4TSss and y3aRZny4
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
local RealPlayer = Player
4
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
5
 
6
-- Credits to infinite yield, harkinian, dex creators
7
 
8
prefix = ";"
9
wait(0.3)
10
Commands = {
11
    '[-] cmdbar is shown when ; is pressed.',
12
    '[1] kill [plr] -- You need a tool! Will kill the player, use rkill to kill you and player',
13
    '[2] bring [plr] -- You need a tool! Will bring player to you',
14
    '[3] spin [plr] -- You need a tool! Makes you and the player spin crazy',
15
    '[4] unspin -- Use after using spin cmd and dying, so you stop loop teleporting',
16
    '[5] attach [plr] -- You need a tool! Attaches you to player',
17
    '[6] unattach [plr] -- Attempts to unattach you from a player',
18
    '[7] follow [plr] -- Makes you follow behind the player',
19
    '[8] unfollow',
20
    '[9] freefall [plr] -- You need a tool! Teleports you and the player up into the air',
21
    '[10] trail [plr] -- The opposite of follow, you stay infront of player',
22
    '[11] untrail',
23
    '[12] orbit [plr] -- Makes you orbit the player',
24
    '[13] unorbit',
25
    '[14] fling [plr] -- Makes you fling the player',
26
    '[15] unfling',
27
    '[16] fecheck -- Checks if the game is FE or not',
28
    '[17] void [plr] -- Teleports player to the void',
29
    '[18] noclip -- Gives you noclip to walk through walls',
30
    '[19] clip -- Removes noclip',
31
    '[20] speed [num]/ws [num] -- Changes how fast you walk 16 is default',
32
    '[21] jumppower [num]/jp [num] -- Changes how high you jump 50 is default',
33
    '[22] hipheight [num]/hh [num] -- Changes how high you float 0 is default',
34
    '[23] default -- Changes your speed, jumppower and hipheight to default values',
35
    '[24] annoy [plr] -- Loop teleports you to the player',
36
    '[25] unannoy',
37
    '[26] headwalk [plr] -- Loop teleports you to the player head',
38
    '[27] unheadwalk',
39
    '[28] nolimbs -- Removes your arms and legs',
40
    '[29] god -- Gives you FE Godmode',
41
    '[30] drophats -- Drops your accessories',
42
    '[31] droptool -- Drops any tool you have equipped',
43
    '[32] loopdhats -- Loop drops your accessories',
44
    '[33] unloopdhats',
45
    '[34] loopdtool -- Loop drops any tools you have equipped',
46
    '[35] unloopdtool',
47
    '[36] invisible -- Gives you invisibility CREDIT TO TIMELESS',
48
    '[37] view [plr] -- Changes your camera to the player character',
49
    '[38] unview',
50
    '[39] goto [plr] -- Teleports you to player',
51
    '[40] fly -- Allows you to fly, credit to Infinite Yield',
52
    '[41] unfly',
53
    '[42] chat [msg] -- Makes you chat a message',
54
    '[43] spam [msg] -- Spams a message',
55
    '[44] unspam',
56
    '[45] spamwait [num] -- Changes delay of chatting a message for the spam command in seconds default is 1 second',
57
    '[46] pmspam [plr] -- Spams a player in private message',
58
    '[47] unpmspam',
59
    '[48] cfreeze [plr] -- Freezes a player on your client, they will only be frozen for you',
60
    '[49] uncfreeze [plr]',
61
    '[50] unlockws -- Unlocks the workspace',
62
    '[51] lockws -- Locks the workspace',
63
    '[52] btools -- Gives you btools that will only show to you useful for deleting certain blocks only for you',
64
    '[53] pstand -- Enables platform stand',
65
    '[54] unpstand -- Disables platform stand',
66
    '[55] blockhead -- Removes your head mesh',
67
    '[56] sit',
68
    '[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',
69
    '[58] wsvis [num] -- Changes visibility of workspace parts, num should be between 0 and 1, only shows client sided',
70
    '[59] hypertotal -- Loads in my FE GUI Hypertotal',
71
    '[60] cmds -- Prints all commands',
72
    '[61] rmeshhats/blockhats -- Removes the meshes of all your accessories aka block hats',
73
    '[62] rmeshtool/blocktool -- Removes the mesh of the tool you have equipped aka block tool',
74
    '[63] spinner -- Makes you spin',
75
    '[64] nospinner',
76
    '[65] reach [num] -- Gives you reach, mostly used for swords, say ;reachd for default and enter number after for custom',
77
    '[66] noreach -- Removes reach, must have tool equipped',
78
    '[67] rkill [plr] -- Kills you and the player, use kill to just kill the player without dying',
79
    '[68] tp me [plr] -- Alternative to goto',
80
    '[69] cbring [plr] -- Brings player infront of you, shows only on client, allows you to do damage to player',
81
    '[70] uncbring',
82
    '[71] swap [plr] -- You need a tool! Swaps players position with yours and your position with players',
83
    '[72] givetool [plr] -- Gives the tool you have equipped to the player',
84
    '[73] glitch [plr] -- Glitches you and the player, looks very cool',
85
    '[74] unglitch -- Unglitches you',
86
    '[75] grespawn -- Alternative to normal respawn and usually works best for when you want to reset with FE Godmode',
87
    '[76] explorer -- Loads up DEX',
88
    '[77] reset -- Resets your character.',
89
    '[78] anim [id] -- Applies an animation on you, must be created by ROBLOX',
90
    '[79] animgui -- Loads up Energize animations GUI',
91
    '[80] savepos -- Saves your current position',
92
    '[81] loadpos -- Teleports you to your saved position',
93
    '[82] bang [plr] -- 18+ will not work if you have FE Godmode on',
94
    '[83] unbang',
95
    '[84] delcmdbar -- Removes the command bar completely',
96
    '[85] bringmod [obj] -- Brings all the parts in a model, client only, comes from ;bringobj enter exact name of model',
97
    '[86] shutdown -- Uses harkinians script to shutdown server',
98
    '[87] respawn -- If grespawn doesnt work you can use respawn',
99
    '[88] delobj [obj] -- Deletes a certain brick in workspace, client sided',
100
    '[89] getplrs -- Prints all players in game',
101
    '[90] deldecal -- Deletes all decals client sided',
102
    '[91] opfinality -- Loads in my FE GUI Opfinality',
103
    '[92] remotes -- Prints all remotes in the game in the console when added',
104
    '[93] noremotes -- Stops printing remotes',
105
    '[94] tpdefault -- Stops all loop teleports to a player',
106
    '[95] stopsit -- Will not allow you to sit',
107
    '[96] gosit -- Allows you to sit',
108
    '[97] clicktp -- Enables click tp',
109
    '[98] noclicktp -- Disables click tp',
110
    '[99] toolson -- If any tools are dropped in the workspace you will automatically get them',
111
    '[100] toolsoff -- Stops ;toolson',
112
    '[101] version -- Gets the admin version',
113
    '[102] state [num] -- Changes your humanoid state, ;unstate to stop.',
114
    '[103] gravity [num] -- Changes workspace gravity default is 196.2',
115
    '[104] pgs -- Checks if the game has PGSPhysicsSolverEnabled enabled',
116
    '[105] clickdel -- Delete any block you press q on, client sided',
117
    '[106] noclickdel -- Stops clickdel',
118
    '[107] looprhats -- Loop removes mesh of your hats/loop block hats',
119
    '[108] unlooprhats -- Stops loop removing mesh',
120
    '[109] looprtool -- Loop removes mesh of your tool/loop block tools',
121
    '[110] unlooprtool -- Stops loop removing mesh',
122
    '[111] givealltools [plr] -- Gives all the tools you have in your backpack to the player',
123
    '[112] age [plr] -- Makes you chat the account age of the player',
124
    '[113] id [plr] -- Makes you chat the account ID of the player',
125
    '[114] .age [plr] -- Privately shows you the account age of the player',
126
    '[115] .id [plr] -- Privately shows you the account ID of the player',
127
    '[116] gameid -- Shows the game ID',
128
    '[117] removeinvis -- Removes all invisible walls/parts, client sided',
129
    '[118] removefog -- Removes fog, client sided',
130
    '[119] disable -- Disables your character by removing humanoid',
131
    '[120] enable -- Enables your character by adding humanoid',
132
    '[121] prefix [key] -- Changes the prefix used, default is ;',
133
    '[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.',
134
    '[123] flyspeed [num] -- Change your fly speed, default is 1',
135
    '[124] carpet [plr] -- Makes you a carpet for a player, will not work if FE Godmode is on',
136
    '[125] uncarpet -- Stops carpet player',
137
    '[126] stare [plr] -- Turns your character to stare at another player',
138
    '[127] unstare -- Stops stare player',
139
    '[128] logchat -- Logs all chat (including /e and whispers) of all players',
140
    '[129] unlogchat -- Disables logchat',
141
    '[130] fixcam -- Fixes/resets your camera',
142
    '[131] unstate -- Stops changing state',
143
}
144
speedget = 1
145
 
146
lplayer = game:GetService("Players").LocalPlayer
147
 
148
lplayer.CharacterAdded:Connect(function(character)
149
    spin = false
150
    flying = false
151
    staring = false
152
    banpl = false
153
end)
154
 
155
function change()
156
    prefix = prefix
157
    speedfly = speedfly
158
end
159
 
160
function GetPlayer(String) -- Credit to Timeless/xFunnieuss
161
    local Found = {}
162
    local strl = String:lower()
163
    if strl == "all" then
164
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
165
            table.insert(Found,v)
166
        end
167
    elseif strl == "others" then
168
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
169
            if v.Name ~= lplayer.Name then
170
                table.insert(Found,v)
171
            end
172
        end  
173
    elseif strl == "me" then
174
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
175
            if v.Name == lplayer.Name then
176
                table.insert(Found,v)
177
            end
178
        end  
179
    else
180
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
181
            if v.Name:lower():sub(1, #String) == String:lower() then
182
                table.insert(Found,v)
183
            end
184
        end    
185
    end
186
    return Found    
187
end
188
 
189
local Mouse = lplayer:GetMouse()
190
 
191
spin = false
192
followed = false
193
traill = false
194
noclip = false
195
annoying = false
196
hwalk = false
197
droppinghats = false
198
droppingtools = false
199
flying = false
200
spamdelay = 1
201
spamming = false
202
spammingpm = false
203
cbringing = false
204
remotes = true
205
added = true
206
binds = false
207
stopsitting = false
208
clickgoto = false
209
gettingtools = false
210
removingmeshhats = false
211
removingmeshtool = false
212
clickdel = false
213
staring = false
214
chatlogs = false
215
banpl = false
216
changingstate = false
217
statechosen = 0
218
 
219
adminversion = "Reviz Admin by illremember, Version 2.0"
220
 
221
flying = false
222
speedfly = 1
223
 
224
function plrchat(plr, chat)
225
print(plr.Name..": "..tick().."\n"..chat)
226
end
227
 
228
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
229
v.Chatted:connect(function(chat)
230
if chatlogs then
231
plrchat(v, chat)
232
end
233
end)
234
end
235
game:GetService("Players").PlayerAdded:connect(function(plr)
236
plr.Chatted:connect(function(chat)
237
if chatlogs then
238
plrchat(plr, chat)
239
end
240
end)
241
end)
242
 
243
 
244
local ScreenGui = Instance.new("ScreenGui")
245
local Frame = Instance.new("Frame")
246
local CMDBAR = Instance.new("TextBox")
247
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
248
Frame.Parent = ScreenGui
249
Frame.BackgroundColor3 = Color3.new(0.3, 0.1, 0.1)
250
Frame.BackgroundTransparency = 0.3
251
Frame.Position = UDim2.new(0.5, 0, 0, 10)
252
Frame.Size = UDim2.new(0, 200, 0, 40)
253
Frame.Active = true
254
Frame.Draggable = true
255
CMDBAR.Name = "CMDBAR"
256
CMDBAR.Parent = Frame
257
CMDBAR.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
258
CMDBAR.BackgroundTransparency = 0.20000000298023
259
CMDBAR.Size = UDim2.new(0, 180, 0, 20)
260
CMDBAR.Position = UDim2.new(0.05, 0, 0.25, 0)
261
CMDBAR.Font = Enum.Font.SourceSansLight
262
CMDBAR.FontSize = Enum.FontSize.Size14
263
CMDBAR.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
264
CMDBAR.TextScaled = true
265
CMDBAR.TextSize = 14
266
CMDBAR.TextWrapped = true
267
CMDBAR.Text = "Press ; to type, Enter to execute"
268
 
269
local CMDS = Instance.new("ScreenGui")
270
local CMDSFRAME = Instance.new("Frame")
271
local ScrollingFrame = Instance.new("ScrollingFrame")
272
local TextLabel = Instance.new("TextLabel")
273
local closegui = Instance.new("TextButton")
274
CMDS.Name = "CMDS"
275
CMDS.Parent = game.Players.LocalPlayer.PlayerGui
276
CMDSFRAME.Name = "CMDSFRAME"
277
CMDSFRAME.Parent = CMDS
278
CMDSFRAME.Active = true
279
CMDSFRAME.BackgroundColor3 = Color3.new(0.223529, 0.231373, 0.309804)
280
CMDSFRAME.BorderSizePixel = 0
281
CMDSFRAME.Draggable = true
282
CMDSFRAME.Position = UDim2.new(0, 315, 0, 100)
283
CMDSFRAME.Size = UDim2.new(0, 275, 0, 275)
284
CMDSFRAME.Visible = false
285
ScrollingFrame.Parent = CMDSFRAME
286
ScrollingFrame.BackgroundColor3 = Color3.new(0.160784, 0.160784, 0.203922)
287
ScrollingFrame.BorderSizePixel = 0
288
ScrollingFrame.Position = UDim2.new(0, 0, 0.0729999989, 0)
289
ScrollingFrame.Size = UDim2.new(1.04999995, 0, 0.92900002, 0)
290
ScrollingFrame.CanvasSize = UDim2.new(0, 0, 10, 0)
291
TextLabel.Parent = ScrollingFrame
292
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
293
TextLabel.BackgroundTransparency = 1
294
TextLabel.Size = UDim2.new(0.930000007, 0, 1, 0)
295
TextLabel.Font = Enum.Font.SourceSans
296
TextLabel.FontSize = Enum.FontSize.Size18
297
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."
298
TextLabel.TextColor3 = Color3.new(1, 1, 1)
299
TextLabel.TextSize = 15
300
TextLabel.TextWrapped = true
301
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
302
TextLabel.TextYAlignment = Enum.TextYAlignment.Top
303
closegui.Name = "closegui"
304
closegui.Parent = CMDSFRAME
305
closegui.BackgroundColor3 = Color3.new(0.890196, 0.223529, 0.0588235)
306
closegui.BorderSizePixel = 0
307
closegui.Position = UDim2.new(0.995000005, 0, 0, 0)
308
closegui.Size = UDim2.new(0.0545952693, 0, 0.0728644878, 0)
309
closegui.Font = Enum.Font.SourceSansBold
310
closegui.FontSize = Enum.FontSize.Size24
311
closegui.Text = "X"
312
closegui.TextColor3 = Color3.new(1, 1, 1)
313
closegui.TextSize = 20
314
 
315
closegui.MouseButton1Click:connect(function()
316
    CMDSFRAME.Visible = false
317
end)
318
 
319
game:GetService('RunService').Stepped:connect(function()
320
    if spin then
321
        lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[spinplr.Name].Character.HumanoidRootPart.CFrame
322
    end
323
    if followed then
324
        lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * -5
325
    end
326
    if traill then
327
        lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * 5
328
    end
329
    if annoying then
330
        lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[annplr.Name].Character.HumanoidRootPart.CFrame
331
    end
332
    if hwalk then
333
        lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[hdwplr.Name].Character.HumanoidRootPart.CFrame + Vector3.new(0, 4, 0)
334
    end
335
    if staring then
336
        lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(lplayer.Character.Torso.Position, game:GetService("Players")[stareplr.Name].Character.Torso.Position)
337
    end
338
end)
339
game:GetService('RunService').Stepped:connect(function()
340
    if noclip then
341
        if lplayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
342
            lplayer.Character.Head.CanCollide = false
343
            lplayer.Character.Torso.CanCollide = false
344
            lplayer.Character["Left Leg"].CanCollide = false
345
            lplayer.Character["Right Leg"].CanCollide = false
346
        else
347
            lplayer.Character.Humanoid:ChangeState(11)
348
        end
349
    end
350
    if changingstate then
351
        lplayer.Character.Humanoid:ChangeState(statechosen)
352
    end
353
end)
354
game:GetService('RunService').Stepped:connect(function()
355
    if droppinghats then
356
        for i,v in pairs(lplayer.Character:GetChildren()) do
357
            if (v:IsA("Accessory")) or (v:IsA("Hat")) then
358
                v.Parent = workspace
359
            end
360
        end
361
    end
362
    if droppingtools then
363
        for i,v in pairs(lplayer.Character:GetChildren()) do
364
            if (v:IsA("Tool")) then
365
                v.Parent = workspace
366
            end
367
        end
368
    end
369
    if removingmeshhats then
370
        for i,v in pairs(lplayer.Character:GetChildren()) do
371
            if (v:IsA("Accessory")) or (v:IsA("Hat")) then
372
                v.Handle.Mesh:Destroy()
373
            end
374
        end
375
    end
376
    if removingmeshtool then
377
        for i,v in pairs(lplayer.Character:GetChildren()) do
378
            if (v:IsA("Tool")) then
379
                v.Handle.Mesh:Destroy()
380
            end
381
        end
382
    end
383
end)
384
game:GetService('RunService').Stepped:connect(function()
385
    if banpl then
386
        lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[bplrr].Character.HumanoidRootPart.CFrame
387
    end
388
end)
389
game:GetService('RunService').Stepped:connect(function()
390
    if stopsitting then
391
        lplayer.Character.Humanoid.Sit = false
392
    end
393
end)
394
 
395
plr = lplayer
396
hum = plr.Character.HumanoidRootPart
397
mouse = plr:GetMouse()
398
mouse.KeyDown:connect(function(key)
399
    if key == "e" then
400
        if mouse.Target then
401
            if clickgoto then
402
                hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
403
            elseif clickdel then
404
                mouse.Target:Destroy()
405
            end
406
        end
407
    end
408
end)
409
 
410
game:GetService("Workspace").ChildAdded:connect(function(part)
411
    if gettingtools then
412
        if part:IsA("Tool") then
413
            part.Handle.CFrame = lplayer.Character.HumanoidRootPart.CFrame
414
        end
415
    end
416
end)
417
 
418
lplayer.Chatted:Connect(function(msg)
419
    if string.sub(msg, 1, 6) == (prefix.."kill ") then
420
        if string.sub(msg, 7) == "me" then
421
            lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(100000,0,100000)
422
        else
423
            for i,v in pairs(GetPlayer(string.sub(msg, 7)))do
424
                local NOW = lplayer.Character.HumanoidRootPart.CFrame
425
                lplayer.Character.Humanoid.Name = 1
426
                local l = lplayer.Character["1"]:Clone()
427
                l.Parent = lplayer.Character
428
                l.Name = "Humanoid"
429
                wait(0.1)
430
                lplayer.Character["1"]:Destroy()
431
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
432
                lplayer.Character.Animate.Disabled = true
433
                wait(0.1)
434
                lplayer.Character.Animate.Disabled = false
435
                lplayer.Character.Humanoid.DisplayDistanceType = "None"
436
                for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
437
                lplayer.Character.Humanoid:EquipTool(v)
438
                end
439
                local function tp(player,player2)
440
                local char1,char2=player.Character,player2.Character
441
                if char1 and char2 then
442
                char1:MoveTo(char2.Head.Position)
443
                end
444
                end
445
                wait(0.1)
446
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
447
                wait(0.2)
448
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
449
                wait(0.5)
450
                lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
451
                wait(0.7)
452
                tp(lplayer,game:GetService("Players")[v.Name])
453
                wait(0.7)
454
                lplayer.Character.HumanoidRootPart.CFrame = NOW
455
                game:GetService("StarterGui"):SetCore("SendNotification", {
456
                Title = "Tools needed!";
457
                Text = "You need a tool in your backpack for this command!";
458
                })
459
            end
460
        end
461
    end
462
    if string.sub(msg, 1, 7) == (prefix.."bring ") then
463
        for i,v in pairs(GetPlayer(string.sub(msg, 8)))do
464
            local NOW = lplayer.Character.HumanoidRootPart.CFrame
465
            lplayer.Character.Humanoid.Name = 1
466
            local l = lplayer.Character["1"]:Clone()
467
            l.Parent = lplayer.Character
468
            l.Name = "Humanoid"
469
            wait(0.1)
470
            lplayer.Character["1"]:Destroy()
471
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
472
            lplayer.Character.Animate.Disabled = true
473
            wait(0.1)
474
            lplayer.Character.Animate.Disabled = false
475
            lplayer.Character.Humanoid.DisplayDistanceType = "None"
476
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
477
            lplayer.Character.Humanoid:EquipTool(v)
478
            end
479
            local function tp(player,player2)
480
            local char1,char2=player.Character,player2.Character
481
            if char1 and char2 then
482
            char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
483
            end
484
            end
485
            local function getout(player,player2)
486
            local char1,char2=player.Character,player2.Character
487
            if char1 and char2 then
488
            char1:MoveTo(char2.Head.Position)
489
            end
490
            end
491
            tp(game:GetService("Players")[v.Name], lplayer)
492
            wait(0.2)
493
            tp(game:GetService("Players")[v.Name], lplayer)
494
            wait(0.5)
495
            lplayer.Character.HumanoidRootPart.CFrame = NOW
496
            wait(0.5)
497
            getout(lplayer, game:GetService("Players")[v.Name])
498
            wait(0.3)
499
            lplayer.Character.HumanoidRootPart.CFrame = NOW
500
            game:GetService("StarterGui"):SetCore("SendNotification", {
501
            Title = "Tools needed!";
502
            Text = "You need a tool in your backpack for this command!";
503
            })
504
        end
505
    end
506
    if string.sub(msg, 1, 6) == (prefix.."spin ") then
507
        for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
508
            lplayer.Character.Humanoid.Name = 1
509
            local l = lplayer.Character["1"]:Clone()
510
            l.Parent = lplayer.Character
511
            l.Name = "Humanoid"
512
            wait(0.1)
513
            lplayer.Character["1"]:Destroy()
514
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
515
            lplayer.Character.Animate.Disabled = true
516
            wait(0.1)
517
            lplayer.Character.Animate.Disabled = false
518
            lplayer.Character.Humanoid.DisplayDistanceType = "None"
519
            lplayer.Character.Animate.Disabled = false
520
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
521
            lplayer.Character.Humanoid:EquipTool(v)
522
            end
523
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
524
            spinplr = v
525
            wait(0.5)
526
            spin = true
527
            game:GetService("StarterGui"):SetCore("SendNotification", {
528
            Title = "Tools needed!";
529
            Text = "You need a tool in your backpack for this command!";
530
            })
531
        end
532
    end
533
    if string.sub(msg, 1, 7) == (prefix.."unspin") then
534
        spin = false
535
    end
536
    if string.sub(msg, 1, 8) == (prefix.."attach ") then
537
        for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
538
            lplayer.Character.Humanoid.Name = 1
539
            local l = lplayer.Character["1"]:Clone()
540
            l.Parent = lplayer.Character
541
            l.Name = "Humanoid"
542
            wait(0.1)
543
            lplayer.Character["1"]:Destroy()
544
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
545
            lplayer.Character.Animate.Disabled = true
546
            wait(0.1)
547
            lplayer.Character.Animate.Disabled = false
548
            lplayer.Character.Humanoid.DisplayDistanceType = "None"
549
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
550
            lplayer.Character.Humanoid:EquipTool(v)
551
            end
552
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
553
            wait(0.3)
554
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
555
            attplr = v
556
            game:GetService("StarterGui"):SetCore("SendNotification", {
557
            Title = "Tools needed!";
558
            Text = "You need a tool in your backpack for this command!";
559
            })
560
        end
561
    end
562
    if string.sub(msg, 1, 10) == (prefix.."unattach ") then
563
        for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
564
            local function getout(player,player2)
565
            local char1,char2=player.Character,player2.Character
566
            if char1 and char2 then
567
            char1:MoveTo(char2.Head.Position)
568
            end
569
            end
570
            getout(lplayer, game:GetService("Players")[v.Name])
571
        end
572
    end
573
    if string.sub(msg, 1, 8) == (prefix.."follow ") then
574
        for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
575
            followed = true
576
            flwplr = v
577
        end
578
    end
579
    if string.sub(msg, 1, 9) == (prefix.."unfollow") then
580
        followed = false
581
    end
582
    if string.sub(msg, 1, 10) == (prefix.."freefall ") then
583
        for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
584
            local NOW = lplayer.Character.HumanoidRootPart.CFrame
585
            lplayer.Character.Humanoid.Name = 1
586
            local l = lplayer.Character["1"]:Clone()
587
            l.Parent = lplayer.Character
588
            l.Name = "Humanoid"
589
            wait(0.1)
590
            lplayer.Character["1"]:Destroy()
591
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
592
            lplayer.Character.Animate.Disabled = true
593
            wait(0.1)
594
            lplayer.Character.Animate.Disabled = false
595
            lplayer.Character.Humanoid.DisplayDistanceType = "None"
596
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
597
            lplayer.Character.Humanoid:EquipTool(v)
598
            end
599
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
600
            wait(0.2)
601
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
602
            wait(0.6)
603
            lplayer.Character.HumanoidRootPart.CFrame = NOW
604
            wait(0.6)
605
            lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
606
            game:GetService("StarterGui"):SetCore("SendNotification", {
607
            Title = "Tools needed!";
608
            Text = "You need a tool in your backpack for this command!";
609
            })
610
        end
611
    end
612
    if string.sub(msg, 1, 7) == (prefix.."trail ") then
613
        for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
614
            traill = true
615
            trlplr = v
616
        end
617
    end
618
    if string.sub(msg, 1, 8) == (prefix.."untrail") then
619
        traill = false
620
    end
621
    if string.sub(msg, 1, 7) == (prefix.."orbit ") then
622
        if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then
623
            lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
624
        else
625
            for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
626
                local o = Instance.new("RocketPropulsion")
627
                o.Parent = lplayer.Character.HumanoidRootPart
628
                o.Name = "Orbit"
629
                o.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
630
                o:Fire()
631
                noclip = true
632
            end
633
        end
634
    end
635
    if string.sub(msg, 1, 8) == (prefix.."unorbit") then
636
        lplayer.Character.HumanoidRootPart.Orbit:Destroy()
637
        noclip = false
638
    end
639
    if string.sub(msg, 1, 7) == (prefix.."fling ") then
640
        if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then
641
            lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
642
        else
643
            for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
644
                local y = Instance.new("RocketPropulsion")
645
                y.Parent = lplayer.Character.HumanoidRootPart
646
                y.CartoonFactor = 1
647
                y.MaxThrust = 800000
648
                y.MaxSpeed = 1000
649
                y.ThrustP = 200000
650
                y.Name = "Fling"
651
                game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
652
                y.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
653
                y:Fire()
654
                noclip = true
655
            end
656
        end
657
    end
658
    if string.sub(msg, 1, 8) == (prefix.."unfling") then
659
        noclip = false
660
        lplayer.Character.HumanoidRootPart.Fling:Destroy()
661
        game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
662
        wait(0.4)
663
        lplayer.Character.HumanoidRootPart.Fling:Destroy()
664
    end
665
    if string.sub(msg, 1, 8) == (prefix.."fecheck") then
666
        if game:GetService("Workspace").FilteringEnabled == true then
667
            warn("FE is Enabled (Filtering Enabled)")
668
            game:GetService("StarterGui"):SetCore("SendNotification", {
669
                Title = "FE is Enabled";
670
                Text = "Filtering Enabled. Enjoy using Reviz Admin!";
671
            })
672
        else
673
            warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.")
674
            game:GetService("StarterGui"):SetCore("SendNotification", {
675
                Title = "FE is Disabled";
676
                Text = "Filtering Disabled. Consider using a different admin script.";
677
            })
678
        end
679
    end
680
    if string.sub(msg, 1, 6) == (prefix.."void ") then
681
        for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
682
            lplayer.Character.Humanoid.Name = 1
683
            local l = lplayer.Character["1"]:Clone()
684
            l.Parent = lplayer.Character
685
            l.Name = "Humanoid"
686
            wait(0.1)
687
            lplayer.Character["1"]:Destroy()
688
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
689
            lplayer.Character.Animate.Disabled = true
690
            wait(0.1)
691
            lplayer.Character.Animate.Disabled = false
692
            lplayer.Character.Humanoid.DisplayDistanceType = "None"
693
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
694
            lplayer.Character.Humanoid:EquipTool(v)
695
            end
696
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
697
            wait(0.2)
698
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
699
            wait(0.6)
700
            lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(999999999999999,0,999999999999999)
701
            game:GetService("StarterGui"):SetCore("SendNotification", {
702
            Title = "Tools needed!";
703
            Text = "You need a tool in your backpack for this command!";
704
            })
705
        end
706
    end
707
    if string.sub(msg, 1, 7) == (prefix.."noclip") then
708
        noclip = true
709
        game:GetService("StarterGui"):SetCore("SendNotification", {
710
        Title = "Noclip enabled";
711
        Text = "Type ;clip to disable";
712
        })
713
    end
714
    if string.sub(msg, 1, 5) == (prefix.."clip") then
715
        noclip = false
716
        game:GetService("StarterGui"):SetCore("SendNotification", {
717
        Title = "Noclip disabled";
718
        Text = "Type ;noclip to enable";
719
        })
720
    end
721
    if string.sub(msg, 1, 7) == (prefix.."speed ") then
722
        lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 8))
723
    end
724
    if string.sub(msg, 1, 4) == (prefix.."ws ") then
725
        lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 5))
726
    end
727
    if string.sub(msg, 1, 11) == (prefix.."hipheight ") then
728
        lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 12))
729
    end
730
    if string.sub(msg, 1, 4) == (prefix.."hh ") then
731
        lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 5))
732
    end
733
    if string.sub(msg, 1, 11) == (prefix.."jumppower ") then
734
        lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 12))
735
    end
736
    if string.sub(msg, 1, 4) == (prefix.."jp ") then
737
        lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 5))
738
    end
739
    if string.sub(msg, 1, 8) == (prefix.."default") then
740
        lplayer.Character.Humanoid.JumpPower = 50
741
        lplayer.Character.Humanoid.WalkSpeed = 16
742
        lplayer.Character.Humanoid.HipHeight = 0
743
    end
744
    if string.sub(msg, 1, 7) == (prefix.."annoy ") then
745
        for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
746
            annoying = true
747
            annplr = v
748
        end
749
    end
750
    if string.sub(msg, 1, 8) == (prefix.."unannoy") then
751
        annoying = false
752
    end
753
    if string.sub(msg, 1, 10) == (prefix.."headwalk ") then
754
        for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
755
            hwalk = true
756
            hdwplr = v
757
        end
758
    end
759
    if string.sub(msg, 1, 11) == (prefix.."unheadwalk") then
760
        hwalk = false
761
    end
762
    if string.sub(msg, 1, 8) == (prefix.."nolimbs") then
763
        lplayer.Character["Left Leg"]:Destroy()
764
        lplayer.Character["Left Arm"]:Destroy()
765
        lplayer.Character["Right Leg"]:Destroy()
766
        lplayer.Character["Right Arm"]:Destroy()
767
    end
768
    if string.sub(msg, 1, 4) == (prefix.."god") then
769
        lplayer.Character.Humanoid.Name = 1
770
        local l = lplayer.Character["1"]:Clone()
771
        l.Parent = lplayer.Character
772
        l.Name = "Humanoid"
773
        wait(0.1)
774
        lplayer.Character["1"]:Destroy()
775
        game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
776
        lplayer.Character.Animate.Disabled = true
777
        wait(0.1)
778
        lplayer.Character.Animate.Disabled = false
779
        lplayer.Character.Humanoid.DisplayDistanceType = "None"
780
        game:GetService("StarterGui"):SetCore("SendNotification", {
781
        Title = "FE Godmode enabled";
782
        Text = "Use ;grespawn or ;respawn to remove";
783
        })
784
    end
785
    if string.sub(msg, 1, 9) == (prefix.."drophats") then
786
        for i,v in pairs(lplayer.Character:GetChildren()) do
787
            if (v:IsA("Accessory")) or (v:IsA("Hat")) then
788
                v.Parent = workspace
789
            end
790
        end
791
    end
792
    if string.sub(msg, 1, 9) == (prefix.."droptool") then
793
        for i,v in pairs(lplayer.Character:GetChildren()) do
794
            if (v:IsA("Tool")) then
795
                v.Parent = workspace
796
            end
797
        end
798
    end
799
    if string.sub(msg, 1, 10) == (prefix.."loopdhats") then
800
        droppinghats = true
801
        game:GetService("StarterGui"):SetCore("SendNotification", {
802
        Title = "Loop Drop Enabled";
803
        Text = "Type ;unloopdhats to disable";
804
        })
805
    end
806
    if string.sub(msg, 1, 12) == (prefix.."unloopdhats") then
807
        droppinghats = false
808
        game:GetService("StarterGui"):SetCore("SendNotification", {
809
        Title = "Loop Drop Disabled";
810
        Text = "Type ;loopdhats to enable.";
811
        })
812
    end
813
    if string.sub(msg, 1, 10) == (prefix.."loopdtool") then
814
        droppingtools = true
815
        game:GetService("StarterGui"):SetCore("SendNotification", {
816
        Title = "Loop Drop Enabled";
817
        Text = "Type ;unloopdtool to disable";
818
        })
819
    end
820
    if string.sub(msg, 1, 12) == (prefix.."unloopdtool") then
821
        droppingtools = false
822
        game:GetService("StarterGui"):SetCore("SendNotification", {
823
        Title = "Loop Drop Disabled";
824
        Text = "Type ;loopdtool to enable.";
825
        })
826
    end
827
    if string.sub(msg, 1, 10) == (prefix.."invisible") then -- Credit to Timeless
828
        Local = game:GetService('Players').LocalPlayer
829
        Char  = Local.Character
830
        touched,tpdback = false, false
831
        box = Instance.new('Part',workspace)
832
        box.Anchored = true
833
        box.CanCollide = true
834
        box.Size = Vector3.new(10,1,10)
835
        box.Position = Vector3.new(0,10000,0)
836
        box.Touched:connect(function(part)
837
            if (part.Parent.Name == Local.Name) then
838
                if touched == false then
839
                    touched = true
840
                    function apply()
841
                        if script.Disabled ~= true then
842
                            no = Char.HumanoidRootPart:Clone()
843
                            wait(.25)
844
                            Char.HumanoidRootPart:Destroy()
845
                            no.Parent = Char
846
                            Char:MoveTo(loc)
847
                            touched = false
848
                        end end
849
                    if Char then
850
                        apply()
851
                    end
852
                end
853
            end
854
        end)
855
        repeat wait() until Char
856
        loc = Char.HumanoidRootPart.Position
857
        Char:MoveTo(box.Position + Vector3.new(0,.5,0))
858
        game:GetService("StarterGui"):SetCore("SendNotification", {
859
        Title = "Invisibility enabled!";
860
        Text = "Reset or use ;respawn to remove.";
861
        })
862
    end
863
    if string.sub(msg, 1, 6) == (prefix.."view ") then
864
        for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
865
            if game:GetService("Players")[v.Name].Character.Humanoid then
866
                game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Humanoid
867
            else
868
                game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
869
            end
870
        end
871
    end
872
    if string.sub(msg, 1, 7) == (prefix.."unview") then
873
        if lplayer.Character.Humanoid then
874
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
875
        else
876
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
877
        end
878
    end
879
    if string.sub(msg, 1, 6) == (prefix.."goto ") then
880
        for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
881
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
882
        end
883
    end
884
    if string.sub(msg, 1, 4) == (prefix.."fly") then
885
    repeat wait() until lplayer and lplayer.Character and lplayer.Character:FindFirstChild('HumanoidRootPart') and lplayer.Character:FindFirstChild('Humanoid')
886
    repeat wait() until Mouse
887
   
888
    local T = lplayer.Character.HumanoidRootPart
889
    local CONTROL = {F = 0, B = 0, L = 0, R = 0}
890
    local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
891
    local SPEED = speedget
892
   
893
    local function fly()
894
        flying = true
895
        local BG = Instance.new('BodyGyro', T)
896
        local BV = Instance.new('BodyVelocity', T)
897
        BG.P = 9e4
898
        BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
899
        BG.cframe = T.CFrame
900
        BV.velocity = Vector3.new(0, 0.1, 0)
901
        BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
902
        spawn(function()
903
        repeat wait()
904
        lplayer.Character.Humanoid.PlatformStand = true
905
        if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
906
        SPEED = 50
907
        elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
908
        SPEED = 0
909
        end
910
        if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
911
        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
912
        lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
913
        elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
914
        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
915
        else
916
        BV.velocity = Vector3.new(0, 0.1, 0)
917
        end
918
        BG.cframe = workspace.CurrentCamera.CoordinateFrame
919
                until not flying
920
                CONTROL = {F = 0, B = 0, L = 0, R = 0}
921
                lCONTROL = {F = 0, B = 0, L = 0, R = 0}
922
                SPEED = 0
923
                BG:destroy()
924
                BV:destroy()
925
                lplayer.Character.Humanoid.PlatformStand = false
926
            end)
927
        end
928
    Mouse.KeyDown:connect(function(KEY)
929
        if KEY:lower() == 'w' then
930
            CONTROL.F = speedfly
931
        elseif KEY:lower() == 's' then
932
            CONTROL.B = -speedfly
933
        elseif KEY:lower() == 'a' then
934
            CONTROL.L = -speedfly
935
        elseif KEY:lower() == 'd' then
936
            CONTROL.R = speedfly
937
        end
938
    end)
939
    Mouse.KeyUp:connect(function(KEY)
940
        if KEY:lower() == 'w' then
941
            CONTROL.F = 0
942
        elseif KEY:lower() == 's' then
943
            CONTROL.B = 0
944
        elseif KEY:lower() == 'a' then
945
            CONTROL.L = 0
946
        elseif KEY:lower() == 'd' then
947
            CONTROL.R = 0
948
        end
949
    end)
950
    fly()
951
    end
952
    if string.sub(msg, 1, 6) == (prefix.."unfly") then
953
        flying = false
954
        lplayer.Character.Humanoid.PlatformStand = false
955
    end
956
    if string.sub(msg, 1, 6) == (prefix.."chat ") then
957
        game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer((string.sub(msg, 7)), "All")
958
    end
959
    if string.sub(msg, 1, 6) == (prefix.."spam ") then
960
        spamtext = (string.sub(msg, 7))
961
        spamming = true
962
    end
963
    if string.sub(msg, 1, 7) == (prefix.."unspam") then
964
        spamming = false
965
    end
966
    if string.sub(msg, 1, 10) == (prefix.."spamwait ") then
967
        spamdelay = (string.sub(msg, 11))
968
    end
969
    if string.sub(msg, 1, 8) == (prefix.."pmspam ") then
970
        for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
971
            pmspammed = v.Name
972
            spammingpm = true
973
        end
974
    end
975
    if string.sub(msg, 1, 9) == (prefix.."unpmspam") then
976
        spammingpm = false
977
    end
978
    if string.sub(msg, 1, 9) == (prefix.."cfreeze ") then
979
        for i,v in pairs(GetPlayer(string.sub(msg, 10))) do
980
            v.Character["Left Leg"].Anchored = true
981
            v.Character["Left Arm"].Anchored = true
982
            v.Character["Right Leg"].Anchored = true
983
            v.Character["Right Arm"].Anchored = true
984
            v.Character.Torso.Anchored = true
985
            v.Character.Head.Anchored = true
986
        end
987
    end
988
    if string.sub(msg, 1, 11) == (prefix.."uncfreeze ") then
989
        for i,v in pairs(GetPlayer(string.sub(msg, 12))) do
990
            v.Character["Left Leg"].Anchored = false
991
            v.Character["Left Arm"].Anchored = false
992
            v.Character["Right Leg"].Anchored = false
993
            v.Character["Right Arm"].Anchored = false
994
            v.Character.Torso.Anchored = false
995
            v.Character.Head.Anchored = false
996
        end
997
    end
998
    if string.sub(msg, 1, 9) == (prefix.."unlockws") then
999
        local a = game:GetService("Workspace"):getChildren()
1000
        for i = 1, #a do
1001
            if a[i].className == "Part" then
1002
                a[i].Locked = false
1003
            elseif a[i].className == "Model" then
1004
                local r = a[i]:getChildren()
1005
                for i = 1, #r do
1006
                    if r[i].className == "Part" then
1007
                    r[i].Locked = false
1008
                    end
1009
                end
1010
            end
1011
        end
1012
        game:GetService("StarterGui"):SetCore("SendNotification", {
1013
        Title = "Success!";
1014
        Text = "Workspace unlocked. Use ;lockws to lock.";
1015
        })
1016
    end
1017
    if string.sub(msg, 1, 7) == (prefix.."lockws") then
1018
        local a = game:GetService("Workspace"):getChildren()
1019
        for i = 1, #a do
1020
            if a[i].className == "Part" then
1021
                a[i].Locked = true
1022
            elseif a[i].className == "Model" then
1023
                local r = a[i]:getChildren()
1024
                for i = 1, #r do
1025
                    if r[i].className == "Part" then
1026
                    r[i].Locked = true
1027
                    end
1028
                end
1029
            end
1030
        end
1031
    end
1032
    if string.sub(msg, 1, 7) == (prefix.."btools") then
1033
        local Clone_T = Instance.new("HopperBin",lplayer.Backpack)
1034
        Clone_T.BinType = "Clone"
1035
        local Destruct = Instance.new("HopperBin",lplayer.Backpack)
1036
        Destruct.BinType = "Hammer"
1037
        local Hold_T = Instance.new("HopperBin",lplayer.Backpack)
1038
        Hold_T.BinType = "Grab"
1039
    end
1040
    if string.sub(msg, 1, 7) == (prefix.."pstand") then
1041
        lplayer.Character.Humanoid.PlatformStand = true
1042
    end
1043
    if string.sub(msg, 1, 9) == (prefix.."unpstand") then
1044
        lplayer.Character.Humanoid.PlatformStand = false
1045
    end
1046
    if string.sub(msg, 1, 10) == (prefix.."blockhead") then
1047
        lplayer.Character.Head.Mesh:Destroy()
1048
    end
1049
    if string.sub(msg, 1, 4) == (prefix.."sit") then
1050
        lplayer.Character.Humanoid.Sit = true
1051
    end
1052
    if string.sub(msg, 1, 10) == (prefix.."bringobj ") then
1053
        local function bringobjw()
1054
        for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
1055
        if obj.Name == (string.sub(msg, 11)) then
1056
        obj.CFrame = lplayer.Character.HumanoidRootPart.CFrame
1057
        obj.CanCollide = false
1058
        obj.Transparency = 0.7
1059
        wait()
1060
        obj.CFrame = lplayer.Character["Left Leg"].CFrame
1061
        wait()
1062
        obj.CFrame = lplayer.Character["Right Leg"].CFrame
1063
        wait()
1064
        obj.CFrame = lplayer.Character["Head"].CFrame
1065
        end
1066
        end
1067
        end
1068
        while wait() do
1069
            bringobjw()
1070
        end
1071
        game:GetService("StarterGui"):SetCore("SendNotification", {
1072
        Title = "BringObj";
1073
        Text = "BringObj enabled.";
1074
        })
1075
    end
1076
    if string.sub(msg, 1, 7) == (prefix.."wsvis ") then
1077
        vis = (string.sub(msg, 8))
1078
        local a = game:GetService("Workspace"):GetDescendants()
1079
        for i = 1, #a do
1080
            if a[i].className == "Part" then
1081
                a[i].Transparency = vis
1082
            elseif a[i].className == "Model" then
1083
                local r = a[i]:getChildren()
1084
                for i = 1, #r do
1085
                    if r[i].className == "Part" then
1086
                    r[i].Transparency = vis
1087
                    end
1088
                end
1089
            end
1090
        end
1091
    end
1092
    if string.sub(msg, 1, 11) == (prefix.."hypertotal") then
1093
        loadstring(game:GetObjects("rbxassetid://1255063809")[1].Source)()
1094
        game:GetService("StarterGui"):SetCore("SendNotification", {
1095
        Title = "Success!";
1096
        Text = "HyperTotal GUI Loaded!";
1097
        })
1098
    end
1099
    if string.sub(msg, 1, 5) == (prefix.."cmds") then
1100
        CMDSFRAME.Visible = true
1101
    end
1102
    if string.sub(msg, 1, 10) == (prefix.."rmeshhats") then
1103
        for i,v in pairs(lplayer.Character:GetChildren()) do
1104
            if (v:IsA("Accessory")) or (v:IsA("Hat")) then
1105
                v.Handle.Mesh:Destroy()
1106
            end
1107
        end
1108
    end
1109
    if string.sub(msg, 1, 10) == (prefix.."blockhats") then
1110
        for i,v in pairs(lplayer.Character:GetChildren()) do
1111
            if (v:IsA("Accessory")) or (v:IsA("Hat")) then
1112
                v.Handle.Mesh:Destroy()
1113
            end
1114
        end
1115
    end
1116
    if string.sub(msg, 1, 10) == (prefix.."rmeshtool") then
1117
        for i,v in pairs(lplayer.Character:GetChildren()) do
1118
            if (v:IsA("Tool")) then
1119
                v.Handle.Mesh:Destroy()
1120
            end
1121
        end
1122
    end
1123
    if string.sub(msg, 1, 10) == (prefix.."blocktool") then
1124
        for i,v in pairs(lplayer.Character:GetChildren()) do
1125
            if (v:IsA("Tool")) then
1126
                v.Handle.Mesh:Destroy()
1127
            end
1128
        end
1129
    end
1130
    if string.sub(msg, 1, 8) == (prefix.."spinner") then
1131
        local p = Instance.new("RocketPropulsion")
1132
        p.Parent = lplayer.Character.HumanoidRootPart
1133
        p.Name = "Spinner"
1134
        p.Target = lplayer.Character["Left Arm"]
1135
        p:Fire()
1136
        game:GetService("StarterGui"):SetCore("SendNotification", {
1137
        Title = "Spinner enabled";
1138
        Text = "Type ;nospinner to disable.";
1139
        })
1140
    end
1141
    if string.sub(msg, 1, 10) == (prefix.."nospinner") then
1142
        lplayer.Character.HumanoidRootPart.Spinner:Destroy()
1143
    end
1144
    if string.sub(msg, 1, 7) == (prefix.."reachd") then
1145
        for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
1146
            if v:isA("Tool") then
1147
                local a = Instance.new("SelectionBox",v.Handle)
1148
                a.Adornee = v.Handle
1149
                v.Handle.Size = Vector3.new(0.5,0.5,60)
1150
                v.GripPos = Vector3.new(0,0,0)
1151
                lplayer.Character.Humanoid:UnequipTools()
1152
            end
1153
        end
1154
        game:GetService("StarterGui"):SetCore("SendNotification", {
1155
        Title = "Reach applied!";
1156
        Text = "Applied to equipped sword. Use ;noreach to disable.";
1157
        })
1158
    end
1159
    if string.sub(msg, 1, 7) == (prefix.."reach ") then
1160
        for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
1161
            if v:isA("Tool") then
1162
                handleSize = v.Handle.Size
1163
                wait()
1164
                local a = Instance.new("SelectionBox",v.Handle)
1165
                a.Name = "a"
1166
                a.Adornee = v.Handle
1167
                v.Handle.Size = Vector3.new(0.5,0.5,(string.sub(msg, 8)))
1168
                v.GripPos = Vector3.new(0,0,0)
1169
                lplayer.Character.Humanoid:UnequipTools()
1170
            end
1171
        end
1172
        game:GetService("StarterGui"):SetCore("SendNotification", {
1173
        Title = "Reach applied!";
1174
        Text = "Applied to equipped sword. Use ;noreach to disable.";
1175
        })
1176
    end
1177
    if string.sub(msg, 1, 8) == (prefix.."noreach") then
1178
        for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
1179
            if v:isA("Tool") then
1180
                v.Handle.a:Destroy()
1181
                v.Handle.Size = handleSize
1182
            end
1183
        end
1184
        game:GetService("StarterGui"):SetCore("SendNotification", {
1185
        Title = "Reach removed!";
1186
        Text = "Removed reach from equipped sword.";
1187
        })
1188
    end
1189
    if string.sub(msg, 1, 7) == (prefix.."rkill ") then
1190
        for i,v in pairs(GetPlayer(string.sub(msg, 8)))do
1191
            lplayer.Character.Humanoid.Name = 1
1192
            local l = lplayer.Character["1"]:Clone()
1193
            l.Parent = lplayer.Character
1194
            l.Name = "Humanoid"
1195
            wait(0.1)
1196
            lplayer.Character["1"]:Destroy()
1197
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
1198
            lplayer.Character.Animate.Disabled = true
1199
            wait(0.1)
1200
            lplayer.Character.Animate.Disabled = false
1201
            lplayer.Character.Humanoid.DisplayDistanceType = "None"
1202
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
1203
            lplayer.Character.Humanoid:EquipTool(v)
1204
            end
1205
            wait(0.1)
1206
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
1207
            wait(0.2)
1208
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
1209
            wait(0.5)
1210
            lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
1211
            game:GetService("StarterGui"):SetCore("SendNotification", {
1212
            Title = "Tools needed!";
1213
            Text = "You need a tool in your backpack for this command!";
1214
            })
1215
        end
1216
    end
1217
    if string.sub(msg, 1, 7) == (prefix.."tp me ") then
1218
        for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
1219
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
1220
        end
1221
    end
1222
    if string.sub(msg, 1, 8) == (prefix.."cbring ") then
1223
        if (string.sub(msg, 9)) == "all" or (string.sub(msg, 9)) == "All" or (string.sub(msg, 9)) == "ALL" then
1224
            cbringall = true
1225
        else
1226
            for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
1227
                brplr = v.Name
1228
            end
1229
        end
1230
        cbring = true
1231
    end
1232
    if string.sub(msg, 1, 9) == (prefix.."uncbring") then
1233
        cbring = false
1234
        cbringall = false
1235
    end
1236
    if string.sub(msg, 1, 6) == (prefix.."swap ") then
1237
        for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
1238
            local NOWPLR = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
1239
            local NOW = lplayer.Character.HumanoidRootPart.CFrame
1240
            lplayer.Character.Humanoid.Name = 1
1241
            local l = lplayer.Character["1"]:Clone()
1242
            l.Parent = lplayer.Character
1243
            l.Name = "Humanoid"
1244
            wait(0.1)
1245
            lplayer.Character["1"]:Destroy()
1246
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
1247
            lplayer.Character.Animate.Disabled = true
1248
            wait(0.1)
1249
            lplayer.Character.Animate.Disabled = false
1250
            lplayer.Character.Humanoid.DisplayDistanceType = "None"
1251
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
1252
            lplayer.Character.Humanoid:EquipTool(v)
1253
            end
1254
            local function tp(player,player2)
1255
            local char1,char2=player.Character,player2.Character
1256
            if char1 and char2 then
1257
            char1:MoveTo(char2.Head.Position)
1258
            end
1259
            end
1260
            wait(0.1)
1261
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
1262
            wait(0.2)
1263
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
1264
            wait(0.5)
1265
            lplayer.Character.HumanoidRootPart.CFrame = NOW
1266
            wait(0.6)
1267
            tp(lplayer, game:GetService("Players")[v.Name])
1268
            wait(0.4)
1269
            lplayer.Character.HumanoidRootPart.CFrame = NOWPLR
1270
            game:GetService("StarterGui"):SetCore("SendNotification", {
1271
            Title = "Tools needed!";
1272
            Text = "You need a tool in your backpack for this command!";
1273
            })
1274
        end
1275
    end
1276
    if string.sub(msg, 1, 8) == (prefix.."glitch ") then
1277
        for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
1278
            lplayer.Character.Humanoid.Name = 1
1279
            local l = lplayer.Character["1"]:Clone()
1280
            l.Parent = lplayer.Character
1281
            l.Name = "Humanoid"
1282
            wait(0.1)
1283
            lplayer.Character["1"]:Destroy()
1284
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
1285
            lplayer.Character.Animate.Disabled = true
1286
            wait(0.1)
1287
            lplayer.Character.Animate.Disabled = false
1288
            lplayer.Character.Humanoid.DisplayDistanceType = "None"
1289
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
1290
            lplayer.Character.Humanoid:EquipTool(v)
1291
            end
1292
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
1293
            wait(0.3)
1294
            lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
1295
            wait(0.4)
1296
            b = Instance.new("BodyForce")
1297
            b.Parent = lplayer.Character.HumanoidRootPart
1298
            b.Name = "Glitch"
1299
            b.Force = Vector3.new(100000000,5000,0)
1300
            game:GetService("StarterGui"):SetCore("SendNotification", {
1301
            Title = "Tools needed!";
1302
            Text = "You need a tool in your backpack for this command!";
1303
            })
1304
        end
1305
    end
1306
    if string.sub(msg, 1, 9) == (prefix.."unglitch") then
1307
        lplayer.Character.HumanoidRootPart.Glitch:Destroy()
1308
        lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(10000,0,10000)
1309
        b = Instance.new("BodyForce")
1310
        b.Parent = lplayer.Character.HumanoidRootPart
1311
        b.Name = "unGlitch"
1312
        b.Force = Vector3.new(0,-5000000,0)
1313
        wait(2)
1314
        lplayer.Character.HumanoidRootPart.unGlitch:Destroy()
1315
    end
1316
    if string.sub(msg, 1, 9) == (prefix.."grespawn") then
1317
        lplayer.Character.Humanoid.Health = 0
1318
        wait(1)
1319
        lplayer.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
1320
        lplayer.Character.Torso.CFrame = CFrame.new(1000000,0,1000000)
1321
    end
1322
    if string.sub(msg, 1, 9) == (prefix.."explorer") then
1323
        loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
1324
        game:GetService("StarterGui"):SetCore("SendNotification", {
1325
        Title = "Success!";
1326
        Text = "DEX Explorer has loaded.";
1327
        })
1328
    end
1329
    if string.sub(msg, 1, 6) == (prefix.."anim ") then
1330
        local Anim = Instance.new("Animation")
1331
        Anim.AnimationId = "rbxassetid://"..(string.sub(msg, 7))
1332
        local track = lplayer.Character.Humanoid:LoadAnimation(Anim)
1333
        track:Play(.1, 1, 1)
1334
    end
1335
    if string.sub(msg, 1, 8) == (prefix.."animgui") then
1336
        loadstring(game:GetObjects("rbxassetid://1202558084")[1].Source)()
1337
        game:GetService("StarterGui"):SetCore("SendNotification", {
1338
        Title = "Success!";
1339
        Text = "Energize Animations GUI has loaded.";
1340
        })
1341
    end
1342
    if string.sub(msg, 1, 8) == (prefix.."savepos") then
1343
        saved = lplayer.Character.HumanoidRootPart.CFrame
1344
        game:GetService("StarterGui"):SetCore("SendNotification", {
1345
        Title = "Position Saved";
1346
        Text = "Use ;loadpos to return to saved position.";
1347
        })
1348
    end
1349
    if string.sub(msg, 1, 8) == (prefix.."loadpos") then
1350
        lplayer.Character.HumanoidRootPart.CFrame = saved
1351
    end
1352
    if string.sub(msg, 1, 6) == (prefix.."bang ") then
1353
        for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
1354
            local Anim2 = Instance.new("Animation")
1355
            Anim2.AnimationId = "rbxassetid://148840371"
1356
            local track2 = lplayer.Character.Humanoid:LoadAnimation(Anim2)
1357
            track2:Play(.1, 1, 1)
1358
            bplrr = v.Name
1359
            banpl = true
1360
        end
1361
    end
1362
    if string.sub(msg, 1, 7) == (prefix.."unbang") then
1363
        banpl = false
1364
    end
1365
    if string.sub(msg, 1, 10) == (prefix.."bringmod ") then
1366
        local function bringmodw()
1367
        for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
1368
        if obj.Name == (string.sub(msg, 11)) then
1369
        for i,ch in pairs(obj:GetDescendants()) do
1370
        if (ch:IsA("BasePart")) then
1371
        ch.CFrame = lplayer.Character.HumanoidRootPart.CFrame
1372
        ch.CanCollide = false
1373
        ch.Transparency = 0.7
1374
        wait()
1375
        ch.CFrame = lplayer.Character["Left Leg"].CFrame
1376
        wait()
1377
        ch.CFrame = lplayer.Character["Right Leg"].CFrame
1378
        wait()
1379
        ch.CFrame = lplayer.Character["Head"].CFrame
1380
        end
1381
        end
1382
        end
1383
        end
1384
        end
1385
        while wait() do
1386
            bringmodw()
1387
        end
1388
        game:GetService("StarterGui"):SetCore("SendNotification", {
1389
        Title = "BringMod";
1390
        Text = "BringMod enabled.";
1391
        })
1392
    end
1393
    if string.sub(msg, 1, 8) == (prefix.."respawn") then
1394
        local mod = Instance.new('Model', workspace) mod.Name = 're '..lplayer.Name
1395
        local hum = Instance.new('Humanoid', mod)
1396
        local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
1397
        lplayer.Character = mod
1398
    end
1399
    if string.sub(msg, 1, 9) == (prefix.."shutdown") then
1400
        game:GetService'RunService'.Stepped:Connect(function()
1401
        pcall(function()
1402
            for i,v in pairs(game:GetService'Players':GetPlayers()) do
1403
                if v.Character ~= nil and v.Character:FindFirstChild'Head' then
1404
                    for _,x in pairs(v.Character.Head:GetChildren()) do
1405
                        if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true) end
1406
                    end
1407
                end
1408
            end
1409
        end)
1410
        end)
1411
        game:GetService("StarterGui"):SetCore("SendNotification", {
1412
        Title = "Attempting Shutdown";
1413
        Text = "Shutdown Attempt has begun.";
1414
        })
1415
    end
1416
    if string.sub(msg, 1, 8) == (prefix.."delobj ") then
1417
        objtodel = (string.sub(msg, 9))
1418
        for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
1419
            if v.Name == objtodel then
1420
                v:Destroy()
1421
            end
1422
        end
1423
    end
1424
    if string.sub(msg, 1, 8) == (prefix.."getplrs") then
1425
        for i,v in pairs(game:GetService("Players"):GetPlayers())do
1426
            print(v)
1427
        end
1428
        game:GetService("StarterGui"):SetCore("SendNotification", {
1429
        Title = "Printed";
1430
        Text = "Players have been printed to console. (F9)";
1431
        })
1432
    end
1433
    if string.sub(msg, 1, 9) == (prefix.."deldecal") then
1434
        for i,v in pairs(game:GetService("Workspace"):GetDescendants())do
1435
            if (v:IsA("Decal")) then
1436
                v:Destroy()
1437
            end
1438
        end
1439
    end
1440
    if string.sub(msg, 1, 11) == (prefix.."opfinality") then
1441
        loadstring(game:GetObjects("rbxassetid://1294358929")[1].Source)()
1442
        game:GetService("StarterGui"):SetCore("SendNotification", {
1443
        Title = "Success!";
1444
        Text = "OpFinality GUI has loaded.";
1445
        })
1446
    end
1447
    if string.sub(msg, 1, 8) == (prefix.."remotes") then
1448
        remotes = true
1449
        added = true
1450
        game.DescendantAdded:connect(function(rmt)
1451
        if added == true then
1452
        if remotes == true then
1453
        if rmt:IsA("RemoteEvent") then
1454
        print("A RemoteEvent was added!")
1455
        print(" game." .. rmt:GetFullName() .. " | RemoteEvent")
1456
        print(" game." .. rmt:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
1457
        end end end
1458
        end)
1459
        game.DescendantAdded:connect(function(rmtfnctn)
1460
        if added == true then
1461
        if remotes == true then
1462
        if rmtfnctn:IsA("RemoteFunction") then
1463
        warn("A RemoteFunction was added!")
1464
        warn(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction")
1465
        print(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
1466
        end end end
1467
        end)
1468
       
1469
        game.DescendantAdded:connect(function(bndfnctn)
1470
        if added == true then
1471
        if binds == true then
1472
        if bndfnctn:IsA("BindableFunction") then
1473
        print("A BindableFunction was added!")
1474
        print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction")
1475
        print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
1476
        end end end
1477
        end)
1478
       
1479
        game.DescendantAdded:connect(function(bnd)
1480
        if added == true then
1481
        if binds == true then
1482
        if bnd:IsA("BindableEvent") then
1483
        warn("A BindableEvent was added!")
1484
        warn(" game." .. bnd:GetFullName() .. " | BindableEvent")
1485
        print(" game." .. bnd:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
1486
        end end end
1487
        end)
1488
       
1489
       
1490
        if binds == true then
1491
        for i,v in pairs(game:GetDescendants()) do
1492
        if v:IsA("BindableFunction") then
1493
        print(" game." .. v:GetFullName() .. " | BindableFunction")
1494
        print(" game." .. v:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
1495
        end end
1496
        for i,v in pairs(game:GetDescendants()) do
1497
        if v:IsA("BindableEvent") then
1498
        warn(" game." .. v:GetFullName() .. " | BindableEvent")
1499
        print(" game." .. v:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
1500
        end end
1501
        else
1502
        print("Off")
1503
        end
1504
        if remotes == true then
1505
        for i,v in pairs(game:GetDescendants()) do
1506
        if v:IsA("RemoteFunction") then
1507
        warn(" game." .. v:GetFullName() .. " | RemoteFunction")
1508
        print(" game." .. v:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
1509
        end end
1510
        wait()
1511
        for i,v in pairs(game:GetDescendants()) do
1512
        if v:IsA("RemoteEvent") then
1513
        print(" game." .. v:GetFullName() .. " | RemoteEvent")
1514
        print(" game." .. v:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
1515
        end end
1516
        else
1517
        print("Off")
1518
        end
1519
        game:GetService("StarterGui"):SetCore("SendNotification", {
1520
        Title = "Printing Remotes";
1521
        Text = "Type ;noremotes to disable.";
1522
        })
1523
    end
1524
    if string.sub(msg, 1, 10) == (prefix.."noremotes") then
1525
        remotes = false
1526
        added = false
1527
        game:GetService("StarterGui"):SetCore("SendNotification", {
1528
        Title = "Printing Remotes Disabled";
1529
        Text = "Type ;remotes to enable.";
1530
        })
1531
    end
1532
    if string.sub(msg, 1, 10) == (prefix.."tpdefault") then
1533
        spin = false
1534
        followed = false
1535
        traill = false
1536
        noclip = false
1537
        annoying = false
1538
        hwalk = false
1539
        cbringing = false
1540
    end
1541
    if string.sub(msg, 1, 8) == (prefix.."stopsit") then
1542
        stopsitting = true
1543
    end
1544
    if string.sub(msg, 1, 6) == (prefix.."gosit") then
1545
        stopsitting = false
1546
    end
1547
    if string.sub(msg, 1, 8) == (prefix.."version") then
1548
        print(adminversion)
1549
        game:GetService("StarterGui"):SetCore("SendNotification", {
1550
        Title = "Version";
1551
        Text = adminversion;
1552
        })
1553
    end
1554
    if string.sub(msg, 1, 8) == (prefix.."clicktp") then
1555
        clickgoto = true
1556
        game:GetService("StarterGui"):SetCore("SendNotification", {
1557
        Title = "Click TP";
1558
        Text = "Press E to teleport to mouse position, ;noclicktp to stop";
1559
        })
1560
    end
1561
    if string.sub(msg, 1, 9) == (prefix.."clickdel") then
1562
        clickdel = true
1563
        game:GetService("StarterGui"):SetCore("SendNotification", {
1564
        Title = "Click Delete";
1565
        Text = "Press E to delete part at mouse, ;noclickdel to stop";
1566
        })
1567
    end
1568
    if string.sub(msg, 1, 11) == (prefix.."noclickdel") then
1569
        clickdel = false
1570
        game:GetService("StarterGui"):SetCore("SendNotification", {
1571
        Title = "Click Delete";
1572
        Text = "Click delete has been disabled.";
1573
        })
1574
    end
1575
    if string.sub(msg, 1, 10) == (prefix.."noclicktp") then
1576
        clickgoto = false
1577
        game:GetService("StarterGui"):SetCore("SendNotification", {
1578
        Title = "Click TP";
1579
        Text = "Click TP has been disabled.";
1580
        })
1581
    end
1582
    if string.sub(msg, 1, 8) == (prefix.."toolson") then
1583
        gettingtools = true
1584
        game:GetService("StarterGui"):SetCore("SendNotification", {
1585
        Title = "Tools Enabled";
1586
        Text = "Automatically colleting tools dropped.";
1587
        })
1588
    end
1589
    if string.sub(msg, 1, 9) == (prefix.."toolsoff") then
1590
        gettingtools = false
1591
        game:GetService("StarterGui"):SetCore("SendNotification", {
1592
        Title = "Tools Disabled";
1593
        Text = "Click TP has been disabled.";
1594
        })
1595
    end
1596
    if string.sub(msg, 1, 10) == (prefix.."delcmdbar") then
1597
        ScreenGui:Destroy()
1598
    end
1599
    if string.sub(msg, 1, 6) == (prefix.."reset") then
1600
        lplayer.Character.Head:Destroy()
1601
    end
1602
    if string.sub(msg, 1, 7) == (prefix.."state ") then
1603
        statechosen = string.sub(msg, 8)
1604
        changingstate = true
1605
    end
1606
    if string.sub(msg, 1, 9) == (prefix.."gravity ") then
1607
        game:GetService("Workspace").Gravity = string.sub(msg, 10)
1608
    end
1609
    if string.sub(msg, 1, 10) == (prefix.."looprhats") then
1610
        removingmeshhats = true
1611
    end
1612
    if string.sub(msg, 1, 12) == (prefix.."unlooprhats") then
1613
        removingmeshhats = false
1614
    end
1615
    if string.sub(msg, 1, 10) == (prefix.."looprtool") then
1616
        removingmeshtool = true
1617
    end
1618
    if string.sub(msg, 1, 12) == (prefix.."unlooprtool") then
1619
        removingmeshtool = false
1620
    end
1621
    if string.sub(msg, 1, 10) == (prefix.."givetool ") then
1622
        for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do
1623
            if v:IsA("Tool") then
1624
                for i,player in pairs(GetPlayer(string.sub(msg, 11))) do
1625
                    v.Parent = player.Character
1626
                end
1627
            end
1628
        end
1629
    end
1630
    if string.sub(msg, 1, 14) == (prefix.."givealltools ") then
1631
        for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetDescendants()) do
1632
            if v:IsA("Tool") then
1633
                v.Parent = lplayer.Character
1634
                wait()
1635
                for i,player in pairs(GetPlayer(string.sub(msg, 15))) do
1636
                    v.Parent = player.Character
1637
                end
1638
            end
1639
        end
1640
    end
1641
    if string.sub(msg, 1, 5) == (prefix.."age ") then
1642
        for i,player in pairs(GetPlayer(string.sub(msg, 6))) do
1643
            game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account Age: "..player.AccountAge.." days!", "All")
1644
        end
1645
    end
1646
    if string.sub(msg, 1, 4) == (prefix.."id ") then
1647
        for i,player in pairs(GetPlayer(string.sub(msg, 5))) do
1648
            game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account ID: "..player.UserId, "All")
1649
        end
1650
    end
1651
    if string.sub(msg, 1, 6) == (prefix..".age ") then
1652
        for i,player in pairs(GetPlayer(string.sub(msg, 7))) do
1653
            game:GetService("StarterGui"):SetCore("SendNotification", {
1654
            Title = player.AccountAge.." Days";
1655
            Text = "Account age of "..player.Name;
1656
            })
1657
        end
1658
    end
1659
    if string.sub(msg, 1, 5) == (prefix..".id ") then
1660
        for i,player in pairs(GetPlayer(string.sub(msg, 6))) do
1661
            game:GetService("StarterGui"):SetCore("SendNotification", {
1662
            Title = player.UserId.." ID";
1663
            Text = "Account ID of "..player.Name;
1664
            })
1665
        end
1666
    end
1667
    if string.sub(msg, 1, 7) == (prefix.."gameid") then
1668
        game:GetService("StarterGui"):SetCore("SendNotification", {
1669
        Title = "Game ID";
1670
        Text = "Game ID: ".. game.GameId;
1671
        })
1672
    end
1673
    if string.sub(msg, 1, 4) == (prefix.."pgs") then
1674
        local pgscheck = game:GetService("Workspace"):PGSIsEnabled()
1675
        if pgscheck == true then
1676
            game:GetService("StarterGui"):SetCore("SendNotification", {
1677
            Title = "PGSPhysicsSolverEnabled";
1678
            Text = "PGS is Enabled!";
1679
            })
1680
        else
1681
            game:GetService("StarterGui"):SetCore("SendNotification", {
1682
            Title = "PGSPhysicsSolverEnabled";
1683
            Text = "PGS is Disabled!";
1684
            })
1685
        end
1686
    end
1687
    if string.sub(msg, 1, 12) == (prefix.."removeinvis") then
1688
        for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
1689
            if v:IsA("Part") then
1690
                if v.Transparency == 1 then
1691
                    if v.Name ~= "HumanoidRootPart" then
1692
                        v:Destroy()
1693
                    end
1694
                end
1695
            end
1696
        end
1697
    end
1698
    if string.sub(msg, 1, 10) == (prefix.."removefog") then
1699
        game:GetService("Lighting").FogStart = 0
1700
        game:GetService("Lighting").FogEnd = 9999999999999
1701
    end
1702
    if string.sub(msg, 1, 8) == (prefix.."disable") then
1703
        lplayer.Character.Humanoid.Parent = lplayer
1704
    end
1705
    if string.sub(msg, 1, 7) == (prefix.."enable") then
1706
        lplayer.Humanoid.Parent = lplayer.Character
1707
    end
1708
    if string.sub(msg, 1, 8) == (prefix.."prefix ") then
1709
        prefix = (string.sub(msg, 9, 9))
1710
        wait(0.1)
1711
        change()
1712
        wait(0.1)
1713
        game:GetService("StarterGui"):SetCore("SendNotification", {
1714
        Title = "Prefix changed!";
1715
        Text = "Prefix is now "..prefix..". Use ;resetprefix to reset to ;";
1716
        })
1717
    end
1718
    if string.sub(msg, 1, 12) == (";resetprefix") then
1719
        prefix = ";"
1720
        wait(0.1)
1721
        change()
1722
        wait(0.1)
1723
        game:GetService("StarterGui"):SetCore("SendNotification", {
1724
        Title = "Prefix changed!";
1725
        Text = "Prefix is now "..prefix..". Make sure it's one key!";
1726
        })
1727
    end
1728
    if string.sub(msg, 1, 10) == (prefix.."flyspeed ") then
1729
        speedfly = string.sub(msg, 11)
1730
        wait()
1731
        change()
1732
    end
1733
    if string.sub(msg, 1, 8) == (prefix.."carpet ") then
1734
        for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
1735
            local Anim3 = Instance.new("Animation")
1736
            Anim3.AnimationId = "rbxassetid://282574440"
1737
            local track3 = lplayer.Character.Humanoid:LoadAnimation(Anim3)
1738
            track3:Play(.1, 1, 1)
1739
            bplrr = v.Name
1740
            banpl = true
1741
        end
1742
    end
1743
    if string.sub(msg, 1, 9) == (prefix.."uncarpet") then
1744
        banpl = false
1745
    end
1746
    if string.sub(msg, 1, 7) == (prefix.."stare ") then
1747
        for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
1748
            staring = true
1749
            stareplr = v
1750
        end
1751
    end
1752
    if string.sub(msg, 1, 8) == (prefix.."unstare") then
1753
        staring = false
1754
    end
1755
    if string.sub(msg, 1, 8) == (prefix.."logchat") then
1756
        chatlogs = true
1757
        game:GetService("StarterGui"):SetCore("SendNotification", {
1758
        Title = "LogChat enabled";
1759
        Text = "Now logging all player chat.";
1760
        })
1761
    end
1762
    if string.sub(msg, 1, 10) == (prefix.."unlogchat") then
1763
        chatlogs = false
1764
        game:GetService("StarterGui"):SetCore("SendNotification", {
1765
        Title = "LogChat disabled";
1766
        Text = "Stopped logging all player chat.";
1767
        })
1768
    end
1769
    if string.sub(msg, 1, 7) == (prefix.."fixcam") then
1770
        game:GetService("Workspace").CurrentCamera:Destroy()
1771
        wait(0.1)
1772
        game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
1773
        game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
1774
        lplayer.CameraMinZoomDistance = 0.5
1775
        lplayer.CameraMaxZoomDistance = 400
1776
        lplayer.CameraMode = "Classic"
1777
    end
1778
    if string.sub(msg, 1, 8) == (prefix.."unstate") then
1779
        changingstate = false
1780
    end
1781
end)
1782
 
1783
local function tp()
1784
    for i, player in ipairs(game:GetService("Players"):GetPlayers()) do
1785
        if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
1786
            if player.Name == brplr then
1787
                player.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame + lplayer.Character.HumanoidRootPart.CFrame.lookVector * 2
1788
            end
1789
        end
1790
    end
1791
end
1792
local function tpall()
1793
    for i, player in ipairs(game:GetService("Players"):GetPlayers()) do
1794
        if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
1795
            player.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame + lplayer.Character.HumanoidRootPart.CFrame.lookVector * 3
1796
        end
1797
    end
1798
end
1799
spawn(function()
1800
    while wait(spamdelay) do
1801
        if spamming == true then
1802
            game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamtext, "All")
1803
        end
1804
    end
1805
end)
1806
spawn(function()
1807
    while wait(spamdelay) do
1808
        if spammingpm == true then
1809
            game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..pmspammed.." @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", "All")
1810
        end
1811
    end
1812
end)
1813
spawn(function()
1814
    while wait() do
1815
        if cbring == true then
1816
            tp()
1817
        end
1818
    end
1819
end)
1820
spawn(function()
1821
    while wait() do
1822
        if cbringall == true then
1823
            tpall()
1824
        end
1825
    end
1826
end)
1827
 
1828
Mouse.KeyDown:connect(function(Key)
1829
    if Key == prefix then
1830
        CMDBAR:CaptureFocus()
1831
    end
1832
end)
1833
 
1834
CMDBAR.FocusLost:connect(function(enterPressed)
1835
    if enterPressed then
1836
        if string.sub(CMDBAR.Text, 1, 5) == ("kill ") then
1837
            if string.sub(CMDBAR.Text, 6) == "me" then
1838
                lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(100000,0,100000)
1839
            else
1840
                for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6)))do
1841
                    local NOW = lplayer.Character.HumanoidRootPart.CFrame
1842
                    lplayer.Character.Humanoid.Name = 1
1843
                    local l = lplayer.Character["1"]:Clone()
1844
                    l.Parent = lplayer.Character
1845
                    l.Name = "Humanoid"
1846
                    wait(0.1)
1847
                    lplayer.Character["1"]:Destroy()
1848
                    game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
1849
                    lplayer.Character.Animate.Disabled = true
1850
                    wait(0.1)
1851
                    lplayer.Character.Animate.Disabled = false
1852
                    lplayer.Character.Humanoid.DisplayDistanceType = "None"
1853
                    for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
1854
                    lplayer.Character.Humanoid:EquipTool(v)
1855
                    end
1856
                    local function tp(player,player2)
1857
                    local char1,char2=player.Character,player2.Character
1858
                    if char1 and char2 then
1859
                    char1:MoveTo(char2.Head.Position)
1860
                    end
1861
                    end
1862
                    wait(0.1)
1863
                    lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
1864
                    wait(0.2)
1865
                    lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
1866
                    wait(0.5)
1867
                    lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
1868
                    wait(0.7)
1869
                    tp(lplayer,game:GetService("Players")[v.Name])
1870
                    wait(0.7)
1871
                    lplayer.Character.HumanoidRootPart.CFrame = NOW
1872
                    game:GetService("StarterGui"):SetCore("SendNotification", {
1873
                    Title = "Tools needed!";
1874
                    Text = "You need a tool in your backpack for this command!";
1875
                    })
1876
                end
1877
            end
1878
        end
1879
        if string.sub(CMDBAR.Text, 1, 6) == ("bring ") then
1880
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7)))do
1881
                local NOW = lplayer.Character.HumanoidRootPart.CFrame
1882
                lplayer.Character.Humanoid.Name = 1
1883
                local l = lplayer.Character["1"]:Clone()
1884
                l.Parent = lplayer.Character
1885
                l.Name = "Humanoid"
1886
                wait(0.1)
1887
                lplayer.Character["1"]:Destroy()
1888
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
1889
                lplayer.Character.Animate.Disabled = true
1890
                wait(0.1)
1891
                lplayer.Character.Animate.Disabled = false
1892
                lplayer.Character.Humanoid.DisplayDistanceType = "None"
1893
                for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
1894
                lplayer.Character.Humanoid:EquipTool(v)
1895
                end
1896
                local function tp(player,player2)
1897
                local char1,char2=player.Character,player2.Character
1898
                if char1 and char2 then
1899
                char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
1900
                end
1901
                end
1902
                local function getout(player,player2)
1903
                local char1,char2=player.Character,player2.Character
1904
                if char1 and char2 then
1905
                char1:MoveTo(char2.Head.Position)
1906
                end
1907
                end
1908
                tp(game:GetService("Players")[v.Name], lplayer)
1909
                wait(0.2)
1910
                tp(game:GetService("Players")[v.Name], lplayer)
1911
                wait(0.5)
1912
                lplayer.Character.HumanoidRootPart.CFrame = NOW
1913
                wait(0.5)
1914
                getout(lplayer, game:GetService("Players")[v.Name])
1915
                wait(0.3)
1916
                lplayer.Character.HumanoidRootPart.CFrame = NOW
1917
                game:GetService("StarterGui"):SetCore("SendNotification", {
1918
                Title = "Tools needed!";
1919
                Text = "You need a tool in your backpack for this command!";
1920
                })
1921
            end
1922
        end
1923
        if string.sub(CMDBAR.Text, 1, 5) == ("spin ") then
1924
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
1925
                lplayer.Character.Humanoid.Name = 1
1926
                local l = lplayer.Character["1"]:Clone()
1927
                l.Parent = lplayer.Character
1928
                l.Name = "Humanoid"
1929
                wait(0.1)
1930
                lplayer.Character["1"]:Destroy()
1931
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
1932
                lplayer.Character.Animate.Disabled = true
1933
                wait(0.1)
1934
                lplayer.Character.Animate.Disabled = false
1935
                lplayer.Character.Humanoid.DisplayDistanceType = "None"
1936
                for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
1937
                lplayer.Character.Humanoid:EquipTool(v)
1938
                end
1939
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
1940
                spinplr = v
1941
                wait(0.5)
1942
                spin = true
1943
                game:GetService("StarterGui"):SetCore("SendNotification", {
1944
                Title = "Tools needed!";
1945
                Text = "You need a tool in your backpack for this command!";
1946
                })
1947
            end
1948
        end
1949
        if string.sub(CMDBAR.Text, 1, 6) == ("unspin") then
1950
            spin = false
1951
        end
1952
        if string.sub(CMDBAR.Text, 1, 7) == ("attach ") then
1953
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
1954
                lplayer.Character.Humanoid.Name = 1
1955
                local l = lplayer.Character["1"]:Clone()
1956
                l.Parent = lplayer.Character
1957
                l.Name = "Humanoid"
1958
                wait(0.1)
1959
                lplayer.Character["1"]:Destroy()
1960
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
1961
                lplayer.Character.Animate.Disabled = true
1962
                wait(0.1)
1963
                lplayer.Character.Animate.Disabled = false
1964
                lplayer.Character.Humanoid.DisplayDistanceType = "None"
1965
                for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
1966
                lplayer.Character.Humanoid:EquipTool(v)
1967
                end
1968
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
1969
                wait(0.3)
1970
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
1971
                attplr = v
1972
                game:GetService("StarterGui"):SetCore("SendNotification", {
1973
                Title = "Tools needed!";
1974
                Text = "You need a tool in your backpack for this command!";
1975
                })
1976
            end
1977
        end
1978
        if string.sub(CMDBAR.Text, 1, 9) == ("unattach ") then
1979
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
1980
                local function getout(player,player2)
1981
                local char1,char2=player.Character,player2.Character
1982
                if char1 and char2 then
1983
                char1:MoveTo(char2.Head.Position)
1984
                end
1985
                end
1986
                getout(lplayer, game:GetService("Players")[v.Name])
1987
            end
1988
        end
1989
        if string.sub(CMDBAR.Text, 1, 7) == ("follow ") then
1990
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
1991
                followed = true
1992
                flwplr = v
1993
            end
1994
        end
1995
        if string.sub(CMDBAR.Text, 1, 8) == ("unfollow") then
1996
            followed = false
1997
        end
1998
        if string.sub(CMDBAR.Text, 1, 9) == ("freefall ") then
1999
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
2000
                local NOW = lplayer.Character.HumanoidRootPart.CFrame
2001
                lplayer.Character.Humanoid.Name = 1
2002
                local l = lplayer.Character["1"]:Clone()
2003
                l.Parent = lplayer.Character
2004
                l.Name = "Humanoid"
2005
                wait(0.1)
2006
                lplayer.Character["1"]:Destroy()
2007
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
2008
                lplayer.Character.Animate.Disabled = true
2009
                wait(0.1)
2010
                lplayer.Character.Animate.Disabled = false
2011
                lplayer.Character.Humanoid.DisplayDistanceType = "None"
2012
                for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
2013
                lplayer.Character.Humanoid:EquipTool(v)
2014
                end
2015
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2016
                wait(0.2)
2017
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2018
                wait(0.6)
2019
                lplayer.Character.HumanoidRootPart.CFrame = NOW
2020
                wait(0.6)
2021
                lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
2022
                game:GetService("StarterGui"):SetCore("SendNotification", {
2023
                Title = "Tools needed!";
2024
                Text = "You need a tool in your backpack for this command!";
2025
                })
2026
            end
2027
        end
2028
        if string.sub(CMDBAR.Text, 1, 6) == ("trail ") then
2029
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
2030
                traill = true
2031
                trlplr = v
2032
            end
2033
        end
2034
        if string.sub(CMDBAR.Text, 1, 7) == ("untrail") then
2035
            traill = false
2036
        end
2037
        if string.sub(CMDBAR.Text, 1, 6) == ("orbit ") then
2038
            if string.sub(CMDBAR.Text, 7) == "all" or string.sub(CMDBAR.Text, 7) == "others" or string.sub(CMDBAR.Text, 7) == "me" then
2039
                lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
2040
            else
2041
                for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
2042
                    local o = Instance.new("RocketPropulsion")
2043
                    o.Parent = lplayer.Character.HumanoidRootPart
2044
                    o.Name = "Orbit"
2045
                    o.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
2046
                    o:Fire()
2047
                    noclip = true
2048
                end
2049
            end
2050
        end
2051
        if string.sub(CMDBAR.Text, 1, 7) == ("unorbit") then
2052
            lplayer.Character.HumanoidRootPart.Orbit:Destroy()
2053
            noclip = false
2054
        end
2055
        if string.sub(CMDBAR.Text, 1, 6) == ("fling ") then
2056
            if string.sub(CMDBAR.Text, 7) == "all" or string.sub(CMDBAR.Text, 7) == "others" or string.sub(CMDBAR.Text, 7) == "me" then
2057
                lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
2058
            else
2059
                for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
2060
                    local y = Instance.new("RocketPropulsion")
2061
                    y.Parent = lplayer.Character.HumanoidRootPart
2062
                    y.CartoonFactor = 1
2063
                    y.MaxThrust = 800000
2064
                    y.MaxSpeed = 1000
2065
                    y.ThrustP = 200000
2066
                    y.Name = "Fling"
2067
                    game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
2068
                    y.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
2069
                    y:Fire()
2070
                    noclip = true
2071
                end
2072
            end
2073
        end
2074
        if string.sub(CMDBAR.Text, 1, 7) == ("unfling") then
2075
            noclip = false
2076
            lplayer.Character.HumanoidRootPart.Fling:Destroy()
2077
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
2078
            wait(0.4)
2079
            lplayer.Character.HumanoidRootPart.Fling:Destroy()
2080
        end
2081
        if string.sub(CMDBAR.Text, 1, 7) == ("fecheck") then
2082
            if game:GetService("Workspace").FilteringEnabled == true then
2083
                warn("FE is Enabled (Filtering Enabled)")
2084
                game:GetService("StarterGui"):SetCore("SendNotification", {
2085
                    Title = "FE is Enabled";
2086
                    Text = "Filtering Enabled. Enjoy using Reviz Admin!";
2087
                })
2088
            else
2089
                warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.")
2090
                game:GetService("StarterGui"):SetCore("SendNotification", {
2091
                    Title = "FE is Disabled";
2092
                    Text = "Filtering Disabled. Consider using a different admin script.";
2093
                })
2094
            end
2095
        end
2096
        if string.sub(CMDBAR.Text, 1, 5) == ("void ") then
2097
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
2098
                lplayer.Character.Humanoid.Name = 1
2099
                local l = lplayer.Character["1"]:Clone()
2100
                l.Parent = lplayer.Character
2101
                l.Name = "Humanoid"
2102
                wait(0.1)
2103
                lplayer.Character["1"]:Destroy()
2104
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
2105
                lplayer.Character.Animate.Disabled = true
2106
                wait(0.1)
2107
                lplayer.Character.Animate.Disabled = false
2108
                lplayer.Character.Humanoid.DisplayDistanceType = "None"
2109
                for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
2110
                lplayer.Character.Humanoid:EquipTool(v)
2111
                end
2112
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2113
                wait(0.2)
2114
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2115
                wait(0.6)
2116
                lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(999999999999999,0,999999999999999)
2117
                game:GetService("StarterGui"):SetCore("SendNotification", {
2118
                Title = "Tools needed!";
2119
                Text = "You need a tool in your backpack for this command!";
2120
                })
2121
            end
2122
        end
2123
        if string.sub(CMDBAR.Text, 1, 6) == ("noclip") then
2124
            noclip = true
2125
            game:GetService("StarterGui"):SetCore("SendNotification", {
2126
            Title = "Noclip enabled";
2127
            Text = "Type ;clip to disable";
2128
            })
2129
        end
2130
        if string.sub(CMDBAR.Text, 1, 4) == ("clip") then
2131
            noclip = false
2132
            game:GetService("StarterGui"):SetCore("SendNotification", {
2133
            Title = "Noclip disabled";
2134
            Text = "Type ;noclip to enable";
2135
            })
2136
        end
2137
        if string.sub(CMDBAR.Text, 1, 6) == ("speed ") then
2138
            lplayer.Character.Humanoid.WalkSpeed = (string.sub(CMDBAR.Text, 7))
2139
        end
2140
        if string.sub(CMDBAR.Text, 1, 3) == ("ws ") then
2141
            lplayer.Character.Humanoid.WalkSpeed = (string.sub(CMDBAR.Text, 4))
2142
        end
2143
        if string.sub(CMDBAR.Text, 1, 10) == ("hipheight ") then
2144
            lplayer.Character.Humanoid.HipHeight = (string.sub(CMDBAR.Text, 11))
2145
        end
2146
        if string.sub(CMDBAR.Text, 1, 3) == ("hh ") then
2147
            lplayer.Character.Humanoid.HipHeight = (string.sub(CMDBAR.Text, 4))
2148
        end
2149
        if string.sub(CMDBAR.Text, 1, 10) == ("jumppower ") then
2150
            lplayer.Character.Humanoid.JumpPower = (string.sub(CMDBAR.Text, 11))
2151
        end
2152
        if string.sub(CMDBAR.Text, 1, 3) == ("jp ") then
2153
            lplayer.Character.Humanoid.JumpPower = (string.sub(CMDBAR.Text, 4))
2154
        end
2155
        if string.sub(CMDBAR.Text, 1, 7) == ("default") then
2156
            lplayer.Character.Humanoid.JumpPower = 50
2157
            lplayer.Character.Humanoid.WalkSpeed = 16
2158
            lplayer.Character.Humanoid.HipHeight = 0
2159
        end
2160
        if string.sub(CMDBAR.Text, 1, 6) == ("annoy ") then
2161
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
2162
                annoying = true
2163
                annplr = v
2164
            end
2165
        end
2166
        if string.sub(CMDBAR.Text, 1, 7) == ("unannoy") then
2167
            annoying = false
2168
        end
2169
        if string.sub(CMDBAR.Text, 1, 9) == ("headwalk ") then
2170
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
2171
                hwalk = true
2172
                hdwplr = v
2173
            end
2174
        end
2175
        if string.sub(CMDBAR.Text, 1, 10) == ("unheadwalk") then
2176
            hwalk = false
2177
        end
2178
        if string.sub(CMDBAR.Text, 1, 7) == ("nolimbs") then
2179
            lplayer.Character["Left Leg"]:Destroy()
2180
            lplayer.Character["Left Arm"]:Destroy()
2181
            lplayer.Character["Right Leg"]:Destroy()
2182
            lplayer.Character["Right Arm"]:Destroy()
2183
        end
2184
        if string.sub(CMDBAR.Text, 1, 3) == ("god") then
2185
            lplayer.Character.Humanoid.Name = 1
2186
            local l = lplayer.Character["1"]:Clone()
2187
            l.Parent = lplayer.Character
2188
            l.Name = "Humanoid"
2189
            wait(0.1)
2190
            lplayer.Character["1"]:Destroy()
2191
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
2192
            lplayer.Character.Animate.Disabled = true
2193
            wait(0.1)
2194
            lplayer.Character.Animate.Disabled = false
2195
            lplayer.Character.Humanoid.DisplayDistanceType = "None"
2196
            game:GetService("StarterGui"):SetCore("SendNotification", {
2197
            Title = "FE Godmode enabled";
2198
            Text = "Use ;grespawn or ;respawn to remove.";
2199
            })
2200
        end
2201
        if string.sub(CMDBAR.Text, 1, 8) == ("drophats") then
2202
            for i,v in pairs(lplayer.Character:GetChildren()) do
2203
                if (v:IsA("Accessory")) or (v:IsA("Hat")) then
2204
                    v.Parent = workspace
2205
                end
2206
            end
2207
        end
2208
        if string.sub(CMDBAR.Text, 1, 8) == ("droptool") then
2209
            for i,v in pairs(lplayer.Character:GetChildren()) do
2210
                if (v:IsA("Tool")) then
2211
                    v.Parent = workspace
2212
                end
2213
            end
2214
        end
2215
        if string.sub(CMDBAR.Text, 1, 9) == ("loopdhats") then
2216
            droppinghats = true
2217
            game:GetService("StarterGui"):SetCore("SendNotification", {
2218
            Title = "Loop Drop Enabled";
2219
            Text = "Type ;unloopdhats to disable";
2220
            })
2221
        end
2222
        if string.sub(CMDBAR.Text, 1, 11) == ("unloopdhats") then
2223
            droppinghats = false
2224
            game:GetService("StarterGui"):SetCore("SendNotification", {
2225
            Title = "Loop Drop Disabled";
2226
            Text = "Type ;loopdhats to enable.";
2227
            })
2228
        end
2229
        if string.sub(CMDBAR.Text, 1, 9) == ("loopdtool") then
2230
            droppingtools = true
2231
            game:GetService("StarterGui"):SetCore("SendNotification", {
2232
            Title = "Loop Drop Enabled";
2233
            Text = "Type ;unloopdtool to disable";
2234
            })
2235
        end
2236
        if string.sub(CMDBAR.Text, 1, 11) == ("unloopdtool") then
2237
            droppingtools = false
2238
            game:GetService("StarterGui"):SetCore("SendNotification", {
2239
            Title = "Loop Drop Disabled";
2240
            Text = "Type ;loopdtool to enable.";
2241
            })
2242
        end
2243
        if string.sub(CMDBAR.Text, 1, 9) == ("invisible") then -- Credit to Timeless
2244
            Local = game:GetService('Players').LocalPlayer
2245
            Char  = Local.Character
2246
            touched,tpdback = false, false
2247
            box = Instance.new('Part',workspace)
2248
            box.Anchored = true
2249
            box.CanCollide = true
2250
            box.Size = Vector3.new(10,1,10)
2251
            box.Position = Vector3.new(0,10000,0)
2252
            box.Touched:connect(function(part)
2253
                if (part.Parent.Name == Local.Name) then
2254
                    if touched == false then
2255
                        touched = true
2256
                        function apply()
2257
                            if script.Disabled ~= true then
2258
                                no = Char.HumanoidRootPart:Clone()
2259
                                wait(.25)
2260
                                Char.HumanoidRootPart:Destroy()
2261
                                no.Parent = Char
2262
                                Char:MoveTo(loc)
2263
                                touched = false
2264
                            end end
2265
                        if Char then
2266
                            apply()
2267
                        end
2268
                    end
2269
                end
2270
            end)
2271
            repeat wait() until Char
2272
            loc = Char.HumanoidRootPart.Position
2273
            Char:MoveTo(box.Position + Vector3.new(0,.5,0))
2274
            game:GetService("StarterGui"):SetCore("SendNotification", {
2275
            Title = "Invisibility enabled!";
2276
            Text = "Reset or use ;respawn to remove.";
2277
            })
2278
        end
2279
        if string.sub(CMDBAR.Text, 1, 5) == ("view ") then
2280
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
2281
                if game:GetService("Players")[v.Name].Character.Humanoid then
2282
                    game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Humanoid
2283
                else
2284
                    game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
2285
                end
2286
            end
2287
        end
2288
        if string.sub(CMDBAR.Text, 1, 6) == ("unview") then
2289
            if lplayer.Character.Humanoid then
2290
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
2291
            else
2292
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
2293
            end
2294
        end
2295
        if string.sub(CMDBAR.Text, 1, 5) == ("goto ") then
2296
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
2297
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2298
            end
2299
        end
2300
        if string.sub(CMDBAR.Text, 1, 3) == ("fly") then
2301
        repeat wait() until lplayer and lplayer.Character and lplayer.Character:FindFirstChild('HumanoidRootPart') and lplayer.Character:FindFirstChild('Humanoid')
2302
        repeat wait() until Mouse
2303
       
2304
        local T = lplayer.Character.HumanoidRootPart
2305
        local CONTROL = {F = 0, B = 0, L = 0, R = 0}
2306
        local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
2307
        local SPEED = speedget
2308
       
2309
        local function fly()
2310
            flying = true
2311
            local BG = Instance.new('BodyGyro', T)
2312
            local BV = Instance.new('BodyVelocity', T)
2313
            BG.P = 9e4
2314
            BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
2315
            BG.cframe = T.CFrame
2316
            BV.velocity = Vector3.new(0, 0.1, 0)
2317
            BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
2318
            spawn(function()
2319
            repeat wait()
2320
            lplayer.Character.Humanoid.PlatformStand = true
2321
            if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
2322
            SPEED = 50
2323
            elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
2324
            SPEED = 0
2325
            end
2326
            if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
2327
            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
2328
            lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
2329
            elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
2330
            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
2331
            else
2332
            BV.velocity = Vector3.new(0, 0.1, 0)
2333
            end
2334
            BG.cframe = workspace.CurrentCamera.CoordinateFrame
2335
                    until not flying
2336
                    CONTROL = {F = 0, B = 0, L = 0, R = 0}
2337
                    lCONTROL = {F = 0, B = 0, L = 0, R = 0}
2338
                    SPEED = 0
2339
                    BG:destroy()
2340
                    BV:destroy()
2341
                    lplayer.Character.Humanoid.PlatformStand = false
2342
                end)
2343
            end
2344
        Mouse.KeyDown:connect(function(KEY)
2345
            if KEY:lower() == 'w' then
2346
                CONTROL.F = speedfly
2347
            elseif KEY:lower() == 's' then
2348
                CONTROL.B = -speedfly
2349
            elseif KEY:lower() == 'a' then
2350
                CONTROL.L = -speedfly
2351
            elseif KEY:lower() == 'd' then
2352
                CONTROL.R = speedfly
2353
            end
2354
        end)
2355
        Mouse.KeyUp:connect(function(KEY)
2356
            if KEY:lower() == 'w' then
2357
                CONTROL.F = 0
2358
            elseif KEY:lower() == 's' then
2359
                CONTROL.B = 0
2360
            elseif KEY:lower() == 'a' then
2361
                CONTROL.L = 0
2362
            elseif KEY:lower() == 'd' then
2363
                CONTROL.R = 0
2364
            end
2365
        end)
2366
        fly()
2367
        end
2368
        if string.sub(CMDBAR.Text, 1, 5) == ("unfly") then
2369
            flying = false
2370
            lplayer.Character.Humanoid.PlatformStand = false
2371
        end
2372
        if string.sub(CMDBAR.Text, 1, 5) == ("chat ") then
2373
            game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer((string.sub(CMDBAR.Text, 6)), "All")
2374
        end
2375
        if string.sub(CMDBAR.Text, 1, 5) == ("spam ") then
2376
            spamtext = (string.sub(CMDBAR.Text, 6))
2377
            spamming = true
2378
        end
2379
        if string.sub(CMDBAR.Text, 1, 6) == ("unspam") then
2380
            spamming = false
2381
        end
2382
        if string.sub(CMDBAR.Text, 1, 9) == ("spamwait ") then
2383
            spamdelay = (string.sub(CMDBAR.Text, 10))
2384
        end
2385
        if string.sub(CMDBAR.Text, 1, 7) == ("pmspam ") then
2386
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
2387
                pmspammed = v.Name
2388
                spammingpm = true
2389
            end
2390
        end
2391
        if string.sub(CMDBAR.Text, 1, 8) == ("unpmspam") then
2392
            spammingpm = false
2393
        end
2394
        if string.sub(CMDBAR.Text, 1, 8) == ("cfreeze ") then
2395
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 9))) do
2396
                v.Character["Left Leg"].Anchored = true
2397
                v.Character["Left Arm"].Anchored = true
2398
                v.Character["Right Leg"].Anchored = true
2399
                v.Character["Right Arm"].Anchored = true
2400
                v.Character.Torso.Anchored = true
2401
                v.Character.Head.Anchored = true
2402
            end
2403
        end
2404
        if string.sub(CMDBAR.Text, 1, 10) == ("uncfreeze ") then
2405
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 11))) do
2406
                v.Character["Left Leg"].Anchored = false
2407
                v.Character["Left Arm"].Anchored = false
2408
                v.Character["Right Leg"].Anchored = false
2409
                v.Character["Right Arm"].Anchored = false
2410
                v.Character.Torso.Anchored = false
2411
                v.Character.Head.Anchored = false
2412
            end
2413
        end
2414
        if string.sub(CMDBAR.Text, 1, 8) == ("unlockws") then
2415
            local a = game:GetService("Workspace"):getChildren()
2416
            for i = 1, #a do
2417
                if a[i].className == "Part" then
2418
                    a[i].Locked = false
2419
                elseif a[i].className == "Model" then
2420
                    local r = a[i]:getChildren()
2421
                    for i = 1, #r do
2422
                        if r[i].className == "Part" then
2423
                        r[i].Locked = false
2424
                        end
2425
                    end
2426
                end
2427
            end
2428
            game:GetService("StarterGui"):SetCore("SendNotification", {
2429
            Title = "Success!";
2430
            Text = "Workspace unlocked. Use ;lockws to lock.";
2431
            })
2432
        end
2433
        if string.sub(CMDBAR.Text, 1, 6) == ("lockws") then
2434
            local a = game:GetService("Workspace"):getChildren()
2435
            for i = 1, #a do
2436
                if a[i].className == "Part" then
2437
                    a[i].Locked = true
2438
                elseif a[i].className == "Model" then
2439
                    local r = a[i]:getChildren()
2440
                    for i = 1, #r do
2441
                        if r[i].className == "Part" then
2442
                        r[i].Locked = true
2443
                        end
2444
                    end
2445
                end
2446
            end
2447
        end
2448
        if string.sub(CMDBAR.Text, 1, 6) == ("btools") then
2449
            local Clone_T = Instance.new("HopperBin",lplayer.Backpack)
2450
            Clone_T.BinType = "Clone"
2451
            local Destruct = Instance.new("HopperBin",lplayer.Backpack)
2452
            Destruct.BinType = "Hammer"
2453
            local Hold_T = Instance.new("HopperBin",lplayer.Backpack)
2454
            Hold_T.BinType = "Grab"
2455
        end
2456
        if string.sub(CMDBAR.Text, 1, 6) == ("pstand") then
2457
            lplayer.Character.Humanoid.PlatformStand = true
2458
        end
2459
        if string.sub(CMDBAR.Text, 1, 8) == ("unpstand") then
2460
            lplayer.Character.Humanoid.PlatformStand = false
2461
        end
2462
        if string.sub(CMDBAR.Text, 1, 9) == ("blockhead") then
2463
            lplayer.Character.Head.Mesh:Destroy()
2464
        end
2465
        if string.sub(CMDBAR.Text, 1, 3) == ("sit") then
2466
            lplayer.Character.Humanoid.Sit = true
2467
        end
2468
        if string.sub(CMDBAR.Text, 1, 9) == ("bringobj ") then
2469
            local function bringobjw()
2470
            for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
2471
            if obj.Name == (string.sub(CMDBAR.Text, 10)) then
2472
            obj.CFrame = lplayer.Character.HumanoidRootPart.CFrame
2473
            obj.CanCollide = false
2474
            obj.Transparency = 0.7
2475
            wait()
2476
            obj.CFrame = lplayer.Character["Left Leg"].CFrame
2477
            wait()
2478
            obj.CFrame = lplayer.Character["Right Leg"].CFrame
2479
            wait()
2480
            obj.CFrame = lplayer.Character["Head"].CFrame
2481
            end
2482
            end
2483
            end
2484
            while wait() do
2485
                bringobjw()
2486
            end
2487
            game:GetService("StarterGui"):SetCore("SendNotification", {
2488
            Title = "BringObj";
2489
            Text = "BringObj enabled.";
2490
            })
2491
        end
2492
        if string.sub(CMDBAR.Text, 1, 6) == ("wsvis ") then
2493
            vis = (string.sub(CMDBAR.Text, 7))
2494
            local a = game:GetService("Workspace"):GetDescendants()
2495
            for i = 1, #a do
2496
                if a[i].className == "Part" then
2497
                    a[i].Transparency = vis
2498
                elseif a[i].className == "Model" then
2499
                    local r = a[i]:getChildren()
2500
                    for i = 1, #r do
2501
                        if r[i].className == "Part" then
2502
                        r[i].Transparency = vis
2503
                        end
2504
                    end
2505
                end
2506
            end
2507
        end
2508
        if string.sub(CMDBAR.Text, 1, 10) == ("hypertotal") then
2509
            loadstring(game:GetObjects("rbxassetid://1255063809")[1].Source)()
2510
            game:GetService("StarterGui"):SetCore("SendNotification", {
2511
            Title = "Success!";
2512
            Text = "HyperTotal GUI Loaded!";
2513
            })
2514
        end
2515
        if string.sub(CMDBAR.Text, 1, 4) == ("cmds") then
2516
            CMDSFRAME.Visible = true
2517
        end
2518
        if string.sub(CMDBAR.Text, 1, 9) == ("rmeshhats") then
2519
            for i,v in pairs(lplayer.Character:GetChildren()) do
2520
                if (v:IsA("Accessory")) or (v:IsA("Hat")) then
2521
                    v.Handle.Mesh:Destroy()
2522
                end
2523
            end
2524
        end
2525
        if string.sub(CMDBAR.Text, 1, 9) == ("blockhats") then
2526
            for i,v in pairs(lplayer.Character:GetChildren()) do
2527
                if (v:IsA("Accessory")) or (v:IsA("Hat")) then
2528
                    v.Handle.Mesh:Destroy()
2529
                end
2530
            end
2531
        end
2532
        if string.sub(CMDBAR.Text, 1, 9) == ("rmeshtool") then
2533
            for i,v in pairs(lplayer.Character:GetChildren()) do
2534
                if (v:IsA("Tool")) then
2535
                    v.Handle.Mesh:Destroy()
2536
                end
2537
            end
2538
        end
2539
        if string.sub(CMDBAR.Text, 1, 9) == ("blocktool") then
2540
            for i,v in pairs(lplayer.Character:GetChildren()) do
2541
                if (v:IsA("Tool")) then
2542
                    v.Handle.Mesh:Destroy()
2543
                end
2544
            end
2545
        end
2546
        if string.sub(CMDBAR.Text, 1, 7) == ("spinner") then
2547
            local p = Instance.new("RocketPropulsion")
2548
            p.Parent = lplayer.Character.HumanoidRootPart
2549
            p.Name = "Spinner"
2550
            p.Target = lplayer.Character["Left Arm"]
2551
            p:Fire()
2552
            game:GetService("StarterGui"):SetCore("SendNotification", {
2553
            Title = "Spinner enabled";
2554
            Text = "Type ;nospinner to disable.";
2555
            })
2556
        end
2557
        if string.sub(CMDBAR.Text, 1, 9) == ("nospinner") then
2558
            lplayer.Character.HumanoidRootPart.Spinner:Destroy()
2559
        end
2560
        if string.sub(CMDBAR.Text, 1, 6) == ("reachd") then
2561
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
2562
                if v:isA("Tool") then
2563
                    local a = Instance.new("SelectionBox",v.Handle)
2564
                    a.Adornee = v.Handle
2565
                    v.Handle.Size = Vector3.new(0.5,0.5,60)
2566
                    v.GripPos = Vector3.new(0,0,0)
2567
                    lplayer.Character.Humanoid:UnequipTools()
2568
                end
2569
            end
2570
            game:GetService("StarterGui"):SetCore("SendNotification", {
2571
            Title = "Reach applied!";
2572
            Text = "Applied to equipped sword. Use ;noreach to disable.";
2573
            })
2574
        end
2575
        if string.sub(CMDBAR.Text, 1, 6) == ("reach ") then
2576
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
2577
                if v:isA("Tool") then
2578
                    local a = Instance.new("SelectionBox",v.Handle)
2579
                    a.Name = "Reach"
2580
                    a.Adornee = v.Handle
2581
                    v.Handle.Size = Vector3.new(0.5,0.5,(string.sub(CMDBAR.Text, 7)))
2582
                    v.GripPos = Vector3.new(0,0,0)
2583
                    lplayer.Character.Humanoid:UnequipTools()
2584
                end
2585
            end
2586
            game:GetService("StarterGui"):SetCore("SendNotification", {
2587
            Title = "Reach applied!";
2588
            Text = "Applied to equipped sword. Use ;noreach to disable.";
2589
            })
2590
        end
2591
        if string.sub(CMDBAR.Text, 1, 7) == ("noreach") then
2592
            for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
2593
                if v:isA("Tool") then
2594
                    v.Handle.Reach:Destroy()
2595
                end
2596
            end
2597
            game:GetService("StarterGui"):SetCore("SendNotification", {
2598
            Title = "Reach removed!";
2599
            Text = "Removed reach from equipped sword.";
2600
            })
2601
        end
2602
        if string.sub(CMDBAR.Text, 1, 6) == ("rkill ") then
2603
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7)))do
2604
                lplayer.Character.Humanoid.Name = 1
2605
                local l = lplayer.Character["1"]:Clone()
2606
                l.Parent = lplayer.Character
2607
                l.Name = "Humanoid"
2608
                wait(0.1)
2609
                lplayer.Character["1"]:Destroy()
2610
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
2611
                lplayer.Character.Animate.Disabled = true
2612
                wait(0.1)
2613
                lplayer.Character.Animate.Disabled = false
2614
                lplayer.Character.Humanoid.DisplayDistanceType = "None"
2615
                for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
2616
                lplayer.Character.Humanoid:EquipTool(v)
2617
                end
2618
                wait(0.1)
2619
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2620
                wait(0.2)
2621
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2622
                wait(0.5)
2623
                lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
2624
                game:GetService("StarterGui"):SetCore("SendNotification", {
2625
                Title = "Tools needed!";
2626
                Text = "You need a tool in your backpack for this command!";
2627
                })
2628
            end
2629
        end
2630
        if string.sub(CMDBAR.Text, 1, 6) == ("tp me ") then
2631
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
2632
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2633
            end
2634
        end
2635
        if string.sub(CMDBAR.Text, 1, 7) == ("cbring ") then
2636
            if (string.sub(CMDBAR.Text, 8)) == "all" or (string.sub(CMDBAR.Text, 8)) == "All" or (string.sub(CMDBAR.Text, 8)) == "ALL" then
2637
                cbringall = true
2638
            else
2639
                for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
2640
                    brplr = v.Name
2641
                end
2642
            end
2643
            cbring = true
2644
        end
2645
        if string.sub(CMDBAR.Text, 1, 8) == ("uncbring") then
2646
            cbring = false
2647
            cbringall = false
2648
        end
2649
        if string.sub(CMDBAR.Text, 1, 5) == ("swap ") then
2650
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
2651
                local NOWPLR = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2652
                local NOW = lplayer.Character.HumanoidRootPart.CFrame
2653
                lplayer.Character.Humanoid.Name = 1
2654
                local l = lplayer.Character["1"]:Clone()
2655
                l.Parent = lplayer.Character
2656
                l.Name = "Humanoid"
2657
                wait(0.1)
2658
                lplayer.Character["1"]:Destroy()
2659
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
2660
                lplayer.Character.Animate.Disabled = true
2661
                wait(0.1)
2662
                lplayer.Character.Animate.Disabled = false
2663
                lplayer.Character.Humanoid.DisplayDistanceType = "None"
2664
                for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
2665
                lplayer.Character.Humanoid:EquipTool(v)
2666
                end
2667
                local function tp(player,player2)
2668
                local char1,char2=player.Character,player2.Character
2669
                if char1 and char2 then
2670
                char1:MoveTo(char2.Head.Position)
2671
                end
2672
                end
2673
                wait(0.1)
2674
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2675
                wait(0.2)
2676
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
2677
                wait(0.5)
2678
                lplayer.Character.HumanoidRootPart.CFrame = NOW
2679
                wait(0.6)
2680
                tp(lplayer, game:GetService("Players")[v.Name])
2681
                wait(0.4)
2682
                lplayer.Character.HumanoidRootPart.CFrame = NOWPLR
2683
                game:GetService("StarterGui"):SetCore("SendNotification", {
2684
                Title = "Tools needed!";
2685
                Text = "You need a tool in your backpack for this command!";
2686
                })
2687
            end
2688
        end
2689
        if string.sub(CMDBAR.Text, 1, 7) == ("glitch ") then
2690
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
2691
                lplayer.Character.Humanoid.Name = 1
2692
                local l = lplayer.Character["1"]:Clone()
2693
                l.Parent = lplayer.Character
2694
                l.Name = "Humanoid"
2695
                wait(0.1)
2696
                lplayer.Character["1"]:Destroy()
2697
                game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
2698
                lplayer.Character.Animate.Disabled = true
2699
                wait(0.1)
2700
                lplayer.Character.Animate.Disabled = false
2701
                lplayer.Character.Humanoid.DisplayDistanceType = "None"
2702
                for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
2703
                lplayer.Character.Humanoid:EquipTool(v)
2704
                end
2705
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
2706
                wait(0.3)
2707
                lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
2708
                wait(0.4)
2709
                b = Instance.new("BodyForce")
2710
                b.Parent = lplayer.Character.HumanoidRootPart
2711
                b.Name = "Glitch"
2712
                b.Force = Vector3.new(100000000,5000,0)
2713
                game:GetService("StarterGui"):SetCore("SendNotification", {
2714
                Title = "Tools needed!";
2715
                Text = "You need a tool in your backpack for this command!";
2716
                })
2717
            end
2718
        end
2719
        if string.sub(CMDBAR.Text, 1, 8) == ("unglitch") then
2720
            lplayer.Character.HumanoidRootPart.Glitch:Destroy()
2721
            lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(10000,0,10000)
2722
            b = Instance.new("BodyForce")
2723
            b.Parent = lplayer.Character.HumanoidRootPart
2724
            b.Name = "unGlitch"
2725
            b.Force = Vector3.new(0,-5000000,0)
2726
            wait(2)
2727
            lplayer.Character.HumanoidRootPart.unGlitch:Destroy()
2728
        end
2729
        if string.sub(CMDBAR.Text, 1, 8) == ("grespawn") then
2730
            lplayer.Character.Humanoid.Health = 0
2731
            wait(1)
2732
            lplayer.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
2733
            lplayer.Character.Torso.CFrame = CFrame.new(1000000,0,1000000)
2734
        end
2735
        if string.sub(CMDBAR.Text, 1, 8) == ("explorer") then
2736
            loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
2737
            game:GetService("StarterGui"):SetCore("SendNotification", {
2738
            Title = "Success!";
2739
            Text = "DEX Explorer has loaded.";
2740
            })
2741
        end
2742
        if string.sub(CMDBAR.Text, 1, 5) == ("anim ") then
2743
            local Anim = Instance.new("Animation")
2744
            Anim.AnimationId = "rbxassetid://"..(string.sub(CMDBAR.Text, 6))
2745
            local track = lplayer.Character.Humanoid:LoadAnimation(Anim)
2746
            track:Play(.1, 1, 1)
2747
        end
2748
        if string.sub(CMDBAR.Text, 1, 7) == ("animgui") then
2749
            loadstring(game:GetObjects("rbxassetid://1202558084")[1].Source)()
2750
            game:GetService("StarterGui"):SetCore("SendNotification", {
2751
            Title = "Success!";
2752
            Text = "Energize Animations GUI has loaded.";
2753
            })
2754
        end
2755
        if string.sub(CMDBAR.Text, 1, 7) == ("savepos") then
2756
            saved = lplayer.Character.HumanoidRootPart.CFrame
2757
            game:GetService("StarterGui"):SetCore("SendNotification", {
2758
            Title = "Position Saved";
2759
            Text = "Use ;loadpos to return to saved position.";
2760
            })
2761
        end
2762
        if string.sub(CMDBAR.Text, 1, 7) == ("loadpos") then
2763
            lplayer.Character.HumanoidRootPart.CFrame = saved
2764
        end
2765
        if string.sub(CMDBAR.Text, 1, 5) == ("bang ") then
2766
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
2767
                local Anim2 = Instance.new("Animation")
2768
                Anim2.AnimationId = "rbxassetid://148840371"
2769
                local track2 = lplayer.Character.Humanoid:LoadAnimation(Anim2)
2770
                track2:Play(.1, 1, 1)
2771
                bplrr = v.Name
2772
                banpl = true
2773
            end
2774
        end
2775
        if string.sub(CMDBAR.Text, 1, 6) == ("unbang") then
2776
            banpl = false
2777
        end
2778
        if string.sub(CMDBAR.Text, 1, 9) == ("bringmod ") then
2779
            local function bringmodw()
2780
            for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
2781
            if obj.Name == (string.sub(CMDBAR.Text, 10)) then
2782
            for i,ch in pairs(obj:GetDescendants()) do
2783
            if (ch:IsA("BasePart")) then
2784
            ch.CFrame = lplayer.Character.HumanoidRootPart.CFrame
2785
            ch.CanCollide = false
2786
            ch.Transparency = 0.7
2787
            wait()
2788
            ch.CFrame = lplayer.Character["Left Leg"].CFrame
2789
            wait()
2790
            ch.CFrame = lplayer.Character["Right Leg"].CFrame
2791
            wait()
2792
            ch.CFrame = lplayer.Character["Head"].CFrame
2793
            end
2794
            end
2795
            end
2796
            end
2797
            end
2798
            while wait() do
2799
                bringmodw()
2800
            end
2801
            game:GetService("StarterGui"):SetCore("SendNotification", {
2802
            Title = "BringMod";
2803
            Text = "BringMod enabled.";
2804
            })
2805
        end
2806
        if string.sub(CMDBAR.Text, 1, 7) == ("respawn") then
2807
            local mod = Instance.new('Model', workspace) mod.Name = 're '..lplayer.Name
2808
            local hum = Instance.new('Humanoid', mod)
2809
            local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
2810
            lplayer.Character = mod
2811
        end
2812
        if string.sub(CMDBAR.Text, 1, 8) == ("shutdown") then
2813
            game:GetService'RunService'.Stepped:Connect(function()
2814
            pcall(function()
2815
                for i,v in pairs(game:GetService'Players':GetPlayers()) do
2816
                    if v.Character ~= nil and v.Character:FindFirstChild'Head' then
2817
                        for _,x in pairs(v.Character.Head:GetChildren()) do
2818
                            if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true) end
2819
                        end
2820
                    end
2821
                end
2822
            end)
2823
            end)
2824
            game:GetService("StarterGui"):SetCore("SendNotification", {
2825
            Title = "Attempting Shutdown";
2826
            Text = "Shutdown Attempt has begun.";
2827
            })
2828
        end
2829
        if string.sub(CMDBAR.Text, 1, 7) == ("delobj ") then
2830
            objtodel = (string.sub(CMDBAR.Text, 8))
2831
            for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
2832
                if v.Name == objtodel then
2833
                    v:Destroy()
2834
                end
2835
            end
2836
        end
2837
        if string.sub(CMDBAR.Text, 1, 7) == ("getplrs") then
2838
            for i,v in pairs(game:GetService("Players"):GetPlayers())do
2839
                print(v)
2840
            end
2841
            game:GetService("StarterGui"):SetCore("SendNotification", {
2842
            Title = "Printed";
2843
            Text = "Players have been printed to console. (F9)";
2844
            })
2845
        end
2846
        if string.sub(CMDBAR.Text, 1, 8) == ("deldecal") then
2847
            for i,v in pairs(game:GetService("Workspace"):GetDescendants())do
2848
                if (v:IsA("Decal")) then
2849
                    v:Destroy()
2850
                end
2851
            end
2852
        end
2853
        if string.sub(CMDBAR.Text, 1, 10) == ("opfinality") then
2854
            loadstring(game:GetObjects("rbxassetid://1294358929")[1].Source)()
2855
            game:GetService("StarterGui"):SetCore("SendNotification", {
2856
            Title = "Success!";
2857
            Text = "OpFinality GUI has loaded.";
2858
            })
2859
        end
2860
        if string.sub(CMDBAR.Text, 1, 7) == ("remotes") then
2861
            remotes = true
2862
            added = true
2863
            game.DescendantAdded:connect(function(rmt)
2864
            if added == true then
2865
            if remotes == true then
2866
            if rmt:IsA("RemoteEvent") then
2867
            print("A RemoteEvent was added!")
2868
            print(" game." .. rmt:GetFullName() .. " | RemoteEvent")
2869
            print(" game." .. rmt:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
2870
            end end end
2871
            end)
2872
            game.DescendantAdded:connect(function(rmtfnctn)
2873
            if added == true then
2874
            if remotes == true then
2875
            if rmtfnctn:IsA("RemoteFunction") then
2876
            warn("A RemoteFunction was added!")
2877
            warn(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction")
2878
            print(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
2879
            end end end
2880
            end)
2881
           
2882
            game.DescendantAdded:connect(function(bndfnctn)
2883
            if added == true then
2884
            if binds == true then
2885
            if bndfnctn:IsA("BindableFunction") then
2886
            print("A BindableFunction was added!")
2887
            print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction")
2888
            print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
2889
            end end end
2890
            end)
2891
           
2892
            game.DescendantAdded:connect(function(bnd)
2893
            if added == true then
2894
            if binds == true then
2895
            if bnd:IsA("BindableEvent") then
2896
            warn("A BindableEvent was added!")
2897
            warn(" game." .. bnd:GetFullName() .. " | BindableEvent")
2898
            print(" game." .. bnd:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
2899
            end end end
2900
            end)
2901
           
2902
           
2903
            if binds == true then
2904
            for i,v in pairs(game:GetDescendants()) do
2905
            if v:IsA("BindableFunction") then
2906
            print(" game." .. v:GetFullName() .. " | BindableFunction")
2907
            print(" game." .. v:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
2908
            end end
2909
            for i,v in pairs(game:GetDescendants()) do
2910
            if v:IsA("BindableEvent") then
2911
            warn(" game." .. v:GetFullName() .. " | BindableEvent")
2912
            print(" game." .. v:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
2913
            end end
2914
            else
2915
            print("Off")
2916
            end
2917
            if remotes == true then
2918
            for i,v in pairs(game:GetDescendants()) do
2919
            if v:IsA("RemoteFunction") then
2920
            warn(" game." .. v:GetFullName() .. " | RemoteFunction")
2921
            print(" game." .. v:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
2922
            end end
2923
            wait()
2924
            for i,v in pairs(game:GetDescendants()) do
2925
            if v:IsA("RemoteEvent") then
2926
            print(" game." .. v:GetFullName() .. " | RemoteEvent")
2927
            print(" game." .. v:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
2928
            end end
2929
            else
2930
            print("Off")
2931
            end
2932
            game:GetService("StarterGui"):SetCore("SendNotification", {
2933
            Title = "Printing Remotes";
2934
            Text = "Type ;noremotes to disable.";
2935
            })
2936
        end
2937
        if string.sub(CMDBAR.Text, 1, 9) == ("noremotes") then
2938
            remotes = false
2939
            added = false
2940
            game:GetService("StarterGui"):SetCore("SendNotification", {
2941
            Title = "Printing Remotes Disabled";
2942
            Text = "Type ;remotes to enable.";
2943
            })
2944
        end
2945
        if string.sub(CMDBAR.Text, 1, 9) == ("tpdefault") then
2946
            spin = false
2947
            followed = false
2948
            traill = false
2949
            noclip = false
2950
            annoying = false
2951
            hwalk = false
2952
            cbringing = false
2953
        end
2954
        if string.sub(CMDBAR.Text, 1, 7) == ("stopsit") then
2955
            stopsitting = true
2956
        end
2957
        if string.sub(CMDBAR.Text, 1, 5) == ("gosit") then
2958
            stopsitting = false
2959
        end
2960
        if string.sub(CMDBAR.Text, 1, 7) == ("version") then
2961
            print(adminversion)
2962
            game:GetService("StarterGui"):SetCore("SendNotification", {
2963
            Title = "Version";
2964
            Text = adminversion;
2965
            })
2966
        end
2967
        if string.sub(CMDBAR.Text, 1, 7) == ("clicktp") then
2968
            clickgoto = true
2969
            game:GetService("StarterGui"):SetCore("SendNotification", {
2970
            Title = "Click TP";
2971
            Text = "Press E to teleport to mouse position";
2972
            })
2973
        end
2974
        if string.sub(CMDBAR.Text, 1, 9) == ("noclicktp") then
2975
            clickgoto = false
2976
            game:GetService("StarterGui"):SetCore("SendNotification", {
2977
            Title = "Click TP";
2978
            Text = "Click TP has been disabled.";
2979
            })
2980
        end
2981
        if string.sub(CMDBAR.Text, 1, 7) == ("toolson") then
2982
            gettingtools = true
2983
            game:GetService("StarterGui"):SetCore("SendNotification", {
2984
            Title = "Tools Enabled";
2985
            Text = "Automatically colleting tools dropped.";
2986
            })
2987
        end
2988
        if string.sub(CMDBAR.Text, 1, 8) == ("toolsoff") then
2989
            gettingtools = false
2990
            game:GetService("StarterGui"):SetCore("SendNotification", {
2991
            Title = "Tools Disabled";
2992
            Text = "Click TP has been disabled.";
2993
            })
2994
        end
2995
        if string.sub(CMDBAR.Text, 1, 9) == ("delcmdbar") then
2996
            ScreenGui:Destroy()
2997
        end
2998
        if string.sub(CMDBAR.Text, 1, 5) == ("reset") then
2999
            lplayer.Character.Head:Destroy()
3000
        end
3001
        if string.sub(CMDBAR.Text, 1, 6) == ("state ") then
3002
            statechosen = string.sub(CMDBAR.Text, 7)
3003
            changingstate = true
3004
        end
3005
        if string.sub(CMDBAR.Text, 1, 8) == ("gravity ") then
3006
            game:GetService("Workspace").Gravity = string.sub(CMDBAR.Text, 9)
3007
        end
3008
        if string.sub(CMDBAR.Text, 1, 9) == ("looprhats") then
3009
        removingmeshhats = true
3010
        end
3011
        if string.sub(CMDBAR.Text, 1, 11) == ("unlooprhats") then
3012
            removingmeshhats = false
3013
        end
3014
        if string.sub(CMDBAR.Text, 1, 9) == ("looprtool") then
3015
            removingmeshtool = true
3016
        end
3017
        if string.sub(CMDBAR.Text, 1, 11) == ("unlooprtool") then
3018
            removingmeshtool = false
3019
        end
3020
        if string.sub(CMDBAR.Text, 1, 9) == ("givetool ") then
3021
            for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do
3022
                if v:IsA("Tool") then
3023
                    for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
3024
                        v.Parent = player.Character
3025
                    end
3026
                end
3027
            end
3028
        end
3029
        if string.sub(CMDBAR.Text, 1, 4) == ("age ") then
3030
            for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 5))) do
3031
                game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account Age: "..player.AccountAge.." days!", "All")
3032
            end
3033
        end
3034
        if string.sub(CMDBAR.Text, 1, 3) == ("id ") then
3035
            for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 4))) do
3036
                game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account ID: "..player.UserId, "All")
3037
            end
3038
        end
3039
        if string.sub(CMDBAR.Text, 1, 5) == (".age ") then
3040
            for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
3041
                game:GetService("StarterGui"):SetCore("SendNotification", {
3042
                Title = player.AccountAge.." Days";
3043
                Text = "Account age of "..player.Name;
3044
                })
3045
            end
3046
        end
3047
        if string.sub(CMDBAR.Text, 1, 4) == (".id ") then
3048
            for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 5))) do
3049
                game:GetService("StarterGui"):SetCore("SendNotification", {
3050
                Title = player.UserId.." ID";
3051
                Text = "Account ID of "..player.Name;
3052
                })
3053
            end
3054
        end
3055
        if string.sub(CMDBAR.Text, 1, 6) == ("gameid") then
3056
            game:GetService("StarterGui"):SetCore("SendNotification", {
3057
            Title = "Game ID";
3058
            Text = "Game ID: ".. game.GameId;
3059
            })
3060
        end
3061
        if string.sub(CMDBAR.Text, 1, 3) == ("pgs") then
3062
            local pgscheck = game:GetService("Workspace"):PGSIsEnabled()
3063
            if pgscheck == true then
3064
                game:GetService("StarterGui"):SetCore("SendNotification", {
3065
                Title = "PGSPhysicsSolverEnabled";
3066
                Text = "PGS is Enabled!";
3067
                })
3068
            else
3069
                game:GetService("StarterGui"):SetCore("SendNotification", {
3070
                Title = "PGSPhysicsSolverEnabled";
3071
                Text = "PGS is Disabled!";
3072
                })
3073
            end
3074
        end
3075
        if string.sub(CMDBAR.Text, 1, 11) == ("removeinvis") then
3076
            for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
3077
                if v:IsA("Part") then
3078
                    if v.Transparency == 1 then
3079
                        if v.Name ~= "HumanoidRootPart" then
3080
                            v:Destroy()
3081
                        end
3082
                    end
3083
                end
3084
            end
3085
        end
3086
        if string.sub(CMDBAR.Text, 1, 9) == ("removefog") then
3087
            game:GetService("Lighting").FogStart = 0
3088
            game:GetService("Lighting").FogEnd = 9999999999999
3089
        end
3090
        if string.sub(CMDBAR.Text, 1, 7) == ("disable") then
3091
            lplayer.Character.Humanoid.Parent = lplayer
3092
        end
3093
        if string.sub(CMDBAR.Text, 1, 6) == ("enable") then
3094
            lplayer.Humanoid.Parent = lplayer.Character
3095
        end
3096
        if string.sub(CMDBAR.Text, 1, 13) == ("givealltools ") then
3097
            for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetDescendants()) do
3098
                if v:IsA("Tool") then
3099
                    v.Parent = lplayer.Character
3100
                    wait()
3101
                    for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 14))) do
3102
                        v.Parent = player.Character
3103
                    end
3104
                end
3105
            end
3106
        end
3107
        if string.sub(CMDBAR.Text, 1, 9) == ("flyspeed ") then
3108
            speedfly = string.sub(CMDBAR.Text, 10)
3109
            wait()
3110
            change()
3111
        end
3112
        if string.sub(CMDBAR.Text, 1, 7) == ("carpet ") then
3113
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
3114
                local Anim3 = Instance.new("Animation")
3115
                Anim3.AnimationId = "rbxassetid://282574440"
3116
                local track3 = lplayer.Character.Humanoid:LoadAnimation(Anim3)
3117
                track3:Play(.1, 1, 1)
3118
                bplrr = v.Name
3119
                banpl = true
3120
            end
3121
        end
3122
        if string.sub(CMDBAR.Text, 1, 8) == ("uncarpet") then
3123
            banpl = false
3124
        end
3125
        if string.sub(CMDBAR.Text, 1, 6) == ("stare ") then
3126
            for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
3127
                staring = true
3128
                stareplr = v
3129
            end
3130
        end
3131
        if string.sub(CMDBAR.Text, 1, 7) == ("unstare") then
3132
            staring = false
3133
        end
3134
        if string.sub(CMDBAR.Text, 1, 7) == ("logchat") then
3135
            chatlogs = true
3136
            game:GetService("StarterGui"):SetCore("SendNotification", {
3137
            Title = "LogChat enabled";
3138
            Text = "Now logging all player chat.";
3139
            })
3140
        end
3141
        if string.sub(CMDBAR.Text, 1, 9) == ("unlogchat") then
3142
            chatlogs = false
3143
            game:GetService("StarterGui"):SetCore("SendNotification", {
3144
            Title = "LogChat disabled";
3145
            Text = "Stopped logging all player chat.";
3146
            })
3147
        end
3148
        if string.sub(CMDBAR.Text, 1, 6) == ("fixcam") then
3149
            game:GetService("Workspace").CurrentCamera:Destroy()
3150
            wait(0.1)
3151
            game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
3152
            game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
3153
            lplayer.CameraMinZoomDistance = 0.5
3154
            lplayer.CameraMaxZoomDistance = 400
3155
            lplayer.CameraMode = "Classic"
3156
        end
3157
        if string.sub(CMDBAR.Text, 1, 7) == ("unstate") then
3158
            changingstate = false
3159
        end
3160
        CMDBAR.Text = ""
3161
    end
3162
end)
3163
 
3164
wait(0.3)
3165
game:GetService("StarterGui"):SetCore("SendNotification", {
3166
    Title = "Loaded successfully!";
3167
    Text = "Reviz Admin V2 by illremember";
3168
})
3169
wait(0.1)
3170
print("Reviz Admin V2 loaded!")
3171
if game:GetService("Workspace").FilteringEnabled == true then
3172
    warn("FE is Enabled (Filtering Enabled)")
3173
    game:GetService("StarterGui"):SetCore("SendNotification", {
3174
        Title = "FE is Enabled";
3175
        Text = "Filtering Enabled. Enjoy using Reviz Admin!";
3176
    })
3177
else
3178
    warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.")
3179
    game:GetService("StarterGui"):SetCore("SendNotification", {
3180
        Title = "FE is Disabled";
3181
        Text = "Filtering Disabled. Consider using a different admin script.";
3182
    })
3183
end
3184
 
3185
local intro = Instance.new("ScreenGui")
3186
local Frame = Instance.new("Frame")
3187
local ImageLabel = Instance.new("ImageLabel")
3188
intro.Parent = game.Players.LocalPlayer.PlayerGui
3189
Frame.Parent = intro
3190
Frame.BackgroundColor3 = Color3.new(1, 1, 1)
3191
Frame.BackgroundTransparency = 1
3192
Frame.Size = UDim2.new(1, 0, 0, 300)
3193
Frame.Position = UDim2.new(0, 0, -0.4, 0)
3194
ImageLabel.Parent = Frame
3195
ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
3196
ImageLabel.BackgroundTransparency = 1
3197
ImageLabel.Position = UDim2.new(0, 0, 0, 0)
3198
ImageLabel.Size = UDim2.new(1, 0, 1, 0)
3199
ImageLabel.Image = "http://www.roblox.com/asset/?id=1542162618"
3200
Frame:TweenPosition(UDim2.new(0, 0, 0.2, 0), "Out", "Elastic", 3)
3201
wait(3.01)
3202
Frame:TweenPosition(UDim2.new(0, 0, 1.5, 0), "Out", "Elastic", 5)
3203
wait(5.01)
3204
intro:Destroy()