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