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