Facebook
From KEVINHACK12, 2 Years ago, written in Lua.
This paste is a reply to script admin from Kicper - view diff
Embed
Download Paste or View Raw
Hits: 366
  1. robux100000
  2. hd admin
  3. -brookhaven
  4. - Creator: illremember#3799
  5.  
  6. -hacker- Credits to infinite yield, harkinian, dex creators
  7.  
  8. prefix = ":"
  9. wait(0.3)
  10. Commands = {
  11.     '[-] cmdbar is shown when ; is pressed.',
  12.     '[1] kill [plr] -- You need a tool! Will kill the player, use rkill to kill you and player',
  13.     '[2] bring [plr] -- You need a tool! Will bring player to you',
  14.     '[3] spin [plr] -- You need a tool! Makes you and the player spin crazy',
  15.     '[4] unspin -- Use after using spin cmd and dying, so you stop loop teleporting',
  16.     '[5] attach [plr] -- You need a tool! Attaches you to player',
  17.     '[6] unattach [plr] -- Attempts to unattach you from a player',
  18.     '[7] follow [plr] -- Makes you follow behind the player',
  19.     '[8] unfollow',
  20.     '[9] freefall [plr] -- You need a tool! Teleports you and the player up into the air',
  21.     '[10] trail [plr] -- The opposite of follow, you stay infront of player',
  22.     '[11] untrail',
  23.     '[12] orbit [plr] -- Makes you orbit the player',
  24.     '[13] unorbit',
  25.     '[14] fling [plr] -- Makes you fling the player',
  26.     '[15] unfling',
  27.     '[16] fecheck -- Checks if the game is FE or not',
  28.     '[17] void [plr] -- Teleports player to the void',
  29.     '[18] noclip -- Gives you noclip to walk through walls',
  30.     '[19] clip -- Removes noclip',
  31.     '[20] speed [num]/ws [num] -- Changes how fast you walk 16 is default',
  32.     '[21] jumppower [num]/jp [num] -- Changes how high you jump 50 is default',
  33.     '[22] hipheight [num]/hh [num] -- Changes how high you float 0 is default',
  34.     '[23] default -- Changes your speed, jumppower and hipheight to default values',
  35.     '[24] annoy [plr] -- Loop teleports you to the player',
  36.     '[25] unannoy',
  37.     '[26] headwalk [plr] -- Loop teleports you to the player head',
  38.     '[27] unheadwalk',
  39.     '[28] nolimbs -- Removes your arms and legs',
  40.     '[29] god -- Gives you FE Godmode',
  41.     '[30] drophats -- Drops your accessories',
  42.     '[31] droptool -- Drops any tool you have equipped',
  43.     '[32] loopdhats -- Loop drops your accessories',
  44.     '[33] unloopdhats',
  45.     '[34] loopdtool -- Loop drops any tools you have equipped',
  46.     '[35] unloopdtool',
  47.     '[36] invisible -- Gives you invisibility CREDIT TO TIMELESS',
  48.     '[37] view [plr] -- Changes your camera to the player character',
  49.     '[38] unview',
  50.     '[39] goto [plr] -- Teleports you to player',
  51.     '[40] fly -- Allows you to fly, credit to Infinite Yield',
  52.     '[41] unfly',
  53.     '[42] chat [msg] -- Makes you chat a message',
  54.     '[43] spam [msg] -- Spams a message',
  55.     '[44] unspam',
  56.     '[45] spamwait [num] -- Changes delay of chatting a message for the spam command in seconds default is 1 second',
  57.     '[46] pmspam [plr] -- Spams a player in private message',
  58.     '[47] unpmspam',
  59.     '[48] cfreeze [plr] -- Freezes a player on your client, they will only be frozen for you',
  60.     '[49] uncfreeze [plr]',
  61.     '[50] unlockws -- Unlocks the workspace',
  62.     '[51] lockws -- Locks the workspace',
  63.     '[52] btools -- Gives you btools that will only show to you useful for deleting certain blocks only for you',
  64.     '[53] pstand -- Enables platform stand',
  65.     '[54] unpstand -- Disables platform stand',
  66.     '[55] blockhead -- Removes your head mesh',
  67.     '[56] sit',
  68.     '[57] bringobj [obj] -- Only shows on client, brings an object/part to you constantly, can be used to bring healing parts, weapons, money etc, type in exact name',
  69.     '[58] wsvis [num] -- Changes visibility of workspace parts, num should be between 0 and 1, only shows client sided',
  70.     '[59] hypertotal -- Loads in my FE GUI Hypertotal',
  71.     '[60] cmds -- Prints all commands',
  72.     '[61] rmeshhats/blockhats -- Removes the meshes of all your accessories aka block hats',
  73.     '[62] rmeshtool/blocktool -- Removes the mesh of the tool you have equipped aka block tool',
  74.     '[63] spinner -- Makes you spin',
  75.     '[64] nospinner',
  76.     '[65] reach [num] -- Gives you reach, mostly used for swords, say ;reachd for default and enter number after for custom',
  77.     '[66] noreach -- Removes reach, must have tool equipped',
  78.     '[67] rkill [plr] -- Kills you and the player, use kill to just kill the player without dying',
  79.     '[68] tp me [plr] -- Alternative to goto',
  80.     '[69] cbring [plr] -- Brings player infront of you, shows only on client, allows you to do damage to player',
  81.     '[70] uncbring',
  82.     '[71] swap [plr] -- You need a tool! Swaps players position with yours and your position with players',
  83.     '[72] givetool [plr] -- Gives the tool you have equipped to the player',
  84.     '[73] glitch [plr] -- Glitches you and the player, looks very cool',
  85.     '[74] unglitch -- Unglitches you',
  86.     '[75] grespawn -- Alternative to normal respawn and usually works best for when you want to reset with FE Godmode',
  87.     '[76] explorer -- Loads up DEX',
  88.     '[77] reset -- Resets your character.',
  89.     '[78] anim [id] -- Applies an animation on you, must be created by ROBLOX',
  90.     '[79] animgui -- Loads up Energize animations GUI',
  91.     '[80] savepos -- Saves your current position',
  92.     '[81] loadpos -- Teleports you to your saved position',
  93.     '[82] bang [plr] -- 18+ will not work if you have FE Godmode on',
  94.     '[83] unbang',
  95.     '[84] delcmdbar -- Removes the command bar completely',
  96.     '[85] bringmod [obj] -- Brings all the parts in a model, client only, comes from ;bringobj enter exact name of model',
  97.     '[86] shutdown -- Uses harkinians script to shutdown server',
  98.     '[87] respawn -- If grespawn doesnt work you can use respawn',
  99.     '[88] delobj [obj] -- Deletes a certain brick in workspace, client sided',
  100.     '[89] getplrs -- Prints all players in game',
  101.     '[90] deldecal -- Deletes all decals client sided',
  102.     '[91] opfinality -- Loads in my FE GUI Opfinality',
  103.     '[92] remotes -- Prints all remotes in the game in the console when added',
  104.     '[93] noremotes -- Stops printing remotes',
  105.     '[94] tpdefault -- Stops all loop teleports to a player',
  106.     '[95] stopsit -- Will not allow you to sit',
  107.     '[96] gosit -- Allows you to sit',
  108.     '[97] clicktp -- Enables click tp',
  109.     '[98] noclicktp -- Disables click tp',
  110.     '[99] toolson -- If any tools are dropped in the workspace you will automatically get them',
  111.     '[100] toolsoff -- Stops ;toolson',
  112.     '[101] version -- Gets the admin version',
  113.     '[102] state [num] -- Changes your humanoid state, ;unstate to stop.',
  114.     '[103] gravity [num] -- Changes workspace gravity default is 196.2',
  115.     '[104] pgs -- Checks if the game has PGSPhysicsSolverEnabled enabled',
  116.     '[105] clickdel -- Delete any block you press q on, client sided',
  117.     '[106] noclickdel -- Stops clickdel',
  118.     '[107] looprhats -- Loop removes mesh of your hats/loop block hats',
  119.     '[108] unlooprhats -- Stops loop removing mesh',
  120.     '[109] looprtool -- Loop removes mesh of your tool/loop block tools',
  121.     '[110] unlooprtool -- Stops loop removing mesh',
  122.     '[111] givealltools [plr] -- Gives all the tools you have in your backpack to the player',
  123.     '[112] age [plr] -- Makes you chat the account age of the player',
  124.     '[113] id [plr] -- Makes you chat the account ID of the player',
  125.     '[114] .age [plr] -- Privately shows you the account age of the player',
  126.     '[115] .id [plr] -- Privately shows you the account ID of the player',
  127.     '[116] gameid -- Shows the game ID',
  128.     '[117] removeinvis -- Removes all invisible walls/parts, client sided',
  129.     '[118] removefog -- Removes fog, client sided',
  130.     '[119] disable -- Disables your character by removing humanoid',
  131.     '[120] enable -- Enables your character by adding humanoid',
  132.     '[121] prefix [key] -- Changes the prefix used, default is ;',
  133.     '[122] ;resetprefix -- Resets the prefix to ; incase you change it to an unusable prefix. Say exactly ";resetprefix" to do this command, no matter what your prefix is set to.',
  134.     '[123] flyspeed [num] -- Change your fly speed, default is 1',
  135.     '[124] carpet [plr] -- Makes you a carpet for a player, will not work if FE Godmode is on',
  136.     '[125] uncarpet -- Stops carpet player',
  137.     '[126] stare [plr] -- Turns your character to stare at another player',
  138.     '[127] unstare -- Stops stare player',
  139.     '[128] logchat -- Logs all chat (including /e and whispers) of all players',
  140.     '[129] unlogchat -- Disables logchat',
  141.     '[130] fixcam -- Fixes/resets your camera',
  142.     '[131] unstate -- Stops changing state',
  143. }
  144. speedget = 1
  145.  
  146. lplayer = game:GetService("Players").LocalPlayer
  147.  
  148. lplayer.CharacterAdded:Connect(function(character)
  149.     spin = false
  150.     flying = false
  151.     staring = false
  152.     banpl = false
  153. end)
  154.  
  155. function change()
  156.     prefix = prefix
  157.     speedfly = speedfly
  158. end
  159.  
  160. function GetPlayer(String) -- Credit to Timeless/xFunnieuss
  161.     local Found = {}
  162.     local strl = String:lower()
  163.     if strl == "all" then
  164.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  165.             table.insert(Found,v)
  166.         end
  167.     elseif strl == "others" then
  168.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  169.             if v.Name ~= lplayer.Name then
  170.                 table.insert(Found,v)
  171.             end
  172.         end  
  173.     elseif strl == "me" then
  174.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  175.             if v.Name == lplayer.Name then
  176.                 table.insert(Found,v)
  177.             end
  178.         end  
  179.     else
  180.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  181.             if v.Name:lower():sub(1, #String) == String:lower() then
  182.                 table.insert(Found,v)
  183.             end
  184.         end    
  185.     end
  186.     return Found    
  187. end
  188.  
  189. local Mouse = lplayer:GetMouse()
  190.  
  191. spin = false
  192. followed = false
  193. traill = false
  194. noclip = false
  195. annoying = false
  196. hwalk = false
  197. droppinghats = false
  198. droppingtools = false
  199. flying = false
  200. spamdelay = 1
  201. spamming = false
  202. spammingpm = false
  203. cbringing = false
  204. remotes = true
  205. added = true
  206. binds = false
  207. stopsitting = false
  208. clickgoto = false
  209. gettingtools = false
  210. removingmeshhats = false
  211. removingmeshtool = false
  212. clickdel = false
  213. staring = false
  214. chatlogs = false
  215. banpl = false
  216. changingstate = false
  217. statechosen = 0
  218.  
  219. adminversion = "Reviz Admin by illremember, Version 2.0"
  220.  
  221. flying = false
  222. speedfly = 1
  223.  
  224. function plrchat(plr, chat)
  225. print(plr.Name..": "..tick().."n"..chat)
  226. end
  227.  
  228. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  229. v.Chatted:connect(function(chat)
  230. if chatlogs then
  231. plrchat(v, chat)
  232. end
  233. end)
  234. end
  235. game:GetService("Players").PlayerAdded:connect(function(plr)
  236. plr.Chatted:connect(function(chat)
  237. if chatlogs then
  238. plrchat(plr, chat)
  239. end
  240. end)
  241. end)
  242.  
  243.  
  244. local ScreenGui = Instance.new("ScreenGui")
  245. local Frame = Instance.new("Frame")
  246. local CMDBAR = Instance.new("TextBox")
  247. ScreenGui.Parent = game:GetService("CoreGui")
  248. Frame.Parent = ScreenGui
  249. Frame.BackgroundColor3 = Color3.new(0.3, 0.1, 0.1)
  250. Frame.BackgroundTransparency = 0.3
  251. Frame.Position = UDim2.new(0.5, 0, 0, 10)
  252. Frame.Size = UDim2.new(0, 200, 0, 40)
  253. Frame.Active = true
  254. Frame.Draggable = true
  255. CMDBAR.Name = "CMDBAR"
  256. CMDBAR.Parent = Frame
  257. CMDBAR.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  258. CMDBAR.BackgroundTransparency = 0.20000000298023
  259. CMDBAR.Size = UDim2.new(0, 180, 0, 20)
  260. CMDBAR.Position = UDim2.new(0.05, 0, 0.25, 0)
  261. CMDBAR.Font = Enum.Font.SourceSansLight
  262. CMDBAR.FontSize = Enum.FontSize.Size14
  263. CMDBAR.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
  264. CMDBAR.TextScaled = true
  265. CMDBAR.TextSize = 14
  266. CMDBAR.TextWrapped = true
  267. CMDBAR.Text = "Press ; to type, Enter to execute"
  268.  
  269. local CMDS = Instance.new("ScreenGui")
  270. local CMDSFRAME = Instance.new("Frame")
  271. local ScrollingFrame = Instance.new("ScrollingFrame")
  272. local TextLabel = Instance.new("TextLabel")
  273. local closegui = Instance.new("TextButton")
  274. CMDS.Name = "CMDS"
  275. CMDS.Parent = game:GetService("CoreGui")
  276. CMDSFRAME.Name = "CMDSFRAME"
  277. CMDSFRAME.Parent = CMDS
  278. CMDSFRAME.Active = true
  279. CMDSFRAME.BackgroundColor3 = Color3.new(0.223529, 0.231373, 0.309804)
  280. CMDSFRAME.BorderSizePixel = 0
  281. CMDSFRAME.Draggable = true
  282. CMDSFRAME.Position = UDim2.new(0, 315, 0, 100)
  283. CMDSFRAME.Size = UDim2.new(0, 275, 0, 275)
  284. CMDSFRAME.Visible = false
  285. ScrollingFrame.Parent = CMDSFRAME
  286. ScrollingFrame.BackgroundColor3 = Color3.new(0.160784, 0.160784, 0.203922)
  287. ScrollingFrame.BorderSizePixel = 0
  288. ScrollingFrame.Position = UDim2.new(0, 0, 0.0729999989, 0)
  289. ScrollingFrame.Size = UDim2.new(1.04999995, 0, 0.92900002, 0)
  290. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 10, 0)
  291. TextLabel.Parent = ScrollingFrame
  292. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  293. TextLabel.BackgroundTransparency = 1
  294. TextLabel.Size = UDim2.new(0.930000007, 0, 1, 0)
  295. TextLabel.Font = Enum.Font.SourceSans
  296. TextLabel.FontSize = Enum.FontSize.Size18
  297. TextLabel.Text = "[-] cmdbar is shown when ; is pressed.,n[1] kill [plr] -- You need a tool! Will kill the player, use rkill to kill you and player,n[2] bring [plr] -- You need a tool! Will bring player to you,n[3] spin [plr] -- You need a tool! Makes you and the player spin crazy,n[4] unspin -- Use after using spin cmd and dying, so you stop loop teleporting,n[5] attach [plr] -- You need a tool! Attaches you to player,n[6] unattach [plr] -- Attempts to unattach you from a player,n[7] follow [plr] -- Makes you follow behind the player,n[8] unfollow,n[9] freefall [plr] -- You need a tool! Teleports you and the player up into the air,n[10] trail [plr] -- The opposite of follow, you stay infront of player,n[11] untrail,n[12] orbit [plr] -- Makes you orbit the player,n[13] unorbit,n[14] fling [plr] -- Makes you fling the player,n[15] unfling,n[16] fecheck -- Checks if the game is FE or not,n[17] void [plr] -- Teleports player to the void,n[18] noclip -- Gives you noclip to walk through walls,n[19] clip -- Removes noclip,n[20] speed [num]/ws [num] -- Changes how fast you walk 16 is default,n[21] jumppower [num]/jp [num] -- Changes how high you jump 50 is default,n[22] hipheight [num]/hh [num] -- Changes how high you float 0 is default,n[23] default -- Changes your speed, jumppower and hipheight to default values,n[24] annoy [plr] -- Loop teleports you to the player,n[25] unannoy,n[26] headwalk [plr] -- Loop teleports you to the player head,n[27] unheadwalk,n[28] nolimbs -- Removes your arms and legs,n[29] god -- Gives you FE Godmode,n[30] drophats -- Drops your accessories,n[31] droptool -- Drops any tool you have equipped,n[32] loopdhats -- Loop drops your accessories,n[33] unloopdhats,n[34] loopdtool -- Loop drops any tools you have equipped,n[35] unloopdtool,n[36] invisible -- Gives you invisibility CREDIT TO TIMELESS,n[37] view [plr] -- Changes your camera to the player character,n[38] unview,n[39] goto [plr] -- Teleports you to player,n[40] fly -- Allows you to fly,n[41] unfly,n[42] chat [msg] -- Makes you chat a message,n[43] spam [msg] -- Spams a message,n[44] unspam,n[45] spamwait [num] -- Changes delay of chatting a message for the spam command in seconds default is 1 second,n[46] pmspam [plr] -- Spams a player in private message,n[47] unpmspam,n[48] cfreeze [plr] -- Freezes a player on your client, they will only be frozen for you,n[49] uncfreeze [plr],n[50] unlockws -- Unlocks the workspace,n[51] lockws -- Locks the workspace,n[52] btools -- Gives you btools that will only show to you useful for deleting certain blocks only for you,n[53] pstand -- Enables platform stand,n[54] unpstand -- Disables platform stand,n[55] blockhead -- Removes your head mesh,n[56] sit,n[57] bringobj [obj] -- Only shows on client, brings an object/part to you constantly, can be used to bring healing parts, weapons, money etc, type in exact name,n[58] wsvis [num] -- Changes visibility of workspace parts, num should be between 0 and 1, only shows client sided,n[59] hypertotal -- Loads in my FE GUI Hypertotal,n[60] cmds -- Prints all commands,n[61] rmeshhats/blockhats -- Removes the meshes of all your accessories aka block hats,n[62] rmeshtool/blocktool -- Removes the mesh of the tool you have equipped aka block tool,n[63] spinner -- Makes you spin,n[64] nospinner,n[65] reach [num] -- Gives you reach, mostly used for swords, say ;reachd for default and enter number after for custom,n[66] noreach -- Removes reach, must have tool equipped,n[67] rkill [plr] -- Kills you and the player, use kill to just kill the player without dying,n[68] tp me [plr] -- Alternative to goto,n[69] cbring [plr] -- Brings player infront of you, shows only on client, allows you to do damage to player,n[70] uncbring,n[71] swap [plr] -- You need a tool! Swaps players position with yours and your position with players,n[72] givetool [plr] -- Gives the tool you have equipped to the player,n[73] glitch [plr] -- Glitches you and the player, looks very cool,n[74] unglitch -- Unglitches you,n[75] grespawn -- Alternative to normal respawn and usually works best for when you want to reset with FE Godmode,n[76] explorer -- Loads up DEX,n[77] reset -- Resets your character.,n[78] anim [id] -- Applies an animation on you, must be created by ROBLOX,n[79] animgui -- Loads up Energize animations GUI,n[80] savepos -- Saves your current position,n[81] loadpos -- Teleports you to your saved position,n[82] bang [plr] -- 18+,n[83] unbang,n[84] delcmdbar -- Removes the command bar completely,n[85] bringmod [obj] -- Brings all the parts in a model, client only, comes from ;bringobj enter exact name of model,n[86] shutdown -- Uses harkinians script to shutdown server,n[87] respawn -- If grespawn doesnt work you can use respawn,n[88] delobj [obj] -- Deletes a certain brick in workspace, client sided,n[89] getplrs -- Prints all players in game,n[90] deldecal -- Deletes all decals client sided,n[91] opfinality -- Loads in my FE GUI Opfinality,n[92] remotes -- Prints all remotes in the game in the console when added,n[93] noremotes -- Stops printing remotes,n[94] tpdefault -- Stops all loop teleports to a player,n[95] stopsit -- Will not allow you to sit,n[96] gosit -- Allows you to sit,n[97] clicktp -- Enables click tp,n[98] noclicktp -- Disables click tp,n[99] toolson -- If any tools are dropped in the workspace you will automatically get them,n[100] toolsoff -- Stops ;toolson,n[101] version -- Gets the admin version, n This list of commands is NOT showing everything, go to my thread in the pastebin link to see ALL commands."
  298. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  299. TextLabel.TextSize = 15
  300. TextLabel.TextWrapped = true
  301. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  302. TextLabel.TextYAlignment = Enum.TextYAlignment.Top
  303. closegui.Name = "closegui"
  304. closegui.Parent = CMDSFRAME
  305. closegui.BackgroundColor3 = Color3.new(0.890196, 0.223529, 0.0588235)
  306. closegui.BorderSizePixel = 0
  307. closegui.Position = UDim2.new(0.995000005, 0, 0, 0)
  308. closegui.Size = UDim2.new(0.0545952693, 0, 0.0728644878, 0)
  309. closegui.Font = Enum.Font.SourceSansBold
  310. closegui.FontSize = Enum.FontSize.Size24
  311. closegui.Text = "X"
  312. closegui.TextColor3 = Color3.new(1, 1, 1)
  313. closegui.TextSize = 20
  314.  
  315. closegui.MouseButton1Click:connect(function()
  316.     CMDSFRAME.Visible = false
  317. end)
  318.  
  319. game:GetService('RunService').Stepped:connect(function()
  320.     if spin then
  321.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[spinplr.Name].Character.HumanoidRootPart.CFrame
  322.     end
  323.     if followed then
  324.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * -5
  325.     end
  326.     if traill then
  327.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * 5
  328.     end
  329.     if annoying then
  330.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[annplr.Name].Character.HumanoidRootPart.CFrame
  331.     end
  332.     if hwalk then
  333.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[hdwplr.Name].Character.HumanoidRootPart.CFrame + Vector3.new(0, 4, 0)
  334.     end
  335.     if staring then
  336.         lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(lplayer.Character.Torso.Position, game:GetService("Players")[stareplr.Name].Character.Torso.Position)
  337.     end
  338. end)
  339. game:GetService('RunService').Stepped:connect(function()
  340.     if noclip then
  341.         if lplayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  342.             lplayer.Character.Head.CanCollide = false
  343.             lplayer.Character.Torso.CanCollide = false
  344.             lplayer.Character["Left Leg"].CanCollide = false
  345.             lplayer.Character["Right Leg"].CanCollide = false
  346.         else
  347.             lplayer.Character.Humanoid:ChangeState(11)
  348.         end
  349.     end
  350.     if changingstate then
  351.         lplayer.Character.Humanoid:ChangeState(statechosen)
  352.     end
  353. end)
  354. game:GetService('RunService').Stepped:connect(function()
  355.     if droppinghats then
  356.         for i,v in pairs(lplayer.Character:GetChildren()) do
  357.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  358.                 v.Parent = workspace
  359.             end
  360.         end
  361.     end
  362.     if droppingtools then
  363.         for i,v in pairs(lplayer.Character:GetChildren()) do
  364.             if (v:IsA("Tool")) then
  365.                 v.Parent = workspace
  366.             end
  367.         end
  368.     end
  369.     if removingmeshhats then
  370.         for i,v in pairs(lplayer.Character:GetChildren()) do
  371.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  372.                 v.Handle.Mesh:Destroy()
  373.             end
  374.         end
  375.     end
  376.     if removingmeshtool then
  377.         for i,v in pairs(lplayer.Character:GetChildren()) do
  378.             if (v:IsA("Tool")) then
  379.                 v.Handle.Mesh:Destroy()
  380.             end
  381.         end
  382.     end
  383. end)
  384. game:GetService('RunService').Stepped:connect(function()
  385.     if banpl then
  386.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[bplrr].Character.HumanoidRootPart.CFrame
  387.     end
  388. end)
  389. game:GetService('RunService').Stepped:connect(function()
  390.     if stopsitting then
  391.         lplayer.Character.Humanoid.Sit = false
  392.     end
  393. end)
  394.  
  395. plr = lplayer
  396. hum = plr.Character.HumanoidRootPart
  397. mouse = plr:GetMouse()
  398. mouse.KeyDown:connect(function(key)
  399.     if key == "e" then
  400.         if mouse.Target then
  401.             if clickgoto then
  402.                 hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  403.             elseif clickdel then
  404.                 mouse.Target:Destroy()
  405.             end
  406.         end
  407.     end
  408. end)
  409.  
  410. game:GetService("Workspace").ChildAdded:connect(function(part)
  411.     if gettingtools then
  412.         if part:IsA("Tool") then
  413.             part.Handle.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  414.         end
  415.     end
  416. end)
  417.  
  418. lplayer.Chatted:Connect(function(msg)
  419.     if string.sub(msg, 1, 6) == (prefix.."kill ") then
  420.         if string.sub(msg, 7) == "me" then
  421.             lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(100000,0,100000)
  422.         else
  423.             for i,v in pairs(GetPlayer(string.sub(msg, 7)))do
  424.                 local NOW = lplayer.Character.HumanoidRootPart.CFrame
  425.                 lplayer.Character.Humanoid.Name = 1
  426.                 local l = lplayer.Character["1"]:Clone()
  427.                 l.Parent = lplayer.Character
  428.                 l.Name = "Humanoid"
  429.                 wait(0.1)
  430.                 lplayer.Character["1"]:Destroy()
  431.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  432.                 lplayer.Character.Animate.Disabled = true
  433.                 wait(0.1)
  434.                 lplayer.Character.Animate.Disabled = false
  435.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  436.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  437.                 lplayer.Character.Humanoid:EquipTool(v)
  438.                 end
  439.                 local function tp(player,player2)
  440.                 local char1,char2=player.Character,player2.Character
  441.                 if char1 and char2 then
  442.                 char1:MoveTo(char2.Head.Position)
  443.                 end
  444.                 end
  445.                 wait(0.1)
  446.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  447.                 wait(0.2)
  448.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  449.                 wait(0.5)
  450.                 lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
  451.                 wait(0.7)
  452.                 tp(lplayer,game:GetService("Players")[v.Name])
  453.                 wait(0.7)
  454.                 lplayer.Character.HumanoidRootPart.CFrame = NOW
  455.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  456.                 Title = "Tools needed!";
  457.                 Text = "You need a tool in your backpack for this command!";
  458.                 })
  459.             end
  460.         end
  461.     end
  462.     if string.sub(msg, 1, 7) == (prefix.."bring ") then
  463.         for i,v in pairs(GetPlayer(string.sub(msg, 8)))do
  464.             local NOW = lplayer.Character.HumanoidRootPart.CFrame
  465.             lplayer.Character.Humanoid.Name = 1
  466.             local l = lplayer.Character["1"]:Clone()
  467.             l.Parent = lplayer.Character
  468.             l.Name = "Humanoid"
  469.             wait(0.1)
  470.             lplayer.Character["1"]:Destroy()
  471.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  472.             lplayer.Character.Animate.Disabled = true
  473.             wait(0.1)
  474.             lplayer.Character.Animate.Disabled = false
  475.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  476.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  477.             lplayer.Character.Humanoid:EquipTool(v)
  478.             end
  479.             local function tp(player,player2)
  480.             local char1,char2=player.Character,player2.Character
  481.             if char1 and char2 then
  482.             char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  483.             end
  484.             end
  485.             local function getout(player,player2)
  486.             local char1,char2=player.Character,player2.Character
  487.             if char1 and char2 then
  488.             char1:MoveTo(char2.Head.Position)
  489.             end
  490.             end
  491.             tp(game:GetService("Players")[v.Name], lplayer)
  492.             wait(0.2)
  493.             tp(game:GetService("Players")[v.Name], lplayer)
  494.             wait(0.5)
  495.             lplayer.Character.HumanoidRootPart.CFrame = NOW
  496.             wait(0.5)
  497.             getout(lplayer, game:GetService("Players")[v.Name])
  498.             wait(0.3)
  499.             lplayer.Character.HumanoidRootPart.CFrame = NOW
  500.             game:GetService("StarterGui"):SetCore("SendNotification", {
  501.             Title = "Tools needed!";
  502.             Text = "You need a tool in your backpack for this command!";
  503.             })
  504.         end
  505.     end
  506.     if string.sub(msg, 1, 6) == (prefix.."spin ") then
  507.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  508.             lplayer.Character.Humanoid.Name = 1
  509.             local l = lplayer.Character["1"]:Clone()
  510.             l.Parent = lplayer.Character
  511.             l.Name = "Humanoid"
  512.             wait(0.1)
  513.             lplayer.Character["1"]:Destroy()
  514.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  515.             lplayer.Character.Animate.Disabled = true
  516.             wait(0.1)
  517.             lplayer.Character.Animate.Disabled = false
  518.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  519.             lplayer.Character.Animate.Disabled = false
  520.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  521.             lplayer.Character.Humanoid:EquipTool(v)
  522.             end
  523.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  524.             spinplr = v
  525.             wait(0.5)
  526.             spin = true
  527.             game:GetService("StarterGui"):SetCore("SendNotification", {
  528.             Title = "Tools needed!";
  529.             Text = "You need a tool in your backpack for this command!";
  530.             })
  531.         end
  532.     end
  533.     if string.sub(msg, 1, 7) == (prefix.."unspin") then
  534.         spin = false
  535.     end
  536.     if string.sub(msg, 1, 8) == (prefix.."attach ") then
  537.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  538.             lplayer.Character.Humanoid.Name = 1
  539.             local l = lplayer.Character["1"]:Clone()
  540.             l.Parent = lplayer.Character
  541.             l.Name = "Humanoid"
  542.             wait(0.1)
  543.             lplayer.Character["1"]:Destroy()
  544.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  545.             lplayer.Character.Animate.Disabled = true
  546.             wait(0.1)
  547.             lplayer.Character.Animate.Disabled = false
  548.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  549.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  550.             lplayer.Character.Humanoid:EquipTool(v)
  551.             end
  552.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  553.             wait(0.3)
  554.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  555.             attplr = v
  556.             game:GetService("StarterGui"):SetCore("SendNotification", {
  557.             Title = "Tools needed!";
  558.             Text = "You need a tool in your backpack for this command!";
  559.             })
  560.         end
  561.     end
  562.     if string.sub(msg, 1, 10) == (prefix.."unattach ") then
  563.         for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
  564.             local function getout(player,player2)
  565.             local char1,char2=player.Character,player2.Character
  566.             if char1 and char2 then
  567.             char1:MoveTo(char2.Head.Position)
  568.             end
  569.             end
  570.             getout(lplayer, game:GetService("Players")[v.Name])
  571.         end
  572.     end
  573.     if string.sub(msg, 1, 8) == (prefix.."follow ") then
  574.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  575.             followed = true
  576.             flwplr = v
  577.         end
  578.     end
  579.     if string.sub(msg, 1, 9) == (prefix.."unfollow") then
  580.         followed = false
  581.     end
  582.     if string.sub(msg, 1, 10) == (prefix.."freefall ") then
  583.         for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
  584.             local NOW = lplayer.Character.HumanoidRootPart.CFrame
  585.             lplayer.Character.Humanoid.Name = 1
  586.             local l = lplayer.Character["1"]:Clone()
  587.             l.Parent = lplayer.Character
  588.             l.Name = "Humanoid"
  589.             wait(0.1)
  590.             lplayer.Character["1"]:Destroy()
  591.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  592.             lplayer.Character.Animate.Disabled = true
  593.             wait(0.1)
  594.             lplayer.Character.Animate.Disabled = false
  595.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  596.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  597.             lplayer.Character.Humanoid:EquipTool(v)
  598.             end
  599.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  600.             wait(0.2)
  601.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  602.             wait(0.6)
  603.             lplayer.Character.HumanoidRootPart.CFrame = NOW
  604.             wait(0.6)
  605.             lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
  606.             game:GetService("StarterGui"):SetCore("SendNotification", {
  607.             Title = "Tools needed!";
  608.             Text = "You need a tool in your backpack for this command!";
  609.             })
  610.         end
  611.     end
  612.     if string.sub(msg, 1, 7) == (prefix.."trail ") then
  613.         for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  614.             traill = true
  615.             trlplr = v
  616.         end
  617.     end
  618.     if string.sub(msg, 1, 8) == (prefix.."untrail") then
  619.         traill = false
  620.     end
  621.     if string.sub(msg, 1, 7) == (prefix.."orbit ") then
  622.         if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then
  623.             lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  624.         else
  625.             for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  626.                 local o = Instance.new("RocketPropulsion")
  627.                 o.Parent = lplayer.Character.HumanoidRootPart
  628.                 o.Name = "Orbit"
  629.                 o.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
  630.                 o:Fire()
  631.                 noclip = true
  632.             end
  633.         end
  634.     end
  635.     if string.sub(msg, 1, 8) == (prefix.."unorbit") then
  636.         lplayer.Character.HumanoidRootPart.Orbit:Destroy()
  637.         noclip = false
  638.     end
  639.     if string.sub(msg, 1, 7) == (prefix.."fling ") then
  640.         if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then
  641.             lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  642.         else
  643.             for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  644.                 local y = Instance.new("RocketPropulsion")
  645.                 y.Parent = lplayer.Character.HumanoidRootPart
  646.                 y.CartoonFactor = 1
  647.                 y.MaxThrust = 800000
  648.                 y.MaxSpeed = 1000
  649.                 y.ThrustP = 200000
  650.                 y.Name = "Fling"
  651.                 game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
  652.                 y.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
  653.                 y:Fire()
  654.                 noclip = true
  655.             end
  656.         end
  657.     end
  658.     if string.sub(msg, 1, 8) == (prefix.."unfling") then
  659.         noclip = false
  660.         lplayer.Character.HumanoidRootPart.Fling:Destroy()
  661.         game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
  662.         wait(0.4)
  663.         lplayer.Character.HumanoidRootPart.Fling:Destroy()
  664.     end
  665.     if string.sub(msg, 1, 8) == (prefix.."fecheck") then
  666.         if game:GetService("Workspace").FilteringEnabled == true then
  667.             warn("FE is Enabled (Filtering Enabled)")
  668.             game:GetService("StarterGui"):SetCore("SendNotification", {
  669.                 Title = "FE is Enabled";
  670.                 Text = "Filtering Enabled. Enjoy using Reviz Admin!";
  671.             })
  672.         else
  673.             warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.")
  674.             game:GetService("StarterGui"):SetCore("SendNotification", {
  675.                 Title = "FE is Disabled";
  676.                 Text = "Filtering Disabled. Consider using a different admin script.";
  677.             })
  678.         end
  679.     end
  680.     if string.sub(msg, 1, 6) == (prefix.."void ") then
  681.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  682.             lplayer.Character.Humanoid.Name = 1
  683.             local l = lplayer.Character["1"]:Clone()
  684.             l.Parent = lplayer.Character
  685.             l.Name = "Humanoid"
  686.             wait(0.1)
  687.             lplayer.Character["1"]:Destroy()
  688.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  689.             lplayer.Character.Animate.Disabled = true
  690.             wait(0.1)
  691.             lplayer.Character.Animate.Disabled = false
  692.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  693.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  694.             lplayer.Character.Humanoid:EquipTool(v)
  695.             end
  696.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  697.             wait(0.2)
  698.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  699.             wait(0.6)
  700.             lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(999999999999999,0,999999999999999)
  701.             game:GetService("StarterGui"):SetCore("SendNotification", {
  702.             Title = "Tools needed!";
  703.             Text = "You need a tool in your backpack for this command!";
  704.             })
  705.         end
  706.     end
  707.     if string.sub(msg, 1, 7) == (prefix.."noclip") then
  708.         noclip = true
  709.         game:GetService("StarterGui"):SetCore("SendNotification", {
  710.         Title = "Noclip enabled";
  711.         Text = "Type ;clip to disable";
  712.         })
  713.     end
  714.     if string.sub(msg, 1, 5) == (prefix.."clip") then
  715.         noclip = false
  716.         game:GetService("StarterGui"):SetCore("SendNotification", {
  717.         Title = "Noclip disabled";
  718.         Text = "Type ;noclip to enable";
  719.         })
  720.     end
  721.     if string.sub(msg, 1, 7) == (prefix.."speed ") then
  722.         lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 8))
  723.     end
  724.     if string.sub(msg, 1, 4) == (prefix.."ws ") then
  725.         lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 5))
  726.     end
  727.     if string.sub(msg, 1, 11) == (prefix.."hipheight ") then
  728.         lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 12))
  729.     end
  730.     if string.sub(msg, 1, 4) == (prefix.."hh ") then
  731.         lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 5))
  732.     end
  733.     if string.sub(msg, 1, 11) == (prefix.."jumppower ") then
  734.         lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 12))
  735.     end
  736.     if string.sub(msg, 1, 4) == (prefix.."jp ") then
  737.         lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 5))
  738.     end
  739.     if string.sub(msg, 1, 8) == (prefix.."default") then
  740.         lplayer.Character.Humanoid.JumpPower = 50
  741.         lplayer.Character.Humanoid.WalkSpeed = 16
  742.         lplayer.Character.Humanoid.HipHeight = 0
  743.     end
  744.     if string.sub(msg, 1, 7) == (prefix.."annoy ") then
  745.         for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  746.             annoying = true
  747.             annplr = v
  748.         end
  749.     end
  750.     if string.sub(msg, 1, 8) == (prefix.."unannoy") then
  751.         annoying = false
  752.     end
  753.     if string.sub(msg, 1, 10) == (prefix.."headwalk ") then
  754.         for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
  755.             hwalk = true
  756.             hdwplr = v
  757.         end
  758.     end
  759.     if string.sub(msg, 1, 11) == (prefix.."unheadwalk") then
  760.         hwalk = false
  761.     end
  762.     if string.sub(msg, 1, 8) == (prefix.."nolimbs") then
  763.         lplayer.Character["Left Leg"]:Destroy()
  764.         lplayer.Character["Left Arm"]:Destroy()
  765.         lplayer.Character["Right Leg"]:Destroy()
  766.         lplayer.Character["Right Arm"]:Destroy()
  767.     end
  768.     if string.sub(msg, 1, 4) == (prefix.."god") then
  769.         lplayer.Character.Humanoid.Name = 1
  770.         local l = lplayer.Character["1"]:Clone()
  771.         l.Parent = lplayer.Character
  772.         l.Name = "Humanoid"
  773.         wait(0.1)
  774.         lplayer.Character["1"]:Destroy()
  775.         game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  776.         lplayer.Character.Animate.Disabled = true
  777.         wait(0.1)
  778.         lplayer.Character.Animate.Disabled = false
  779.         lplayer.Character.Humanoid.DisplayDistanceType = "None"
  780.         game:GetService("StarterGui"):SetCore("SendNotification", {
  781.         Title = "FE Godmode enabled";
  782.         Text = "Use ;grespawn or ;respawn to remove";
  783.         })
  784.     end
  785.     if string.sub(msg, 1, 9) == (prefix.."drophats") then
  786.         for i,v in pairs(lplayer.Character:GetChildren()) do
  787.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  788.                 v.Parent = workspace
  789.             end
  790.         end
  791.     end
  792.     if string.sub(msg, 1, 9) == (prefix.."droptool") then
  793.         for i,v in pairs(lplayer.Character:GetChildren()) do
  794.             if (v:IsA("Tool")) then
  795.                 v.Parent = workspace
  796.             end
  797.         end
  798.     end
  799.     if string.sub(msg, 1, 10) == (prefix.."loopdhats") then
  800.         droppinghats = true
  801.         game:GetService("StarterGui"):SetCore("SendNotification", {
  802.         Title = "Loop Drop Enabled";
  803.         Text = "Type ;unloopdhats to disable";
  804.         })
  805.     end
  806.     if string.sub(msg, 1, 12) == (prefix.."unloopdhats") then
  807.         droppinghats = false
  808.         game:GetService("StarterGui"):SetCore("SendNotification", {
  809.         Title = "Loop Drop Disabled";
  810.         Text = "Type ;loopdhats to enable.";
  811.         })
  812.     end
  813.     if string.sub(msg, 1, 10) == (prefix.."loopdtool") then
  814.         droppingtools = true
  815.         game:GetService("StarterGui"):SetCore("SendNotification", {
  816.         Title = "Loop Drop Enabled";
  817.         Text = "Type ;unloopdtool to disable";
  818.         })
  819.     end
  820.     if string.sub(msg, 1, 12) == (prefix.."unloopdtool") then
  821.         droppingtools = false
  822.         game:GetService("StarterGui"):SetCore("SendNotification", {
  823.         Title = "Loop Drop Disabled";
  824.         Text = "Type ;loopdtool to enable.";
  825.         })
  826.     end
  827.     if string.sub(msg, 1, 10) == (prefix.."invisible") then -- Credit to Timeless
  828.         Local = game:GetService('Players').LocalPlayer
  829.         Char  = Local.Character
  830.         touched,tpdback = false, false
  831.         box = Instance.new('Part',workspace)
  832.         box.Anchored = true
  833.         box.CanCollide = true
  834.         box.Size = Vector3.new(10,1,10)
  835.         box.Position = Vector3.new(0,10000,0)
  836.         box.Touched:connect(function(part)
  837.             if (part.Parent.Name == Local.Name) then
  838.                 if touched == false then
  839.                     touched = true
  840.                     function apply()
  841.                         if script.Disabled ~= true then
  842.                             no = Char.HumanoidRootPart:Clone()
  843.                             wait(.25)
  844.                             Char.HumanoidRootPart:Destroy()
  845.                             no.Parent = Char
  846.                             Char:MoveTo(loc)
  847.                             touched = false
  848.                         end end
  849.                     if Char then
  850.                         apply()
  851.                     end
  852.                 end
  853.             end
  854.         end)
  855.         repeat wait() until Char
  856.         loc = Char.HumanoidRootPart.Position
  857.         Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  858.         game:GetService("StarterGui"):SetCore("SendNotification", {
  859.         Title = "Invisibility enabled!";
  860.         Text = "Reset or use ;respawn to remove.";
  861.         })
  862.     end
  863.     if string.sub(msg, 1, 6) == (prefix.."view ") then
  864.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  865.             if game:GetService("Players")[v.Name].Character.Humanoid then
  866.                 game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Humanoid
  867.             else
  868.                 game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
  869.             end
  870.         end
  871.     end
  872.     if string.sub(msg, 1, 7) == (prefix.."unview") then
  873.         if lplayer.Character.Humanoid then
  874.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
  875.         else
  876.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
  877.         end
  878.     end
  879.     if string.sub(msg, 1, 6) == (prefix.."goto ") then
  880.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  881.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  882.         end
  883.     end
  884.     if string.sub(msg, 1, 4) == (prefix.."fly") then
  885.     repeat wait() until lplayer and lplayer.Character and lplayer.Character:FindFirstChild('HumanoidRootPart') and lplayer.Character:FindFirstChild('Humanoid')
  886.     repeat wait() until Mouse
  887.    
  888.     local T = lplayer.Character.HumanoidRootPart
  889.     local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  890.     local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  891.     local SPEED = speedget
  892.    
  893.     local function fly()
  894.         flying = true
  895.         local BG = Instance.new('BodyGyro', T)
  896.         local BV = Instance.new('BodyVelocity', T)
  897.         BG.P = 9e4
  898.         BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  899.         BG.cframe = T.CFrame
  900.         BV.velocity = Vector3.new(0, 0.1, 0)
  901.         BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  902.         spawn(function()
  903.         repeat wait()
  904.         lplayer.Character.Humanoid.PlatformStand = true
  905.         if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  906.         SPEED = 50
  907.         elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  908.         SPEED = 0
  909.         end
  910.         if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  911.         BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  912.         lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  913.         elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  914.         BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  915.         else
  916.         BV.velocity = Vector3.new(0, 0.1, 0)
  917.         end
  918.         BG.cframe = workspace.CurrentCamera.CoordinateFrame
  919.                 until not flying
  920.                 CONTROL = {F = 0, B = 0, L = 0, R = 0}
  921.                 lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  922.                 SPEED = 0
  923.                 BG:destroy()
  924.                 BV:destroy()
  925.                 lplayer.Character.Humanoid.PlatformStand = false
  926.             end)
  927.         end
  928.     Mouse.KeyDown:connect(function(KEY)
  929.         if KEY:lower() == 'w' then
  930.             CONTROL.F = speedfly
  931.         elseif KEY:lower() == 's' then
  932.             CONTROL.B = -speedfly
  933.         elseif KEY:lower() == 'a' then
  934.             CONTROL.L = -speedfly
  935.         elseif KEY:lower() == 'd' then
  936.             CONTROL.R = speedfly
  937.         end
  938.     end)
  939.     Mouse.KeyUp:connect(function(KEY)
  940.         if KEY:lower() == 'w' then
  941.             CONTROL.F = 0
  942.         elseif KEY:lower() == 's' then
  943.             CONTROL.B = 0
  944.         elseif KEY:lower() == 'a' then
  945.             CONTROL.L = 0
  946.         elseif KEY:lower() == 'd' then
  947.             CONTROL.R = 0
  948.         end
  949.     end)
  950.     fly()
  951.     end
  952.     if string.sub(msg, 1, 6) == (prefix.."unfly") then
  953.         flying = false
  954.         lplayer.Character.Humanoid.PlatformStand = false
  955.     end
  956.     if string.sub(msg, 1, 6) == (prefix.."chat ") then
  957.         game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer((string.sub(msg, 7)), "All")
  958.     end
  959.     if string.sub(msg, 1, 6) == (prefix.."spam ") then
  960.         spamtext = (string.sub(msg, 7))
  961.         spamming = true
  962.     end
  963.     if string.sub(msg, 1, 7) == (prefix.."unspam") then
  964.         spamming = false
  965.     end
  966.     if string.sub(msg, 1, 10) == (prefix.."spamwait ") then
  967.         spamdelay = (string.sub(msg, 11))
  968.     end
  969.     if string.sub(msg, 1, 8) == (prefix.."pmspam ") then
  970.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  971.             pmspammed = v.Name
  972.             spammingpm = true
  973.         end
  974.     end
  975.     if string.sub(msg, 1, 9) == (prefix.."unpmspam") then
  976.         spammingpm = false
  977.     end
  978.     if string.sub(msg, 1, 9) == (prefix.."cfreeze ") then
  979.         for i,v in pairs(GetPlayer(string.sub(msg, 10))) do
  980.             v.Character["Left Leg"].Anchored = true
  981.             v.Character["Left Arm"].Anchored = true
  982.             v.Character["Right Leg"].Anchored = true
  983.             v.Character["Right Arm"].Anchored = true
  984.             v.Character.Torso.Anchored = true
  985.             v.Character.Head.Anchored = true
  986.         end
  987.     end
  988.     if string.sub(msg, 1, 11) == (prefix.."uncfreeze ") then
  989.         for i,v in pairs(GetPlayer(string.sub(msg, 12))) do
  990.             v.Character["Left Leg"].Anchored = false
  991.             v.Character["Left Arm"].Anchored = false
  992.             v.Character["Right Leg"].Anchored = false
  993.             v.Character["Right Arm"].Anchored = false
  994.             v.Character.Torso.Anchored = false
  995.             v.Character.Head.Anchored = false
  996.         end
  997.     end
  998.     if string.sub(msg, 1, 9) == (prefix.."unlockws") then
  999.         local a = game:GetService("Workspace"):getChildren()
  1000.         for i = 1, #a do
  1001.             if a[i].className == "Part" then
  1002.                 a[i].Locked = false
  1003.             elseif a[i].className == "Model" then
  1004.                 local r = a[i]:getChildren()
  1005.                 for i = 1, #r do
  1006.                     if r[i].className == "Part" then
  1007.                     r[i].Locked = false
  1008.                     end
  1009.                 end
  1010.             end
  1011.         end
  1012.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1013.         Title = "Success!";
  1014.         Text = "Workspace unlocked. Use ;lockws to lock.";
  1015.         })
  1016.     end
  1017.     if string.sub(msg, 1, 7) == (prefix.."lockws") then
  1018.         local a = game:GetService("Workspace"):getChildren()
  1019.         for i = 1, #a do
  1020.             if a[i].className == "Part" then
  1021.                 a[i].Locked = true
  1022.             elseif a[i].className == "Model" then
  1023.                 local r = a[i]:getChildren()
  1024.                 for i = 1, #r do
  1025.                     if r[i].className == "Part" then
  1026.                     r[i].Locked = true
  1027.                     end
  1028.                 end
  1029.             end
  1030.         end
  1031.     end
  1032.     if string.sub(msg, 1, 7) == (prefix.."btools") then
  1033.         local Clone_T = Instance.new("HopperBin",lplayer.Backpack)
  1034.         Clone_T.BinType = "Clone"
  1035.         local Destruct = Instance.new("HopperBin",lplayer.Backpack)
  1036.         Destruct.BinType = "Hammer"
  1037.         local Hold_T = Instance.new("HopperBin",lplayer.Backpack)
  1038.         Hold_T.BinType = "Grab"
  1039.     end
  1040.     if string.sub(msg, 1, 7) == (prefix.."pstand") then
  1041.         lplayer.Character.Humanoid.PlatformStand = true
  1042.     end
  1043.     if string.sub(msg, 1, 9) == (prefix.."unpstand") then
  1044.         lplayer.Character.Humanoid.PlatformStand = false
  1045.     end
  1046.     if string.sub(msg, 1, 10) == (prefix.."blockhead") then
  1047.         lplayer.Character.Head.Mesh:Destroy()
  1048.     end
  1049.     if string.sub(msg, 1, 4) == (prefix.."sit") then
  1050.         lplayer.Character.Humanoid.Sit = true
  1051.     end
  1052.     if string.sub(msg, 1, 10) == (prefix.."bringobj ") then
  1053.         local function bringobjw()
  1054.         for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
  1055.         if obj.Name == (string.sub(msg, 11)) then
  1056.         obj.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  1057.         obj.CanCollide = false
  1058.         obj.Transparency = 0.7
  1059.         wait()
  1060.         obj.CFrame = lplayer.Character["Left Leg"].CFrame
  1061.         wait()
  1062.         obj.CFrame = lplayer.Character["Right Leg"].CFrame
  1063.         wait()
  1064.         obj.CFrame = lplayer.Character["Head"].CFrame
  1065.         end
  1066.         end
  1067.         end
  1068.         while wait() do
  1069.             bringobjw()
  1070.         end
  1071.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1072.         Title = "BringObj";
  1073.         Text = "BringObj enabled.";
  1074.         })
  1075.     end
  1076.     if string.sub(msg, 1, 7) == (prefix.."wsvis ") then
  1077.         vis = (string.sub(msg, 8))
  1078.         local a = game:GetService("Workspace"):GetDescendants()
  1079.         for i = 1, #a do
  1080.             if a[i].className == "Part" then
  1081.                 a[i].Transparency = vis
  1082.             elseif a[i].className == "Model" then
  1083.                 local r = a[i]:getChildren()
  1084.                 for i = 1, #r do
  1085.                     if r[i].className == "Part" then
  1086.                     r[i].Transparency = vis
  1087.                     end
  1088.                 end
  1089.             end
  1090.         end
  1091.     end
  1092.     if string.sub(msg, 1, 11) == (prefix.."hypertotal") then
  1093.         loadstring(game:GetObjects("rbxassetid://1255063809")[1].Source)()
  1094.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1095.         Title = "Success!";
  1096.         Text = "HyperTotal GUI Loaded!";
  1097.         })
  1098.     end
  1099.     if string.sub(msg, 1, 5) == (prefix.."cmds") then
  1100.         CMDSFRAME.Visible = true
  1101.     end
  1102.     if string.sub(msg, 1, 10) == (prefix.."rmeshhats") then
  1103.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1104.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  1105.                 v.Handle.Mesh:Destroy()
  1106.             end
  1107.         end
  1108.     end
  1109.     if string.sub(msg, 1, 10) == (prefix.."blockhats") then
  1110.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1111.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  1112.                 v.Handle.Mesh:Destroy()
  1113.             end
  1114.         end
  1115.     end
  1116.     if string.sub(msg, 1, 10) == (prefix.."rmeshtool") then
  1117.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1118.             if (v:IsA("Tool")) then
  1119.                 v.Handle.Mesh:Destroy()
  1120.             end
  1121.         end
  1122.     end
  1123.     if string.sub(msg, 1, 10) == (prefix.."blocktool") then
  1124.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1125.             if (v:IsA("Tool")) then
  1126.                 v.Handle.Mesh:Destroy()
  1127.             end
  1128.         end
  1129.     end
  1130.     if string.sub(msg, 1, 8) == (prefix.."spinner") then
  1131.         local p = Instance.new("RocketPropulsion")
  1132.         p.Parent = lplayer.Character.HumanoidRootPart
  1133.         p.Name = "Spinner"
  1134.         p.Target = lplayer.Character["Left Arm"]
  1135.         p:Fire()
  1136.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1137.         Title = "Spinner enabled";
  1138.         Text = "Type ;nospinner to disable.";
  1139.         })
  1140.     end
  1141.     if string.sub(msg, 1, 10) == (prefix.."nospinner") then
  1142.         lplayer.Character.HumanoidRootPart.Spinner:Destroy()
  1143.     end
  1144.     if string.sub(msg, 1, 7) == (prefix.."reachd") then
  1145.         for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
  1146.             if v:isA("Tool") then
  1147.                 local a = Instance.new("SelectionBox",v.Handle)
  1148.                 a.Adornee = v.Handle
  1149.                 v.Handle.Size = Vector3.new(0.5,0.5,60)
  1150.                 v.GripPos = Vector3.new(0,0,0)
  1151.                 lplayer.Character.Humanoid:UnequipTools()
  1152.             end
  1153.         end
  1154.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1155.         Title = "Reach applied!";
  1156.         Text = "Applied to equipped sword. Use ;noreach to disable.";
  1157.         })
  1158.     end
  1159.     if string.sub(msg, 1, 7) == (prefix.."reach ") then
  1160.         for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
  1161.             if v:isA("Tool") then
  1162.                 handleSize = v.Handle.Size
  1163.                 wait()
  1164.                 local a = Instance.new("SelectionBox",v.Handle)
  1165.                 a.Name = "a"
  1166.                 a.Adornee = v.Handle
  1167.                 v.Handle.Size = Vector3.new(0.5,0.5,(string.sub(msg, 8)))
  1168.                 v.GripPos = Vector3.new(0,0,0)
  1169.                 lplayer.Character.Humanoid:UnequipTools()
  1170.             end
  1171.         end
  1172.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1173.         Title = "Reach applied!";
  1174.         Text = "Applied to equipped sword. Use ;noreach to disable.";
  1175.         })
  1176.     end
  1177.     if string.sub(msg, 1, 8) == (prefix.."noreach") then
  1178.         for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
  1179.             if v:isA("Tool") then
  1180.                 v.Handle.a:Destroy()
  1181.                 v.Handle.Size = handleSize
  1182.             end
  1183.         end
  1184.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1185.         Title = "Reach removed!";
  1186.         Text = "Removed reach from equipped sword.";
  1187.         })
  1188.     end
  1189.     if string.sub(msg, 1, 7) == (prefix.."rkill ") then
  1190.         for i,v in pairs(GetPlayer(string.sub(msg, 8)))do
  1191.             lplayer.Character.Humanoid.Name = 1
  1192.             local l = lplayer.Character["1"]:Clone()
  1193.             l.Parent = lplayer.Character
  1194.             l.Name = "Humanoid"
  1195.             wait(0.1)
  1196.             lplayer.Character["1"]:Destroy()
  1197.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1198.             lplayer.Character.Animate.Disabled = true
  1199.             wait(0.1)
  1200.             lplayer.Character.Animate.Disabled = false
  1201.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1202.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1203.             lplayer.Character.Humanoid:EquipTool(v)
  1204.             end
  1205.             wait(0.1)
  1206.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1207.             wait(0.2)
  1208.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1209.             wait(0.5)
  1210.             lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
  1211.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1212.             Title = "Tools needed!";
  1213.             Text = "You need a tool in your backpack for this command!";
  1214.             })
  1215.         end
  1216.     end
  1217.     if string.sub(msg, 1, 7) == (prefix.."tp me ") then
  1218.         for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  1219.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1220.         end
  1221.     end
  1222.     if string.sub(msg, 1, 8) == (prefix.."cbring ") then
  1223.         if (string.sub(msg, 9)) == "all" or (string.sub(msg, 9)) == "All" or (string.sub(msg, 9)) == "ALL" then
  1224.             cbringall = true
  1225.         else
  1226.             for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  1227.                 brplr = v.Name
  1228.             end
  1229.         end
  1230.         cbring = true
  1231.     end
  1232.     if string.sub(msg, 1, 9) == (prefix.."uncbring") then
  1233.         cbring = false
  1234.         cbringall = false
  1235.     end
  1236.     if string.sub(msg, 1, 6) == (prefix.."swap ") then
  1237.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1238.             local NOWPLR = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1239.             local NOW = lplayer.Character.HumanoidRootPart.CFrame
  1240.             lplayer.Character.Humanoid.Name = 1
  1241.             local l = lplayer.Character["1"]:Clone()
  1242.             l.Parent = lplayer.Character
  1243.             l.Name = "Humanoid"
  1244.             wait(0.1)
  1245.             lplayer.Character["1"]:Destroy()
  1246.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1247.             lplayer.Character.Animate.Disabled = true
  1248.             wait(0.1)
  1249.             lplayer.Character.Animate.Disabled = false
  1250.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1251.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1252.             lplayer.Character.Humanoid:EquipTool(v)
  1253.             end
  1254.             local function tp(player,player2)
  1255.             local char1,char2=player.Character,player2.Character
  1256.             if char1 and char2 then
  1257.             char1:MoveTo(char2.Head.Position)
  1258.             end
  1259.             end
  1260.             wait(0.1)
  1261.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1262.             wait(0.2)
  1263.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1264.             wait(0.5)
  1265.             lplayer.Character.HumanoidRootPart.CFrame = NOW
  1266.             wait(0.6)
  1267.             tp(lplayer, game:GetService("Players")[v.Name])
  1268.             wait(0.4)
  1269.             lplayer.Character.HumanoidRootPart.CFrame = NOWPLR
  1270.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1271.             Title = "Tools needed!";
  1272.             Text = "You need a tool in your backpack for this command!";
  1273.             })
  1274.         end
  1275.     end
  1276.     if string.sub(msg, 1, 8) == (prefix.."glitch ") then
  1277.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  1278.             lplayer.Character.Humanoid.Name = 1
  1279.             local l = lplayer.Character["1"]:Clone()
  1280.             l.Parent = lplayer.Character
  1281.             l.Name = "Humanoid"
  1282.             wait(0.1)
  1283.             lplayer.Character["1"]:Destroy()
  1284.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1285.             lplayer.Character.Animate.Disabled = true
  1286.             wait(0.1)
  1287.             lplayer.Character.Animate.Disabled = false
  1288.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1289.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1290.             lplayer.Character.Humanoid:EquipTool(v)
  1291.             end
  1292.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  1293.             wait(0.3)
  1294.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  1295.             wait(0.4)
  1296.             b = Instance.new("BodyForce")
  1297.             b.Parent = lplayer.Character.HumanoidRootPart
  1298.             b.Name = "Glitch"
  1299.             b.Force = Vector3.new(100000000,5000,0)
  1300.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1301.             Title = "Tools needed!";
  1302.             Text = "You need a tool in your backpack for this command!";
  1303.             })
  1304.         end
  1305.     end
  1306.     if string.sub(msg, 1, 9) == (prefix.."unglitch") then
  1307.         lplayer.Character.HumanoidRootPart.Glitch:Destroy()
  1308.         lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(10000,0,10000)
  1309.         b = Instance.new("BodyForce")
  1310.         b.Parent = lplayer.Character.HumanoidRootPart
  1311.         b.Name = "unGlitch"
  1312.         b.Force = Vector3.new(0,-5000000,0)
  1313.         wait(2)
  1314.         lplayer.Character.HumanoidRootPart.unGlitch:Destroy()
  1315.     end
  1316.     if string.sub(msg, 1, 9) == (prefix.."grespawn") then
  1317.         lplayer.Character.Humanoid.Health = 0
  1318.         wait(1)
  1319.         lplayer.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
  1320.         lplayer.Character.Torso.CFrame = CFrame.new(1000000,0,1000000)
  1321.     end
  1322.     if string.sub(msg, 1, 9) == (prefix.."explorer") then
  1323.         loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
  1324.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1325.         Title = "Success!";
  1326.         Text = "DEX Explorer has loaded.";
  1327.         })
  1328.     end
  1329.     if string.sub(msg, 1, 6) == (prefix.."anim ") then
  1330.         local Anim = Instance.new("Animation")
  1331.         Anim.AnimationId = "rbxassetid://"..(string.sub(msg, 7))
  1332.         local track = lplayer.Character.Humanoid:LoadAnimation(Anim)
  1333.         track:Play(.1, 1, 1)
  1334.     end
  1335.     if string.sub(msg, 1, 8) == (prefix.."animgui") then
  1336.         loadstring(game:GetObjects("rbxassetid://1202558084")[1].Source)()
  1337.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1338.         Title = "Success!";
  1339.         Text = "Energize Animations GUI has loaded.";
  1340.         })
  1341.     end
  1342.     if string.sub(msg, 1, 8) == (prefix.."savepos") then
  1343.         saved = lplayer.Character.HumanoidRootPart.CFrame
  1344.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1345.         Title = "Position Saved";
  1346.         Text = "Use ;loadpos to return to saved position.";
  1347.         })
  1348.     end
  1349.     if string.sub(msg, 1, 8) == (prefix.."loadpos") then
  1350.         lplayer.Character.HumanoidRootPart.CFrame = saved
  1351.     end
  1352.     if string.sub(msg, 1, 6) == (prefix.."bang ") then
  1353.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1354.             local Anim2 = Instance.new("Animation")
  1355.             Anim2.AnimationId = "rbxassetid://148840371"
  1356.             local track2 = lplayer.Character.Humanoid:LoadAnimation(Anim2)
  1357.             track2:Play(.1, 1, 1)
  1358.             bplrr = v.Name
  1359.             banpl = true
  1360.         end
  1361.     end
  1362.     if string.sub(msg, 1, 7) == (prefix.."unbang") then
  1363.         banpl = false
  1364.     end
  1365.     if string.sub(msg, 1, 10) == (prefix.."bringmod ") then
  1366.         local function bringmodw()
  1367.         for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
  1368.         if obj.Name == (string.sub(msg, 11)) then
  1369.         for i,ch in pairs(obj:GetDescendants()) do
  1370.         if (ch:IsA("BasePart")) then
  1371.         ch.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  1372.         ch.CanCollide = false
  1373.         ch.Transparency = 0.7
  1374.         wait()
  1375.         ch.CFrame = lplayer.Character["Left Leg"].CFrame
  1376.         wait()
  1377.         ch.CFrame = lplayer.Character["Right Leg"].CFrame
  1378.         wait()
  1379.         ch.CFrame = lplayer.Character["Head"].CFrame
  1380.         end
  1381.         end
  1382.         end
  1383.         end
  1384.         end
  1385.         while wait() do
  1386.             bringmodw()
  1387.         end
  1388.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1389.         Title = "BringMod";
  1390.         Text = "BringMod enabled.";
  1391.         })
  1392.     end
  1393.     if string.sub(msg, 1, 8) == (prefix.."respawn") then
  1394.         local mod = Instance.new('Model', workspace) mod.Name = 're '..lplayer.Name
  1395.         local hum = Instance.new('Humanoid', mod)
  1396.         local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
  1397.         lplayer.Character = mod
  1398.     end
  1399.     if string.sub(msg, 1, 9) == (prefix.."shutdown") then
  1400.         game:GetService'RunService'.Stepped:Connect(function()
  1401.         pcall(function()
  1402.             for i,v in pairs(game:GetService'Players':GetPlayers()) do
  1403.                 if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  1404.                     for _,x in pairs(v.Character.Head:GetChildren()) do
  1405.                         if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true) end
  1406.                     end
  1407.                 end
  1408.             end
  1409.         end)
  1410.         end)
  1411.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1412.         Title = "Attempting Shutdown";
  1413.         Text = "Shutdown Attempt has begun.";
  1414.         })
  1415.     end
  1416.     if string.sub(msg, 1, 8) == (prefix.."delobj ") then
  1417.         objtodel = (string.sub(msg, 9))
  1418.         for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  1419.             if v.Name == objtodel then
  1420.                 v:Destroy()
  1421.             end
  1422.         end
  1423.     end
  1424.     if string.sub(msg, 1, 8) == (prefix.."getplrs") then
  1425.         for i,v in pairs(game:GetService("Players"):GetPlayers())do
  1426.             print(v)
  1427.         end
  1428.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1429.         Title = "Printed";
  1430.         Text = "Players have been printed to console. (F9)";
  1431.         })
  1432.     end
  1433.     if string.sub(msg, 1, 9) == (prefix.."deldecal") then
  1434.         for i,v in pairs(game:GetService("Workspace"):GetDescendants())do
  1435.             if (v:IsA("Decal")) then
  1436.                 v:Destroy()
  1437.             end
  1438.         end
  1439.     end
  1440.     if string.sub(msg, 1, 11) == (prefix.."opfinality") then
  1441.         loadstring(game:GetObjects("rbxassetid://1294358929")[1].Source)()
  1442.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1443.         Title = "Success!";
  1444.         Text = "OpFinality GUI has loaded.";
  1445.         })
  1446.     end
  1447.     if string.sub(msg, 1, 8) == (prefix.."remotes") then
  1448.         remotes = true
  1449.         added = true
  1450.         game.DescendantAdded:connect(function(rmt)
  1451.         if added == true then
  1452.         if remotes == true then
  1453.         if rmt:IsA("RemoteEvent") then
  1454.         print("A RemoteEvent was added!")
  1455.         print(" game." .. rmt:GetFullName() .. " | RemoteEvent")
  1456.         print(" game." .. rmt:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
  1457.         end end end
  1458.         end)
  1459.         game.DescendantAdded:connect(function(rmtfnctn)
  1460.         if added == true then
  1461.         if remotes == true then
  1462.         if rmtfnctn:IsA("RemoteFunction") then
  1463.         warn("A RemoteFunction was added!")
  1464.         warn(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction")
  1465.         print(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
  1466.         end end end
  1467.         end)
  1468.        
  1469.         game.DescendantAdded:connect(function(bndfnctn)
  1470.         if added == true then
  1471.         if binds == true then
  1472.         if bndfnctn:IsA("BindableFunction") then
  1473.         print("A BindableFunction was added!")
  1474.         print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction")
  1475.         print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
  1476.         end end end
  1477.         end)
  1478.        
  1479.         game.DescendantAdded:connect(function(bnd)
  1480.         if added == true then
  1481.         if binds == true then
  1482.         if bnd:IsA("BindableEvent") then
  1483.         warn("A BindableEvent was added!")
  1484.         warn(" game." .. bnd:GetFullName() .. " | BindableEvent")
  1485.         print(" game." .. bnd:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
  1486.         end end end
  1487.         end)
  1488.        
  1489.        
  1490.         if binds == true then
  1491.         for i,v in pairs(game:GetDescendants()) do
  1492.         if v:IsA("BindableFunction") then
  1493.         print(" game." .. v:GetFullName() .. " | BindableFunction")
  1494.         print(" game." .. v:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
  1495.         end end
  1496.         for i,v in pairs(game:GetDescendants()) do
  1497.         if v:IsA("BindableEvent") then
  1498.         warn(" game." .. v:GetFullName() .. " | BindableEvent")
  1499.         print(" game." .. v:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
  1500.         end end
  1501.         else
  1502.         print("Off")
  1503.         end
  1504.         if remotes == true then
  1505.         for i,v in pairs(game:GetDescendants()) do
  1506.         if v:IsA("RemoteFunction") then
  1507.         warn(" game." .. v:GetFullName() .. " | RemoteFunction")
  1508.         print(" game." .. v:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
  1509.         end end
  1510.         wait()
  1511.         for i,v in pairs(game:GetDescendants()) do
  1512.         if v:IsA("RemoteEvent") then
  1513.         print(" game." .. v:GetFullName() .. " | RemoteEvent")
  1514.         print(" game." .. v:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
  1515.         end end
  1516.         else
  1517.         print("Off")
  1518.         end
  1519.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1520.         Title = "Printing Remotes";
  1521.         Text = "Type ;noremotes to disable.";
  1522.         })
  1523.     end
  1524.     if string.sub(msg, 1, 10) == (prefix.."noremotes") then
  1525.         remotes = false
  1526.         added = false
  1527.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1528.         Title = "Printing Remotes Disabled";
  1529.         Text = "Type ;remotes to enable.";
  1530.         })
  1531.     end
  1532.     if string.sub(msg, 1, 10) == (prefix.."tpdefault") then
  1533.         spin = false
  1534.         followed = false
  1535.         traill = false
  1536.         noclip = false
  1537.         annoying = false
  1538.         hwalk = false
  1539.         cbringing = false
  1540.     end
  1541.     if string.sub(msg, 1, 8) == (prefix.."stopsit") then
  1542.         stopsitting = true
  1543.     end
  1544.     if string.sub(msg, 1, 6) == (prefix.."gosit") then
  1545.         stopsitting = false
  1546.     end
  1547.     if string.sub(msg, 1, 8) == (prefix.."version") then
  1548.         print(adminversion)
  1549.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1550.         Title = "Version";
  1551.         Text = adminversion;
  1552.         })
  1553.     end
  1554.     if string.sub(msg, 1, 8) == (prefix.."clicktp") then
  1555.         clickgoto = true
  1556.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1557.         Title = "Click TP";
  1558.         Text = "Press E to teleport to mouse position, ;noclicktp to stop";
  1559.         })
  1560.     end
  1561.     if string.sub(msg, 1, 9) == (prefix.."clickdel") then
  1562.         clickdel = true
  1563.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1564.         Title = "Click Delete";
  1565.         Text = "Press E to delete part at mouse, ;noclickdel to stop";
  1566.         })
  1567.     end
  1568.     if string.sub(msg, 1, 11) == (prefix.."noclickdel") then
  1569.         clickdel = false
  1570.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1571.         Title = "Click Delete";
  1572.         Text = "Click delete has been disabled.";
  1573.         })
  1574.     end
  1575.     if string.sub(msg, 1, 10) == (prefix.."noclicktp") then
  1576.         clickgoto = false
  1577.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1578.         Title = "Click TP";
  1579.         Text = "Click TP has been disabled.";
  1580.         })
  1581.     end
  1582.     if string.sub(msg, 1, 8) == (prefix.."toolson") then
  1583.         gettingtools = true
  1584.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1585.         Title = "Tools Enabled";
  1586.         Text = "Automatically colleting tools dropped.";
  1587.         })
  1588.     end
  1589.     if string.sub(msg, 1, 9) == (prefix.."toolsoff") then
  1590.         gettingtools = false
  1591.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1592.         Title = "Tools Disabled";
  1593.         Text = "Click TP has been disabled.";
  1594.         })
  1595.     end
  1596.     if string.sub(msg, 1, 10) == (prefix.."delcmdbar") then
  1597.         ScreenGui:Destroy()
  1598.     end
  1599.     if string.sub(msg, 1, 6) == (prefix.."reset") then
  1600.         lplayer.Character.Head:Destroy()
  1601.     end
  1602.     if string.sub(msg, 1, 7) == (prefix.."state ") then
  1603.         statechosen = string.sub(msg, 8)
  1604.         changingstate = true
  1605.     end
  1606.     if string.sub(msg, 1, 9) == (prefix.."gravity ") then
  1607.         game:GetService("Workspace").Gravity = string.sub(msg, 10)
  1608.     end
  1609.     if string.sub(msg, 1, 10) == (prefix.."looprhats") then
  1610.         removingmeshhats = true
  1611.     end
  1612.     if string.sub(msg, 1, 12) == (prefix.."unlooprhats") then
  1613.         removingmeshhats = false
  1614.     end
  1615.     if string.sub(msg, 1, 10) == (prefix.."looprtool") then
  1616.         removingmeshtool = true
  1617.     end
  1618.     if string.sub(msg, 1, 12) == (prefix.."unlooprtool") then
  1619.         removingmeshtool = false
  1620.     end
  1621.     if string.sub(msg, 1, 10) == (prefix.."givetool ") then
  1622.         for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do
  1623.             if v:IsA("Tool") then
  1624.                 for i,player in pairs(GetPlayer(string.sub(msg, 11))) do
  1625.                     v.Parent = player.Character
  1626.                 end
  1627.             end
  1628.         end
  1629.     end
  1630.     if string.sub(msg, 1, 14) == (prefix.."givealltools ") then
  1631.         for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetDescendants()) do
  1632.             if v:IsA("Tool") then
  1633.                 v.Parent = lplayer.Character
  1634.                 wait()
  1635.                 for i,player in pairs(GetPlayer(string.sub(msg, 15))) do
  1636.                     v.Parent = player.Character
  1637.                 end
  1638.             end
  1639.         end
  1640.     end
  1641.     if string.sub(msg, 1, 5) == (prefix.."age ") then
  1642.         for i,player in pairs(GetPlayer(string.sub(msg, 6))) do
  1643.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account Age: "..player.AccountAge.." days!", "All")
  1644.         end
  1645.     end
  1646.     if string.sub(msg, 1, 4) == (prefix.."id ") then
  1647.         for i,player in pairs(GetPlayer(string.sub(msg, 5))) do
  1648.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account ID: "..player.UserId, "All")
  1649.         end
  1650.     end
  1651.     if string.sub(msg, 1, 6) == (prefix..".age ") then
  1652.         for i,player in pairs(GetPlayer(string.sub(msg, 7))) do
  1653.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1654.             Title = player.AccountAge.." Days";
  1655.             Text = "Account age of "..player.Name;
  1656.             })
  1657.         end
  1658.     end
  1659.     if string.sub(msg, 1, 5) == (prefix..".id ") then
  1660.         for i,player in pairs(GetPlayer(string.sub(msg, 6))) do
  1661.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1662.             Title = player.UserId.." ID";
  1663.             Text = "Account ID of "..player.Name;
  1664.             })
  1665.         end
  1666.     end
  1667.     if string.sub(msg, 1, 7) == (prefix.."gameid") then
  1668.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1669.         Title = "Game ID";
  1670.         Text = "Game ID: ".. game.GameId;
  1671.         })
  1672.     end
  1673.     if string.sub(msg, 1, 4) == (prefix.."pgs") then
  1674.         local pgscheck = game:GetService("Workspace"):PGSIsEnabled()
  1675.         if pgscheck == true then
  1676.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1677.             Title = "PGSPhysicsSolverEnabled";
  1678.             Text = "PGS is Enabled!";
  1679.             })
  1680.         else
  1681.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1682.             Title = "PGSPhysicsSolverEnabled";
  1683.             Text = "PGS is Disabled!";
  1684.             })
  1685.         end
  1686.     end
  1687.     if string.sub(msg, 1, 12) == (prefix.."removeinvis") then
  1688.         for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  1689.             if v:IsA("Part") then
  1690.                 if v.Transparency == 1 then
  1691.                     if v.Name ~= "HumanoidRootPart" then
  1692.                         v:Destroy()
  1693.                     end
  1694.                 end
  1695.             end
  1696.         end
  1697.     end
  1698.     if string.sub(msg, 1, 10) == (prefix.."removefog") then
  1699.         game:GetService("Lighting").FogStart = 0
  1700.         game:GetService("Lighting").FogEnd = 9999999999999
  1701.     end
  1702.     if string.sub(msg, 1, 8) == (prefix.."disable") then
  1703.         lplayer.Character.Humanoid.Parent = lplayer
  1704.     end
  1705.     if string.sub(msg, 1, 7) == (prefix.."enable") then
  1706.         lplayer.Humanoid.Parent = lplayer.Character
  1707.     end
  1708.     if string.sub(msg, 1, 8) == (prefix.."prefix ") then
  1709.         prefix = (string.sub(msg, 9, 9))
  1710.         wait(0.1)
  1711.         change()
  1712.         wait(0.1)
  1713.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1714.         Title = "Prefix changed!";
  1715.         Text = "Prefix is now "..prefix..". Use ;resetprefix to reset to ;";
  1716.         })
  1717.     end
  1718.     if string.sub(msg, 1, 12) == (";resetprefix") then
  1719.         prefix = ";"
  1720.         wait(0.1)
  1721.         change()
  1722.         wait(0.1)
  1723.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1724.         Title = "Prefix changed!";
  1725.         Text = "Prefix is now "..prefix..". Make sure it's one key!";
  1726.         })
  1727.     end
  1728.     if string.sub(msg, 1, 10) == (prefix.."flyspeed ") then
  1729.         speedfly = string.sub(msg, 11)
  1730.         wait()
  1731.         change()
  1732.     end
  1733.     if string.sub(msg, 1, 8) == (prefix.."carpet ") then
  1734.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  1735.             local Anim3 = Instance.new("Animation")
  1736.             Anim3.AnimationId = "rbxassetid://282574440"
  1737.             local track3 = lplayer.Character.Humanoid:LoadAnimation(Anim3)
  1738.             track3:Play(.1, 1, 1)
  1739.             bplrr = v.Name
  1740.             banpl = true
  1741.         end
  1742.     end
  1743.     if string.sub(msg, 1, 9) == (prefix.."uncarpet") then
  1744.         banpl = false
  1745.     end
  1746.     if string.sub(msg, 1, 7) == (prefix.."stare ") then
  1747.         for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  1748.             staring = true
  1749.             stareplr = v
  1750.         end
  1751.     end
  1752.     if string.sub(msg, 1, 8) == (prefix.."unstare") then
  1753.         staring = false
  1754.     end
  1755.     if string.sub(msg, 1, 8) == (prefix.."logchat") then
  1756.         chatlogs = true
  1757.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1758.         Title = "LogChat enabled";
  1759.         Text = "Now logging all player chat.";
  1760.         })
  1761.     end
  1762.     if string.sub(msg, 1, 10) == (prefix.."unlogchat") then
  1763.         chatlogs = false
  1764.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1765.         Title = "LogChat disabled";
  1766.         Text = "Stopped logging all player chat.";
  1767.         })
  1768.     end
  1769.     if string.sub(msg, 1, 7) == (prefix.."fixcam") then
  1770.         game:GetService("Workspace").CurrentCamera:Destroy()
  1771.         wait(0.1)
  1772.         game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
  1773.         game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
  1774.         lplayer.CameraMinZoomDistance = 0.5
  1775.         lplayer.CameraMaxZoomDistance = 400
  1776.         lplayer.CameraMode = "Classic"
  1777.     end
  1778.     if string.sub(msg, 1, 8) == (prefix.."unstate") then
  1779.         changingstate = false
  1780.     end
  1781. end)
  1782.  
  1783. local function tp()
  1784.     for i, player in ipairs(game:GetService("Players"):GetPlayers()) do
  1785.         if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  1786.             if player.Name == brplr then
  1787.                 player.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame + lplayer.Character.HumanoidRootPart.CFrame.lookVector * 2
  1788.             end
  1789.         end
  1790.     end
  1791. end
  1792. local function tpall()
  1793.     for i, player in ipairs(game:GetService("Players"):GetPlayers()) do
  1794.         if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  1795.             player.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame + lplayer.Character.HumanoidRootPart.CFrame.lookVector * 3
  1796.         end
  1797.     end
  1798. end
  1799. spawn(function()
  1800.     while wait(spamdelay) do
  1801.         if spamming == true then
  1802.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamtext, "All")
  1803.         end
  1804.     end
  1805. end)
  1806. spawn(function()
  1807.     while wait(spamdelay) do
  1808.         if spammingpm == true then
  1809.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..pmspammed.." @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", "All")
  1810.         end
  1811.     end
  1812. end)
  1813. spawn(function()
  1814.     while wait() do
  1815.         if cbring == true then
  1816.             tp()
  1817.         end
  1818.     end
  1819. end)
  1820. spawn(function()
  1821.     while wait() do
  1822.         if cbringall == true then
  1823.             tpall()
  1824.         end
  1825.     end
  1826. end)
  1827.  
  1828. Mouse.KeyDown:connect(function(Key)
  1829.     if Key == prefix then
  1830.         CMDBAR:CaptureFocus()
  1831.     end
  1832. end)
  1833.  
  1834. CMDBAR.FocusLost:connect(function(enterPressed)
  1835.     if enterPressed then
  1836.         if string.sub(CMDBAR.Text, 1, 5) == ("kill ") then
  1837.             if string.sub(CMDBAR.Text, 6) == "me" then
  1838.                 lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(100000,0,100000)
  1839.             else
  1840.                 for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6)))do
  1841.                     local NOW = lplayer.Character.HumanoidRootPart.CFrame
  1842.                     lplayer.Character.Humanoid.Name = 1
  1843.                     local l = lplayer.Character["1"]:Clone()
  1844.                     l.Parent = lplayer.Character
  1845.                     l.Name = "Humanoid"
  1846.                     wait(0.1)
  1847.                     lplayer.Character["1"]:Destroy()
  1848.                     game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1849.                     lplayer.Character.Animate.Disabled = true
  1850.                     wait(0.1)
  1851.                     lplayer.Character.Animate.Disabled = false
  1852.                     lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1853.                     for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1854.                     lplayer.Character.Humanoid:EquipTool(v)
  1855.                     end
  1856.                     local function tp(player,player2)
  1857.                     local char1,char2=player.Character,player2.Character
  1858.                     if char1 and char2 then
  1859.                     char1:MoveTo(char2.Head.Position)
  1860.                     end
  1861.                     end
  1862.                     wait(0.1)
  1863.                     lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1864.                     wait(0.2)
  1865.                     lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1866.                     wait(0.5)
  1867.                     lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
  1868.                     wait(0.7)
  1869.                     tp(lplayer,game:GetService("Players")[v.Name])
  1870.                     wait(0.7)
  1871.                     lplayer.Character.HumanoidRootPart.CFrame = NOW
  1872.                     game:GetService("StarterGui"):SetCore("SendNotification", {
  1873.                     Title = "Tools needed!";
  1874.                     Text = "You need a tool in your backpack for this command!";
  1875.                     })
  1876.                 end
  1877.             end
  1878.         end
  1879.         if string.sub(CMDBAR.Text, 1, 6) == ("bring ") then
  1880.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7)))do
  1881.                 local NOW = lplayer.Character.HumanoidRootPart.CFrame
  1882.                 lplayer.Character.Humanoid.Name = 1
  1883.                 local l = lplayer.Character["1"]:Clone()
  1884.                 l.Parent = lplayer.Character
  1885.                 l.Name = "Humanoid"
  1886.                 wait(0.1)
  1887.                 lplayer.Character["1"]:Destroy()
  1888.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1889.                 lplayer.Character.Animate.Disabled = true
  1890.                 wait(0.1)
  1891.                 lplayer.Character.Animate.Disabled = false
  1892.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1893.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1894.                 lplayer.Character.Humanoid:EquipTool(v)
  1895.                 end
  1896.                 local function tp(player,player2)
  1897.                 local char1,char2=player.Character,player2.Character
  1898.                 if char1 and char2 then
  1899.                 char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  1900.                 end
  1901.                 end
  1902.                 local function getout(player,player2)
  1903.                 local char1,char2=player.Character,player2.Character
  1904.                 if char1 and char2 then
  1905.                 char1:MoveTo(char2.Head.Position)
  1906.                 end
  1907.                 end
  1908.                 tp(game:GetService("Players")[v.Name], lplayer)
  1909.                 wait(0.2)
  1910.                 tp(game:GetService("Players")[v.Name], lplayer)
  1911.                 wait(0.5)
  1912.                 lplayer.Character.HumanoidRootPart.CFrame = NOW
  1913.                 wait(0.5)
  1914.                 getout(lplayer, game:GetService("Players")[v.Name])
  1915.                 wait(0.3)
  1916.                 lplayer.Character.HumanoidRootPart.CFrame = NOW
  1917.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  1918.                 Title = "Tools needed!";
  1919.                 Text = "You need a tool in your backpack for this command!";
  1920.                 })
  1921.             end
  1922.         end
  1923.         if string.sub(CMDBAR.Text, 1, 5) == ("spin ") then
  1924.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
  1925.                 lplayer.Character.Humanoid.Name = 1
  1926.                 local l = lplayer.Character["1"]:Clone()
  1927.                 l.Parent = lplayer.Character
  1928.                 l.Name = "Humanoid"
  1929.                 wait(0.1)
  1930.                 lplayer.Character["1"]:Destroy()
  1931.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1932.                 lplayer.Character.Animate.Disabled = true
  1933.                 wait(0.1)
  1934.                 lplayer.Character.Animate.Disabled = false
  1935.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1936.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1937.                 lplayer.Character.Humanoid:EquipTool(v)
  1938.                 end
  1939.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  1940.                 spinplr = v
  1941.                 wait(0.5)
  1942.                 spin = true
  1943.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  1944.                 Title = "Tools needed!";
  1945.                 Text = "You need a tool in your backpack for this command!";
  1946.                 })
  1947.             end
  1948.         end
  1949.         if string.sub(CMDBAR.Text, 1, 6) == ("unspin") then
  1950.             spin = false
  1951.         end
  1952.         if string.sub(CMDBAR.Text, 1, 7) == ("attach ") then
  1953.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
  1954.                 lplayer.Character.Humanoid.Name = 1
  1955.                 local l = lplayer.Character["1"]:Clone()
  1956.                 l.Parent = lplayer.Character
  1957.                 l.Name = "Humanoid"
  1958.                 wait(0.1)
  1959.                 lplayer.Character["1"]:Destroy()
  1960.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1961.                 lplayer.Character.Animate.Disabled = true
  1962.                 wait(0.1)
  1963.                 lplayer.Character.Animate.Disabled = false
  1964.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1965.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1966.                 lplayer.Character.Humanoid:EquipTool(v)
  1967.                 end
  1968.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  1969.                 wait(0.3)
  1970.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  1971.                 attplr = v
  1972.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  1973.                 Title = "Tools needed!";
  1974.                 Text = "You need a tool in your backpack for this command!";
  1975.                 })
  1976.             end
  1977.         end
  1978.         if string.sub(CMDBAR.Text, 1, 9) == ("unattach ") then
  1979.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
  1980.                 local function getout(player,player2)
  1981.                 local char1,char2=player.Character,player2.Character
  1982.                 if char1 and char2 then
  1983.                 char1:MoveTo(char2.Head.Position)
  1984.                 end
  1985.                 end
  1986.                 getout(lplayer, game:GetService("Players")[v.Name])
  1987.             end
  1988.         end
  1989.         if string.sub(CMDBAR.Text, 1, 7) == ("follow ") then
  1990.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
  1991.                 followed = true
  1992.                 flwplr = v
  1993.             end
  1994.         end
  1995.         if string.sub(CMDBAR.Text, 1, 8) == ("unfollow") then
  1996.             followed = false
  1997.         end
  1998.         if string.sub(CMDBAR.Text, 1, 9) == ("freefall ") then
  1999.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
  2000.                 local NOW = lplayer.Character.HumanoidRootPart.CFrame
  2001.                 lplayer.Character.Humanoid.Name = 1
  2002.                 local l = lplayer.Character["1"]:Clone()
  2003.                 l.Parent = lplayer.Character
  2004.                 l.Name = "Humanoid"
  2005.                 wait(0.1)
  2006.                 lplayer.Character["1"]:Destroy()
  2007.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2008.                 lplayer.Character.Animate.Disabled = true
  2009.                 wait(0.1)
  2010.                 lplayer.Character.Animate.Disabled = false
  2011.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2012.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  2013.                 lplayer.Character.Humanoid:EquipTool(v)
  2014.                 end
  2015.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2016.                 wait(0.2)
  2017.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2018.                 wait(0.6)
  2019.                 lplayer.Character.HumanoidRootPart.CFrame = NOW
  2020.                 wait(0.6)
  2021.                 lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
  2022.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2023.                 Title = "Tools needed!";
  2024.                 Text = "You need a tool in your backpack for this command!";
  2025.                 })
  2026.             end
  2027.         end
  2028.         if string.sub(CMDBAR.Text, 1, 6) == ("trail ") then
  2029.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  2030.                 traill = true
  2031.                 trlplr = v
  2032.             end
  2033.         end
  2034.         if string.sub(CMDBAR.Text, 1, 7) == ("untrail") then
  2035.             traill = false
  2036.         end
  2037.         if string.sub(CMDBAR.Text, 1, 6) == ("orbit ") then
  2038.             if string.sub(CMDBAR.Text, 7) == "all" or string.sub(CMDBAR.Text, 7) == "others" or string.sub(CMDBAR.Text, 7) == "me" then
  2039.                 lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  2040.             else
  2041.                 for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  2042.                     local o = Instance.new("RocketPropulsion")
  2043.                     o.Parent = lplayer.Character.HumanoidRootPart
  2044.                     o.Name = "Orbit"
  2045.                     o.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
  2046.                     o:Fire()
  2047.                     noclip = true
  2048.                 end
  2049.             end
  2050.         end
  2051.         if string.sub(CMDBAR.Text, 1, 7) == ("unorbit") then
  2052.             lplayer.Character.HumanoidRootPart.Orbit:Destroy()
  2053.             noclip = false
  2054.         end
  2055.         if string.sub(CMDBAR.Text, 1, 6) == ("fling ") then
  2056.             if string.sub(CMDBAR.Text, 7) == "all" or string.sub(CMDBAR.Text, 7) == "others" or string.sub(CMDBAR.Text, 7) == "me" then
  2057.                 lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  2058.             else
  2059.                 for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  2060.                     local y = Instance.new("RocketPropulsion")
  2061.                     y.Parent = lplayer.Character.HumanoidRootPart
  2062.                     y.CartoonFactor = 1
  2063.                     y.MaxThrust = 800000
  2064.                     y.MaxSpeed = 1000
  2065.                     y.ThrustP = 200000
  2066.                     y.Name = "Fling"
  2067.                     game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
  2068.                     y.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
  2069.                     y:Fire()
  2070.                     noclip = true
  2071.                 end
  2072.             end
  2073.         end
  2074.         if string.sub(CMDBAR.Text, 1, 7) == ("unfling") then
  2075.             noclip = false
  2076.             lplayer.Character.HumanoidRootPart.Fling:Destroy()
  2077.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
  2078.             wait(0.4)
  2079.             lplayer.Character.HumanoidRootPart.Fling:Destroy()
  2080.         end
  2081.         if string.sub(CMDBAR.Text, 1, 7) == ("fecheck") then
  2082.             if game:GetService("Workspace").FilteringEnabled == true then
  2083.                 warn("FE is Enabled (Filtering Enabled)")
  2084.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2085.                     Title = "FE is Enabled";
  2086.                     Text = "Filtering Enabled. Enjoy using Reviz Admin!";
  2087.                 })
  2088.             else
  2089.                 warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.")
  2090.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2091.                     Title = "FE is Disabled";
  2092.                     Text = "Filtering Disabled. Consider using a different admin script.";
  2093.                 })
  2094.             end
  2095.         end
  2096.         if string.sub(CMDBAR.Text, 1, 5) == ("void ") then
  2097.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
  2098.                 lplayer.Character.Humanoid.Name = 1
  2099.                 local l = lplayer.Character["1"]:Clone()
  2100.                 l.Parent = lplayer.Character
  2101.                 l.Name = "Humanoid"
  2102.                 wait(0.1)
  2103.                 lplayer.Character["1"]:Destroy()
  2104.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2105.                 lplayer.Character.Animate.Disabled = true
  2106.                 wait(0.1)
  2107.                 lplayer.Character.Animate.Disabled = false
  2108.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2109.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  2110.                 lplayer.Character.Humanoid:EquipTool(v)
  2111.                 end
  2112.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2113.                 wait(0.2)
  2114.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2115.                 wait(0.6)
  2116.                 lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(999999999999999,0,999999999999999)
  2117.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2118.                 Title = "Tools needed!";
  2119.                 Text = "You need a tool in your backpack for this command!";
  2120.                 })
  2121.             end
  2122.         end
  2123.         if string.sub(CMDBAR.Text, 1, 6) == ("noclip") then
  2124.             noclip = true
  2125.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2126.             Title = "Noclip enabled";
  2127.             Text = "Type ;clip to disable";
  2128.             })
  2129.         end
  2130.         if string.sub(CMDBAR.Text, 1, 4) == ("clip") then
  2131.             noclip = false
  2132.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2133.             Title = "Noclip disabled";
  2134.             Text = "Type ;noclip to enable";
  2135.             })
  2136.         end
  2137.         if string.sub(CMDBAR.Text, 1, 6) == ("speed ") then
  2138.             lplayer.Character.Humanoid.WalkSpeed = (string.sub(CMDBAR.Text, 7))
  2139.         end
  2140.         if string.sub(CMDBAR.Text, 1, 3) == ("ws ") then
  2141.             lplayer.Character.Humanoid.WalkSpeed = (string.sub(CMDBAR.Text, 4))
  2142.         end
  2143.         if string.sub(CMDBAR.Text, 1, 10) == ("hipheight ") then
  2144.             lplayer.Character.Humanoid.HipHeight = (string.sub(CMDBAR.Text, 11))
  2145.         end
  2146.         if string.sub(CMDBAR.Text, 1, 3) == ("hh ") then
  2147.             lplayer.Character.Humanoid.HipHeight = (string.sub(CMDBAR.Text, 4))
  2148.         end
  2149.         if string.sub(CMDBAR.Text, 1, 10) == ("jumppower ") then
  2150.             lplayer.Character.Humanoid.JumpPower = (string.sub(CMDBAR.Text, 11))
  2151.         end
  2152.         if string.sub(CMDBAR.Text, 1, 3) == ("jp ") then
  2153.             lplayer.Character.Humanoid.JumpPower = (string.sub(CMDBAR.Text, 4))
  2154.         end
  2155.         if string.sub(CMDBAR.Text, 1, 7) == ("default") then
  2156.             lplayer.Character.Humanoid.JumpPower = 50
  2157.             lplayer.Character.Humanoid.WalkSpeed = 16
  2158.             lplayer.Character.Humanoid.HipHeight = 0
  2159.         end
  2160.         if string.sub(CMDBAR.Text, 1, 6) == ("annoy ") then
  2161.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  2162.                 annoying = true
  2163.                 annplr = v
  2164.             end
  2165.         end
  2166.         if string.sub(CMDBAR.Text, 1, 7) == ("unannoy") then
  2167.             annoying = false
  2168.         end
  2169.         if string.sub(CMDBAR.Text, 1, 9) == ("headwalk ") then
  2170.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
  2171.                 hwalk = true
  2172.                 hdwplr = v
  2173.             end
  2174.         end
  2175.         if string.sub(CMDBAR.Text, 1, 10) == ("unheadwalk") then
  2176.             hwalk = false
  2177.         end
  2178.         if string.sub(CMDBAR.Text, 1, 7) == ("nolimbs") then
  2179.             lplayer.Character["Left Leg"]:Destroy()
  2180.             lplayer.Character["Left Arm"]:Destroy()
  2181.             lplayer.Character["Right Leg"]:Destroy()
  2182.             lplayer.Character["Right Arm"]:Destroy()
  2183.         end
  2184.         if string.sub(CMDBAR.Text, 1, 3) == ("god") then
  2185.             lplayer.Character.Humanoid.Name = 1
  2186.             local l = lplayer.Character["1"]:Clone()
  2187.             l.Parent = lplayer.Character
  2188.             l.Name = "Humanoid"
  2189.             wait(0.1)
  2190.             lplayer.Character["1"]:Destroy()
  2191.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2192.             lplayer.Character.Animate.Disabled = true
  2193.             wait(0.1)
  2194.             lplayer.Character.Animate.Disabled = false
  2195.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2196.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2197.             Title = "FE Godmode enabled";
  2198.             Text = "Use ;grespawn or ;respawn to remove.";
  2199.             })
  2200.         end
  2201.         if string.sub(CMDBAR.Text, 1, 8) == ("drophats") then
  2202.             for i,v in pairs(lplayer.Character:GetChildren()) do
  2203.                 if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  2204.                     v.Parent = workspace
  2205.                 end
  2206.             end
  2207.         end
  2208.         if string.sub(CMDBAR.Text, 1, 8) == ("droptool") then
  2209.             for i,v in pairs(lplayer.Character:GetChildren()) do
  2210.                 if (v:IsA("Tool")) then
  2211.                     v.Parent = workspace
  2212.                 end
  2213.             end
  2214.         end
  2215.         if string.sub(CMDBAR.Text, 1, 9) == ("loopdhats") then
  2216.             droppinghats = true
  2217.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2218.             Title = "Loop Drop Enabled";
  2219.             Text = "Type ;unloopdhats to disable";
  2220.             })
  2221.         end
  2222.         if string.sub(CMDBAR.Text, 1, 11) == ("unloopdhats") then
  2223.             droppinghats = false
  2224.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2225.             Title = "Loop Drop Disabled";
  2226.             Text = "Type ;loopdhats to enable.";
  2227.             })
  2228.         end
  2229.         if string.sub(CMDBAR.Text, 1, 9) == ("loopdtool") then
  2230.             droppingtools = true
  2231.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2232.             Title = "Loop Drop Enabled";
  2233.             Text = "Type ;unloopdtool to disable";
  2234.             })
  2235.         end
  2236.         if string.sub(CMDBAR.Text, 1, 11) == ("unloopdtool") then
  2237.             droppingtools = false
  2238.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2239.             Title = "Loop Drop Disabled";