SHOW:
|
|
- or go back to the newest paste.
1 | - | --BETA 1 |
1 | + | |
2 | local Title = Instance.new("TextLabel") | |
3 | local Dark = Instance.new("Frame") | |
4 | local Cmdbar = Instance.new("TextBox") | |
5 | local Dark_2 = Instance.new("Frame") | |
6 | local CMDsF = Instance.new("ScrollingFrame") | |
7 | local SettingsButton = Instance.new("ImageButton") | |
8 | local Settings = Instance.new("Frame") | |
9 | local Prefix = Instance.new("TextLabel") | |
10 | local PrefixBox = Instance.new("TextBox") | |
11 | local Keybinds = Instance.new("TextLabel") | |
12 | local Select = Instance.new("TextButton") | |
13 | local StayOpen = Instance.new("TextLabel") | |
14 | local Button = Instance.new("Frame") | |
15 | local On = Instance.new("TextButton") | |
16 | local Color = Instance.new("TextLabel") | |
17 | local Select_2 = Instance.new("TextButton") | |
18 | local Example = Instance.new("TextLabel") | |
19 | local Notification = Instance.new("Frame") | |
20 | local Dark_3 = Instance.new("Frame") | |
21 | local Title_2 = Instance.new("TextLabel") | |
22 | local Text_2 = Instance.new("TextLabel") | |
23 | local CloseButton = Instance.new("ImageButton") | |
24 | local Logo = Instance.new("ImageLabel") | |
25 | local KeybindEditor = Instance.new("Frame") | |
26 | local Dark_4 = Instance.new("Frame") | |
27 | local Directions = Instance.new("TextLabel") | |
28 | local BindTo = Instance.new("TextButton") | |
29 | local Add_2 = Instance.new("TextButton") | |
30 | local Cmdbar_2 = Instance.new("TextBox") | |
31 | local CloseButton_2 = Instance.new("ImageButton") | |
32 | local KeybindsFrame = Instance.new("Frame") | |
33 | local Close = Instance.new("TextButton") | |
34 | local Add = Instance.new("TextButton") | |
35 | local Delete = Instance.new("TextButton") | |
36 | local Holder_2 = Instance.new("ScrollingFrame") | |
37 | local Example_2 = Instance.new("Frame") | |
38 | local Text_3 = Instance.new("TextLabel") | |
39 | local Delete_2 = Instance.new("TextButton") | |
40 | local Toggles = Instance.new("ScrollingFrame") | |
41 | local Fly = Instance.new("TextLabel") | |
42 | local Select_3 = Instance.new("TextButton") | |
43 | local Noclip = Instance.new("TextLabel") | |
44 | local Select_4 = Instance.new("TextButton") | |
45 | local Float = Instance.new("TextLabel") | |
46 | local Select_5 = Instance.new("TextButton") | |
47 | local ClickTP = Instance.new("TextLabel") | |
48 | local Select_6 = Instance.new("TextButton") | |
49 | local AliasesFrame = Instance.new("Frame") | |
50 | local Close_2 = Instance.new("TextButton") | |
51 | local Delete_3 = Instance.new("TextButton") | |
52 | local Holder_3 = Instance.new("ScrollingFrame") | |
53 | local Example_3 = Instance.new("Frame") | |
54 | local Text_4 = Instance.new("TextLabel") | |
55 | local Delete_4 = Instance.new("TextButton") | |
56 | local Aliases = Instance.new("TextLabel") | |
57 | local Select_7 = Instance.new("TextButton") | |
58 | ||
59 | length = 20 | |
60 | local array = {} | |
61 | local array2 = {} | |
62 | local array3 = {} | |
63 | for i = 1, length do | |
64 | array[i] = string.char(math.random(32, 126)) | |
65 | array2[i] = string.char(math.random(32, 126)) | |
66 | array3[i] = string.char(math.random(32, 126)) | |
67 | end | |
68 | ||
69 | Holder.Name = table.concat(array) | |
70 | Holder.Parent = game:GetService("CoreGui").RobloxGui | |
71 | Holder.Active = true | |
72 | Holder.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
73 | Holder.BackgroundTransparency = 0.20000000298023 | |
74 | Holder.BorderSizePixel = 0 | |
75 | Holder.Position = UDim2.new(1, -250, 1, -220) | |
76 | Holder.Size = UDim2.new(0, 250, 0, 220) | |
77 | ||
78 | Title.Name = "Title" | |
79 | Title.Parent = Holder | |
80 | Title.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
81 | Title.BackgroundTransparency = 1 | |
82 | Title.BorderSizePixel = 0 | |
83 | Title.Size = UDim2.new(0, 250, 0, 20) | |
84 | Title.Font = Enum.Font.SourceSans | |
85 | Title.TextSize = 20 | |
86 | Title.Text = "Infinite Yield FE (BETA)" | |
87 | Title.TextColor3 = Color3.new(1, 1, 1) | |
88 | Title.TextStrokeTransparency = 0 | |
89 | ||
90 | Dark.Name = "Dark" | |
91 | Dark.Parent = Holder | |
92 | Dark.Active = true | |
93 | Dark.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
94 | Dark.BorderSizePixel = 0 | |
95 | Dark.Position = UDim2.new(0, 0, 0, 45) | |
96 | Dark.Size = UDim2.new(0, 250, 0, 175) | |
97 | ||
98 | Cmdbar.Name = "Cmdbar" | |
99 | Cmdbar.Parent = Holder | |
100 | Cmdbar.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
101 | Cmdbar.BackgroundTransparency = 1 | |
102 | Cmdbar.BorderColor3 = Color3.new(1, 1, 1) | |
103 | Cmdbar.BorderSizePixel = 0 | |
104 | Cmdbar.Position = UDim2.new(0, 0, 0, 25) | |
105 | Cmdbar.Size = UDim2.new(0, 250, 0, 20) | |
106 | Cmdbar.Font = Enum.Font.SourceSans | |
107 | Cmdbar.FontSize = Enum.FontSize.Size18 | |
108 | Cmdbar.Text = "Command Bar" | |
109 | Cmdbar.TextColor3 = Color3.new(1, 1, 1) | |
110 | Cmdbar.TextScaled = true | |
111 | Cmdbar.TextWrapped = true | |
112 | Cmdbar.TextStrokeTransparency = 0 | |
113 | ||
114 | Dark_2.Name = "Dark" | |
115 | Dark_2.Parent = Holder | |
116 | Dark_2.Active = true | |
117 | Dark_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
118 | Dark_2.BorderSizePixel = 0 | |
119 | Dark_2.Position = UDim2.new(0, 0, 0, 20) | |
120 | Dark_2.Size = UDim2.new(0, 250, 0, 5) | |
121 | ||
122 | CMDsF.Name = "CMDs" | |
123 | CMDsF.Parent = Holder | |
124 | CMDsF.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
125 | CMDsF.BackgroundTransparency = 1 | |
126 | CMDsF.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
127 | CMDsF.BorderSizePixel = 0 | |
128 | CMDsF.Position = UDim2.new(0, 0, 0, 50) | |
129 | CMDsF.Size = UDim2.new(0, 250, 0, 170) | |
130 | CMDsF.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
131 | CMDsF.CanvasSize = UDim2.new(0, 0, 0, 0) | |
132 | CMDsF.MidImage = "rbxasset://textures/blackBkg_square.png" | |
133 | CMDsF.ScrollBarThickness = 8 | |
134 | CMDsF.TopImage = "rbxasset://textures/blackBkg_square.png" | |
135 | ||
136 | SettingsButton.Name = "SettingsButton" | |
137 | SettingsButton.Parent = Holder | |
138 | SettingsButton.BackgroundColor3 = Color3.new(1, 1, 1) | |
139 | SettingsButton.BackgroundTransparency = 1 | |
140 | SettingsButton.Position = UDim2.new(0, 230, 0, 25) | |
141 | SettingsButton.Size = UDim2.new(0, 20, 0, 20) | |
142 | SettingsButton.Image = "rbxassetid://1204397029" | |
143 | ||
144 | Settings.Name = "Settings" | |
145 | Settings.Parent = Holder | |
146 | Settings.Active = true | |
147 | Settings.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
148 | Settings.BorderSizePixel = 0 | |
149 | Settings.Position = UDim2.new(0, 0, 0, 220) | |
150 | Settings.Size = UDim2.new(0, 250, 0, 175) | |
151 | ||
152 | Prefix.Name = "Prefix" | |
153 | Prefix.Parent = Settings | |
154 | Prefix.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
155 | Prefix.BackgroundTransparency = 0.5 | |
156 | Prefix.BorderSizePixel = 0 | |
157 | Prefix.Position = UDim2.new(0, 0, 0, 5) | |
158 | Prefix.Size = UDim2.new(0, 250, 0, 20) | |
159 | Prefix.Font = Enum.Font.SourceSans | |
160 | Prefix.FontSize = Enum.FontSize.Size14 | |
161 | Prefix.Text = " Prefix" | |
162 | Prefix.TextColor3 = Color3.new(1, 1, 1) | |
163 | Prefix.TextXAlignment = Enum.TextXAlignment.Left | |
164 | ||
165 | PrefixBox.Name = "PrefixBox" | |
166 | PrefixBox.Parent = Prefix | |
167 | PrefixBox.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
168 | PrefixBox.BorderSizePixel = 0 | |
169 | PrefixBox.Position = UDim2.new(0, 230, 0, 0) | |
170 | PrefixBox.Size = UDim2.new(0, 20, 0, 20) | |
171 | PrefixBox.Font = Enum.Font.SourceSansBold | |
172 | PrefixBox.FontSize = Enum.FontSize.Size14 | |
173 | PrefixBox.Text = '' | |
174 | PrefixBox.TextColor3 = Color3.new(0, 0, 0) | |
175 | ||
176 | Keybinds.Name = "Keybinds" | |
177 | Keybinds.Parent = Settings | |
178 | Keybinds.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
179 | Keybinds.BackgroundTransparency = 0.5 | |
180 | Keybinds.BorderSizePixel = 0 | |
181 | Keybinds.Position = UDim2.new(0, 0, 0, 55) | |
182 | Keybinds.Size = UDim2.new(0, 250, 0, 20) | |
183 | Keybinds.Font = Enum.Font.SourceSans | |
184 | Keybinds.FontSize = Enum.FontSize.Size14 | |
185 | Keybinds.Text = " Keybinds" | |
186 | Keybinds.TextColor3 = Color3.new(1, 1, 1) | |
187 | Keybinds.TextXAlignment = Enum.TextXAlignment.Left | |
188 | ||
189 | Select.Name = "Select" | |
190 | Select.Parent = Keybinds | |
191 | Select.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
192 | Select.BorderSizePixel = 0 | |
193 | Select.Position = UDim2.new(0, 200, 0, 0) | |
194 | Select.Size = UDim2.new(0, 50, 0, 20) | |
195 | Select.Font = Enum.Font.SourceSans | |
196 | Select.FontSize = Enum.FontSize.Size14 | |
197 | Select.Text = "Edit" | |
198 | Select.TextColor3 = Color3.new(0, 0, 0) | |
199 | ||
200 | Aliases.Name = "Aliases" | |
201 | Aliases.Parent = Settings | |
202 | Aliases.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
203 | Aliases.BackgroundTransparency = 0.5 | |
204 | Aliases.BorderSizePixel = 0 | |
205 | Aliases.Position = UDim2.new(0, 0, 0, 80) | |
206 | Aliases.Size = UDim2.new(0, 250, 0, 20) | |
207 | Aliases.Font = Enum.Font.SourceSans | |
208 | Aliases.FontSize = Enum.FontSize.Size14 | |
209 | Aliases.Text = " Aliases" | |
210 | Aliases.TextColor3 = Color3.new(1, 1, 1) | |
211 | Aliases.TextXAlignment = Enum.TextXAlignment.Left | |
212 | ||
213 | Select_7.Name = "Select" | |
214 | Select_7.Parent = Aliases | |
215 | Select_7.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
216 | Select_7.BorderSizePixel = 0 | |
217 | Select_7.Position = UDim2.new(0, 200, 0, 0) | |
218 | Select_7.Size = UDim2.new(0, 50, 0, 20) | |
219 | Select_7.Font = Enum.Font.SourceSans | |
220 | Select_7.FontSize = Enum.FontSize.Size14 | |
221 | Select_7.Text = "Edit" | |
222 | Select_7.TextColor3 = Color3.new(0, 0, 0) | |
223 | ||
224 | StayOpen.Name = "StayOpen" | |
225 | StayOpen.Parent = Settings | |
226 | StayOpen.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
227 | StayOpen.BackgroundTransparency = 0.5 | |
228 | StayOpen.BorderSizePixel = 0 | |
229 | StayOpen.Position = UDim2.new(0, 0, 0, 30) | |
230 | StayOpen.Size = UDim2.new(0, 250, 0, 20) | |
231 | StayOpen.Font = Enum.Font.SourceSans | |
232 | StayOpen.FontSize = Enum.FontSize.Size14 | |
233 | StayOpen.Text = " Keep Menu Open" | |
234 | StayOpen.TextColor3 = Color3.new(1, 1, 1) | |
235 | StayOpen.TextXAlignment = Enum.TextXAlignment.Left | |
236 | ||
237 | Button.Name = "Button" | |
238 | Button.Parent = StayOpen | |
239 | Button.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
240 | Button.BorderSizePixel = 0 | |
241 | Button.Position = UDim2.new(0, 230, 0, 0) | |
242 | Button.Size = UDim2.new(0, 20, 0, 20) | |
243 | ||
244 | On.Name = "On" | |
245 | On.Parent = Button | |
246 | On.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8) | |
247 | On.BackgroundTransparency = 1 | |
248 | On.BorderSizePixel = 0 | |
249 | On.Position = UDim2.new(0, 2, 0, 2) | |
250 | On.Size = UDim2.new(0, 16, 0, 16) | |
251 | On.Font = Enum.Font.SourceSans | |
252 | On.FontSize = Enum.FontSize.Size14 | |
253 | On.Text = "" | |
254 | On.TextColor3 = Color3.new(0, 0, 0) | |
255 | ||
256 | Color.Name = "Color" | |
257 | Color.Parent = Settings | |
258 | Color.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
259 | Color.BackgroundTransparency = 0.5 | |
260 | Color.BorderSizePixel = 0 | |
261 | Color.Position = UDim2.new(0, 0, 0, 105) | |
262 | Color.Size = UDim2.new(0, 250, 0, 20) | |
263 | Color.Font = Enum.Font.SourceSans | |
264 | Color.FontSize = Enum.FontSize.Size14 | |
265 | Color.Text = " UI Color" | |
266 | Color.TextColor3 = Color3.new(1, 1, 1) | |
267 | Color.TextXAlignment = Enum.TextXAlignment.Left | |
268 | ||
269 | Select_2.Name = "Select" | |
270 | Select_2.Parent = Color | |
271 | Select_2.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
272 | Select_2.BorderSizePixel = 0 | |
273 | Select_2.Position = UDim2.new(0, 200, 0, 0) | |
274 | Select_2.Size = UDim2.new(0, 50, 0, 20) | |
275 | Select_2.Font = Enum.Font.SourceSans | |
276 | Select_2.FontSize = Enum.FontSize.Size14 | |
277 | Select_2.Text = "Change" | |
278 | Select_2.TextColor3 = Color3.new(0, 0, 0) | |
279 | ||
280 | Example.Name = "Example" | |
281 | Example.Parent = Holder | |
282 | Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
283 | Example.BackgroundTransparency = 1 | |
284 | Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
285 | Example.BorderSizePixel = 0 | |
286 | Example.Size = UDim2.new(0, 190, 0, 20) | |
287 | Example.Visible = false | |
288 | Example.Font = Enum.Font.SourceSansBold | |
289 | Example.FontSize = Enum.FontSize.Size18 | |
290 | Example.Text = "Example" | |
291 | Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
292 | Example.TextStrokeTransparency = 0 | |
293 | Example.TextXAlignment = Enum.TextXAlignment.Left | |
294 | ||
295 | Notification.Name = table.concat(array2) | |
296 | Notification.Parent = game:GetService("CoreGui").RobloxGui | |
297 | Notification.Active = true | |
298 | Notification.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
299 | Notification.BackgroundTransparency = 0 | |
300 | Notification.BorderSizePixel = 0 | |
301 | Notification.Position = UDim2.new(1, -500, 1, 20) | |
302 | Notification.Size = UDim2.new(0, 250, 0, 100) | |
303 | ||
304 | Dark_3.Name = "Dark" | |
305 | Dark_3.Parent = Notification | |
306 | Dark_3.Active = true | |
307 | Dark_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
308 | Dark_3.BackgroundTransparency = 0.5 | |
309 | Dark_3.Position = UDim2.new(0, 0, 0, 20) | |
310 | Dark_3.Size = UDim2.new(0, 250, 0, 5) | |
311 | ||
312 | Title_2.Name = "Title" | |
313 | Title_2.Parent = Notification | |
314 | Title_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
315 | Title_2.BackgroundTransparency = 1 | |
316 | Title_2.BorderSizePixel = 0 | |
317 | Title_2.Size = UDim2.new(0, 250, 0, 20) | |
318 | Title_2.Font = Enum.Font.SourceSans | |
319 | Title_2.TextSize = 20 | |
320 | Title_2.Text = "Notification Title" | |
321 | Title_2.TextColor3 = Color3.new(1, 1, 1) | |
322 | Title_2.TextStrokeTransparency = 0 | |
323 | ||
324 | Text_2.Name = "Text" | |
325 | Text_2.Parent = Notification | |
326 | Text_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
327 | Text_2.BackgroundTransparency = 1 | |
328 | Text_2.BorderSizePixel = 0 | |
329 | Text_2.Position = UDim2.new(0, 0, 0, 25) | |
330 | Text_2.Size = UDim2.new(0, 250, 0, 75) | |
331 | Text_2.Font = Enum.Font.SourceSans | |
332 | Text_2.FontSize = Enum.FontSize.Size18 | |
333 | Text_2.Text = "Notification Text" | |
334 | Text_2.TextColor3 = Color3.new(1, 1, 1) | |
335 | Text_2.TextWrapped = true | |
336 | ||
337 | CloseButton.Name = "CloseButton" | |
338 | CloseButton.Parent = Notification | |
339 | CloseButton.BackgroundColor3 = Color3.new(1, 1, 1) | |
340 | CloseButton.BackgroundTransparency = 1 | |
341 | CloseButton.Position = UDim2.new(0, 3, 0, 3) | |
342 | CloseButton.Size = UDim2.new(0, 14, 0, 14) | |
343 | CloseButton.Image = "rbxassetid://2127938821" | |
344 | ||
345 | Logo.Name = "Logo" | |
346 | Logo.Parent = Holder | |
347 | Logo.BackgroundColor3 = Color3.new(1, 1, 1) | |
348 | Logo.BackgroundTransparency = 1 | |
349 | Logo.BorderSizePixel = 0 | |
350 | Logo.Position = UDim2.new(0, 125, 0, 127) | |
351 | Logo.Size = UDim2.new(0, 10, 0, 10) | |
352 | Logo.Image = "rbxassetid://1352543873" | |
353 | Logo.ImageTransparency = 0 | |
354 | ||
355 | KeybindEditor.Name = table.concat(array3) | |
356 | KeybindEditor.Parent = game:GetService("CoreGui").RobloxGui | |
357 | KeybindEditor.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
358 | KeybindEditor.BackgroundTransparency = 0 | |
359 | KeybindEditor.BorderSizePixel = 0 | |
360 | KeybindEditor.Position = UDim2.new(0.5, -180, 0.5, 500) | |
361 | KeybindEditor.Size = UDim2.new(0, 360, 0, 160) | |
362 | ||
363 | Dark_4.Name = "Dark" | |
364 | Dark_4.Parent = KeybindEditor | |
365 | Dark_4.Active = true | |
366 | Dark_4.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
367 | Dark_4.BackgroundTransparency = 0.5 | |
368 | Dark_4.BorderSizePixel = 0 | |
369 | Dark_4.Position = UDim2.new(0, 135, 0, 0) | |
370 | Dark_4.Size = UDim2.new(0, 5, 0, 160) | |
371 | ||
372 | Directions.Name = "Directions" | |
373 | Directions.Parent = KeybindEditor | |
374 | Directions.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
375 | Directions.BackgroundTransparency = 1 | |
376 | Directions.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
377 | Directions.BorderSizePixel = 0 | |
378 | Directions.Position = UDim2.new(0, 10, 0, 15) | |
379 | Directions.Size = UDim2.new(0, 115, 0, 90) | |
380 | Directions.Font = Enum.Font.SourceSansBold | |
381 | Directions.FontSize = Enum.FontSize.Size14 | |
382 | Directions.Text = "Click the button below and press a key/mouse button. Then select what you want to bind it to." | |
383 | Directions.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549) | |
384 | Directions.TextStrokeTransparency = 0 | |
385 | Directions.TextWrapped = true | |
386 | Directions.TextYAlignment = Enum.TextYAlignment.Top | |
387 | ||
388 | BindTo.Name = "BindTo" | |
389 | BindTo.Parent = KeybindEditor | |
390 | BindTo.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
391 | BindTo.BackgroundTransparency = 0.5 | |
392 | BindTo.BorderSizePixel = 0 | |
393 | BindTo.Position = UDim2.new(0, 10, 0, 100) | |
394 | BindTo.Size = UDim2.new(0, 115, 0, 50) | |
395 | BindTo.Font = Enum.Font.SourceSans | |
396 | BindTo.FontSize = Enum.FontSize.Size18 | |
397 | BindTo.Text = "Click to bind" | |
398 | BindTo.TextColor3 = Color3.new(1, 1, 1) | |
399 | BindTo.TextStrokeTransparency = 0 | |
400 | ||
401 | Add_2.Name = "Add" | |
402 | Add_2.Parent = KeybindEditor | |
403 | Add_2.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
404 | Add_2.BackgroundTransparency = 0.5 | |
405 | Add_2.BorderSizePixel = 0 | |
406 | Add_2.Position = UDim2.new(0, 310, 0, 10) | |
407 | Add_2.Size = UDim2.new(0, 40, 0, 20) | |
408 | Add_2.Font = Enum.Font.SourceSans | |
409 | Add_2.FontSize = Enum.FontSize.Size18 | |
410 | Add_2.Text = "Add" | |
411 | Add_2.TextColor3 = Color3.new(1, 1, 1) | |
412 | Add_2.TextStrokeTransparency = 0 | |
413 | ||
414 | Cmdbar_2.Name = "Cmdbar" | |
415 | Cmdbar_2.Parent = KeybindEditor | |
416 | Cmdbar_2.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
417 | Cmdbar_2.BackgroundTransparency = 0.5 | |
418 | Cmdbar_2.BorderColor3 = Color3.new(1, 1, 1) | |
419 | Cmdbar_2.BorderSizePixel = 0 | |
420 | Cmdbar_2.Position = UDim2.new(0, 150, 0, 10) | |
421 | Cmdbar_2.Size = UDim2.new(0, 150, 0, 20) | |
422 | Cmdbar_2.Font = Enum.Font.SourceSans | |
423 | Cmdbar_2.FontSize = Enum.FontSize.Size18 | |
424 | Cmdbar_2.Text = "Command" | |
425 | Cmdbar_2.TextColor3 = Color3.new(1, 1, 1) | |
426 | Cmdbar_2.TextScaled = true | |
427 | Cmdbar_2.TextStrokeTransparency = 0 | |
428 | Cmdbar_2.TextWrapped = true | |
429 | ||
430 | CloseButton_2.Name = "CloseButton" | |
431 | CloseButton_2.Parent = KeybindEditor | |
432 | CloseButton_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
433 | CloseButton_2.BackgroundTransparency = 1 | |
434 | CloseButton_2.Position = UDim2.new(0, 3, 0, 3) | |
435 | CloseButton_2.Size = UDim2.new(0, 14, 0, 14) | |
436 | CloseButton_2.Image = "rbxassetid://2127938821" | |
437 | ||
438 | KeybindsFrame.Name = "KeybindsFrame" | |
439 | KeybindsFrame.Parent = Settings | |
440 | KeybindsFrame.Active = true | |
441 | KeybindsFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
442 | KeybindsFrame.BorderSizePixel = 0 | |
443 | KeybindsFrame.Position = UDim2.new(0, 0, 0, 175) | |
444 | KeybindsFrame.Size = UDim2.new(0, 250, 0, 175) | |
445 | ||
446 | Close.Name = "Close" | |
447 | Close.Parent = KeybindsFrame | |
448 | Close.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
449 | Close.BorderSizePixel = 0 | |
450 | Close.Position = UDim2.new(0, 205, 0, 150) | |
451 | Close.Size = UDim2.new(0, 40, 0, 20) | |
452 | Close.Font = Enum.Font.SourceSans | |
453 | Close.FontSize = Enum.FontSize.Size14 | |
454 | Close.Text = "Close" | |
455 | Close.TextColor3 = Color3.new(0, 0, 0) | |
456 | ||
457 | Add.Name = "Add" | |
458 | Add.Parent = KeybindsFrame | |
459 | Add.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
460 | Add.BorderSizePixel = 0 | |
461 | Add.Position = UDim2.new(0, 5, 0, 150) | |
462 | Add.Size = UDim2.new(0, 40, 0, 20) | |
463 | Add.Font = Enum.Font.SourceSans | |
464 | Add.FontSize = Enum.FontSize.Size14 | |
465 | Add.Text = "Add" | |
466 | Add.TextColor3 = Color3.new(0, 0, 0) | |
467 | ||
468 | Delete.Name = "Delete" | |
469 | Delete.Parent = KeybindsFrame | |
470 | Delete.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
471 | Delete.BorderSizePixel = 0 | |
472 | Delete.Position = UDim2.new(0, 50, 0, 150) | |
473 | Delete.Size = UDim2.new(0, 40, 0, 20) | |
474 | Delete.Font = Enum.Font.SourceSans | |
475 | Delete.FontSize = Enum.FontSize.Size14 | |
476 | Delete.Text = "Clear" | |
477 | Delete.TextColor3 = Color3.new(0, 0, 0) | |
478 | ||
479 | Holder_2.Name = "Holder" | |
480 | Holder_2.Parent = KeybindsFrame | |
481 | Holder_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
482 | Holder_2.BackgroundTransparency = 1 | |
483 | Holder_2.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
484 | Holder_2.BorderSizePixel = 0 | |
485 | Holder_2.Position = UDim2.new(0, 0, 0, 0) | |
486 | Holder_2.Size = UDim2.new(0, 250, 0, 145) | |
487 | Holder_2.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
488 | Holder_2.CanvasSize = UDim2.new(0, 0, 0, 0) | |
489 | Holder_2.MidImage = "rbxasset://textures/blackBkg_square.png" | |
490 | Holder_2.ScrollBarThickness = 0 | |
491 | Holder_2.TopImage = "rbxasset://textures/blackBkg_square.png" | |
492 | ||
493 | Example_2.Name = "Example" | |
494 | Example_2.Parent = KeybindsFrame | |
495 | Example_2.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
496 | Example_2.BackgroundTransparency = 0.5 | |
497 | Example_2.BorderSizePixel = 0 | |
498 | Example_2.Size = UDim2.new(0, 10, 0, 20) | |
499 | Example_2.Visible = false | |
500 | ||
501 | Text_3.Name = "Text" | |
502 | Text_3.Parent = Example_2 | |
503 | Text_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
504 | Text_3.BackgroundTransparency = 0.5 | |
505 | Text_3.BorderSizePixel = 0 | |
506 | Text_3.Position = UDim2.new(0, 10, 0, 0) | |
507 | Text_3.Size = UDim2.new(0, 240, 0, 20) | |
508 | Text_3.Font = Enum.Font.SourceSans | |
509 | Text_3.FontSize = Enum.FontSize.Size14 | |
510 | Text_3.Text = "nom" | |
511 | Text_3.TextColor3 = Color3.new(1, 1, 1) | |
512 | Text_3.TextXAlignment = Enum.TextXAlignment.Left | |
513 | ||
514 | Delete_2.Name = "Delete" | |
515 | Delete_2.Parent = Text_3 | |
516 | Delete_2.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
517 | Delete_2.BorderSizePixel = 0 | |
518 | Delete_2.Position = UDim2.new(0, 200, 0, 0) | |
519 | Delete_2.Size = UDim2.new(0, 40, 0, 20) | |
520 | Delete_2.Font = Enum.Font.SourceSans | |
521 | Delete_2.FontSize = Enum.FontSize.Size14 | |
522 | Delete_2.Text = "Delete" | |
523 | Delete_2.TextColor3 = Color3.new(0, 0, 0) | |
524 | ||
525 | Toggles.Name = "Toggles" | |
526 | Toggles.Parent = KeybindEditor | |
527 | Toggles.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
528 | Toggles.BackgroundTransparency = 1 | |
529 | Toggles.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
530 | Toggles.BorderSizePixel = 0 | |
531 | Toggles.Position = UDim2.new(0, 150, 0, 40) | |
532 | Toggles.Size = UDim2.new(0, 200, 0, 110) | |
533 | Toggles.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
534 | Toggles.CanvasSize = UDim2.new(0, 0, 0, 0) | |
535 | Toggles.MidImage = "rbxasset://textures/blackBkg_square.png" | |
536 | Toggles.ScrollBarThickness = 8 | |
537 | Toggles.TopImage = "rbxasset://textures/blackBkg_square.png" | |
538 | ||
539 | Fly.Name = "Fly" | |
540 | Fly.Parent = Toggles | |
541 | Fly.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
542 | Fly.BackgroundTransparency = 0.5 | |
543 | Fly.BorderSizePixel = 0 | |
544 | Fly.Size = UDim2.new(0, 200, 0, 20) | |
545 | Fly.Font = Enum.Font.SourceSans | |
546 | Fly.FontSize = Enum.FontSize.Size14 | |
547 | Fly.Text = " Toggle Fly" | |
548 | Fly.TextColor3 = Color3.new(1, 1, 1) | |
549 | Fly.TextXAlignment = Enum.TextXAlignment.Left | |
550 | ||
551 | Select_3.Name = "Select" | |
552 | Select_3.Parent = Fly | |
553 | Select_3.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
554 | Select_3.BorderSizePixel = 0 | |
555 | Select_3.Position = UDim2.new(0, 160, 0, 0) | |
556 | Select_3.Size = UDim2.new(0, 40, 0, 20) | |
557 | Select_3.Font = Enum.Font.SourceSans | |
558 | Select_3.FontSize = Enum.FontSize.Size14 | |
559 | Select_3.Text = "Add" | |
560 | Select_3.TextColor3 = Color3.new(0, 0, 0) | |
561 | ||
562 | Noclip.Name = "Noclip" | |
563 | Noclip.Parent = Toggles | |
564 | Noclip.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
565 | Noclip.BackgroundTransparency = 0.5 | |
566 | Noclip.BorderSizePixel = 0 | |
567 | Noclip.Position = UDim2.new(0, 0, 0, 25) | |
568 | Noclip.Size = UDim2.new(0, 200, 0, 20) | |
569 | Noclip.Font = Enum.Font.SourceSans | |
570 | Noclip.FontSize = Enum.FontSize.Size14 | |
571 | Noclip.Text = " Toggle Noclip" | |
572 | Noclip.TextColor3 = Color3.new(1, 1, 1) | |
573 | Noclip.TextXAlignment = Enum.TextXAlignment.Left | |
574 | ||
575 | Select_4.Name = "Select" | |
576 | Select_4.Parent = Noclip | |
577 | Select_4.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
578 | Select_4.BorderSizePixel = 0 | |
579 | Select_4.Position = UDim2.new(0, 160, 0, 0) | |
580 | Select_4.Size = UDim2.new(0, 40, 0, 20) | |
581 | Select_4.Font = Enum.Font.SourceSans | |
582 | Select_4.FontSize = Enum.FontSize.Size14 | |
583 | Select_4.Text = "Add" | |
584 | Select_4.TextColor3 = Color3.new(0, 0, 0) | |
585 | ||
586 | Float.Name = "Float" | |
587 | Float.Parent = Toggles | |
588 | Float.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
589 | Float.BackgroundTransparency = 0.5 | |
590 | Float.BorderSizePixel = 0 | |
591 | Float.Position = UDim2.new(0, 0, 0, 50) | |
592 | Float.Size = UDim2.new(0, 200, 0, 20) | |
593 | Float.Font = Enum.Font.SourceSans | |
594 | Float.FontSize = Enum.FontSize.Size14 | |
595 | Float.Text = " Toggle Float" | |
596 | Float.TextColor3 = Color3.new(1, 1, 1) | |
597 | Float.TextXAlignment = Enum.TextXAlignment.Left | |
598 | ||
599 | Select_5.Name = "Select" | |
600 | Select_5.Parent = Float | |
601 | Select_5.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
602 | Select_5.BorderSizePixel = 0 | |
603 | Select_5.Position = UDim2.new(0, 160, 0, 0) | |
604 | Select_5.Size = UDim2.new(0, 40, 0, 20) | |
605 | Select_5.Font = Enum.Font.SourceSans | |
606 | Select_5.FontSize = Enum.FontSize.Size14 | |
607 | Select_5.Text = "Add" | |
608 | Select_5.TextColor3 = Color3.new(0, 0, 0) | |
609 | ||
610 | ClickTP.Name = "Click TP" | |
611 | ClickTP.Parent = Toggles | |
612 | ClickTP.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
613 | ClickTP.BackgroundTransparency = 0.5 | |
614 | ClickTP.BorderSizePixel = 0 | |
615 | ClickTP.Position = UDim2.new(0, 0, 0, 75) | |
616 | ClickTP.Size = UDim2.new(0, 200, 0, 20) | |
617 | ClickTP.Font = Enum.Font.SourceSans | |
618 | ClickTP.FontSize = Enum.FontSize.Size14 | |
619 | ClickTP.Text = " Click TP (Hold Key)" | |
620 | ClickTP.TextColor3 = Color3.new(1, 1, 1) | |
621 | ClickTP.TextXAlignment = Enum.TextXAlignment.Left | |
622 | ||
623 | Select_6.Name = "Select" | |
624 | Select_6.Parent = ClickTP | |
625 | Select_6.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
626 | Select_6.BorderSizePixel = 0 | |
627 | Select_6.Position = UDim2.new(0, 160, 0, 0) | |
628 | Select_6.Size = UDim2.new(0, 40, 0, 20) | |
629 | Select_6.Font = Enum.Font.SourceSans | |
630 | Select_6.FontSize = Enum.FontSize.Size14 | |
631 | Select_6.Text = "Add" | |
632 | Select_6.TextColor3 = Color3.new(0, 0, 0) | |
633 | ||
634 | AliasesFrame.Name = "AliasesFrame" | |
635 | AliasesFrame.Parent = Settings | |
636 | AliasesFrame.Active = true | |
637 | AliasesFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
638 | AliasesFrame.BorderSizePixel = 0 | |
639 | AliasesFrame.Position = UDim2.new(0, 0, 0, 175) | |
640 | AliasesFrame.Size = UDim2.new(0, 250, 0, 175) | |
641 | ||
642 | Close_2.Name = "Close" | |
643 | Close_2.Parent = AliasesFrame | |
644 | Close_2.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
645 | Close_2.BorderSizePixel = 0 | |
646 | Close_2.Position = UDim2.new(0, 205, 0, 150) | |
647 | Close_2.Size = UDim2.new(0, 40, 0, 20) | |
648 | Close_2.Font = Enum.Font.SourceSans | |
649 | Close_2.FontSize = Enum.FontSize.Size14 | |
650 | Close_2.Text = "Close" | |
651 | Close_2.TextColor3 = Color3.new(0, 0, 0) | |
652 | ||
653 | Delete_3.Name = "Delete" | |
654 | Delete_3.Parent = AliasesFrame | |
655 | Delete_3.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
656 | Delete_3.BorderSizePixel = 0 | |
657 | Delete_3.Position = UDim2.new(0, 5, 0, 150) | |
658 | Delete_3.Size = UDim2.new(0, 40, 0, 20) | |
659 | Delete_3.Font = Enum.Font.SourceSans | |
660 | Delete_3.FontSize = Enum.FontSize.Size14 | |
661 | Delete_3.Text = "Clear" | |
662 | Delete_3.TextColor3 = Color3.new(0, 0, 0) | |
663 | ||
664 | Holder_3.Name = "Holder" | |
665 | Holder_3.Parent = AliasesFrame | |
666 | Holder_3.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
667 | Holder_3.BackgroundTransparency = 1 | |
668 | Holder_3.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
669 | Holder_3.BorderSizePixel = 0 | |
670 | Holder_3.Position = UDim2.new(0, 0, 0, 5) | |
671 | Holder_3.Size = UDim2.new(0, 250, 0, 140) | |
672 | Holder_3.BottomImage = "rbxasset://textures/blackBkg_square.png" | |
673 | Holder_3.CanvasSize = UDim2.new(0, 0, 0, 0) | |
674 | Holder_3.MidImage = "rbxasset://textures/blackBkg_square.png" | |
675 | Holder_3.ScrollBarThickness = 0 | |
676 | Holder_3.TopImage = "rbxasset://textures/blackBkg_square.png" | |
677 | ||
678 | Example_3.Name = "Example" | |
679 | Example_3.Parent = AliasesFrame | |
680 | Example_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
681 | Example_3.BackgroundTransparency = 0.5 | |
682 | Example_3.BorderSizePixel = 0 | |
683 | Example_3.Size = UDim2.new(0, 10, 0, 20) | |
684 | Example_3.Visible = false | |
685 | ||
686 | Text_4.Name = "Text" | |
687 | Text_4.Parent = Example_3 | |
688 | Text_4.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706) | |
689 | Text_4.BackgroundTransparency = 0.5 | |
690 | Text_4.BorderSizePixel = 0 | |
691 | Text_4.Position = UDim2.new(0, 10, 0, 0) | |
692 | Text_4.Size = UDim2.new(0, 240, 0, 20) | |
693 | Text_4.Font = Enum.Font.SourceSans | |
694 | Text_4.FontSize = Enum.FontSize.Size14 | |
695 | Text_4.Text = "honk" | |
696 | Text_4.TextColor3 = Color3.new(1, 1, 1) | |
697 | Text_4.TextXAlignment = Enum.TextXAlignment.Left | |
698 | ||
699 | Delete_4.Name = "Delete" | |
700 | Delete_4.Parent = Text_4 | |
701 | Delete_4.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216) | |
702 | Delete_4.BorderSizePixel = 0 | |
703 | Delete_4.Position = UDim2.new(0, 200, 0, 0) | |
704 | Delete_4.Size = UDim2.new(0, 40, 0, 20) | |
705 | Delete_4.Font = Enum.Font.SourceSans | |
706 | Delete_4.FontSize = Enum.FontSize.Size14 | |
707 | Delete_4.Text = "Delete" | |
708 | Delete_4.TextColor3 = Color3.new(0, 0, 0) | |
709 | ||
710 | function writefileExploit() | |
711 | if writefile then | |
712 | return true | |
713 | end | |
714 | end | |
715 | ||
716 | defaultsettings = { | |
717 | prefix = ';'; | |
718 | StayOpen = false; | |
719 | aliases = {}; | |
720 | binds = {} | |
721 | } | |
722 | ||
723 | defaults = game:GetService("HttpService"):JSONEncode(defaultsettings) | |
724 | ||
725 | function saves() | |
726 | if writefileExploit() then | |
727 | if pcall(function() readfile("IY_FE.iy") end) then | |
728 | local json = game:GetService("HttpService"):JSONDecode(readfile("IY_FE.iy")) | |
729 | prefix = json.prefix | |
730 | StayOpen = json.StayOpen | |
731 | aliases = json.aliases | |
732 | binds = json.binds | |
733 | else | |
734 | writefile("IY_FE.iy", defaults) | |
735 | wait() | |
736 | saves() | |
737 | end | |
738 | else | |
739 | prefix = ';' | |
740 | StayOpen = false | |
741 | aliases = {} | |
742 | binds = {} | |
743 | end | |
744 | end | |
745 | ||
746 | saves() | |
747 | ||
748 | function updatesaves() | |
749 | if writefileExploit() then | |
750 | local update = { | |
751 | prefix = prefix; | |
752 | StayOpen = StayOpen; | |
753 | aliases = aliases; | |
754 | binds = binds | |
755 | } | |
756 | writefile("IY_FE.iy", game:GetService("HttpService"):JSONEncode(update)) | |
757 | end | |
758 | end | |
759 | ||
760 | Mouse = game:GetService("Players").LocalPlayer:GetMouse() | |
761 | UserInputService = game:GetService("UserInputService") | |
762 | Players = game:GetService("Players") | |
763 | PrefixBox.Text = prefix | |
764 | SettingsOpen = false | |
765 | ||
766 | if StayOpen == false then | |
767 | Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 1 | |
768 | else | |
769 | Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 0 | |
770 | end | |
771 | ||
772 | function maximizeHolder() | |
773 | if StayOpen == false then | |
774 | Holder:TweenPosition(UDim2.new(1, -250, 1, -220), "InOut", "Quart", 0.2, true, nil) | |
775 | end | |
776 | end | |
777 | ||
778 | function minimizeHolder() | |
779 | if StayOpen == false then | |
780 | Holder:TweenPosition(UDim2.new(1, -250, 1, -20), "InOut", "Quart", 0.5, true, nil) | |
781 | end | |
782 | end | |
783 | ||
784 | function cmdbarHolder() | |
785 | if StayOpen == false then | |
786 | Holder:TweenPosition(UDim2.new(1, -250, 1, -45), "InOut", "Quart", 0.5, true, nil) | |
787 | end | |
788 | end | |
789 | ||
790 | function enablebuttons() | |
791 | Settings.Aliases.Select.Visible = true | |
792 | Settings.Color.Select.Visible = true | |
793 | Settings.Keybinds.Select.Visible = true | |
794 | Settings.StayOpen.Button.On.Visible = true | |
795 | Settings.Prefix.PrefixBox.Visible = true | |
796 | end | |
797 | ||
798 | function disablebuttons() | |
799 | Settings.Aliases.Select.Visible = false | |
800 | Settings.Color.Select.Visible = false | |
801 | Settings.Keybinds.Select.Visible = false | |
802 | Settings.StayOpen.Button.On.Visible = false | |
803 | Settings.Prefix.PrefixBox.Visible = false | |
804 | end | |
805 | ||
806 | notifyCount = 0 | |
807 | function notify(title,text) | |
808 | spawn(function() | |
809 | local LnotifyCount = notifyCount+1 | |
810 | notifyCount = notifyCount+1 | |
811 | Notification:TweenPosition(UDim2.new(1, -500, 1, -0), "InOut", "Quart", 0.5, true, nil) | |
812 | wait(0.6) | |
813 | local closepressed = false | |
814 | Notification.Title.Text = title | |
815 | Notification.Text.Text = text | |
816 | Notification:TweenPosition(UDim2.new(1, -500, 1, -100), "InOut", "Quart", 0.5, true, nil) | |
817 | Notification.CloseButton.MouseButton1Click:Connect(function() | |
818 | Notification:TweenPosition(UDim2.new(1, -500, 1, -0), "InOut", "Quart", 0.5, true, nil) | |
819 | closepressed = true | |
820 | end) | |
821 | wait(5) | |
822 | if LnotifyCount == notifyCount then | |
823 | if closepressed == false then | |
824 | Notification:TweenPosition(UDim2.new(1, -500, 1, -0), "InOut", "Quart", 0.5, true, nil) | |
825 | end | |
826 | notifyCount = 0 | |
827 | end | |
828 | end) | |
829 | end | |
830 | ||
831 | Mouse.KeyDown:connect(function(Key) | |
832 | if (Key==prefix) then | |
833 | Holder.Cmdbar:CaptureFocus() | |
834 | maximizeHolder() | |
835 | if SettingsOpen == true then | |
836 | wait(0.2) | |
837 | Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil) | |
838 | SettingsOpen = false | |
839 | end | |
840 | end | |
841 | end) | |
842 | ||
843 | Holder.MouseEnter:Connect(function() | |
844 | maximizeHolder() | |
845 | end) | |
846 | ||
847 | Holder.MouseLeave:Connect(function() | |
848 | minimizeHolder() | |
849 | end) | |
850 | ||
851 | Holder.SettingsButton.MouseButton1Click:Connect(function() | |
852 | if SettingsOpen == false then SettingsOpen = true | |
853 | Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil) | |
854 | else SettingsOpen = false | |
855 | Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.5, true, nil) | |
856 | end | |
857 | end) | |
858 | ||
859 | Holder.Settings.StayOpen.Button.On.MouseButton1Click:Connect(function() | |
860 | if StayOpen == false then StayOpen = true | |
861 | Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 0 | |
862 | else StayOpen = false | |
863 | Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 1 | |
864 | end | |
865 | updatesaves() | |
866 | end) | |
867 | ||
868 | KeybindsFrame.Close.MouseButton1Click:Connect(function() | |
869 | enablebuttons() | |
870 | KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil) | |
871 | end) | |
872 | ||
873 | Holder.Settings.Keybinds.Select.MouseButton1Click:Connect(function() | |
874 | KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil) | |
875 | wait(0.5) | |
876 | disablebuttons() | |
877 | end) | |
878 | ||
879 | KeybindsFrame.Add.MouseButton1Click:Connect(function() | |
880 | KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0.5, 0), "InOut", "Quart", 0.5, true, nil) | |
881 | end) | |
882 | ||
883 | KeybindsFrame.Delete.MouseButton1Click:Connect(function() | |
884 | binds = {} | |
885 | refreshbinds() | |
886 | updatesaves() | |
887 | notify('Keybinds Updated','Removed all keybinds') | |
888 | end) | |
889 | ||
890 | AliasesFrame.Close.MouseButton1Click:Connect(function() | |
891 | enablebuttons() | |
892 | AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil) | |
893 | end) | |
894 | ||
895 | Settings.Aliases.Select.MouseButton1Click:Connect(function() | |
896 | AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil) | |
897 | wait(0.5) | |
898 | disablebuttons() | |
899 | end) | |
900 | ||
901 | local cmds={} | |
902 | local customAlias = {} | |
903 | AliasesFrame.Delete.MouseButton1Click:Connect(function() | |
904 | customAlias = {} | |
905 | aliases = {} | |
906 | notify('Aliases Modified','Removed all aliases') | |
907 | updatesaves() | |
908 | refreshaliases() | |
909 | end) | |
910 | ||
911 | Holder.Settings.Prefix.PrefixBox.Changed:connect(function(property) | |
912 | if property == "Text" then | |
913 | prefix = Holder.Settings.Prefix.PrefixBox.Text | |
914 | updatesaves() | |
915 | end | |
916 | end) | |
917 | ||
918 | function dragGUI(gui) | |
919 | spawn(function() | |
920 | local UserInputService = game:GetService("UserInputService") | |
921 | local dragging | |
922 | local dragInput | |
923 | local dragStart | |
924 | local startPos | |
925 | local function update(input) | |
926 | local delta = input.Position - dragStart | |
927 | gui:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y), "InOut", "Quart", 0.04, true, nil) | |
928 | end | |
929 | gui.InputBegan:Connect(function(input) | |
930 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
931 | dragging = true | |
932 | dragStart = input.Position | |
933 | startPos = gui.Position | |
934 | ||
935 | input.Changed:Connect(function() | |
936 | if input.UserInputState == Enum.UserInputState.End then | |
937 | dragging = false | |
938 | end | |
939 | end) | |
940 | end | |
941 | end) | |
942 | gui.InputChanged:Connect(function(input) | |
943 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then | |
944 | dragInput = input | |
945 | end | |
946 | end) | |
947 | UserInputService.InputChanged:Connect(function(input) | |
948 | if input == dragInput and dragging then | |
949 | update(input) | |
950 | end | |
951 | end) | |
952 | end) | |
953 | end | |
954 | ||
955 | local CSP = Holder | |
956 | local frame = CSP:WaitForChild('CMDs') | |
957 | ||
958 | Match = function(name,str) | |
959 | return name:lower():find(str:lower()) and true | |
960 | end | |
961 | ||
962 | canvasPos = nil | |
963 | IndexContents = function(str,bool,cmdbar,anim) | |
964 | local content = frame:GetChildren() | |
965 | if CMDsF.CanvasPosition.Y > 0 and #content == #CMDs then | |
966 | canvasPos = CMDsF.CanvasPosition.Y | |
967 | end | |
968 | CMDsF.CanvasPosition = Vector2.new(0,0) | |
969 | local Index,SizeY = 0,0 | |
970 | local indexnum = 0 | |
971 | for i,v in next, frame:GetChildren() do | |
972 | if bool then | |
973 | if Match(v.Text,str) then | |
974 | indexnum = indexnum + 1 | |
975 | Index = Index + 1 | |
976 | v.Position = UDim2.new(0,10,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y) | |
977 | v.Visible = true | |
978 | SizeY = SizeY + v.AbsoluteSize.Y | |
979 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
980 | else | |
981 | v.Visible = false | |
982 | end | |
983 | else | |
984 | v.Visible = true | |
985 | SizeY = SizeY + v.AbsoluteSize.Y | |
986 | frame.CanvasSize = UDim2.new(0,0,0,SizeY) | |
987 | end | |
988 | end | |
989 | if not anim then | |
990 | if indexnum == 0 or string.find(str, " ") then | |
991 | if not cmdbar then | |
992 | minimizeHolder() | |
993 | elseif cmdbar then | |
994 | cmdbarHolder() | |
995 | end | |
996 | else | |
997 | maximizeHolder() | |
998 | end | |
999 | else | |
1000 | minimizeHolder() | |
1001 | end | |
1002 | end | |
1003 | ||
1004 | local chatbox = Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar | |
1005 | chatbox.Changed:connect(function(property) | |
1006 | if property == "Text" then | |
1007 | if Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(1,1) == prefix then | |
1008 | maximizeHolder() | |
1009 | if SettingsOpen == true then | |
1010 | wait(0.2) | |
1011 | Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil) | |
1012 | SettingsOpen = false | |
1013 | end | |
1014 | IndexContents(Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true) | |
1015 | else | |
1016 | minimizeHolder() | |
1017 | if canvasPos ~= nil then | |
1018 | CMDsF.CanvasPosition = Vector2.new(0, canvasPos) | |
1019 | end | |
1020 | end | |
1021 | end | |
1022 | end) | |
1023 | ||
1024 | CMDs = { | |
1025 | 'rejoin', | |
1026 | 'exit', | |
1027 | 'serverinfo / info', | |
1028 | 'explorer / dex', | |
1029 | 'remotespy', | |
1030 | 'breakloops / break (cmd loops)', | |
1031 | '', | |
1032 | 'addalias [cmd] [alias]', | |
1033 | 'removealias [alias]', | |
1034 | 'clraliases', | |
1035 | '', | |
1036 | 'noclip', | |
1037 | 'clip', | |
1038 | 'fly', | |
1039 | 'unfly', | |
1040 | 'flyspeed [num]', | |
1041 | 'float', | |
1042 | 'unfloat', | |
1043 | '', | |
1044 | 'savepos / spos [name]', | |
1045 | 'deletepos / dpos [name]', | |
1046 | 'loadpos / lpos [name]', | |
1047 | '', | |
1048 | 'spam [text]', | |
1049 | 'unspam', | |
1050 | 'pmspam [plr] [text]', | |
1051 | 'unpmspam [plr]', | |
1052 | '', | |
1053 | 'esp [plr]', | |
1054 | 'noesp [plr]', | |
1055 | 'spectate / view [plr]', | |
1056 | 'unspectate / unview', | |
1057 | 'freecam / fc', | |
1058 | 'unfreecam / unfc', | |
1059 | 'freecamspeed / fcspeed [num]', | |
1060 | 'firstp', | |
1061 | 'thirdp', | |
1062 | 'maxzoom [num]', | |
1063 | 'fixcam', | |
1064 | '', | |
1065 | 'btools (CLIENT)', | |
1066 | 'f3x (CLIENT)', | |
1067 | 'delete [part name] (CLIENT)', | |
1068 | 'deleteclass / dc [class name] (CLIENT)', | |
1069 | 'lockworkspace / lockws', | |
1070 | 'unlockworkspace / unlockws', | |
1071 | '', | |
1072 | 'age [plr]', | |
1073 | 'os [plr]', | |
1074 | 'copytools [plr]', | |
1075 | 'bang [plr]', | |
1076 | 'fekill [plr] (need a tool)', | |
1077 | 'orbit [plr]', | |
1078 | 'unorbit [plr]', | |
1079 | 'loopoof', | |
1080 | 'unloopoof', | |
1081 | '', | |
1082 | 'respawn', | |
1083 | 'refresh / re', | |
1084 | 'god', | |
1085 | 'invisible / invis', | |
1086 | 'weaken', | |
1087 | 'strengthen', | |
1088 | 'unweaken', | |
1089 | 'unstrengthen', | |
1090 | 'speed / ws [num]', | |
1091 | 'hipheight / hheight [num]', | |
1092 | 'jumppower / grav [num]', | |
1093 | 'sit', | |
1094 | 'team [team name] (CLIENT)', | |
1095 | '', | |
1096 | 'goto [plr]', | |
1097 | 'loopgoto [plr]', | |
1098 | 'unloopgoto [plr]', | |
1099 | 'loopbring [plr] (CLIENT)', | |
1100 | 'unloopbring [plr]', | |
1101 | 'freeze / fr [plr] (CLIENT)', | |
1102 | 'thaw / unfr [plr]', | |
1103 | 'unloopgoto [plr]', | |
1104 | 'tppos [coordinate]', | |
1105 | 'offset [coordinate]', | |
1106 | 'spawnpoint / spawn', | |
1107 | 'nospawnpoint / nospawn', | |
1108 | '', | |
1109 | 'animation / anim [anim] [speed]', | |
1110 | 'dance', | |
1111 | 'spasm', | |
1112 | 'spinhats', | |
1113 | 'unspinhats', | |
1114 | 'noarms', | |
1115 | 'nolegs', | |
1116 | 'nolimbs', | |
1117 | 'naked', | |
1118 | '', | |
1119 | 'tools', | |
1120 | 'keeptools / ktools', | |
1121 | 'nokeeptools / noktools', | |
1122 | 'notools/removetools', | |
1123 | 'grabtools', | |
1124 | 'ungrabtools', | |
1125 | 'givetools [plr]', | |
1126 | 'copytools [plr]', | |
1127 | } | |
1128 | ||
1129 | for i = 1, #CMDs do | |
1130 | local newcmd = Holder.Example:Clone() | |
1131 | newcmd.Parent = Holder.CMDs | |
1132 | newcmd.Visible = false | |
1133 | newcmd.Text = "" .. CMDs[i] | |
1134 | newcmd.Name = 'CMD' | |
1135 | end | |
1136 | ||
1137 | wait(0.5) | |
1138 | Logo:TweenSizeAndPosition(UDim2.new(0,175,0,175),UDim2.new(0,37,0,45), "Out", "Quart", 0.5) | |
1139 | wait(1.5) | |
1140 | for i=1,10 do | |
1141 | Logo.ImageTransparency = Logo.ImageTransparency+0.1 | |
1142 | wait() | |
1143 | end | |
1144 | Logo:Destroy() | |
1145 | minimizeHolder() | |
1146 | IndexContents('',true) | |
1147 | ||
1148 | function FindInTable(Table, Name) | |
1149 | for i,v in pairs(Table) do | |
1150 | if v == Name then | |
1151 | return true | |
1152 | end | |
1153 | end | |
1154 | return false | |
1155 | end | |
1156 | ||
1157 | ||
1158 | function GetInTable(Table, Name) | |
1159 | for i = 1, #Table do | |
1160 | if Table[i] == Name then | |
1161 | return i | |
1162 | end | |
1163 | end | |
1164 | return false | |
1165 | end | |
1166 | ||
1167 | function respawn(plr) | |
1168 | local M = Instance.new('Model', workspace) M.Name = 'respawn_iy' | |
1169 | local H = Instance.new('Humanoid', M) | |
1170 | local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1 | |
1171 | plr.Character = M | |
1172 | end | |
1173 | ||
1174 | function refresh(plr) | |
1175 | spawn(function() | |
1176 | local rpos = plr.Character.HumanoidRootPart.Position | |
1177 | wait(0.1) | |
1178 | plr.Character:Destroy() | |
1179 | respawn(plr) | |
1180 | wait(0.1) | |
1181 | repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart') | |
1182 | plr.Character:MoveTo(rpos) | |
1183 | end) | |
1184 | end | |
1185 | ||
1186 | Players.LocalPlayer.CharacterAdded:Connect(function() | |
1187 | wait(0.3) | |
1188 | if spawnpoint and spawnpos ~= nil then | |
1189 | Players.LocalPlayer.Character.HumanoidRootPart.CFrame = spawnpos | |
1190 | end | |
1191 | end) | |
1192 | ||
1193 | local std={} | |
1194 | std.inTable=function(tbl,val) | |
1195 | if tbl==nil then return false end | |
1196 | for _,v in pairs(tbl)do | |
1197 | if v==val then return true end | |
1198 | end | |
1199 | return false | |
1200 | end | |
1201 | ||
1202 | function getstring(lower, start) | |
1203 | local AA = '' for i,v in pairs(cargs) do | |
1204 | if i > start then | |
1205 | if AA ~= '' then | |
1206 | AA = AA .. ' ' .. v | |
1207 | else | |
1208 | AA = AA .. v | |
1209 | end | |
1210 | end | |
1211 | end | |
1212 | if not lower then | |
1213 | return AA | |
1214 | else | |
1215 | return string.lower(AA) | |
1216 | end | |
1217 | end | |
1218 | ||
1219 | local findCmd=function(cmd_name) | |
1220 | for i,v in pairs(cmds)do | |
1221 | if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then | |
1222 | return v | |
1223 | end | |
1224 | end | |
1225 | return customAlias[cmd_name:lower()] | |
1226 | end | |
1227 | ||
1228 | local function splitString(str,delim) | |
1229 | local broken = {} | |
1230 | if delim == nil then delim = "," end | |
1231 | for w in string.gmatch(str,"[^"..delim.."]+") do | |
1232 | table.insert(broken,w) | |
1233 | end | |
1234 | return broken | |
1235 | end | |
1236 | ||
1237 | local historyCount = 0 | |
1238 | local cmdHistory = {} | |
1239 | local split=" " | |
1240 | lastBreakTime = 0 | |
1241 | local function execCmd(cmdStr,speaker) | |
1242 | spawn(function() | |
1243 | local rawCmdStr = cmdStr | |
1244 | cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%") | |
1245 | local commandsToRun = splitString(cmdStr,"\\") | |
1246 | for i,v in pairs(commandsToRun) do | |
1247 | v = string.gsub(v,"%%BackSlash%%","\\") | |
1248 | local x,y,num = v:find("^(%d+)%^") | |
1249 | local cmdDelay = 0 | |
1250 | if num then | |
1251 | v = v:sub(y+1) | |
1252 | local x,y,del = v:find("^([%d%.]+)%^") | |
1253 | if del then | |
1254 | v = v:sub(y+1) | |
1255 | cmdDelay = tonumber(del) or 0 | |
1256 | end | |
1257 | end | |
1258 | num = tonumber(num or 1) | |
1259 | local args = splitString(v,split) | |
1260 | local cmd = findCmd(args[1]) | |
1261 | if cmd then | |
1262 | table.remove(args,1) | |
1263 | cargs = args | |
1264 | if speaker == Players.LocalPlayer then | |
1265 | if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end | |
1266 | end | |
1267 | if #cmdHistory > 20 then table.remove(cmdHistory) end | |
1268 | local cmdStartTime = tick() | |
1269 | for rep = 1,num do | |
1270 | if lastBreakTime > cmdStartTime then break end | |
1271 | pcall(function() | |
1272 | cmd.FUNC(args, speaker) | |
1273 | end) | |
1274 | if cmdDelay ~= 0 then wait(cmdDelay) end | |
1275 | end | |
1276 | end | |
1277 | end | |
1278 | end) | |
1279 | end | |
1280 | ||
1281 | function addcmd(name,desc,alias,func) | |
1282 | cmds[#cmds+1]= | |
1283 | { | |
1284 | NAME=name; | |
1285 | DESC=desc; | |
1286 | ALIAS=alias; | |
1287 | FUNC=func; | |
1288 | } | |
1289 | end | |
1290 | ||
1291 | function addbind(cmd,key) | |
1292 | binds[#binds+1]= | |
1293 | { | |
1294 | COMMAND=cmd; | |
1295 | KEY=key; | |
1296 | } | |
1297 | end | |
1298 | ||
1299 | local SpecialPlayerCases = { | |
1300 | ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end, | |
1301 | ["others"] = function(speaker) | |
1302 | local plrs = {} | |
1303 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1304 | if v ~= speaker then | |
1305 | table.insert(plrs,v) | |
1306 | end | |
1307 | end | |
1308 | return plrs | |
1309 | end, | |
1310 | ["me"] = function(speaker)return {speaker} end, | |
1311 | ["#(%d+)"] = function(speaker,args,currentList) | |
1312 | local returns = {} | |
1313 | local randAmount = tonumber(args[1]) | |
1314 | local players = {unpack(currentList)} | |
1315 | for i = 1,randAmount do | |
1316 | if #players == 0 then break end | |
1317 | local randIndex = math.random(1,#players) | |
1318 | table.insert(returns,players[randIndex]) | |
1319 | table.remove(players,randIndex) | |
1320 | end | |
1321 | return returns | |
1322 | end, | |
1323 | ["random"] = function(speaker,args,currentList) | |
1324 | local players = currentList | |
1325 | return {players[math.random(1,#players)]} | |
1326 | end, | |
1327 | ["%%(.+)"] = function(speaker,args) | |
1328 | local returns = {} | |
1329 | local team = args[1] | |
1330 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1331 | if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then | |
1332 | table.insert(returns,plr) | |
1333 | end | |
1334 | end | |
1335 | return returns | |
1336 | end, | |
1337 | ["allies"] = function(speaker) | |
1338 | local returns = {} | |
1339 | local team = speaker.Team | |
1340 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1341 | if plr.Team == team then | |
1342 | table.insert(returns,plr) | |
1343 | end | |
1344 | end | |
1345 | return returns | |
1346 | end, | |
1347 | ["enemies"] = function(speaker) | |
1348 | local returns = {} | |
1349 | local team = speaker.Team | |
1350 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1351 | if plr.Team ~= team then | |
1352 | table.insert(returns,plr) | |
1353 | end | |
1354 | end | |
1355 | return returns | |
1356 | end, | |
1357 | ["team"] = function(speaker) | |
1358 | local returns = {} | |
1359 | local team = speaker.Team | |
1360 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1361 | if plr.Team == team then | |
1362 | table.insert(returns,plr) | |
1363 | end | |
1364 | end | |
1365 | return returns | |
1366 | end, | |
1367 | ["nonteam"] = function(speaker) | |
1368 | local returns = {} | |
1369 | local team = speaker.Team | |
1370 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1371 | if plr.Team ~= team then | |
1372 | table.insert(returns,plr) | |
1373 | end | |
1374 | end | |
1375 | return returns | |
1376 | end, | |
1377 | ["friends"] = function(speaker,args) | |
1378 | local returns = {} | |
1379 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1380 | if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1381 | table.insert(returns,plr) | |
1382 | end | |
1383 | end | |
1384 | return returns | |
1385 | end, | |
1386 | ["nonfriends"] = function(speaker,args) | |
1387 | local returns = {} | |
1388 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1389 | if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then | |
1390 | table.insert(returns,plr) | |
1391 | end | |
1392 | end | |
1393 | return returns | |
1394 | end, | |
1395 | ["guests"] = function(speaker,args) | |
1396 | local returns = {} | |
1397 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1398 | if plr.Guest then | |
1399 | table.insert(returns,plr) | |
1400 | end | |
1401 | end | |
1402 | return returns | |
1403 | end, | |
1404 | ["bacons"] = function(speaker,args) | |
1405 | local returns = {} | |
1406 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1407 | if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then | |
1408 | table.insert(returns,plr) | |
1409 | end | |
1410 | end | |
1411 | return returns | |
1412 | end, | |
1413 | ["age(%d+)"] = function(speaker,args) | |
1414 | local returns = {} | |
1415 | local age = tonumber(args[1]) | |
1416 | if not age == nil then return end | |
1417 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1418 | if plr.AccountAge <= age then | |
1419 | table.insert(returns,plr) | |
1420 | end | |
1421 | end | |
1422 | return returns | |
1423 | end, | |
1424 | ["rad(%d+)"] = function(speaker,args) | |
1425 | local returns = {} | |
1426 | local radius = tonumber(args[1]) | |
1427 | local speakerChar = speaker.Character | |
1428 | if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end | |
1429 | for _,plr in pairs(game:GetService("Players"):GetPlayers()) do | |
1430 | if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then | |
1431 | local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude | |
1432 | if magnitude <= radius then table.insert(returns,plr) end | |
1433 | end | |
1434 | end | |
1435 | return returns | |
1436 | end | |
1437 | } | |
1438 | ||
1439 | local function toTokens(str) | |
1440 | local tokens = {} | |
1441 | for op,name in string.gmatch(str,"([+-])([^+-]+)") do | |
1442 | table.insert(tokens,{Operator = op,Name = name}) | |
1443 | end | |
1444 | return tokens | |
1445 | end | |
1446 | ||
1447 | local function onlyIncludeInTable(tab,matches) | |
1448 | local matchTable = {} | |
1449 | local resultTable = {} | |
1450 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1451 | for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end | |
1452 | return resultTable | |
1453 | end | |
1454 | ||
1455 | local function removeTableMatches(tab,matches) | |
1456 | local matchTable = {} | |
1457 | local resultTable = {} | |
1458 | for i,v in pairs(matches) do matchTable[v.Name] = true end | |
1459 | for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end | |
1460 | return resultTable | |
1461 | end | |
1462 | ||
1463 | local function getPlayersByName(name) | |
1464 | local found = {} | |
1465 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1466 | if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then | |
1467 | table.insert(found,v) | |
1468 | end | |
1469 | end | |
1470 | return found | |
1471 | end | |
1472 | ||
1473 | local function getPlayer(list,speaker) | |
1474 | if list == nil then return {speaker.Name} end | |
1475 | local nameList = splitString(list,",") | |
1476 | ||
1477 | local foundList = {} | |
1478 | ||
1479 | for _,name in pairs(nameList) do | |
1480 | if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end | |
1481 | local tokens = toTokens(name) | |
1482 | local initialPlayers = game:GetService("Players"):GetPlayers() | |
1483 | ||
1484 | for i,v in pairs(tokens) do | |
1485 | if v.Operator == "+" then | |
1486 | local tokenContent = v.Name | |
1487 | local foundCase = false | |
1488 | for regex,case in pairs(SpecialPlayerCases) do | |
1489 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1490 | if #matches > 0 then | |
1491 | foundCase = true | |
1492 | initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers)) | |
1493 | end | |
1494 | end | |
1495 | if not foundCase then | |
1496 | initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent)) | |
1497 | end | |
1498 | else | |
1499 | local tokenContent = v.Name | |
1500 | local foundCase = false | |
1501 | for regex,case in pairs(SpecialPlayerCases) do | |
1502 | local matches = {string.match(tokenContent,"^"..regex.."$")} | |
1503 | if #matches > 0 then | |
1504 | foundCase = true | |
1505 | initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers)) | |
1506 | end | |
1507 | end | |
1508 | if not foundCase then | |
1509 | initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent)) | |
1510 | end | |
1511 | end | |
1512 | end | |
1513 | ||
1514 | for i,v in pairs(initialPlayers) do table.insert(foundList,v) end | |
1515 | end | |
1516 | ||
1517 | local foundNames = {} | |
1518 | for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end | |
1519 | ||
1520 | return foundNames | |
1521 | end | |
1522 | ||
1523 | local getprfx=function(strn) | |
1524 | if strn:sub(1,string.len(prefix))==prefix then return{'cmd',string.len(prefix)+1} | |
1525 | end return | |
1526 | end | |
1527 | ||
1528 | function do_exec(str, plr) | |
1529 | str = str:gsub('/e ', '') | |
1530 | local t = getprfx(str) | |
1531 | if not t then return end | |
1532 | str = str:sub(t[2]) | |
1533 | if t[1]=='cmd' then | |
1534 | execCmd(str, plr) | |
1535 | IndexContents('',true,false,true) | |
1536 | if canvasPos ~= nil then | |
1537 | CMDsF.CanvasPosition = Vector2.new(0, canvasPos) | |
1538 | end | |
1539 | end | |
1540 | end | |
1541 | ||
1542 | ||
1543 | Players.LocalPlayer.Chatted:connect(function(message) | |
1544 | do_exec(message, Players.LocalPlayer) | |
1545 | end) | |
1546 | ||
1547 | Holder.Cmdbar.Changed:connect(function(property) | |
1548 | if property == "Text" and Holder.Cmdbar:IsFocused() then | |
1549 | IndexContents(Holder.Cmdbar.Text,true,true) | |
1550 | end | |
1551 | end) | |
1552 | ||
1553 | Holder.Cmdbar.FocusLost:connect(function(enterpressed) | |
1554 | if enterpressed then | |
1555 | execCmd(Holder.Cmdbar.Text,Players.LocalPlayer) | |
1556 | end | |
1557 | Holder.Cmdbar.Text = "Command Bar" | |
1558 | IndexContents('',true,false,true) | |
1559 | if canvasPos ~= nil then | |
1560 | CMDsF.CanvasPosition = Vector2.new(0, canvasPos) | |
1561 | end | |
1562 | end) | |
1563 | ||
1564 | Holder.Cmdbar.Focused:Connect(function() historyCount = 0 end) | |
1565 | game:GetService("UserInputService").InputBegan:Connect(function(input) | |
1566 | if not Holder.Cmdbar:IsFocused() then return end | |
1567 | if input.KeyCode == Enum.KeyCode.Up then | |
1568 | historyCount = historyCount + 1 | |
1569 | if historyCount > #cmdHistory then historyCount = #cmdHistory end | |
1570 | Holder.Cmdbar.Text = cmdHistory[historyCount] or "" | |
1571 | elseif input.KeyCode == Enum.KeyCode.Down then | |
1572 | historyCount = historyCount - 1 | |
1573 | if historyCount < 1 then historyCount = 1 end | |
1574 | Holder.Cmdbar.Text = cmdHistory[historyCount] or "" | |
1575 | end | |
1576 | end) | |
1577 | ||
1578 | function isNumber(str) | |
1579 | return tonumber(str) ~= nil | |
1580 | end | |
1581 | ||
1582 | local UserInputService = game:GetService("UserInputService") | |
1583 | bindsGUI = KeybindEditor | |
1584 | awaitingInput = false | |
1585 | keySelected = false | |
1586 | ||
1587 | function refreshbinds() | |
1588 | if Holder_2 then | |
1589 | Holder_2:ClearAllChildren() | |
1590 | Holder_2.CanvasSize = UDim2.new(0, 0, 0, 10) | |
1591 | for i = 1, #binds do | |
1592 | local YSize = 25 | |
1593 | local Position = ((i * YSize) - YSize) | |
1594 | local newbind = Example_2:Clone() | |
1595 | newbind.Parent = Holder_2 | |
1596 | newbind.Visible = true | |
1597 | newbind.Position = UDim2.new(0,0,0, Position + 5) | |
1598 | local input = tostring(binds[i].KEY) | |
1599 | local key | |
1600 | if input == 'RightClick' or input == 'LeftClick' then | |
1601 | key = input | |
1602 | else | |
1603 | key = input:sub(14) | |
1604 | end | |
1605 | newbind.Text.Text = key.." > "..binds[i].COMMAND | |
1606 | Holder_2.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
1607 | newbind.Text.Delete.MouseButton1Click:Connect(function() | |
1608 | execCmd('unkeybind '..binds[i].COMMAND..' '..binds[i].KEY) | |
1609 | end) | |
1610 | end | |
1611 | end | |
1612 | end | |
1613 | ||
1614 | refreshbinds() | |
1615 | ||
1616 | function refreshaliases() | |
1617 | if Holder_3 then | |
1618 | Holder_3:ClearAllChildren() | |
1619 | Holder_3.CanvasSize = UDim2.new(0, 0, 0, 10) | |
1620 | for i = 1, #aliases do | |
1621 | local YSize = 25 | |
1622 | local Position = ((i * YSize) - YSize) | |
1623 | local newbind = Example_3:Clone() | |
1624 | newbind.Parent = Holder_3 | |
1625 | newbind.Visible = true | |
1626 | newbind.Position = UDim2.new(0,0,0, Position + 5) | |
1627 | newbind.Text.Text = aliases[i].CMD.." > "..aliases[i].ALIAS | |
1628 | Holder_3.CanvasSize = UDim2.new(0,0,0, Position + 30) | |
1629 | newbind.Text.Delete.MouseButton1Click:Connect(function() | |
1630 | execCmd('removealias '..aliases[i].ALIAS) | |
1631 | end) | |
1632 | end | |
1633 | end | |
1634 | end | |
1635 | ||
1636 | BindTo.MouseButton1Click:Connect(function() | |
1637 | awaitingInput = true | |
1638 | BindTo.Text = 'Press something' | |
1639 | end) | |
1640 | ||
1641 | bindsGUI.Add.MouseButton1Click:Connect(function() | |
1642 | if keySelected then | |
1643 | addbind(bindsGUI.Cmdbar.Text,keyPressed) | |
1644 | refreshbinds() | |
1645 | updatesaves() | |
1646 | if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then | |
1647 | notify('Keybinds Updated','Binded '..keyPressed..' to '..bindsGUI.Cmdbar.Text) | |
1648 | else | |
1649 | notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to '..bindsGUI.Cmdbar.Text) | |
1650 | end | |
1651 | end | |
1652 | end) | |
1653 | ||
1654 | bindsGUI.CloseButton.MouseButton1Click:Connect(function() | |
1655 | Cmdbar.Text = 'Command' | |
1656 | BindTo.Text = 'Click to bind' | |
1657 | keySelected = false | |
1658 | KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0.5, 500), "InOut", "Quart", 0.5, true, nil) | |
1659 | end) | |
1660 | ||
1661 | local function onInputBegan(input,gameProcessed) | |
1662 | if awaitingInput then | |
1663 | if input.UserInputType == Enum.UserInputType.Keyboard then | |
1664 | keyPressed = tostring(input.KeyCode) | |
1665 | BindTo.Text = keyPressed:sub(14) | |
1666 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then | |
1667 | keyPressed = 'LeftClick' | |
1668 | BindTo.Text = 'LeftClick' | |
1669 | elseif input.UserInputType == Enum.UserInputType.MouseButton2 then | |
1670 | keyPressed = 'RightClick' | |
1671 | BindTo.Text = 'RightClick' | |
1672 | end | |
1673 | awaitingInput = false | |
1674 | keySelected = true | |
1675 | end | |
1676 | if not gameProcessed and #binds > 0 then | |
1677 | for i,v in pairs(binds)do | |
1678 | if input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower() then | |
1679 | execCmd(v.COMMAND) | |
1680 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick' then | |
1681 | execCmd(v.COMMAND) | |
1682 | elseif input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick' then | |
1683 | execCmd(v.COMMAND) | |
1684 | end | |
1685 | end | |
1686 | end | |
1687 | end | |
1688 | ||
1689 | UserInputService.InputBegan:connect(onInputBegan) | |
1690 | ||
1691 | game:GetService("RunService").RenderStepped:Connect(function() | |
1692 | if r15noclip then | |
1693 | if Players.LocalPlayer.Character:FindFirstChild('Humanoid') then | |
1694 | Players.LocalPlayer.Character.Humanoid:ChangeState(11) | |
1695 | end | |
1696 | end | |
1697 | end) | |
1698 | ||
1699 | game:GetService('RunService').Stepped:connect(function() | |
1700 | if bangplr then | |
1701 | Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[bangplr].Character.HumanoidRootPart.CFrame | |
1702 | end | |
1703 | if spinenabled then | |
1704 | pcall(function() | |
1705 | spinning.Position = Players.LocalPlayer.Character.Head.Position | |
1706 | end) | |
1707 | end | |
1708 | end) | |
1709 | ||
1710 | KeybindEditor.Toggles.Fly.Select.MouseButton1Click:Connect(function() | |
1711 | if keySelected then | |
1712 | addbind('togglefly',keyPressed) | |
1713 | refreshbinds() | |
1714 | updatesaves() | |
1715 | if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then | |
1716 | notify('Keybinds Updated','Binded '..keyPressed..' to toggle fly') | |
1717 | else | |
1718 | notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle fly') | |
1719 | end | |
1720 | end | |
1721 | end) | |
1722 | ||
1723 | KeybindEditor.Toggles.Noclip.Select.MouseButton1Click:Connect(function() | |
1724 | if keySelected then | |
1725 | addbind('togglenoclip',keyPressed) | |
1726 | refreshbinds() | |
1727 | updatesaves() | |
1728 | if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then | |
1729 | notify('Keybinds Updated','Binded '..keyPressed..' to toggle noclip') | |
1730 | else | |
1731 | notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle noclip') | |
1732 | end | |
1733 | end | |
1734 | end) | |
1735 | ||
1736 | KeybindEditor.Toggles.Float.Select.MouseButton1Click:Connect(function() | |
1737 | if keySelected then | |
1738 | addbind('togglefloat',keyPressed) | |
1739 | refreshbinds() | |
1740 | updatesaves() | |
1741 | if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then | |
1742 | notify('Keybinds Updated','Binded '..keyPressed..' to toggle float') | |
1743 | else | |
1744 | notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle float') | |
1745 | end | |
1746 | end | |
1747 | end) | |
1748 | ||
1749 | addcmd('addalias','Adds an alias to a command',{}, | |
1750 | function(args,speaker) | |
1751 | if #args < 2 then return end | |
1752 | local cmd = string.lower(args[1]) | |
1753 | local alias = string.lower(args[2]) | |
1754 | for i,v in pairs(cmds) do | |
1755 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1756 | customAlias[alias] = v | |
1757 | aliases[#aliases + 1] = {CMD = cmd, ALIAS = alias} | |
1758 | notify('Aliases Modified',"Added "..alias.." as an alias to "..cmd) | |
1759 | updatesaves() | |
1760 | refreshaliases() | |
1761 | break | |
1762 | end | |
1763 | end | |
1764 | end) | |
1765 | ||
1766 | addcmd('loadsavedaliases','dab',{}, | |
1767 | function(args,speaker) | |
1768 | if #args < 2 then return end | |
1769 | local cmd = string.lower(args[1]) | |
1770 | local alias = string.lower(args[2]) | |
1771 | for i,v in pairs(cmds) do | |
1772 | if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then | |
1773 | customAlias[alias] = v | |
1774 | refreshaliases() | |
1775 | break | |
1776 | end | |
1777 | end | |
1778 | end) | |
1779 | ||
1780 | if aliases then | |
1781 | for i = 1, #aliases do | |
1782 | execCmd('loadsavedaliases '..aliases[i].CMD..' '..aliases[i].ALIAS) | |
1783 | end | |
1784 | end | |
1785 | ||
1786 | addcmd('removealias','Removes a custom alias',{}, | |
1787 | function(args,speaker) | |
1788 | if #args < 1 then return end | |
1789 | local alias = string.lower(args[1]) | |
1790 | if customAlias[alias] then | |
1791 | local cmd = customAlias[alias].NAME | |
1792 | customAlias[alias] = nil | |
1793 | for i,v in pairs(aliases) do | |
1794 | if v.ALIAS == tostring(alias) then | |
1795 | table.remove(aliases, i) | |
1796 | end | |
1797 | end | |
1798 | notify('Aliases Modified',"Removed the alias "..alias.." from "..cmd) | |
1799 | updatesaves() | |
1800 | refreshaliases() | |
1801 | end | |
1802 | end) | |
1803 | ||
1804 | addcmd('clraliases','Removes all custom aliases',{}, | |
1805 | function(args,speaker) | |
1806 | customAlias = {} | |
1807 | aliases = {} | |
1808 | notify('Aliases Modified','Removed all aliases') | |
1809 | updatesaves() | |
1810 | refreshaliases() | |
1811 | end) | |
1812 | ||
1813 | addcmd('serverinfo', 'Gives you info about the server',{'info','sinfo'}, | |
1814 | function(args, speaker) | |
1815 | local Sinfo = Instance.new("ScreenGui") | |
1816 | local drag = Instance.new("Frame") | |
1817 | local PromptDialog = Instance.new("Frame") | |
1818 | local shadow = Instance.new("Frame") | |
1819 | local PopupText = Instance.new("TextLabel") | |
1820 | local Exit = Instance.new("TextButton") | |
1821 | local ContainerFrame = Instance.new("Frame") | |
1822 | local TextLabel = Instance.new("TextLabel") | |
1823 | local TextLabel2 = Instance.new("TextLabel") | |
1824 | local TextLabel3 = Instance.new("TextLabel") | |
1825 | local Time = Instance.new("TextLabel") | |
1826 | local appearance = Instance.new("TextLabel") | |
1827 | local fe = Instance.new("TextLabel") | |
1828 | local maxplayers = Instance.new("TextLabel") | |
1829 | local name = Instance.new("TextLabel") | |
1830 | local placeid = Instance.new("TextLabel") | |
1831 | local playerid = Instance.new("TextLabel") | |
1832 | local players = Instance.new("TextLabel") | |
1833 | Sinfo.Name = "Sinfo" | |
1834 | Sinfo.Parent = game:GetService("CoreGui").RobloxGui | |
1835 | drag.Name = "drag" | |
1836 | drag.Parent = Sinfo | |
1837 | drag.Active = true | |
1838 | drag.BackgroundColor3 = Color3.new(1, 1, 1) | |
1839 | drag.BackgroundTransparency = 1 | |
1840 | dragGUI(drag) | |
1841 | drag.Position = UDim2.new(0.5, -150, 0, -400) | |
1842 | drag.Size = UDim2.new(0, 290, 0, 30) | |
1843 | PromptDialog.Name = "PromptDialog" | |
1844 | PromptDialog.Parent = drag | |
1845 | PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) | |
1846 | PromptDialog.BackgroundTransparency = 1 | |
1847 | PromptDialog.BorderSizePixel = 0 | |
1848 | PromptDialog.Position = UDim2.new(0, -10, 0, 0) | |
1849 | PromptDialog.Size = UDim2.new(0, 310, 0, 300) | |
1850 | PromptDialog.ZIndex = 8 | |
1851 | shadow.Name = "shadow" | |
1852 | shadow.Parent = PromptDialog | |
1853 | shadow.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
1854 | shadow.BackgroundTransparency = 0.30000001192093 | |
1855 | shadow.BorderColor3 = Color3.new(0, 0, 0) | |
1856 | shadow.BorderSizePixel = 0 | |
1857 | shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0) | |
1858 | shadow.Size = UDim2.new(0, 290, 0, 26) | |
1859 | PopupText.Name = "PopupText" | |
1860 | PopupText.Parent = shadow | |
1861 | PopupText.BackgroundTransparency = 1 | |
1862 | PopupText.Position = UDim2.new(0, 8, 0, -3) | |
1863 | PopupText.Size = UDim2.new(1, -16, 0.538461566, 0) | |
1864 | PopupText.ZIndex = 110 | |
1865 | PopupText.Font = Enum.Font.SourceSansBold | |
1866 | PopupText.FontSize = Enum.FontSize.Size28 | |
1867 | PopupText.Text = "Server" | |
1868 | PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) | |
1869 | PopupText.TextStrokeTransparency = 0 | |
1870 | PopupText.TextWrapped = true | |
1871 | PopupText.TextYAlignment = Enum.TextYAlignment.Top | |
1872 | Exit.Name = "Exit" | |
1873 | Exit.Parent = shadow | |
1874 | Exit.BackgroundColor3 = Color3.new(1, 0, 0) | |
1875 | Exit.BackgroundTransparency = 0.30000001192093 | |
1876 | Exit.BorderColor3 = Color3.new(1, 0, 0) | |
1877 | Exit.BorderSizePixel = 0 | |
1878 | Exit.Position = UDim2.new(0, 267, 0, 3) | |
1879 | Exit.Size = UDim2.new(0, 20, 0, 20) | |
1880 | Exit.FontSize = Enum.FontSize.Size14 | |
1881 | Exit.Text = "" | |
1882 | ContainerFrame.Name = "ContainerFrame" | |
1883 | ContainerFrame.Parent = PromptDialog | |
1884 | ContainerFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) | |
1885 | ContainerFrame.BackgroundTransparency = 0.5 | |
1886 | ContainerFrame.BorderColor3 = Color3.new(0, 0, 0) | |
1887 | ContainerFrame.BorderSizePixel = 0 | |
1888 | ContainerFrame.Position = UDim2.new(0, 10, 0, 29) | |
1889 | ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0) | |
1890 | ContainerFrame.ZIndex = 5 | |
1891 | TextLabel.Name = "Text Label" | |
1892 | TextLabel.Parent = ContainerFrame | |
1893 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
1894 | TextLabel.BackgroundTransparency = 1 | |
1895 | TextLabel.BorderColor3 = Color3.new(0, 0, 0) | |
1896 | TextLabel.Position = UDim2.new(0, 10, 0, 70) | |
1897 | TextLabel.Size = UDim2.new(0, 100, 0, 20) | |
1898 | TextLabel.ZIndex = 10 | |
1899 | TextLabel.Font = Enum.Font.SourceSans | |
1900 | TextLabel.FontSize = Enum.FontSize.Size24 | |
1901 | TextLabel.Text = "Run Time:" | |
1902 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
1903 | TextLabel.TextStrokeTransparency = 0 | |
1904 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left | |
1905 | TextLabel2.Name = "Text Label2" | |
1906 | TextLabel2.Parent = ContainerFrame | |
1907 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
1908 | TextLabel2.BackgroundTransparency = 1 | |
1909 | TextLabel2.BorderColor3 = Color3.new(0, 0, 0) | |
1910 | TextLabel2.Position = UDim2.new(0, 10, 0, 120) | |
1911 | TextLabel2.Size = UDim2.new(0, 100, 0, 20) | |
1912 | TextLabel2.ZIndex = 10 | |
1913 | TextLabel2.Font = Enum.Font.SourceSans | |
1914 | TextLabel2.FontSize = Enum.FontSize.Size24 | |
1915 | TextLabel2.Text = "Statistics:" | |
1916 | TextLabel2.TextColor3 = Color3.new(1, 1, 1) | |
1917 | TextLabel2.TextStrokeTransparency = 0 | |
1918 | TextLabel2.TextXAlignment = Enum.TextXAlignment.Left | |
1919 | TextLabel3.Name = "Text Label3" | |
1920 | TextLabel3.Parent = ContainerFrame | |
1921 | TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) | |
1922 | TextLabel3.BackgroundTransparency = 1 | |
1923 | TextLabel3.BorderColor3 = Color3.new(0, 0, 0) | |
1924 | TextLabel3.Position = UDim2.new(0, 10, 0, 0) | |
1925 | TextLabel3.Size = UDim2.new(0, 100, 0, 20) | |
1926 | TextLabel3.ZIndex = 10 | |
1927 | TextLabel3.Font = Enum.Font.SourceSans | |
1928 | TextLabel3.FontSize = Enum.FontSize.Size24 | |
1929 | TextLabel3.Text = "Local Player:" | |
1930 | TextLabel3.TextColor3 = Color3.new(1, 1, 1) | |
1931 | TextLabel3.TextStrokeTransparency = 0 | |
1932 | TextLabel3.TextXAlignment = Enum.TextXAlignment.Left | |
1933 | Time.Name = "Time" | |
1934 | Time.Parent = ContainerFrame | |
1935 | Time.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1936 | Time.BackgroundTransparency = 1 | |
1937 | Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1938 | Time.Position = UDim2.new(0, 10, 0, 90) | |
1939 | Time.Size = UDim2.new(0, 100, 0, 20) | |
1940 | Time.ZIndex = 100 | |
1941 | Time.Font = Enum.Font.ArialBold | |
1942 | Time.FontSize = Enum.FontSize.Size14 | |
1943 | Time.Text = "Loading..." | |
1944 | Time.TextColor3 = Color3.new(1, 1, 1) | |
1945 | Time.TextStrokeTransparency = 0 | |
1946 | Time.TextXAlignment = Enum.TextXAlignment.Left | |
1947 | appearance.Name = "appearance" | |
1948 | appearance.Parent = ContainerFrame | |
1949 | appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1950 | appearance.BackgroundTransparency = 1 | |
1951 | appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1952 | appearance.Position = UDim2.new(0, 10, 0, 40) | |
1953 | appearance.Size = UDim2.new(0, 100, 0, 20) | |
1954 | appearance.ZIndex = 10 | |
1955 | appearance.Font = Enum.Font.ArialBold | |
1956 | appearance.FontSize = Enum.FontSize.Size14 | |
1957 | appearance.Text = "Appearance: Loading..." | |
1958 | appearance.TextColor3 = Color3.new(1, 1, 1) | |
1959 | appearance.TextStrokeTransparency = 0 | |
1960 | appearance.TextXAlignment = Enum.TextXAlignment.Left | |
1961 | fe.Name = "fe" | |
1962 | fe.Parent = ContainerFrame | |
1963 | fe.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1964 | fe.BackgroundTransparency = 1 | |
1965 | fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1966 | fe.Position = UDim2.new(0, 10, 0, 200) | |
1967 | fe.Size = UDim2.new(0, 100, 0, 20) | |
1968 | fe.ZIndex = 10 | |
1969 | fe.Font = Enum.Font.ArialBold | |
1970 | fe.FontSize = Enum.FontSize.Size14 | |
1971 | fe.Text = "Loading..." | |
1972 | fe.TextColor3 = Color3.new(1, 1, 1) | |
1973 | fe.TextStrokeTransparency = 0 | |
1974 | fe.TextXAlignment = Enum.TextXAlignment.Left | |
1975 | maxplayers.Name = "maxplayers" | |
1976 | maxplayers.Parent = ContainerFrame | |
1977 | maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1978 | maxplayers.BackgroundTransparency = 1 | |
1979 | maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1980 | maxplayers.Position = UDim2.new(0, 10, 0, 160) | |
1981 | maxplayers.Size = UDim2.new(0, 100, 0, 20) | |
1982 | maxplayers.ZIndex = 10 | |
1983 | maxplayers.Font = Enum.Font.ArialBold | |
1984 | maxplayers.FontSize = Enum.FontSize.Size14 | |
1985 | maxplayers.Text = "Loading..." | |
1986 | maxplayers.TextColor3 = Color3.new(1, 1, 1) | |
1987 | maxplayers.TextStrokeTransparency = 0 | |
1988 | maxplayers.TextXAlignment = Enum.TextXAlignment.Left | |
1989 | name.Name = "name" | |
1990 | name.Parent = ContainerFrame | |
1991 | name.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
1992 | name.BackgroundTransparency = 1 | |
1993 | name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
1994 | name.Position = UDim2.new(0, 10, 0, 180) | |
1995 | name.Size = UDim2.new(0, 100, 0, 20) | |
1996 | name.ZIndex = 10 | |
1997 | name.Font = Enum.Font.ArialBold | |
1998 | name.FontSize = Enum.FontSize.Size14 | |
1999 | name.Text = "Place: Loading..." | |
2000 | name.TextColor3 = Color3.new(1, 1, 1) | |
2001 | name.TextStrokeTransparency = 0 | |
2002 | name.TextXAlignment = Enum.TextXAlignment.Left | |
2003 | placeid.Name = "placeid" | |
2004 | placeid.Parent = ContainerFrame | |
2005 | placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
2006 | placeid.BackgroundTransparency = 1 | |
2007 | placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
2008 | placeid.Position = UDim2.new(0, 10, 0, 220) | |
2009 | placeid.Size = UDim2.new(0, 100, 0, 20) | |
2010 | placeid.ZIndex = 10 | |
2011 | placeid.Font = Enum.Font.ArialBold | |
2012 | placeid.FontSize = Enum.FontSize.Size14 | |
2013 | placeid.Text = "Place ID: Loading..." | |
2014 | placeid.TextColor3 = Color3.new(1, 1, 1) | |
2015 | placeid.TextStrokeTransparency = 0 | |
2016 | placeid.TextXAlignment = Enum.TextXAlignment.Left | |
2017 | playerid.Name = "playerid" | |
2018 | playerid.Parent = ContainerFrame | |
2019 | playerid.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
2020 | playerid.BackgroundTransparency = 1 | |
2021 | playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
2022 | playerid.Position = UDim2.new(0, 10, 0, 20) | |
2023 | playerid.Size = UDim2.new(0, 100, 0, 20) | |
2024 | playerid.ZIndex = 10 | |
2025 | playerid.Font = Enum.Font.ArialBold | |
2026 | playerid.FontSize = Enum.FontSize.Size14 | |
2027 | playerid.Text = "Player ID: Loading..." | |
2028 | playerid.TextColor3 = Color3.new(1, 1, 1) | |
2029 | playerid.TextStrokeTransparency = 0 | |
2030 | playerid.TextXAlignment = Enum.TextXAlignment.Left | |
2031 | players.Name = "players" | |
2032 | players.Parent = ContainerFrame | |
2033 | players.BackgroundColor3 = Color3.new(0, 0.8, 1) | |
2034 | players.BackgroundTransparency = 1 | |
2035 | players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) | |
2036 | players.Position = UDim2.new(0, 10, 0, 140) | |
2037 | players.Size = UDim2.new(0, 100, 0, 20) | |
2038 | players.ZIndex = 100 | |
2039 | players.Font = Enum.Font.ArialBold | |
2040 | players.FontSize = Enum.FontSize.Size14 | |
2041 | players.Text = "Loading..." | |
2042 | players.TextColor3 = Color3.new(1, 1, 1) | |
2043 | players.TextStrokeTransparency = 0 | |
2044 | players.TextXAlignment = Enum.TextXAlignment.Left | |
2045 | local SINFOGUI = ContainerFrame | |
2046 | drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) | |
2047 | wait(0.5) | |
2048 | local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId) | |
2049 | SINFOGUI.name.Text = "Place: " .. Asset.Name | |
2050 | Exit.MouseButton1Click:Connect(function() | |
2051 | drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) | |
2052 | wait(0.6) | |
2053 | Sinfo:Destroy() | |
2054 | end) | |
2055 | SINFOGUI.playerid.Text = "Player ID: " ..Players.LocalPlayer.UserId | |
2056 | if workspace.FilteringEnabled == true then | |
2057 | SINFOGUI.fe.Text = "Filtering Enabled" | |
2058 | elseif workspace.FilteringEnabled == false then | |
2059 | SINFOGUI.fe.Text = "Filtering Disabled" | |
2060 | end | |
2061 | SINFOGUI.maxplayers.Text = Players.MaxPlayers.. " Players Max" | |
2062 | SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId | |
2063 | repeat | |
2064 | players = Players:getPlayers() | |
2065 | SINFOGUI.players.Text = #players.. " Player(s)" | |
2066 | SINFOGUI.appearance.Text = "Appearance: " ..Players.LocalPlayer.CharacterAppearanceId | |
2067 | local seconds = math.floor(workspace.DistributedGameTime) | |
2068 | local minutes = math.floor(workspace.DistributedGameTime / 60) | |
2069 | local hours = math.floor(workspace.DistributedGameTime / 60 / 60) | |
2070 | local seconds = seconds - (minutes * 60) | |
2071 | local minutes = minutes - (hours * 60) | |
2072 | if hours < 1 then if minutes < 1 then | |
2073 | SINFOGUI.Time.Text = seconds .. " Second(s)" else | |
2074 | SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
2075 | end | |
2076 | else | |
2077 | SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)" | |
2078 | end | |
2079 | wait(1) | |
2080 | until SINFOGUI.Parent == nil | |
2081 | end) | |
2082 | ||
2083 | addcmd('breakloops','Stops any cmd loops (;100^1^cmd)',{'break'}, | |
2084 | function(args, speaker) | |
2085 | lastBreakTime = tick() | |
2086 | end) | |
2087 | ||
2088 | addcmd('rejoin','Makes you rejoin the game',{'rj'}, | |
2089 | function(args, speaker) | |
2090 | game:GetService('TeleportService'):Teleport(game.PlaceId) | |
2091 | end) | |
2092 | ||
2093 | addcmd('exit','Kills roblox process',{}, | |
2094 | function(args, speaker) | |
2095 | game:shutdown() | |
2096 | end) | |
2097 | ||
2098 | runningnoclip = false | |
2099 | Clip = true | |
2100 | addcmd('noclip','Noclip through objects',{}, | |
2101 | function(args, speaker) | |
2102 | notify('Noclip','Noclip enabled') | |
2103 | Clip = false | |
2104 | if Players.LocalPlayer.Character:FindFirstChild('Torso') then | |
2105 | wait(0.1) | |
2106 | if runningnoclip == false then runningnoclip = true | |
2107 | game:GetService('RunService').Stepped:connect(function () | |
2108 | if Clip == false and Players.LocalPlayer.Character ~= nil then | |
2109 | for _, child in pairs( Players.LocalPlayer.Character:GetDescendants()) do | |
2110 | if child.ClassName == 'Part' and child.CanCollide == true then | |
2111 | child.CanCollide = false | |
2112 | end end end end) end | |
2113 | else | |
2114 | r15noclip = true | |
2115 | end | |
2116 | end) | |
2117 | ||
2118 | addcmd('clip','Disables noclip',{}, | |
2119 | function(args, speaker) | |
2120 | notify('Noclip','Noclip disabled') | |
2121 | Clip = true | |
2122 | r15noclip = false | |
2123 | wait(0.1) | |
2124 | if Players.LocalPlayer.Character ~= nil then | |
2125 | Players.LocalPlayer.Character.Torso.CanCollide = true | |
2126 | Players.LocalPlayer.Character.Head.CanCollide = true | |
2127 | end | |
2128 | end) | |
2129 | ||
2130 | addcmd('togglenoclip','Toggles noclip',{}, | |
2131 | function(args, speaker) | |
2132 | if Clip then | |
2133 | execCmd('noclip') | |
2134 | else | |
2135 | execCmd('clip') | |
2136 | end | |
2137 | end) | |
2138 | ||
2139 | FLYING = false | |
2140 | iyflyspeed = 1 | |
2141 | function sFLY() | |
2142 | repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart') and Players.LocalPlayer.Character:FindFirstChild('Humanoid') | |
2143 | repeat wait() until Mouse | |
2144 | ||
2145 | local T = Players.LocalPlayer.Character.HumanoidRootPart | |
2146 | local CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2147 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2148 | local SPEED = 0 | |
2149 | ||
2150 | local function FLY() | |
2151 | FLYING = true | |
2152 | local BG = Instance.new('BodyGyro', T) | |
2153 | local BV = Instance.new('BodyVelocity', T) | |
2154 | BG.P = 9e4 | |
2155 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
2156 | BG.cframe = T.CFrame | |
2157 | BV.velocity = Vector3.new(0, 0.1, 0) | |
2158 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
2159 | spawn(function() | |
2160 | repeat wait() | |
2161 | Players.LocalPlayer.Character.Humanoid.PlatformStand = true | |
2162 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then | |
2163 | SPEED = 50 | |
2164 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then | |
2165 | SPEED = 0 | |
2166 | end | |
2167 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then | |
2168 | 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 | |
2169 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} | |
2170 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then | |
2171 | 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 | |
2172 | else | |
2173 | BV.velocity = Vector3.new(0, 0.1, 0) | |
2174 | end | |
2175 | BG.cframe = workspace.CurrentCamera.CoordinateFrame | |
2176 | until not FLYING | |
2177 | CONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2178 | lCONTROL = {F = 0, B = 0, L = 0, R = 0} | |
2179 | SPEED = 0 | |
2180 | BG:destroy() | |
2181 | BV:destroy() | |
2182 | Players.LocalPlayer.Character.Humanoid.PlatformStand = false | |
2183 | end) | |
2184 | end | |
2185 | Mouse.KeyDown:connect(function(KEY) | |
2186 | if KEY:lower() == 'w' then | |
2187 | CONTROL.F = iyflyspeed | |
2188 | elseif KEY:lower() == 's' then | |
2189 | CONTROL.B = -iyflyspeed | |
2190 | elseif KEY:lower() == 'a' then | |
2191 | CONTROL.L = -iyflyspeed | |
2192 | elseif KEY:lower() == 'd' then | |
2193 | CONTROL.R = iyflyspeed | |
2194 | end | |
2195 | end) | |
2196 | Mouse.KeyUp:connect(function(KEY) | |
2197 | if KEY:lower() == 'w' then | |
2198 | CONTROL.F = 0 | |
2199 | elseif KEY:lower() == 's' then | |
2200 | CONTROL.B = 0 | |
2201 | elseif KEY:lower() == 'a' then | |
2202 | CONTROL.L = 0 | |
2203 | elseif KEY:lower() == 'd' then | |
2204 | CONTROL.R = 0 | |
2205 | end | |
2206 | end) | |
2207 | FLY() | |
2208 | end | |
2209 | ||
2210 | function NOFLY() | |
2211 | FLYING = false | |
2212 | Players.LocalPlayer.Character.Humanoid.PlatformStand = false | |
2213 | end | |
2214 | ||
2215 | Players.LocalPlayer.CharacterAdded:Connect(function() | |
2216 | FLYING = false | |
2217 | Floating = false | |
2218 | end) | |
2219 | ||
2220 | addcmd('fly','Makes you fly',{}, | |
2221 | function(args, speaker) | |
2222 | sFLY() | |
2223 | end) | |
2224 | ||
2225 | addcmd('flyspeed','Set fly speed',{'flysp'}, | |
2226 | function(args, speaker) | |
2227 | if isNumber(args[1]) then | |
2228 | iyflyspeed = args[1] | |
2229 | end | |
2230 | end) | |
2231 | ||
2232 | addcmd('unfly','Disables fly',{'nofly'}, | |
2233 | function(args, speaker) | |
2234 | NOFLY() | |
2235 | end) | |
2236 | ||
2237 | addcmd('togglefly','Toggle fly',{}, | |
2238 | function(args, speaker) | |
2239 | if FLYING then | |
2240 | NOFLY() | |
2241 | else | |
2242 | sFLY() | |
2243 | end | |
2244 | end) | |
2245 | ||
2246 | Floating = false | |
2247 | addcmd('float', 'Makes you float',{}, | |
2248 | function(args,speaker) | |
2249 | Floating = true | |
2250 | local pchar = Players.LocalPlayer.Character | |
2251 | if pchar and not pchar:FindFirstChild("Float") then | |
2252 | spawn(function() | |
2253 | local Float = Instance.new('Part', pchar) | |
2254 | Float.Name = 'Float' | |
2255 | Float.Transparency = 1 | |
2256 | Float.Size = Vector3.new(6,1,6) | |
2257 | Float.Anchored = true | |
2258 | Float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
2259 | notify('Float','Float Enabled') | |
2260 | spawn(function() | |
2261 | while wait(0.1) do | |
2262 | if pchar:FindFirstChild("Float") then | |
2263 | Float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0) | |
2264 | else | |
2265 | break | |
2266 | end | |
2267 | end | |
2268 | end) | |
2269 | end) | |
2270 | end | |
2271 | end) | |
2272 | ||
2273 | addcmd('unfloat','Disables floating',{'nofloat'}, | |
2274 | function(args, speaker) | |
2275 | Floating = false | |
2276 | local pchar = Players.LocalPlayer.Character | |
2277 | notify('Float','Float Disabled') | |
2278 | if pchar:FindFirstChild("Float") then | |
2279 | pchar.Float:Destroy() | |
2280 | end | |
2281 | end) | |
2282 | ||
2283 | addcmd('togglefloat','Toggles floating',{}, | |
2284 | function(args, speaker) | |
2285 | if Floating then | |
2286 | execCmd('unfloat') | |
2287 | else | |
2288 | execCmd('float') | |
2289 | end | |
2290 | end) | |
2291 | ||
2292 | local WayPoints = {} | |
2293 | addcmd("savepos","Sets a waypoint at your position",{'spos'}, | |
2294 | function(args, speaker) | |
2295 | local WPName = tostring(getstring(false, 0)) | |
2296 | if speaker.Character:findFirstChild("HumanoidRootPart") then | |
2297 | notify('Modified Waypoints',"Created waypoint: "..getstring(false, 0)) | |
2298 | local torso = speaker.Character:findFirstChild("HumanoidRootPart") | |
2299 | WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}} | |
2300 | end | |
2301 | end) | |
2302 | ||
2303 | addcmd("deletepos","Deletes a waypoint",{'dpos'}, | |
2304 | function(args, speaker) | |
2305 | for i,v in pairs(WayPoints) do | |
2306 | if v.NAME == tostring(getstring(false, 0)) then | |
2307 | notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME) | |
2308 | table.remove(WayPoints, i) | |
2309 | end | |
2310 | end | |
2311 | end) | |
2312 | ||
2313 | addcmd("loadpos","Teleports player to a waypoint",{'lpos'}, | |
2314 | function(args, speaker) | |
2315 | local WPName = tostring(getstring(false, 0)) | |
2316 | if Players.LocalPlayer.Character then | |
2317 | for i,_ in pairs(WayPoints) do | |
2318 | local x = WayPoints[i].COORD[1] | |
2319 | local y = WayPoints[i].COORD[2] | |
2320 | local z = WayPoints[i].COORD[3] | |
2321 | if tostring(WayPoints[i].NAME) == tostring(WPName) then | |
2322 | Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z) | |
2323 | end | |
2324 | end | |
2325 | end | |
2326 | end) | |
2327 | ||
2328 | addcmd('esp', 'View a player and a players status',{}, | |
2329 | function(args, speaker) | |
2330 | local players = getPlayer(args[1], speaker) | |
2331 | for i,v in pairs(players)do | |
2332 | spawn(function() | |
2333 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
2334 | if child.Name == Players[v].Name then | |
2335 | child:Destroy() | |
2336 | end | |
2337 | end | |
2338 | wait(0.5) | |
2339 | local m = game["Players"].LocalPlayer:GetMouse() | |
2340 | local rs = game:GetService("RunService").RenderStepped | |
2341 | local espplr = Players[v] | |
2342 | if espplr.Character and espplr.Name ~= Players.LocalPlayer.Name then | |
2343 | for b,n in pairs (espplr.Character:GetChildren()) do | |
2344 | if (n:IsA("BasePart")) then | |
2345 | local a = Instance.new("BoxHandleAdornment", game.CoreGui) | |
2346 | a.Name = espplr.Name | |
2347 | a.Adornee = n | |
2348 | a.AlwaysOnTop = true | |
2349 | a.ZIndex = 0 | |
2350 | a.Size = n.Size | |
2351 | a.Transparency = 0.7 | |
2352 | local resetting = false | |
2353 | if espplr.TeamColor == Players.LocalPlayer.TeamColor then | |
2354 | a.Color = BrickColor.new("Lime green") | |
2355 | else | |
2356 | a.Color = BrickColor.new("Really red") | |
2357 | end | |
2358 | if espplr.Character and espplr.Character:FindFirstChild('Head') then | |
2359 | local BillboardGui = Instance.new("BillboardGui", game.CoreGui) | |
2360 | local TextLabel = Instance.new("TextLabel") | |
2361 | BillboardGui.Adornee = espplr.Character.Head | |
2362 | BillboardGui.Name = espplr.Name | |
2363 | BillboardGui.Size = UDim2.new(0, 100, 0, 150) | |
2364 | BillboardGui.StudsOffset = Vector3.new(0, 1, 0) | |
2365 | BillboardGui.AlwaysOnTop = true | |
2366 | TextLabel.Parent = BillboardGui | |
2367 | TextLabel.BackgroundTransparency = 1 | |
2368 | TextLabel.Position = UDim2.new(0, 0, 0, -50) | |
2369 | TextLabel.Size = UDim2.new(0, 100, 0, 100) | |
2370 | TextLabel.Font = Enum.Font.SourceSansSemibold | |
2371 | TextLabel.TextSize = 20 | |
2372 | TextLabel.TextColor3 = Color3.new(1, 1, 1) | |
2373 | TextLabel.TextStrokeTransparency = 0 | |
2374 | TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom | |
2375 | espplr.Character:WaitForChild("Humanoid").Died:connect(function() | |
2376 | BillboardGui:Destroy() a:Destroy() | |
2377 | end) | |
2378 | Players.PlayerRemoving:connect(function(player) | |
2379 | if player.Name == espplr.Name then | |
2380 | BillboardGui:Destroy() a:Destroy() | |
2381 | end | |
2382 | end) | |
2383 | game:GetService("RunService").RenderStepped:Connect(function() | |
2384 | if espplr.Character ~= nil and espplr.Character.Parent ~= nil and espplr.Character:FindFirstChild('HumanoidRootPart') and espplr.Character:FindFirstChild('Humanoid') and game.CoreGui:FindFirstChild(espplr.Name) then | |
2385 | local pos = math.floor((Players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude) | |
2386 | TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos | |
2387 | else | |
2388 | BillboardGui:Destroy() a:Destroy() | |
2389 | end | |
2390 | end) | |
2391 | end | |
2392 | end | |
2393 | end | |
2394 | end | |
2395 | end) | |
2396 | end | |
2397 | end) | |
2398 | ||
2399 | addcmd('noesp', 'Removes esp',{'unesp'}, | |
2400 | function(args, speaker) | |
2401 | local players = getPlayer(args[1], speaker) | |
2402 | for i,v in pairs(players)do | |
2403 | spawn(function() | |
2404 | for _, child in pairs( game["CoreGui"]:GetChildren()) do | |
2405 | if child.Name == Players[v].Name then | |
2406 | child:Destroy() | |
2407 | end | |
2408 | end | |
2409 | end) | |
2410 | end | |
2411 | end) | |
2412 | ||
2413 | addcmd('view', 'View a player',{'spectate'}, | |
2414 | function(args, speaker) | |
2415 | local players = getPlayer(args[1], speaker) | |
2416 | for i,v in pairs(players) do | |
2417 | workspace.CurrentCamera.CameraSubject = Players[v].Character | |
2418 | notify('Spectate','Viewing ' .. Players[v].Name) | |
2419 | end | |
2420 | end) | |
2421 | ||
2422 | addcmd('unview', 'Stops viewing player',{'unspectate'}, | |
2423 | function() | |
2424 | workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character | |
2425 | notify('Spectate','View turned off') | |
2426 | end) | |
2427 | ||
2428 | addcmd('unkeybind','Unbind a key',{}, | |
2429 | function(args, speaker) | |
2430 | local cmd = tostring(args[1]) | |
2431 | local key = tostring(args[2]) | |
2432 | for i,v in pairs(binds) do | |
2433 | if v.COMMAND == cmd and v.KEY == key then | |
2434 | table.remove(binds, i) | |
2435 | refreshbinds() | |
2436 | end | |
2437 | end | |
2438 | updatesaves() | |
2439 | if key == 'RightClick' or key == 'LeftClick' then | |
2440 | notify('Keybinds Updated','Unbinded '..key..' from '..cmd) | |
2441 | else | |
2442 | notify('Keybinds Updated','Unbinded '..key:sub(14)..' from '..cmd) | |
2443 | end | |
2444 | end) | |
2445 | ||
2446 | local fa = false | |
2447 | local cam = workspace.CurrentCamera | |
2448 | local cam1 = 0 | |
2449 | local cam2 = 0 | |
2450 | local cam3 = 0 | |
2451 | local k1 = false | |
2452 | local k2 = false | |
2453 | local k3 = false | |
2454 | local k4 = false | |
2455 | local k5 = false | |
2456 | local k6 = false | |
2457 | cs = 0.5 | |
2458 | function movecam() | |
2459 | local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2460 | if fa == false then | |
2461 | repeat | |
2462 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2463 | local fp = fc.Position | |
2464 | fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1) | |
2465 | fa = true | |
2466 | end | |
2467 | game:GetService('RunService').RenderStepped:Wait() | |
2468 | until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') | |
2469 | fa = false | |
2470 | end | |
2471 | end | |
2472 | function kp1(inputObject, gameProcessedEvent) | |
2473 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2474 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2475 | k1 = true | |
2476 | cam1 = cs end | |
2477 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2478 | k2 = true | |
2479 | cam1 = (cs*-1) end | |
2480 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2481 | k3 = true | |
2482 | cam2 = cs end | |
2483 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2484 | k4 = true | |
2485 | cam2 = (cs*-1) end | |
2486 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2487 | k5 = true | |
2488 | cam3 = cs end | |
2489 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2490 | k6 = true | |
2491 | cam3 = (cs*-1) end | |
2492 | end | |
2493 | end | |
2494 | game:GetService("UserInputService").InputBegan:connect(kp1) | |
2495 | function kp2(inputObject, gameProcessedEvent) | |
2496 | if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2497 | if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then | |
2498 | k1 = false | |
2499 | if k2 == false then | |
2500 | cam1 = 0 | |
2501 | end | |
2502 | end | |
2503 | if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then | |
2504 | k2 = false | |
2505 | if k1 == false then | |
2506 | cam1 = 0 | |
2507 | end | |
2508 | end | |
2509 | if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then | |
2510 | k3= false | |
2511 | if k4== false then | |
2512 | cam2 = 0 | |
2513 | end | |
2514 | end | |
2515 | if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then | |
2516 | k4 = false | |
2517 | if k3 == false then | |
2518 | cam2 = 0 | |
2519 | end | |
2520 | end | |
2521 | if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then | |
2522 | k5 = false | |
2523 | if k6 == false then | |
2524 | cam3 = 0 | |
2525 | end | |
2526 | end | |
2527 | if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then | |
2528 | k6 = false | |
2529 | if k5 == false then | |
2530 | cam3 = 0 | |
2531 | end | |
2532 | end | |
2533 | end | |
2534 | end | |
2535 | game:GetService("UserInputService").InputEnded:connect(kp2) | |
2536 | function FC() | |
2537 | if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2538 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true | |
2539 | local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character) | |
2540 | fc.CanCollide = false | |
2541 | fc.Anchored = true | |
2542 | fc.Transparency = 1 | |
2543 | fc.Size = Vector3.new(1,1,1) | |
2544 | fc.Name = 'xFC' | |
2545 | fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame | |
2546 | local cam = workspace.CurrentCamera | |
2547 | cam.CameraSubject = fc | |
2548 | cam.CameraType = 'Custom' | |
2549 | movecam() | |
2550 | end end | |
2551 | function UFC() | |
2552 | game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false | |
2553 | if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then | |
2554 | game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy() | |
2555 | local cam = workspace.CurrentCamera | |
2556 | cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid | |
2557 | cam.CameraType = 'Custom' | |
2558 | end | |
2559 | end | |
2560 | ||
2561 | addcmd('freecam','Allows you to freely move camera around the game',{'fc'}, | |
2562 | function(args, speaker) | |
2563 | FC() | |
2564 | end) | |
2565 | ||
2566 | addcmd('fixcam','Fixes camera',{}, | |
2567 | function(args, speaker) | |
2568 | UFC() | |
2569 | workspace.CurrentCamera:remove() | |
2570 | wait(.1) | |
2571 | workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character.Humanoid | |
2572 | workspace.CurrentCamera.CameraType = "Custom" | |
2573 | Players.LocalPlayer.CameraMinZoomDistance = 0.5 | |
2574 | Players.LocalPlayer.CameraMaxZoomDistance = 400 | |
2575 | Players.LocalPlayer.CameraMode = "Classic" | |
2576 | end) | |
2577 | ||
2578 | addcmd('unfreecam','Disables freecam',{'nofreecam','unfc','nofc'}, | |
2579 | function(args, speaker) | |
2580 | UFC() | |
2581 | end) | |
2582 | ||
2583 | addcmd('freecamspeed','Adjusts freecam speed',{'fcspeed'}, | |
2584 | function(args, speaker) | |
2585 | if isNumber(args[1]) then | |
2586 | cs = args[1] | |
2587 | end | |
2588 | end) | |
2589 | ||
2590 | addcmd('firstp', 'Forces camera to go into first person',{}, | |
2591 | function(args, speaker) | |
2592 | Players.LocalPlayer.CameraMode = "LockFirstPerson" | |
2593 | end) | |
2594 | ||
2595 | addcmd('thirdp', 'Allows camera to go into third person',{}, | |
2596 | function(args, speaker) | |
2597 | Players.LocalPlayer.CameraMode = "Classic" | |
2598 | end) | |
2599 | ||
2600 | addcmd('maxzoom','Maximum camera zoom',{}, | |
2601 | function(args, speaker) | |
2602 | Players.LocalPlayer.CameraMaxZoomDistance = args[1] | |
2603 | end) | |
2604 | ||
2605 | addcmd('unlockws', 'Unlocks the whole workspace',{'unlockworkspace'}, | |
2606 | function(args, speaker) | |
2607 | notify('Workspace Modified','Workspace unlocked') | |
2608 | wait(1) | |
2609 | local function unlock(instance) | |
2610 | for i,v in pairs(instance:GetChildren()) do | |
2611 | if v:IsA("BasePart") then | |
2612 | v.Locked = false | |
2613 | end | |
2614 | unlock(v) | |
2615 | end | |
2616 | end | |
2617 | unlock(workspace) | |
2618 | end) | |
2619 | ||
2620 | addcmd('lockws', 'Locks the whole workspace',{'lockworkspace'}, | |
2621 | function(args, speaker) | |
2622 | notify('Workspace Modified','Workspace locked') | |
2623 | wait(1) | |
2624 | local function lock(instance) | |
2625 | for i,v in pairs(instance:GetChildren()) do | |
2626 | if v:IsA("BasePart") then | |
2627 | v.Locked = true | |
2628 | end | |
2629 | lock(v) | |
2630 | end | |
2631 | end | |
2632 | lock(workspace) | |
2633 | end) | |
2634 | ||
2635 | addcmd('delete', 'removes any part with a certain name from the workspace (DOES NOT REPLICATE)',{'remove'}, | |
2636 | function(args, speaker) | |
2637 | part = getstring(false, 0) | |
2638 | local function dels(instance) | |
2639 | for i,v in pairs(instance:GetChildren())do | |
2640 | if v.Name:lower() == part:lower() then v:Destroy() end | |
2641 | dels(v) | |
2642 | end | |
2643 | end | |
2644 | dels(workspace) | |
2645 | notify('Item(s) Deleted','Deleted ' ..getstring(false, 0)) | |
2646 | end) | |
2647 | ||
2648 | addcmd('deleteclass', 'removes any part with a certain classname from the workspace (DOES NOT REPLICATE)',{'removeclass','deleteclassname','removeclassname','dc'}, | |
2649 | function(args, speaker) | |
2650 | part = getstring(false, 0) | |
2651 | local function dels(instance) | |
2652 | for i,v in pairs(instance:GetChildren())do | |
2653 | if v.ClassName:lower() == part:lower() then v:Destroy() end | |
2654 | dels(v) | |
2655 | end | |
2656 | end | |
2657 | dels(workspace) | |
2658 | notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(false, 0)) | |
2659 | end) | |
2660 | ||
2661 | addcmd('btools', 'Gives you building tools (DOES NOT REPLICATE)',{}, | |
2662 | function(args, speaker) | |
2663 | Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 1 | |
2664 | Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 2 | |
2665 | Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 3 | |
2666 | Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 4 | |
2667 | end) | |
2668 | ||
2669 | addcmd('f3x', 'loads f3x tools',{'fex'}, | |
2670 | function(args, speaker) | |
2671 | loadstring(game:GetObjects("rbxassetid://1059691823")[1].Source)() | |
2672 | end) | |
2673 | ||
2674 | addcmd('age','tells you the age of a player',{}, | |
2675 | function(args, speaker) | |
2676 | local players = getPlayer(args[1], speaker) | |
2677 | for i,v in pairs(players) do | |
2678 | local players = getPlayer(args[1], speaker) | |
2679 | local platforms = {} | |
2680 | for i,v in pairs(players) do | |
2681 | local p = Players[v] | |
2682 | table.insert(platforms, p.Name.."'s age is: "..p.AccountAge) | |
2683 | end | |
2684 | notify('OS',table.concat(platforms, ',\n')) | |
2685 | end | |
2686 | end) | |
2687 | ||
2688 | addcmd('os', "Shows a player's platform.", {'platform', 'device'}, | |
2689 | function(args, speaker) | |
2690 | local players = getPlayer(args[1], speaker) | |
2691 | local platforms = {} | |
2692 | for i,v in pairs(players) do | |
2693 | local p = Players[v] | |
2694 | table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform) | |
2695 | end | |
2696 | notify('OS',table.concat(platforms, ',\n')) | |
2697 | end) | |
2698 | ||
2699 | addcmd('goto', 'go to a player',{'to'}, | |
2700 | function(args, speaker) | |
2701 | local players = getPlayer(args[1], speaker) | |
2702 | for i,v in pairs(players)do | |
2703 | if Players[v].Character ~= nil then | |
2704 | if speaker.Character:FindFirstChild("Humanoid") then | |
2705 | speaker.Character.Humanoid.Jump = true | |
2706 | end | |
2707 | speaker.Character.HumanoidRootPart.CFrame = Players[v].Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0) | |
2708 | end | |
2709 | end | |
2710 | end) | |
2711 | ||
2712 | bringT = {} | |
2713 | addcmd('loopbring','Loop brings a player to you (useful for killing)',{}, | |
2714 | function(args, speaker) | |
2715 | local players = getPlayer(args[1], speaker) | |
2716 | for i,v in pairs(players)do | |
2717 | spawn(function() | |
2718 | if FindInTable(bringT, Players[v].Name) then return end | |
2719 | table.insert(bringT, Players[v].Name) | |
2720 | local pchar=Players[v].Character | |
2721 | pchar.Humanoid.Jump = true | |
2722 | repeat wait() | |
2723 | pchar = Players[v].Character | |
2724 | for i,c in pairs(players) do | |
2725 | if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then | |
2726 | pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0) | |
2727 | end | |
2728 | end | |
2729 | until not FindInTable(bringT, Players[v].Name) | |
2730 | end) | |
2731 | end | |
2732 | end) | |
2733 | ||
2734 | addcmd('unloopbring','Undoes loopbring',{'noloopbring'}, | |
2735 | function(args, speaker) | |
2736 | local players = getPlayer(args[1], speaker) | |
2737 | for i,v in pairs(players)do | |
2738 | spawn(function() | |
2739 | for a,b in pairs(bringT) do if b == Players[v].Name then table.remove(bringT, a) end end | |
2740 | end) | |
2741 | end | |
2742 | end) | |
2743 | ||
2744 | addcmd('freeze', 'freezes a player',{'fr'}, | |
2745 | function(args, speaker) | |
2746 | local players = getPlayer(args[1], speaker) | |
2747 | if players ~= nil then | |
2748 | for i, v in pairs(players) do | |
2749 | spawn(function() | |
2750 | for i, x in next, Players[v].Character:GetDescendants() do | |
2751 | if x:IsA("Part") and not x.Anchored then | |
2752 | x.Anchored = true | |
2753 | end | |
2754 | end | |
2755 | end) | |
2756 | end | |
2757 | end | |
2758 | end) | |
2759 | ||
2760 | addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'}, | |
2761 | function(args, speaker) | |
2762 | local players = getPlayer(args[1], speaker) | |
2763 | if players ~= nil then | |
2764 | for i, v in pairs(players) do | |
2765 | spawn(function() | |
2766 | for i, x in next, Players[v].Character:GetDescendants() do | |
2767 | if x:IsA("Part") and x.Anchored then | |
2768 | x.Anchored = false | |
2769 | end | |
2770 | end | |
2771 | end) | |
2772 | end | |
2773 | end | |
2774 | end) | |
2775 | ||
2776 | addcmd('fekill','Kills a player (YOU NEED A TOOL)',{}, | |
2777 | function(args, speaker) | |
2778 | local players = getPlayer(args[1], speaker) | |
2779 | for i,v in pairs(players)do | |
2780 | -- illremember's cool fe kill script | |
2781 | local Target = Players[v].Name | |
2782 | game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1 | |
2783 | local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone() | |
2784 | l.Parent = game:GetService("Players").LocalPlayer.Character | |
2785 | l.Name = "Humanoid" | |
2786 | wait(0.1) | |
2787 | game:GetService("Players").LocalPlayer.Character["1"]:Destroy() | |
2788 | workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character | |
2789 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true | |
2790 | wait(0.1) | |
2791 | game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false | |
2792 | game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
2793 | for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do | |
2794 | game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v) | |
2795 | v.CanBeDropped = true | |
2796 | end | |
2797 | wait(0.1) | |
2798 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
2799 | wait(0.1) | |
2800 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame | |
2801 | wait(0.2) | |
2802 | game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000)) | |
2803 | end | |
2804 | end) | |
2805 | ||
2806 | oofing = false | |
2807 | addcmd('loopoof','Loops everyones character sounds (everyone can hear)',{}, | |
2808 | function(args, speaker) | |
2809 | oofing = true | |
2810 | repeat wait(0.01) | |
2811 | for i,v in pairs(game:GetService'Players':GetPlayers()) do | |
2812 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then | |
2813 | for _,x in pairs(v.Character.Head:GetChildren()) do | |
2814 | if x:IsA'Sound' then x.Playing = true end | |
2815 | end | |
2816 | end | |
2817 | end | |
2818 | until oofing == false | |
2819 | end) | |
2820 | ||
2821 | addcmd('unloopoof','Stops the oof chaos',{}, | |
2822 | function(args, speaker) | |
2823 | oofing = false | |
2824 | end) | |
2825 | ||
2826 | addcmd('respawn','Respawns you',{}, | |
2827 | function(args, speaker) | |
2828 | respawn(Players.LocalPlayer) | |
2829 | end) | |
2830 | ||
2831 | addcmd('refresh', 'Respawns and brings you back to the same position',{'re'}, | |
2832 | function(args, speaker) | |
2833 | refresh(Players.LocalPlayer) | |
2834 | end) | |
2835 | ||
2836 | addcmd('god','Gives you godmode',{''}, | |
2837 | function(args, speaker) | |
2838 | Players.LocalPlayer.Character.Humanoid.Name = 1 | |
2839 | local l = Players.LocalPlayer.Character["1"]:Clone() | |
2840 | l.Parent = Players.LocalPlayer.Character | |
2841 | l.Name = "Humanoid" | |
2842 | wait(0.1) | |
2843 | Players.LocalPlayer.Character["1"]:Destroy() | |
2844 | workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character | |
2845 | Players.LocalPlayer.Character.Animate.Disabled = true | |
2846 | wait(0.1) | |
2847 | Players.LocalPlayer.Character.Animate.Disabled = false | |
2848 | Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None" | |
2849 | end) | |
2850 | ||
2851 | addcmd('invisible','Makes you invisible to other players',{'invis'}, | |
2852 | function(args, speaker) | |
2853 | -- Elite1337#9377 & Timeless#4044 | |
2854 | local function CheckRig() | |
2855 | if Players.LocalPlayer.Character then | |
2856 | local Humanoid = Players.LocalPlayer.Character:WaitForChild('Humanoid') | |
2857 | if Humanoid.RigType == Enum.HumanoidRigType.R15 then | |
2858 | return 'R15' | |
2859 | else | |
2860 | return 'R6' | |
2861 | end | |
2862 | end | |
2863 | end | |
2864 | local function InitiateInvis() | |
2865 | local Character = Players.LocalPlayer.Character | |
2866 | local StoredCF = Character.PrimaryPart.CFrame | |
2867 | local Part = Instance.new('Part',workspace) | |
2868 | Part.Size = Vector3.new(5,0,5) | |
2869 | Part.Anchored = true | |
2870 | Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999)) | |
2871 | Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0) | |
2872 | spawn(function() | |
2873 | wait(3) | |
2874 | Part:Destroy() | |
2875 | end) | |
2876 | if CheckRig() == 'R6' then | |
2877 | local Clone = Character.HumanoidRootPart:Clone() | |
2878 | Character.HumanoidRootPart:Destroy() | |
2879 | Clone.Parent = Character | |
2880 | else | |
2881 | local Clone = Character.LowerTorso.Root:Clone() | |
2882 | Character.LowerTorso.Root:Destroy() | |
2883 | Clone.Parent = Character.LowerTorso | |
2884 | end | |
2885 | end | |
2886 | InitiateInvis() | |
2887 | end) | |
2888 | ||
2889 | addcmd('strengthen','Changes CustomPhysicalProperties in your player',{}, | |
2890 | function(args, speaker) | |
2891 | for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do | |
2892 | if child.ClassName == "Part" then | |
2893 | child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5) | |
2894 | end | |
2895 | end | |
2896 | end) | |
2897 | ||
2898 | addcmd('weaken','Changes CustomPhysicalProperties in your player',{}, | |
2899 | function(args, speaker) | |
2900 | for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do | |
2901 | if child.ClassName == "Part" then | |
2902 | child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5) | |
2903 | end | |
2904 | end | |
2905 | end) | |
2906 | ||
2907 | addcmd('unweaken',' Undoes strength and weaken',{'unstrengthen'}, | |
2908 | function(args, speaker) | |
2909 | for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do | |
2910 | if child.ClassName == "Part" then | |
2911 | child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5) | |
2912 | end | |
2913 | end | |
2914 | end) | |
2915 | ||
2916 | addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'}, | |
2917 | function(args, speaker) | |
2918 | if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then | |
2919 | Players.LocalPlayer.Character.Humanoid.JumpPower=tonumber(args[1]) | |
2920 | end | |
2921 | end) | |
2922 | ||
2923 | addcmd('hipheight', 'adjusts hip height',{'hheight'}, | |
2924 | function(args, speaker) | |
2925 | if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then | |
2926 | Players.LocalPlayer.Character.Humanoid.HipHeight = args[1] | |
2927 | end | |
2928 | end) | |
2929 | ||
2930 | addcmd('dance','Makes you d a n c e',{}, | |
2931 | function(args, speaker) | |
2932 | local pchar=Players.LocalPlayer.Character | |
2933 | local anim = nil | |
2934 | local dance1 = math.random(1,7) | |
2935 | if dance1 == 1 then | |
2936 | anim = '27789359' | |
2937 | end | |
2938 | if dance1 == 2 then | |
2939 | anim = '30196114' | |
2940 | end | |
2941 | if dance1 == 3 then | |
2942 | anim = '248263260' | |
2943 | end | |
2944 | if dance1 == 4 then | |
2945 | anim = '45834924' | |
2946 | end | |
2947 | if dance1 == 5 then | |
2948 | anim = '33796059' | |
2949 | end | |
2950 | if dance1 == 6 then | |
2951 | anim = '28488254' | |
2952 | end | |
2953 | if dance1 == 7 then | |
2954 | anim = '52155728' | |
2955 | end | |
2956 | local animation = Instance.new("Animation") | |
2957 | animation.AnimationId = "rbxassetid://"..anim | |
2958 | local animTrack = pchar.Humanoid:LoadAnimation(animation) | |
2959 | animTrack:Play() | |
2960 | end) | |
2961 | ||
2962 | addcmd('nolimbs', 'Removes your limbs',{'rlimbs'}, | |
2963 | function(args, speaker) | |
2964 | for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do | |
2965 | if v:IsA("BasePart") and | |
2966 | v.Name == "Right Leg" or | |
2967 | v.Name == "Left Leg" or | |
2968 | v.Name == "Right Arm" or | |
2969 | v.Name == "Left Arm" then | |
2970 | v:Destroy() | |
2971 | end | |
2972 | end | |
2973 | end) | |
2974 | ||
2975 | addcmd('noarms', 'Removes your arms',{'rarms'}, | |
2976 | function(args, speaker) | |
2977 | for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do | |
2978 | if v:IsA("BasePart") and | |
2979 | v.Name == "Right Arm" or | |
2980 | v.Name == "Left Arm" then | |
2981 | v:Destroy() | |
2982 | end | |
2983 | end | |
2984 | end) | |
2985 | ||
2986 | addcmd('nolegs', 'Removes your arms',{'rlegs'}, | |
2987 | function(args, speaker) | |
2988 | for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do | |
2989 | if v:IsA("BasePart") and | |
2990 | v.Name == "Right Leg" or | |
2991 | v.Name == "Left Leg" then | |
2992 | v:Destroy() | |
2993 | end | |
2994 | end | |
2995 | end) | |
2996 | ||
2997 | addcmd('sit', 'Makes your character sit',{}, | |
2998 | function(args, speaker) | |
2999 | if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then | |
3000 | Players.LocalPlayer.Character.Humanoid.Sit = true | |
3001 | end | |
3002 | end) | |
3003 | ||
3004 | addcmd('team','Changes your team. Sometimes fools the game if localscripts are used.',{}, | |
3005 | function(args, speaker) | |
3006 | local teamname = nil | |
3007 | for a,b in pairs(game.Teams:GetChildren()) do | |
3008 | local L_name = b.Name:lower() | |
3009 | local F = L_name:find(getstring(true, 0)) | |
3010 | if F == 1 then | |
3011 | teamname = b | |
3012 | end | |
3013 | end | |
3014 | Players.LocalPlayer.Team = teamname | |
3015 | end) | |
3016 | ||
3017 | addcmd('spasm','Makes you c r a z y',{}, | |
3018 | function(args, speaker) | |
3019 | local pchar=Players.LocalPlayer.Character | |
3020 | local AnimationId = "33796059" | |
3021 | local Anim = Instance.new("Animation") | |
3022 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
3023 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
3024 | k:Play() | |
3025 | k:AdjustSpeed(99) | |
3026 | end) | |
3027 | ||
3028 | addcmd('animation','Makes your character preform an animation (must be by roblox to replicate)',{'anim'}, | |
3029 | function(args, speaker) | |
3030 | local pchar=Players.LocalPlayer.Character | |
3031 | local AnimationId = tostring(args[1]) | |
3032 | local Anim = Instance.new("Animation") | |
3033 | Anim.AnimationId = "rbxassetid://"..AnimationId | |
3034 | local k = pchar.Humanoid:LoadAnimation(Anim) | |
3035 | k:Play() | |
3036 | if args[2] then | |
3037 | k:AdjustSpeed(tostring(args[2])) | |
3038 | end | |
3039 | end) | |
3040 | ||
3041 | addcmd('tppos','Teleports you to a coordinate',{}, | |
3042 | function(args,speaker) | |
3043 | if #args < 3 then return end | |
3044 | local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3]) | |
3045 | local char = Players.LocalPlayer.Character | |
3046 | if char and char:FindFirstChild("HumanoidRootPart") then | |
3047 | char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ) | |
3048 | end | |
3049 | end) | |
3050 | ||
3051 | addcmd('offset','Offsets you by a coordinate',{}, | |
3052 | function(args,speaker) | |
3053 | if #args < 3 then return end | |
3054 | local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3]) | |
3055 | local char = Players.LocalPlayer.Character | |
3056 | if char and char:FindFirstChild("HumanoidRootPart") then | |
3057 | char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ) | |
3058 | end | |
3059 | end) | |
3060 | ||
3061 | addcmd('speed', 'Change your walkspeed',{'ws'}, | |
3062 | function(args, speaker) | |
3063 | local players = getPlayer(args[1], speaker) | |
3064 | if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then | |
3065 | Players.LocalPlayer.Character.Humanoid.WalkSpeed=tonumber(args[1]) | |
3066 | end | |
3067 | end) | |
3068 | ||
3069 | addcmd('tools', 'Copies tools from ReplicatedStorage and lighting',{'gears'}, | |
3070 | function(args, speaker) | |
3071 | local function copy(instance) | |
3072 | for i,c in pairs(instance:GetChildren())do | |
3073 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
3074 | c:Clone().Parent = Players.LocalPlayer.Backpack | |
3075 | end | |
3076 | copy(c) | |
3077 | end | |
3078 | end | |
3079 | copy(game:GetService("Lighting")) | |
3080 | local function copy(instance) | |
3081 | for i,c in pairs(instance:GetChildren())do | |
3082 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
3083 | c:Clone().Parent = Players.LocalPlayer.Backpack | |
3084 | end | |
3085 | copy(c) | |
3086 | end | |
3087 | end | |
3088 | copy(game.ReplicatedStorage) | |
3089 | notify('Tools','Copied tools from ReplicatedStorage and Lighting') | |
3090 | end) | |
3091 | ||
3092 | addcmd('keeptools', 'Saves tools to startergear',{'startertools','stools','ktools'}, | |
3093 | function(args, speaker) | |
3094 | local function copy(instance) | |
3095 | for i,c in pairs(instance:GetChildren())do | |
3096 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
3097 | c:Clone().Parent = Players.LocalPlayer.StarterGear | |
3098 | end | |
3099 | copy(c) | |
3100 | end | |
3101 | end | |
3102 | copy(Players.LocalPlayer.Backpack) | |
3103 | local function copy(instance) | |
3104 | for i,c in pairs(instance:GetChildren())do | |
3105 | if c:IsA('Tool') or c:IsA('HopperBin') then | |
3106 | c:Clone().Parent = Players.LocalPlayer.StarterGear | |
3107 | end | |
3108 | copy(c) | |
3109 | end | |
3110 | end | |
3111 | copy(Players.LocalPlayer.Character) | |
3112 | notify('Tools','Copied tools to StarterGear') | |
3113 | end) | |
3114 | ||
3115 | addcmd('nokeeptools', 'Deletes tools in startergear',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'}, | |
3116 | function(args, speaker) | |
3117 | for i,c in pairs(Players.LocalPlayer.StarterGear:GetChildren())do | |
3118 | if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy() | |
3119 | end | |
3120 | end | |
3121 | notify('Tools','Cleared tools from StarterGear') | |
3122 | end) | |
3123 | ||
3124 | addcmd('notools', 'Removes tools from character and backpack',{'rtools','clrtools','removetools'}, | |
3125 | function(args, speaker) | |
3126 | for i,v in pairs(Players.LocalPlayer.Backpack:GetDescendants()) do | |
3127 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
3128 | v:destroy() | |
3129 | end | |
3130 | end | |
3131 | for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do | |
3132 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
3133 | v:destroy() | |
3134 | end | |
3135 | end | |
3136 | notify('Tools','Removed tools') | |
3137 | end) | |
3138 | ||
3139 | addcmd('explorer', 'Opens DEX explorer',{'dex'}, | |
3140 | function(args, speaker) | |
3141 | loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)() | |
3142 | end) | |
3143 | ||
3144 | addcmd('remotespy', 'Prints remotes',{'remotes'}, | |
3145 | function(args, speaker) | |
3146 | notify('Remotespy','Printed remotes') | |
3147 | function getem(o) | |
3148 | for i,v in pairs(o:children())do | |
3149 | if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then | |
3150 | print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName()) | |
3151 | end | |
3152 | getem(v) | |
3153 | end | |
3154 | end | |
3155 | pcall(getem,game) | |
3156 | end) | |
3157 | ||
3158 | addcmd('orbit', 'Orbit around a player',{}, | |
3159 | function(args, speaker) | |
3160 | local players = getPlayer(args[1], speaker) | |
3161 | for i,v in pairs(players)do | |
3162 | local o = Instance.new("RocketPropulsion") | |
3163 | o.Parent = Players.LocalPlayer.Character.HumanoidRootPart | |
3164 | o.Name = "Orbit" | |
3165 | o.Target = Players[v].Character.HumanoidRootPart | |
3166 | o:Fire() | |
3167 | execCmd('noclip') | |
3168 | end | |
3169 | end) | |
3170 | ||
3171 | addcmd('unorbit', 'Stops orbiting',{}, | |
3172 | function(args, speaker) | |
3173 | execCmd('clip') | |
3174 | Players.LocalPlayer.Character.HumanoidRootPart.Orbit:Destroy() | |
3175 | end) | |
3176 | ||
3177 | loopgoto = nil | |
3178 | addcmd('loopgoto', 'Loop teleport to a player',{}, | |
3179 | function(args, speaker) | |
3180 | local players = getPlayer(args[1], speaker) | |
3181 | for i,v in pairs(players)do | |
3182 | loopgoto = Players[v] | |
3183 | repeat wait() if Players[v].Character ~= nil then | |
3184 | if speaker.Character:FindFirstChild("Humanoid") then | |
3185 | speaker.Character.Humanoid.Jump = true | |
3186 | end | |
3187 | speaker.Character:MoveTo(Players[v].Character.HumanoidRootPart.Position) | |
3188 | end | |
3189 | until loopgoto ~= Players[v] | |
3190 | end | |
3191 | end) | |
3192 | ||
3193 | addcmd('unloopgoto', 'Stops teleporting you to a player',{'noloopgoto'}, | |
3194 | function(args, speaker) | |
3195 | loopgoto = nil | |
3196 | end) | |
3197 | ||
3198 | spamming = false | |
3199 | addcmd('spam', 'Makes you spam the chat',{}, | |
3200 | function(args, speaker) | |
3201 | spamming = true | |
3202 | repeat wait(1) | |
3203 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(getstring(false, 0), "All") | |
3204 | until spamming == false | |
3205 | end) | |
3206 | ||
3207 | addcmd('nospam', 'Turns off spam',{'unspam'}, | |
3208 | function(args, speaker) | |
3209 | spamming = false | |
3210 | end) | |
3211 | ||
3212 | pmspamming = {} | |
3213 | addcmd('pmspam', 'Makes you spam a players whispers',{}, | |
3214 | function(args, speaker) | |
3215 | local players = getPlayer(args[1], speaker) | |
3216 | for i,v in pairs(players)do | |
3217 | spawn(function() | |
3218 | if FindInTable(pmspamming, Players[v].Name) then return end | |
3219 | table.insert(pmspamming, Players[v].Name) | |
3220 | repeat wait(1) | |
3221 | game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..Players[v].Name.." "..getstring(false, 1), "All") | |
3222 | until not FindInTable(pmspamming, Players[v].Name) | |
3223 | end) | |
3224 | end | |
3225 | end) | |
3226 | ||
3227 | addcmd('nopmspam', 'turns off pm spam',{'unpmspam'}, | |
3228 | function(args, speaker) | |
3229 | local players = getPlayer(args[1], speaker) | |
3230 | for i,v in pairs(players)do | |
3231 | spawn(function() | |
3232 | for a,b in pairs(pmspamming) do | |
3233 | if b == Players[v].Name then | |
3234 | table.remove(pmspamming, a) | |
3235 | end | |
3236 | end | |
3237 | end) | |
3238 | end | |
3239 | end) | |
3240 | ||
3241 | addcmd('blockhead', 'Turns your head into a block',{}, | |
3242 | function(args, speaker) | |
3243 | Players.LocalPlayer.Character.Head.Mesh:Destroy() | |
3244 | end) | |
3245 | ||
3246 | bangplr = nil | |
3247 | ||
3248 | addcmd('bang', 'owo',{'rape'}, | |
3249 | function(args, speaker) | |
3250 | local players = getPlayer(args[1], speaker) | |
3251 | for i,v in pairs(players)do | |
3252 | local Anim2 = Instance.new("Animation") | |
3253 | Anim2.AnimationId = "rbxassetid://148840371" | |
3254 | local track2 = Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim2) | |
3255 | track2:Play(.1, 1, 1) | |
3256 | bangplr = Players[v].Name | |
3257 | end | |
3258 | end) | |
3259 | ||
3260 | addcmd('unbang', 'uwu',{'unrape'}, | |
3261 | function(args, speaker) | |
3262 | bangplr = nil | |
3263 | end) | |
3264 | ||
3265 | gtools = false | |
3266 | addcmd('grabtools', 'Automatically get tools that are dropped',{}, | |
3267 | function(args, speaker) | |
3268 | workspace.ChildAdded:connect(function(part) | |
3269 | if gtools then | |
3270 | if part:IsA("Tool") then | |
3271 | part.Handle.CFrame = Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
3272 | end | |
3273 | end | |
3274 | end) | |
3275 | end) | |
3276 | ||
3277 | addcmd('nograbtools', 'Disables grabtools',{'ungrabtools'}, | |
3278 | function(args, speaker) | |
3279 | gtools = false | |
3280 | end) | |
3281 | ||
3282 | addcmd('givetools', 'Give your tools to a player',{}, | |
3283 | function(args, speaker) | |
3284 | for i,t in pairs(Players.LocalPlayer.Backpack:GetDescendants()) do | |
3285 | if t:IsA("Tool") then | |
3286 | t.Parent = Players.LocalPlayer.Character | |
3287 | wait() | |
3288 | local players = getPlayer(args[1], speaker) | |
3289 | for i,v in pairs(players)do | |
3290 | t.Parent = Players[v].Character | |
3291 | end | |
3292 | end | |
3293 | end | |
3294 | end) | |
3295 | ||
3296 | addcmd('copytools', 'Copies a players tools',{'clonetools'}, | |
3297 | function(args, speaker) | |
3298 | local players = getPlayer(args[1], speaker) | |
3299 | for i,v in pairs(players)do | |
3300 | spawn(function() | |
3301 | for i,v in pairs(Players[v].Backpack:GetChildren()) do | |
3302 | if v:IsA('Tool') or v:IsA('HopperBin') then | |
3303 | v:Clone().Parent = speaker.Backpack | |
3304 | end | |
3305 | end | |
3306 | end) | |
3307 | end | |
3308 | end) | |
3309 | ||
3310 | addcmd('naked', 'Removes your clothing',{}, | |
3311 | function(args, speaker) | |
3312 | for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do | |
3313 | if v:IsA("Clothing") then | |
3314 | v:Destroy() | |
3315 | end | |
3316 | end | |
3317 | end) | |
3318 | ||
3319 | addcmd('spawnpoint', 'Sets your characters position to your spawnpoint',{'spawn'}, | |
3320 | function(args, speaker) | |
3321 | spawnpos = Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
3322 | spawnpoint = true | |
3323 | notify('Spawn Point','Spawn point created at '..tostring(spawnpos)) | |
3324 | end) | |
3325 | ||
3326 | addcmd('nospawnpoint', 'Removes your custom spawn point',{'nospawn'}, | |
3327 | function(args, speaker) | |
3328 | spawnpoint = false | |
3329 | notify('Spawn Point','Removed spawn point') | |
3330 | end) | |
3331 | ||
3332 | addcmd('hatspin', 'Spins your characters accessorys',{'spinhats'}, | |
3333 | function(args, speaker) | |
3334 | for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do | |
3335 | if v:IsA("Accessory") or v:IsA("Hat") then | |
3336 | local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no" | |
3337 | local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha" | |
3338 | if v.Handle.AccessoryWeld then | |
3339 | v.Handle.AccessoryWeld:Destroy() | |
3340 | end | |
3341 | if args[1] then | |
3342 | spin.AngularVelocity = Vector3.new(0, args[1], 0) | |
3343 | spin.MaxTorque = Vector3.new(0, args[1] * 2, 0) | |
3344 | else | |
3345 | spin.AngularVelocity = Vector3.new(0, 100, 0) | |
3346 | spin.MaxTorque = Vector3.new(0, 200, 0) | |
3347 | end | |
3348 | keep.P = 30000 | |
3349 | keep.D = 50 | |
3350 | spinning = keep | |
3351 | spinenabled = true | |
3352 | end | |
3353 | end | |
3354 | end) | |
3355 | ||
3356 | addcmd('unhatspin', 'Undoes spinhats',{'unspinhats'}, | |
3357 | function(args, speaker) | |
3358 | for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do | |
3359 | if v:IsA("Accessory") or v:IsA("Hat") then | |
3360 | pcall(function() | |
3361 | if v:IsA("Accessory") or v:IsA("Hat") then | |
3362 | v.Parent = workspace | |
3363 | end | |
3364 | wait(0.5) | |
3365 | v.Handle.no:Destroy() | |
3366 | v.Handle.ha:Destroy() | |
3367 | if v:IsA("Accessory") or v:IsA("Hat") then | |
3368 | v.Parent = Players.LocalPlayer.Character | |
3369 | end | |
3370 | end) | |
3371 | end | |
3372 | end | |
3373 | end) |