daily pastebin goal
70%
SHARE
TWEET

Reviz Admin V2

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