Advertisement
Guest User

asdjiasdjiasd

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