Advertisement
arrow72433

Aimbot

Apr 9th, 2020
3,474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local PrisonBreakerv13 = Instance.new("ScreenGui")
  5. local main = Instance.new("Frame")
  6. local title = Instance.new("TextLabel")
  7. local credits = Instance.new("TextLabel")
  8. local police = Instance.new("TextButton")
  9. local inmate = Instance.new("TextButton")
  10. local neutral = Instance.new("TextButton")
  11. local arrestcrims = Instance.new("TextButton")
  12. local invis = Instance.new("TextButton")
  13. local superpunch = Instance.new("TextButton")
  14. local guns = Instance.new("TextButton")
  15. local taserbypass = Instance.new("TextButton")
  16. local fling = Instance.new("TextButton")
  17. local reviz = Instance.new("TextButton")
  18. local arrest = Instance.new("TextButton")
  19. local attach = Instance.new("TextButton")
  20. local fastrem = Instance.new("TextButton")
  21. local fastm9 = Instance.new("TextButton")
  22. local fasttaze = Instance.new("TextButton")
  23. local fastak = Instance.new("TextButton")
  24. local killothers = Instance.new("TextButton")
  25. local btools = Instance.new("TextButton")
  26. local speed = Instance.new("TextButton")
  27. local escape = Instance.new("TextButton")
  28. local label = Instance.new("TextLabel")
  29. local prison = Instance.new("TextButton")
  30. local yard = Instance.new("TextButton")
  31. local crimbase = Instance.new("TextButton")
  32. local aimbot = Instance.new("TextButton")
  33. local respawn = Instance.new("TextButton")
  34. local lag = Instance.new("TextButton")
  35. --Properties:
  36. PrisonBreakerv13.Name = "PrisonBreaker v1.3"
  37. PrisonBreakerv13.Parent = game.CoreGui
  38.  
  39. main.Name = "main"
  40. main.Parent = PrisonBreakerv13
  41. main.BackgroundColor3 = Color3.new(0, 1, 0)
  42. main.Position = UDim2.new(0.00947120413, 0, 0.311656445, 0)
  43. main.Size = UDim2.new(0, 383, 0, 538)
  44. main.Active = true
  45. main.Draggable = true
  46.  
  47. title.Name = "title"
  48. title.Parent = main
  49. title.BackgroundColor3 = Color3.new(0.333333, 0, 1)
  50. title.Size = UDim2.new(0, 381, 0, 50)
  51. title.Font = Enum.Font.ArialBold
  52. title.Text = "PrisonBreaker V1.3"
  53. title.TextColor3 = Color3.new(0, 0, 0)
  54. title.TextSize = 14
  55.  
  56. credits.Name = "credits"
  57. credits.Parent = main
  58. credits.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
  59. credits.Position = UDim2.new(0, 0, 0.925650537, 0)
  60. credits.Size = UDim2.new(0, 381, 0, 40)
  61. credits.Font = Enum.Font.Highway
  62. credits.Text = "Made By JAKE11PRICE on YouTube"
  63. credits.TextColor3 = Color3.new(0, 0, 0)
  64. credits.TextSize = 14
  65.  
  66. police.Name = "police"
  67. police.Parent = main
  68. police.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
  69. police.Position = UDim2.new(0.0203045681, 0, 0.115241639, 0)
  70. police.Size = UDim2.new(0, 111, 0, 32)
  71. police.Font = Enum.Font.GothamBold
  72. police.Text = "Team Police"
  73. police.TextColor3 = Color3.new(0, 0, 0)
  74. police.TextSize = 14
  75. police.MouseButton1Down:connect(function()
  76. workspace.Remote.TeamEvent:FireServer("Bright blue")
  77. end)
  78.  
  79. inmate.Name = "inmate"
  80. inmate.Parent = main
  81. inmate.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  82. inmate.Position = UDim2.new(0.3350254, 0, 0.115241639, 0)
  83. inmate.Size = UDim2.new(0, 111, 0, 32)
  84. inmate.Font = Enum.Font.GothamBold
  85. inmate.Text = "Team Inmate"
  86. inmate.TextColor3 = Color3.new(0, 0, 0)
  87. inmate.TextSize = 14
  88. inmate.MouseButton1Down:connect(function()
  89. workspace.Remote.TeamEvent:FireServer("Bright orange")
  90. end)
  91.  
  92. neutral.Name = "neutral"
  93. neutral.Parent = main
  94. neutral.BackgroundColor3 = Color3.new(0.772549, 0.74902, 0.784314)
  95. neutral.Position = UDim2.new(0.657360375, 0, 0.115241639, 0)
  96. neutral.Size = UDim2.new(0, 111, 0, 32)
  97. neutral.Font = Enum.Font.GothamBold
  98. neutral.Text = "Team Neutral"
  99. neutral.TextColor3 = Color3.new(0, 0, 0)
  100. neutral.TextSize = 14
  101. neutral.MouseButton1Down:connect(function()
  102. Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  103. end)
  104.  
  105. arrestcrims.Name = "arrestcrims"
  106. arrestcrims.Parent = main
  107. arrestcrims.BackgroundColor3 = Color3.new(1, 0, 0)
  108. arrestcrims.Position = UDim2.new(0.0203045681, 0, 0.18959108, 0)
  109. arrestcrims.Size = UDim2.new(0, 111, 0, 31)
  110. arrestcrims.Font = Enum.Font.GothamBold
  111. arrestcrims.Text = "Arrest Crims"
  112. arrestcrims.TextColor3 = Color3.new(0, 0, 0)
  113. arrestcrims.TextSize = 14
  114. arrestcrims.MouseButton1Down:connect(function()
  115. local Player = game.Players.LocalPlayer
  116. local cpos = Player.Character.HumanoidRootPart.CFrame
  117. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  118. if v.Name ~= Player.Name then
  119. local i = 10
  120.     repeat
  121.     wait()
  122.     i = i-1
  123.     game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  124.     Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  125.     until i == 0
  126. end
  127. end
  128. Player.Character.HumanoidRootPart.CFrame = cpos
  129. Notify("Success", "Arrested all of the n00bs", "Cool!")
  130. end)
  131.  
  132. invis.Name = "invis"
  133. invis.Parent = main
  134. invis.BackgroundColor3 = Color3.new(1, 0, 0)
  135. invis.Position = UDim2.new(0.332487345, 0, 0.18959108, 0)
  136. invis.Size = UDim2.new(0, 111, 0, 31)
  137. invis.Font = Enum.Font.GothamBold
  138. invis.Text = "Invisible"
  139. invis.TextColor3 = Color3.new(0, 0, 0)
  140. invis.TextSize = 14
  141. invis.MouseButton1Down:connect(function()
  142. local player = game.Players.LocalPlayer
  143. position     = player.Character.HumanoidRootPart.Position
  144. wait(0.1)
  145. player.Character:MoveTo(position + Vector3.new(0, 1000000, 0))
  146. wait(0.1)
  147. humanoidrootpart = player.Character.HumanoidRootPart:clone()
  148. wait(0.1)
  149. player.Character.HumanoidRootPart:Destroy()
  150. humanoidrootpart.Parent = player.Character
  151. player.Character:MoveTo(position)
  152. wait()
  153. end)
  154.  
  155. superpunch.Name = "superpunch"
  156. superpunch.Parent = main
  157. superpunch.BackgroundColor3 = Color3.new(1, 0, 0)
  158. superpunch.Position = UDim2.new(0.657360375, 0, 0.18959108, 0)
  159. superpunch.Size = UDim2.new(0, 111, 0, 31)
  160. superpunch.Font = Enum.Font.GothamBold
  161. superpunch.Text = "SuperPunch"
  162. superpunch.TextColor3 = Color3.new(0, 0, 0)
  163. superpunch.TextSize = 14
  164. superpunch.MouseButton1Down:connect(function()
  165. mainRemotes = game.ReplicatedStorage meleeRemote = mainRemotes['meleeEvent'] mouse = game.Players.LocalPlayer:GetMouse() punching = false cooldown = false function punch() cooldown = true local part = Instance.new("Part", game.Players.LocalPlayer.Character) part.Transparency = 1 part.Size = Vector3.new(5, 2, 3) part.CanCollide = false local w1 = Instance.new("Weld", part) w1.Part0 = game.Players.LocalPlayer.Character.Torso w1.Part1 = part w1.C1 = CFrame.new(0,0,2) part.Touched:connect(function(hit) if game.Players:FindFirstChild(hit.Parent.Name) then local plr = game.Players:FindFirstChild(hit.Parent.Name) if plr.Name ~= game.Players.LocalPlayer.Name then part:Destroy() for i = 1,100 do meleeRemote:FireServer(plr) end end end end) wait(1) cooldown = false part:Destroy() end mouse.KeyDown:connect(function(key) if cooldown == false then if key:lower() == "f" then punch() end end end)
  166. end)
  167.  
  168. guns.Name = "guns"
  169. guns.Parent = main
  170. guns.BackgroundColor3 = Color3.new(1, 0, 0)
  171. guns.Position = UDim2.new(0.0203045681, 0, 0.262081772, 0)
  172. guns.Size = UDim2.new(0, 111, 0, 32)
  173. guns.Font = Enum.Font.GothamBlack
  174. guns.Text = "Guns"
  175. guns.TextColor3 = Color3.new(0, 0, 0)
  176. guns.TextSize = 14
  177. guns.MouseButton1Down:connect(function()
  178. for i,v in pairs(Workspace.Prison_ITEMS.giver:GetChildren()) do
  179.  
  180. lol = Workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  181. print(lol)
  182. end
  183. end)
  184.  
  185. taserbypass.Name = "taserbypass"
  186. taserbypass.Parent = main
  187. taserbypass.BackgroundColor3 = Color3.new(1, 0, 0)
  188. taserbypass.Position = UDim2.new(0.33502537, 0, 0.262081772, 0)
  189. taserbypass.Size = UDim2.new(0, 111, 0, 32)
  190. taserbypass.Font = Enum.Font.GothamBold
  191. taserbypass.Text = "Taser Bypass"
  192. taserbypass.TextColor3 = Color3.new(0, 0, 0)
  193. taserbypass.TextSize = 14
  194. taserbypass.MouseButton1Down:connect(function()
  195. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  196.    game.Players.LocalPlayer.CharacterAdded:connect(function()
  197.    game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  198.    game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  199.    end)
  200.    local message = Instance.new("Message",game.Workspace)
  201.    message.Text = 'Made By Jake11price'
  202.    wait(2)
  203.    message:Destroy()
  204. end)
  205.  
  206. fling.Name = "fling"
  207. fling.Parent = main
  208. fling.BackgroundColor3 = Color3.new(1, 0, 0)
  209. fling.Position = UDim2.new(0.657360375, 0, 0.262081772, 0)
  210. fling.Size = UDim2.new(0, 111, 0, 32)
  211. fling.Font = Enum.Font.GothamBold
  212. fling.Text = "Fling"
  213. fling.TextColor3 = Color3.new(0, 0, 0)
  214. fling.TextSize = 14
  215. fling.MouseButton1Down:connect(function()
  216. --fe fling script, modified by CDrom202 for R6
  217.  
  218. power = 300 -- change this to make it more or less powerful
  219.  
  220. game:GetService('RunService').Stepped:connect(function()
  221. game.Players.LocalPlayer.Character.Head.CanCollide = false
  222. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  223. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  224. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  225. end)
  226.  
  227. wait(.1)
  228. local bambam = Instance.new("BodyThrust")
  229. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  230. bambam.Force = Vector3.new(power,0,power)
  231. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  232. end)
  233.  
  234. reviz.Name = "reviz"
  235. reviz.Parent = main
  236. reviz.BackgroundColor3 = Color3.new(1, 0, 0)
  237. reviz.Position = UDim2.new(0.0183727033, 0, 0.332713753, 0)
  238. reviz.Size = UDim2.new(0, 111, 0, 32)
  239. reviz.Font = Enum.Font.GothamBold
  240. reviz.Text = "Reviz Admin"
  241. reviz.TextColor3 = Color3.new(0, 0, 0)
  242. reviz.TextSize = 14
  243. reviz.MouseButton1Down:connect(function()
  244. -- Creator: illremember#3799
  245.  
  246. -- Credits to infinite yield, harkinian, dex creators
  247.  
  248. prefix = ";"
  249. wait(0.3)
  250. Commands = {
  251.     '[-] cmdbar is shown when ; is pressed.',
  252.     '[1] kill [plr] -- You need a tool! Will kill the player, use rkill to kill you and player',
  253.     '[2] bring [plr] -- You need a tool! Will bring player to you',
  254.     '[3] spin [plr] -- You need a tool! Makes you and the player spin crazy',
  255.     '[4] unspin -- Use after using spin cmd and dying, so you stop loop teleporting',
  256.     '[5] attach [plr] -- You need a tool! Attaches you to player',
  257.     '[6] unattach [plr] -- Attempts to unattach you from a player',
  258.     '[7] follow [plr] -- Makes you follow behind the player',
  259.     '[8] unfollow',
  260.     '[9] freefall [plr] -- You need a tool! Teleports you and the player up into the air',
  261.     '[10] trail [plr] -- The opposite of follow, you stay infront of player',
  262.     '[11] untrail',
  263.     '[12] orbit [plr] -- Makes you orbit the player',
  264.     '[13] unorbit',
  265.     '[14] fling [plr] -- Makes you fling the player',
  266.     '[15] unfling',
  267.     '[16] fecheck -- Checks if the game is FE or not',
  268.     '[17] void [plr] -- Teleports player to the void',
  269.     '[18] noclip -- Gives you noclip to walk through walls',
  270.     '[19] clip -- Removes noclip',
  271.     '[20] speed [num]/ws [num] -- Changes how fast you walk 16 is default',
  272.     '[21] jumppower [num]/jp [num] -- Changes how high you jump 50 is default',
  273.     '[22] hipheight [num]/hh [num] -- Changes how high you float 0 is default',
  274.     '[23] default -- Changes your speed, jumppower and hipheight to default values',
  275.     '[24] annoy [plr] -- Loop teleports you to the player',
  276.     '[25] unannoy',
  277.     '[26] headwalk [plr] -- Loop teleports you to the player head',
  278.     '[27] unheadwalk',
  279.     '[28] nolimbs -- Removes your arms and legs',
  280.     '[29] god -- Gives you FE Godmode',
  281.     '[30] drophats -- Drops your accessories',
  282.     '[31] droptool -- Drops any tool you have equipped',
  283.     '[32] loopdhats -- Loop drops your accessories',
  284.     '[33] unloopdhats',
  285.     '[34] loopdtool -- Loop drops any tools you have equipped',
  286.     '[35] unloopdtool',
  287.     '[36] invisible -- Gives you invisibility CREDIT TO TIMELESS',
  288.     '[37] view [plr] -- Changes your camera to the player character',
  289.     '[38] unview',
  290.     '[39] goto [plr] -- Teleports you to player',
  291.     '[40] fly -- Allows you to fly, credit to Infinite Yield',
  292.     '[41] unfly',
  293.     '[42] chat [msg] -- Makes you chat a message',
  294.     '[43] spam [msg] -- Spams a message',
  295.     '[44] unspam',
  296.     '[45] spamwait [num] -- Changes delay of chatting a message for the spam command in seconds default is 1 second',
  297.     '[46] pmspam [plr] -- Spams a player in private message',
  298.     '[47] unpmspam',
  299.     '[48] cfreeze [plr] -- Freezes a player on your client, they will only be frozen for you',
  300.     '[49] uncfreeze [plr]',
  301.     '[50] unlockws -- Unlocks the workspace',
  302.     '[51] lockws -- Locks the workspace',
  303.     '[52] btools -- Gives you btools that will only show to you useful for deleting certain blocks only for you',
  304.     '[53] pstand -- Enables platform stand',
  305.     '[54] unpstand -- Disables platform stand',
  306.     '[55] blockhead -- Removes your head mesh',
  307.     '[56] sit',
  308.     '[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',
  309.     '[58] wsvis [num] -- Changes visibility of workspace parts, num should be between 0 and 1, only shows client sided',
  310.     '[59] hypertotal -- Loads in my FE GUI Hypertotal',
  311.     '[60] cmds -- Prints all commands',
  312.     '[61] rmeshhats/blockhats -- Removes the meshes of all your accessories aka block hats',
  313.     '[62] rmeshtool/blocktool -- Removes the mesh of the tool you have equipped aka block tool',
  314.     '[63] spinner -- Makes you spin',
  315.     '[64] nospinner',
  316.     '[65] reach [num] -- Gives you reach, mostly used for swords, say ;reachd for default and enter number after for custom',
  317.     '[66] noreach -- Removes reach, must have tool equipped',
  318.     '[67] rkill [plr] -- Kills you and the player, use kill to just kill the player without dying',
  319.     '[68] tp me [plr] -- Alternative to goto',
  320.     '[69] cbring [plr] -- Brings player infront of you, shows only on client, allows you to do damage to player',
  321.     '[70] uncbring',
  322.     '[71] swap [plr] -- You need a tool! Swaps players position with yours and your position with players',
  323.     '[72] givetool [plr] -- Gives the tool you have equipped to the player',
  324.     '[73] glitch [plr] -- Glitches you and the player, looks very cool',
  325.     '[74] unglitch -- Unglitches you',
  326.     '[75] grespawn -- Alternative to normal respawn and usually works best for when you want to reset with FE Godmode',
  327.     '[76] explorer -- Loads up DEX',
  328.     '[77] reset -- Resets your character.',
  329.     '[78] anim [id] -- Applies an animation on you, must be created by ROBLOX',
  330.     '[79] animgui -- Loads up Energize animations GUI',
  331.     '[80] savepos -- Saves your current position',
  332.     '[81] loadpos -- Teleports you to your saved position',
  333.     '[82] bang [plr] -- 18+ will not work if you have FE Godmode on',
  334.     '[83] unbang',
  335.     '[84] delcmdbar -- Removes the command bar completely',
  336.     '[85] bringmod [obj] -- Brings all the parts in a model, client only, comes from ;bringobj enter exact name of model',
  337.     '[86] shutdown -- Uses harkinians script to shutdown server',
  338.     '[87] respawn -- If grespawn doesnt work you can use respawn',
  339.     '[88] delobj [obj] -- Deletes a certain brick in workspace, client sided',
  340.     '[89] getplrs -- Prints all players in game',
  341.     '[90] deldecal -- Deletes all decals client sided',
  342.     '[91] opfinality -- Loads in my FE GUI Opfinality',
  343.     '[92] remotes -- Prints all remotes in the game in the console when added',
  344.     '[93] noremotes -- Stops printing remotes',
  345.     '[94] tpdefault -- Stops all loop teleports to a player',
  346.     '[95] stopsit -- Will not allow you to sit',
  347.     '[96] gosit -- Allows you to sit',
  348.     '[97] clicktp -- Enables click tp',
  349.     '[98] noclicktp -- Disables click tp',
  350.     '[99] toolson -- If any tools are dropped in the workspace you will automatically get them',
  351.     '[100] toolsoff -- Stops ;toolson',
  352.     '[101] version -- Gets the admin version',
  353.     '[102] state [num] -- Changes your humanoid state, ;unstate to stop.',
  354.     '[103] gravity [num] -- Changes workspace gravity default is 196.2',
  355.     '[104] pgs -- Checks if the game has PGSPhysicsSolverEnabled enabled',
  356.     '[105] clickdel -- Delete any block you press q on, client sided',
  357.     '[106] noclickdel -- Stops clickdel',
  358.     '[107] looprhats -- Loop removes mesh of your hats/loop block hats',
  359.     '[108] unlooprhats -- Stops loop removing mesh',
  360.     '[109] looprtool -- Loop removes mesh of your tool/loop block tools',
  361.     '[110] unlooprtool -- Stops loop removing mesh',
  362.     '[111] givealltools [plr] -- Gives all the tools you have in your backpack to the player',
  363.     '[112] age [plr] -- Makes you chat the account age of the player',
  364.     '[113] id [plr] -- Makes you chat the account ID of the player',
  365.     '[114] .age [plr] -- Privately shows you the account age of the player',
  366.     '[115] .id [plr] -- Privately shows you the account ID of the player',
  367.     '[116] gameid -- Shows the game ID',
  368.     '[117] removeinvis -- Removes all invisible walls/parts, client sided',
  369.     '[118] removefog -- Removes fog, client sided',
  370.     '[119] disable -- Disables your character by removing humanoid',
  371.     '[120] enable -- Enables your character by adding humanoid',
  372.     '[121] prefix [key] -- Changes the prefix used, default is ;',
  373.     '[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.',
  374.     '[123] flyspeed [num] -- Change your fly speed, default is 1',
  375.     '[124] carpet [plr] -- Makes you a carpet for a player, will not work if FE Godmode is on',
  376.     '[125] uncarpet -- Stops carpet player',
  377.     '[126] stare [plr] -- Turns your character to stare at another player',
  378.     '[127] unstare -- Stops stare player',
  379.     '[128] logchat -- Logs all chat (including /e and whispers) of all players',
  380.     '[129] unlogchat -- Disables logchat',
  381.     '[130] fixcam -- Fixes/resets your camera',
  382.     '[131] unstate -- Stops changing state',
  383. }
  384. speedget = 1
  385.  
  386. lplayer = game:GetService("Players").LocalPlayer
  387.  
  388. lplayer.CharacterAdded:Connect(function(character)
  389.     spin = false
  390.     flying = false
  391.     staring = false
  392.     banpl = false
  393. end)
  394.  
  395. function change()
  396.     prefix = prefix
  397.     speedfly = speedfly
  398. end
  399.  
  400. function GetPlayer(String) -- Credit to Timeless/xFunnieuss
  401.     local Found = {}
  402.     local strl = String:lower()
  403.     if strl == "all" then
  404.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  405.             table.insert(Found,v)
  406.         end
  407.     elseif strl == "others" then
  408.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  409.             if v.Name ~= lplayer.Name then
  410.                 table.insert(Found,v)
  411.             end
  412.         end  
  413.     elseif strl == "me" then
  414.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  415.             if v.Name == lplayer.Name then
  416.                 table.insert(Found,v)
  417.             end
  418.         end  
  419.     else
  420.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  421.             if v.Name:lower():sub(1, #String) == String:lower() then
  422.                 table.insert(Found,v)
  423.             end
  424.         end    
  425.     end
  426.     return Found    
  427. end
  428.  
  429. local Mouse = lplayer:GetMouse()
  430.  
  431. spin = false
  432. followed = false
  433. traill = false
  434. noclip = false
  435. annoying = false
  436. hwalk = false
  437. droppinghats = false
  438. droppingtools = false
  439. flying = false
  440. spamdelay = 1
  441. spamming = false
  442. spammingpm = false
  443. cbringing = false
  444. remotes = true
  445. added = true
  446. binds = false
  447. stopsitting = false
  448. clickgoto = false
  449. gettingtools = false
  450. removingmeshhats = false
  451. removingmeshtool = false
  452. clickdel = false
  453. staring = false
  454. chatlogs = false
  455. banpl = false
  456. changingstate = false
  457. statechosen = 0
  458.  
  459. adminversion = "Reviz Admin by illremember, Version 2.0"
  460.  
  461. flying = false
  462. speedfly = 1
  463.  
  464. function plrchat(plr, chat)
  465. print(plr.Name..": "..tick().."\n"..chat)
  466. end
  467.  
  468. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  469. v.Chatted:connect(function(chat)
  470. if chatlogs then
  471. plrchat(v, chat)
  472. end
  473. end)
  474. end
  475. game:GetService("Players").PlayerAdded:connect(function(plr)
  476. plr.Chatted:connect(function(chat)
  477. if chatlogs then
  478. plrchat(plr, chat)
  479. end
  480. end)
  481. end)
  482.  
  483.  
  484. local ScreenGui = Instance.new("ScreenGui")
  485. local Frame = Instance.new("Frame")
  486. local CMDBAR = Instance.new("TextBox")
  487. ScreenGui.Parent = game:GetService("CoreGui")
  488. Frame.Parent = ScreenGui
  489. Frame.BackgroundColor3 = Color3.new(0.3, 0.1, 0.1)
  490. Frame.BackgroundTransparency = 0.3
  491. Frame.Position = UDim2.new(0.5, 0, 0, 10)
  492. Frame.Size = UDim2.new(0, 200, 0, 40)
  493. Frame.Active = true
  494. Frame.Draggable = true
  495. CMDBAR.Name = "CMDBAR"
  496. CMDBAR.Parent = Frame
  497. CMDBAR.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  498. CMDBAR.BackgroundTransparency = 0.20000000298023
  499. CMDBAR.Size = UDim2.new(0, 180, 0, 20)
  500. CMDBAR.Position = UDim2.new(0.05, 0, 0.25, 0)
  501. CMDBAR.Font = Enum.Font.SourceSansLight
  502. CMDBAR.FontSize = Enum.FontSize.Size14
  503. CMDBAR.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
  504. CMDBAR.TextScaled = true
  505. CMDBAR.TextSize = 14
  506. CMDBAR.TextWrapped = true
  507. CMDBAR.Text = "Press ; to type, Enter to execute"
  508.  
  509. local CMDS = Instance.new("ScreenGui")
  510. local CMDSFRAME = Instance.new("Frame")
  511. local ScrollingFrame = Instance.new("ScrollingFrame")
  512. local TextLabel = Instance.new("TextLabel")
  513. local closegui = Instance.new("TextButton")
  514. CMDS.Name = "CMDS"
  515. CMDS.Parent = game:GetService("CoreGui")
  516. CMDSFRAME.Name = "CMDSFRAME"
  517. CMDSFRAME.Parent = CMDS
  518. CMDSFRAME.Active = true
  519. CMDSFRAME.BackgroundColor3 = Color3.new(0.223529, 0.231373, 0.309804)
  520. CMDSFRAME.BorderSizePixel = 0
  521. CMDSFRAME.Draggable = true
  522. CMDSFRAME.Position = UDim2.new(0, 315, 0, 100)
  523. CMDSFRAME.Size = UDim2.new(0, 275, 0, 275)
  524. CMDSFRAME.Visible = false
  525. ScrollingFrame.Parent = CMDSFRAME
  526. ScrollingFrame.BackgroundColor3 = Color3.new(0.160784, 0.160784, 0.203922)
  527. ScrollingFrame.BorderSizePixel = 0
  528. ScrollingFrame.Position = UDim2.new(0, 0, 0.0729999989, 0)
  529. ScrollingFrame.Size = UDim2.new(1.04999995, 0, 0.92900002, 0)
  530. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 10, 0)
  531. TextLabel.Parent = ScrollingFrame
  532. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  533. TextLabel.BackgroundTransparency = 1
  534. TextLabel.Size = UDim2.new(0.930000007, 0, 1, 0)
  535. TextLabel.Font = Enum.Font.SourceSans
  536. TextLabel.FontSize = Enum.FontSize.Size18
  537. 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."
  538. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  539. TextLabel.TextSize = 15
  540. TextLabel.TextWrapped = true
  541. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  542. TextLabel.TextYAlignment = Enum.TextYAlignment.Top
  543. closegui.Name = "closegui"
  544. closegui.Parent = CMDSFRAME
  545. closegui.BackgroundColor3 = Color3.new(0.890196, 0.223529, 0.0588235)
  546. closegui.BorderSizePixel = 0
  547. closegui.Position = UDim2.new(0.995000005, 0, 0, 0)
  548. closegui.Size = UDim2.new(0.0545952693, 0, 0.0728644878, 0)
  549. closegui.Font = Enum.Font.SourceSansBold
  550. closegui.FontSize = Enum.FontSize.Size24
  551. closegui.Text = "X"
  552. closegui.TextColor3 = Color3.new(1, 1, 1)
  553. closegui.TextSize = 20
  554.  
  555. closegui.MouseButton1Click:connect(function()
  556.     CMDSFRAME.Visible = false
  557. end)
  558.  
  559. game:GetService('RunService').Stepped:connect(function()
  560.     if spin then
  561.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[spinplr.Name].Character.HumanoidRootPart.CFrame
  562.     end
  563.     if followed then
  564.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * -5
  565.     end
  566.     if traill then
  567.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame + game:GetService("Players")[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * 5
  568.     end
  569.     if annoying then
  570.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[annplr.Name].Character.HumanoidRootPart.CFrame
  571.     end
  572.     if hwalk then
  573.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[hdwplr.Name].Character.HumanoidRootPart.CFrame + Vector3.new(0, 4, 0)
  574.     end
  575.     if staring then
  576.         lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(lplayer.Character.Torso.Position, game:GetService("Players")[stareplr.Name].Character.Torso.Position)
  577.     end
  578. end)
  579. game:GetService('RunService').Stepped:connect(function()
  580.     if noclip then
  581.         if lplayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  582.             lplayer.Character.Head.CanCollide = false
  583.             lplayer.Character.Torso.CanCollide = false
  584.             lplayer.Character["Left Leg"].CanCollide = false
  585.             lplayer.Character["Right Leg"].CanCollide = false
  586.         else
  587.             lplayer.Character.Humanoid:ChangeState(11)
  588.         end
  589.     end
  590.     if changingstate then
  591.         lplayer.Character.Humanoid:ChangeState(statechosen)
  592.     end
  593. end)
  594. game:GetService('RunService').Stepped:connect(function()
  595.     if droppinghats then
  596.         for i,v in pairs(lplayer.Character:GetChildren()) do
  597.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  598.                 v.Parent = workspace
  599.             end
  600.         end
  601.     end
  602.     if droppingtools then
  603.         for i,v in pairs(lplayer.Character:GetChildren()) do
  604.             if (v:IsA("Tool")) then
  605.                 v.Parent = workspace
  606.             end
  607.         end
  608.     end
  609.     if removingmeshhats then
  610.         for i,v in pairs(lplayer.Character:GetChildren()) do
  611.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  612.                 v.Handle.Mesh:Destroy()
  613.             end
  614.         end
  615.     end
  616.     if removingmeshtool then
  617.         for i,v in pairs(lplayer.Character:GetChildren()) do
  618.             if (v:IsA("Tool")) then
  619.                 v.Handle.Mesh:Destroy()
  620.             end
  621.         end
  622.     end
  623. end)
  624. game:GetService('RunService').Stepped:connect(function()
  625.     if banpl then
  626.         lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[bplrr].Character.HumanoidRootPart.CFrame
  627.     end
  628. end)
  629. game:GetService('RunService').Stepped:connect(function()
  630.     if stopsitting then
  631.         lplayer.Character.Humanoid.Sit = false
  632.     end
  633. end)
  634.  
  635. plr = lplayer
  636. hum = plr.Character.HumanoidRootPart
  637. mouse = plr:GetMouse()
  638. mouse.KeyDown:connect(function(key)
  639.     if key == "e" then
  640.         if mouse.Target then
  641.             if clickgoto then
  642.                 hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  643.             elseif clickdel then
  644.                 mouse.Target:Destroy()
  645.             end
  646.         end
  647.     end
  648. end)
  649.  
  650. game:GetService("Workspace").ChildAdded:connect(function(part)
  651.     if gettingtools then
  652.         if part:IsA("Tool") then
  653.             part.Handle.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  654.         end
  655.     end
  656. end)
  657.  
  658. lplayer.Chatted:Connect(function(msg)
  659.     if string.sub(msg, 1, 6) == (prefix.."kill ") then
  660.         if string.sub(msg, 7) == "me" then
  661.             lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(100000,0,100000)
  662.         else
  663.             for i,v in pairs(GetPlayer(string.sub(msg, 7)))do
  664.                 local NOW = lplayer.Character.HumanoidRootPart.CFrame
  665.                 lplayer.Character.Humanoid.Name = 1
  666.                 local l = lplayer.Character["1"]:Clone()
  667.                 l.Parent = lplayer.Character
  668.                 l.Name = "Humanoid"
  669.                 wait(0.1)
  670.                 lplayer.Character["1"]:Destroy()
  671.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  672.                 lplayer.Character.Animate.Disabled = true
  673.                 wait(0.1)
  674.                 lplayer.Character.Animate.Disabled = false
  675.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  676.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  677.                 lplayer.Character.Humanoid:EquipTool(v)
  678.                 end
  679.                 local function tp(player,player2)
  680.                 local char1,char2=player.Character,player2.Character
  681.                 if char1 and char2 then
  682.                 char1:MoveTo(char2.Head.Position)
  683.                 end
  684.                 end
  685.                 wait(0.1)
  686.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  687.                 wait(0.2)
  688.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  689.                 wait(0.5)
  690.                 lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
  691.                 wait(0.7)
  692.                 tp(lplayer,game:GetService("Players")[v.Name])
  693.                 wait(0.7)
  694.                 lplayer.Character.HumanoidRootPart.CFrame = NOW
  695.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  696.                 Title = "Tools needed!";
  697.                 Text = "You need a tool in your backpack for this command!";
  698.                 })
  699.             end
  700.         end
  701.     end
  702.     if string.sub(msg, 1, 7) == (prefix.."bring ") then
  703.         for i,v in pairs(GetPlayer(string.sub(msg, 8)))do
  704.             local NOW = lplayer.Character.HumanoidRootPart.CFrame
  705.             lplayer.Character.Humanoid.Name = 1
  706.             local l = lplayer.Character["1"]:Clone()
  707.             l.Parent = lplayer.Character
  708.             l.Name = "Humanoid"
  709.             wait(0.1)
  710.             lplayer.Character["1"]:Destroy()
  711.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  712.             lplayer.Character.Animate.Disabled = true
  713.             wait(0.1)
  714.             lplayer.Character.Animate.Disabled = false
  715.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  716.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  717.             lplayer.Character.Humanoid:EquipTool(v)
  718.             end
  719.             local function tp(player,player2)
  720.             local char1,char2=player.Character,player2.Character
  721.             if char1 and char2 then
  722.             char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  723.             end
  724.             end
  725.             local function getout(player,player2)
  726.             local char1,char2=player.Character,player2.Character
  727.             if char1 and char2 then
  728.             char1:MoveTo(char2.Head.Position)
  729.             end
  730.             end
  731.             tp(game:GetService("Players")[v.Name], lplayer)
  732.             wait(0.2)
  733.             tp(game:GetService("Players")[v.Name], lplayer)
  734.             wait(0.5)
  735.             lplayer.Character.HumanoidRootPart.CFrame = NOW
  736.             wait(0.5)
  737.             getout(lplayer, game:GetService("Players")[v.Name])
  738.             wait(0.3)
  739.             lplayer.Character.HumanoidRootPart.CFrame = NOW
  740.             game:GetService("StarterGui"):SetCore("SendNotification", {
  741.             Title = "Tools needed!";
  742.             Text = "You need a tool in your backpack for this command!";
  743.             })
  744.         end
  745.     end
  746.     if string.sub(msg, 1, 6) == (prefix.."spin ") then
  747.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  748.             lplayer.Character.Humanoid.Name = 1
  749.             local l = lplayer.Character["1"]:Clone()
  750.             l.Parent = lplayer.Character
  751.             l.Name = "Humanoid"
  752.             wait(0.1)
  753.             lplayer.Character["1"]:Destroy()
  754.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  755.             lplayer.Character.Animate.Disabled = true
  756.             wait(0.1)
  757.             lplayer.Character.Animate.Disabled = false
  758.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  759.             lplayer.Character.Animate.Disabled = false
  760.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  761.             lplayer.Character.Humanoid:EquipTool(v)
  762.             end
  763.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  764.             spinplr = v
  765.             wait(0.5)
  766.             spin = true
  767.             game:GetService("StarterGui"):SetCore("SendNotification", {
  768.             Title = "Tools needed!";
  769.             Text = "You need a tool in your backpack for this command!";
  770.             })
  771.         end
  772.     end
  773.     if string.sub(msg, 1, 7) == (prefix.."unspin") then
  774.         spin = false
  775.     end
  776.     if string.sub(msg, 1, 8) == (prefix.."attach ") then
  777.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  778.             lplayer.Character.Humanoid.Name = 1
  779.             local l = lplayer.Character["1"]:Clone()
  780.             l.Parent = lplayer.Character
  781.             l.Name = "Humanoid"
  782.             wait(0.1)
  783.             lplayer.Character["1"]:Destroy()
  784.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  785.             lplayer.Character.Animate.Disabled = true
  786.             wait(0.1)
  787.             lplayer.Character.Animate.Disabled = false
  788.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  789.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  790.             lplayer.Character.Humanoid:EquipTool(v)
  791.             end
  792.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  793.             wait(0.3)
  794.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  795.             attplr = v
  796.             game:GetService("StarterGui"):SetCore("SendNotification", {
  797.             Title = "Tools needed!";
  798.             Text = "You need a tool in your backpack for this command!";
  799.             })
  800.         end
  801.     end
  802.     if string.sub(msg, 1, 10) == (prefix.."unattach ") then
  803.         for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
  804.             local function getout(player,player2)
  805.             local char1,char2=player.Character,player2.Character
  806.             if char1 and char2 then
  807.             char1:MoveTo(char2.Head.Position)
  808.             end
  809.             end
  810.             getout(lplayer, game:GetService("Players")[v.Name])
  811.         end
  812.     end
  813.     if string.sub(msg, 1, 8) == (prefix.."follow ") then
  814.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  815.             followed = true
  816.             flwplr = v
  817.         end
  818.     end
  819.     if string.sub(msg, 1, 9) == (prefix.."unfollow") then
  820.         followed = false
  821.     end
  822.     if string.sub(msg, 1, 10) == (prefix.."freefall ") then
  823.         for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
  824.             local NOW = lplayer.Character.HumanoidRootPart.CFrame
  825.             lplayer.Character.Humanoid.Name = 1
  826.             local l = lplayer.Character["1"]:Clone()
  827.             l.Parent = lplayer.Character
  828.             l.Name = "Humanoid"
  829.             wait(0.1)
  830.             lplayer.Character["1"]:Destroy()
  831.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  832.             lplayer.Character.Animate.Disabled = true
  833.             wait(0.1)
  834.             lplayer.Character.Animate.Disabled = false
  835.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  836.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  837.             lplayer.Character.Humanoid:EquipTool(v)
  838.             end
  839.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  840.             wait(0.2)
  841.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  842.             wait(0.6)
  843.             lplayer.Character.HumanoidRootPart.CFrame = NOW
  844.             wait(0.6)
  845.             lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
  846.             game:GetService("StarterGui"):SetCore("SendNotification", {
  847.             Title = "Tools needed!";
  848.             Text = "You need a tool in your backpack for this command!";
  849.             })
  850.         end
  851.     end
  852.     if string.sub(msg, 1, 7) == (prefix.."trail ") then
  853.         for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  854.             traill = true
  855.             trlplr = v
  856.         end
  857.     end
  858.     if string.sub(msg, 1, 8) == (prefix.."untrail") then
  859.         traill = false
  860.     end
  861.     if string.sub(msg, 1, 7) == (prefix.."orbit ") then
  862.         if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then
  863.             lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  864.         else
  865.             for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  866.                 local o = Instance.new("RocketPropulsion")
  867.                 o.Parent = lplayer.Character.HumanoidRootPart
  868.                 o.Name = "Orbit"
  869.                 o.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
  870.                 o:Fire()
  871.                 noclip = true
  872.             end
  873.         end
  874.     end
  875.     if string.sub(msg, 1, 8) == (prefix.."unorbit") then
  876.         lplayer.Character.HumanoidRootPart.Orbit:Destroy()
  877.         noclip = false
  878.     end
  879.     if string.sub(msg, 1, 7) == (prefix.."fling ") then
  880.         if string.sub(msg, 8) == "all" or string.sub(msg, 8) == "others" or string.sub(msg, 8) == "me" then
  881.             lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  882.         else
  883.             for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  884.                 local y = Instance.new("RocketPropulsion")
  885.                 y.Parent = lplayer.Character.HumanoidRootPart
  886.                 y.CartoonFactor = 1
  887.                 y.MaxThrust = 800000
  888.                 y.MaxSpeed = 1000
  889.                 y.ThrustP = 200000
  890.                 y.Name = "Fling"
  891.                 game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
  892.                 y.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
  893.                 y:Fire()
  894.                 noclip = true
  895.             end
  896.         end
  897.     end
  898.     if string.sub(msg, 1, 8) == (prefix.."unfling") then
  899.         noclip = false
  900.         lplayer.Character.HumanoidRootPart.Fling:Destroy()
  901.         game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
  902.         wait(0.4)
  903.         lplayer.Character.HumanoidRootPart.Fling:Destroy()
  904.     end
  905.     if string.sub(msg, 1, 8) == (prefix.."fecheck") then
  906.         if game:GetService("Workspace").FilteringEnabled == true then
  907.             warn("FE is Enabled (Filtering Enabled)")
  908.             game:GetService("StarterGui"):SetCore("SendNotification", {
  909.                 Title = "FE is Enabled";
  910.                 Text = "Filtering Enabled. Enjoy using Reviz Admin!";
  911.             })
  912.         else
  913.             warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.")
  914.             game:GetService("StarterGui"):SetCore("SendNotification", {
  915.                 Title = "FE is Disabled";
  916.                 Text = "Filtering Disabled. Consider using a different admin script.";
  917.             })
  918.         end
  919.     end
  920.     if string.sub(msg, 1, 6) == (prefix.."void ") then
  921.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  922.             lplayer.Character.Humanoid.Name = 1
  923.             local l = lplayer.Character["1"]:Clone()
  924.             l.Parent = lplayer.Character
  925.             l.Name = "Humanoid"
  926.             wait(0.1)
  927.             lplayer.Character["1"]:Destroy()
  928.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  929.             lplayer.Character.Animate.Disabled = true
  930.             wait(0.1)
  931.             lplayer.Character.Animate.Disabled = false
  932.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  933.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  934.             lplayer.Character.Humanoid:EquipTool(v)
  935.             end
  936.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  937.             wait(0.2)
  938.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  939.             wait(0.6)
  940.             lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(999999999999999,0,999999999999999)
  941.             game:GetService("StarterGui"):SetCore("SendNotification", {
  942.             Title = "Tools needed!";
  943.             Text = "You need a tool in your backpack for this command!";
  944.             })
  945.         end
  946.     end
  947.     if string.sub(msg, 1, 7) == (prefix.."noclip") then
  948.         noclip = true
  949.         game:GetService("StarterGui"):SetCore("SendNotification", {
  950.         Title = "Noclip enabled";
  951.         Text = "Type ;clip to disable";
  952.         })
  953.     end
  954.     if string.sub(msg, 1, 5) == (prefix.."clip") then
  955.         noclip = false
  956.         game:GetService("StarterGui"):SetCore("SendNotification", {
  957.         Title = "Noclip disabled";
  958.         Text = "Type ;noclip to enable";
  959.         })
  960.     end
  961.     if string.sub(msg, 1, 7) == (prefix.."speed ") then
  962.         lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 8))
  963.     end
  964.     if string.sub(msg, 1, 4) == (prefix.."ws ") then
  965.         lplayer.Character.Humanoid.WalkSpeed = (string.sub(msg, 5))
  966.     end
  967.     if string.sub(msg, 1, 11) == (prefix.."hipheight ") then
  968.         lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 12))
  969.     end
  970.     if string.sub(msg, 1, 4) == (prefix.."hh ") then
  971.         lplayer.Character.Humanoid.HipHeight = (string.sub(msg, 5))
  972.     end
  973.     if string.sub(msg, 1, 11) == (prefix.."jumppower ") then
  974.         lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 12))
  975.     end
  976.     if string.sub(msg, 1, 4) == (prefix.."jp ") then
  977.         lplayer.Character.Humanoid.JumpPower = (string.sub(msg, 5))
  978.     end
  979.     if string.sub(msg, 1, 8) == (prefix.."default") then
  980.         lplayer.Character.Humanoid.JumpPower = 50
  981.         lplayer.Character.Humanoid.WalkSpeed = 16
  982.         lplayer.Character.Humanoid.HipHeight = 0
  983.     end
  984.     if string.sub(msg, 1, 7) == (prefix.."annoy ") then
  985.         for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  986.             annoying = true
  987.             annplr = v
  988.         end
  989.     end
  990.     if string.sub(msg, 1, 8) == (prefix.."unannoy") then
  991.         annoying = false
  992.     end
  993.     if string.sub(msg, 1, 10) == (prefix.."headwalk ") then
  994.         for i,v in pairs(GetPlayer(string.sub(msg, 11))) do
  995.             hwalk = true
  996.             hdwplr = v
  997.         end
  998.     end
  999.     if string.sub(msg, 1, 11) == (prefix.."unheadwalk") then
  1000.         hwalk = false
  1001.     end
  1002.     if string.sub(msg, 1, 8) == (prefix.."nolimbs") then
  1003.         lplayer.Character["Left Leg"]:Destroy()
  1004.         lplayer.Character["Left Arm"]:Destroy()
  1005.         lplayer.Character["Right Leg"]:Destroy()
  1006.         lplayer.Character["Right Arm"]:Destroy()
  1007.     end
  1008.     if string.sub(msg, 1, 4) == (prefix.."god") then
  1009.         lplayer.Character.Humanoid.Name = 1
  1010.         local l = lplayer.Character["1"]:Clone()
  1011.         l.Parent = lplayer.Character
  1012.         l.Name = "Humanoid"
  1013.         wait(0.1)
  1014.         lplayer.Character["1"]:Destroy()
  1015.         game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1016.         lplayer.Character.Animate.Disabled = true
  1017.         wait(0.1)
  1018.         lplayer.Character.Animate.Disabled = false
  1019.         lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1020.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1021.         Title = "FE Godmode enabled";
  1022.         Text = "Use ;grespawn or ;respawn to remove";
  1023.         })
  1024.     end
  1025.     if string.sub(msg, 1, 9) == (prefix.."drophats") then
  1026.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1027.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  1028.                 v.Parent = workspace
  1029.             end
  1030.         end
  1031.     end
  1032.     if string.sub(msg, 1, 9) == (prefix.."droptool") then
  1033.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1034.             if (v:IsA("Tool")) then
  1035.                 v.Parent = workspace
  1036.             end
  1037.         end
  1038.     end
  1039.     if string.sub(msg, 1, 10) == (prefix.."loopdhats") then
  1040.         droppinghats = true
  1041.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1042.         Title = "Loop Drop Enabled";
  1043.         Text = "Type ;unloopdhats to disable";
  1044.         })
  1045.     end
  1046.     if string.sub(msg, 1, 12) == (prefix.."unloopdhats") then
  1047.         droppinghats = false
  1048.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1049.         Title = "Loop Drop Disabled";
  1050.         Text = "Type ;loopdhats to enable.";
  1051.         })
  1052.     end
  1053.     if string.sub(msg, 1, 10) == (prefix.."loopdtool") then
  1054.         droppingtools = true
  1055.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1056.         Title = "Loop Drop Enabled";
  1057.         Text = "Type ;unloopdtool to disable";
  1058.         })
  1059.     end
  1060.     if string.sub(msg, 1, 12) == (prefix.."unloopdtool") then
  1061.         droppingtools = false
  1062.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1063.         Title = "Loop Drop Disabled";
  1064.         Text = "Type ;loopdtool to enable.";
  1065.         })
  1066.     end
  1067.     if string.sub(msg, 1, 10) == (prefix.."invisible") then -- Credit to Timeless
  1068.         Local = game:GetService('Players').LocalPlayer
  1069.         Char  = Local.Character
  1070.         touched,tpdback = false, false
  1071.         box = Instance.new('Part',workspace)
  1072.         box.Anchored = true
  1073.         box.CanCollide = true
  1074.         box.Size = Vector3.new(10,1,10)
  1075.         box.Position = Vector3.new(0,10000,0)
  1076.         box.Touched:connect(function(part)
  1077.             if (part.Parent.Name == Local.Name) then
  1078.                 if touched == false then
  1079.                     touched = true
  1080.                     function apply()
  1081.                         if script.Disabled ~= true then
  1082.                             no = Char.HumanoidRootPart:Clone()
  1083.                             wait(.25)
  1084.                             Char.HumanoidRootPart:Destroy()
  1085.                             no.Parent = Char
  1086.                             Char:MoveTo(loc)
  1087.                             touched = false
  1088.                         end end
  1089.                     if Char then
  1090.                         apply()
  1091.                     end
  1092.                 end
  1093.             end
  1094.         end)
  1095.         repeat wait() until Char
  1096.         loc = Char.HumanoidRootPart.Position
  1097.         Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  1098.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1099.         Title = "Invisibility enabled!";
  1100.         Text = "Reset or use ;respawn to remove.";
  1101.         })
  1102.     end
  1103.     if string.sub(msg, 1, 6) == (prefix.."view ") then
  1104.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1105.             if game:GetService("Players")[v.Name].Character.Humanoid then
  1106.                 game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Humanoid
  1107.             else
  1108.                 game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
  1109.             end
  1110.         end
  1111.     end
  1112.     if string.sub(msg, 1, 7) == (prefix.."unview") then
  1113.         if lplayer.Character.Humanoid then
  1114.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
  1115.         else
  1116.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
  1117.         end
  1118.     end
  1119.     if string.sub(msg, 1, 6) == (prefix.."goto ") then
  1120.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1121.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1122.         end
  1123.     end
  1124.     if string.sub(msg, 1, 4) == (prefix.."fly") then
  1125.     repeat wait() until lplayer and lplayer.Character and lplayer.Character:FindFirstChild('HumanoidRootPart') and lplayer.Character:FindFirstChild('Humanoid')
  1126.     repeat wait() until Mouse
  1127.    
  1128.     local T = lplayer.Character.HumanoidRootPart
  1129.     local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1130.     local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1131.     local SPEED = speedget
  1132.    
  1133.     local function fly()
  1134.         flying = true
  1135.         local BG = Instance.new('BodyGyro', T)
  1136.         local BV = Instance.new('BodyVelocity', T)
  1137.         BG.P = 9e4
  1138.         BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1139.         BG.cframe = T.CFrame
  1140.         BV.velocity = Vector3.new(0, 0.1, 0)
  1141.         BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1142.         spawn(function()
  1143.         repeat wait()
  1144.         lplayer.Character.Humanoid.PlatformStand = true
  1145.         if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  1146.         SPEED = 50
  1147.         elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  1148.         SPEED = 0
  1149.         end
  1150.         if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  1151.         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
  1152.         lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  1153.         elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  1154.         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
  1155.         else
  1156.         BV.velocity = Vector3.new(0, 0.1, 0)
  1157.         end
  1158.         BG.cframe = workspace.CurrentCamera.CoordinateFrame
  1159.                 until not flying
  1160.                 CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1161.                 lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1162.                 SPEED = 0
  1163.                 BG:destroy()
  1164.                 BV:destroy()
  1165.                 lplayer.Character.Humanoid.PlatformStand = false
  1166.             end)
  1167.         end
  1168.     Mouse.KeyDown:connect(function(KEY)
  1169.         if KEY:lower() == 'w' then
  1170.             CONTROL.F = speedfly
  1171.         elseif KEY:lower() == 's' then
  1172.             CONTROL.B = -speedfly
  1173.         elseif KEY:lower() == 'a' then
  1174.             CONTROL.L = -speedfly
  1175.         elseif KEY:lower() == 'd' then
  1176.             CONTROL.R = speedfly
  1177.         end
  1178.     end)
  1179.     Mouse.KeyUp:connect(function(KEY)
  1180.         if KEY:lower() == 'w' then
  1181.             CONTROL.F = 0
  1182.         elseif KEY:lower() == 's' then
  1183.             CONTROL.B = 0
  1184.         elseif KEY:lower() == 'a' then
  1185.             CONTROL.L = 0
  1186.         elseif KEY:lower() == 'd' then
  1187.             CONTROL.R = 0
  1188.         end
  1189.     end)
  1190.     fly()
  1191.     end
  1192.     if string.sub(msg, 1, 6) == (prefix.."unfly") then
  1193.         flying = false
  1194.         lplayer.Character.Humanoid.PlatformStand = false
  1195.     end
  1196.     if string.sub(msg, 1, 6) == (prefix.."chat ") then
  1197.         game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer((string.sub(msg, 7)), "All")
  1198.     end
  1199.     if string.sub(msg, 1, 6) == (prefix.."spam ") then
  1200.         spamtext = (string.sub(msg, 7))
  1201.         spamming = true
  1202.     end
  1203.     if string.sub(msg, 1, 7) == (prefix.."unspam") then
  1204.         spamming = false
  1205.     end
  1206.     if string.sub(msg, 1, 10) == (prefix.."spamwait ") then
  1207.         spamdelay = (string.sub(msg, 11))
  1208.     end
  1209.     if string.sub(msg, 1, 8) == (prefix.."pmspam ") then
  1210.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  1211.             pmspammed = v.Name
  1212.             spammingpm = true
  1213.         end
  1214.     end
  1215.     if string.sub(msg, 1, 9) == (prefix.."unpmspam") then
  1216.         spammingpm = false
  1217.     end
  1218.     if string.sub(msg, 1, 9) == (prefix.."cfreeze ") then
  1219.         for i,v in pairs(GetPlayer(string.sub(msg, 10))) do
  1220.             v.Character["Left Leg"].Anchored = true
  1221.             v.Character["Left Arm"].Anchored = true
  1222.             v.Character["Right Leg"].Anchored = true
  1223.             v.Character["Right Arm"].Anchored = true
  1224.             v.Character.Torso.Anchored = true
  1225.             v.Character.Head.Anchored = true
  1226.         end
  1227.     end
  1228.     if string.sub(msg, 1, 11) == (prefix.."uncfreeze ") then
  1229.         for i,v in pairs(GetPlayer(string.sub(msg, 12))) do if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  1230.                 v.Parent = workspace
  1231.             end
  1232.         end
  1233.     end
  1234.     if string.sub(msg, 1, 9) == (prefix.."droptool") then
  1235.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1236.             if (v:IsA("Tool")) then
  1237.                 v.Parent = workspace
  1238.             end
  1239.         end
  1240.     end
  1241.     if string.sub(msg, 1, 10) == (prefix.."loopdhats") then
  1242.         droppinghats = true
  1243.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1244.         Title = "Loop Drop Enabled";
  1245.         Text = "Type ;unloopdhats to disable";
  1246.         })
  1247.     end
  1248.     if string.sub(msg, 1, 12) == (prefix.."unloopdhats") then
  1249.         droppinghats = false
  1250.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1251.         Title = "Loop Drop Disabled";
  1252.         Text = "Type ;loopdhats to enable.";
  1253.         })
  1254.     end
  1255.     if string.sub(msg, 1, 10) == (prefix.."loopdtool") then
  1256.         droppingtools = true
  1257.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1258.         Title = "Loop Drop Enabled";
  1259.         Text = "Type ;unloopdtool to disable";
  1260.         })
  1261.     end
  1262.     if string.sub(msg, 1, 12) == (prefix.."unloopdtool") then
  1263.         droppingtools = false
  1264.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1265.         Title = "Loop Drop Disabled";
  1266.         Text = "Type ;loopdtool to enable.";
  1267.         })
  1268.     end
  1269.     if string.sub(msg, 1, 10) == (prefix.."invisible") then -- Credit to Timeless
  1270.         Local = game:GetService('Players').LocalPlayer
  1271.         Char  = Local.Character
  1272.         touched,tpdback = false, false
  1273.         box = Instance.new('Part',workspace)
  1274.         box.Anchored = true
  1275.         box.CanCollide = true
  1276.         box.Size = Vector3.new(10,1,10)
  1277.         box.Position = Vector3.new(0,10000,0)
  1278.         box.Touched:connect(function(part)
  1279.             if (part.Parent.Name == Local.Name) then
  1280.                 if touched == false then
  1281.                     touched = true
  1282.                     function apply()
  1283.                         if script.Disabled ~= true then
  1284.                             no = Char.HumanoidRootPart:Clone()
  1285.                             wait(.25)
  1286.                             Char.HumanoidRootPart:Destroy()
  1287.                             no.Parent = Char
  1288.                             Char:MoveTo(loc)
  1289.                             touched = false
  1290.                         end end
  1291.                     if Char then
  1292.                         apply()
  1293.                     end
  1294.                 end
  1295.             end
  1296.         end)
  1297.         repeat wait() until Char
  1298.         loc = Char.HumanoidRootPart.Position
  1299.         Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  1300.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1301.         Title = "Invisibility enabled!";
  1302.         Text = "Reset or use ;respawn to remove.";
  1303.         })
  1304.     end
  1305.     if string.sub(msg, 1, 6) == (prefix.."view ") then
  1306.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1307.             if game:GetService("Players")[v.Name].Character.Humanoid then
  1308.                 game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Humanoid
  1309.             else
  1310.                 game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
  1311.             end
  1312.         end
  1313.     end
  1314.     if string.sub(msg, 1, 7) == (prefix.."unview") then
  1315.         if lplayer.Character.Humanoid then
  1316.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
  1317.         else
  1318.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
  1319.         end
  1320.     end
  1321.     if string.sub(msg, 1, 6) == (prefix.."goto ") then
  1322.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1323.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1324.         end
  1325.     end
  1326.     if string.sub(msg, 1, 4) == (prefix.."fly") then
  1327.     repeat wait() until lplayer and lplayer.Character and lplayer.Character:FindFirstChild('HumanoidRootPart') and lplayer.Character:FindFirstChild('Humanoid')
  1328.     repeat wait() until Mouse
  1329.    
  1330.     local T = lplayer.Character.HumanoidRootPart
  1331.     local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1332.     local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1333.     local SPEED = speedget
  1334.    
  1335.     local function fly()
  1336.         flying = true
  1337.         local BG = Instance.new('BodyGyro', T)
  1338.         local BV = Instance.new('BodyVelocity', T)
  1339.         BG.P = 9e4
  1340.         BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1341.         BG.cframe = T.CFrame
  1342.         BV.velocity = Vector3.new(0, 0.1, 0)
  1343.         BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1344.         spawn(function()
  1345.         repeat wait()
  1346.         lplayer.Character.Humanoid.PlatformStand = true
  1347.         if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  1348.         SPEED = 50
  1349.         elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  1350.         SPEED = 0
  1351.         end
  1352.         if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  1353.         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
  1354.         lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  1355.         elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  1356.         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
  1357.         else
  1358.         BV.velocity = Vector3.new(0, 0.1, 0)
  1359.         end
  1360.         BG.cframe = workspace.CurrentCamera.CoordinateFrame
  1361.                 until not flying
  1362.                 CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1363.                 lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1364.                 SPEED = 0
  1365.                 BG:destroy()
  1366.                 BV:destroy()
  1367.                 lplayer.Character.Humanoid.PlatformStand = false
  1368.             end)
  1369.         end
  1370.     Mouse.KeyDown:connect(function(KEY)
  1371.         if KEY:lower() == 'w' then
  1372.             CONTROL.F = speedfly
  1373.         elseif KEY:lower() == 's' then
  1374.             CONTROL.B = -speedfly
  1375.         elseif KEY:lower() == 'a' then
  1376.             CONTROL.L = -speedfly
  1377.         elseif KEY:lower() == 'd' then
  1378.             CONTROL.R = speedfly
  1379.         end
  1380.     end)
  1381.     Mouse.KeyUp:connect(function(KEY)
  1382.         if KEY:lower() == 'w' then
  1383.             CONTROL.F = 0
  1384.         elseif KEY:lower() == 's' then
  1385.             CONTROL.B = 0
  1386.         elseif KEY:lower() == 'a' then
  1387.             CONTROL.L = 0
  1388.         elseif KEY:lower() == 'd' then
  1389.             CONTROL.R = 0
  1390.         end
  1391.     end)
  1392.     fly()
  1393.     end
  1394.     if string.sub(msg, 1, 6) == (prefix.."unfly") then
  1395.         flying = false
  1396.         lplayer.Character.Humanoid.PlatformStand = false
  1397.     end
  1398.     if string.sub(msg, 1, 6) == (prefix.."chat ") then
  1399.         game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer((string.sub(msg, 7)), "All")
  1400.     end
  1401.     if string.sub(msg, 1, 6) == (prefix.."spam ") then
  1402.         spamtext = (string.sub(msg, 7))
  1403.         spamming = true
  1404.     end
  1405.     if string.sub(msg, 1, 7) == (prefix.."unspam") then
  1406.         spamming = false
  1407.     end
  1408.     if string.sub(msg, 1, 10) == (prefix.."spamwait ") then
  1409.         spamdelay = (string.sub(msg, 11))
  1410.     end
  1411.     if string.sub(msg, 1, 8) == (prefix.."pmspam ") then
  1412.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  1413.             pmspammed = v.Name
  1414.             spammingpm = true
  1415.         end
  1416.     end
  1417.     if string.sub(msg, 1, 9) == (prefix.."unpmspam") then
  1418.         spammingpm = false
  1419.     end
  1420.     if string.sub(msg, 1, 9) == (prefix.."cfreeze ") then
  1421.         for i,v in pairs(GetPlayer(string.sub(msg, 10))) do
  1422.             v.Character["Left Leg"].Anchored = true
  1423.             v.Character["Left Arm"].Anchored = true
  1424.             v.Character["Right Leg"].Anchored = true
  1425.             v.Character["Right Arm"].Anchored = true
  1426.             v.Character.Torso.Anchored = true
  1427.             v.Character.Head.Anchored = true
  1428.         end
  1429.     end
  1430.     if string.sub(msg, 1, 11) == (prefix.."uncfreeze ") then
  1431.         for i,v in pairs(GetPlayer(string.sub(msg, 12))) do
  1432.             v.Character["Left Leg"].Anchored = false
  1433.             v.Character["Left Arm"].Anchored = false
  1434.             v.Character["Right Leg"].Anchored = false
  1435.             v.Character["Right Arm"].Anchored = false
  1436.             v.Character.Torso.Anchored = false
  1437.             v.Character.Head.Anchored = false
  1438.         end
  1439.     end
  1440.     if string.sub(msg, 1, 9) == (prefix.."unlockws") then
  1441.         local a = game:GetService("Workspace"):getChildren()
  1442.         for i = 1, #a do
  1443.             if a[i].className == "Part" then
  1444.                 a[i].Locked = false
  1445.             elseif a[i].className == "Model" then
  1446.                 local r = a[i]:getChildren()
  1447.                 for i = 1, #r do
  1448.                     if r[i].className == "Part" then
  1449.                     r[i].Locked = false
  1450.                     end
  1451.                 end
  1452.             end
  1453.         end
  1454.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1455.         Title = "Success!";
  1456.         Text = "Workspace unlocked. Use ;lockws to lock.";
  1457.         })
  1458.     end
  1459.     if string.sub(msg, 1, 7) == (prefix.."lockws") then
  1460.         local a = game:GetService("Workspace"):getChildren()
  1461.         for i = 1, #a do
  1462.             if a[i].className == "Part" then
  1463.                 a[i].Locked = true
  1464.             elseif a[i].className == "Model" then
  1465.                 local r = a[i]:getChildren()
  1466.                 for i = 1, #r do
  1467.                     if r[i].className == "Part" then
  1468.                     r[i].Locked = true
  1469.                     end
  1470.                 end
  1471.             end
  1472.         end
  1473.     end
  1474.     if string.sub(msg, 1, 7) == (prefix.."btools") then
  1475.         local Clone_T = Instance.new("HopperBin",lplayer.Backpack)
  1476.         Clone_T.BinType = "Clone"
  1477.         local Destruct = Instance.new("HopperBin",lplayer.Backpack)
  1478.         Destruct.BinType = "Hammer"
  1479.         local Hold_T = Instance.new("HopperBin",lplayer.Backpack)
  1480.         Hold_T.BinType = "Grab"
  1481.     end
  1482.     if string.sub(msg, 1, 7) == (prefix.."pstand") then
  1483.         lplayer.Character.Humanoid.PlatformStand = true
  1484.     end
  1485.     if string.sub(msg, 1, 9) == (prefix.."unpstand") then
  1486.         lplayer.Character.Humanoid.PlatformStand = false
  1487.     end
  1488.     if string.sub(msg, 1, 10) == (prefix.."blockhead") then
  1489.         lplayer.Character.Head.Mesh:Destroy()
  1490.     end
  1491.     if string.sub(msg, 1, 4) == (prefix.."sit") then
  1492.         lplayer.Character.Humanoid.Sit = true
  1493.     end
  1494.     if string.sub(msg, 1, 10) == (prefix.."bringobj ") then
  1495.         local function bringobjw()
  1496.         for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
  1497.         if obj.Name == (string.sub(msg, 11)) then
  1498.         obj.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  1499.         obj.CanCollide = false
  1500.         obj.Transparency = 0.7
  1501.         wait()
  1502.         obj.CFrame = lplayer.Character["Left Leg"].CFrame
  1503.         wait()
  1504.         obj.CFrame = lplayer.Character["Right Leg"].CFrame
  1505.         wait()
  1506.         obj.CFrame = lplayer.Character["Head"].CFrame
  1507.         end
  1508.         end
  1509.         end
  1510.         while wait() do
  1511.             bringobjw()
  1512.         end
  1513.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1514.         Title = "BringObj";
  1515.         Text = "BringObj enabled.";
  1516.         })
  1517.     end
  1518.     if string.sub(msg, 1, 7) == (prefix.."wsvis ") then
  1519.         vis = (string.sub(msg, 8))
  1520.         local a = game:GetService("Workspace"):GetDescendants()
  1521.         for i = 1, #a do
  1522.             if a[i].className == "Part" then
  1523.                 a[i].Transparency = vis
  1524.             elseif a[i].className == "Model" then
  1525.                 local r = a[i]:getChildren()
  1526.                 for i = 1, #r do
  1527.                     if r[i].className == "Part" then
  1528.                     r[i].Transparency = vis
  1529.                     end
  1530.                 end
  1531.             end
  1532.         end
  1533.     end
  1534.     if string.sub(msg, 1, 11) == (prefix.."hypertotal") then
  1535.         loadstring(game:GetObjects("rbxassetid://1255063809")[1].Source)()
  1536.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1537.         Title = "Success!";
  1538.         Text = "HyperTotal GUI Loaded!";
  1539.         })
  1540.     end
  1541.     if string.sub(msg, 1, 5) == (prefix.."cmds") then
  1542.         CMDSFRAME.Visible = true
  1543.     end
  1544.     if string.sub(msg, 1, 10) == (prefix.."rmeshhats") then
  1545.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1546.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  1547.                 v.Handle.Mesh:Destroy()
  1548.             end
  1549.         end
  1550.     end
  1551.     if string.sub(msg, 1, 10) == (prefix.."blockhats") then
  1552.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1553.             if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  1554.                 v.Handle.Mesh:Destroy()
  1555.             end
  1556.         end
  1557.     end
  1558.     if string.sub(msg, 1, 10) == (prefix.."rmeshtool") then
  1559.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1560.             if (v:IsA("Tool")) then
  1561.                 v.Handle.Mesh:Destroy()
  1562.             end
  1563.         end
  1564.     end
  1565.     if string.sub(msg, 1, 10) == (prefix.."blocktool") then
  1566.         for i,v in pairs(lplayer.Character:GetChildren()) do
  1567.             if (v:IsA("Tool")) then
  1568.                 v.Handle.Mesh:Destroy()
  1569.             end
  1570.         end
  1571.     end
  1572.     if string.sub(msg, 1, 8) == (prefix.."spinner") then
  1573.         local p = Instance.new("RocketPropulsion")
  1574.         p.Parent = lplayer.Character.HumanoidRootPart
  1575.         p.Name = "Spinner"
  1576.         p.Target = lplayer.Character["Left Arm"]
  1577.         p:Fire()
  1578.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1579.         Title = "Spinner enabled";
  1580.         Text = "Type ;nospinner to disable.";
  1581.         })
  1582.     end
  1583.     if string.sub(msg, 1, 10) == (prefix.."nospinner") then
  1584.         lplayer.Character.HumanoidRootPart.Spinner:Destroy()
  1585.     end
  1586.     if string.sub(msg, 1, 7) == (prefix.."reachd") then
  1587.         for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
  1588.             if v:isA("Tool") then
  1589.                 local a = Instance.new("SelectionBox",v.Handle)
  1590.                 a.Adornee = v.Handle
  1591.                 v.Handle.Size = Vector3.new(0.5,0.5,60)
  1592.                 v.GripPos = Vector3.new(0,0,0)
  1593.                 lplayer.Character.Humanoid:UnequipTools()
  1594.             end
  1595.         end
  1596.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1597.         Title = "Reach applied!";
  1598.         Text = "Applied to equipped sword. Use ;noreach to disable.";
  1599.         })
  1600.     end
  1601.     if string.sub(msg, 1, 7) == (prefix.."reach ") then
  1602.         for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
  1603.             if v:isA("Tool") then
  1604.                 handleSize = v.Handle.Size
  1605.                 wait()
  1606.                 local a = Instance.new("SelectionBox",v.Handle)
  1607.                 a.Name = "a"
  1608.                 a.Adornee = v.Handle
  1609.                 v.Handle.Size = Vector3.new(0.5,0.5,(string.sub(msg, 8)))
  1610.                 v.GripPos = Vector3.new(0,0,0)
  1611.                 lplayer.Character.Humanoid:UnequipTools()
  1612.             end
  1613.         end
  1614.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1615.         Title = "Reach applied!";
  1616.         Text = "Applied to equipped sword. Use ;noreach to disable.";
  1617.         })
  1618.     end
  1619.     if string.sub(msg, 1, 8) == (prefix.."noreach") then
  1620.         for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
  1621.             if v:isA("Tool") then
  1622.                 v.Handle.a:Destroy()
  1623.                 v.Handle.Size = handleSize
  1624.             end
  1625.         end
  1626.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1627.         Title = "Reach removed!";
  1628.         Text = "Removed reach from equipped sword.";
  1629.         })
  1630.     end
  1631.     if string.sub(msg, 1, 7) == (prefix.."rkill ") then
  1632.         for i,v in pairs(GetPlayer(string.sub(msg, 8)))do
  1633.             lplayer.Character.Humanoid.Name = 1
  1634.             local l = lplayer.Character["1"]:Clone()
  1635.             l.Parent = lplayer.Character
  1636.             l.Name = "Humanoid"
  1637.             wait(0.1)
  1638.             lplayer.Character["1"]:Destroy()
  1639.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1640.             lplayer.Character.Animate.Disabled = true
  1641.             wait(0.1)
  1642.             lplayer.Character.Animate.Disabled = false
  1643.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1644.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1645.             lplayer.Character.Humanoid:EquipTool(v)
  1646.             end
  1647.             wait(0.1)
  1648.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1649.             wait(0.2)
  1650.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1651.             wait(0.5)
  1652.             lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
  1653.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1654.             Title = "Tools needed!";
  1655.             Text = "You need a tool in your backpack for this command!";
  1656.             })
  1657.         end
  1658.     end
  1659.     if string.sub(msg, 1, 7) == (prefix.."tp me ") then
  1660.         for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  1661.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1662.         end
  1663.     end
  1664.     if string.sub(msg, 1, 8) == (prefix.."cbring ") then
  1665.         if (string.sub(msg, 9)) == "all" or (string.sub(msg, 9)) == "All" or (string.sub(msg, 9)) == "ALL" then
  1666.             cbringall = true
  1667.         else
  1668.             for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  1669.                 brplr = v.Name
  1670.             end
  1671.         end
  1672.         cbring = true
  1673.     end
  1674.     if string.sub(msg, 1, 9) == (prefix.."uncbring") then
  1675.         cbring = false
  1676.         cbringall = false
  1677.     end
  1678.     if string.sub(msg, 1, 6) == (prefix.."swap ") then
  1679.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1680.             local NOWPLR = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1681.             local NOW = lplayer.Character.HumanoidRootPart.CFrame
  1682.             lplayer.Character.Humanoid.Name = 1
  1683.             local l = lplayer.Character["1"]:Clone()
  1684.             l.Parent = lplayer.Character
  1685.             l.Name = "Humanoid"
  1686.             wait(0.1)
  1687.             lplayer.Character["1"]:Destroy()
  1688.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1689.             lplayer.Character.Animate.Disabled = true
  1690.             wait(0.1)
  1691.             lplayer.Character.Animate.Disabled = false
  1692.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1693.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1694.             lplayer.Character.Humanoid:EquipTool(v)
  1695.             end
  1696.             local function tp(player,player2)
  1697.             local char1,char2=player.Character,player2.Character
  1698.             if char1 and char2 then
  1699.             char1:MoveTo(char2.Head.Position)
  1700.             end
  1701.             end
  1702.             wait(0.1)
  1703.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1704.             wait(0.2)
  1705.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  1706.             wait(0.5)
  1707.             lplayer.Character.HumanoidRootPart.CFrame = NOW
  1708.             wait(0.6)
  1709.             tp(lplayer, game:GetService("Players")[v.Name])
  1710.             wait(0.4)
  1711.             lplayer.Character.HumanoidRootPart.CFrame = NOWPLR
  1712.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1713.             Title = "Tools needed!";
  1714.             Text = "You need a tool in your backpack for this command!";
  1715.             })
  1716.         end
  1717.     end
  1718.     if string.sub(msg, 1, 8) == (prefix.."glitch ") then
  1719.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  1720.             lplayer.Character.Humanoid.Name = 1
  1721.             local l = lplayer.Character["1"]:Clone()
  1722.             l.Parent = lplayer.Character
  1723.             l.Name = "Humanoid"
  1724.             wait(0.1)
  1725.             lplayer.Character["1"]:Destroy()
  1726.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  1727.             lplayer.Character.Animate.Disabled = true
  1728.             wait(0.1)
  1729.             lplayer.Character.Animate.Disabled = false
  1730.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  1731.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  1732.             lplayer.Character.Humanoid:EquipTool(v)
  1733.             end
  1734.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  1735.             wait(0.3)
  1736.             lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  1737.             wait(0.4)
  1738.             b = Instance.new("BodyForce")
  1739.             b.Parent = lplayer.Character.HumanoidRootPart
  1740.             b.Name = "Glitch"
  1741.             b.Force = Vector3.new(100000000,5000,0)
  1742.             game:GetService("StarterGui"):SetCore("SendNotification", {
  1743.             Title = "Tools needed!";
  1744.             Text = "You need a tool in your backpack for this command!";
  1745.             })
  1746.         end
  1747.     end
  1748.     if string.sub(msg, 1, 9) == (prefix.."unglitch") then
  1749.         lplayer.Character.HumanoidRootPart.Glitch:Destroy()
  1750.         lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(10000,0,10000)
  1751.         b = Instance.new("BodyForce")
  1752.         b.Parent = lplayer.Character.HumanoidRootPart
  1753.         b.Name = "unGlitch"
  1754.         b.Force = Vector3.new(0,-5000000,0)
  1755.         wait(2)
  1756.         lplayer.Character.HumanoidRootPart.unGlitch:Destroy()
  1757.     end
  1758.     if string.sub(msg, 1, 9) == (prefix.."grespawn") then
  1759.         lplayer.Character.Humanoid.Health = 0
  1760.         wait(1)
  1761.         lplayer.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
  1762.         lplayer.Character.Torso.CFrame = CFrame.new(1000000,0,1000000)
  1763.     end
  1764.     if string.sub(msg, 1, 9) == (prefix.."explorer") then
  1765.         loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
  1766.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1767.         Title = "Success!";
  1768.         Text = "DEX Explorer has loaded.";
  1769.         })
  1770.     end
  1771.     if string.sub(msg, 1, 6) == (prefix.."anim ") then
  1772.         local Anim = Instance.new("Animation")
  1773.         Anim.AnimationId = "rbxassetid://"..(string.sub(msg, 7))
  1774.         local track = lplayer.Character.Humanoid:LoadAnimation(Anim)
  1775.         track:Play(.1, 1, 1)
  1776.     end
  1777.     if string.sub(msg, 1, 8) == (prefix.."animgui") then
  1778.         loadstring(game:GetObjects("rbxassetid://1202558084")[1].Source)()
  1779.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1780.         Title = "Success!";
  1781.         Text = "Energize Animations GUI has loaded.";
  1782.         })
  1783.     end
  1784.     if string.sub(msg, 1, 8) == (prefix.."savepos") then
  1785.         saved = lplayer.Character.HumanoidRootPart.CFrame
  1786.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1787.         Title = "Position Saved";
  1788.         Text = "Use ;loadpos to return to saved position.";
  1789.         })
  1790.     end
  1791.     if string.sub(msg, 1, 8) == (prefix.."loadpos") then
  1792.         lplayer.Character.HumanoidRootPart.CFrame = saved
  1793.     end
  1794.     if string.sub(msg, 1, 6) == (prefix.."bang ") then
  1795.         for i,v in pairs(GetPlayer(string.sub(msg, 7))) do
  1796.             local Anim2 = Instance.new("Animation")
  1797.             Anim2.AnimationId = "rbxassetid://148840371"
  1798.             local track2 = lplayer.Character.Humanoid:LoadAnimation(Anim2)
  1799.             track2:Play(.1, 1, 1)
  1800.             bplrr = v.Name
  1801.             banpl = true
  1802.         end
  1803.     end
  1804.     if string.sub(msg, 1, 7) == (prefix.."unbang") then
  1805.         banpl = false
  1806.     end
  1807.     if string.sub(msg, 1, 10) == (prefix.."bringmod ") then
  1808.         local function bringmodw()
  1809.         for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
  1810.         if obj.Name == (string.sub(msg, 11)) then
  1811.         for i,ch in pairs(obj:GetDescendants()) do
  1812.         if (ch:IsA("BasePart")) then
  1813.         ch.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  1814.         ch.CanCollide = false
  1815.         ch.Transparency = 0.7
  1816.         wait()
  1817.         ch.CFrame = lplayer.Character["Left Leg"].CFrame
  1818.         wait()
  1819.         ch.CFrame = lplayer.Character["Right Leg"].CFrame
  1820.         wait()
  1821.         ch.CFrame = lplayer.Character["Head"].CFrame
  1822.         end
  1823.         end
  1824.         end
  1825.         end
  1826.         end
  1827.         while wait() do
  1828.             bringmodw()
  1829.         end
  1830.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1831.         Title = "BringMod";
  1832.         Text = "BringMod enabled.";
  1833.         })
  1834.     end
  1835.     if string.sub(msg, 1, 8) == (prefix.."respawn") then
  1836.         local mod = Instance.new('Model', workspace) mod.Name = 're '..lplayer.Name
  1837.         local hum = Instance.new('Humanoid', mod)
  1838.         local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
  1839.         lplayer.Character = mod
  1840.     end
  1841.     if string.sub(msg, 1, 9) == (prefix.."shutdown") then
  1842.         game:GetService'RunService'.Stepped:Connect(function()
  1843.         pcall(function()
  1844.             for i,v in pairs(game:GetService'Players':GetPlayers()) do
  1845.                 if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  1846.                     for _,x in pairs(v.Character.Head:GetChildren()) do
  1847.                         if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true) end
  1848.                     end
  1849.                 end
  1850.             end
  1851.         end)
  1852.         end)
  1853.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1854.         Title = "Attempting Shutdown";
  1855.         Text = "Shutdown Attempt has begun.";
  1856.         })
  1857.     end
  1858.     if string.sub(msg, 1, 8) == (prefix.."delobj ") then
  1859.         objtodel = (string.sub(msg, 9))
  1860.         for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  1861.             if v.Name == objtodel then
  1862.                 v:Destroy()
  1863.             end
  1864.         end
  1865.     end
  1866.     if string.sub(msg, 1, 8) == (prefix.."getplrs") then
  1867.         for i,v in pairs(game:GetService("Players"):GetPlayers())do
  1868.             print(v)
  1869.         end
  1870.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1871.         Title = "Printed";
  1872.         Text = "Players have been printed to console. (F9)";
  1873.         })
  1874.     end
  1875.     if string.sub(msg, 1, 9) == (prefix.."deldecal") then
  1876.         for i,v in pairs(game:GetService("Workspace"):GetDescendants())do
  1877.             if (v:IsA("Decal")) then
  1878.                 v:Destroy()
  1879.             end
  1880.         end
  1881.     end
  1882.     if string.sub(msg, 1, 11) == (prefix.."opfinality") then
  1883.         loadstring(game:GetObjects("rbxassetid://1294358929")[1].Source)()
  1884.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1885.         Title = "Success!";
  1886.         Text = "OpFinality GUI has loaded.";
  1887.         })
  1888.     end
  1889.     if string.sub(msg, 1, 8) == (prefix.."remotes") then
  1890.         remotes = true
  1891.         added = true
  1892.         game.DescendantAdded:connect(function(rmt)
  1893.         if added == true then
  1894.         if remotes == true then
  1895.         if rmt:IsA("RemoteEvent") then
  1896.         print("A RemoteEvent was added!")
  1897.         print(" game." .. rmt:GetFullName() .. " | RemoteEvent")
  1898.         print(" game." .. rmt:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
  1899.         end end end
  1900.         end)
  1901.         game.DescendantAdded:connect(function(rmtfnctn)
  1902.         if added == true then
  1903.         if remotes == true then
  1904.         if rmtfnctn:IsA("RemoteFunction") then
  1905.         warn("A RemoteFunction was added!")
  1906.         warn(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction")
  1907.         print(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
  1908.         end end end
  1909.         end)
  1910.        
  1911.         game.DescendantAdded:connect(function(bndfnctn)
  1912.         if added == true then
  1913.         if binds == true then
  1914.         if bndfnctn:IsA("BindableFunction") then
  1915.         print("A BindableFunction was added!")
  1916.         print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction")
  1917.         print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
  1918.         end end end
  1919.         end)
  1920.        
  1921.         game.DescendantAdded:connect(function(bnd)
  1922.         if added == true then
  1923.         if binds == true then
  1924.         if bnd:IsA("BindableEvent") then
  1925.         warn("A BindableEvent was added!")
  1926.         warn(" game." .. bnd:GetFullName() .. " | BindableEvent")
  1927.         print(" game." .. bnd:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
  1928.         end end end
  1929.         end)
  1930.        
  1931.        
  1932.         if binds == true then
  1933.         for i,v in pairs(game:GetDescendants()) do
  1934.         if v:IsA("BindableFunction") then
  1935.         print(" game." .. v:GetFullName() .. " | BindableFunction")
  1936.         print(" game." .. v:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
  1937.         end end
  1938.         for i,v in pairs(game:GetDescendants()) do
  1939.         if v:IsA("BindableEvent") then
  1940.         warn(" game." .. v:GetFullName() .. " | BindableEvent")
  1941.         print(" game." .. v:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
  1942.         end end
  1943.         else
  1944.         print("Off")
  1945.         end
  1946.         if remotes == true then
  1947.         for i,v in pairs(game:GetDescendants()) do
  1948.         if v:IsA("RemoteFunction") then
  1949.         warn(" game." .. v:GetFullName() .. " | RemoteFunction")
  1950.         print(" game." .. v:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
  1951.         end end
  1952.         wait()
  1953.         for i,v in pairs(game:GetDescendants()) do
  1954.         if v:IsA("RemoteEvent") then
  1955.         print(" game." .. v:GetFullName() .. " | RemoteEvent")
  1956.         print(" game." .. v:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
  1957.         end end
  1958.         else
  1959.         print("Off")
  1960.         end
  1961.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1962.         Title = "Printing Remotes";
  1963.         Text = "Type ;noremotes to disable.";
  1964.         })
  1965.     end
  1966.     if string.sub(msg, 1, 10) == (prefix.."noremotes") then
  1967.         remotes = false
  1968.         added = false
  1969.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1970.         Title = "Printing Remotes Disabled";
  1971.         Text = "Type ;remotes to enable.";
  1972.         })
  1973.     end
  1974.     if string.sub(msg, 1, 10) == (prefix.."tpdefault") then
  1975.         spin = false
  1976.         followed = false
  1977.         traill = false
  1978.         noclip = false
  1979.         annoying = false
  1980.         hwalk = false
  1981.         cbringing = false
  1982.     end
  1983.     if string.sub(msg, 1, 8) == (prefix.."stopsit") then
  1984.         stopsitting = true
  1985.     end
  1986.     if string.sub(msg, 1, 6) == (prefix.."gosit") then
  1987.         stopsitting = false
  1988.     end
  1989.     if string.sub(msg, 1, 8) == (prefix.."version") then
  1990.         print(adminversion)
  1991.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1992.         Title = "Version";
  1993.         Text = adminversion;
  1994.         })
  1995.     end
  1996.     if string.sub(msg, 1, 8) == (prefix.."clicktp") then
  1997.         clickgoto = true
  1998.         game:GetService("StarterGui"):SetCore("SendNotification", {
  1999.         Title = "Click TP";
  2000.         Text = "Press E to teleport to mouse position, ;noclicktp to stop";
  2001.         })
  2002.     end
  2003.     if string.sub(msg, 1, 9) == (prefix.."clickdel") then
  2004.         clickdel = true
  2005.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2006.         Title = "Click Delete";
  2007.         Text = "Press E to delete part at mouse, ;noclickdel to stop";
  2008.         })
  2009.     end
  2010.     if string.sub(msg, 1, 11) == (prefix.."noclickdel") then
  2011.         clickdel = false
  2012.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2013.         Title = "Click Delete";
  2014.         Text = "Click delete has been disabled.";
  2015.         })
  2016.     end
  2017.     if string.sub(msg, 1, 10) == (prefix.."noclicktp") then
  2018.         clickgoto = false
  2019.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2020.         Title = "Click TP";
  2021.         Text = "Click TP has been disabled.";
  2022.         })
  2023.     end
  2024.     if string.sub(msg, 1, 8) == (prefix.."toolson") then
  2025.         gettingtools = true
  2026.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2027.         Title = "Tools Enabled";
  2028.         Text = "Automatically colleting tools dropped.";
  2029.         })
  2030.     end
  2031.     if string.sub(msg, 1, 9) == (prefix.."toolsoff") then
  2032.         gettingtools = false
  2033.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2034.         Title = "Tools Disabled";
  2035.         Text = "Click TP has been disabled.";
  2036.         })
  2037.     end
  2038.     if string.sub(msg, 1, 10) == (prefix.."delcmdbar") then
  2039.         ScreenGui:Destroy()
  2040.     end
  2041.     if string.sub(msg, 1, 6) == (prefix.."reset") then
  2042.         lplayer.Character.Head:Destroy()
  2043.     end
  2044.     if string.sub(msg, 1, 7) == (prefix.."state ") then
  2045.         statechosen = string.sub(msg, 8)
  2046.         changingstate = true
  2047.     end
  2048.     if string.sub(msg, 1, 9) == (prefix.."gravity ") then
  2049.         game:GetService("Workspace").Gravity = string.sub(msg, 10)
  2050.     end
  2051.     if string.sub(msg, 1, 10) == (prefix.."looprhats") then
  2052.         removingmeshhats = true
  2053.     end
  2054.     if string.sub(msg, 1, 12) == (prefix.."unlooprhats") then
  2055.         removingmeshhats = false
  2056.     end
  2057.     if string.sub(msg, 1, 10) == (prefix.."looprtool") then
  2058.         removingmeshtool = true
  2059.     end
  2060.     if string.sub(msg, 1, 12) == (prefix.."unlooprtool") then
  2061.         removingmeshtool = false
  2062.     end
  2063.     if string.sub(msg, 1, 10) == (prefix.."givetool ") then
  2064.         for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do
  2065.             if v:IsA("Tool") then
  2066.                 for i,player in pairs(GetPlayer(string.sub(msg, 11))) do
  2067.                     v.Parent = player.Character
  2068.                 end
  2069.             end
  2070.         end
  2071.     end
  2072.     if string.sub(msg, 1, 14) == (prefix.."givealltools ") then
  2073.         for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetDescendants()) do
  2074.             if v:IsA("Tool") then
  2075.                 v.Parent = lplayer.Character
  2076.                 wait()
  2077.                 for i,player in pairs(GetPlayer(string.sub(msg, 15))) do
  2078.                     v.Parent = player.Character
  2079.                 end
  2080.             end
  2081.         end
  2082.     end
  2083.     if string.sub(msg, 1, 5) == (prefix.."age ") then
  2084.         for i,player in pairs(GetPlayer(string.sub(msg, 6))) do
  2085.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account Age: "..player.AccountAge.." days!", "All")
  2086.         end
  2087.     end
  2088.     if string.sub(msg, 1, 4) == (prefix.."id ") then
  2089.         for i,player in pairs(GetPlayer(string.sub(msg, 5))) do
  2090.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account ID: "..player.UserId, "All")
  2091.         end
  2092.     end
  2093.     if string.sub(msg, 1, 6) == (prefix..".age ") then
  2094.         for i,player in pairs(GetPlayer(string.sub(msg, 7))) do
  2095.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2096.             Title = player.AccountAge.." Days";
  2097.             Text = "Account age of "..player.Name;
  2098.             })
  2099.         end
  2100.     end
  2101.     if string.sub(msg, 1, 5) == (prefix..".id ") then
  2102.         for i,player in pairs(GetPlayer(string.sub(msg, 6))) do
  2103.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2104.             Title = player.UserId.." ID";
  2105.             Text = "Account ID of "..player.Name;
  2106.             })
  2107.         end
  2108.     end
  2109.     if string.sub(msg, 1, 7) == (prefix.."gameid") then
  2110.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2111.         Title = "Game ID";
  2112.         Text = "Game ID: ".. game.GameId;
  2113.         })
  2114.     end
  2115.     if string.sub(msg, 1, 4) == (prefix.."pgs") then
  2116.         local pgscheck = game:GetService("Workspace"):PGSIsEnabled()
  2117.         if pgscheck == true then
  2118.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2119.             Title = "PGSPhysicsSolverEnabled";
  2120.             Text = "PGS is Enabled!";
  2121.             })
  2122.         else
  2123.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2124.             Title = "PGSPhysicsSolverEnabled";
  2125.             Text = "PGS is Disabled!";
  2126.             })
  2127.         end
  2128.     end
  2129.     if string.sub(msg, 1, 12) == (prefix.."removeinvis") then
  2130.         for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  2131.             if v:IsA("Part") then
  2132.                 if v.Transparency == 1 then
  2133.                     if v.Name ~= "HumanoidRootPart" then
  2134.                         v:Destroy()
  2135.                     end
  2136.                 end
  2137.             end
  2138.         end
  2139.     end
  2140.     if string.sub(msg, 1, 10) == (prefix.."removefog") then
  2141.         game:GetService("Lighting").FogStart = 0
  2142.         game:GetService("Lighting").FogEnd = 9999999999999
  2143.     end
  2144.     if string.sub(msg, 1, 8) == (prefix.."disable") then
  2145.         lplayer.Character.Humanoid.Parent = lplayer
  2146.     end
  2147.     if string.sub(msg, 1, 7) == (prefix.."enable") then
  2148.         lplayer.Humanoid.Parent = lplayer.Character
  2149.     end
  2150.     if string.sub(msg, 1, 8) == (prefix.."prefix ") then
  2151.         prefix = (string.sub(msg, 9, 9))
  2152.         wait(0.1)
  2153.         change()
  2154.         wait(0.1)
  2155.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2156.         Title = "Prefix changed!";
  2157.         Text = "Prefix is now "..prefix..". Use ;resetprefix to reset to ;";
  2158.         })
  2159.     end
  2160.     if string.sub(msg, 1, 12) == (";resetprefix") then
  2161.         prefix = ";"
  2162.         wait(0.1)
  2163.         change()
  2164.         wait(0.1)
  2165.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2166.         Title = "Prefix changed!";
  2167.         Text = "Prefix is now "..prefix..". Make sure it's one key!";
  2168.         })
  2169.     end
  2170.     if string.sub(msg, 1, 10) == (prefix.."flyspeed ") then
  2171.         speedfly = string.sub(msg, 11)
  2172.         wait()
  2173.         change()
  2174.     end
  2175.     if string.sub(msg, 1, 8) == (prefix.."carpet ") then
  2176.         for i,v in pairs(GetPlayer(string.sub(msg, 9))) do
  2177.             local Anim3 = Instance.new("Animation")
  2178.             Anim3.AnimationId = "rbxassetid://282574440"
  2179.             local track3 = lplayer.Character.Humanoid:LoadAnimation(Anim3)
  2180.             track3:Play(.1, 1, 1)
  2181.             bplrr = v.Name
  2182.             banpl = true
  2183.         end
  2184.     end
  2185.     if string.sub(msg, 1, 9) == (prefix.."uncarpet") then
  2186.         banpl = false
  2187.     end
  2188.     if string.sub(msg, 1, 7) == (prefix.."stare ") then
  2189.         for i,v in pairs(GetPlayer(string.sub(msg, 8))) do
  2190.             staring = true
  2191.             stareplr = v
  2192.         end
  2193.     end
  2194.     if string.sub(msg, 1, 8) == (prefix.."unstare") then
  2195.         staring = false
  2196.     end
  2197.     if string.sub(msg, 1, 8) == (prefix.."logchat") then
  2198.         chatlogs = true
  2199.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2200.         Title = "LogChat enabled";
  2201.         Text = "Now logging all player chat.";
  2202.         })
  2203.     end
  2204.     if string.sub(msg, 1, 10) == (prefix.."unlogchat") then
  2205.         chatlogs = false
  2206.         game:GetService("StarterGui"):SetCore("SendNotification", {
  2207.         Title = "LogChat disabled";
  2208.         Text = "Stopped logging all player chat.";
  2209.         })
  2210.     end
  2211.     if string.sub(msg, 1, 7) == (prefix.."fixcam") then
  2212.         game:GetService("Workspace").CurrentCamera:Destroy()
  2213.         wait(0.1)
  2214.         game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
  2215.         game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
  2216.         lplayer.CameraMinZoomDistance = 0.5
  2217.         lplayer.CameraMaxZoomDistance = 400
  2218.         lplayer.CameraMode = "Classic"
  2219.     end
  2220.     if string.sub(msg, 1, 8) == (prefix.."unstate") then
  2221.         changingstate = false
  2222.     end
  2223. end)
  2224.  
  2225. local function tp()
  2226.     for i, player in ipairs(game:GetService("Players"):GetPlayers()) do
  2227.         if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  2228.             if player.Name == brplr then
  2229.                 player.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame + lplayer.Character.HumanoidRootPart.CFrame.lookVector * 2
  2230.             end
  2231.         end
  2232.     end
  2233. end
  2234. local function tpall()
  2235.     for i, player in ipairs(game:GetService("Players"):GetPlayers()) do
  2236.         if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  2237.             player.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame + lplayer.Character.HumanoidRootPart.CFrame.lookVector * 3
  2238.         end
  2239.     end
  2240. end
  2241. spawn(function()
  2242.     while wait(spamdelay) do
  2243.         if spamming == true then
  2244.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamtext, "All")
  2245.         end
  2246.     end
  2247. end)
  2248. spawn(function()
  2249.     while wait(spamdelay) do
  2250.         if spammingpm == true then
  2251.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..pmspammed.." @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", "All")
  2252.         end
  2253.     end
  2254. end)
  2255. spawn(function()
  2256.     while wait() do
  2257.         if cbring == true then
  2258.             tp()
  2259.         end
  2260.     end
  2261. end)
  2262. spawn(function()
  2263.     while wait() do
  2264.         if cbringall == true then
  2265.             tpall()
  2266.         end
  2267.     end
  2268. end)
  2269.  
  2270. Mouse.KeyDown:connect(function(Key)
  2271.     if Key == prefix then
  2272.         CMDBAR:CaptureFocus()
  2273.     end
  2274. end)
  2275.  
  2276. CMDBAR.FocusLost:connect(function(enterPressed)
  2277.     if enterPressed then
  2278.         if string.sub(CMDBAR.Text, 1, 5) == ("kill ") then
  2279.             if string.sub(CMDBAR.Text, 6) == "me" then
  2280.                 lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(100000,0,100000)
  2281.             else
  2282.                 for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6)))do
  2283.                     local NOW = lplayer.Character.HumanoidRootPart.CFrame
  2284.                     lplayer.Character.Humanoid.Name = 1
  2285.                     local l = lplayer.Character["1"]:Clone()
  2286.                     l.Parent = lplayer.Character
  2287.                     l.Name = "Humanoid"
  2288.                     wait(0.1)
  2289.                     lplayer.Character["1"]:Destroy()
  2290.                     game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2291.                     lplayer.Character.Animate.Disabled = true
  2292.                     wait(0.1)
  2293.                     lplayer.Character.Animate.Disabled = false
  2294.                     lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2295.                     for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  2296.                     lplayer.Character.Humanoid:EquipTool(v)
  2297.                     end
  2298.                     local function tp(player,player2)
  2299.                     local char1,char2=player.Character,player2.Character
  2300.                     if char1 and char2 then
  2301.                     char1:MoveTo(char2.Head.Position)
  2302.                     end
  2303.                     end
  2304.                     wait(0.1)
  2305.                     lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2306.                     wait(0.2)
  2307.                     lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2308.                     wait(0.5)
  2309.                     lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
  2310.                     wait(0.7)
  2311.                     tp(lplayer,game:GetService("Players")[v.Name])
  2312.                     wait(0.7)
  2313.                     lplayer.Character.HumanoidRootPart.CFrame = NOW
  2314.                     game:GetService("StarterGui"):SetCore("SendNotification", {
  2315.                     Title = "Tools needed!";
  2316.                     Text = "You need a tool in your backpack for this command!";
  2317.                     })
  2318.                 end
  2319.             end
  2320.         end
  2321.         if string.sub(CMDBAR.Text, 1, 6) == ("bring ") then
  2322.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7)))do
  2323.                 local NOW = lplayer.Character.HumanoidRootPart.CFrame
  2324.                 lplayer.Character.Humanoid.Name = 1
  2325.                 local l = lplayer.Character["1"]:Clone()
  2326.                 l.Parent = lplayer.Character
  2327.                 l.Name = "Humanoid"
  2328.                 wait(0.1)
  2329.                 lplayer.Character["1"]:Destroy()
  2330.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2331.                 lplayer.Character.Animate.Disabled = true
  2332.                 wait(0.1)
  2333.                 lplayer.Character.Animate.Disabled = false
  2334.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2335.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  2336.                 lplayer.Character.Humanoid:EquipTool(v)
  2337.                 end
  2338.                 local function tp(player,player2)
  2339.                 local char1,char2=player.Character,player2.Character
  2340.                 if char1 and char2 then
  2341.                 char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  2342.                 end
  2343.                 end
  2344.                 local function getout(player,player2)
  2345.                 local char1,char2=player.Character,player2.Character
  2346.                 if char1 and char2 then
  2347.                 char1:MoveTo(char2.Head.Position)
  2348.                 end
  2349.                 end
  2350.                 tp(game:GetService("Players")[v.Name], lplayer)
  2351.                 wait(0.2)
  2352.                 tp(game:GetService("Players")[v.Name], lplayer)
  2353.                 wait(0.5)
  2354.                 lplayer.Character.HumanoidRootPart.CFrame = NOW
  2355.                 wait(0.5)
  2356.                 getout(lplayer, game:GetService("Players")[v.Name])
  2357.                 wait(0.3)
  2358.                 lplayer.Character.HumanoidRootPart.CFrame = NOW
  2359.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2360.                 Title = "Tools needed!";
  2361.                 Text = "You need a tool in your backpack for this command!";
  2362.                 })
  2363.             end
  2364.         end
  2365.         if string.sub(CMDBAR.Text, 1, 5) == ("spin ") then
  2366.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
  2367.                 lplayer.Character.Humanoid.Name = 1
  2368.                 local l = lplayer.Character["1"]:Clone()
  2369.                 l.Parent = lplayer.Character
  2370.                 l.Name = "Humanoid"
  2371.                 wait(0.1)
  2372.                 lplayer.Character["1"]:Destroy()
  2373.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2374.                 lplayer.Character.Animate.Disabled = true
  2375.                 wait(0.1)
  2376.                 lplayer.Character.Animate.Disabled = false
  2377.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2378.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  2379.                 lplayer.Character.Humanoid:EquipTool(v)
  2380.                 end
  2381.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  2382.                 spinplr = v
  2383.                 wait(0.5)
  2384.                 spin = true
  2385.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2386.                 Title = "Tools needed!";
  2387.                 Text = "You need a tool in your backpack for this command!";
  2388.                 })
  2389.             end
  2390.         end
  2391.         if string.sub(CMDBAR.Text, 1, 6) == ("unspin") then
  2392.             spin = false
  2393.         end
  2394.         if string.sub(CMDBAR.Text, 1, 7) == ("attach ") then
  2395.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
  2396.                 lplayer.Character.Humanoid.Name = 1
  2397.                 local l = lplayer.Character["1"]:Clone()
  2398.                 l.Parent = lplayer.Character
  2399.                 l.Name = "Humanoid"
  2400.                 wait(0.1)
  2401.                 lplayer.Character["1"]:Destroy()
  2402.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2403.                 lplayer.Character.Animate.Disabled = true
  2404.                 wait(0.1)
  2405.                 lplayer.Character.Animate.Disabled = false
  2406.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2407.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  2408.                 lplayer.Character.Humanoid:EquipTool(v)
  2409.                 end
  2410.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  2411.                 wait(0.3)
  2412.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  2413.                 attplr = v
  2414.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2415.                 Title = "Tools needed!";
  2416.                 Text = "You need a tool in your backpack for this command!";
  2417.                 })
  2418.             end
  2419.         end
  2420.         if string.sub(CMDBAR.Text, 1, 9) == ("unattach ") then
  2421.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
  2422.                 local function getout(player,player2)
  2423.                 local char1,char2=player.Character,player2.Character
  2424.                 if char1 and char2 then
  2425.                 char1:MoveTo(char2.Head.Position)
  2426.                 end
  2427.                 end
  2428.                 getout(lplayer, game:GetService("Players")[v.Name])
  2429.             end
  2430.         end
  2431.         if string.sub(CMDBAR.Text, 1, 7) == ("follow ") then
  2432.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
  2433.                 followed = true
  2434.                 flwplr = v
  2435.             end
  2436.         end
  2437.         if string.sub(CMDBAR.Text, 1, 8) == ("unfollow") then
  2438.             followed = false
  2439.         end
  2440.         if string.sub(CMDBAR.Text, 1, 9) == ("freefall ") then
  2441.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
  2442.                 local NOW = lplayer.Character.HumanoidRootPart.CFrame
  2443.                 lplayer.Character.Humanoid.Name = 1
  2444.                 local l = lplayer.Character["1"]:Clone()
  2445.                 l.Parent = lplayer.Character
  2446.                 l.Name = "Humanoid"
  2447.                 wait(0.1)
  2448.                 lplayer.Character["1"]:Destroy()
  2449.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2450.                 lplayer.Character.Animate.Disabled = true
  2451.                 wait(0.1)
  2452.                 lplayer.Character.Animate.Disabled = false
  2453.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2454.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  2455.                 lplayer.Character.Humanoid:EquipTool(v)
  2456.                 end
  2457.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2458.                 wait(0.2)
  2459.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2460.                 wait(0.6)
  2461.                 lplayer.Character.HumanoidRootPart.CFrame = NOW
  2462.                 wait(0.6)
  2463.                 lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
  2464.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2465.                 Title = "Tools needed!";
  2466.                 Text = "You need a tool in your backpack for this command!";
  2467.                 })
  2468.             end
  2469.         end
  2470.         if string.sub(CMDBAR.Text, 1, 6) == ("trail ") then
  2471.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  2472.                 traill = true
  2473.                 trlplr = v
  2474.             end
  2475.         end
  2476.         if string.sub(CMDBAR.Text, 1, 7) == ("untrail") then
  2477.             traill = false
  2478.         end
  2479.         if string.sub(CMDBAR.Text, 1, 6) == ("orbit ") then
  2480.             if string.sub(CMDBAR.Text, 7) == "all" or string.sub(CMDBAR.Text, 7) == "others" or string.sub(CMDBAR.Text, 7) == "me" then
  2481.                 lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  2482.             else
  2483.                 for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  2484.                     local o = Instance.new("RocketPropulsion")
  2485.                     o.Parent = lplayer.Character.HumanoidRootPart
  2486.                     o.Name = "Orbit"
  2487.                     o.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
  2488.                     o:Fire()
  2489.                     noclip = true
  2490.                 end
  2491.             end
  2492.         end
  2493.         if string.sub(CMDBAR.Text, 1, 7) == ("unorbit") then
  2494.             lplayer.Character.HumanoidRootPart.Orbit:Destroy()
  2495.             noclip = false
  2496.         end
  2497.         if string.sub(CMDBAR.Text, 1, 6) == ("fling ") then
  2498.             if string.sub(CMDBAR.Text, 7) == "all" or string.sub(CMDBAR.Text, 7) == "others" or string.sub(CMDBAR.Text, 7) == "me" then
  2499.                 lplayer.Character.HumanoidRootPart.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  2500.             else
  2501.                 for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  2502.                     local y = Instance.new("RocketPropulsion")
  2503.                     y.Parent = lplayer.Character.HumanoidRootPart
  2504.                     y.CartoonFactor = 1
  2505.                     y.MaxThrust = 800000
  2506.                     y.MaxSpeed = 1000
  2507.                     y.ThrustP = 200000
  2508.                     y.Name = "Fling"
  2509.                     game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
  2510.                     y.Target = game:GetService("Players")[v.Name].Character.HumanoidRootPart
  2511.                     y:Fire()
  2512.                     noclip = true
  2513.                 end
  2514.             end
  2515.         end
  2516.         if string.sub(CMDBAR.Text, 1, 7) == ("unfling") then
  2517.             noclip = false
  2518.             lplayer.Character.HumanoidRootPart.Fling:Destroy()
  2519.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
  2520.             wait(0.4)
  2521.             lplayer.Character.HumanoidRootPart.Fling:Destroy()
  2522.         end
  2523.         if string.sub(CMDBAR.Text, 1, 7) == ("fecheck") then
  2524.             if game:GetService("Workspace").FilteringEnabled == true then
  2525.                 warn("FE is Enabled (Filtering Enabled)")
  2526.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2527.                     Title = "FE is Enabled";
  2528.                     Text = "Filtering Enabled. Enjoy using Reviz Admin!";
  2529.                 })
  2530.             else
  2531.                 warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.")
  2532.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2533.                     Title = "FE is Disabled";
  2534.                     Text = "Filtering Disabled. Consider using a different admin script.";
  2535.                 })
  2536.             end
  2537.         end
  2538.         if string.sub(CMDBAR.Text, 1, 5) == ("void ") then
  2539.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
  2540.                 lplayer.Character.Humanoid.Name = 1
  2541.                 local l = lplayer.Character["1"]:Clone()
  2542.                 l.Parent = lplayer.Character
  2543.                 l.Name = "Humanoid"
  2544.                 wait(0.1)
  2545.                 lplayer.Character["1"]:Destroy()
  2546.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2547.                 lplayer.Character.Animate.Disabled = true
  2548.                 wait(0.1)
  2549.                 lplayer.Character.Animate.Disabled = false
  2550.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2551.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  2552.                 lplayer.Character.Humanoid:EquipTool(v)
  2553.                 end
  2554.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2555.                 wait(0.2)
  2556.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2557.                 wait(0.6)
  2558.                 lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(999999999999999,0,999999999999999)
  2559.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  2560.                 Title = "Tools needed!";
  2561.                 Text = "You need a tool in your backpack for this command!";
  2562.                 })
  2563.             end
  2564.         end
  2565.         if string.sub(CMDBAR.Text, 1, 6) == ("noclip") then
  2566.             noclip = true
  2567.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2568.             Title = "Noclip enabled";
  2569.             Text = "Type ;clip to disable";
  2570.             })
  2571.         end
  2572.         if string.sub(CMDBAR.Text, 1, 4) == ("clip") then
  2573.             noclip = false
  2574.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2575.             Title = "Noclip disabled";
  2576.             Text = "Type ;noclip to enable";
  2577.             })
  2578.         end
  2579.         if string.sub(CMDBAR.Text, 1, 6) == ("speed ") then
  2580.             lplayer.Character.Humanoid.WalkSpeed = (string.sub(CMDBAR.Text, 7))
  2581.         end
  2582.         if string.sub(CMDBAR.Text, 1, 3) == ("ws ") then
  2583.             lplayer.Character.Humanoid.WalkSpeed = (string.sub(CMDBAR.Text, 4))
  2584.         end
  2585.         if string.sub(CMDBAR.Text, 1, 10) == ("hipheight ") then
  2586.             lplayer.Character.Humanoid.HipHeight = (string.sub(CMDBAR.Text, 11))
  2587.         end
  2588.         if string.sub(CMDBAR.Text, 1, 3) == ("hh ") then
  2589.             lplayer.Character.Humanoid.HipHeight = (string.sub(CMDBAR.Text, 4))
  2590.         end
  2591.         if string.sub(CMDBAR.Text, 1, 10) == ("jumppower ") then
  2592.             lplayer.Character.Humanoid.JumpPower = (string.sub(CMDBAR.Text, 11))
  2593.         end
  2594.         if string.sub(CMDBAR.Text, 1, 3) == ("jp ") then
  2595.             lplayer.Character.Humanoid.JumpPower = (string.sub(CMDBAR.Text, 4))
  2596.         end
  2597.         if string.sub(CMDBAR.Text, 1, 7) == ("default") then
  2598.             lplayer.Character.Humanoid.JumpPower = 50
  2599.             lplayer.Character.Humanoid.WalkSpeed = 16
  2600.             lplayer.Character.Humanoid.HipHeight = 0
  2601.         end
  2602.         if string.sub(CMDBAR.Text, 1, 6) == ("annoy ") then
  2603.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  2604.                 annoying = true
  2605.                 annplr = v
  2606.             end
  2607.         end
  2608.         if string.sub(CMDBAR.Text, 1, 7) == ("unannoy") then
  2609.             annoying = false
  2610.         end
  2611.         if string.sub(CMDBAR.Text, 1, 9) == ("headwalk ") then
  2612.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
  2613.                 hwalk = true
  2614.                 hdwplr = v
  2615.             end
  2616.         end
  2617.         if string.sub(CMDBAR.Text, 1, 10) == ("unheadwalk") then
  2618.             hwalk = false
  2619.         end
  2620.         if string.sub(CMDBAR.Text, 1, 7) == ("nolimbs") then
  2621.             lplayer.Character["Left Leg"]:Destroy()
  2622.             lplayer.Character["Left Arm"]:Destroy()
  2623.             lplayer.Character["Right Leg"]:Destroy()
  2624.             lplayer.Character["Right Arm"]:Destroy()
  2625.         end
  2626.         if string.sub(CMDBAR.Text, 1, 3) == ("god") then
  2627.             lplayer.Character.Humanoid.Name = 1
  2628.             local l = lplayer.Character["1"]:Clone()
  2629.             l.Parent = lplayer.Character
  2630.             l.Name = "Humanoid"
  2631.             wait(0.1)
  2632.             lplayer.Character["1"]:Destroy()
  2633.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  2634.             lplayer.Character.Animate.Disabled = true
  2635.             wait(0.1)
  2636.             lplayer.Character.Animate.Disabled = false
  2637.             lplayer.Character.Humanoid.DisplayDistanceType = "None"
  2638.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2639.             Title = "FE Godmode enabled";
  2640.             Text = "Use ;grespawn or ;respawn to remove.";
  2641.             })
  2642.         end
  2643.         if string.sub(CMDBAR.Text, 1, 8) == ("drophats") then
  2644.             for i,v in pairs(lplayer.Character:GetChildren()) do
  2645.                 if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  2646.                     v.Parent = workspace
  2647.                 end
  2648.             end
  2649.         end
  2650.         if string.sub(CMDBAR.Text, 1, 8) == ("droptool") then
  2651.             for i,v in pairs(lplayer.Character:GetChildren()) do
  2652.                 if (v:IsA("Tool")) then
  2653.                     v.Parent = workspace
  2654.                 end
  2655.             end
  2656.         end
  2657.         if string.sub(CMDBAR.Text, 1, 9) == ("loopdhats") then
  2658.             droppinghats = true
  2659.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2660.             Title = "Loop Drop Enabled";
  2661.             Text = "Type ;unloopdhats to disable";
  2662.             })
  2663.         end
  2664.         if string.sub(CMDBAR.Text, 1, 11) == ("unloopdhats") then
  2665.             droppinghats = false
  2666.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2667.             Title = "Loop Drop Disabled";
  2668.             Text = "Type ;loopdhats to enable.";
  2669.             })
  2670.         end
  2671.         if string.sub(CMDBAR.Text, 1, 9) == ("loopdtool") then
  2672.             droppingtools = true
  2673.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2674.             Title = "Loop Drop Enabled";
  2675.             Text = "Type ;unloopdtool to disable";
  2676.             })
  2677.         end
  2678.         if string.sub(CMDBAR.Text, 1, 11) == ("unloopdtool") then
  2679.             droppingtools = false
  2680.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2681.             Title = "Loop Drop Disabled";
  2682.             Text = "Type ;loopdtool to enable.";
  2683.             })
  2684.         end
  2685.         if string.sub(CMDBAR.Text, 1, 9) == ("invisible") then -- Credit to Timeless
  2686.             Local = game:GetService('Players').LocalPlayer
  2687.             Char  = Local.Character
  2688.             touched,tpdback = false, false
  2689.             box = Instance.new('Part',workspace)
  2690.             box.Anchored = true
  2691.             box.CanCollide = true
  2692.             box.Size = Vector3.new(10,1,10)
  2693.             box.Position = Vector3.new(0,10000,0)
  2694.             box.Touched:connect(function(part)
  2695.                 if (part.Parent.Name == Local.Name) then
  2696.                     if touched == false then
  2697.                         touched = true
  2698.                         function apply()
  2699.                             if script.Disabled ~= true then
  2700.                                 no = Char.HumanoidRootPart:Clone()
  2701.                                 wait(.25)
  2702.                                 Char.HumanoidRootPart:Destroy()
  2703.                                 no.Parent = Char
  2704.                                 Char:MoveTo(loc)
  2705.                                 touched = false
  2706.                             end end
  2707.                         if Char then
  2708.                             apply()
  2709.                         end
  2710.                     end
  2711.                 end
  2712.             end)
  2713.             repeat wait() until Char
  2714.             loc = Char.HumanoidRootPart.Position
  2715.             Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  2716.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2717.             Title = "Invisibility enabled!";
  2718.             Text = "Reset or use ;respawn to remove.";
  2719.             })
  2720.         end
  2721.         if string.sub(CMDBAR.Text, 1, 5) == ("view ") then
  2722.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
  2723.                 if game:GetService("Players")[v.Name].Character.Humanoid then
  2724.                     game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Humanoid
  2725.                 else
  2726.                     game:GetService("Workspace").CurrentCamera.CameraSubject = game:GetService("Players")[v.Name].Character.Head
  2727.                 end
  2728.             end
  2729.         end
  2730.         if string.sub(CMDBAR.Text, 1, 6) == ("unview") then
  2731.             if lplayer.Character.Humanoid then
  2732.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
  2733.             else
  2734.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Head
  2735.             end
  2736.         end
  2737.         if string.sub(CMDBAR.Text, 1, 5) == ("goto ") then
  2738.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
  2739.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  2740.             end
  2741.         end
  2742.         if string.sub(CMDBAR.Text, 1, 3) == ("fly") then
  2743.         repeat wait() until lplayer and lplayer.Character and lplayer.Character:FindFirstChild('HumanoidRootPart') and lplayer.Character:FindFirstChild('Humanoid')
  2744.         repeat wait() until Mouse
  2745.        
  2746.         local T = lplayer.Character.HumanoidRootPart
  2747.         local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  2748.         local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  2749.         local SPEED = speedget
  2750.        
  2751.         local function fly()
  2752.             flying = true
  2753.             local BG = Instance.new('BodyGyro', T)
  2754.             local BV = Instance.new('BodyVelocity', T)
  2755.             BG.P = 9e4
  2756.             BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2757.             BG.cframe = T.CFrame
  2758.             BV.velocity = Vector3.new(0, 0.1, 0)
  2759.             BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2760.             spawn(function()
  2761.             repeat wait()
  2762.             lplayer.Character.Humanoid.PlatformStand = true
  2763.             if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  2764.             SPEED = 50
  2765.             elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  2766.             SPEED = 0
  2767.             end
  2768.             if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  2769.             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
  2770.             lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  2771.             elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  2772.             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
  2773.             else
  2774.             BV.velocity = Vector3.new(0, 0.1, 0)
  2775.             end
  2776.             BG.cframe = workspace.CurrentCamera.CoordinateFrame
  2777.                     until not flying
  2778.                     CONTROL = {F = 0, B = 0, L = 0, R = 0}
  2779.                     lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  2780.                     SPEED = 0
  2781.                     BG:destroy()
  2782.                     BV:destroy()
  2783.                     lplayer.Character.Humanoid.PlatformStand = false
  2784.                 end)
  2785.             end
  2786.         Mouse.KeyDown:connect(function(KEY)
  2787.             if KEY:lower() == 'w' then
  2788.                 CONTROL.F = speedfly
  2789.             elseif KEY:lower() == 's' then
  2790.                 CONTROL.B = -speedfly
  2791.             elseif KEY:lower() == 'a' then
  2792.                 CONTROL.L = -speedfly
  2793.             elseif KEY:lower() == 'd' then
  2794.                 CONTROL.R = speedfly
  2795.             end
  2796.         end)
  2797.         Mouse.KeyUp:connect(function(KEY)
  2798.             if KEY:lower() == 'w' then
  2799.                 CONTROL.F = 0
  2800.             elseif KEY:lower() == 's' then
  2801.                 CONTROL.B = 0
  2802.             elseif KEY:lower() == 'a' then
  2803.                 CONTROL.L = 0
  2804.             elseif KEY:lower() == 'd' then
  2805.                 CONTROL.R = 0
  2806.             end
  2807.         end)
  2808.         fly()
  2809.         end
  2810.         if string.sub(CMDBAR.Text, 1, 5) == ("unfly") then
  2811.             flying = false
  2812.             lplayer.Character.Humanoid.PlatformStand = false
  2813.         end
  2814.         if string.sub(CMDBAR.Text, 1, 5) == ("chat ") then
  2815.             game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer((string.sub(CMDBAR.Text, 6)), "All")
  2816.         end
  2817.         if string.sub(CMDBAR.Text, 1, 5) == ("spam ") then
  2818.             spamtext = (string.sub(CMDBAR.Text, 6))
  2819.             spamming = true
  2820.         end
  2821.         if string.sub(CMDBAR.Text, 1, 6) == ("unspam") then
  2822.             spamming = false
  2823.         end
  2824.         if string.sub(CMDBAR.Text, 1, 9) == ("spamwait ") then
  2825.             spamdelay = (string.sub(CMDBAR.Text, 10))
  2826.         end
  2827.         if string.sub(CMDBAR.Text, 1, 7) == ("pmspam ") then
  2828.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
  2829.                 pmspammed = v.Name
  2830.                 spammingpm = true
  2831.             end
  2832.         end
  2833.         if string.sub(CMDBAR.Text, 1, 8) == ("unpmspam") then
  2834.             spammingpm = false
  2835.         end
  2836.         if string.sub(CMDBAR.Text, 1, 8) == ("cfreeze ") then
  2837.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 9))) do
  2838.                 v.Character["Left Leg"].Anchored = true
  2839.                 v.Character["Left Arm"].Anchored = true
  2840.                 v.Character["Right Leg"].Anchored = true
  2841.                 v.Character["Right Arm"].Anchored = true
  2842.                 v.Character.Torso.Anchored = true
  2843.                 v.Character.Head.Anchored = true
  2844.             end
  2845.         end
  2846.         if string.sub(CMDBAR.Text, 1, 10) == ("uncfreeze ") then
  2847.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 11))) do
  2848.                 v.Character["Left Leg"].Anchored = false
  2849.                 v.Character["Left Arm"].Anchored = false
  2850.                 v.Character["Right Leg"].Anchored = false
  2851.                 v.Character["Right Arm"].Anchored = false
  2852.                 v.Character.Torso.Anchored = false
  2853.                 v.Character.Head.Anchored = false
  2854.             end
  2855.         end
  2856.         if string.sub(CMDBAR.Text, 1, 8) == ("unlockws") then
  2857.             local a = game:GetService("Workspace"):getChildren()
  2858.             for i = 1, #a do
  2859.                 if a[i].className == "Part" then
  2860.                     a[i].Locked = false
  2861.                 elseif a[i].className == "Model" then
  2862.                     local r = a[i]:getChildren()
  2863.                     for i = 1, #r do
  2864.                         if r[i].className == "Part" then
  2865.                         r[i].Locked = false
  2866.                         end
  2867.                     end
  2868.                 end
  2869.             end
  2870.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2871.             Title = "Success!";
  2872.             Text = "Workspace unlocked. Use ;lockws to lock.";
  2873.             })
  2874.         end
  2875.         if string.sub(CMDBAR.Text, 1, 6) == ("lockws") then
  2876.             local a = game:GetService("Workspace"):getChildren()
  2877.             for i = 1, #a do
  2878.                 if a[i].className == "Part" then
  2879.                     a[i].Locked = true
  2880.                 elseif a[i].className == "Model" then
  2881.                     local r = a[i]:getChildren()
  2882.                     for i = 1, #r do
  2883.                         if r[i].className == "Part" then
  2884.                         r[i].Locked = true
  2885.                         end
  2886.                     end
  2887.                 end
  2888.             end
  2889.         end
  2890.         if string.sub(CMDBAR.Text, 1, 6) == ("btools") then
  2891.             local Clone_T = Instance.new("HopperBin",lplayer.Backpack)
  2892.             Clone_T.BinType = "Clone"
  2893.             local Destruct = Instance.new("HopperBin",lplayer.Backpack)
  2894.             Destruct.BinType = "Hammer"
  2895.             local Hold_T = Instance.new("HopperBin",lplayer.Backpack)
  2896.             Hold_T.BinType = "Grab"
  2897.         end
  2898.         if string.sub(CMDBAR.Text, 1, 6) == ("pstand") then
  2899.             lplayer.Character.Humanoid.PlatformStand = true
  2900.         end
  2901.         if string.sub(CMDBAR.Text, 1, 8) == ("unpstand") then
  2902.             lplayer.Character.Humanoid.PlatformStand = false
  2903.         end
  2904.         if string.sub(CMDBAR.Text, 1, 9) == ("blockhead") then
  2905.             lplayer.Character.Head.Mesh:Destroy()
  2906.         end
  2907.         if string.sub(CMDBAR.Text, 1, 3) == ("sit") then
  2908.             lplayer.Character.Humanoid.Sit = true
  2909.         end
  2910.         if string.sub(CMDBAR.Text, 1, 9) == ("bringobj ") then
  2911.             local function bringobjw()
  2912.             for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
  2913.             if obj.Name == (string.sub(CMDBAR.Text, 10)) then
  2914.             obj.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  2915.             obj.CanCollide = false
  2916.             obj.Transparency = 0.7
  2917.             wait()
  2918.             obj.CFrame = lplayer.Character["Left Leg"].CFrame
  2919.             wait()
  2920.             obj.CFrame = lplayer.Character["Right Leg"].CFrame
  2921.             wait()
  2922.             obj.CFrame = lplayer.Character["Head"].CFrame
  2923.             end
  2924.             end
  2925.             end
  2926.             while wait() do
  2927.                 bringobjw()
  2928.             end
  2929.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2930.             Title = "BringObj";
  2931.             Text = "BringObj enabled.";
  2932.             })
  2933.         end
  2934.         if string.sub(CMDBAR.Text, 1, 6) == ("wsvis ") then
  2935.             vis = (string.sub(CMDBAR.Text, 7))
  2936.             local a = game:GetService("Workspace"):GetDescendants()
  2937.             for i = 1, #a do
  2938.                 if a[i].className == "Part" then
  2939.                     a[i].Transparency = vis
  2940.                 elseif a[i].className == "Model" then
  2941.                     local r = a[i]:getChildren()
  2942.                     for i = 1, #r do
  2943.                         if r[i].className == "Part" then
  2944.                         r[i].Transparency = vis
  2945.                         end
  2946.                     end
  2947.                 end
  2948.             end
  2949.         end
  2950.         if string.sub(CMDBAR.Text, 1, 10) == ("hypertotal") then
  2951.             loadstring(game:GetObjects("rbxassetid://1255063809")[1].Source)()
  2952.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2953.             Title = "Success!";
  2954.             Text = "HyperTotal GUI Loaded!";
  2955.             })
  2956.         end
  2957.         if string.sub(CMDBAR.Text, 1, 4) == ("cmds") then
  2958.             CMDSFRAME.Visible = true
  2959.         end
  2960.         if string.sub(CMDBAR.Text, 1, 9) == ("rmeshhats") then
  2961.             for i,v in pairs(lplayer.Character:GetChildren()) do
  2962.                 if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  2963.                     v.Handle.Mesh:Destroy()
  2964.                 end
  2965.             end
  2966.         end
  2967.         if string.sub(CMDBAR.Text, 1, 9) == ("blockhats") then
  2968.             for i,v in pairs(lplayer.Character:GetChildren()) do
  2969.                 if (v:IsA("Accessory")) or (v:IsA("Hat")) then
  2970.                     v.Handle.Mesh:Destroy()
  2971.                 end
  2972.             end
  2973.         end
  2974.         if string.sub(CMDBAR.Text, 1, 9) == ("rmeshtool") then
  2975.             for i,v in pairs(lplayer.Character:GetChildren()) do
  2976.                 if (v:IsA("Tool")) then
  2977.                     v.Handle.Mesh:Destroy()
  2978.                 end
  2979.             end
  2980.         end
  2981.         if string.sub(CMDBAR.Text, 1, 9) == ("blocktool") then
  2982.             for i,v in pairs(lplayer.Character:GetChildren()) do
  2983.                 if (v:IsA("Tool")) then
  2984.                     v.Handle.Mesh:Destroy()
  2985.                 end
  2986.             end
  2987.         end
  2988.         if string.sub(CMDBAR.Text, 1, 7) == ("spinner") then
  2989.             local p = Instance.new("RocketPropulsion")
  2990.             p.Parent = lplayer.Character.HumanoidRootPart
  2991.             p.Name = "Spinner"
  2992.             p.Target = lplayer.Character["Left Arm"]
  2993.             p:Fire()
  2994.             game:GetService("StarterGui"):SetCore("SendNotification", {
  2995.             Title = "Spinner enabled";
  2996.             Text = "Type ;nospinner to disable.";
  2997.             })
  2998.         end
  2999.         if string.sub(CMDBAR.Text, 1, 9) == ("nospinner") then
  3000.             lplayer.Character.HumanoidRootPart.Spinner:Destroy()
  3001.         end
  3002.         if string.sub(CMDBAR.Text, 1, 6) == ("reachd") then
  3003.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
  3004.                 if v:isA("Tool") then
  3005.                     local a = Instance.new("SelectionBox",v.Handle)
  3006.                     a.Adornee = v.Handle
  3007.                     v.Handle.Size = Vector3.new(0.5,0.5,60)
  3008.                     v.GripPos = Vector3.new(0,0,0)
  3009.                     lplayer.Character.Humanoid:UnequipTools()
  3010.                 end
  3011.             end
  3012.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3013.             Title = "Reach applied!";
  3014.             Text = "Applied to equipped sword. Use ;noreach to disable.";
  3015.             })
  3016.         end
  3017.         if string.sub(CMDBAR.Text, 1, 6) == ("reach ") then
  3018.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
  3019.                 if v:isA("Tool") then
  3020.                     local a = Instance.new("SelectionBox",v.Handle)
  3021.                     a.Name = "Reach"
  3022.                     a.Adornee = v.Handle
  3023.                     v.Handle.Size = Vector3.new(0.5,0.5,(string.sub(CMDBAR.Text, 7)))
  3024.                     v.GripPos = Vector3.new(0,0,0)
  3025.                     lplayer.Character.Humanoid:UnequipTools()
  3026.                 end
  3027.             end
  3028.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3029.             Title = "Reach applied!";
  3030.             Text = "Applied to equipped sword. Use ;noreach to disable.";
  3031.             })
  3032.         end
  3033.         if string.sub(CMDBAR.Text, 1, 7) == ("noreach") then
  3034.             for i,v in pairs(game:GetService'Players'.LocalPlayer.Character:GetChildren())do
  3035.                 if v:isA("Tool") then
  3036.                     v.Handle.Reach:Destroy()
  3037.                 end
  3038.             end
  3039.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3040.             Title = "Reach removed!";
  3041.             Text = "Removed reach from equipped sword.";
  3042.             })
  3043.         end
  3044.         if string.sub(CMDBAR.Text, 1, 6) == ("rkill ") then
  3045.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7)))do
  3046.                 lplayer.Character.Humanoid.Name = 1
  3047.                 local l = lplayer.Character["1"]:Clone()
  3048.                 l.Parent = lplayer.Character
  3049.                 l.Name = "Humanoid"
  3050.                 wait(0.1)
  3051.                 lplayer.Character["1"]:Destroy()
  3052.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  3053.                 lplayer.Character.Animate.Disabled = true
  3054.                 wait(0.1)
  3055.                 lplayer.Character.Animate.Disabled = false
  3056.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  3057.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  3058.                 lplayer.Character.Humanoid:EquipTool(v)
  3059.                 end
  3060.                 wait(0.1)
  3061.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  3062.                 wait(0.2)
  3063.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  3064.                 wait(0.5)
  3065.                 lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000,10,-100000))
  3066.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  3067.                 Title = "Tools needed!";
  3068.                 Text = "You need a tool in your backpack for this command!";
  3069.                 })
  3070.             end
  3071.         end
  3072.         if string.sub(CMDBAR.Text, 1, 6) == ("tp me ") then
  3073.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  3074.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  3075.             end
  3076.         end
  3077.         if string.sub(CMDBAR.Text, 1, 7) == ("cbring ") then
  3078.             if (string.sub(CMDBAR.Text, 8)) == "all" or (string.sub(CMDBAR.Text, 8)) == "All" or (string.sub(CMDBAR.Text, 8)) == "ALL" then
  3079.                 cbringall = true
  3080.             else
  3081.                 for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
  3082.                     brplr = v.Name
  3083.                 end
  3084.             end
  3085.             cbring = true
  3086.         end
  3087.         if string.sub(CMDBAR.Text, 1, 8) == ("uncbring") then
  3088.             cbring = false
  3089.             cbringall = false
  3090.         end
  3091.         if string.sub(CMDBAR.Text, 1, 5) == ("swap ") then
  3092.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
  3093.                 local NOWPLR = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  3094.                 local NOW = lplayer.Character.HumanoidRootPart.CFrame
  3095.                 lplayer.Character.Humanoid.Name = 1
  3096.                 local l = lplayer.Character["1"]:Clone()
  3097.                 l.Parent = lplayer.Character
  3098.                 l.Name = "Humanoid"
  3099.                 wait(0.1)
  3100.                 lplayer.Character["1"]:Destroy()
  3101.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  3102.                 lplayer.Character.Animate.Disabled = true
  3103.                 wait(0.1)
  3104.                 lplayer.Character.Animate.Disabled = false
  3105.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  3106.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  3107.                 lplayer.Character.Humanoid:EquipTool(v)
  3108.                 end
  3109.                 local function tp(player,player2)
  3110.                 local char1,char2=player.Character,player2.Character
  3111.                 if char1 and char2 then
  3112.                 char1:MoveTo(char2.Head.Position)
  3113.                 end
  3114.                 end
  3115.                 wait(0.1)
  3116.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  3117.                 wait(0.2)
  3118.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character.HumanoidRootPart.CFrame
  3119.                 wait(0.5)
  3120.                 lplayer.Character.HumanoidRootPart.CFrame = NOW
  3121.                 wait(0.6)
  3122.                 tp(lplayer, game:GetService("Players")[v.Name])
  3123.                 wait(0.4)
  3124.                 lplayer.Character.HumanoidRootPart.CFrame = NOWPLR
  3125.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  3126.                 Title = "Tools needed!";
  3127.                 Text = "You need a tool in your backpack for this command!";
  3128.                 })
  3129.             end
  3130.         end
  3131.         if string.sub(CMDBAR.Text, 1, 7) == ("glitch ") then
  3132.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
  3133.                 lplayer.Character.Humanoid.Name = 1
  3134.                 local l = lplayer.Character["1"]:Clone()
  3135.                 l.Parent = lplayer.Character
  3136.                 l.Name = "Humanoid"
  3137.                 wait(0.1)
  3138.                 lplayer.Character["1"]:Destroy()
  3139.                 game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character
  3140.                 lplayer.Character.Animate.Disabled = true
  3141.                 wait(0.1)
  3142.                 lplayer.Character.Animate.Disabled = false
  3143.                 lplayer.Character.Humanoid.DisplayDistanceType = "None"
  3144.                 for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  3145.                 lplayer.Character.Humanoid:EquipTool(v)
  3146.                 end
  3147.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  3148.                 wait(0.3)
  3149.                 lplayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[v.Name].Character["Left Arm"].CFrame
  3150.                 wait(0.4)
  3151.                 b = Instance.new("BodyForce")
  3152.                 b.Parent = lplayer.Character.HumanoidRootPart
  3153.                 b.Name = "Glitch"
  3154.                 b.Force = Vector3.new(100000000,5000,0)
  3155.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  3156.                 Title = "Tools needed!";
  3157.                 Text = "You need a tool in your backpack for this command!";
  3158.                 })
  3159.             end
  3160.         end
  3161.         if string.sub(CMDBAR.Text, 1, 8) == ("unglitch") then
  3162.             lplayer.Character.HumanoidRootPart.Glitch:Destroy()
  3163.             lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(10000,0,10000)
  3164.             b = Instance.new("BodyForce")
  3165.             b.Parent = lplayer.Character.HumanoidRootPart
  3166.             b.Name = "unGlitch"
  3167.             b.Force = Vector3.new(0,-5000000,0)
  3168.             wait(2)
  3169.             lplayer.Character.HumanoidRootPart.unGlitch:Destroy()
  3170.         end
  3171.         if string.sub(CMDBAR.Text, 1, 8) == ("grespawn") then
  3172.             lplayer.Character.Humanoid.Health = 0
  3173.             wait(1)
  3174.             lplayer.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
  3175.             lplayer.Character.Torso.CFrame = CFrame.new(1000000,0,1000000)
  3176.         end
  3177.         if string.sub(CMDBAR.Text, 1, 8) == ("explorer") then
  3178.             loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
  3179.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3180.             Title = "Success!";
  3181.             Text = "DEX Explorer has loaded.";
  3182.             })
  3183.         end
  3184.         if string.sub(CMDBAR.Text, 1, 5) == ("anim ") then
  3185.             local Anim = Instance.new("Animation")
  3186.             Anim.AnimationId = "rbxassetid://"..(string.sub(CMDBAR.Text, 6))
  3187.             local track = lplayer.Character.Humanoid:LoadAnimation(Anim)
  3188.             track:Play(.1, 1, 1)
  3189.         end
  3190.         if string.sub(CMDBAR.Text, 1, 7) == ("animgui") then
  3191.             loadstring(game:GetObjects("rbxassetid://1202558084")[1].Source)()
  3192.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3193.             Title = "Success!";
  3194.             Text = "Energize Animations GUI has loaded.";
  3195.             })
  3196.         end
  3197.         if string.sub(CMDBAR.Text, 1, 7) == ("savepos") then
  3198.             saved = lplayer.Character.HumanoidRootPart.CFrame
  3199.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3200.             Title = "Position Saved";
  3201.             Text = "Use ;loadpos to return to saved position.";
  3202.             })
  3203.         end
  3204.         if string.sub(CMDBAR.Text, 1, 7) == ("loadpos") then
  3205.             lplayer.Character.HumanoidRootPart.CFrame = saved
  3206.         end
  3207.         if string.sub(CMDBAR.Text, 1, 5) == ("bang ") then
  3208.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
  3209.                 local Anim2 = Instance.new("Animation")
  3210.                 Anim2.AnimationId = "rbxassetid://148840371"
  3211.                 local track2 = lplayer.Character.Humanoid:LoadAnimation(Anim2)
  3212.                 track2:Play(.1, 1, 1)
  3213.                 bplrr = v.Name
  3214.                 banpl = true
  3215.             end
  3216.         end
  3217.         if string.sub(CMDBAR.Text, 1, 6) == ("unbang") then
  3218.             banpl = false
  3219.         end
  3220.         if string.sub(CMDBAR.Text, 1, 9) == ("bringmod ") then
  3221.             local function bringmodw()
  3222.             for i,obj in ipairs(game:GetService("Workspace"):GetDescendants()) do
  3223.             if obj.Name == (string.sub(CMDBAR.Text, 10)) then
  3224.             for i,ch in pairs(obj:GetDescendants()) do
  3225.             if (ch:IsA("BasePart")) then
  3226.             ch.CFrame = lplayer.Character.HumanoidRootPart.CFrame
  3227.             ch.CanCollide = false
  3228.             ch.Transparency = 0.7
  3229.             wait()
  3230.             ch.CFrame = lplayer.Character["Left Leg"].CFrame
  3231.             wait()
  3232.             ch.CFrame = lplayer.Character["Right Leg"].CFrame
  3233.             wait()
  3234.             ch.CFrame = lplayer.Character["Head"].CFrame
  3235.             end
  3236.             end
  3237.             end
  3238.             end
  3239.             end
  3240.             while wait() do
  3241.                 bringmodw()
  3242.             end
  3243.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3244.             Title = "BringMod";
  3245.             Text = "BringMod enabled.";
  3246.             })
  3247.         end
  3248.         if string.sub(CMDBAR.Text, 1, 7) == ("respawn") then
  3249.             local mod = Instance.new('Model', workspace) mod.Name = 're '..lplayer.Name
  3250.             local hum = Instance.new('Humanoid', mod)
  3251.             local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
  3252.             lplayer.Character = mod
  3253.         end
  3254.         if string.sub(CMDBAR.Text, 1, 8) == ("shutdown") then
  3255.             game:GetService'RunService'.Stepped:Connect(function()
  3256.             pcall(function()
  3257.                 for i,v in pairs(game:GetService'Players':GetPlayers()) do
  3258.                     if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  3259.                         for _,x in pairs(v.Character.Head:GetChildren()) do
  3260.                             if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true) end
  3261.                         end
  3262.                     end
  3263.                 end
  3264.             end)
  3265.             end)
  3266.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3267.             Title = "Attempting Shutdown";
  3268.             Text = "Shutdown Attempt has begun.";
  3269.             })
  3270.         end
  3271.         if string.sub(CMDBAR.Text, 1, 7) == ("delobj ") then
  3272.             objtodel = (string.sub(CMDBAR.Text, 8))
  3273.             for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  3274.                 if v.Name == objtodel then
  3275.                     v:Destroy()
  3276.                 end
  3277.             end
  3278.         end
  3279.         if string.sub(CMDBAR.Text, 1, 7) == ("getplrs") then
  3280.             for i,v in pairs(game:GetService("Players"):GetPlayers())do
  3281.                 print(v)
  3282.             end
  3283.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3284.             Title = "Printed";
  3285.             Text = "Players have been printed to console. (F9)";
  3286.             })
  3287.         end
  3288.         if string.sub(CMDBAR.Text, 1, 8) == ("deldecal") then
  3289.             for i,v in pairs(game:GetService("Workspace"):GetDescendants())do
  3290.                 if (v:IsA("Decal")) then
  3291.                     v:Destroy()
  3292.                 end
  3293.             end
  3294.         end
  3295.         if string.sub(CMDBAR.Text, 1, 10) == ("opfinality") then
  3296.             loadstring(game:GetObjects("rbxassetid://1294358929")[1].Source)()
  3297.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3298.             Title = "Success!";
  3299.             Text = "OpFinality GUI has loaded.";
  3300.             })
  3301.         end
  3302.         if string.sub(CMDBAR.Text, 1, 7) == ("remotes") then
  3303.             remotes = true
  3304.             added = true
  3305.             game.DescendantAdded:connect(function(rmt)
  3306.             if added == true then
  3307.             if remotes == true then
  3308.             if rmt:IsA("RemoteEvent") then
  3309.             print("A RemoteEvent was added!")
  3310.             print(" game." .. rmt:GetFullName() .. " | RemoteEvent")
  3311.             print(" game." .. rmt:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
  3312.             end end end
  3313.             end)
  3314.             game.DescendantAdded:connect(function(rmtfnctn)
  3315.             if added == true then
  3316.             if remotes == true then
  3317.             if rmtfnctn:IsA("RemoteFunction") then
  3318.             warn("A RemoteFunction was added!")
  3319.             warn(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction")
  3320.             print(" game." .. rmtfnctn:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
  3321.             end end end
  3322.             end)
  3323.            
  3324.             game.DescendantAdded:connect(function(bndfnctn)
  3325.             if added == true then
  3326.             if binds == true then
  3327.             if bndfnctn:IsA("BindableFunction") then
  3328.             print("A BindableFunction was added!")
  3329.             print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction")
  3330.             print(" game." .. bndfnctn:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
  3331.             end end end
  3332.             end)
  3333.            
  3334.             game.DescendantAdded:connect(function(bnd)
  3335.             if added == true then
  3336.             if binds == true then
  3337.             if bnd:IsA("BindableEvent") then
  3338.             warn("A BindableEvent was added!")
  3339.             warn(" game." .. bnd:GetFullName() .. " | BindableEvent")
  3340.             print(" game." .. bnd:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
  3341.             end end end
  3342.             end)
  3343.            
  3344.            
  3345.             if binds == true then
  3346.             for i,v in pairs(game:GetDescendants()) do
  3347.             if v:IsA("BindableFunction") then
  3348.             print(" game." .. v:GetFullName() .. " | BindableFunction")
  3349.             print(" game." .. v:GetFullName() .. " | BindableFunction", 239, 247, 4, true)
  3350.             end end
  3351.             for i,v in pairs(game:GetDescendants()) do
  3352.             if v:IsA("BindableEvent") then
  3353.             warn(" game." .. v:GetFullName() .. " | BindableEvent")
  3354.             print(" game." .. v:GetFullName() .. " | BindableEvent", 13, 193, 22, true)
  3355.             end end
  3356.             else
  3357.             print("Off")
  3358.             end
  3359.             if remotes == true then
  3360.             for i,v in pairs(game:GetDescendants()) do
  3361.             if v:IsA("RemoteFunction") then
  3362.             warn(" game." .. v:GetFullName() .. " | RemoteFunction")
  3363.             print(" game." .. v:GetFullName() .. " | RemoteFunction", 5, 102, 198, true)
  3364.             end end
  3365.             wait()
  3366.             for i,v in pairs(game:GetDescendants()) do
  3367.             if v:IsA("RemoteEvent") then
  3368.             print(" game." .. v:GetFullName() .. " | RemoteEvent")
  3369.             print(" game." .. v:GetFullName() .. " | RemoteEvent", 247, 0, 0, true)
  3370.             end end
  3371.             else
  3372.             print("Off")
  3373.             end
  3374.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3375.             Title = "Printing Remotes";
  3376.             Text = "Type ;noremotes to disable.";
  3377.             })
  3378.         end
  3379.         if string.sub(CMDBAR.Text, 1, 9) == ("noremotes") then
  3380.             remotes = false
  3381.             added = false
  3382.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3383.             Title = "Printing Remotes Disabled";
  3384.             Text = "Type ;remotes to enable.";
  3385.             })
  3386.         end
  3387.         if string.sub(CMDBAR.Text, 1, 9) == ("tpdefault") then
  3388.             spin = false
  3389.             followed = false
  3390.             traill = false
  3391.             noclip = false
  3392.             annoying = false
  3393.             hwalk = false
  3394.             cbringing = false
  3395.         end
  3396.         if string.sub(CMDBAR.Text, 1, 7) == ("stopsit") then
  3397.             stopsitting = true
  3398.         end
  3399.         if string.sub(CMDBAR.Text, 1, 5) == ("gosit") then
  3400.             stopsitting = false
  3401.         end
  3402.         if string.sub(CMDBAR.Text, 1, 7) == ("version") then
  3403.             print(adminversion)
  3404.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3405.             Title = "Version";
  3406.             Text = adminversion;
  3407.             })
  3408.         end
  3409.         if string.sub(CMDBAR.Text, 1, 7) == ("clicktp") then
  3410.             clickgoto = true
  3411.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3412.             Title = "Click TP";
  3413.             Text = "Press E to teleport to mouse position";
  3414.             })
  3415.         end
  3416.         if string.sub(CMDBAR.Text, 1, 9) == ("noclicktp") then
  3417.             clickgoto = false
  3418.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3419.             Title = "Click TP";
  3420.             Text = "Click TP has been disabled.";
  3421.             })
  3422.         end
  3423.         if string.sub(CMDBAR.Text, 1, 7) == ("toolson") then
  3424.             gettingtools = true
  3425.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3426.             Title = "Tools Enabled";
  3427.             Text = "Automatically colleting tools dropped.";
  3428.             })
  3429.         end
  3430.         if string.sub(CMDBAR.Text, 1, 8) == ("toolsoff") then
  3431.             gettingtools = false
  3432.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3433.             Title = "Tools Disabled";
  3434.             Text = "Click TP has been disabled.";
  3435.             })
  3436.         end
  3437.         if string.sub(CMDBAR.Text, 1, 9) == ("delcmdbar") then
  3438.             ScreenGui:Destroy()
  3439.         end
  3440.         if string.sub(CMDBAR.Text, 1, 5) == ("reset") then
  3441.             lplayer.Character.Head:Destroy()
  3442.         end
  3443.         if string.sub(CMDBAR.Text, 1, 6) == ("state ") then
  3444.             statechosen = string.sub(CMDBAR.Text, 7)
  3445.             changingstate = true
  3446.         end
  3447.         if string.sub(CMDBAR.Text, 1, 8) == ("gravity ") then
  3448.             game:GetService("Workspace").Gravity = string.sub(CMDBAR.Text, 9)
  3449.         end
  3450.         if string.sub(CMDBAR.Text, 1, 9) == ("looprhats") then
  3451.         removingmeshhats = true
  3452.         end
  3453.         if string.sub(CMDBAR.Text, 1, 11) == ("unlooprhats") then
  3454.             removingmeshhats = false
  3455.         end
  3456.         if string.sub(CMDBAR.Text, 1, 9) == ("looprtool") then
  3457.             removingmeshtool = true
  3458.         end
  3459.         if string.sub(CMDBAR.Text, 1, 11) == ("unlooprtool") then
  3460.             removingmeshtool = false
  3461.         end
  3462.         if string.sub(CMDBAR.Text, 1, 9) == ("givetool ") then
  3463.             for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetDescendants()) do
  3464.                 if v:IsA("Tool") then
  3465.                     for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 10))) do
  3466.                         v.Parent = player.Character
  3467.                     end
  3468.                 end
  3469.             end
  3470.         end
  3471.         if string.sub(CMDBAR.Text, 1, 4) == ("age ") then
  3472.             for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 5))) do
  3473.                 game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account Age: "..player.AccountAge.." days!", "All")
  3474.             end
  3475.         end
  3476.         if string.sub(CMDBAR.Text, 1, 3) == ("id ") then
  3477.             for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 4))) do
  3478.                 game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(player.Name.." Account ID: "..player.UserId, "All")
  3479.             end
  3480.         end
  3481.         if string.sub(CMDBAR.Text, 1, 5) == (".age ") then
  3482.             for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 6))) do
  3483.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  3484.                 Title = player.AccountAge.." Days";
  3485.                 Text = "Account age of "..player.Name;
  3486.                 })
  3487.             end
  3488.         end
  3489.         if string.sub(CMDBAR.Text, 1, 4) == (".id ") then
  3490.             for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 5))) do
  3491.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  3492.                 Title = player.UserId.." ID";
  3493.                 Text = "Account ID of "..player.Name;
  3494.                 })
  3495.             end
  3496.         end
  3497.         if string.sub(CMDBAR.Text, 1, 6) == ("gameid") then
  3498.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3499.             Title = "Game ID";
  3500.             Text = "Game ID: ".. game.GameId;
  3501.             })
  3502.         end
  3503.         if string.sub(CMDBAR.Text, 1, 3) == ("pgs") then
  3504.             local pgscheck = game:GetService("Workspace"):PGSIsEnabled()
  3505.             if pgscheck == true then
  3506.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  3507.                 Title = "PGSPhysicsSolverEnabled";
  3508.                 Text = "PGS is Enabled!";
  3509.                 })
  3510.             else
  3511.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  3512.                 Title = "PGSPhysicsSolverEnabled";
  3513.                 Text = "PGS is Disabled!";
  3514.                 })
  3515.             end
  3516.         end
  3517.         if string.sub(CMDBAR.Text, 1, 11) == ("removeinvis") then
  3518.             for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  3519.                 if v:IsA("Part") then
  3520.                     if v.Transparency == 1 then
  3521.                         if v.Name ~= "HumanoidRootPart" then
  3522.                             v:Destroy()
  3523.                         end
  3524.                     end
  3525.                 end
  3526.             end
  3527.         end
  3528.         if string.sub(CMDBAR.Text, 1, 9) == ("removefog") then
  3529.             game:GetService("Lighting").FogStart = 0
  3530.             game:GetService("Lighting").FogEnd = 9999999999999
  3531.         end
  3532.         if string.sub(CMDBAR.Text, 1, 7) == ("disable") then
  3533.             lplayer.Character.Humanoid.Parent = lplayer
  3534.         end
  3535.         if string.sub(CMDBAR.Text, 1, 6) == ("enable") then
  3536.             lplayer.Humanoid.Parent = lplayer.Character
  3537.         end
  3538.         if string.sub(CMDBAR.Text, 1, 13) == ("givealltools ") then
  3539.             for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetDescendants()) do
  3540.                 if v:IsA("Tool") then
  3541.                     v.Parent = lplayer.Character
  3542.                     wait()
  3543.                     for i,player in pairs(GetPlayer(string.sub(CMDBAR.Text, 14))) do
  3544.                         v.Parent = player.Character
  3545.                     end
  3546.                 end
  3547.             end
  3548.         end
  3549.         if string.sub(CMDBAR.Text, 1, 9) == ("flyspeed ") then
  3550.             speedfly = string.sub(CMDBAR.Text, 10)
  3551.             wait()
  3552.             change()
  3553.         end
  3554.         if string.sub(CMDBAR.Text, 1, 7) == ("carpet ") then
  3555.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 8))) do
  3556.                 local Anim3 = Instance.new("Animation")
  3557.                 Anim3.AnimationId = "rbxassetid://282574440"
  3558.                 local track3 = lplayer.Character.Humanoid:LoadAnimation(Anim3)
  3559.                 track3:Play(.1, 1, 1)
  3560.                 bplrr = v.Name
  3561.                 banpl = true
  3562.             end
  3563.         end
  3564.         if string.sub(CMDBAR.Text, 1, 8) == ("uncarpet") then
  3565.             banpl = false
  3566.         end
  3567.         if string.sub(CMDBAR.Text, 1, 6) == ("stare ") then
  3568.             for i,v in pairs(GetPlayer(string.sub(CMDBAR.Text, 7))) do
  3569.                 staring = true
  3570.                 stareplr = v
  3571.             end
  3572.         end
  3573.         if string.sub(CMDBAR.Text, 1, 7) == ("unstare") then
  3574.             staring = false
  3575.         end
  3576.         if string.sub(CMDBAR.Text, 1, 7) == ("logchat") then
  3577.             chatlogs = true
  3578.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3579.             Title = "LogChat enabled";
  3580.             Text = "Now logging all player chat.";
  3581.             })
  3582.         end
  3583.         if string.sub(CMDBAR.Text, 1, 9) == ("unlogchat") then
  3584.             chatlogs = false
  3585.             game:GetService("StarterGui"):SetCore("SendNotification", {
  3586.             Title = "LogChat disabled";
  3587.             Text = "Stopped logging all player chat.";
  3588.             })
  3589.         end
  3590.         if string.sub(CMDBAR.Text, 1, 6) == ("fixcam") then
  3591.             game:GetService("Workspace").CurrentCamera:Destroy()
  3592.             wait(0.1)
  3593.             game:GetService("Workspace").CurrentCamera.CameraSubject = lplayer.Character.Humanoid
  3594.             game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
  3595.             lplayer.CameraMinZoomDistance = 0.5
  3596.             lplayer.CameraMaxZoomDistance = 400
  3597.             lplayer.CameraMode = "Classic"
  3598.         end
  3599.         if string.sub(CMDBAR.Text, 1, 7) == ("unstate") then
  3600.             changingstate = false
  3601.         end
  3602.         CMDBAR.Text = ""
  3603.     end
  3604. end)
  3605.  
  3606. wait(0.3)
  3607. game:GetService("StarterGui"):SetCore("SendNotification", {
  3608.     Title = "Loaded successfully!";
  3609.     Text = "Reviz Admin V2 by illremember";
  3610. })
  3611. wait(0.1)
  3612. print("Reviz Admin V2 loaded!")
  3613. if game:GetService("Workspace").FilteringEnabled == true then
  3614.     warn("FE is Enabled (Filtering Enabled)")
  3615.     game:GetService("StarterGui"):SetCore("SendNotification", {
  3616.         Title = "FE is Enabled";
  3617.         Text = "Filtering Enabled. Enjoy using Reviz Admin!";
  3618.     })
  3619. else
  3620.     warn("FE is Disabled (Filtering Disabled) Consider using a different admin script.")
  3621.     game:GetService("StarterGui"):SetCore("SendNotification", {
  3622.         Title = "FE is Disabled";
  3623.         Text = "Filtering Disabled. Consider using a different admin script.";
  3624.     })
  3625. end
  3626.  
  3627. local intro = Instance.new("ScreenGui")
  3628. local Frame = Instance.new("Frame")
  3629. local ImageLabel = Instance.new("ImageLabel")
  3630. intro.Parent = game:GetService("CoreGui")
  3631. Frame.Parent = intro
  3632. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  3633. Frame.BackgroundTransparency = 1
  3634. Frame.Size = UDim2.new(1, 0, 0, 300)
  3635. Frame.Position = UDim2.new(0, 0, -0.4, 0)
  3636. ImageLabel.Parent = Frame
  3637. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3638. ImageLabel.BackgroundTransparency = 1
  3639. ImageLabel.Position = UDim2.new(0, 0, 0, 0)
  3640. ImageLabel.Size = UDim2.new(1, 0, 1, 0)
  3641. ImageLabel.Image = "http://www.roblox.com/asset/?id=1542162618"
  3642. Frame:TweenPosition(UDim2.new(0, 0, 0.2, 0), "Out", "Elastic", 3)
  3643. wait(3.01)
  3644. Frame:TweenPosition(UDim2.new(0, 0, 1.5, 0), "Out", "Elastic", 5)
  3645. wait(5.01)
  3646. intro:Destroy()
  3647. end)
  3648.  
  3649. arrest.Name = "arrest"
  3650. arrest.Parent = main
  3651. arrest.BackgroundColor3 = Color3.new(1, 0, 0)
  3652. arrest.Position = UDim2.new(0.333333343, 0, 0.332713753, 0)
  3653. arrest.Size = UDim2.new(0, 111, 0, 32)
  3654. arrest.Font = Enum.Font.GothamBlack
  3655. arrest.Text = "Arrest"
  3656. arrest.TextColor3 = Color3.new(0, 0, 0)
  3657. arrest.TextSize = 14
  3658. arrest.MouseButton1Down:connect(function()
  3659. local mouse = game.Players.LocalPlayer:GetMouse()
  3660. local arrestEvent = game.Workspace.Remote.arrest
  3661. mouse.Button1Down:connect(function()
  3662. local obj = mouse.Target
  3663. local response = arrestEvent:InvokeServer(obj)
  3664.  end)
  3665. end)
  3666.  
  3667. attach.Name = "attach"
  3668. attach.Parent = main
  3669. attach.BackgroundColor3 = Color3.new(1, 0, 0)
  3670. attach.Position = UDim2.new(0.656167924, 0, 0.332713753, 0)
  3671. attach.Size = UDim2.new(0, 111, 0, 32)
  3672. attach.Font = Enum.Font.GothamBlack
  3673. attach.Text = "Attach"
  3674. attach.TextColor3 = Color3.new(0, 0, 0)
  3675. attach.TextSize = 14
  3676. attach.MouseButton1Down:connect(function()
  3677. local targetname = "" -- Person you want to bring
  3678.  
  3679. local LocalPlayer = game:GetService("Players").LocalPlayer
  3680. local ran1 = false
  3681. local equipped = false
  3682. local savepos = LocalPlayer.Character.HumanoidRootPart.CFrame
  3683. local target = game:GetService("Players")[targetname]
  3684. repeat
  3685. for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
  3686. if tool:IsA("Tool") then
  3687. tool.Parent = LocalPlayer
  3688. end
  3689. end
  3690. LocalPlayer.Character:ClearAllChildren()
  3691. local char = Instance.new("Model", workspace)
  3692. char.Name = "character"
  3693. Instance.new("Part", char).Name = "Torso";
  3694. Instance.new("Part", char).Name = "Head";
  3695. Instance.new("Humanoid", char).Name = "Humanoid";
  3696. LocalPlayer.Character = char
  3697. repeat wait() until LocalPlayer.Character
  3698. until #LocalPlayer:GetChildren() - 4 >= 2
  3699. for _, char in pairs(workspace:GetChildren()) do
  3700. if char.Name == "character" and char:IsA("Model") then
  3701. char:Destroy()
  3702. end
  3703. end
  3704. repeat wait() until LocalPlayer.Character.HumanoidRootPart ~= nil
  3705. for _, tool in pairs(LocalPlayer:GetChildren()) do
  3706. if tool:IsA("Tool") then
  3707. tool.Parent = LocalPlayer.Backpack
  3708. end
  3709. end
  3710. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = LocalPlayer.Character
  3711. LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = LocalPlayer.Character
  3712. local tool = LocalPlayer.Character:FindFirstChildOfClass("Tool")
  3713. tool.Parent = workspace
  3714. local attacher = LocalPlayer.Character:FindFirstChildOfClass("Tool")
  3715. attacher.Parent = workspace
  3716. LocalPlayer.Character.Humanoid:EquipTool(tool)
  3717. repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
  3718. LocalPlayer.Character.Humanoid:UnequipTools()
  3719. attacher.AncestryChanged:connect(function()
  3720. if ran1 == false then
  3721. ran1 = true
  3722. equipped = true
  3723. end
  3724. end)
  3725. end)
  3726.  
  3727. fastrem.Name = "fastrem"
  3728. fastrem.Parent = main
  3729. fastrem.BackgroundColor3 = Color3.new(1, 1, 0)
  3730. fastrem.Position = UDim2.new(0, 0, 0.48327139, 0)
  3731. fastrem.Size = UDim2.new(0, 84, 0, 32)
  3732. fastrem.Font = Enum.Font.Garamond
  3733. fastrem.Text = "Fast Remington"
  3734. fastrem.TextColor3 = Color3.new(0, 0, 0)
  3735. fastrem.TextSize = 14
  3736. fastrem.MouseButton1Down:connect(function()
  3737. local Player = game.Players.LocalPlayer.Name
  3738. local Gun = "Remington 870" -- < -- Gun Name
  3739. local Run = game:GetService("RunService")
  3740.  
  3741. Gun = game.Players[Player].Character[Gun]
  3742. local Mouse = game.Players.LocalPlayer:GetMouse()
  3743. local Down = false
  3744. local Sound = Gun.Handle.FireSound
  3745.  
  3746. function CreateRay(Point_A, Point_B)
  3747. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  3748. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
  3749. local Dist = (Point_A - Pos).Magnitude
  3750. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  3751.  
  3752. return CFrame, Dist, Ray
  3753. end
  3754.  
  3755. function FireLaser(target)
  3756. coroutine.resume(coroutine.create(function()
  3757. local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
  3758. local Bullet = Instance.new("Part", Gun)
  3759. Bullet.BrickColor = BrickColor.Yellow()
  3760. Bullet.Material = "Neon"
  3761. Bullet.Anchored = true
  3762. Bullet.CanCollide = false
  3763. Bullet.Size = Vector3.new(0.2, 0.2, D)
  3764. Bullet.CFrame = C
  3765.  
  3766. local bulletTable = {}
  3767. table.insert(bulletTable, {
  3768. Hit = target,
  3769. Distance = D,
  3770. Cframe = C,
  3771. RayObject = R
  3772. })
  3773.  
  3774. game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
  3775. local C = Sound:Clone()
  3776. C.Parent = Gun
  3777. C:Play()
  3778. wait(0.05)
  3779. Bullet:Remove()
  3780. end))
  3781. end
  3782.  
  3783. Mouse.Button1Down:Connect(function()
  3784. Down = true
  3785. end)
  3786.  
  3787.  
  3788. Mouse.Button1Up:Connect(function()
  3789. Down = false
  3790. end)
  3791.  
  3792. while Run.Stepped:wait() do
  3793. if Down == true then
  3794. game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
  3795. FireLaser(Mouse.Target)
  3796. end
  3797. end
  3798. end)
  3799.  
  3800. fastm9.Name = "fastm9"
  3801. fastm9.Parent = main
  3802. fastm9.BackgroundColor3 = Color3.new(1, 1, 0)
  3803. fastm9.Position = UDim2.new(0.259869933, 0, 0.48327136, 0)
  3804. fastm9.Size = UDim2.new(0, 84, 0, 32)
  3805. fastm9.Font = Enum.Font.Garamond
  3806. fastm9.Text = "Fast M9"
  3807. fastm9.TextColor3 = Color3.new(0, 0, 0)
  3808. fastm9.TextSize = 14
  3809. fastm9.MouseButton1Down:connect(function()
  3810. local Player = game.Players.LocalPlayer.Name
  3811. local Gun = "M9" -- < -- Gun Name
  3812. local Run = game:GetService("RunService")
  3813.  
  3814. Gun = game.Players[Player].Character[Gun]
  3815. local Mouse = game.Players.LocalPlayer:GetMouse()
  3816. local Down = false
  3817. local Sound = Gun.Handle.FireSound
  3818.  
  3819. function CreateRay(Point_A, Point_B)
  3820. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  3821. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
  3822. local Dist = (Point_A - Pos).Magnitude
  3823. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  3824.  
  3825. return CFrame, Dist, Ray
  3826. end
  3827.  
  3828. function FireLaser(target)
  3829. coroutine.resume(coroutine.create(function()
  3830. local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
  3831. local Bullet = Instance.new("Part", Gun)
  3832. Bullet.BrickColor = BrickColor.Yellow()
  3833. Bullet.Material = "Neon"
  3834. Bullet.Anchored = true
  3835. Bullet.CanCollide = false
  3836. Bullet.Size = Vector3.new(0.2, 0.2, D)
  3837. Bullet.CFrame = C
  3838.  
  3839. local bulletTable = {}
  3840. table.insert(bulletTable, {
  3841. Hit = target,
  3842. Distance = D,
  3843. Cframe = C,
  3844. RayObject = R
  3845. })
  3846.  
  3847. game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
  3848. local C = Sound:Clone()
  3849. C.Parent = Gun
  3850. C:Play()
  3851. wait(0.05)
  3852. Bullet:Remove()
  3853. end))
  3854. end
  3855.  
  3856. Mouse.Button1Down:Connect(function()
  3857. Down = true
  3858. end)
  3859.  
  3860.  
  3861. Mouse.Button1Up:Connect(function()
  3862. Down = false
  3863. end)
  3864.  
  3865. while Run.Stepped:wait() do
  3866. if Down == true then
  3867. game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
  3868. FireLaser(Mouse.Target)
  3869. end
  3870. end
  3871. end)
  3872.  
  3873. fasttaze.Name = "fasttaze"
  3874. fasttaze.Parent = main
  3875. fasttaze.BackgroundColor3 = Color3.new(1, 1, 0)
  3876. fasttaze.Position = UDim2.new(0.530197382, 0, 0.48327136, 0)
  3877. fasttaze.Size = UDim2.new(0, 84, 0, 32)
  3878. fasttaze.Font = Enum.Font.Garamond
  3879. fasttaze.Text = "Fast Taser"
  3880. fasttaze.TextColor3 = Color3.new(0, 0, 0)
  3881. fasttaze.TextSize = 14
  3882. fasttaze.MouseButton1Down:connect(function()
  3883. local Player = game.Players.LocalPlayer.Name
  3884. local Gun = "Taser" -- < -- Gun Name
  3885. local Run = game:GetService("RunService")
  3886.  
  3887. Gun = game.Players[Player].Character[Gun]
  3888. local Mouse = game.Players.LocalPlayer:GetMouse()
  3889. local Down = false
  3890. local Sound = Gun.Handle.FireSound
  3891.  
  3892. function CreateRay(Point_A, Point_B)
  3893. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  3894. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
  3895. local Dist = (Point_A - Pos).Magnitude
  3896. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  3897.  
  3898. return CFrame, Dist, Ray
  3899. end
  3900.  
  3901. function FireLaser(target)
  3902. coroutine.resume(coroutine.create(function()
  3903. local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
  3904. local Bullet = Instance.new("Part", Gun)
  3905. Bullet.BrickColor = BrickColor.Yellow()
  3906. Bullet.Material = "Neon"
  3907. Bullet.Anchored = true
  3908. Bullet.CanCollide = false
  3909. Bullet.Size = Vector3.new(0.2, 0.2, D)
  3910. Bullet.CFrame = C
  3911.  
  3912. local bulletTable = {}
  3913. table.insert(bulletTable, {
  3914. Hit = target,
  3915. Distance = D,
  3916. Cframe = C,
  3917. RayObject = R
  3918. })
  3919.  
  3920. game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
  3921. local C = Sound:Clone()
  3922. C.Parent = Gun
  3923. C:Play()
  3924. wait(0.05)
  3925. Bullet:Remove()
  3926. end))
  3927. end
  3928.  
  3929. Mouse.Button1Down:Connect(function()
  3930. Down = true
  3931. end)
  3932.  
  3933.  
  3934. Mouse.Button1Up:Connect(function()
  3935. Down = false
  3936. end)
  3937.  
  3938. while Run.Stepped:wait() do
  3939. if Down == true then
  3940. game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
  3941. FireLaser(Mouse.Target)
  3942. end
  3943. end
  3944. end)
  3945.  
  3946. fastak.Name = "fastak"
  3947. fastak.Parent = main
  3948. fastak.BackgroundColor3 = Color3.new(1, 1, 0)
  3949. fastak.Position = UDim2.new(0.792650878, 0, 0.48327136, 0)
  3950. fastak.Size = UDim2.new(0, 79, 0, 32)
  3951. fastak.Font = Enum.Font.Garamond
  3952. fastak.Text = "Fast AK47"
  3953. fastak.TextColor3 = Color3.new(0, 0, 0)
  3954. fastak.TextSize = 14
  3955. fastak.MouseButton1Down:connect(function()
  3956. local Player = game.Players.LocalPlayer.Name
  3957. local Gun = "AK-47" -- < -- Gun Name
  3958. local Run = game:GetService("RunService")
  3959.  
  3960. Gun = game.Players[Player].Character[Gun]
  3961. local Mouse = game.Players.LocalPlayer:GetMouse()
  3962. local Down = false
  3963. local Sound = Gun.Handle.FireSound
  3964.  
  3965. function CreateRay(Point_A, Point_B)
  3966. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  3967. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
  3968. local Dist = (Point_A - Pos).Magnitude
  3969. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  3970.  
  3971. return CFrame, Dist, Ray
  3972. end
  3973.  
  3974. function FireLaser(target)
  3975. coroutine.resume(coroutine.create(function()
  3976. local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
  3977. local Bullet = Instance.new("Part", Gun)
  3978. Bullet.BrickColor = BrickColor.Yellow()
  3979. Bullet.Material = "Neon"
  3980. Bullet.Anchored = true
  3981. Bullet.CanCollide = false
  3982. Bullet.Size = Vector3.new(0.2, 0.2, D)
  3983. Bullet.CFrame = C
  3984.  
  3985. local bulletTable = {}
  3986. table.insert(bulletTable, {
  3987. Hit = target,
  3988. Distance = D,
  3989. Cframe = C,
  3990. RayObject = R
  3991. })
  3992.  
  3993. game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
  3994. local C = Sound:Clone()
  3995. C.Parent = Gun
  3996. C:Play()
  3997. wait(0.05)
  3998. Bullet:Remove()
  3999. end))
  4000. end
  4001.  
  4002. Mouse.Button1Down:Connect(function()
  4003. Down = true
  4004. end)
  4005.  
  4006.  
  4007. Mouse.Button1Up:Connect(function()
  4008. Down = false
  4009. end)
  4010.  
  4011. while Run.Stepped:wait() do
  4012. if Down == true then
  4013. game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
  4014. FireLaser(Mouse.Target)
  4015. end
  4016. end
  4017. end)
  4018.  
  4019. killothers.Name = "killothers"
  4020. killothers.Parent = main
  4021. killothers.BackgroundColor3 = Color3.new(0, 1, 1)
  4022. killothers.Position = UDim2.new(0.0209699646, 0, 0.825278759, 0)
  4023. killothers.Size = UDim2.new(0, 354, 0, 45)
  4024. killothers.Font = Enum.Font.GothamBold
  4025. killothers.Text = "Kill Others {WORKING}"
  4026. killothers.TextColor3 = Color3.new(0, 0, 0)
  4027. killothers.TextSize = 14
  4028. killothers.MouseButton1Down:connect(function()
  4029. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  4030.  
  4031. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  4032.  
  4033. wait(0.5)
  4034. function kill(a)
  4035. local A_1 =
  4036. {
  4037. [1] =
  4038. {
  4039. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  4040. ["Distance"] = 3.2524313926697,
  4041. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  4042. ["Hit"] = a.Character.Head
  4043. },
  4044.   [2] =
  4045. {
  4046. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  4047. ["Distance"] = 3.2699294090271,
  4048. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  4049. ["Hit"] = a.Character.Head
  4050. },
  4051. [3] =
  4052. {
  4053. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  4054. ["Distance"] = 3.1665518283844,
  4055. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  4056. ["Hit"] = a.Character.Head
  4057. },
  4058. [4] =
  4059. {
  4060. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  4061. ["Distance"] = 3.3218522071838,
  4062. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  4063. ["Hit"] = a.Character.Head
  4064. },
  4065. [5] =
  4066. {
  4067. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  4068. ["Distance"] = 3.222757101059,
  4069. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  4070. ["Hit"] = a.Character.Head
  4071. }
  4072. }
  4073. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  4074. local Event = game:GetService("ReplicatedStorage").ShootEvent
  4075. Event:FireServer(A_1, A_2)
  4076. Event:FireServer(A_1, A_2)
  4077. end
  4078.  
  4079. for i,v in pairs(game.Players:GetChildren())do
  4080. if v.Name ~= game.Players.LocalPlayer.Name then
  4081. kill(v)
  4082. end
  4083. end
  4084. wait(1)
  4085. workspace.Remote.TeamEvent:FireServer("Bright orange")
  4086.  
  4087. end)
  4088.  
  4089. btools.Name = "btools"
  4090. btools.Parent = main
  4091. btools.BackgroundColor3 = Color3.new(1, 0, 0)
  4092. btools.Position = UDim2.new(0.0131370649, 0, 0.407063216, 0)
  4093. btools.Size = UDim2.new(0, 111, 0, 32)
  4094. btools.Font = Enum.Font.GothamBold
  4095. btools.Text = "Btools"
  4096. btools.TextColor3 = Color3.new(0, 0, 0)
  4097. btools.TextSize = 14
  4098. btools.MouseButton1Down:connect(function()
  4099. local tool1   = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  4100. tool1.BinType = "Hammer"
  4101. end)
  4102.  
  4103. speed.Name = "speed"
  4104. speed.Parent = main
  4105. speed.BackgroundColor3 = Color3.new(1, 0, 0)
  4106. speed.Position = UDim2.new(0.328083992, 0, 0.407063216, 0)
  4107. speed.Size = UDim2.new(0, 112, 0, 32)
  4108. speed.Font = Enum.Font.GothamBold
  4109. speed.Text = "Speed"
  4110. speed.TextColor3 = Color3.new(0, 0, 0)
  4111. speed.TextSize = 14
  4112. speed.MouseButton1Down:connect(function()
  4113. Speed = "100" -- Change to how fast you want to go
  4114.  
  4115. player = game.Players.LocalPlayer.Character
  4116. power = "WalkSpeed"
  4117. player.Humanoid[power] = Speed
  4118. wait()
  4119. player.HumanoidRootPart.CustomPhysicalProperties = PhysicalProperties.new(9e99, 9e99, 9e99, 9e99, 9e99)
  4120. wait()
  4121. repeat
  4122. game.Workspace.Gravity = 1000
  4123. wait()
  4124. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 287.5
  4125. wait()
  4126. until game.Players.LocalPlayer.Character.Humanoid.Health == 0
  4127. end)
  4128.  
  4129. escape.Name = "escape"
  4130. escape.Parent = main
  4131. escape.BackgroundColor3 = Color3.new(1, 0, 0)
  4132. escape.Position = UDim2.new(0.653557003, 0, 0.407063186, 0)
  4133. escape.Size = UDim2.new(0, 112, 0, 32)
  4134. escape.Font = Enum.Font.GothamBold
  4135. escape.Text = "Escape"
  4136. escape.TextColor3 = Color3.new(0, 0, 0)
  4137. escape.TextSize = 14
  4138. escape.MouseButton1Down:connect(function()
  4139. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(465.9,98.19,2253.47)
  4140. end)
  4141.  
  4142. label.Name = "label"
  4143. label.Parent = main
  4144. label.BackgroundColor3 = Color3.new(1, 1, 1)
  4145. label.Position = UDim2.new(0.0209836699, 0, 0.657992601, 0)
  4146. label.Size = UDim2.new(0, 354, 0, 30)
  4147. label.Font = Enum.Font.Gotham
  4148. label.Text = "TELEPORTS"
  4149. label.TextColor3 = Color3.new(0, 0, 0)
  4150. label.TextSize = 14
  4151.  
  4152. prison.Name = "prison"
  4153. prison.Parent = main
  4154. prison.BackgroundColor3 = Color3.new(1, 0.333333, 1)
  4155. prison.Position = UDim2.new(0.0208877288, 0, 0.728624523, 0)
  4156. prison.Size = UDim2.new(0, 110, 0, 32)
  4157. prison.Font = Enum.Font.GothamBlack
  4158. prison.Text = "Prison"
  4159. prison.TextColor3 = Color3.new(0, 0, 0)
  4160. prison.TextSize = 14
  4161. prison.MouseButton1Down:connect(function()
  4162. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(918.77,100,2379.07)
  4163. end)
  4164.  
  4165. yard.Name = "yard"
  4166. yard.Parent = main
  4167. yard.BackgroundColor3 = Color3.new(1, 0.333333, 1)
  4168. yard.Position = UDim2.new(0.328981698, 0, 0.728624523, 0)
  4169. yard.Size = UDim2.new(0, 112, 0, 32)
  4170. yard.Font = Enum.Font.GothamBlack
  4171. yard.Text = "Yard"
  4172. yard.TextColor3 = Color3.new(0, 0, 0)
  4173. yard.TextSize = 14
  4174. yard.MouseButton1Down:connect(function()
  4175. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(779.87,98,2458.93)
  4176. end)
  4177.  
  4178. crimbase.Name = "crimbase"
  4179. crimbase.Parent = main
  4180. crimbase.BackgroundColor3 = Color3.new(1, 0.333333, 1)
  4181. crimbase.Position = UDim2.new(0.634464741, 0, 0.728624523, 0)
  4182. crimbase.Size = UDim2.new(0, 118, 0, 32)
  4183. crimbase.Font = Enum.Font.GothamBlack
  4184. crimbase.Text = "Crim Base"
  4185. crimbase.TextColor3 = Color3.new(0, 0, 0)
  4186. crimbase.TextSize = 14
  4187. crimbase.MouseButton1Down:connect(function()
  4188. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-943.46,94.13,2063.63)
  4189. end)
  4190.  
  4191. aimbot.Name = "aimbot"
  4192. aimbot.Parent = main
  4193. aimbot.BackgroundColor3 = Color3.new(0.333333, 0, 0.498039)
  4194. aimbot.Position = UDim2.new(0.0208877288, 0, 0.557620823, 0)
  4195. aimbot.Size = UDim2.new(0, 108, 0, 32)
  4196. aimbot.Font = Enum.Font.GothamBold
  4197. aimbot.Text = "Aimbot"
  4198. aimbot.TextColor3 = Color3.new(0.333333, 1, 1)
  4199. aimbot.TextSize = 14
  4200. aimbot.TextStrokeColor3 = Color3.new(0.333333, 1, 1)
  4201. aimbot.MouseButton1Down:connect(function()
  4202. -- Farewell Infortality.
  4203. -- Version: 2.82
  4204. -- Instances:
  4205. local strucidhack = Instance.new("ScreenGui")
  4206. local MainGUI = Instance.new("Frame")
  4207. local aimbotandesp = Instance.new("TextButton")
  4208. local closegui = Instance.new("TextButton")
  4209. local TextLabel = Instance.new("TextLabel")
  4210. local opengui = Instance.new("Frame")
  4211. local open = Instance.new("TextButton")
  4212. --Properties:
  4213. strucidhack.Name = "strucid hack"
  4214. strucidhack.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  4215. MainGUI.Active = true
  4216. MainGUI.Draggable = true
  4217.  
  4218. MainGUI.Name = "MainGUI"
  4219. MainGUI.Parent = strucidhack
  4220. MainGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  4221. MainGUI.Position = UDim2.new(0.22521247, 0, 0.195965424, 0)
  4222. MainGUI.Size = UDim2.new(0, 385, 0, 371)
  4223. MainGUI.Visible = false
  4224.  
  4225. aimbotandesp.Name = "aimbot and esp"
  4226. aimbotandesp.Parent = MainGUI
  4227. aimbotandesp.BackgroundColor3 = Color3.new(1, 1, 1)
  4228. aimbotandesp.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  4229. aimbotandesp.BorderSizePixel = 3
  4230. aimbotandesp.Position = UDim2.new(0.136179864, 0, 0.310200483, 0)
  4231. aimbotandesp.Size = UDim2.new(0, 257, 0, 118)
  4232. aimbotandesp.Font = Enum.Font.GothamSemibold
  4233. aimbotandesp.Text = "Open Aimbot Gui"
  4234. aimbotandesp.TextColor3 = Color3.new(0, 0, 0.498039)
  4235. aimbotandesp.TextSize = 23
  4236. aimbotandesp.MouseButton1Click:connect(function()
  4237.     local plrs = game:GetService("Players")
  4238. local TeamBased = true ; local teambasedswitch = "o"
  4239. local presskeytoaim = true; local aimkey = "e"
  4240. local raycast = false
  4241.  
  4242. local espupdatetime = 5; autoesp = false
  4243.  
  4244.  
  4245.  
  4246. local lockaim = true; local lockangle = 5
  4247.  
  4248.  
  4249.  
  4250. --function findwat(folder, what)
  4251. --  for i, smth in pairs(folder:GetChildren()) do
  4252. --      if string.find(string.lower(tostring(smth)), string.lower(what)) then
  4253. --          return smth
  4254. --      end
  4255. --  end
  4256. --end
  4257. --
  4258. --local plrs = findwat(game, "Players")
  4259.  
  4260.  
  4261.  
  4262.  
  4263. local Gui = Instance.new("ScreenGui")
  4264. local Move = Instance.new("Frame")
  4265. local Main = Instance.new("Frame")
  4266. local EspStatus = Instance.new("TextLabel")
  4267. local st1 = Instance.new("TextLabel")
  4268. local st1_2 = Instance.new("TextLabel")
  4269. local st1_3 = Instance.new("TextLabel")
  4270. local Name = Instance.new("TextLabel")
  4271. --Properties:
  4272. Gui.Name = "Gui"
  4273. Gui.Parent = plrs.LocalPlayer:WaitForChild("PlayerGui")
  4274.  
  4275. Move.Name = "Move"
  4276. Move.Parent = Gui
  4277. Move.BackgroundColor3 = Color3.new(0.0431373, 1, 0.0745098)
  4278. Move.BackgroundTransparency = 0.40000000596046
  4279. Move.BorderSizePixel = 0
  4280. Move.Position = UDim2.new(0.005, 0,0.018, 0)
  4281. Move.Size = UDim2.new(0.28141585, 0, 0.0320388414, 0)
  4282.  
  4283. Main.Name = "Main"
  4284. Main.Parent = Move
  4285. Main.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  4286. Main.BackgroundTransparency = 0.69999998807907
  4287. Main.Position = UDim2.new(0, 0, 0.995670795, 0)
  4288. Main.Size = UDim2.new(1.0000006, 0, 9.79697132, 0)
  4289.  
  4290. EspStatus.Name = "EspStatus"
  4291. EspStatus.Parent = Main
  4292. EspStatus.BackgroundColor3 = Color3.new(1, 1, 1)
  4293. EspStatus.BackgroundTransparency = 1
  4294. EspStatus.Size = UDim2.new(0.272955924, 0, 0.161862016, 0)
  4295. EspStatus.Font = Enum.Font.ArialBold
  4296. EspStatus.Text = "Press T to update Esp"
  4297. EspStatus.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  4298. EspStatus.TextScaled = true
  4299. EspStatus.TextSize = 14
  4300. EspStatus.TextWrapped = true
  4301.  
  4302. st1.Name = "st1"
  4303. st1.Parent = Main
  4304. st1.BackgroundColor3 = Color3.new(1, 1, 1)
  4305. st1.BackgroundTransparency = 1
  4306. st1.Position = UDim2.new(0.271787882, 0, 0, 0)
  4307. st1.Size = UDim2.new(0.728211343, 0, 0.161862016, 0)
  4308. st1.Font = Enum.Font.ArialBold
  4309. st1.Text = "Press "..aimkey.." to lock on a person inside ur view"
  4310. st1.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  4311. st1.TextScaled = true
  4312. st1.TextSize = 14
  4313. st1.TextWrapped = true
  4314.  
  4315. st1_2.Name = "st1"
  4316. st1_2.Parent = Main
  4317. st1_2.BackgroundColor3 = Color3.new(1, 1, 1)
  4318. st1_2.BackgroundTransparency = 1
  4319. st1_2.Position = UDim2.new(0, 0, 0.375590861, 0)
  4320. st1_2.Size = UDim2.new(0.999999881, 0, 0.161862016, 0)
  4321. st1_2.Font = Enum.Font.ArialBold
  4322. st1_2.Text = "Press L to enable esp loop"
  4323. st1_2.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  4324. st1_2.TextScaled = true
  4325. st1_2.TextSize = 14
  4326. st1_2.TextWrapped = true
  4327.  
  4328. st1_3.Name = "st1"
  4329. st1_3.Parent = Main
  4330. st1_3.BackgroundColor3 = Color3.new(1, 1, 1)
  4331. st1_3.BackgroundTransparency = 1
  4332. st1_3.Position = UDim2.new(0, 0, 0.18558608, 0)
  4333. st1_3.Size = UDim2.new(0.999999881, 0, 0.161862016, 0)
  4334. st1_3.Font = Enum.Font.ArialBold
  4335. st1_3.Text = "Press O to change team based mode"
  4336. st1_3.TextColor3 = Color3.new(0.0431373, 1, 0.0745098)
  4337. st1_3.TextScaled = true
  4338. st1_3.TextSize = 14
  4339. st1_3.TextWrapped = true
  4340. local teambasedstatus = st1_3:Clone()
  4341. teambasedstatus.Parent = st1_3
  4342. teambasedstatus.TextScaled = true
  4343. teambasedstatus.Position = UDim2.new(0, 0,0.694, 0)
  4344. teambasedstatus.Text = tostring(TeamBased)
  4345.  
  4346. Name.Name = "Name"
  4347. Name.Parent = Move
  4348. Name.BackgroundColor3 = Color3.new(1, 1, 1)
  4349. Name.BackgroundTransparency = 1
  4350. Name.Size = UDim2.new(0.838, 0, 0.980000019, 0)
  4351. Name.Font = Enum.Font.Arial
  4352. Name.Text = "FPS gui v1.0"
  4353. Name.TextColor3 = Color3.new(0, 0, 0)
  4354. Name.TextScaled = true
  4355. Name.TextSize = 14
  4356. Name.TextWrapped = true
  4357. Name.TextXAlignment = Enum.TextXAlignment.Left
  4358. -- Scripts:
  4359.  
  4360.  
  4361. local plrsforaim = {}
  4362.  
  4363. local lplr = game:GetService("Players").LocalPlayer
  4364. Move.Draggable = true
  4365. Gui.ResetOnSpawn = false
  4366. Gui.Name = "Chat"
  4367. Gui.DisplayOrder = 999
  4368.  
  4369.     Gui.Parent = plrs.LocalPlayer.PlayerGui
  4370.  
  4371.  
  4372. f = {}
  4373. local espforlder
  4374.  
  4375. f.addesp = function()
  4376.     --print("ESP ran")
  4377.     if espforlder then
  4378.     else
  4379.         espforlder = Instance.new("Folder")
  4380.         espforlder.Parent = game.Workspace.CurrentCamera
  4381.     end
  4382.     for i, v in pairs(espforlder:GetChildren()) do
  4383.         v:Destroy()
  4384.     end
  4385.     for _, plr in pairs(plrs:GetChildren()) do
  4386.         if plr.Character and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name then
  4387.             if TeamBased == true then
  4388.                 if plr.Team.Name ~= plrs.LocalPlayer.Team.Name  then
  4389.                     local e = espforlder:FindFirstChild(plr.Name)
  4390.                     if not e then
  4391.                         --print("Added esp for team based")
  4392.                         local bill = Instance.new("BillboardGui", espforlder)
  4393.                         bill.Name = plr.Name
  4394.                         bill.AlwaysOnTop = true
  4395.                         bill.Size = UDim2.new(1,0,1,0)
  4396.                         bill.Adornee = plr.Character.Head
  4397.                         local Frame = Instance.new('Frame',bill)
  4398.                         Frame.Active = true
  4399.                         Frame.BackgroundColor3 = Color3.new(0/255,255/255,0/255)
  4400.                         Frame.BackgroundTransparency = 0
  4401.                         Frame.BorderSizePixel = 0
  4402.                         Frame.AnchorPoint = Vector2.new(.5, .5)
  4403.                         Frame.Position = UDim2.new (0.5,0,0.5,0)
  4404.                         Frame.Size = UDim2.new (1,0,1,0)
  4405.                         Frame.Rotation = 0
  4406.                         plr.Character.Humanoid.Died:Connect(function()
  4407.                             bill:Destroy()
  4408.                         end)
  4409.                     end
  4410.                 end
  4411.             else
  4412.                 local e = espforlder:FindFirstChild(plr.Name)
  4413.                 if not e then
  4414.                     --print("Added esp")
  4415.                     local bill = Instance.new("BillboardGui", espforlder)
  4416.                     bill.Name = plr.Name
  4417.                     bill.AlwaysOnTop = true
  4418.                     bill.Size = UDim2.new(1,0,1,0)
  4419.                     bill.Adornee = plr.Character.Head
  4420.                     local Frame = Instance.new('Frame',bill)
  4421.                     Frame.Active = true
  4422.                     Frame.BackgroundColor3 = Color3.new(0/255,255/255,0/255)
  4423.                     Frame.BackgroundTransparency = 0
  4424.                     Frame.BorderSizePixel = 0
  4425.                     Frame.AnchorPoint = Vector2.new(.5, .5)
  4426.                     Frame.Position = UDim2.new (0.5,0,0.5,0)
  4427.                     Frame.Size = UDim2.new (1,0,1,0)
  4428.                     Frame.Rotation = 0
  4429.                     plr.Character.Humanoid.Died:Connect(function()
  4430.                         bill:Destroy()
  4431.                     end)
  4432.                 end
  4433.             end
  4434.            
  4435.            
  4436.         end
  4437.     end
  4438. end
  4439. local cam = game.Workspace.CurrentCamera
  4440.  
  4441. local mouse = lplr:GetMouse()
  4442. local switch = false
  4443. local key = "k"
  4444. local aimatpart = nil
  4445. mouse.KeyDown:Connect(function(a)
  4446.     if a == "t" then
  4447.         print("worked1")
  4448.         f.addesp()
  4449.     elseif a == "u" then
  4450.         if raycast == true then
  4451.             raycast = false
  4452.         else
  4453.             raycast = true
  4454.         end
  4455.     elseif a == "l" then
  4456.         if autoesp == false then
  4457.             autoesp = true
  4458.         else
  4459.             autoesp = false
  4460.         end
  4461.     end
  4462.     if a == "j" then
  4463.         if mouse.Target then
  4464.             mouse.Target:Destroy()
  4465.         end
  4466.     end
  4467.     if a == key then
  4468.         if switch == false then
  4469.             switch = true
  4470.         else
  4471.             switch = false
  4472.             if aimatpart ~= nil then
  4473.                 aimatpart = nil
  4474.             end
  4475.         end
  4476.     elseif a == teambasedswitch then
  4477.         if TeamBased == true then
  4478.             TeamBased = false
  4479.             teambasedstatus.Text = tostring(TeamBased)
  4480.         else
  4481.             TeamBased = true
  4482.             teambasedstatus.Text = tostring(TeamBased)
  4483.         end
  4484.     elseif a == aimkey then
  4485.         if not aimatpart then
  4486.             local maxangle = math.rad(20)
  4487.             for i, plr in pairs(plrs:GetChildren()) do
  4488.                 if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  4489.                     if TeamBased == true then
  4490.                         if plr.Team.Name ~= lplr.Team.Name then
  4491.                             local an = checkfov(plr.Character.Head)
  4492.                             if an < maxangle then
  4493.                                 maxangle = an
  4494.                                 aimatpart = plr.Character.Head
  4495.                             end
  4496.                         end
  4497.                     else
  4498.                         local an = checkfov(plr.Character.Head)
  4499.                             if an < maxangle then
  4500.                                 maxangle = an
  4501.                                 aimatpart = plr.Character.Head
  4502.                             end
  4503.                             print(plr)
  4504.                     end
  4505.                     plr.Character.Humanoid.Died:Connect(function()
  4506.                         if aimatpart.Parent == plr.Character or aimatpart == nil then
  4507.                             aimatpart = nil
  4508.                         end
  4509.                     end)
  4510.                 end
  4511.             end
  4512.         else
  4513.             aimatpart = nil
  4514.         end
  4515.     end
  4516. end)
  4517.  
  4518. function getfovxyz (p0, p1, deg)
  4519.     local x1, y1, z1 = p0:ToOrientation()
  4520.     local cf = CFrame.new(p0.p, p1.p)
  4521.     local x2, y2, z2 = cf:ToOrientation()
  4522.     --local d = math.deg
  4523.     if deg then
  4524.         --return Vector3.new(d(x1-x2), d(y1-y2), d(z1-z2))
  4525.     else
  4526.         return Vector3.new((x1-x2), (y1-y2), (z1-z2))
  4527.     end
  4528. end
  4529.  
  4530. function getaimbotplrs()
  4531.     plrsforaim = {}
  4532.     for i, plr in pairs(plrs:GetChildren()) do
  4533.         if plr.Character and plr.Character.Humanoid and plr.Character.Humanoid.Health > 0 and plr.Name ~= lplr.Name and plr.Character.Head then
  4534.            
  4535.             if TeamBased == true then
  4536.                 if plr.Team.Name ~= lplr.Team.Name then
  4537.                     local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  4538.                     local r = Ray.new(cf, cf.LookVector * 10000)
  4539.                     local ign = {}
  4540.                     for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  4541.                         if v:IsA("BasePart") then
  4542.                             table.insert(ign , v)
  4543.                         end
  4544.                     end
  4545.                     local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  4546.                     if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  4547.                         table.insert(plrsforaim, obj)
  4548.                     end
  4549.                 end
  4550.             else
  4551.                 local cf = CFrame.new(game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
  4552.                 local r = Ray.new(cf, cf.LookVector * 10000)
  4553.                 local ign = {}
  4554.                 for i, v in pairs(plrs.LocalPlayer.Character:GetChildren()) do
  4555.                     if v:IsA("BasePart") then
  4556.                         table.insert(ign , v)
  4557.                     end
  4558.                 end
  4559.                 local obj = game.Workspace:FindPartOnRayWithIgnoreList(r, ign)
  4560.                 if obj.Parent == plr.Character and obj.Parent ~= lplr.Character then
  4561.                     table.insert(plrsforaim, obj)
  4562.                 end
  4563.             end
  4564.            
  4565.            
  4566.         end
  4567.     end
  4568. end
  4569.  
  4570. function aimat(part)
  4571.     cam.CFrame = CFrame.new(cam.CFrame.p, part.CFrame.p)
  4572. end
  4573. function checkfov (part)
  4574.     local fov = getfovxyz(game.Workspace.CurrentCamera.CFrame, part.CFrame)
  4575.     local angle = math.abs(fov.X) + math.abs(fov.Y)
  4576.     return angle
  4577. end
  4578.  
  4579. game:GetService("RunService").RenderStepped:Connect(function()
  4580.     if aimatpart then
  4581.         aimat(aimatpart)
  4582.         if aimatpart.Parent == plrs.LocalPlayer.Character then
  4583.             aimatpart = nil
  4584.         end
  4585.     end
  4586.    
  4587.    
  4588. --  if switch == true then
  4589. --      local maxangle = 99999
  4590. --      
  4591. --      --print("Loop")
  4592. --      if true and raycast == false then
  4593. --          for i, plr in pairs(plrs:GetChildren()) do
  4594. --              if plr.Name ~= lplr.Name and plr.Character and plr.Character.Head and plr.Character.Humanoid and plr.Character.Humanoid.Health > 1 then
  4595. --                  if TeamBased then
  4596. --                      if plr.Team.Name ~= lplr.Team.Name or plr.Team.TeamColor ~= lplr.Team.TeamColor then
  4597. --                          local an = checkfov(plr.Character.Head)
  4598. --                          if an < maxangle then
  4599. --                              maxangle = an
  4600. --                              aimatpart = plr.Character.Head
  4601. --                              if an < lockangle then
  4602. --                                  break
  4603. --                              end
  4604. --                          end
  4605. --                      end
  4606. --                  else
  4607. --                      local an = checkfov(plr.Character.Head)
  4608. --                          if an < maxangle then
  4609. --                              maxangle = an
  4610. --                              aimatpart = plr.Character.Head
  4611. --                              if an < lockangle then
  4612. --                                  break
  4613. --                              end
  4614. --                          end
  4615. --                  end
  4616. --                  
  4617. --                  
  4618. --                  
  4619. --                  
  4620. --              end
  4621. --          end
  4622. --      elseif raycast == true then
  4623. --          
  4624. --      end
  4625.        
  4626.         if raycast == true and switch == false and not aimatpart then
  4627.             getaimbotplrs()
  4628.             aimatpart = nil
  4629.             local maxangle = 999
  4630.             for i, v in ipairs(plrsforaim) do
  4631.                 if v.Parent ~= lplr.Character then
  4632.                     local an = checkfov(v)
  4633.                     if an < maxangle and v ~= lplr.Character.Head then
  4634.                         maxangle = an
  4635.                         aimatpart = v
  4636.                         print(v:GetFullName())
  4637.                         v.Parent.Humanoid.Died:connect(function()
  4638.                             aimatpart = nil
  4639.                         end)
  4640.                     end
  4641.                 end
  4642.             end
  4643.        
  4644.     end
  4645. end)
  4646. delay(0, function()
  4647.     while wait(espupdatetime) do
  4648.         if autoesp == true then
  4649.             pcall(function()
  4650.             f.addesp()
  4651.             end)
  4652.         end
  4653.     end
  4654. end)
  4655. warn("loaded")
  4656. end)
  4657.  
  4658. closegui.Name = "close gui"
  4659. closegui.Parent = MainGUI
  4660. closegui.BackgroundColor3 = Color3.new(1, 1, 1)
  4661. closegui.Position = UDim2.new(0.892828405, 0, 0.0474808663, 0)
  4662. closegui.Size = UDim2.new(0, 28, 0, 36)
  4663. closegui.Font = Enum.Font.SourceSansBold
  4664. closegui.Text = "X"
  4665. closegui.TextColor3 = Color3.new(0, 0, 0)
  4666. closegui.TextSize = 34
  4667.  
  4668. TextLabel.Parent = MainGUI
  4669. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  4670. TextLabel.BorderSizePixel = 3
  4671. TextLabel.Position = UDim2.new(0.0389667451, 0, 0.0325634778, 0)
  4672. TextLabel.Size = UDim2.new(0, 313, 0, 50)
  4673. TextLabel.Font = Enum.Font.SciFi
  4674. TextLabel.Text = "Aimbot/Esp"
  4675. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  4676. TextLabel.TextSize = 20
  4677.  
  4678. opengui.Name = "open gui"
  4679. opengui.Parent = strucidhack
  4680. opengui.BackgroundColor3 = Color3.new(1, 1, 1)
  4681. opengui.Position = UDim2.new(0.0198300499, 0, 0.925072074, 0)
  4682. opengui.Size = UDim2.new(0, 19, 0, 22)
  4683.  
  4684. open.Name = "open"
  4685. open.Parent = opengui
  4686. closegui.MouseButton1Click:connect(function()
  4687.     MainGUI.Visible = false
  4688.     opengui.Visible = true
  4689. end)
  4690. open.BackgroundColor3 = Color3.new(1, 1, 1)
  4691. open.Position = UDim2.new(-0.746906042, 0, -0.172385469, 0)
  4692. open.Size = UDim2.new(0, 65, 0, 29)
  4693. open.Font = Enum.Font.SourceSans
  4694. open.Text = "Open gui"
  4695. open.TextColor3 = Color3.new(0, 0, 0)
  4696. open.TextSize = 14
  4697. open.MouseButton1Click:connect(function()
  4698.     MainGUI.Visible = true
  4699.     opengui.Visible = false
  4700. end)
  4701. end)
  4702.  
  4703. respawn.Name = "respawn"
  4704. respawn.Parent = main
  4705. respawn.BackgroundColor3 = Color3.new(0.333333, 0, 0.498039)
  4706. respawn.Position = UDim2.new(0.33420366, 0, 0.557620823, 0)
  4707. respawn.Size = UDim2.new(0, 111, 0, 32)
  4708. respawn.Font = Enum.Font.GothamBold
  4709. respawn.Text = "Fast Respawn"
  4710. respawn.TextColor3 = Color3.new(0, 1, 1)
  4711. respawn.TextSize = 14
  4712. respawn.MouseButton1Down:connect(function()
  4713. game.Workspace.Remote.loadchar:InvokeServer(game.Players:GetChildren())
  4714. end)
  4715.  
  4716. lag.Name = "lag"
  4717. lag.Parent = main
  4718. lag.BackgroundColor3 = Color3.new(0.333333, 0, 0.498039)
  4719. lag.Position = UDim2.new(0.652741492, 0, 0.557620823, 0)
  4720. lag.Size = UDim2.new(0, 112, 0, 32)
  4721. lag.Font = Enum.Font.GothamBold
  4722. lag.Text = "Lag Server"
  4723. lag.TextColor3 = Color3.new(0.333333, 1, 1)
  4724. lag.TextSize = 14
  4725. lag.MouseButton1Down:connect(function()
  4726. local toolamount = 250
  4727. x = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  4728. wait()
  4729. local LocalPlayer = game:GetService("Players").LocalPlayer
  4730. local died        = false
  4731. local savepos     = LocalPlayer.Character.HumanoidRootPart.CFrame
  4732. repeat
  4733. for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
  4734. if tool:IsA("Tool") then
  4735. tool.Parent = LocalPlayer
  4736. end
  4737. end
  4738. LocalPlayer.Character:ClearAllChildren()
  4739. local char = Instance.new("Model", workspace)
  4740. char.Name = "character"
  4741. Instance.new("Part", char).Name = "Torso";
  4742. Instance.new("Part", char).Name = "Head";
  4743. Instance.new("Humanoid", char).Name = "Humanoid";
  4744. LocalPlayer.Character = char
  4745. repeat wait() until LocalPlayer.Character
  4746. until #LocalPlayer:GetChildren() - 4 >= toolamount
  4747. for _, char in pairs(workspace:GetChildren()) do
  4748. if char.Name == "character" and char:IsA("Model") then
  4749. char:Destroy()
  4750. end
  4751. end
  4752. repeat wait() until LocalPlayer.Character.HumanoidRootPart
  4753. LocalPlayer.Character.HumanoidRootPart.CFrame = savepos
  4754. for _, tool in pairs(LocalPlayer:GetChildren()) do
  4755. if tool:IsA("Tool") then
  4756. tool.Parent = LocalPlayer.Backpack
  4757. end
  4758. end
  4759. wait(0.5)
  4760. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  4761. if v:IsA("Tool") then
  4762. v.Parent = game.Players.LocalPlayer.Character
  4763. end
  4764. end
  4765. wait(0.5)
  4766. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  4767.     if (v:IsA("Tool")) then
  4768. v.Parent = workspace
  4769. end
  4770. end
  4771. wait()
  4772. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  4773. wait(0.85)
  4774. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = x
  4775. end)
  4776. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement