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