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