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