1 | if IY_LOADED and not _G.IY_DEBUG == true then |
2 | -- error("Infinite Yield is already running!", 0) |
3 | return |
4 | end |
5 | |
6 | pcall(function() getgenv().IY_LOADED = true end) |
7 | |
8 | COREGUI = game:GetService("CoreGui") |
9 | if not game:IsLoaded() then |
10 | local notLoaded = Instance.new("Message") |
11 | notLoaded.Parent = COREGUI |
12 | notLoaded.Text = 'Infinite Yield is waiting for the game to load' |
13 | game.Loaded:Wait() |
14 | notLoaded:Destroy() |
15 | end |
16 | |
17 | currentVersion = '5.9.4' |
18 | |
19 | Players = game:GetService("Players") |
20 | |
21 | Holder = Instance.new("Frame") |
22 | Title = Instance.new("TextLabel") |
23 | Dark = Instance.new("Frame") |
24 | Cmdbar = Instance.new("TextBox") |
25 | CMDsF = Instance.new("ScrollingFrame") |
26 | cmdListLayout = Instance.new("UIListLayout") |
27 | SettingsButton = Instance.new("ImageButton") |
28 | ColorsButton = Instance.new("ImageButton") |
29 | Settings = Instance.new("Frame") |
30 | Prefix = Instance.new("TextLabel") |
31 | PrefixBox = Instance.new("TextBox") |
32 | Keybinds = Instance.new("TextLabel") |
33 | StayOpen = Instance.new("TextLabel") |
34 | Button = Instance.new("Frame") |
35 | On = Instance.new("TextButton") |
36 | Positions = Instance.new("TextLabel") |
37 | EventBind = Instance.new("TextLabel") |
38 | Plugins = Instance.new("TextLabel") |
39 | Example = Instance.new("TextButton") |
40 | Notification = Instance.new("Frame") |
41 | Title_2 = Instance.new("TextLabel") |
42 | Text_2 = Instance.new("TextLabel") |
43 | CloseButton = Instance.new("TextButton") |
44 | CloseImage = Instance.new("ImageLabel") |
45 | PinButton = Instance.new("TextButton") |
46 | PinImage = Instance.new("ImageLabel") |
47 | Tooltip = Instance.new("Frame") |
48 | Title_3 = Instance.new("TextLabel") |
49 | Description = Instance.new("TextLabel") |
50 | IntroBackground = Instance.new("Frame") |
51 | Logo = Instance.new("ImageLabel") |
52 | Credits = Instance.new("TextBox") |
53 | KeybindsFrame = Instance.new("Frame") |
54 | Close = Instance.new("TextButton") |
55 | Add = Instance.new("TextButton") |
56 | Delete = Instance.new("TextButton") |
57 | Holder_2 = Instance.new("ScrollingFrame") |
58 | Example_2 = Instance.new("Frame") |
59 | Text_3 = Instance.new("TextLabel") |
60 | Delete_2 = Instance.new("TextButton") |
61 | KeybindEditor = Instance.new("Frame") |
62 | background_2 = Instance.new("Frame") |
63 | Dark_3 = Instance.new("Frame") |
64 | Directions = Instance.new("TextLabel") |
65 | BindTo = Instance.new("TextButton") |
66 | TriggerLabel = Instance.new("TextLabel") |
67 | BindTriggerSelect = Instance.new("TextButton") |
68 | Add_2 = Instance.new("TextButton") |
69 | Toggles = Instance.new("ScrollingFrame") |
70 | ClickTP = Instance.new("TextLabel") |
71 | Select = Instance.new("TextButton") |
72 | ClickDelete = Instance.new("TextLabel") |
73 | Select_2 = Instance.new("TextButton") |
74 | Cmdbar_2 = Instance.new("TextBox") |
75 | Cmdbar_3 = Instance.new("TextBox") |
76 | CreateToggle = Instance.new("TextLabel") |
77 | Button_2 = Instance.new("Frame") |
78 | On_2 = Instance.new("TextButton") |
79 | shadow_2 = Instance.new("Frame") |
80 | PopupText_2 = Instance.new("TextLabel") |
81 | Exit_2 = Instance.new("TextButton") |
82 | ExitImage_2 = Instance.new("ImageLabel") |
83 | PositionsFrame = Instance.new("Frame") |
84 | Close_3 = Instance.new("TextButton") |
85 | Delete_5 = Instance.new("TextButton") |
86 | Part = Instance.new("TextButton") |
87 | Holder_4 = Instance.new("ScrollingFrame") |
88 | Example_4 = Instance.new("Frame") |
89 | Text_5 = Instance.new("TextLabel") |
90 | Delete_6 = Instance.new("TextButton") |
91 | TP = Instance.new("TextButton") |
92 | AliasesFrame = Instance.new("Frame") |
93 | Close_2 = Instance.new("TextButton") |
94 | Delete_3 = Instance.new("TextButton") |
95 | Holder_3 = Instance.new("ScrollingFrame") |
96 | Example_3 = Instance.new("Frame") |
97 | Text_4 = Instance.new("TextLabel") |
98 | Delete_4 = Instance.new("TextButton") |
99 | Aliases = Instance.new("TextLabel") |
100 | PluginsFrame = Instance.new("Frame") |
101 | Close_4 = Instance.new("TextButton") |
102 | Add_3 = Instance.new("TextButton") |
103 | Holder_5 = Instance.new("ScrollingFrame") |
104 | Example_5 = Instance.new("Frame") |
105 | Text_6 = Instance.new("TextLabel") |
106 | Delete_7 = Instance.new("TextButton") |
107 | PluginEditor = Instance.new("Frame") |
108 | background_3 = Instance.new("Frame") |
109 | Dark_2 = Instance.new("Frame") |
110 | Img = Instance.new("ImageButton") |
111 | AddPlugin = Instance.new("TextButton") |
112 | FileName = Instance.new("TextBox") |
113 | About = Instance.new("TextLabel") |
114 | Directions_2 = Instance.new("TextLabel") |
115 | shadow_3 = Instance.new("Frame") |
116 | PopupText_3 = Instance.new("TextLabel") |
117 | Exit_3 = Instance.new("TextButton") |
118 | ExitImage_3 = Instance.new("ImageLabel") |
119 | AliasHint = Instance.new("TextLabel") |
120 | PluginsHint = Instance.new("TextLabel") |
121 | PositionsHint = Instance.new("TextLabel") |
122 | ToPartFrame = Instance.new("Frame") |
123 | background_4 = Instance.new("Frame") |
124 | ChoosePart = Instance.new("TextButton") |
125 | CopyPath = Instance.new("TextButton") |
126 | Directions_3 = Instance.new("TextLabel") |
127 | Path = Instance.new("TextLabel") |
128 | shadow_4 = Instance.new("Frame") |
129 | PopupText_5 = Instance.new("TextLabel") |
130 | Exit_4 = Instance.new("TextButton") |
131 | ExitImage_5 = Instance.new("ImageLabel") |
132 | logs = Instance.new("Frame") |
133 | shadow = Instance.new("Frame") |
134 | Hide = Instance.new("TextButton") |
135 | ImageLabel = Instance.new("ImageLabel") |
136 | PopupText = Instance.new("TextLabel") |
137 | Exit = Instance.new("TextButton") |
138 | ImageLabel_2 = Instance.new("ImageLabel") |
139 | background = Instance.new("Frame") |
140 | chat = Instance.new("Frame") |
141 | Clear = Instance.new("TextButton") |
142 | SaveChatlogs = Instance.new("TextButton") |
143 | Toggle = Instance.new("TextButton") |
144 | scroll_2 = Instance.new("ScrollingFrame") |
145 | join = Instance.new("Frame") |
146 | Toggle_2 = Instance.new("TextButton") |
147 | Clear_2 = Instance.new("TextButton") |
148 | scroll_3 = Instance.new("ScrollingFrame") |
149 | listlayout = Instance.new("UIListLayout",scroll_3) |
150 | selectChat = Instance.new("TextButton") |
151 | selectJoin = Instance.new("TextButton") |
152 | |
153 | function randomString() |
154 | local length = math.random(10,20) |
155 | local array = {} |
156 | for i = 1, length do |
157 | array[i] = string.char(math.random(32, 126)) |
158 | end |
159 | return table.concat(array) |
160 | end |
161 | |
162 | PARENT = nil |
163 | if get_hidden_gui or gethui then |
164 | local hiddenUI = get_hidden_gui or gethui |
165 | local Main = Instance.new("ScreenGui") |
166 | Main.Name = randomString() |
167 | Main.Parent = hiddenUI() |
168 | PARENT = Main |
169 | elseif (not is_sirhurt_closure) and (syn and syn.protect_gui) then |
170 | local Main = Instance.new("ScreenGui") |
171 | Main.Name = randomString() |
172 | syn.protect_gui(Main) |
173 | Main.Parent = COREGUI |
174 | PARENT = Main |
175 | elseif COREGUI:FindFirstChild('RobloxGui') then |
176 | PARENT = COREGUI.RobloxGui |
177 | else |
178 | local Main = Instance.new("ScreenGui") |
179 | Main.Name = randomString() |
180 | Main.Parent = COREGUI |
181 | PARENT = Main |
182 | end |
183 | |
184 | shade1 = {} |
185 | shade2 = {} |
186 | shade3 = {} |
187 | text1 = {} |
188 | text2 = {} |
189 | scroll = {} |
190 | |
191 | Holder.Name = randomString() |
192 | Holder.Parent = PARENT |
193 | Holder.Active = true |
194 | Holder.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
195 | Holder.BorderSizePixel = 0 |
196 | Holder.Position = UDim2.new(1, -250, 1, -220) |
197 | Holder.Size = UDim2.new(0, 250, 0, 220) |
198 | Holder.ZIndex = 10 |
199 | table.insert(shade2,Holder) |
200 | |
201 | Title.Name = "Title" |
202 | Title.Parent = Holder |
203 | Title.Active = true |
204 | Title.BackgroundColor3 = Color3.fromRGB(36,36,37) |
205 | Title.BorderSizePixel = 0 |
206 | Title.Size = UDim2.new(0, 250, 0, 20) |
207 | Title.Font = Enum.Font.SourceSans |
208 | Title.TextSize = 18 |
209 | Title.Text = "Kustom IY (lulaslollipop) v" .. currentVersion |
210 | |
211 | do |
212 | local emoji = ({ |
213 | ["01 01"] = "🎆", |
214 | [(function(Year) |
215 | local A = math.floor(Year/100) |
216 | local B = math.floor((13+8*A)/25) |
217 | local C = (15-B+A-math.floor(A/4))%30 |
218 | local D = (4+A-math.floor(A/4))%7 |
219 | local E = (19*(Year%19)+C)%30 |
220 | local F = (2*(Year%4)+4*(Year%7)+6*E+D)%7 |
221 | local G = (22+E+F) |
222 | if E == 29 and F == 6 then |
223 | return "04 19" |
224 | elseif E == 28 and F == 6 then |
225 | return "04 18" |
226 | elseif 31 < G then |
227 | return ("04 %02d"):format(G-31) |
228 | end |
229 | return ("03 %02d"):format(G) |
230 | end)(tonumber(os.date"%Y"))] = "🥚", |
231 | ["10 31"] = "🎃", |
232 | ["12 25"] = "🎄" |
233 | })[os.date("%m %d")] |
234 | if emoji then |
235 | Title.Text = ("%s %s %s"):format(emoji, Title.Text, emoji) |
236 | end |
237 | end |
238 | |
239 | Title.TextColor3 = Color3.new(1, 1, 1) |
240 | Title.ZIndex = 10 |
241 | table.insert(shade1,Title) |
242 | table.insert(text1,Title) |
243 | |
244 | Dark.Name = "Dark" |
245 | Dark.Parent = Holder |
246 | Dark.Active = true |
247 | Dark.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
248 | Dark.BorderSizePixel = 0 |
249 | Dark.Position = UDim2.new(0, 0, 0, 45) |
250 | Dark.Size = UDim2.new(0, 250, 0, 175) |
251 | Dark.ZIndex = 10 |
252 | table.insert(shade1,Dark) |
253 | |
254 | Cmdbar.Name = "Cmdbar" |
255 | Cmdbar.Parent = Holder |
256 | Cmdbar.BackgroundTransparency = 1 |
257 | Cmdbar.BorderSizePixel = 0 |
258 | Cmdbar.Position = UDim2.new(0, 5, 0, 20) |
259 | Cmdbar.Size = UDim2.new(0, 240, 0, 25) |
260 | Cmdbar.Font = Enum.Font.SourceSans |
261 | Cmdbar.TextSize = 18 |
262 | Cmdbar.TextXAlignment = Enum.TextXAlignment.Left |
263 | Cmdbar.TextColor3 = Color3.new(1, 1, 1) |
264 | Cmdbar.Text = "" |
265 | Cmdbar.ZIndex = 10 |
266 | Cmdbar.PlaceholderText = "Command Bar" |
267 | |
268 | CMDsF.Name = "CMDs" |
269 | CMDsF.Parent = Holder |
270 | CMDsF.BackgroundTransparency = 1 |
271 | CMDsF.BorderSizePixel = 0 |
272 | CMDsF.Position = UDim2.new(0, 5, 0, 45) |
273 | CMDsF.Size = UDim2.new(0, 245, 0, 175) |
274 | CMDsF.ScrollBarImageColor3 = Color3.fromRGB(78,78,79) |
275 | CMDsF.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
276 | CMDsF.CanvasSize = UDim2.new(0, 0, 0, 0) |
277 | CMDsF.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
278 | CMDsF.ScrollBarThickness = 8 |
279 | CMDsF.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
280 | CMDsF.VerticalScrollBarInset = 'Always' |
281 | CMDsF.ZIndex = 10 |
282 | table.insert(scroll,CMDsF) |
283 | |
284 | cmdListLayout.Parent = CMDsF |
285 | |
286 | SettingsButton.Name = "SettingsButton" |
287 | SettingsButton.Parent = Holder |
288 | SettingsButton.BackgroundTransparency = 1 |
289 | SettingsButton.Position = UDim2.new(0, 230, 0, 0) |
290 | SettingsButton.Size = UDim2.new(0, 20, 0, 20) |
291 | SettingsButton.Image = "rbxassetid://1204397029" |
292 | SettingsButton.ZIndex = 10 |
293 | |
294 | ReferenceButton = Instance.new("ImageButton") |
295 | ReferenceButton.Name = "ReferenceButton" |
296 | ReferenceButton.Parent = Holder |
297 | ReferenceButton.BackgroundTransparency = 1 |
298 | ReferenceButton.Position = UDim2.new(0, 212, 0, 2) |
299 | ReferenceButton.Size = UDim2.new(0, 16, 0, 16) |
300 | ReferenceButton.Image = "rbxassetid://3523243755" |
301 | ReferenceButton.ZIndex = 10 |
302 | |
303 | Settings.Name = "Settings" |
304 | Settings.Parent = Holder |
305 | Settings.Active = true |
306 | Settings.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
307 | Settings.BorderSizePixel = 0 |
308 | Settings.Position = UDim2.new(0, 0, 0, 220) |
309 | Settings.Size = UDim2.new(0, 250, 0, 175) |
310 | Settings.ZIndex = 10 |
311 | table.insert(shade1,Settings) |
312 | |
313 | SettingsHolder = Instance.new("ScrollingFrame") |
314 | SettingsHolder.Name = "Holder" |
315 | SettingsHolder.Parent = Settings |
316 | SettingsHolder.BackgroundTransparency = 1 |
317 | SettingsHolder.BorderSizePixel = 0 |
318 | SettingsHolder.Size = UDim2.new(1,0,1,0) |
319 | SettingsHolder.ScrollBarImageColor3 = Color3.fromRGB(78,78,79) |
320 | SettingsHolder.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
321 | SettingsHolder.CanvasSize = UDim2.new(0, 0, 0, 235) |
322 | SettingsHolder.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
323 | SettingsHolder.ScrollBarThickness = 8 |
324 | SettingsHolder.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
325 | SettingsHolder.VerticalScrollBarInset = 'Always' |
326 | SettingsHolder.ZIndex = 10 |
327 | table.insert(scroll,SettingsHolder) |
328 | |
329 | Prefix.Name = "Prefix" |
330 | Prefix.Parent = SettingsHolder |
331 | Prefix.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
332 | Prefix.BorderSizePixel = 0 |
333 | Prefix.BackgroundTransparency = 1 |
334 | Prefix.Position = UDim2.new(0, 5, 0, 5) |
335 | Prefix.Size = UDim2.new(1, -10, 0, 20) |
336 | Prefix.Font = Enum.Font.SourceSans |
337 | Prefix.TextSize = 14 |
338 | Prefix.Text = "Prefix" |
339 | Prefix.TextColor3 = Color3.new(1, 1, 1) |
340 | Prefix.TextXAlignment = Enum.TextXAlignment.Left |
341 | Prefix.ZIndex = 10 |
342 | table.insert(shade2,Prefix) |
343 | table.insert(text1,Prefix) |
344 | |
345 | PrefixBox.Name = "PrefixBox" |
346 | PrefixBox.Parent = Prefix |
347 | PrefixBox.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
348 | PrefixBox.BorderSizePixel = 0 |
349 | PrefixBox.Position = UDim2.new(1, -20, 0, 0) |
350 | PrefixBox.Size = UDim2.new(0, 20, 0, 20) |
351 | PrefixBox.Font = Enum.Font.SourceSansBold |
352 | PrefixBox.TextSize = 14 |
353 | PrefixBox.Text = '' |
354 | PrefixBox.TextColor3 = Color3.new(0, 0, 0) |
355 | PrefixBox.ZIndex = 10 |
356 | table.insert(shade3,PrefixBox) |
357 | table.insert(text2,PrefixBox) |
358 | |
359 | function makeSettingsButton(name,iconID,off) |
360 | local button = Instance.new("TextButton") |
361 | button.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
362 | button.BorderSizePixel = 0 |
363 | button.Position = UDim2.new(0,0,0,0) |
364 | button.Size = UDim2.new(1,0,0,25) |
365 | button.Text = "" |
366 | button.ZIndex = 10 |
367 | local icon = Instance.new("ImageLabel") |
368 | icon.Name = "Icon" |
369 | icon.Parent = button |
370 | icon.Position = UDim2.new(0,5,0,5) |
371 | icon.Size = UDim2.new(0,16,0,16) |
372 | icon.BackgroundTransparency = 1 |
373 | icon.Image = iconID |
374 | icon.ZIndex = 10 |
375 | if off then |
376 | icon.ScaleType = Enum.ScaleType.Crop |
377 | icon.ImageRectSize = Vector2.new(16,16) |
378 | icon.ImageRectOffset = Vector2.new(off,0) |
379 | end |
380 | local label = Instance.new("TextLabel") |
381 | label.Name = "ButtonLabel" |
382 | label.Parent = button |
383 | label.BackgroundTransparency = 1 |
384 | label.Text = name |
385 | label.Position = UDim2.new(0,28,0,0) |
386 | label.Size = UDim2.new(1,-28,1,0) |
387 | label.Font = Enum.Font.SourceSans |
388 | label.TextColor3 = Color3.new(1, 1, 1) |
389 | label.TextSize = 14 |
390 | label.ZIndex = 10 |
391 | label.TextXAlignment = Enum.TextXAlignment.Left |
392 | table.insert(shade2,button) |
393 | table.insert(text1,label) |
394 | return button |
395 | end |
396 | |
397 | ColorsButton = makeSettingsButton("Edit Theme","rbxassetid://4911962991") |
398 | ColorsButton.Position = UDim2.new(0,5,0,55) |
399 | ColorsButton.Size = UDim2.new(1,-10,0,25) |
400 | ColorsButton.Name = "Colors" |
401 | ColorsButton.Parent = SettingsHolder |
402 | |
403 | Keybinds = makeSettingsButton("Edit Keybinds","rbxassetid://129697930") |
404 | Keybinds.Position = UDim2.new(0, 5, 0, 85) |
405 | Keybinds.Size = UDim2.new(1, -10, 0, 25) |
406 | Keybinds.Name = "Keybinds" |
407 | Keybinds.Parent = SettingsHolder |
408 | |
409 | Aliases = makeSettingsButton("Edit Aliases","rbxassetid://5147488658") |
410 | Aliases.Position = UDim2.new(0, 5, 0, 115) |
411 | Aliases.Size = UDim2.new(1, -10, 0, 25) |
412 | Aliases.Name = "Aliases" |
413 | Aliases.Parent = SettingsHolder |
414 | |
415 | StayOpen.Name = "StayOpen" |
416 | StayOpen.Parent = SettingsHolder |
417 | StayOpen.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
418 | StayOpen.BorderSizePixel = 0 |
419 | StayOpen.BackgroundTransparency = 1 |
420 | StayOpen.Position = UDim2.new(0, 5, 0, 30) |
421 | StayOpen.Size = UDim2.new(1, -10, 0, 20) |
422 | StayOpen.Font = Enum.Font.SourceSans |
423 | StayOpen.TextSize = 14 |
424 | StayOpen.Text = "Keep Menu Open" |
425 | StayOpen.TextColor3 = Color3.new(1, 1, 1) |
426 | StayOpen.TextXAlignment = Enum.TextXAlignment.Left |
427 | StayOpen.ZIndex = 10 |
428 | table.insert(shade2,StayOpen) |
429 | table.insert(text1,StayOpen) |
430 | |
431 | Button.Name = "Button" |
432 | Button.Parent = StayOpen |
433 | Button.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
434 | Button.BorderSizePixel = 0 |
435 | Button.Position = UDim2.new(1, -20, 0, 0) |
436 | Button.Size = UDim2.new(0, 20, 0, 20) |
437 | Button.ZIndex = 10 |
438 | table.insert(shade3,Button) |
439 | |
440 | On.Name = "On" |
441 | On.Parent = Button |
442 | On.BackgroundColor3 = Color3.fromRGB(150, 150, 151) |
443 | On.BackgroundTransparency = 1 |
444 | On.BorderSizePixel = 0 |
445 | On.Position = UDim2.new(0, 2, 0, 2) |
446 | On.Size = UDim2.new(0, 16, 0, 16) |
447 | On.Font = Enum.Font.SourceSans |
448 | On.FontSize = Enum.FontSize.Size14 |
449 | On.Text = "" |
450 | On.TextColor3 = Color3.new(0, 0, 0) |
451 | On.ZIndex = 10 |
452 | |
453 | Positions = makeSettingsButton("Edit/Goto Waypoints","rbxassetid://5147488592") |
454 | Positions.Position = UDim2.new(0, 5, 0, 145) |
455 | Positions.Size = UDim2.new(1, -10, 0, 25) |
456 | Positions.Name = "Waypoints" |
457 | Positions.Parent = SettingsHolder |
458 | |
459 | EventBind = makeSettingsButton("Edit Event Binds","rbxassetid://5147695474",759) |
460 | EventBind.Position = UDim2.new(0, 5, 0, 205) |
461 | EventBind.Size = UDim2.new(1, -10, 0, 25) |
462 | EventBind.Name = "EventBinds" |
463 | EventBind.Parent = SettingsHolder |
464 | |
465 | Plugins = makeSettingsButton("Manage Plugins","rbxassetid://5147695474",743) |
466 | Plugins.Position = UDim2.new(0, 5, 0, 175) |
467 | Plugins.Size = UDim2.new(1, -10, 0, 25) |
468 | Plugins.Name = "Plugins" |
469 | Plugins.Parent = SettingsHolder |
470 | |
471 | Example.Name = "Example" |
472 | Example.Parent = Holder |
473 | Example.BackgroundTransparency = 1 |
474 | Example.BorderSizePixel = 0 |
475 | Example.Size = UDim2.new(0, 190, 0, 20) |
476 | Example.Visible = false |
477 | Example.Font = Enum.Font.SourceSans |
478 | Example.TextSize = 18 |
479 | Example.Text = "Example" |
480 | Example.TextColor3 = Color3.new(1, 1, 1) |
481 | Example.TextXAlignment = Enum.TextXAlignment.Left |
482 | Example.ZIndex = 10 |
483 | table.insert(text1,Example) |
484 | |
485 | Notification.Name = randomString() |
486 | Notification.Parent = PARENT |
487 | Notification.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
488 | Notification.BorderSizePixel = 0 |
489 | Notification.Position = UDim2.new(1, -500, 1, 20) |
490 | Notification.Size = UDim2.new(0, 250, 0, 100) |
491 | Notification.ZIndex = 10 |
492 | table.insert(shade1,Notification) |
493 | |
494 | Title_2.Name = "Title" |
495 | Title_2.Parent = Notification |
496 | Title_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
497 | Title_2.BorderSizePixel = 0 |
498 | Title_2.Size = UDim2.new(0, 250, 0, 20) |
499 | Title_2.Font = Enum.Font.SourceSans |
500 | Title_2.TextSize = 14 |
501 | Title_2.Text = "Notification Title" |
502 | Title_2.TextColor3 = Color3.new(1, 1, 1) |
503 | Title_2.ZIndex = 10 |
504 | table.insert(shade2,Title_2) |
505 | table.insert(text1,Title_2) |
506 | |
507 | Text_2.Name = "Text" |
508 | Text_2.Parent = Notification |
509 | Text_2.BackgroundTransparency = 1 |
510 | Text_2.BorderSizePixel = 0 |
511 | Text_2.Position = UDim2.new(0, 5, 0, 25) |
512 | Text_2.Size = UDim2.new(0, 240, 0, 75) |
513 | Text_2.Font = Enum.Font.SourceSans |
514 | Text_2.TextSize = 16 |
515 | Text_2.Text = "Notification Text" |
516 | Text_2.TextColor3 = Color3.new(1, 1, 1) |
517 | Text_2.TextWrapped = true |
518 | Text_2.ZIndex = 10 |
519 | table.insert(text1,Text_2) |
520 | |
521 | CloseButton.Name = "CloseButton" |
522 | CloseButton.Parent = Notification |
523 | CloseButton.BackgroundTransparency = 1 |
524 | CloseButton.Position = UDim2.new(1, -20, 0, 0) |
525 | CloseButton.Size = UDim2.new(0, 20, 0, 20) |
526 | CloseButton.Text = "" |
527 | CloseButton.ZIndex = 10 |
528 | |
529 | CloseImage.Parent = CloseButton |
530 | CloseImage.BackgroundColor3 = Color3.new(1, 1, 1) |
531 | CloseImage.BackgroundTransparency = 1 |
532 | CloseImage.Position = UDim2.new(0, 5, 0, 5) |
533 | CloseImage.Size = UDim2.new(0, 10, 0, 10) |
534 | CloseImage.Image = "rbxassetid://5054663650" |
535 | CloseImage.ZIndex = 10 |
536 | |
537 | PinButton.Name = "PinButton" |
538 | PinButton.Parent = Notification |
539 | PinButton.BackgroundTransparency = 1 |
540 | PinButton.Size = UDim2.new(0, 20, 0, 20) |
541 | PinButton.ZIndex = 10 |
542 | PinButton.Text = "" |
543 | |
544 | PinImage.Parent = PinButton |
545 | PinImage.BackgroundColor3 = Color3.new(1, 1, 1) |
546 | PinImage.BackgroundTransparency = 1 |
547 | PinImage.Position = UDim2.new(0, 3, 0, 3) |
548 | PinImage.Size = UDim2.new(0, 14, 0, 14) |
549 | PinImage.ZIndex = 10 |
550 | PinImage.Image = "rbxassetid://6234691350" |
551 | |
552 | Tooltip.Name = randomString() |
553 | Tooltip.Parent = PARENT |
554 | Tooltip.Active = true |
555 | Tooltip.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
556 | Tooltip.BackgroundTransparency = 0.1 |
557 | Tooltip.BorderSizePixel = 0 |
558 | Tooltip.Size = UDim2.new(0, 200, 0, 96) |
559 | Tooltip.Visible = false |
560 | Tooltip.ZIndex = 10 |
561 | table.insert(shade1,Tooltip) |
562 | |
563 | Title_3.Name = "Title" |
564 | Title_3.Parent = Tooltip |
565 | Title_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
566 | Title_3.BackgroundTransparency = 0.1 |
567 | Title_3.BorderSizePixel = 0 |
568 | Title_3.Size = UDim2.new(0, 200, 0, 20) |
569 | Title_3.Font = Enum.Font.SourceSans |
570 | Title_3.TextSize = 14 |
571 | Title_3.Text = "" |
572 | Title_3.TextColor3 = Color3.new(1, 1, 1) |
573 | Title_3.TextTransparency = 0.1 |
574 | Title_3.ZIndex = 10 |
575 | table.insert(shade2,Title_3) |
576 | table.insert(text1,Title_3) |
577 | |
578 | Description.Name = "Description" |
579 | Description.Parent = Tooltip |
580 | Description.BackgroundTransparency = 1 |
581 | Description.BorderSizePixel = 0 |
582 | Description.Size = UDim2.new(0,180,0,72) |
583 | Description.Position = UDim2.new(0,10,0,18) |
584 | Description.Font = Enum.Font.SourceSans |
585 | Description.TextSize = 16 |
586 | Description.Text = "" |
587 | Description.TextColor3 = Color3.new(1, 1, 1) |
588 | Description.TextTransparency = 0.1 |
589 | Description.TextWrapped = true |
590 | Description.ZIndex = 10 |
591 | table.insert(text1,Description) |
592 | |
593 | IntroBackground.Name = "IntroBackground" |
594 | IntroBackground.Parent = Holder |
595 | IntroBackground.Active = true |
596 | IntroBackground.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
597 | IntroBackground.BorderSizePixel = 0 |
598 | IntroBackground.Position = UDim2.new(0, 0, 0, 45) |
599 | IntroBackground.Size = UDim2.new(0, 250, 0, 175) |
600 | IntroBackground.ZIndex = 10 |
601 | |
602 | Logo.Name = "Logo" |
603 | Logo.Parent = Holder |
604 | Logo.BackgroundTransparency = 1 |
605 | Logo.BorderSizePixel = 0 |
606 | Logo.Position = UDim2.new(0, 125, 0, 127) |
607 | Logo.Size = UDim2.new(0, 10, 0, 10) |
608 | Logo.Image = "rbxassetid://1352543873" |
609 | Logo.ImageTransparency = 0 |
610 | Logo.ZIndex = 10 |
611 | |
612 | Credits.Name = "Credits" |
613 | Credits.Parent = Holder |
614 | Credits.BackgroundTransparency = 1 |
615 | Credits.BorderSizePixel = 0 |
616 | Credits.Position = UDim2.new(0, 0, 0.9, 30) |
617 | Credits.Size = UDim2.new(0, 250, 0, 20) |
618 | Credits.Font = Enum.Font.SourceSansLight |
619 | Credits.FontSize = Enum.FontSize.Size18 |
620 | Credits.Text = "Edge // Zwolf // Moon // Toon" |
621 | Credits.TextColor3 = Color3.new(1, 1, 1) |
622 | Credits.ZIndex = 10 |
623 | |
624 | KeybindsFrame.Name = "KeybindsFrame" |
625 | KeybindsFrame.Parent = Settings |
626 | KeybindsFrame.Active = true |
627 | KeybindsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
628 | KeybindsFrame.BorderSizePixel = 0 |
629 | KeybindsFrame.Position = UDim2.new(0, 0, 0, 175) |
630 | KeybindsFrame.Size = UDim2.new(0, 250, 0, 175) |
631 | KeybindsFrame.ZIndex = 10 |
632 | table.insert(shade1,KeybindsFrame) |
633 | |
634 | Close.Name = "Close" |
635 | Close.Parent = KeybindsFrame |
636 | Close.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
637 | Close.BorderSizePixel = 0 |
638 | Close.Position = UDim2.new(0, 205, 0, 150) |
639 | Close.Size = UDim2.new(0, 40, 0, 20) |
640 | Close.Font = Enum.Font.SourceSans |
641 | Close.TextSize = 14 |
642 | Close.Text = "Close" |
643 | Close.TextColor3 = Color3.new(1, 1, 1) |
644 | Close.ZIndex = 10 |
645 | table.insert(shade2,Close) |
646 | table.insert(text1,Close) |
647 | |
648 | Add.Name = "Add" |
649 | Add.Parent = KeybindsFrame |
650 | Add.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
651 | Add.BorderSizePixel = 0 |
652 | Add.Position = UDim2.new(0, 5, 0, 150) |
653 | Add.Size = UDim2.new(0, 40, 0, 20) |
654 | Add.Font = Enum.Font.SourceSans |
655 | Add.TextSize = 14 |
656 | Add.Text = "Add" |
657 | Add.TextColor3 = Color3.new(1, 1, 1) |
658 | Add.ZIndex = 10 |
659 | table.insert(shade2,Add) |
660 | table.insert(text1,Add) |
661 | |
662 | Delete.Name = "Delete" |
663 | Delete.Parent = KeybindsFrame |
664 | Delete.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
665 | Delete.BorderSizePixel = 0 |
666 | Delete.Position = UDim2.new(0, 50, 0, 150) |
667 | Delete.Size = UDim2.new(0, 40, 0, 20) |
668 | Delete.Font = Enum.Font.SourceSans |
669 | Delete.TextSize = 14 |
670 | Delete.Text = "Clear" |
671 | Delete.TextColor3 = Color3.new(1, 1, 1) |
672 | Delete.ZIndex = 10 |
673 | table.insert(shade2,Delete) |
674 | table.insert(text1,Delete) |
675 | |
676 | Holder_2.Name = "Holder" |
677 | Holder_2.Parent = KeybindsFrame |
678 | Holder_2.BackgroundTransparency = 1 |
679 | Holder_2.BorderSizePixel = 0 |
680 | Holder_2.Position = UDim2.new(0, 0, 0, 0) |
681 | Holder_2.Size = UDim2.new(0, 250, 0, 145) |
682 | Holder_2.ScrollBarImageColor3 = Color3.fromRGB(78,78,79) |
683 | Holder_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
684 | Holder_2.CanvasSize = UDim2.new(0, 0, 0, 0) |
685 | Holder_2.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
686 | Holder_2.ScrollBarThickness = 0 |
687 | Holder_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
688 | Holder_2.VerticalScrollBarInset = 'Always' |
689 | Holder_2.ZIndex = 10 |
690 | |
691 | Example_2.Name = "Example" |
692 | Example_2.Parent = KeybindsFrame |
693 | Example_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
694 | Example_2.BorderSizePixel = 0 |
695 | Example_2.Size = UDim2.new(0, 10, 0, 20) |
696 | Example_2.Visible = false |
697 | Example_2.ZIndex = 10 |
698 | table.insert(shade2,Example_2) |
699 | |
700 | Text_3.Name = "Text" |
701 | Text_3.Parent = Example_2 |
702 | Text_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
703 | Text_3.BorderSizePixel = 0 |
704 | Text_3.Position = UDim2.new(0, 10, 0, 0) |
705 | Text_3.Size = UDim2.new(0, 240, 0, 20) |
706 | Text_3.Font = Enum.Font.SourceSans |
707 | Text_3.TextSize = 14 |
708 | Text_3.Text = "nom" |
709 | Text_3.TextColor3 = Color3.new(1, 1, 1) |
710 | Text_3.TextXAlignment = Enum.TextXAlignment.Left |
711 | Text_3.ZIndex = 10 |
712 | table.insert(shade2,Text_3) |
713 | table.insert(text1,Text_3) |
714 | |
715 | Delete_2.Name = "Delete" |
716 | Delete_2.Parent = Text_3 |
717 | Delete_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
718 | Delete_2.BorderSizePixel = 0 |
719 | Delete_2.Position = UDim2.new(0, 200, 0, 0) |
720 | Delete_2.Size = UDim2.new(0, 40, 0, 20) |
721 | Delete_2.Font = Enum.Font.SourceSans |
722 | Delete_2.TextSize = 14 |
723 | Delete_2.Text = "Delete" |
724 | Delete_2.TextColor3 = Color3.new(0, 0, 0) |
725 | Delete_2.ZIndex = 10 |
726 | table.insert(shade3,Delete_2) |
727 | table.insert(text2,Delete_2) |
728 | |
729 | KeybindEditor.Name = randomString() |
730 | KeybindEditor.Parent = PARENT |
731 | KeybindEditor.Active = true |
732 | KeybindEditor.BackgroundTransparency = 1 |
733 | KeybindEditor.Position = UDim2.new(0.5, -180, 0, -500) |
734 | KeybindEditor.Size = UDim2.new(0, 360, 0, 20) |
735 | KeybindEditor.ZIndex = 10 |
736 | |
737 | background_2.Name = "background" |
738 | background_2.Parent = KeybindEditor |
739 | background_2.Active = true |
740 | background_2.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
741 | background_2.BorderSizePixel = 0 |
742 | background_2.Position = UDim2.new(0, 0, 0, 20) |
743 | background_2.Size = UDim2.new(0, 360, 0, 185) |
744 | background_2.ZIndex = 10 |
745 | table.insert(shade1,background_2) |
746 | |
747 | Dark_3.Name = "Dark" |
748 | Dark_3.Parent = background_2 |
749 | Dark_3.Active = true |
750 | Dark_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
751 | Dark_3.BorderSizePixel = 0 |
752 | Dark_3.Position = UDim2.new(0, 135, 0, 0) |
753 | Dark_3.Size = UDim2.new(0, 2, 0, 185) |
754 | Dark_3.ZIndex = 10 |
755 | table.insert(shade2,Dark_3) |
756 | |
757 | Directions.Name = "Directions" |
758 | Directions.Parent = background_2 |
759 | Directions.BackgroundTransparency = 1 |
760 | Directions.BorderSizePixel = 0 |
761 | Directions.Position = UDim2.new(0, 10, 0, 15) |
762 | Directions.Size = UDim2.new(0, 115, 0, 90) |
763 | Directions.ZIndex = 10 |
764 | Directions.Font = Enum.Font.SourceSans |
765 | Directions.Text = "Click the button below and press a key/mouse button. Then select what you want to bind it to." |
766 | Directions.TextColor3 = Color3.fromRGB(255, 255, 255) |
767 | Directions.TextSize = 14.000 |
768 | Directions.TextWrapped = true |
769 | Directions.TextYAlignment = Enum.TextYAlignment.Top |
770 | table.insert(text1,Directions) |
771 | |
772 | BindTo.Name = "BindTo" |
773 | BindTo.Parent = background_2 |
774 | BindTo.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
775 | BindTo.BorderSizePixel = 0 |
776 | BindTo.Position = UDim2.new(0, 10, 0, 95) |
777 | BindTo.Size = UDim2.new(0, 115, 0, 50) |
778 | BindTo.ZIndex = 10 |
779 | BindTo.Font = Enum.Font.SourceSans |
780 | BindTo.Text = "Click to bind" |
781 | BindTo.TextColor3 = Color3.fromRGB(255, 255, 255) |
782 | BindTo.TextSize = 16.000 |
783 | table.insert(shade2,BindTo) |
784 | table.insert(text1,BindTo) |
785 | |
786 | TriggerLabel.Name = "TriggerLabel" |
787 | TriggerLabel.Parent = background_2 |
788 | TriggerLabel.BackgroundTransparency = 1 |
789 | TriggerLabel.Position = UDim2.new(0, 10, 0, 155) |
790 | TriggerLabel.Size = UDim2.new(0, 45, 0, 20) |
791 | TriggerLabel.ZIndex = 10 |
792 | TriggerLabel.Font = Enum.Font.SourceSans |
793 | TriggerLabel.Text = "Trigger:" |
794 | TriggerLabel.TextColor3 = Color3.fromRGB(255, 255, 255) |
795 | TriggerLabel.TextSize = 14.000 |
796 | TriggerLabel.TextXAlignment = Enum.TextXAlignment.Left |
797 | table.insert(text1,TriggerLabel) |
798 | |
799 | BindTriggerSelect.Name = "BindTo" |
800 | BindTriggerSelect.Parent = background_2 |
801 | BindTriggerSelect.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
802 | BindTriggerSelect.BorderSizePixel = 0 |
803 | BindTriggerSelect.Position = UDim2.new(0, 60, 0, 155) |
804 | BindTriggerSelect.Size = UDim2.new(0, 65, 0, 20) |
805 | BindTriggerSelect.ZIndex = 10 |
806 | BindTriggerSelect.Font = Enum.Font.SourceSans |
807 | BindTriggerSelect.Text = "KeyDown" |
808 | BindTriggerSelect.TextColor3 = Color3.fromRGB(255, 255, 255) |
809 | BindTriggerSelect.TextSize = 16.000 |
810 | table.insert(shade2,BindTriggerSelect) |
811 | table.insert(text1,BindTriggerSelect) |
812 | |
813 | Add_2.Name = "Add" |
814 | Add_2.Parent = background_2 |
815 | Add_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
816 | Add_2.BorderSizePixel = 0 |
817 | Add_2.Position = UDim2.new(0, 310, 0, 35) |
818 | Add_2.Size = UDim2.new(0, 40, 0, 20) |
819 | Add_2.ZIndex = 10 |
820 | Add_2.Font = Enum.Font.SourceSans |
821 | Add_2.Text = "Add" |
822 | Add_2.TextColor3 = Color3.fromRGB(255, 255, 255) |
823 | Add_2.TextSize = 14.000 |
824 | table.insert(shade2,Add_2) |
825 | table.insert(text1,Add_2) |
826 | |
827 | Toggles.Name = "Toggles" |
828 | Toggles.Parent = background_2 |
829 | Toggles.BackgroundTransparency = 1 |
830 | Toggles.BorderSizePixel = 0 |
831 | Toggles.Position = UDim2.new(0, 150, 0, 125) |
832 | Toggles.Size = UDim2.new(0, 200, 0, 50) |
833 | Toggles.ZIndex = 10 |
834 | Toggles.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
835 | Toggles.CanvasSize = UDim2.new(0, 0, 0, 50) |
836 | Toggles.ScrollBarThickness = 8 |
837 | Toggles.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
838 | Toggles.VerticalScrollBarInset = Enum.ScrollBarInset.Always |
839 | table.insert(scroll,Toggles) |
840 | |
841 | ClickTP.Name = "Click TP (Hold Key & Click)" |
842 | ClickTP.Parent = Toggles |
843 | ClickTP.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
844 | ClickTP.BorderSizePixel = 0 |
845 | ClickTP.Size = UDim2.new(0, 200, 0, 20) |
846 | ClickTP.ZIndex = 10 |
847 | ClickTP.Font = Enum.Font.SourceSans |
848 | ClickTP.Text = " Click TP (Hold Key & Click)" |
849 | ClickTP.TextColor3 = Color3.fromRGB(255, 255, 255) |
850 | ClickTP.TextSize = 14.000 |
851 | ClickTP.TextXAlignment = Enum.TextXAlignment.Left |
852 | table.insert(shade2,ClickTP) |
853 | table.insert(text1,ClickTP) |
854 | |
855 | Select.Name = "Select" |
856 | Select.Parent = ClickTP |
857 | Select.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
858 | Select.BorderSizePixel = 0 |
859 | Select.Position = UDim2.new(0, 160, 0, 0) |
860 | Select.Size = UDim2.new(0, 40, 0, 20) |
861 | Select.ZIndex = 10 |
862 | Select.Font = Enum.Font.SourceSans |
863 | Select.Text = "Add" |
864 | Select.TextColor3 = Color3.fromRGB(0, 0, 0) |
865 | Select.TextSize = 14.000 |
866 | table.insert(shade3,Select) |
867 | table.insert(text2,Select) |
868 | |
869 | ClickDelete.Name = "Click Delete (Hold Key & Click)" |
870 | ClickDelete.Parent = Toggles |
871 | ClickDelete.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
872 | ClickDelete.BorderSizePixel = 0 |
873 | ClickDelete.Position = UDim2.new(0, 0, 0, 25) |
874 | ClickDelete.Size = UDim2.new(0, 200, 0, 20) |
875 | ClickDelete.ZIndex = 10 |
876 | ClickDelete.Font = Enum.Font.SourceSans |
877 | ClickDelete.Text = " Click Delete (Hold Key & Click)" |
878 | ClickDelete.TextColor3 = Color3.fromRGB(255, 255, 255) |
879 | ClickDelete.TextSize = 14.000 |
880 | ClickDelete.TextXAlignment = Enum.TextXAlignment.Left |
881 | table.insert(shade2,ClickDelete) |
882 | table.insert(text1,ClickDelete) |
883 | |
884 | Select_2.Name = "Select" |
885 | Select_2.Parent = ClickDelete |
886 | Select_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
887 | Select_2.BorderSizePixel = 0 |
888 | Select_2.Position = UDim2.new(0, 160, 0, 0) |
889 | Select_2.Size = UDim2.new(0, 40, 0, 20) |
890 | Select_2.ZIndex = 10 |
891 | Select_2.Font = Enum.Font.SourceSans |
892 | Select_2.Text = "Add" |
893 | Select_2.TextColor3 = Color3.fromRGB(0, 0, 0) |
894 | Select_2.TextSize = 14.000 |
895 | table.insert(shade3,Select_2) |
896 | table.insert(text2,Select_2) |
897 | |
898 | Cmdbar_2.Name = "Cmdbar_2" |
899 | Cmdbar_2.Parent = background_2 |
900 | Cmdbar_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
901 | Cmdbar_2.BorderSizePixel = 0 |
902 | Cmdbar_2.Position = UDim2.new(0, 150, 0, 35) |
903 | Cmdbar_2.Size = UDim2.new(0, 150, 0, 20) |
904 | Cmdbar_2.ZIndex = 10 |
905 | Cmdbar_2.Font = Enum.Font.SourceSans |
906 | Cmdbar_2.PlaceholderText = "Command" |
907 | Cmdbar_2.Text = "" |
908 | Cmdbar_2.TextColor3 = Color3.fromRGB(255, 255, 255) |
909 | Cmdbar_2.TextSize = 14.000 |
910 | Cmdbar_2.TextXAlignment = Enum.TextXAlignment.Left |
911 | |
912 | Cmdbar_3.Name = "Cmdbar_3" |
913 | Cmdbar_3.Parent = background_2 |
914 | Cmdbar_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
915 | Cmdbar_3.BorderSizePixel = 0 |
916 | Cmdbar_3.Position = UDim2.new(0, 150, 0, 60) |
917 | Cmdbar_3.Size = UDim2.new(0, 150, 0, 20) |
918 | Cmdbar_3.ZIndex = 10 |
919 | Cmdbar_3.Font = Enum.Font.SourceSans |
920 | Cmdbar_3.PlaceholderText = "Command 2" |
921 | Cmdbar_3.Text = "" |
922 | Cmdbar_3.TextColor3 = Color3.fromRGB(255, 255, 255) |
923 | Cmdbar_3.TextSize = 14.000 |
924 | Cmdbar_3.TextXAlignment = Enum.TextXAlignment.Left |
925 | |
926 | CreateToggle.Name = "CreateToggle" |
927 | CreateToggle.Parent = background_2 |
928 | CreateToggle.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
929 | CreateToggle.BackgroundTransparency = 1 |
930 | CreateToggle.BorderSizePixel = 0 |
931 | CreateToggle.Position = UDim2.new(0, 152, 0, 10) |
932 | CreateToggle.Size = UDim2.new(0, 198, 0, 20) |
933 | CreateToggle.ZIndex = 10 |
934 | CreateToggle.Font = Enum.Font.SourceSans |
935 | CreateToggle.Text = "Create Toggle" |
936 | CreateToggle.TextColor3 = Color3.fromRGB(255, 255, 255) |
937 | CreateToggle.TextSize = 14.000 |
938 | CreateToggle.TextXAlignment = Enum.TextXAlignment.Left |
939 | table.insert(text1,CreateToggle) |
940 | |
941 | Button_2.Name = "Button" |
942 | Button_2.Parent = CreateToggle |
943 | Button_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
944 | Button_2.BorderSizePixel = 0 |
945 | Button_2.Position = UDim2.new(1, -20, 0, 0) |
946 | Button_2.Size = UDim2.new(0, 20, 0, 20) |
947 | Button_2.ZIndex = 10 |
948 | table.insert(shade3,Button_2) |
949 | |
950 | On_2.Name = "On" |
951 | On_2.Parent = Button_2 |
952 | On_2.BackgroundColor3 = Color3.fromRGB(150, 150, 151) |
953 | On_2.BackgroundTransparency = 1 |
954 | On_2.BorderSizePixel = 0 |
955 | On_2.Position = UDim2.new(0, 2, 0, 2) |
956 | On_2.Size = UDim2.new(0, 16, 0, 16) |
957 | On_2.ZIndex = 10 |
958 | On_2.Font = Enum.Font.SourceSans |
959 | On_2.Text = "" |
960 | On_2.TextColor3 = Color3.fromRGB(0, 0, 0) |
961 | On_2.TextSize = 14.000 |
962 | |
963 | shadow_2.Name = "shadow" |
964 | shadow_2.Parent = KeybindEditor |
965 | shadow_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
966 | shadow_2.BorderSizePixel = 0 |
967 | shadow_2.Size = UDim2.new(0, 360, 0, 20) |
968 | shadow_2.ZIndex = 10 |
969 | table.insert(shade2,shadow_2) |
970 | |
971 | PopupText_2.Name = "PopupText_2" |
972 | PopupText_2.Parent = shadow_2 |
973 | PopupText_2.BackgroundTransparency = 1 |
974 | PopupText_2.Size = UDim2.new(1, 0, 0.949999988, 0) |
975 | PopupText_2.ZIndex = 10 |
976 | PopupText_2.Font = Enum.Font.SourceSans |
977 | PopupText_2.Text = "Set Keybinds" |
978 | PopupText_2.TextColor3 = Color3.fromRGB(255, 255, 255) |
979 | PopupText_2.TextSize = 14.000 |
980 | PopupText_2.TextWrapped = true |
981 | table.insert(text1,PopupText_2) |
982 | |
983 | Exit_2.Name = "Exit_2" |
984 | Exit_2.Parent = shadow_2 |
985 | Exit_2.BackgroundTransparency = 1 |
986 | Exit_2.Position = UDim2.new(1, -20, 0, 0) |
987 | Exit_2.Size = UDim2.new(0, 20, 0, 20) |
988 | Exit_2.ZIndex = 10 |
989 | Exit_2.Text = "" |
990 | |
991 | ExitImage_2.Parent = Exit_2 |
992 | ExitImage_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
993 | ExitImage_2.BackgroundTransparency = 1 |
994 | ExitImage_2.Position = UDim2.new(0, 5, 0, 5) |
995 | ExitImage_2.Size = UDim2.new(0, 10, 0, 10) |
996 | ExitImage_2.ZIndex = 10 |
997 | ExitImage_2.Image = "rbxassetid://5054663650" |
998 | |
999 | PositionsFrame.Name = "PositionsFrame" |
1000 | PositionsFrame.Parent = Settings |
1001 | PositionsFrame.Active = true |
1002 | PositionsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
1003 | PositionsFrame.BorderSizePixel = 0 |
1004 | PositionsFrame.Size = UDim2.new(0, 250, 0, 175) |
1005 | PositionsFrame.Position = UDim2.new(0, 0, 0, 175) |
1006 | PositionsFrame.ZIndex = 10 |
1007 | table.insert(shade1,PositionsFrame) |
1008 | |
1009 | Close_3.Name = "Close" |
1010 | Close_3.Parent = PositionsFrame |
1011 | Close_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1012 | Close_3.BorderSizePixel = 0 |
1013 | Close_3.Position = UDim2.new(0, 205, 0, 150) |
1014 | Close_3.Size = UDim2.new(0, 40, 0, 20) |
1015 | Close_3.Font = Enum.Font.SourceSans |
1016 | Close_3.TextSize = 14 |
1017 | Close_3.Text = "Klose" |
1018 | Close_3.TextColor3 = Color3.new(1, 1, 1) |
1019 | Close_3.ZIndex = 10 |
1020 | table.insert(shade2,Close_3) |
1021 | table.insert(text1,Close_3) |
1022 | |
1023 | Delete_5.Name = "Delete" |
1024 | Delete_5.Parent = PositionsFrame |
1025 | Delete_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1026 | Delete_5.BorderSizePixel = 0 |
1027 | Delete_5.Position = UDim2.new(0, 50, 0, 150) |
1028 | Delete_5.Size = UDim2.new(0, 40, 0, 20) |
1029 | Delete_5.Font = Enum.Font.SourceSans |
1030 | Delete_5.TextSize = 14 |
1031 | Delete_5.Text = "Klear" |
1032 | Delete_5.TextColor3 = Color3.new(1, 1, 1) |
1033 | Delete_5.ZIndex = 10 |
1034 | table.insert(shade2,Delete_5) |
1035 | table.insert(text1,Delete_5) |
1036 | |
1037 | Part.Name = "PartGoto" |
1038 | Part.Parent = PositionsFrame |
1039 | Part.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1040 | Part.BorderSizePixel = 0 |
1041 | Part.Position = UDim2.new(0, 5, 0, 150) |
1042 | Part.Size = UDim2.new(0, 40, 0, 20) |
1043 | Part.Font = Enum.Font.SourceSans |
1044 | Part.TextSize = 14 |
1045 | Part.Text = "Part" |
1046 | Part.TextColor3 = Color3.new(1, 1, 1) |
1047 | Part.ZIndex = 10 |
1048 | table.insert(shade2,Part) |
1049 | table.insert(text1,Part) |
1050 | |
1051 | Holder_4.Name = "Holder" |
1052 | Holder_4.Parent = PositionsFrame |
1053 | Holder_4.BackgroundTransparency = 1 |
1054 | Holder_4.BorderSizePixel = 0 |
1055 | Holder_4.Position = UDim2.new(0, 0, 0, 0) |
1056 | Holder_4.Selectable = false |
1057 | Holder_4.Size = UDim2.new(0, 250, 0, 145) |
1058 | Holder_4.ScrollBarImageColor3 = Color3.fromRGB(78,78,79) |
1059 | Holder_4.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1060 | Holder_4.CanvasSize = UDim2.new(0, 0, 0, 0) |
1061 | Holder_4.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1062 | Holder_4.ScrollBarThickness = 0 |
1063 | Holder_4.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1064 | Holder_4.VerticalScrollBarInset = 'Always' |
1065 | Holder_4.ZIndex = 10 |
1066 | |
1067 | Example_4.Name = "Example" |
1068 | Example_4.Parent = PositionsFrame |
1069 | Example_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1070 | Example_4.BorderSizePixel = 0 |
1071 | Example_4.Size = UDim2.new(0, 10, 0, 20) |
1072 | Example_4.Visible = false |
1073 | Example_4.Position = UDim2.new(0, 0, 0, -5) |
1074 | Example_4.ZIndex = 10 |
1075 | table.insert(shade2,Example_4) |
1076 | |
1077 | Text_5.Name = "Text" |
1078 | Text_5.Parent = Example_4 |
1079 | Text_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1080 | Text_5.BorderSizePixel = 0 |
1081 | Text_5.Position = UDim2.new(0, 10, 0, 0) |
1082 | Text_5.Size = UDim2.new(0, 240, 0, 20) |
1083 | Text_5.Font = Enum.Font.SourceSans |
1084 | Text_5.TextSize = 14 |
1085 | Text_5.Text = "Position" |
1086 | Text_5.TextColor3 = Color3.new(1, 1, 1) |
1087 | Text_5.TextXAlignment = Enum.TextXAlignment.Left |
1088 | Text_5.ZIndex = 10 |
1089 | table.insert(shade2,Text_5) |
1090 | table.insert(text1,Text_5) |
1091 | |
1092 | Delete_6.Name = "Delete" |
1093 | Delete_6.Parent = Text_5 |
1094 | Delete_6.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
1095 | Delete_6.BorderSizePixel = 0 |
1096 | Delete_6.Position = UDim2.new(0, 200, 0, 0) |
1097 | Delete_6.Size = UDim2.new(0, 40, 0, 20) |
1098 | Delete_6.Font = Enum.Font.SourceSans |
1099 | Delete_6.TextSize = 14 |
1100 | Delete_6.Text = "Delete" |
1101 | Delete_6.TextColor3 = Color3.new(0, 0, 0) |
1102 | Delete_6.ZIndex = 10 |
1103 | table.insert(shade3,Delete_6) |
1104 | table.insert(text2,Delete_6) |
1105 | |
1106 | TP.Name = "TP" |
1107 | TP.Parent = Text_5 |
1108 | TP.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
1109 | TP.BorderSizePixel = 0 |
1110 | TP.Position = UDim2.new(0, 155, 0, 0) |
1111 | TP.Size = UDim2.new(0, 40, 0, 20) |
1112 | TP.Font = Enum.Font.SourceSans |
1113 | TP.TextSize = 14 |
1114 | TP.Text = "Goto" |
1115 | TP.TextColor3 = Color3.new(0, 0, 0) |
1116 | TP.ZIndex = 10 |
1117 | table.insert(shade3,TP) |
1118 | table.insert(text2,TP) |
1119 | |
1120 | AliasesFrame.Name = "AliasesFrame" |
1121 | AliasesFrame.Parent = Settings |
1122 | AliasesFrame.Active = true |
1123 | AliasesFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
1124 | AliasesFrame.BorderSizePixel = 0 |
1125 | AliasesFrame.Position = UDim2.new(0, 0, 0, 175) |
1126 | AliasesFrame.Size = UDim2.new(0, 250, 0, 175) |
1127 | AliasesFrame.ZIndex = 10 |
1128 | table.insert(shade1,AliasesFrame) |
1129 | |
1130 | Close_2.Name = "Close" |
1131 | Close_2.Parent = AliasesFrame |
1132 | Close_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1133 | Close_2.BorderSizePixel = 0 |
1134 | Close_2.Position = UDim2.new(0, 205, 0, 150) |
1135 | Close_2.Size = UDim2.new(0, 40, 0, 20) |
1136 | Close_2.Font = Enum.Font.SourceSans |
1137 | Close_2.TextSize = 14 |
1138 | Close_2.Text = "Close" |
1139 | Close_2.TextColor3 = Color3.new(1, 1, 1) |
1140 | Close_2.ZIndex = 10 |
1141 | table.insert(shade2,Close_2) |
1142 | table.insert(text1,Close_2) |
1143 | |
1144 | Delete_3.Name = "Delete" |
1145 | Delete_3.Parent = AliasesFrame |
1146 | Delete_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1147 | Delete_3.BorderSizePixel = 0 |
1148 | Delete_3.Position = UDim2.new(0, 5, 0, 150) |
1149 | Delete_3.Size = UDim2.new(0, 40, 0, 20) |
1150 | Delete_3.Font = Enum.Font.SourceSans |
1151 | Delete_3.TextSize = 14 |
1152 | Delete_3.Text = "Clear" |
1153 | Delete_3.TextColor3 = Color3.new(1, 1, 1) |
1154 | Delete_3.ZIndex = 10 |
1155 | table.insert(shade2,Delete_3) |
1156 | table.insert(text1,Delete_3) |
1157 | |
1158 | Holder_3.Name = "Holder" |
1159 | Holder_3.Parent = AliasesFrame |
1160 | Holder_3.BackgroundTransparency = 1 |
1161 | Holder_3.BorderSizePixel = 0 |
1162 | Holder_3.Position = UDim2.new(0, 0, 0, 0) |
1163 | Holder_3.Size = UDim2.new(0, 250, 0, 145) |
1164 | Holder_3.ScrollBarImageColor3 = Color3.fromRGB(78,78,79) |
1165 | Holder_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1166 | Holder_3.CanvasSize = UDim2.new(0, 0, 0, 0) |
1167 | Holder_3.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1168 | Holder_3.ScrollBarThickness = 0 |
1169 | Holder_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1170 | Holder_3.VerticalScrollBarInset = 'Always' |
1171 | Holder_3.ZIndex = 10 |
1172 | |
1173 | Example_3.Name = "Example" |
1174 | Example_3.Parent = AliasesFrame |
1175 | Example_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1176 | Example_3.BorderSizePixel = 0 |
1177 | Example_3.Size = UDim2.new(0, 10, 0, 20) |
1178 | Example_3.Visible = false |
1179 | Example_3.ZIndex = 10 |
1180 | table.insert(shade2,Example_3) |
1181 | |
1182 | Text_4.Name = "Text" |
1183 | Text_4.Parent = Example_3 |
1184 | Text_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1185 | Text_4.BorderSizePixel = 0 |
1186 | Text_4.Position = UDim2.new(0, 10, 0, 0) |
1187 | Text_4.Size = UDim2.new(0, 240, 0, 20) |
1188 | Text_4.Font = Enum.Font.SourceSans |
1189 | Text_4.TextSize = 14 |
1190 | Text_4.Text = "honk" |
1191 | Text_4.TextColor3 = Color3.new(1, 1, 1) |
1192 | Text_4.TextXAlignment = Enum.TextXAlignment.Left |
1193 | Text_4.ZIndex = 10 |
1194 | table.insert(shade2,Text_4) |
1195 | table.insert(text1,Text_4) |
1196 | |
1197 | Delete_4.Name = "Delete" |
1198 | Delete_4.Parent = Text_4 |
1199 | Delete_4.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
1200 | Delete_4.BorderSizePixel = 0 |
1201 | Delete_4.Position = UDim2.new(0, 200, 0, 0) |
1202 | Delete_4.Size = UDim2.new(0, 40, 0, 20) |
1203 | Delete_4.Font = Enum.Font.SourceSans |
1204 | Delete_4.TextSize = 14 |
1205 | Delete_4.Text = "Delete" |
1206 | Delete_4.TextColor3 = Color3.new(0, 0, 0) |
1207 | Delete_4.ZIndex = 10 |
1208 | table.insert(shade3,Delete_4) |
1209 | table.insert(text2,Delete_4) |
1210 | |
1211 | PluginsFrame.Name = "PluginsFrame" |
1212 | PluginsFrame.Parent = Settings |
1213 | PluginsFrame.Active = true |
1214 | PluginsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
1215 | PluginsFrame.BorderSizePixel = 0 |
1216 | PluginsFrame.Position = UDim2.new(0, 0, 0, 175) |
1217 | PluginsFrame.Size = UDim2.new(0, 250, 0, 175) |
1218 | PluginsFrame.ZIndex = 10 |
1219 | table.insert(shade1,PluginsFrame) |
1220 | |
1221 | Close_4.Name = "Close" |
1222 | Close_4.Parent = PluginsFrame |
1223 | Close_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1224 | Close_4.BorderSizePixel = 0 |
1225 | Close_4.Position = UDim2.new(0, 205, 0, 150) |
1226 | Close_4.Size = UDim2.new(0, 40, 0, 20) |
1227 | Close_4.Font = Enum.Font.SourceSans |
1228 | Close_4.TextSize = 14 |
1229 | Close_4.Text = "Close" |
1230 | Close_4.TextColor3 = Color3.new(1, 1, 1) |
1231 | Close_4.ZIndex = 10 |
1232 | table.insert(shade2,Close_4) |
1233 | table.insert(text1,Close_4) |
1234 | |
1235 | Add_3.Name = "Add" |
1236 | Add_3.Parent = PluginsFrame |
1237 | Add_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1238 | Add_3.BorderSizePixel = 0 |
1239 | Add_3.Position = UDim2.new(0, 5, 0, 150) |
1240 | Add_3.Size = UDim2.new(0, 40, 0, 20) |
1241 | Add_3.Font = Enum.Font.SourceSans |
1242 | Add_3.TextSize = 14 |
1243 | Add_3.Text = "Add" |
1244 | Add_3.TextColor3 = Color3.new(1, 1, 1) |
1245 | Add_3.ZIndex = 10 |
1246 | table.insert(shade2,Add_3) |
1247 | table.insert(text1,Add_3) |
1248 | |
1249 | Holder_5.Name = "Holder" |
1250 | Holder_5.Parent = PluginsFrame |
1251 | Holder_5.BackgroundTransparency = 1 |
1252 | Holder_5.BorderSizePixel = 0 |
1253 | Holder_5.Position = UDim2.new(0, 0, 0, 0) |
1254 | Holder_5.Selectable = false |
1255 | Holder_5.Size = UDim2.new(0, 250, 0, 145) |
1256 | Holder_5.ScrollBarImageColor3 = Color3.fromRGB(78,78,79) |
1257 | Holder_5.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1258 | Holder_5.CanvasSize = UDim2.new(0, 0, 0, 0) |
1259 | Holder_5.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1260 | Holder_5.ScrollBarThickness = 0 |
1261 | Holder_5.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1262 | Holder_5.VerticalScrollBarInset = 'Always' |
1263 | Holder_5.ZIndex = 10 |
1264 | |
1265 | Example_5.Name = "Example" |
1266 | Example_5.Parent = PluginsFrame |
1267 | Example_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1268 | Example_5.BorderSizePixel = 0 |
1269 | Example_5.Size = UDim2.new(0, 10, 0, 20) |
1270 | Example_5.Visible = false |
1271 | Example_5.ZIndex = 10 |
1272 | table.insert(shade2,Example_5) |
1273 | |
1274 | Text_6.Name = "Text" |
1275 | Text_6.Parent = Example_5 |
1276 | Text_6.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1277 | Text_6.BorderSizePixel = 0 |
1278 | Text_6.Position = UDim2.new(0, 10, 0, 0) |
1279 | Text_6.Size = UDim2.new(0, 240, 0, 20) |
1280 | Text_6.Font = Enum.Font.SourceSans |
1281 | Text_6.TextSize = 14 |
1282 | Text_6.Text = "F4 > Toggle Fly" |
1283 | Text_6.TextColor3 = Color3.new(1, 1, 1) |
1284 | Text_6.TextXAlignment = Enum.TextXAlignment.Left |
1285 | Text_6.ZIndex = 10 |
1286 | table.insert(shade2,Text_6) |
1287 | table.insert(text1,Text_6) |
1288 | |
1289 | Delete_7.Name = "Delete" |
1290 | Delete_7.Parent = Text_6 |
1291 | Delete_7.BackgroundColor3 = Color3.fromRGB(78, 78, 79) |
1292 | Delete_7.BorderSizePixel = 0 |
1293 | Delete_7.Position = UDim2.new(0, 200, 0, 0) |
1294 | Delete_7.Size = UDim2.new(0, 40, 0, 20) |
1295 | Delete_7.Font = Enum.Font.SourceSans |
1296 | Delete_7.TextSize = 14 |
1297 | Delete_7.Text = "Delete" |
1298 | Delete_7.TextColor3 = Color3.new(0, 0, 0) |
1299 | Delete_7.ZIndex = 10 |
1300 | table.insert(shade3,Delete_7) |
1301 | table.insert(text2,Delete_7) |
1302 | |
1303 | PluginEditor.Name = randomString() |
1304 | PluginEditor.Parent = PARENT |
1305 | PluginEditor.BorderSizePixel = 0 |
1306 | PluginEditor.Active = true |
1307 | PluginEditor.BackgroundTransparency = 1 |
1308 | PluginEditor.Position = UDim2.new(0.5, -180, 0, -500) |
1309 | PluginEditor.Size = UDim2.new(0, 360, 0, 20) |
1310 | PluginEditor.ZIndex = 10 |
1311 | |
1312 | background_3.Name = "background" |
1313 | background_3.Parent = PluginEditor |
1314 | background_3.Active = true |
1315 | background_3.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
1316 | background_3.BorderSizePixel = 0 |
1317 | background_3.Position = UDim2.new(0, 0, 0, 20) |
1318 | background_3.Size = UDim2.new(0, 360, 0, 160) |
1319 | background_3.ZIndex = 10 |
1320 | table.insert(shade1,background_3) |
1321 | |
1322 | Dark_2.Name = "Dark" |
1323 | Dark_2.Parent = background_3 |
1324 | Dark_2.Active = true |
1325 | Dark_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1326 | Dark_2.BorderSizePixel = 0 |
1327 | Dark_2.Position = UDim2.new(0, 222, 0, 0) |
1328 | Dark_2.Size = UDim2.new(0, 2, 0, 160) |
1329 | Dark_2.ZIndex = 10 |
1330 | table.insert(shade2,Dark_2) |
1331 | |
1332 | Img.Name = "Img" |
1333 | Img.Parent = background_3 |
1334 | Img.BackgroundTransparency = 1 |
1335 | Img.Position = UDim2.new(0, 242, 0, 3) |
1336 | Img.Size = UDim2.new(0, 100, 0, 95) |
1337 | Img.Image = "rbxassetid://4113050383" |
1338 | Img.ZIndex = 10 |
1339 | |
1340 | AddPlugin.Name = "AddPlugin" |
1341 | AddPlugin.Parent = background_3 |
1342 | AddPlugin.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1343 | AddPlugin.BorderSizePixel = 0 |
1344 | AddPlugin.Position = UDim2.new(0, 235, 0, 100) |
1345 | AddPlugin.Size = UDim2.new(0, 115, 0, 50) |
1346 | AddPlugin.Font = Enum.Font.SourceSans |
1347 | AddPlugin.TextSize = 14 |
1348 | AddPlugin.Text = "Add Plugin" |
1349 | AddPlugin.TextColor3 = Color3.new(1, 1, 1) |
1350 | AddPlugin.ZIndex = 10 |
1351 | table.insert(shade2,AddPlugin) |
1352 | table.insert(text1,AddPlugin) |
1353 | |
1354 | FileName.Name = "FileName" |
1355 | FileName.Parent = background_3 |
1356 | FileName.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1357 | FileName.BorderSizePixel = 0 |
1358 | FileName.Position = UDim2.new(0.028, 0, 0.625, 0) |
1359 | FileName.Size = UDim2.new(0, 200, 0, 50) |
1360 | FileName.Font = Enum.Font.SourceSans |
1361 | FileName.TextSize = 14 |
1362 | FileName.Text = "Plugin File Name" |
1363 | FileName.TextColor3 = Color3.new(1, 1, 1) |
1364 | FileName.ZIndex = 10 |
1365 | table.insert(shade2,FileName) |
1366 | table.insert(text1,FileName) |
1367 | |
1368 | About.Name = "About" |
1369 | About.Parent = background_3 |
1370 | About.BackgroundTransparency = 1 |
1371 | About.BorderSizePixel = 0 |
1372 | About.Position = UDim2.new(0, 17, 0, 10) |
1373 | About.Size = UDim2.new(0, 187, 0, 49) |
1374 | About.Font = Enum.Font.SourceSans |
1375 | About.TextSize = 14 |
1376 | About.Text = "Plugins are .iy files and should be located in the 'workspace' folder of your exploit." |
1377 | About.TextColor3 = Color3.fromRGB(255, 255, 255) |
1378 | About.TextWrapped = true |
1379 | About.TextYAlignment = Enum.TextYAlignment.Top |
1380 | About.ZIndex = 10 |
1381 | table.insert(text1,About) |
1382 | |
1383 | Directions_2.Name = "Directions" |
1384 | Directions_2.Parent = background_3 |
1385 | Directions_2.BackgroundTransparency = 1 |
1386 | Directions_2.BorderSizePixel = 0 |
1387 | Directions_2.Position = UDim2.new(0, 17, 0, 60) |
1388 | Directions_2.Size = UDim2.new(0, 187, 0, 49) |
1389 | Directions_2.Font = Enum.Font.SourceSans |
1390 | Directions_2.TextSize = 14 |
1391 | Directions_2.Text = "Type the name of the plugin file you want to add below." |
1392 | Directions_2.TextColor3 = Color3.fromRGB(255, 255, 255) |
1393 | Directions_2.TextWrapped = true |
1394 | Directions_2.TextYAlignment = Enum.TextYAlignment.Top |
1395 | Directions_2.ZIndex = 10 |
1396 | table.insert(text1,Directions_2) |
1397 | |
1398 | shadow_3.Name = "shadow" |
1399 | shadow_3.Parent = PluginEditor |
1400 | shadow_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1401 | shadow_3.BorderSizePixel = 0 |
1402 | shadow_3.Size = UDim2.new(0, 360, 0, 20) |
1403 | shadow_3.ZIndex = 10 |
1404 | table.insert(shade2,shadow_3) |
1405 | |
1406 | PopupText_3.Name = "PopupText" |
1407 | PopupText_3.Parent = shadow_3 |
1408 | PopupText_3.BackgroundTransparency = 1 |
1409 | PopupText_3.Size = UDim2.new(1, 0, 0.95, 0) |
1410 | PopupText_3.ZIndex = 10 |
1411 | PopupText_3.Font = Enum.Font.SourceSans |
1412 | PopupText_3.TextSize = 14 |
1413 | PopupText_3.Text = "Add Plugins" |
1414 | PopupText_3.TextColor3 = Color3.new(1, 1, 1) |
1415 | PopupText_3.TextWrapped = true |
1416 | table.insert(text1,PopupText_3) |
1417 | |
1418 | Exit_3.Name = "Exit" |
1419 | Exit_3.Parent = shadow_3 |
1420 | Exit_3.BackgroundTransparency = 1 |
1421 | Exit_3.Position = UDim2.new(1, -20, 0, 0) |
1422 | Exit_3.Size = UDim2.new(0, 20, 0, 20) |
1423 | Exit_3.Text = "" |
1424 | Exit_3.ZIndex = 10 |
1425 | |
1426 | ExitImage_3.Parent = Exit_3 |
1427 | ExitImage_3.BackgroundColor3 = Color3.new(1, 1, 1) |
1428 | ExitImage_3.BackgroundTransparency = 1 |
1429 | ExitImage_3.Position = UDim2.new(0, 5, 0, 5) |
1430 | ExitImage_3.Size = UDim2.new(0, 10, 0, 10) |
1431 | ExitImage_3.Image = "rbxassetid://5054663650" |
1432 | ExitImage_3.ZIndex = 10 |
1433 | |
1434 | AliasHint.Name = "AliasHint" |
1435 | AliasHint.Parent = AliasesFrame |
1436 | AliasHint.BackgroundTransparency = 1 |
1437 | AliasHint.BorderSizePixel = 0 |
1438 | AliasHint.Position = UDim2.new(0, 25, 0, 40) |
1439 | AliasHint.Size = UDim2.new(0, 200, 0, 50) |
1440 | AliasHint.Font = Enum.Font.SourceSansItalic |
1441 | AliasHint.TextSize = 16 |
1442 | AliasHint.Text = "Add aliases by using the 'addalias' command" |
1443 | AliasHint.TextColor3 = Color3.new(1, 1, 1) |
1444 | AliasHint.TextStrokeColor3 = Color3.new(1, 1, 1) |
1445 | AliasHint.TextWrapped = true |
1446 | AliasHint.ZIndex = 10 |
1447 | table.insert(text1,AliasHint) |
1448 | |
1449 | PluginsHint.Name = "PluginsHint" |
1450 | PluginsHint.Parent = PluginsFrame |
1451 | PluginsHint.BackgroundTransparency = 1 |
1452 | PluginsHint.BorderSizePixel = 0 |
1453 | PluginsHint.Position = UDim2.new(0, 25, 0, 40) |
1454 | PluginsHint.Size = UDim2.new(0, 200, 0, 50) |
1455 | PluginsHint.Font = Enum.Font.SourceSansItalic |
1456 | PluginsHint.TextSize = 16 |
1457 | PluginsHint.Text = "Download plugins from the IY Discord (discord.io/infiniteyield)" |
1458 | PluginsHint.TextColor3 = Color3.new(1, 1, 1) |
1459 | PluginsHint.TextStrokeColor3 = Color3.new(1, 1, 1) |
1460 | PluginsHint.TextWrapped = true |
1461 | PluginsHint.ZIndex = 10 |
1462 | table.insert(text1,PluginsHint) |
1463 | |
1464 | PositionsHint.Name = "PositionsHint" |
1465 | PositionsHint.Parent = PositionsFrame |
1466 | PositionsHint.BackgroundTransparency = 1 |
1467 | PositionsHint.BorderSizePixel = 0 |
1468 | PositionsHint.Position = UDim2.new(0, 25, 0, 40) |
1469 | PositionsHint.Size = UDim2.new(0, 200, 0, 70) |
1470 | PositionsHint.Font = Enum.Font.SourceSansItalic |
1471 | PositionsHint.TextSize = 16 |
1472 | PositionsHint.Text = "Use the 'swp' or 'setwaypoint' command to add a position using your character (NOTE: Part teleports will not save)" |
1473 | PositionsHint.TextColor3 = Color3.new(1, 1, 1) |
1474 | PositionsHint.TextStrokeColor3 = Color3.new(1, 1, 1) |
1475 | PositionsHint.TextWrapped = true |
1476 | PositionsHint.ZIndex = 10 |
1477 | table.insert(text1,PositionsHint) |
1478 | |
1479 | ToPartFrame.Name = randomString() |
1480 | ToPartFrame.Parent = PARENT |
1481 | ToPartFrame.Active = true |
1482 | ToPartFrame.BackgroundTransparency = 1 |
1483 | ToPartFrame.Position = UDim2.new(0.5, -180, 0, -500) |
1484 | ToPartFrame.Size = UDim2.new(0, 360, 0, 20) |
1485 | ToPartFrame.ZIndex = 10 |
1486 | |
1487 | background_4.Name = "background" |
1488 | background_4.Parent = ToPartFrame |
1489 | background_4.Active = true |
1490 | background_4.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
1491 | background_4.BorderSizePixel = 0 |
1492 | background_4.Position = UDim2.new(0, 0, 0, 20) |
1493 | background_4.Size = UDim2.new(0, 360, 0, 117) |
1494 | background_4.ZIndex = 10 |
1495 | table.insert(shade1,background_4) |
1496 | |
1497 | ChoosePart.Name = "ChoosePart" |
1498 | ChoosePart.Parent = background_4 |
1499 | ChoosePart.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1500 | ChoosePart.BorderSizePixel = 0 |
1501 | ChoosePart.Position = UDim2.new(0, 100, 0, 55) |
1502 | ChoosePart.Size = UDim2.new(0, 75, 0, 30) |
1503 | ChoosePart.Font = Enum.Font.SourceSans |
1504 | ChoosePart.TextSize = 14 |
1505 | ChoosePart.Text = "Select Part" |
1506 | ChoosePart.TextColor3 = Color3.new(1, 1, 1) |
1507 | ChoosePart.ZIndex = 10 |
1508 | table.insert(shade2,ChoosePart) |
1509 | table.insert(text1,ChoosePart) |
1510 | |
1511 | CopyPath.Name = "CopyPath" |
1512 | CopyPath.Parent = background_4 |
1513 | CopyPath.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1514 | CopyPath.BorderSizePixel = 0 |
1515 | CopyPath.Position = UDim2.new(0, 185, 0, 55) |
1516 | CopyPath.Size = UDim2.new(0, 75, 0, 30) |
1517 | CopyPath.Font = Enum.Font.SourceSans |
1518 | CopyPath.TextSize = 14 |
1519 | CopyPath.Text = "Copy Path" |
1520 | CopyPath.TextColor3 = Color3.new(1, 1, 1) |
1521 | CopyPath.ZIndex = 10 |
1522 | table.insert(shade2,CopyPath) |
1523 | table.insert(text1,CopyPath) |
1524 | |
1525 | Directions_3.Name = "Directions" |
1526 | Directions_3.Parent = background_4 |
1527 | Directions_3.BackgroundTransparency = 1 |
1528 | Directions_3.BorderSizePixel = 0 |
1529 | Directions_3.Position = UDim2.new(0, 51, 0, 17) |
1530 | Directions_3.Size = UDim2.new(0, 257, 0, 32) |
1531 | Directions_3.Font = Enum.Font.SourceSans |
1532 | Directions_3.TextSize = 14 |
1533 | Directions_3.Text = 'Click on a part and then click the "Select Part" button below to set it as a teleport location' |
1534 | Directions_3.TextColor3 = Color3.new(1, 1, 1) |
1535 | Directions_3.TextWrapped = true |
1536 | Directions_3.TextYAlignment = Enum.TextYAlignment.Top |
1537 | Directions_3.ZIndex = 10 |
1538 | table.insert(text1,Directions_3) |
1539 | |
1540 | Path.Name = "Path" |
1541 | Path.Parent = background_4 |
1542 | Path.BackgroundTransparency = 1 |
1543 | Path.BorderSizePixel = 0 |
1544 | Path.Position = UDim2.new(0, 0, 0, 94) |
1545 | Path.Size = UDim2.new(0, 360, 0, 16) |
1546 | Path.Font = Enum.Font.SourceSansItalic |
1547 | Path.TextSize = 14 |
1548 | Path.Text = "" |
1549 | Path.TextColor3 = Color3.new(1, 1, 1) |
1550 | Path.TextScaled = true |
1551 | Path.TextWrapped = true |
1552 | Path.TextYAlignment = Enum.TextYAlignment.Top |
1553 | Path.ZIndex = 10 |
1554 | table.insert(text1,Path) |
1555 | |
1556 | shadow_4.Name = "shadow" |
1557 | shadow_4.Parent = ToPartFrame |
1558 | shadow_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
1559 | shadow_4.BorderSizePixel = 0 |
1560 | shadow_4.Size = UDim2.new(0, 360, 0, 20) |
1561 | shadow_4.ZIndex = 10 |
1562 | table.insert(shade2,shadow_4) |
1563 | |
1564 | PopupText_5.Name = "PopupText" |
1565 | PopupText_5.Parent = shadow_4 |
1566 | PopupText_5.BackgroundTransparency = 1 |
1567 | PopupText_5.Size = UDim2.new(1, 0, 0.95, 0) |
1568 | PopupText_5.ZIndex = 10 |
1569 | PopupText_5.Font = Enum.Font.SourceSans |
1570 | PopupText_5.TextSize = 14 |
1571 | PopupText_5.Text = "Teleport to Part" |
1572 | PopupText_5.TextColor3 = Color3.new(1, 1, 1) |
1573 | PopupText_5.TextWrapped = true |
1574 | table.insert(text1,PopupText_5) |
1575 | |
1576 | Exit_4.Name = "Exit" |
1577 | Exit_4.Parent = shadow_4 |
1578 | Exit_4.BackgroundTransparency = 1 |
1579 | Exit_4.Position = UDim2.new(1, -20, 0, 0) |
1580 | Exit_4.Size = UDim2.new(0, 20, 0, 20) |
1581 | Exit_4.Text = "" |
1582 | Exit_4.ZIndex = 10 |
1583 | |
1584 | ExitImage_5.Parent = Exit_4 |
1585 | ExitImage_5.BackgroundColor3 = Color3.new(1, 1, 1) |
1586 | ExitImage_5.BackgroundTransparency = 1 |
1587 | ExitImage_5.Position = UDim2.new(0, 5, 0, 5) |
1588 | ExitImage_5.Size = UDim2.new(0, 10, 0, 10) |
1589 | ExitImage_5.Image = "rbxassetid://5054663650" |
1590 | ExitImage_5.ZIndex = 10 |
1591 | |
1592 | logs.Name = randomString() |
1593 | logs.Parent = PARENT |
1594 | logs.Active = true |
1595 | logs.BackgroundTransparency = 1 |
1596 | logs.Position = UDim2.new(0, 0, 1, 10) |
1597 | logs.Size = UDim2.new(0, 338, 0, 20) |
1598 | logs.ZIndex = 10 |
1599 | |
1600 | shadow.Name = "shadow" |
1601 | shadow.Parent = logs |
1602 | shadow.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314) |
1603 | shadow.BorderSizePixel = 0 |
1604 | shadow.Position = UDim2.new(0, 0, 0.00999999978, 0) |
1605 | shadow.Size = UDim2.new(0, 338, 0, 20) |
1606 | shadow.ZIndex = 10 |
1607 | table.insert(shade2,shadow) |
1608 | |
1609 | Hide.Name = "Hide" |
1610 | Hide.Parent = shadow |
1611 | Hide.BackgroundTransparency = 1 |
1612 | Hide.Position = UDim2.new(1, -40, 0, 0) |
1613 | Hide.Size = UDim2.new(0, 20, 0, 20) |
1614 | Hide.ZIndex = 10 |
1615 | Hide.Text = "" |
1616 | |
1617 | ImageLabel.Parent = Hide |
1618 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) |
1619 | ImageLabel.BackgroundTransparency = 1 |
1620 | ImageLabel.Position = UDim2.new(0, 3, 0, 3) |
1621 | ImageLabel.Size = UDim2.new(0, 14, 0, 14) |
1622 | ImageLabel.Image = "rbxassetid://2406617031" |
1623 | ImageLabel.ZIndex = 10 |
1624 | |
1625 | PopupText.Name = "PopupText" |
1626 | PopupText.Parent = shadow |
1627 | PopupText.BackgroundTransparency = 1 |
1628 | PopupText.Size = UDim2.new(1, 0, 0.949999988, 0) |
1629 | PopupText.ZIndex = 10 |
1630 | PopupText.Font = Enum.Font.SourceSans |
1631 | PopupText.FontSize = Enum.FontSize.Size14 |
1632 | PopupText.Text = "Logs" |
1633 | PopupText.TextColor3 = Color3.new(1, 1, 1) |
1634 | PopupText.TextWrapped = true |
1635 | table.insert(text1,PopupText) |
1636 | |
1637 | Exit.Name = "Exit" |
1638 | Exit.Parent = shadow |
1639 | Exit.BackgroundTransparency = 1 |
1640 | Exit.Position = UDim2.new(1, -20, 0, 0) |
1641 | Exit.Size = UDim2.new(0, 20, 0, 20) |
1642 | Exit.ZIndex = 10 |
1643 | Exit.Text = "" |
1644 | |
1645 | ImageLabel_2.Parent = Exit |
1646 | ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) |
1647 | ImageLabel_2.BackgroundTransparency = 1 |
1648 | ImageLabel_2.Position = UDim2.new(0, 5, 0, 5) |
1649 | ImageLabel_2.Size = UDim2.new(0, 10, 0, 10) |
1650 | ImageLabel_2.Image = "rbxassetid://5054663650" |
1651 | ImageLabel_2.ZIndex = 10 |
1652 | |
1653 | background.Name = "background" |
1654 | background.Parent = logs |
1655 | background.Active = true |
1656 | background.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098) |
1657 | background.BorderSizePixel = 0 |
1658 | background.ClipsDescendants = true |
1659 | background.Position = UDim2.new(0, 0, 1, 0) |
1660 | background.Size = UDim2.new(0, 338, 0, 245) |
1661 | background.ZIndex = 10 |
1662 | |
1663 | chat.Name = "chat" |
1664 | chat.Parent = background |
1665 | chat.Active = true |
1666 | chat.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098) |
1667 | chat.BorderSizePixel = 0 |
1668 | chat.ClipsDescendants = true |
1669 | chat.Size = UDim2.new(0, 338, 0, 245) |
1670 | chat.ZIndex = 10 |
1671 | table.insert(shade1,chat) |
1672 | |
1673 | Clear.Name = "Clear" |
1674 | Clear.Parent = chat |
1675 | Clear.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314) |
1676 | Clear.BorderSizePixel = 0 |
1677 | Clear.Position = UDim2.new(0, 5, 0, 220) |
1678 | Clear.Size = UDim2.new(0, 50, 0, 20) |
1679 | Clear.ZIndex = 10 |
1680 | Clear.Font = Enum.Font.SourceSans |
1681 | Clear.FontSize = Enum.FontSize.Size14 |
1682 | Clear.Text = "Clear" |
1683 | Clear.TextColor3 = Color3.new(1, 1, 1) |
1684 | table.insert(shade2,Clear) |
1685 | table.insert(text1,Clear) |
1686 | |
1687 | SaveChatlogs.Name = "SaveChatlogs" |
1688 | SaveChatlogs.Parent = chat |
1689 | SaveChatlogs.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314) |
1690 | SaveChatlogs.BorderSizePixel = 0 |
1691 | SaveChatlogs.Position = UDim2.new(0, 258, 0, 220) |
1692 | SaveChatlogs.Size = UDim2.new(0, 75, 0, 20) |
1693 | SaveChatlogs.ZIndex = 10 |
1694 | SaveChatlogs.Font = Enum.Font.SourceSans |
1695 | SaveChatlogs.FontSize = Enum.FontSize.Size14 |
1696 | SaveChatlogs.Text = "Save To .txt" |
1697 | SaveChatlogs.TextColor3 = Color3.new(1, 1, 1) |
1698 | table.insert(shade2,SaveChatlogs) |
1699 | table.insert(text1,SaveChatlogs) |
1700 | |
1701 | Toggle.Name = "Toggle" |
1702 | Toggle.Parent = chat |
1703 | Toggle.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314) |
1704 | Toggle.BorderSizePixel = 0 |
1705 | Toggle.Position = UDim2.new(0, 60, 0, 220) |
1706 | Toggle.Size = UDim2.new(0, 66, 0, 20) |
1707 | Toggle.ZIndex = 10 |
1708 | Toggle.Font = Enum.Font.SourceSans |
1709 | Toggle.FontSize = Enum.FontSize.Size14 |
1710 | Toggle.Text = "Disabled" |
1711 | Toggle.TextColor3 = Color3.new(1, 1, 1) |
1712 | table.insert(shade2,Toggle) |
1713 | table.insert(text1,Toggle) |
1714 | |
1715 | scroll_2.Name = "scroll" |
1716 | scroll_2.Parent = chat |
1717 | scroll_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314) |
1718 | scroll_2.BorderSizePixel = 0 |
1719 | scroll_2.Position = UDim2.new(0, 5, 0, 25) |
1720 | scroll_2.Size = UDim2.new(0, 328, 0, 190) |
1721 | scroll_2.ZIndex = 10 |
1722 | scroll_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1723 | scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10) |
1724 | scroll_2.ScrollBarThickness = 8 |
1725 | scroll_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1726 | table.insert(scroll,scroll_2) |
1727 | table.insert(shade2,scroll_2) |
1728 | |
1729 | join.Name = "join" |
1730 | join.Parent = background |
1731 | join.Active = true |
1732 | join.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098) |
1733 | join.BorderSizePixel = 0 |
1734 | join.ClipsDescendants = true |
1735 | join.Size = UDim2.new(0, 338, 0, 245) |
1736 | join.Visible = false |
1737 | join.ZIndex = 10 |
1738 | table.insert(shade1,join) |
1739 | |
1740 | Toggle_2.Name = "Toggle" |
1741 | Toggle_2.Parent = join |
1742 | Toggle_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314) |
1743 | Toggle_2.BorderSizePixel = 0 |
1744 | Toggle_2.Position = UDim2.new(0, 60, 0, 220) |
1745 | Toggle_2.Size = UDim2.new(0, 66, 0, 20) |
1746 | Toggle_2.ZIndex = 10 |
1747 | Toggle_2.Font = Enum.Font.SourceSans |
1748 | Toggle_2.FontSize = Enum.FontSize.Size14 |
1749 | Toggle_2.Text = "Disabled" |
1750 | Toggle_2.TextColor3 = Color3.new(1, 1, 1) |
1751 | table.insert(shade2,Toggle_2) |
1752 | table.insert(text1,Toggle_2) |
1753 | |
1754 | Clear_2.Name = "Clear" |
1755 | Clear_2.Parent = join |
1756 | Clear_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314) |
1757 | Clear_2.BorderSizePixel = 0 |
1758 | Clear_2.Position = UDim2.new(0, 5, 0, 220) |
1759 | Clear_2.Size = UDim2.new(0, 50, 0, 20) |
1760 | Clear_2.ZIndex = 10 |
1761 | Clear_2.Font = Enum.Font.SourceSans |
1762 | Clear_2.FontSize = Enum.FontSize.Size14 |
1763 | Clear_2.Text = "Clear" |
1764 | Clear_2.TextColor3 = Color3.new(1, 1, 1) |
1765 | table.insert(shade2,Clear_2) |
1766 | table.insert(text1,Clear_2) |
1767 | |
1768 | scroll_3.Name = "scroll" |
1769 | scroll_3.Parent = join |
1770 | scroll_3.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314) |
1771 | scroll_3.BorderSizePixel = 0 |
1772 | scroll_3.Position = UDim2.new(0, 5, 0, 25) |
1773 | scroll_3.Size = UDim2.new(0, 328, 0, 190) |
1774 | scroll_3.ZIndex = 10 |
1775 | scroll_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1776 | scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10) |
1777 | scroll_3.ScrollBarThickness = 8 |
1778 | scroll_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png" |
1779 | table.insert(scroll,scroll_3) |
1780 | table.insert(shade2,scroll_3) |
1781 | |
1782 | selectChat.Name = "selectChat" |
1783 | selectChat.Parent = background |
1784 | selectChat.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314) |
1785 | selectChat.BorderSizePixel = 0 |
1786 | selectChat.Position = UDim2.new(0, 5, 0, 5) |
1787 | selectChat.Size = UDim2.new(0, 164, 0, 20) |
1788 | selectChat.ZIndex = 10 |
1789 | selectChat.Font = Enum.Font.SourceSans |
1790 | selectChat.FontSize = Enum.FontSize.Size14 |
1791 | selectChat.Text = "Chat Logs" |
1792 | selectChat.TextColor3 = Color3.new(1, 1, 1) |
1793 | table.insert(shade2,selectChat) |
1794 | table.insert(text1,selectChat) |
1795 | |
1796 | selectJoin.Name = "selectJoin" |
1797 | selectJoin.Parent = background |
1798 | selectJoin.BackgroundColor3 = Color3.new(0.305882, 0.305882, 0.309804) |
1799 | selectJoin.BorderSizePixel = 0 |
1800 | selectJoin.Position = UDim2.new(0, 169, 0, 5) |
1801 | selectJoin.Size = UDim2.new(0, 164, 0, 20) |
1802 | selectJoin.ZIndex = 10 |
1803 | selectJoin.Font = Enum.Font.SourceSans |
1804 | selectJoin.FontSize = Enum.FontSize.Size14 |
1805 | selectJoin.Text = "Join Logs" |
1806 | selectJoin.TextColor3 = Color3.new(1, 1, 1) |
1807 | table.insert(shade3,selectJoin) |
1808 | table.insert(text1,selectJoin) |
1809 | |
1810 | function create(data) |
1811 | local insts = {} |
1812 | for i,v in pairs(data) do insts[v[1]] = Instance.new(v[2]) end |
1813 | |
1814 | for _,v in pairs(data) do |
1815 | for prop,val in pairs(v[3]) do |
1816 | if type(val) == "table" then |
1817 | insts[v[1]][prop] = insts[val[1]] |
1818 | else |
1819 | insts[v[1]][prop] = val |
1820 | end |
1821 | end |
1822 | end |
1823 | |
1824 | return insts[1] |
1825 | end |
1826 | |
1827 | local textService = game:GetService("TextService") |
1828 | ViewportTextBox = (function() |
1829 | |
1830 | local funcs = {} |
1831 | funcs.Update = function(self) |
1832 | local cursorPos = self.TextBox.CursorPosition |
1833 | local text = self.TextBox.Text |
1834 | if text == "" then self.TextBox.Position = UDim2.new(0,2,0,0) return end |
1835 | if cursorPos == -1 then return end |
1836 | |
1837 | local cursorText = text:sub(1,cursorPos-1) |
1838 | local pos = nil |
1839 | local leftEnd = -self.TextBox.Position.X.Offset |
1840 | local rightEnd = leftEnd + self.View.AbsoluteSize.X |
1841 | |
1842 | local totalTextSize = textService:GetTextSize(text,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X |
1843 | local cursorTextSize = textService:GetTextSize(cursorText,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X |
1844 | |
1845 | if cursorTextSize > rightEnd then |
1846 | pos = math.max(-2,cursorTextSize - self.View.AbsoluteSize.X + 2) |
1847 | elseif cursorTextSize < leftEnd then |
1848 | pos = math.max(-2,cursorTextSize-2) |
1849 | elseif totalTextSize < rightEnd then |
1850 | pos = math.max(-2,totalTextSize - self.View.AbsoluteSize.X + 2) |
1851 | end |
1852 | |
1853 | if pos then |
1854 | self.TextBox.Position = UDim2.new(0,-pos,0,0) |
1855 | self.TextBox.Size = UDim2.new(1,pos,1,0) |
1856 | end |
1857 | end |
1858 | |
1859 | local mt = {} |
1860 | mt.__index = funcs |
1861 | |
1862 | local function convert(textbox) |
1863 | local obj = setmetatable({OffsetX = 0, TextBox = textbox},mt) |
1864 | |
1865 | local view = Instance.new("Frame") |
1866 | view.BackgroundTransparency = textbox.BackgroundTransparency |
1867 | view.BackgroundColor3 = textbox.BackgroundColor3 |
1868 | view.BorderSizePixel = textbox.BorderSizePixel |
1869 | view.BorderColor3 = textbox.BorderColor3 |
1870 | view.Position = textbox.Position |
1871 | view.Size = textbox.Size |
1872 | view.ClipsDescendants = true |
1873 | view.Name = textbox.Name |
1874 | view.ZIndex = 10 |
1875 | textbox.BackgroundTransparency = 1 |
1876 | textbox.Position = UDim2.new(0,4,0,0) |
1877 | textbox.Size = UDim2.new(1,-8,1,0) |
1878 | textbox.TextXAlignment = Enum.TextXAlignment.Left |
1879 | textbox.Name = "Input" |
1880 | table.insert(text1,textbox) |
1881 | table.insert(shade2,view) |
1882 | |
1883 | obj.View = view |
1884 | |
1885 | textbox.Changed:Connect(function(prop) |
1886 | if prop == "Text" or prop == "CursorPosition" or prop == "AbsoluteSize" then |
1887 | obj:Update() |
1888 | end |
1889 | end) |
1890 | |
1891 | obj:Update() |
1892 | |
1893 | view.Parent = textbox.Parent |
1894 | textbox.Parent = view |
1895 | |
1896 | return obj |
1897 | end |
1898 | |
1899 | return {convert = convert} |
1900 | end)() |
1901 | |
1902 | ViewportTextBox.convert(Cmdbar).View.ZIndex = 10 |
1903 | ViewportTextBox.convert(Cmdbar_2).View.ZIndex = 10 |
1904 | ViewportTextBox.convert(Cmdbar_3).View.ZIndex = 10 |
1905 | |
1906 | IYMouse = Players.LocalPlayer:GetMouse() |
1907 | UserInputService = game:GetService("UserInputService") |
1908 | TweenService = game:GetService("TweenService") |
1909 | HttpService = game:GetService("HttpService") |
1910 | MarketplaceService = game:GetService("MarketplaceService") |
1911 | RunService = game:GetService("RunService") |
1912 | TeleportService = game:GetService("TeleportService") |
1913 | StarterGui = game:GetService("StarterGui") |
1914 | GuiService = game:GetService("GuiService") |
1915 | Lighting = game:GetService("Lighting") |
1916 | ContextActionService = game:GetService("ContextActionService") |
1917 | NetworkClient = game:GetService("NetworkClient") |
1918 | ReplicatedStorage = game:GetService("ReplicatedStorage") |
1919 | GroupService = game:GetService("GroupService") |
1920 | PathService = game:GetService("PathfindingService") |
1921 | SoundService = game:GetService("SoundService") |
1922 | Teams = game:GetService("Teams") |
1923 | StarterPlayer = game:GetService("StarterPlayer") |
1924 | InsertService = game:GetService("InsertService") |
1925 | ChatService = game:GetService("Chat") |
1926 | ProximityPromptService = game:GetService("ProximityPromptService") |
1927 | StatsService = game:GetService("Stats") |
1928 | MaterialService = game:GetService("MaterialService") |
1929 | AvatarEditorService = game:GetService("AvatarEditorService") |
1930 | |
1931 | sethidden = sethiddenproperty or set_hidden_property or set_hidden_prop |
1932 | gethidden = gethiddenproperty or get_hidden_property or get_hidden_prop |
1933 | queueteleport = (syn and syn.queue_on_teleport) or queue_on_teleport or (fluxus and fluxus.queue_on_teleport) |
1934 | httprequest = (syn and syn.request) or (http and http.request) or http_request or (fluxus and fluxus.request) or request |
1935 | PlaceId, JobId = game.PlaceId, game.JobId |
1936 | local IsOnMobile = table.find({Enum.Platform.IOS, Enum.Platform.Android}, UserInputService:GetPlatform()) |
1937 | |
1938 | function writefileExploit() |
1939 | if writefile then |
1940 | return true |
1941 | end |
1942 | end |
1943 | |
1944 | function isNumber(str) |
1945 | if tonumber(str) ~= nil or str == 'inf' then |
1946 | return true |
1947 | end |
1948 | end |
1949 | |
1950 | function getRoot(char) |
1951 | local rootPart = char:FindFirstChild('HumanoidRootPart') or char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso') |
1952 | return rootPart |
1953 | end |
1954 | |
1955 | function tools(plr) |
1956 | if plr:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass('Tool') or plr.Character:FindFirstChildOfClass('Tool') then |
1957 | return true |
1958 | end |
1959 | end |
1960 | |
1961 | function r15(plr) |
1962 | if plr.Character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then |
1963 | return true |
1964 | end |
1965 | end |
1966 | |
1967 | function toClipboard(String) |
1968 | local clipBoard = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set) |
1969 | if clipBoard then |
1970 | clipBoard(String) |
1971 | notify('Clipboard','Copied to clipboard') |
1972 | else |
1973 | notify('Clipboard',"Your exploit doesn't have the ability to use the clipboard") |
1974 | end |
1975 | end |
1976 | |
1977 | function getHierarchy(obj) |
1978 | local fullname |
1979 | local period |
1980 | |
1981 | if string.find(obj.Name,' ') then |
1982 | fullname = '["'..obj.Name..'"]' |
1983 | period = false |
1984 | else |
1985 | fullname = obj.Name |
1986 | period = true |
1987 | end |
1988 | |
1989 | local getS = obj |
1990 | local parent = obj |
1991 | local service = '' |
1992 | |
1993 | if getS.Parent ~= game then |
1994 | repeat |
1995 | getS = getS.Parent |
1996 | service = getS.ClassName |
1997 | until getS.Parent == game |
1998 | end |
1999 | |
2000 | if parent.Parent ~= getS then |
2001 | repeat |
2002 | parent = parent.Parent |
2003 | if string.find(tostring(parent),' ') then |
2004 | if period then |
2005 | fullname = '["'..parent.Name..'"].'..fullname |
2006 | else |
2007 | fullname = '["'..parent.Name..'"]'..fullname |
2008 | end |
2009 | period = false |
2010 | else |
2011 | if period then |
2012 | fullname = parent.Name..'.'..fullname |
2013 | else |
2014 | fullname = parent.Name..''..fullname |
2015 | end |
2016 | period = true |
2017 | end |
2018 | until parent.Parent == getS |
2019 | elseif string.find(tostring(parent),' ') then |
2020 | fullname = '["'..parent.Name..'"]' |
2021 | period = false |
2022 | end |
2023 | |
2024 | if period then |
2025 | return 'game:GetService("'..service..'").'..fullname |
2026 | else |
2027 | return 'game:GetService("'..service..'")'..fullname |
2028 | end |
2029 | end |
2030 | |
2031 | AllWaypoints = {} |
2032 | |
2033 | local cooldown = false |
2034 | function writefileCooldown(name,data) |
2035 | task.spawn(function() |
2036 | if not cooldown then |
2037 | cooldown = true |
2038 | writefile(name, data) |
2039 | else |
2040 | repeat wait() until cooldown == false |
2041 | writefileCooldown(name,data) |
2042 | end |
2043 | wait(3) |
2044 | cooldown = false |
2045 | end) |
2046 | end |
2047 | |
2048 | function dragGUI(gui) |
2049 | task.spawn(function() |
2050 | local dragging |
2051 | local dragInput |
2052 | local dragStart = Vector3.new(0,0,0) |
2053 | local startPos |
2054 | local function update(input) |
2055 | local delta = input.Position - dragStart |
2056 | local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) |
2057 | TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play() |
2058 | end |
2059 | gui.InputBegan:Connect(function(input) |
2060 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then |
2061 | dragging = true |
2062 | dragStart = input.Position |
2063 | startPos = gui.Position |
2064 | |
2065 | input.Changed:Connect(function() |
2066 | if input.UserInputState == Enum.UserInputState.End then |
2067 | dragging = false |
2068 | end |
2069 | end) |
2070 | end |
2071 | end) |
2072 | gui.InputChanged:Connect(function(input) |
2073 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then |
2074 | dragInput = input |
2075 | end |
2076 | end) |
2077 | UserInputService.InputChanged:Connect(function(input) |
2078 | if input == dragInput and dragging then |
2079 | update(input) |
2080 | end |
2081 | end) |
2082 | end) |
2083 | end |
2084 | |
2085 | dragGUI(logs) |
2086 | dragGUI(KeybindEditor) |
2087 | dragGUI(PluginEditor) |
2088 | dragGUI(ToPartFrame) |
2089 | |
2090 | eventEditor = (function() |
2091 | local events = {} |
2092 | |
2093 | local function registerEvent(name,sets) |
2094 | events[name] = { |
2095 | commands = {}, |
2096 | sets = sets or {} |
2097 | } |
2098 | end |
2099 | |
2100 | local onEdited = nil |
2101 | |
2102 | local function fireEvent(name,...) |
2103 | local args = {...} |
2104 | local event = events[name] |
2105 | if event then |
2106 | for i,cmd in pairs(event.commands) do |
2107 | local metCondition = true |
2108 | for idx,set in pairs(event.sets) do |
2109 | local argVal = args[idx] |
2110 | local cmdSet = cmd[2][idx] |
2111 | local condType = set.Type |
2112 | if condType == "Player" then |
2113 | if cmdSet == 0 then |
2114 | metCondition = metCondition and (tostring(Players.LocalPlayer) == argVal) |
2115 | elseif cmdSet ~= 1 then |
2116 | metCondition = metCondition and table.find(getPlayer(cmdSet,Players.LocalPlayer),argVal) |
2117 | end |
2118 | elseif condType == "String" then |
2119 | if cmdSet ~= 0 then |
2120 | metCondition = metCondition and string.find(argVal:lower(),cmdSet:lower()) |
2121 | end |
2122 | elseif condType == "Number" then |
2123 | if cmdSet ~= 0 then |
2124 | metCondition = metCondition and tonumber(argVal)<=tonumber(cmdSet) |
2125 | end |
2126 | end |
2127 | if not metCondition then break end |
2128 | end |
2129 | |
2130 | if metCondition then |
2131 | pcall(task.spawn(function() |
2132 | local cmdStr = cmd[1] |
2133 | for count,arg in pairs(args) do |
2134 | cmdStr = cmdStr:gsub("%$"..count,arg) |
2135 | end |
2136 | wait(cmd[3] or 0) |
2137 | execCmd(cmdStr) |
2138 | end)) |
2139 | end |
2140 | end |
2141 | end |
2142 | end |
2143 | |
2144 | local main = create({ |
2145 | {1,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderSizePixel=0,Name="EventEditor",Position=UDim2.new(0.5,-175,0,-500),Size=UDim2.new(0,350,0,20),ZIndex=10,}}, |
2146 | {2,"Frame",{BackgroundColor3=currentShade2,BorderSizePixel=0,Name="TopBar",Parent={1},Size=UDim2.new(1,0,0,20),ZIndex=10,}}, |
2147 | {3,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={2},Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,0.95,0),Text="Event Editor",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=Enum.TextXAlignment.Center,ZIndex=10,}}, |
2148 | {4,"TextButton",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Close",Parent={2},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}}, |
2149 | {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://5054663650",Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}}, |
2150 | {6,"Frame",{BackgroundColor3=currentShade1,BorderSizePixel=0,Name="Content",Parent={1},Position=UDim2.new(0,0,0,20),Size=UDim2.new(1,0,0,202),ZIndex=10,}}, |
2151 | {7,"ScrollingFrame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",CanvasSize=UDim2.new(0,0,0,100),Name="List",Parent={6},Position=UDim2.new(0,5,0,5),ScrollBarImageColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),ScrollBarThickness=8,Size=UDim2.new(1,-10,1,-10),TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",ZIndex=10,}}, |
2152 | {8,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={7},Size=UDim2.new(1,0,1,0),ZIndex=10,}}, |
2153 | {9,"UIListLayout",{Parent={8},SortOrder=2,}}, |
2154 | {10,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.3137255012989,0.3137255012989,0.3137255012989),BorderSizePixel=0,ClipsDescendants=true,Name="Settings",Parent={6},Position=UDim2.new(1,0,0,0),Size=UDim2.new(0,150,1,0),ZIndex=10,}}, |
2155 | {11,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),Name="Slider",Parent={10},Position=UDim2.new(0,-150,0,0),Size=UDim2.new(1,0,1,0),ZIndex=10,}}, |
2156 | {12,"Frame",{BackgroundColor3=Color3.new(0.23529413342476,0.23529413342476,0.23529413342476),BorderColor3=Color3.new(0.3137255012989,0.3137255012989,0.3137255012989),BorderSizePixel=0,Name="Line",Parent={11},Size=UDim2.new(0,1,1,0),ZIndex=10,}}, |
2157 | {13,"ScrollingFrame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",CanvasSize=UDim2.new(0,0,0,100),Name="List",Parent={11},Position=UDim2.new(0,0,0,25),ScrollBarImageColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),ScrollBarThickness=8,Size=UDim2.new(1,0,1,-25),TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",ZIndex=10,}}, |
2158 | {14,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={13},Size=UDim2.new(1,0,1,0),ZIndex=10,}}, |
2159 | {15,"UIListLayout",{Parent={14},SortOrder=2,}}, |
2160 | {16,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={11},Size=UDim2.new(1,0,0,20),Text="Event Settings",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}}, |
2161 | {17,"TextButton",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Font=3,Name="Close",BorderSizePixel=0,Parent={11},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="<",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}}, |
2162 | {18,"Folder",{Name="Templates",Parent={10},}}, |
2163 | {19,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="Players",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,86),Visible=false,ZIndex=10,}}, |
2164 | {20,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={19},Size=UDim2.new(1,0,0,20),Text="Choose Players",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}}, |
2165 | {21,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Any",Parent={19},Position=UDim2.new(0,5,0,42),Size=UDim2.new(1,-10,0,20),Text="Any Player",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2166 | {22,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={21},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}}, |
2167 | {23,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={22},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}}, |
2168 | {24,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Me",Parent={19},Position=UDim2.new(0,5,0,20),Size=UDim2.new(1,-10,0,20),Text="Me Only",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2169 | {25,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={24},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}}, |
2170 | {26,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={25},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}}, |
2171 | {27,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,ClearTextOnFocus=false,Font=3,Name="Custom",Parent={19},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),PlaceholderText="Custom Player Set",Position=UDim2.new(0,5,0,64),Size=UDim2.new(1,-35,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2172 | {28,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="CustomButton",Parent={19},Position=UDim2.new(1,-25,0,64),Size=UDim2.new(0,20,0,20),ZIndex=10,}}, |
2173 | {29,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={28},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}}, |
2174 | {30,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="Strings",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,64),Visible=false,ZIndex=10,}}, |
2175 | {31,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={30},Size=UDim2.new(1,0,0,20),Text="Choose String",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}}, |
2176 | {32,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Any",Parent={30},Position=UDim2.new(0,5,0,20),Size=UDim2.new(1,-10,0,20),Text="Any String",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2177 | {33,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={32},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}}, |
2178 | {34,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={33},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}}, |
2179 | {54,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="Numbers",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,64),Visible=false,ZIndex=10,}}, |
2180 | {55,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={54},Size=UDim2.new(1,0,0,20),Text="Choose String",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}}, |
2181 | {56,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Any",Parent={54},Position=UDim2.new(0,5,0,20),Size=UDim2.new(1,-10,0,20),Text="Any Number",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2182 | {57,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={56},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}}, |
2183 | {58,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={57},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}}, |
2184 | {59,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,ClearTextOnFocus=false,Font=3,Name="Custom",Parent={54},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),PlaceholderText="Number",Position=UDim2.new(0,5,0,42),Size=UDim2.new(1,-35,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2185 | {60,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="CustomButton",Parent={54},Position=UDim2.new(1,-25,0,42),Size=UDim2.new(0,20,0,20),ZIndex=10,}}, |
2186 | {61,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={60},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}}, |
2187 | {35,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,ClearTextOnFocus=false,Font=3,Name="Custom",Parent={30},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),PlaceholderText="Match String",Position=UDim2.new(0,5,0,42),Size=UDim2.new(1,-35,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2188 | {36,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="CustomButton",Parent={30},Position=UDim2.new(1,-25,0,42),Size=UDim2.new(0,20,0,20),ZIndex=10,}}, |
2189 | {37,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={36},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}}, |
2190 | {38,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="DelayEditor",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,24),Visible=false,ZIndex=10,}}, |
2191 | {39,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,Font=3,Name="Secs",Parent={38},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),Position=UDim2.new(0,60,0,2),Size=UDim2.new(1,-65,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2192 | {40,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Label",Parent={39},Position=UDim2.new(0,-55,0,0),Size=UDim2.new(1,0,1,0),Text="Delay (s):",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2193 | {41,"Frame",{BackgroundColor3=currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="EventTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}}, |
2194 | {42,"TextButton",{BackgroundColor3=currentText1,BackgroundTransparency=1,Font=3,Name="Expand",Parent={41},Size=UDim2.new(0,20,0,20),Text=">",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}}, |
2195 | {43,"TextLabel",{BackgroundColor3=currentText1,BackgroundTransparency=1,Font=3,Name="EventName",Parent={41},Position=UDim2.new(0,25,0,0),Size=UDim2.new(1,-25,0,20),Text="OnSpawn",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2196 | {44,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BorderSizePixel=0,BackgroundTransparency=1,ClipsDescendants=true,Name="Cmds",Parent={41},Position=UDim2.new(0,0,0,20),Size=UDim2.new(1,0,1,-20),ZIndex=10,}}, |
2197 | {45,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BorderColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),Name="Add",Parent={44},Position=UDim2.new(0,0,1,-20),Size=UDim2.new(1,0,0,20),ZIndex=10,}}, |
2198 | {46,"TextBox",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,ClearTextOnFocus=false,Font=3,Parent={45},PlaceholderColor3=Color3.new(0.7843137383461,0.7843137383461,0.7843137383461),PlaceholderText="Add new command",Position=UDim2.new(0,5,0,0),Size=UDim2.new(1,-10,1,0),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2199 | {47,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={44},Size=UDim2.new(1,0,1,-20),ZIndex=10,}}, |
2200 | {48,"UIListLayout",{Parent={47},SortOrder=2,}}, |
2201 | {49,"Frame",{currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="CmdTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}}, |
2202 | {50,"TextBox",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,ClearTextOnFocus=false,Font=3,Parent={49},PlaceholderColor3=Color3.new(1,1,1),Position=UDim2.new(0,5,0,0),Size=UDim2.new(1,-45,0,20),Text="a\\b\\c\\d",TextColor3=currentText1,TextSize=14,TextXAlignment=0,ZIndex=10,}}, |
2203 | {51,"TextButton",{BackgroundColor3=currentShade1,BorderSizePixel=0,Font=3,Name="Delete",Parent={49},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="X",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}}, |
2204 | {52,"TextButton",{BackgroundColor3=currentShade1,BorderSizePixel=0,Font=3,Name="Settings",Parent={49},Position=UDim2.new(1,-40,0,0),Size=UDim2.new(0,20,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}}, |
2205 | {53,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://1204397029",Parent={52},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),ZIndex=10,}}, |
2206 | }) |
2207 | main.Name = randomString() |
2208 | local mainFrame = main:WaitForChild("Content") |
2209 | local eventList = mainFrame:WaitForChild("List") |
2210 | local eventListHolder = eventList:WaitForChild("Holder") |
2211 | local cmdTemplate = mainFrame:WaitForChild("CmdTemplate") |
2212 | local eventTemplate = mainFrame:WaitForChild("EventTemplate") |
2213 | local settingsFrame = mainFrame:WaitForChild("Settings"):WaitForChild("Slider") |
2214 | local settingsTemplates = mainFrame.Settings:WaitForChild("Templates") |
2215 | local settingsList = settingsFrame:WaitForChild("List"):WaitForChild("Holder") |
2216 | table.insert(shade2,main.TopBar) table.insert(shade1,mainFrame) table.insert(shade2,eventTemplate) |
2217 | table.insert(text1,eventTemplate.EventName) table.insert(shade1,eventTemplate.Cmds.Add) table.insert(shade1,cmdTemplate) |
2218 | table.insert(text1,cmdTemplate.TextBox) table.insert(shade2,cmdTemplate.Delete) table.insert(shade2,cmdTemplate.Settings) |
2219 | table.insert(scroll,mainFrame.List) table.insert(shade1,settingsFrame) table.insert(shade2,settingsFrame.Line) |
2220 | table.insert(shade2,settingsFrame.Close) table.insert(scroll,settingsFrame.List) table.insert(shade2,settingsTemplates.DelayEditor.Secs) |
2221 | table.insert(text1,settingsTemplates.DelayEditor.Secs) table.insert(text1,settingsTemplates.DelayEditor.Secs.Label) table.insert(text1,settingsTemplates.Players.Title) |
2222 | table.insert(shade3,settingsTemplates.Players.CustomButton) table.insert(shade2,settingsTemplates.Players.Custom) table.insert(text1,settingsTemplates.Players.Custom) |
2223 | table.insert(shade3,settingsTemplates.Players.Any.Button) table.insert(shade3,settingsTemplates.Players.Me.Button) table.insert(text1,settingsTemplates.Players.Any) |
2224 | table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Strings.Title) table.insert(text1,settingsTemplates.Strings.Any) |
2225 | table.insert(shade3,settingsTemplates.Strings.Any.Button) table.insert(shade3,settingsTemplates.Strings.CustomButton) table.insert(text1,settingsTemplates.Strings.Custom) |
2226 | table.insert(shade2,settingsTemplates.Strings.Custom) |
2227 | table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Numbers.Title) table.insert(text1,settingsTemplates.Numbers.Any) |
2228 | table.insert(shade3,settingsTemplates.Numbers.Any.Button) table.insert(shade3,settingsTemplates.Numbers.CustomButton) table.insert(text1,settingsTemplates.Numbers.Custom) |
2229 | table.insert(shade2,settingsTemplates.Numbers.Custom) |
2230 | |
2231 | local tweenInf = TweenInfo.new(0.25,Enum.EasingStyle.Quart,Enum.EasingDirection.Out) |
2232 | |
2233 | local currentlyEditingCmd = nil |
2234 | |
2235 | settingsFrame:WaitForChild("Close").MouseButton1Click:Connect(function() |
2236 | settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true) |
2237 | end) |
2238 | |
2239 | local function resizeList() |
2240 | local size = 0 |
2241 | |
2242 | for i,v in pairs(eventListHolder:GetChildren()) do |
2243 | if v.Name == "EventTemplate" then |
2244 | size = size + 20 |
2245 | if v.Expand.Rotation == 90 then |
2246 | size = size + 20*(1+(#events[v.EventName:GetAttribute("RawName")].commands or 0)) |
2247 | end |
2248 | end |
2249 | end |
2250 | |
2251 | TweenService:Create(eventList,tweenInf,{CanvasSize = UDim2.new(0,0,0,size)}):Play() |
2252 | |
2253 | if size > eventList.AbsoluteSize.Y then |
2254 | eventListHolder.Size = UDim2.new(1,-8,1,0) |
2255 | else |
2256 | eventListHolder.Size = UDim2.new(1,0,1,0) |
2257 | end |
2258 | end |
2259 | |
2260 | local function resizeSettingsList() |
2261 | local size = 0 |
2262 | |
2263 | for i,v in pairs(settingsList:GetChildren()) do |
2264 | if v:IsA("Frame") then |
2265 | size = size + v.AbsoluteSize.Y |
2266 | end |
2267 | end |
2268 | |
2269 | settingsList.Parent.CanvasSize = UDim2.new(0,0,0,size) |
2270 | |
2271 | if size > settingsList.Parent.AbsoluteSize.Y then |
2272 | settingsList.Size = UDim2.new(1,-8,1,0) |
2273 | else |
2274 | settingsList.Size = UDim2.new(1,0,1,0) |
2275 | end |
2276 | end |
2277 | |
2278 | local function setupCheckbox(button,callback) |
2279 | local enabled = button.On.BackgroundTransparency == 0 |
2280 | |
2281 | local function update() |
2282 | button.On.BackgroundTransparency = (enabled and 0 or 1) |
2283 | end |
2284 | |
2285 | button.On.MouseButton1Click:Connect(function() |
2286 | enabled = not enabled |
2287 | update() |
2288 | if callback then callback(enabled) end |
2289 | end) |
2290 | |
2291 | return { |
2292 | Toggle = function(nocall) enabled = not enabled update() if not nocall and callback then callback(enabled) end end, |
2293 | Enable = function(nocall) if enabled then return end enabled = true update()if not nocall and callback then callback(enabled) end end, |
2294 | Disable = function(nocall) if not enabled then return end enabled = false update()if not nocall and callback then callback(enabled) end end, |
2295 | IsEnabled = function() return enabled end |
2296 | } |
2297 | end |
2298 | |
2299 | local function openSettingsEditor(event,cmd) |
2300 | currentlyEditingCmd = cmd |
2301 | |
2302 | for i,v in pairs(settingsList:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end |
2303 | |
2304 | local delayEditor = settingsTemplates.DelayEditor:Clone() |
2305 | delayEditor.Secs.FocusLost:Connect(function() |
2306 | cmd[3] = tonumber(delayEditor.Secs.Text) or 0 |
2307 | delayEditor.Secs.Text = cmd[3] |
2308 | if onEdited then onEdited() end |
2309 | end) |
2310 | delayEditor.Secs.Text = cmd[3] |
2311 | delayEditor.Visible = true |
2312 | table.insert(shade2,delayEditor.Secs) |
2313 | table.insert(text1,delayEditor.Secs) |
2314 | table.insert(text1,delayEditor.Secs.Label) |
2315 | delayEditor.Parent = settingsList |
2316 | |
2317 | for i,v in pairs(event.sets) do |
2318 | if v.Type == "Player" then |
2319 | local template = settingsTemplates.Players:Clone() |
2320 | template.Title.Text = v.Name or "Player" |
2321 | |
2322 | local me,any,custom |
2323 | |
2324 | me = setupCheckbox(template.Me.Button,function(on) |
2325 | if not on then return end |
2326 | any.Disable() |
2327 | custom.Disable() |
2328 | cmd[2][i] = 0 |
2329 | if onEdited then onEdited() end |
2330 | end) |
2331 | |
2332 | any = setupCheckbox(template.Any.Button,function(on) |
2333 | if not on then return end |
2334 | me.Disable() |
2335 | custom.Disable() |
2336 | cmd[2][i] = 1 |
2337 | if onEdited then onEdited() end |
2338 | end) |
2339 | |
2340 | local customTextBox = template.Custom |
2341 | custom = setupCheckbox(template.CustomButton,function(on) |
2342 | if not on then return end |
2343 | me.Disable() |
2344 | any.Disable() |
2345 | cmd[2][i] = customTextBox.Text |
2346 | if onEdited then onEdited() end |
2347 | end) |
2348 | |
2349 | ViewportTextBox.convert(customTextBox) |
2350 | customTextBox.FocusLost:Connect(function() |
2351 | if custom:IsEnabled() then |
2352 | cmd[2][i] = customTextBox.Text |
2353 | if onEdited then onEdited() end |
2354 | end |
2355 | end) |
2356 | |
2357 | local cVal = cmd[2][i] |
2358 | if cVal == 0 then |
2359 | me:Enable() |
2360 | elseif cVal == 1 then |
2361 | any:Enable() |
2362 | else |
2363 | custom:Enable() |
2364 | customTextBox.Text = cVal |
2365 | end |
2366 | |
2367 | template.Visible = true |
2368 | table.insert(text1,template.Title) |
2369 | table.insert(shade3,template.CustomButton) |
2370 | table.insert(shade3,template.Any.Button) |
2371 | table.insert(shade3,template.Me.Button) |
2372 | table.insert(text1,template.Any) |
2373 | table.insert(text1,template.Me) |
2374 | template.Parent = settingsList |
2375 | elseif v.Type == "String" then |
2376 | local template = settingsTemplates.Strings:Clone() |
2377 | template.Title.Text = v.Name or "String" |
2378 | |
2379 | local any,custom |
2380 | |
2381 | any = setupCheckbox(template.Any.Button,function(on) |
2382 | if not on then return end |
2383 | custom.Disable() |
2384 | cmd[2][i] = 0 |
2385 | if onEdited then onEdited() end |
2386 | end) |
2387 | |
2388 | local customTextBox = template.Custom |
2389 | custom = setupCheckbox(template.CustomButton,function(on) |
2390 | if not on then return end |
2391 | any.Disable() |
2392 | cmd[2][i] = customTextBox.Text |
2393 | if onEdited then onEdited() end |
2394 | end) |
2395 | |
2396 | ViewportTextBox.convert(customTextBox) |
2397 | customTextBox.FocusLost:Connect(function() |
2398 | if custom:IsEnabled() then |
2399 | cmd[2][i] = customTextBox.Text |
2400 | if onEdited then onEdited() end |
2401 | end |
2402 | end) |
2403 | |
2404 | local cVal = cmd[2][i] |
2405 | if cVal == 0 then |
2406 | any:Enable() |
2407 | else |
2408 | custom:Enable() |
2409 | customTextBox.Text = cVal |
2410 | end |
2411 | |
2412 | template.Visible = true |
2413 | table.insert(text1,template.Title) |
2414 | table.insert(text1,template.Any) |
2415 | table.insert(shade3,template.Any.Button) |
2416 | table.insert(shade3,template.CustomButton) |
2417 | template.Parent = settingsList |
2418 | elseif v.Type == "Number" then |
2419 | local template = settingsTemplates.Numbers:Clone() |
2420 | template.Title.Text = v.Name or "Number" |
2421 | |
2422 | local any,custom |
2423 | |
2424 | any = setupCheckbox(template.Any.Button,function(on) |
2425 | if not on then return end |
2426 | custom.Disable() |
2427 | cmd[2][i] = 0 |
2428 | if onEdited then onEdited() end |
2429 | end) |
2430 | |
2431 | local customTextBox = template.Custom |
2432 | custom = setupCheckbox(template.CustomButton,function(on) |
2433 | if not on then return end |
2434 | any.Disable() |
2435 | cmd[2][i] = customTextBox.Text |
2436 | if onEdited then onEdited() end |
2437 | end) |
2438 | |
2439 | ViewportTextBox.convert(customTextBox) |
2440 | customTextBox.FocusLost:Connect(function() |
2441 | cmd[2][i] = tonumber(customTextBox.Text) or 0 |
2442 | customTextBox.Text = cmd[2][i] |
2443 | if custom:IsEnabled() then |
2444 | if onEdited then onEdited() end |
2445 | end |
2446 | end) |
2447 | |
2448 | local cVal = cmd[2][i] |
2449 | if cVal == 0 then |
2450 | any:Enable() |
2451 | else |
2452 | custom:Enable() |
2453 | customTextBox.Text = cVal |
2454 | end |
2455 | |
2456 | template.Visible = true |
2457 | table.insert(text1,template.Title) |
2458 | table.insert(text1,template.Any) |
2459 | table.insert(shade3,template.Any.Button) |
2460 | table.insert(shade3,template.CustomButton) |
2461 | template.Parent = settingsList |
2462 | end |
2463 | end |
2464 | resizeSettingsList() |
2465 | settingsFrame:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true) |
2466 | end |
2467 | |
2468 | local function defaultSettings(ev) |
2469 | local res = {} |
2470 | |
2471 | for i,v in pairs(ev.sets) do |
2472 | if v.Type == "Player" then |
2473 | res[#res+1] = v.Default or 0 |
2474 | elseif v.Type == "String" then |
2475 | res[#res+1] = v.Default or 0 |
2476 | elseif v.Type == "Number" then |
2477 | res[#res+1] = v.Default or 0 |
2478 | end |
2479 | end |
2480 | |
2481 | return res |
2482 | end |
2483 | |
2484 | local function refreshList() |
2485 | for i,v in pairs(eventListHolder:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end |
2486 | |
2487 | for name,event in pairs(events) do |
2488 | local eventF = eventTemplate:Clone() |
2489 | eventF.EventName.Text = name |
2490 | eventF.Visible = true |
2491 | eventF.EventName:SetAttribute("RawName", name) |
2492 | table.insert(shade2,eventF) |
2493 | table.insert(text1,eventF.EventName) |
2494 | table.insert(shade1,eventF.Cmds.Add) |
2495 | |
2496 | local expanded = false |
2497 | eventF.Expand.MouseButton1Down:Connect(function() |
2498 | expanded = not expanded |
2499 | eventF:TweenSize(UDim2.new(1,0,0,20 + (expanded and 20*#eventF.Cmds.Holder:GetChildren() or 0)),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true) |
2500 | eventF.Expand.Rotation = expanded and 90 or 0 |
2501 | resizeList() |
2502 | end) |
2503 | |
2504 | local function refreshCommands() |
2505 | for i,v in pairs(eventF.Cmds.Holder:GetChildren()) do |
2506 | if v.Name == "CmdTemplate" then |
2507 | v:Destroy() |
2508 | end |
2509 | end |
2510 | |
2511 | eventF.EventName.Text = name..(#event.commands > 0 and " ("..#event.commands..")" or "") |
2512 | |
2513 | for i,cmd in pairs(event.commands) do |
2514 | local cmdF = cmdTemplate:Clone() |
2515 | local cmdTextBox = cmdF.TextBox |
2516 | ViewportTextBox.convert(cmdTextBox) |
2517 | cmdTextBox.Text = cmd[1] |
2518 | cmdF.Visible = true |
2519 | table.insert(shade1,cmdF) |
2520 | table.insert(shade2,cmdF.Delete) |
2521 | table.insert(shade2,cmdF.Settings) |
2522 | |
2523 | cmdTextBox.FocusLost:Connect(function() |
2524 | event.commands[i] = {cmdTextBox.Text,cmd[2],cmd[3]} |
2525 | if onEdited then onEdited() end |
2526 | end) |
2527 | |
2528 | cmdF.Settings.MouseButton1Click:Connect(function() |
2529 | openSettingsEditor(event,cmd) |
2530 | end) |
2531 | |
2532 | cmdF.Delete.MouseButton1Click:Connect(function() |
2533 | table.remove(event.commands,i) |
2534 | refreshCommands() |
2535 | resizeList() |
2536 | |
2537 | if currentlyEditingCmd == cmd then |
2538 | settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true) |
2539 | end |
2540 | if onEdited then onEdited() end |
2541 | end) |
2542 | |
2543 | cmdF.Parent = eventF.Cmds.Holder |
2544 | end |
2545 | |
2546 | eventF:TweenSize(UDim2.new(1,0,0,20 + (expanded and 20*#eventF.Cmds.Holder:GetChildren() or 0)),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true) |
2547 | end |
2548 | |
2549 | local newBox = eventF.Cmds.Add.TextBox |
2550 | ViewportTextBox.convert(newBox) |
2551 | newBox.FocusLost:Connect(function(enter) |
2552 | if enter then |
2553 | event.commands[#event.commands+1] = {newBox.Text,defaultSettings(event),0} |
2554 | newBox.Text = "" |
2555 | |
2556 | refreshCommands() |
2557 | resizeList() |
2558 | if onEdited then onEdited() end |
2559 | end |
2560 | end) |
2561 | |
2562 | --eventF:GetPropertyChangedSignal("AbsoluteSize"):Connect(resizeList) |
2563 | |
2564 | eventF.Parent = eventListHolder |
2565 | |
2566 | refreshCommands() |
2567 | end |
2568 | |
2569 | resizeList() |
2570 | end |
2571 | |
2572 | local function saveData() |
2573 | local result = {} |
2574 | for i,v in pairs(events) do |
2575 | result[i] = v.commands |
2576 | end |
2577 | return HttpService:JSONEncode(result) |
2578 | end |
2579 | |
2580 | local function loadData(str) |
2581 | local data = HttpService:JSONDecode(str) |
2582 | for i,v in pairs(data) do |
2583 | if events[i] then |
2584 | events[i].commands = v |
2585 | end |
2586 | end |
2587 | end |
2588 | |
2589 | local function addCmd(event,data) |
2590 | table.insert(events[event].commands,data) |
2591 | end |
2592 | |
2593 | local function setOnEdited(f) |
2594 | if type(f) == "function" then |
2595 | onEdited = f |
2596 | end |
2597 | end |
2598 | |
2599 | main.TopBar.Close.MouseButton1Click:Connect(function() |
2600 | main:TweenPosition(UDim2.new(0.5,-175,0,-500), "InOut", "Quart", 0.5, true, nil) |
2601 | end) |
2602 | dragGUI(main) |
2603 | main.Parent = PARENT |
2604 | |
2605 | return { |
2606 | RegisterEvent = registerEvent, |
2607 | FireEvent = fireEvent, |
2608 | Refresh = refreshList, |
2609 | SaveData = saveData, |
2610 | LoadData = loadData, |
2611 | AddCmd = addCmd, |
2612 | Frame = main, |
2613 | SetOnEdited = setOnEdited |
2614 | } |
2615 | end)() |
2616 | |
2617 | reference = (function() |
2618 | local main = create({ |
2619 | {1,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,Name="Main",Position=UDim2.new(0.5,-250,0,-500),Size=UDim2.new(0,500,0,20),ZIndex=10,}}, |
2620 | {2,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="TopBar",Parent={1},Size=UDim2.new(1,0,0,20),ZIndex=10,}}, |
2621 | {3,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={2},Size=UDim2.new(1,0,0.94999998807907,0),Text="Reference",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}}, |
2622 | {4,"TextButton",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Close",Parent={2},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}}, |
2623 | {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://5054663650",Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}}, |
2624 | {6,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BorderSizePixel=0,Name="Content",Parent={1},Position=UDim2.new(0,0,0,20),Size=UDim2.new(1,0,0,300),ZIndex=10,}}, |
2625 | {7,"ScrollingFrame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",CanvasSize=UDim2.new(0,0,0,1313),Name="List",Parent={6},ScrollBarImageColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),ScrollBarThickness=8,Size=UDim2.new(1,0,1,0),TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",VerticalScrollBarInset=2,ZIndex=10,}}, |
2626 | {8,"UIListLayout",{Parent={7},SortOrder=2,}}, |
2627 | {9,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,429),ZIndex=10,}}, |
2628 | {10,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={9},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Special Player Cases",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}}, |
2629 | {11,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={9},Position=UDim2.new(0,8,0,25),Size=UDim2.new(1,-8,0,20),Text="These keywords can be used to quickly select groups of players in commands:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2630 | {12,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={9},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}}, |
2631 | {13,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Cases",Parent={9},Position=UDim2.new(0,8,0,55),Size=UDim2.new(1,-16,0,342),ZIndex=10,}}, |
2632 | {14,"UIListLayout",{Parent={13},SortOrder=2,}}, |
2633 | {15,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,LayoutOrder=-4,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2634 | {16,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={15},Size=UDim2.new(1,0,1,0),Text="all",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2635 | {17,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={15},Position=UDim2.new(0,15,0,0),Size=UDim2.new(1,0,1,0),Text="- includes everyone",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2636 | {18,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,LayoutOrder=-3,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2637 | {19,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={18},Size=UDim2.new(1,0,1,0),Text="others",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2638 | {20,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={18},Position=UDim2.new(0,37,0,0),Size=UDim2.new(1,0,1,0),Text="- includes everyone except you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2639 | {21,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,LayoutOrder=-2,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2640 | {22,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={21},Size=UDim2.new(1,0,1,0),Text="me",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2641 | {23,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={21},Position=UDim2.new(0,19,0,0),Size=UDim2.new(1,0,1,0),Text="- includes your player only",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2642 | {24,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2643 | {25,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={24},Size=UDim2.new(1,0,1,0),Text="#[number]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2644 | {26,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={24},Position=UDim2.new(0,59,0,0),Size=UDim2.new(1,0,1,0),Text="- gets a specified amount of random players",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2645 | {27,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2646 | {28,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={27},Size=UDim2.new(1,0,1,0),Text="random",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2647 | {29,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={27},Position=UDim2.new(0,44,0,0),Size=UDim2.new(1,0,1,0),Text="- affects a random player",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2648 | {30,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2649 | {31,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={30},Size=UDim2.new(1,0,1,0),Text="%[team name]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2650 | {32,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={30},Position=UDim2.new(0,78,0,0),Size=UDim2.new(1,0,1,0),Text="- includes everyone on a given team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2651 | {33,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2652 | {34,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={33},Size=UDim2.new(1,0,1,0),Text="allies / team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2653 | {35,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={33},Position=UDim2.new(0,63,0,0),Size=UDim2.new(1,0,1,0),Text="- players who are on your team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2654 | {36,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2655 | {37,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={36},Size=UDim2.new(1,0,1,0),Text="enemies / nonteam",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2656 | {38,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={36},Position=UDim2.new(0,101,0,0),Size=UDim2.new(1,0,1,0),Text="- players who are not on your team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2657 | {39,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2658 | {40,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={39},Size=UDim2.new(1,0,1,0),Text="friends",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2659 | {41,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={39},Position=UDim2.new(0,40,0,0),Size=UDim2.new(1,0,1,0),Text="- anyone who is friends with you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2660 | {42,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2661 | {43,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={42},Size=UDim2.new(1,0,1,0),Text="nonfriends",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2662 | {44,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={42},Position=UDim2.new(0,61,0,0),Size=UDim2.new(1,0,1,0),Text="- anyone who is not friends with you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2663 | {45,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2664 | {46,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={45},Size=UDim2.new(1,0,1,0),Text="guests",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2665 | {47,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={45},Position=UDim2.new(0,36,0,0),Size=UDim2.new(1,0,1,0),Text="- guest players (obsolete)",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2666 | {48,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2667 | {49,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={48},Size=UDim2.new(1,0,1,0),Text="bacons",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2668 | {50,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={48},Position=UDim2.new(0,40,0,0),Size=UDim2.new(1,0,1,0),Text="- anyone with the \"bacon\" or pal hair",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2669 | {51,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2670 | {52,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={51},Size=UDim2.new(1,0,1,0),Text="age[number]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2671 | {53,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={51},Position=UDim2.new(0,71,0,0),Size=UDim2.new(1,0,1,0),Text="- includes anyone below or at the given age",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2672 | {54,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2673 | {55,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={54},Size=UDim2.new(1,0,1,0),Text="rad[number]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2674 | {56,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={54},Position=UDim2.new(0,70,0,0),Size=UDim2.new(1,0,1,0),Text="- includes anyone within the given radius",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2675 | {57,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2676 | {58,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={57},Size=UDim2.new(1,0,1,0),Text="nearest",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2677 | {59,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={57},Position=UDim2.new(0,43,0,0),Size=UDim2.new(1,0,1,0),Text="- gets the closest player to you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2678 | {60,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2679 | {61,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={60},Size=UDim2.new(1,0,1,0),Text="farthest",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2680 | {62,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={60},Position=UDim2.new(0,46,0,0),Size=UDim2.new(1,0,1,0),Text="- gets the farthest player from you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2681 | {63,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2682 | {64,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={63},Size=UDim2.new(1,0,1,0),Text="group[ID]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2683 | {65,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={63},Position=UDim2.new(0,55,0,0),Size=UDim2.new(1,0,1,0),Text="- gets players who are in a certain group",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2684 | {66,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2685 | {67,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={66},Size=UDim2.new(1,0,1,0),Text="alive",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2686 | {68,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={66},Position=UDim2.new(0,27,0,0),Size=UDim2.new(1,0,1,0),Text="- gets players who are alive",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2687 | {69,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2688 | {70,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={69},Size=UDim2.new(1,0,1,0),Text="dead",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2689 | {71,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={69},Position=UDim2.new(0,29,0,0),Size=UDim2.new(1,0,1,0),Text="- gets players who are dead",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2690 | {72,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,LayoutOrder=-1,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}}, |
2691 | {73,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={72},Size=UDim2.new(1,0,1,0),Text="@username",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2692 | {74,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={72},Position=UDim2.new(0,66,0,0),Size=UDim2.new(1,0,1,0),Text="- searches for players by username only (ignores displaynames)",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2693 | {75,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,180),ZIndex=10,}}, |
2694 | {76,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={75},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Various Operators",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}}, |
2695 | {77,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={75},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}}, |
2696 | {78,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={75},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,16),Text="Use commas to separate multiple expressions:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2697 | {79,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={75},Position=UDim2.new(0,8,0,75),Size=UDim2.new(1,-8,0,16),Text="Use - to exclude, and + to include players in your expression:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2698 | {80,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={75},Position=UDim2.new(0,8,0,91),Size=UDim2.new(1,-8,0,16),Text=";locate %blue-friends (gets players in blue team who aren't your friends)",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2699 | {81,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={75},Position=UDim2.new(0,8,0,46),Size=UDim2.new(1,-8,0,16),Text=";locate noob,noob2,bob",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2700 | {82,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={75},Position=UDim2.new(0,8,0,120),Size=UDim2.new(1,-8,0,16),Text="Put ! before a command to run it with the last arguments it was ran with:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2701 | {83,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={75},Position=UDim2.new(0,8,0,136),Size=UDim2.new(1,-8,0,32),Text="After running ;offset 0 100 0, you can run !offset anytime to repeat that command with the same arguments that were used to run it last time",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2702 | {84,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,154),ZIndex=10,}}, |
2703 | {85,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={84},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Command Looping",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}}, |
2704 | {86,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={84},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,20),Text="Form: [How many times it loops]^[delay (optional)]^[command]",TextColor3=Color3.new(1,1,1),TextSize=15,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2705 | {87,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={84},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}}, |
2706 | {88,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={84},Position=UDim2.new(0,8,0,50),Size=UDim2.new(1,-8,0,20),Text="Use the 'breakloops' command to stop all running loops.",TextColor3=Color3.new(1,1,1),TextSize=15,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2707 | {89,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={84},Position=UDim2.new(0,8,0,80),Size=UDim2.new(1,-8,0,16),Text="Examples:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2708 | {90,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={84},Position=UDim2.new(0,8,0,98),Size=UDim2.new(1,-8,0,42),Text=";5^btools - gives you 5 sets of btools\n;10^3^drophats - drops your hats every 3 seconds 10 times\n;inf^0.1^animspeed 100 - infinitely loops your animation speed to 100",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2709 | {91,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,120),ZIndex=10,}}, |
2710 | {92,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={91},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Execute Multiple Commands at Once",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}}, |
2711 | {93,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={91},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,20),Text="You can execute multiple commands at once using \"\\\"",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2712 | {94,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={91},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}}, |
2713 | {95,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={91},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,-8,0,16),Text="Examples:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2714 | {96,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={91},Position=UDim2.new(0,8,0,78),Size=UDim2.new(1,-8,0,32),Text=";drophats\\respawn - drops your hats and respawns you\n;enable inventory\\enable playerlist\\refresh - enables those coregui items and refreshes you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2715 | {97,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}}, |
2716 | {98,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={97},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Browse Command History",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}}, |
2717 | {99,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={97},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="While focused on the command bar, you can use the up and down arrow keys to browse recently used commands",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2718 | {100,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={97},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}}, |
2719 | {101,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}}, |
2720 | {102,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={101},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Autocomplete in the Command Bar",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}}, |
2721 | {103,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={101},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="While focused on the command bar, you can use the tab key to insert the top suggested command into the command bar.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2722 | {104,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={101},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}}, |
2723 | {105,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,175),ZIndex=10,}}, |
2724 | {106,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={105},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Using Event Binds",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}}, |
2725 | {107,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={105},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="Use event binds to set up commands that get executed when certain events happen. You can edit the conditions for an event command to run (such as which player triggers it).",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2726 | {108,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={105},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}}, |
2727 | {109,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={105},Position=UDim2.new(0,8,0,70),Size=UDim2.new(1,-8,0,48),Text="Some events may send arguments; you can use them in your event command by using $ followed by the argument number ($1, $2, etc). You can find out the order and types of these arguments by looking at the settings of the event command.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2728 | {110,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={105},Position=UDim2.new(0,8,0,130),Size=UDim2.new(1,-8,0,16),Text="Example:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2729 | {111,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={105},Position=UDim2.new(0,8,0,148),Size=UDim2.new(1,-8,0,16),Text="Setting up 'goto $1' on the OnChatted event will teleport you to any player that chats.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}}, |
2730 | {112,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,105),ZIndex=10,}}, |
2731 | {113,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={112},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Get Further Help",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}}, |
2732 | {114,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={112},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="You can join the Discord server to get support with IY, and read up on more documentation such as the Plugin API.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}}, |
2733 | {115,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={112},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),Visible=false,ZIndex=10,}}, |
2734 | {116,"TextButton",{BackgroundColor3=Color3.new(0.48627451062202,0.61960786581039,0.85098040103912),BorderColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),Font=4,Name="InviteButton",Parent={112},Position=UDim2.new(0,5,0,75),Size=UDim2.new(1,-10,0,25),Text="Copy Discord Invite Link (https://discord.io/infiniteyield)",TextColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),TextSize=16,ZIndex=10,}}, |
2735 | }) |
2736 | for i,v in pairs(main.Content.List:GetDescendants()) do |
2737 | if v:IsA("TextLabel") then |
2738 | table.insert(text1,v) |
2739 | end |
2740 | end |
2741 | table.insert(scroll,main.Content.List) |
2742 | table.insert(shade1,main.Content) |
2743 | table.insert(shade2,main.TopBar) |
2744 | main.Name = randomString() |
2745 | main.TopBar.Close.MouseButton1Click:Connect(function() |
2746 | main:TweenPosition(UDim2.new(0.5,-250,0,-500), "InOut", "Quart", 0.5, true, nil) |
2747 | end) |
2748 | local inviteButton = main:FindFirstChild("InviteButton",true) |
2749 | local lastPress = nil |
2750 | inviteButton.MouseButton1Click:Connect(function() |
2751 | local func = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set) |
2752 | if func then |
2753 | func("https://discord.io/infiniteyield") |
2754 | inviteButton.Text = "Copied" |
2755 | else |
2756 | inviteButton.Text = "No Clipboard Function, type out the link" |
2757 | end |
2758 | local pressTime = tick() |
2759 | lastPress = pressTime |
2760 | wait(2) |
2761 | if lastPress ~= pressTime then return end |
2762 | inviteButton.Text = "Copy Discord Invite Link (https://discord.io/infiniteyield)" |
2763 | end) |
2764 | dragGUI(main) |
2765 | main.Parent = PARENT |
2766 | |
2767 | ReferenceButton.MouseButton1Click:Connect(function() |
2768 | main:TweenPosition(UDim2.new(0.5,-250,0.5,-150), "InOut", "Quart", 0.5, true, nil) |
2769 | end) |
2770 | end)() |
2771 | |
2772 | currentShade1 = Color3.fromRGB(36, 36, 37) |
2773 | currentShade2 = Color3.fromRGB(46, 46, 47) |
2774 | currentShade3 = Color3.fromRGB(78, 78, 79) |
2775 | currentText1 = Color3.new(1, 1, 1) |
2776 | currentText2 = Color3.new(0, 0, 0) |
2777 | currentScroll = Color3.fromRGB(78,78,79) |
2778 | |
2779 | defaultsettings = { |
2780 | prefix = ';'; |
2781 | StayOpen = false; |
2782 | espTransparency = 0.3; |
2783 | keepIY = true; |
2784 | logsEnabled = false; |
2785 | jLogsEnabled = false; |
2786 | aliases = {}; |
2787 | binds = {}; |
2788 | WayPoints = {}; |
2789 | PluginsTable = {}; |
2790 | currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B}; |
2791 | currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B}; |
2792 | currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B}; |
2793 | currentText1 = {currentText1.R,currentText1.G,currentText1.B}; |
2794 | currentText2 = {currentText2.R,currentText2.G,currentText2.B}; |
2795 | currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B}; |
2796 | eventBinds = eventEditor.SaveData() |
2797 | } |
2798 | |
2799 | defaults = HttpService:JSONEncode(defaultsettings) |
2800 | nosaves = false |
2801 | |
2802 | local loadedEventData = nil |
2803 | function saves() |
2804 | if writefileExploit() then |
2805 | if pcall(function() readfile("IY_FE.iy") end) then |
2806 | if readfile("IY_FE.iy") ~= nil then |
2807 | local success, response = pcall(function() |
2808 | local json = HttpService:JSONDecode(readfile("IY_FE.iy")) |
2809 | if json.prefix ~= nil then prefix = json.prefix else prefix = ';' end |
2810 | if json.StayOpen ~= nil then StayOpen = json.StayOpen else StayOpen = false end |
2811 | if json.keepIY ~= nil then KeepInfYield = json.keepIY else KeepInfYield = true end |
2812 | if json.espTransparency ~= nil then espTransparency = json.espTransparency else espTransparency = 0.3 end |
2813 | if json.logsEnabled ~= nil then logsEnabled = json.logsEnabled else logsEnabled = false end |
2814 | if json.jLogsEnabled ~= nil then jLogsEnabled = json.jLogsEnabled else jLogsEnabled = false end |
2815 | if json.aliases ~= nil then aliases = json.aliases else aliases = {} end |
2816 | if json.binds ~= nil then binds = (json.binds or {}) else binds = {} end |
2817 | if json.spawnCmds ~= nil then spawnCmds = json.spawnCmds end |
2818 | if json.WayPoints ~= nil then AllWaypoints = json.WayPoints else WayPoints = {} AllWaypoints = {} end |
2819 | if json.PluginsTable ~= nil then PluginsTable = json.PluginsTable else PluginsTable = {} end |
2820 | if json.currentShade1 ~= nil then currentShade1 = Color3.new(json.currentShade1[1],json.currentShade1[2],json.currentShade1[3]) end |
2821 | if json.currentShade2 ~= nil then currentShade2 = Color3.new(json.currentShade2[1],json.currentShade2[2],json.currentShade2[3]) end |
2822 | if json.currentShade3 ~= nil then currentShade3 = Color3.new(json.currentShade3[1],json.currentShade3[2],json.currentShade3[3]) end |
2823 | if json.currentText1 ~= nil then currentText1 = Color3.new(json.currentText1[1],json.currentText1[2],json.currentText1[3]) end |
2824 | if json.currentText2 ~= nil then currentText2 = Color3.new(json.currentText2[1],json.currentText2[2],json.currentText2[3]) end |
2825 | if json.currentScroll ~= nil then currentScroll = Color3.new(json.currentScroll[1],json.currentScroll[2],json.currentScroll[3]) end |
2826 | if json.eventBinds ~= nil then loadedEventData = json.eventBinds end |
2827 | end) |
2828 | if not success then |
2829 | warn("Save Json Error:", response) |
2830 | warn("Overwriting Save File") |
2831 | writefileCooldown("IY_FE.iy", defaults) |
2832 | wait() |
2833 | saves() |
2834 | end |
2835 | else |
2836 | writefileCooldown("IY_FE.iy", defaults) |
2837 | wait() |
2838 | saves() |
2839 | end |
2840 | else |
2841 | writefileCooldown("IY_FE.iy", defaults) |
2842 | wait() |
2843 | if pcall(function() readfile("IY_FE.iy") end) then |
2844 | saves() |
2845 | else |
2846 | nosaves = true |
2847 | prefix = ';' |
2848 | StayOpen = false |
2849 | KeepInfYield = true |
2850 | espTransparency = 0.3 |
2851 | logsEnabled = false |
2852 | jLogsEnabled = false |
2853 | aliases = {} |
2854 | binds = {} |
2855 | WayPoints = {} |
2856 | PluginsTable = {} |
2857 | |
2858 | local FileError = Instance.new("Frame") |
2859 | local background = Instance.new("Frame") |
2860 | local Directions = Instance.new("TextLabel") |
2861 | local shadow = Instance.new("Frame") |
2862 | local PopupText = Instance.new("TextLabel") |
2863 | local Exit = Instance.new("TextButton") |
2864 | local ExitImage = Instance.new("ImageLabel") |
2865 | |
2866 | FileError.Name = randomString() |
2867 | FileError.Parent = PARENT |
2868 | FileError.Active = true |
2869 | FileError.BackgroundTransparency = 1 |
2870 | FileError.Position = UDim2.new(0.5, -180, 0, 290) |
2871 | FileError.Size = UDim2.new(0, 360, 0, 20) |
2872 | FileError.ZIndex = 10 |
2873 | |
2874 | background.Name = "background" |
2875 | background.Parent = FileError |
2876 | background.Active = true |
2877 | background.BackgroundColor3 = Color3.fromRGB(36, 36, 37) |
2878 | background.BorderSizePixel = 0 |
2879 | background.Position = UDim2.new(0, 0, 0, 20) |
2880 | background.Size = UDim2.new(0, 360, 0, 205) |
2881 | background.ZIndex = 10 |
2882 | |
2883 | Directions.Name = "Directions" |
2884 | Directions.Parent = background |
2885 | Directions.BackgroundTransparency = 1 |
2886 | Directions.BorderSizePixel = 0 |
2887 | Directions.Position = UDim2.new(0, 10, 0, 10) |
2888 | Directions.Size = UDim2.new(0, 340, 0, 185) |
2889 | Directions.Font = Enum.Font.SourceSans |
2890 | Directions.TextSize = 14 |
2891 | Directions.Text = "There was a problem writing a save file to your PC.\n\nPlease contact the developer/support team for your exploit and tell them writefile is not working.\n\nYour settings, keybinds, waypoints, and aliases will not save if you continue.\n\nThings to try:\n> Make sure a 'workspace' folder is located in the same folder as your exploit\n> If your exploit is inside of a zip/rar file, extract it.\n> Rejoin the game and try again or restart your PC and try again." |
2892 | Directions.TextColor3 = Color3.new(1, 1, 1) |
2893 | Directions.TextWrapped = true |
2894 | Directions.TextXAlignment = Enum.TextXAlignment.Left |
2895 | Directions.TextYAlignment = Enum.TextYAlignment.Top |
2896 | Directions.ZIndex = 10 |
2897 | |
2898 | shadow.Name = "shadow" |
2899 | shadow.Parent = FileError |
2900 | shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
2901 | shadow.BorderSizePixel = 0 |
2902 | shadow.Size = UDim2.new(0, 360, 0, 20) |
2903 | shadow.ZIndex = 10 |
2904 | |
2905 | PopupText.Name = "PopupText" |
2906 | PopupText.Parent = shadow |
2907 | PopupText.BackgroundTransparency = 1 |
2908 | PopupText.Size = UDim2.new(1, 0, 0.95, 0) |
2909 | PopupText.ZIndex = 10 |
2910 | PopupText.Font = Enum.Font.SourceSans |
2911 | PopupText.TextSize = 14 |
2912 | PopupText.Text = "File Error" |
2913 | PopupText.TextColor3 = Color3.new(1, 1, 1) |
2914 | PopupText.TextWrapped = true |
2915 | |
2916 | Exit.Name = "Exit" |
2917 | Exit.Parent = shadow |
2918 | Exit.BackgroundTransparency = 1 |
2919 | Exit.Position = UDim2.new(1, -20, 0, 0) |
2920 | Exit.Size = UDim2.new(0, 20, 0, 20) |
2921 | Exit.Text = "" |
2922 | Exit.ZIndex = 10 |
2923 | |
2924 | ExitImage.Parent = Exit |
2925 | ExitImage.BackgroundColor3 = Color3.new(1, 1, 1) |
2926 | ExitImage.BackgroundTransparency = 1 |
2927 | ExitImage.Position = UDim2.new(0, 5, 0, 5) |
2928 | ExitImage.Size = UDim2.new(0, 10, 0, 10) |
2929 | ExitImage.Image = "rbxassetid://5054663650" |
2930 | ExitImage.ZIndex = 10 |
2931 | |
2932 | Exit.MouseButton1Click:Connect(function() |
2933 | FileError:Destroy() |
2934 | end) |
2935 | end |
2936 | end |
2937 | else |
2938 | prefix = ';' |
2939 | StayOpen = false |
2940 | KeepInfYield = true |
2941 | espTransparency = 0.3 |
2942 | logsEnabled = false |
2943 | jLogsEnabled = false |
2944 | aliases = {} |
2945 | binds = {} |
2946 | WayPoints = {} |
2947 | PluginsTable = {} |
2948 | end |
2949 | end |
2950 | |
2951 | saves() |
2952 | |
2953 | function updatesaves() |
2954 | if nosaves == false and writefileExploit() then |
2955 | local update = { |
2956 | prefix = prefix; |
2957 | StayOpen = StayOpen; |
2958 | keepIY = KeepInfYield; |
2959 | espTransparency = espTransparency; |
2960 | logsEnabled = logsEnabled; |
2961 | jLogsEnabled = jLogsEnabled; |
2962 | aliases = aliases; |
2963 | binds = binds or {}; |
2964 | WayPoints = AllWaypoints; |
2965 | PluginsTable = PluginsTable; |
2966 | currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B}; |
2967 | currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B}; |
2968 | currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B}; |
2969 | currentText1 = {currentText1.R,currentText1.G,currentText1.B}; |
2970 | currentText2 = {currentText2.R,currentText2.G,currentText2.B}; |
2971 | currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B}; |
2972 | eventBinds = eventEditor.SaveData() |
2973 | } |
2974 | writefileCooldown("IY_FE.iy", HttpService:JSONEncode(update)) |
2975 | end |
2976 | end |
2977 | |
2978 | eventEditor.SetOnEdited(updatesaves) |
2979 | |
2980 | pWayPoints = {} |
2981 | WayPoints = {} |
2982 | |
2983 | if #AllWaypoints > 0 then |
2984 | for i = 1, #AllWaypoints do |
2985 | if not AllWaypoints[i].GAME or AllWaypoints[i].GAME == PlaceId then |
2986 | WayPoints[#WayPoints + 1] = {NAME = AllWaypoints[i].NAME, COORD = {AllWaypoints[i].COORD[1], AllWaypoints[i].COORD[2], AllWaypoints[i].COORD[3]}, GAME = AllWaypoints[i].GAME} |
2987 | end |
2988 | end |
2989 | end |
2990 | |
2991 | if type(binds) ~= "table" then binds = {} end |
2992 | |
2993 | function Time() |
2994 | local HOUR = math.floor((tick() % 86400) / 3600) |
2995 | local MINUTE = math.floor((tick() % 3600) / 60) |
2996 | local SECOND = math.floor(tick() % 60) |
2997 | local AP = HOUR > 11 and 'PM' or 'AM' |
2998 | HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12) |
2999 | HOUR = HOUR < 10 and '0' .. HOUR or HOUR |
3000 | MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE |
3001 | SECOND = SECOND < 10 and '0' .. SECOND or SECOND |
3002 | return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP |
3003 | end |
3004 | |
3005 | PrefixBox.Text = prefix |
3006 | local SettingsOpen = false |
3007 | local isHidden = false |
3008 | |
3009 | if StayOpen == false then |
3010 | On.BackgroundTransparency = 1 |
3011 | else |
3012 | On.BackgroundTransparency = 0 |
3013 | end |
3014 | |
3015 | if logsEnabled then |
3016 | Toggle.Text = 'Enabled' |
3017 | else |
3018 | Toggle.Text = 'Disabled' |
3019 | end |
3020 | |
3021 | if jLogsEnabled then |
3022 | Toggle_2.Text = 'Enabled' |
3023 | else |
3024 | Toggle_2.Text = 'Disabled' |
3025 | end |
3026 | |
3027 | function maximizeHolder() |
3028 | if StayOpen == false then |
3029 | Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -220), "InOut", "Quart", 0.2, true, nil) |
3030 | end |
3031 | end |
3032 | |
3033 | local minimizeNum = -20 |
3034 | function minimizeHolder() |
3035 | if StayOpen == false then |
3036 | Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, minimizeNum), "InOut", "Quart", 0.5, true, nil) |
3037 | end |
3038 | end |
3039 | |
3040 | function cmdbarHolder() |
3041 | if StayOpen == false then |
3042 | Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -45), "InOut", "Quart", 0.5, true, nil) |
3043 | end |
3044 | end |
3045 | |
3046 | pinNotification = nil |
3047 | local notifyCount = 0 |
3048 | function notify(text,text2,length) |
3049 | task.spawn(function() |
3050 | local LnotifyCount = notifyCount+1 |
3051 | local notificationPinned = false |
3052 | notifyCount = notifyCount+1 |
3053 | if pinNotification then pinNotification:Disconnect() end |
3054 | pinNotification = PinButton.MouseButton1Click:Connect(function() |
3055 | task.spawn(function() |
3056 | pinNotification:Disconnect() |
3057 | notificationPinned = true |
3058 | Title_2.BackgroundTransparency = 1 |
3059 | wait(0.5) |
3060 | Title_2.BackgroundTransparency = 0 |
3061 | end) |
3062 | end) |
3063 | Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil) |
3064 | wait(0.6) |
3065 | local closepressed = false |
3066 | if text2 then |
3067 | Title_2.Text = text |
3068 | Text_2.Text = text2 |
3069 | else |
3070 | Title_2.Text = 'Notification' |
3071 | Text_2.Text = text |
3072 | end |
3073 | Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -100), "InOut", "Quart", 0.5, true, nil) |
3074 | CloseButton.MouseButton1Click:Connect(function() |
3075 | Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil) |
3076 | closepressed = true |
3077 | pinNotification:Disconnect() |
3078 | end) |
3079 | if length and isNumber(length) then |
3080 | wait(length) |
3081 | else |
3082 | wait(10) |
3083 | end |
3084 | if LnotifyCount == notifyCount then |
3085 | if closepressed == false and notificationPinned == false then |
3086 | pinNotification:Disconnect() |
3087 | Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil) |
3088 | end |
3089 | notifyCount = 0 |
3090 | end |
3091 | end) |
3092 | end |
3093 | |
3094 | local lastMessage = nil |
3095 | local lastLabel = nil |
3096 | local dupeCount = 1 |
3097 | function CreateLabel(Name, Text) |
3098 | if lastMessage == Name..Text then |
3099 | dupeCount = dupeCount+1 |
3100 | lastLabel.Text = Time()..' - ['..Name..']: '..Text..' (x'..dupeCount..')' |
3101 | else |
3102 | if dupeCount > 1 then dupeCount = 1 end |
3103 | if #scroll_2:GetChildren() >= 2546 then |
3104 | scroll_2:ClearAllChildren() |
3105 | end |
3106 | local alls = 0 |
3107 | for i,v in pairs(scroll_2:GetChildren()) do |
3108 | if v then |
3109 | alls = v.Size.Y.Offset + alls |
3110 | end |
3111 | if not v then |
3112 | alls = 0 |
3113 | end |
3114 | end |
3115 | local tl = Instance.new('TextLabel') |
3116 | lastMessage = Name..Text |
3117 | lastLabel = tl |
3118 | tl.Name = Name |
3119 | tl.Parent = scroll_2 |
3120 | tl.ZIndex = 10 |
3121 | tl.Text = Time().." - ["..Name.."]: "..Text |
3122 | tl.Size = UDim2.new(0,322,0,84) |
3123 | tl.BackgroundTransparency = 1 |
3124 | tl.BorderSizePixel = 0 |
3125 | tl.Font = "SourceSans" |
3126 | tl.Position = UDim2.new(-1,0,0,alls) |
3127 | tl.TextTransparency = 1 |
3128 | tl.TextScaled = false |
3129 | tl.TextSize = 14 |
3130 | tl.TextWrapped = true |
3131 | tl.TextXAlignment = "Left" |
3132 | tl.TextYAlignment = "Top" |
3133 | tl.TextColor3 = currentText1 |
3134 | tl.Size = UDim2.new(0,322,0,tl.TextBounds.Y) |
3135 | table.insert(text1,tl) |
3136 | scroll_2.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y) |
3137 | scroll_2.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+tl.TextBounds.Y) |
3138 | tl:TweenPosition(UDim2.new(0,3,0,alls), 'In', 'Quint', 0.5) |
3139 | for i = 0,50 do wait(0.05) |
3140 | tl.TextTransparency = tl.TextTransparency - 0.05 |
3141 | end |
3142 | tl.TextTransparency = 0 |
3143 | end |
3144 | end |
3145 | |
3146 | function CreateJoinLabel(plr,ID) |
3147 | if #scroll_3:GetChildren() >= 2546 then |
3148 | scroll_3:ClearAllChildren() |
3149 | end |
3150 | local infoFrame = Instance.new("Frame") |
3151 | local info1 = Instance.new("TextLabel") |
3152 | local info2 = Instance.new("TextLabel") |
3153 | local ImageLabel_3 = Instance.new("ImageLabel") |
3154 | infoFrame.Name = randomString() |
3155 | infoFrame.Parent = scroll_3 |
3156 | infoFrame.BackgroundColor3 = Color3.new(1, 1, 1) |
3157 | infoFrame.BackgroundTransparency = 1 |
3158 | infoFrame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) |
3159 | infoFrame.Size = UDim2.new(1, 0, 0, 50) |
3160 | info1.Name = randomString() |
3161 | info1.Parent = infoFrame |
3162 | info1.BackgroundTransparency = 1 |
3163 | info1.BorderSizePixel = 0 |
3164 | info1.Position = UDim2.new(0, 45, 0, 0) |
3165 | info1.Size = UDim2.new(0, 135, 1, 0) |
3166 | info1.ZIndex = 10 |
3167 | info1.Font = Enum.Font.SourceSans |
3168 | info1.FontSize = Enum.FontSize.Size14 |
3169 | info1.Text = "Username: "..plr.Name.."\nJoined Server: "..Time() |
3170 | info1.TextColor3 = Color3.new(1, 1, 1) |
3171 | info1.TextWrapped = true |
3172 | info1.TextXAlignment = Enum.TextXAlignment.Left |
3173 | info2.Name = randomString() |
3174 | info2.Parent = infoFrame |
3175 | info2.BackgroundTransparency = 1 |
3176 | info2.BorderSizePixel = 0 |
3177 | info2.Position = UDim2.new(0, 185, 0, 0) |
3178 | info2.Size = UDim2.new(0, 140, 1, -5) |
3179 | info2.ZIndex = 10 |
3180 | info2.Font = Enum.Font.SourceSans |
3181 | info2.FontSize = Enum.FontSize.Size14 |
3182 | info2.Text = "User ID: "..ID.."\nAccount Age: "..plr.AccountAge.."\nJoined Roblox: Loading..." |
3183 | info2.TextColor3 = Color3.new(1, 1, 1) |
3184 | info2.TextWrapped = true |
3185 | info2.TextXAlignment = Enum.TextXAlignment.Left |
3186 | info2.TextYAlignment = Enum.TextYAlignment.Center |
3187 | ImageLabel_3.Parent = infoFrame |
3188 | ImageLabel_3.BackgroundTransparency = 1 |
3189 | ImageLabel_3.BorderSizePixel = 0 |
3190 | ImageLabel_3.Size = UDim2.new(0, 45, 1, 0) |
3191 | ImageLabel_3.Image = Players:GetUserThumbnailAsync(ID, Enum.ThumbnailType.AvatarThumbnail, Enum.ThumbnailSize.Size420x420) |
3192 | scroll_3.CanvasSize = UDim2.new(0, 0, 0, listlayout.AbsoluteContentSize.Y) |
3193 | scroll_3.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+infoFrame.AbsoluteSize.Y) |
3194 | wait() |
3195 | local user = game:HttpGet("https://users.roblox.com/v1/users/"..ID) |
3196 | local json = HttpService:JSONDecode(user) |
3197 | local date = json["created"]:sub(1,10) |
3198 | local splitDates = string.split(date,"-") |
3199 | info2.Text = string.gsub(info2.Text, "Loading...",splitDates[2].."/"..splitDates[3].."/"..splitDates[1]) |
3200 | end |
3201 | |
3202 | IYMouse.KeyDown:Connect(function(Key) |
3203 | if (Key==prefix) then |
3204 | Cmdbar:CaptureFocus() |
3205 | spawn(function() |
3206 | repeat Cmdbar.Text = '' until Cmdbar.Text == '' |
3207 | end) |
3208 | maximizeHolder() |
3209 | end |
3210 | end) |
3211 | |
3212 | local lastMinimizeReq = 0 |
3213 | Holder.MouseEnter:Connect(function() |
3214 | lastMinimizeReq = 0 |
3215 | maximizeHolder() |
3216 | end) |
3217 | |
3218 | Holder.MouseLeave:Connect(function() |
3219 | if not Cmdbar:IsFocused() then |
3220 | local reqTime = tick() |
3221 | lastMinimizeReq = reqTime |
3222 | wait(1) |
3223 | if lastMinimizeReq ~= reqTime then return end |
3224 | if not Cmdbar:IsFocused() then |
3225 | minimizeHolder() |
3226 | end |
3227 | end |
3228 | end) |
3229 | |
3230 | function updateColors(color,ctype) |
3231 | if ctype == shade1 then |
3232 | for i,v in pairs(shade1) do |
3233 | v.BackgroundColor3 = color |
3234 | end |
3235 | currentShade1 = color |
3236 | elseif ctype == shade2 then |
3237 | for i,v in pairs(shade2) do |
3238 | v.BackgroundColor3 = color |
3239 | end |
3240 | currentShade2 = color |
3241 | elseif ctype == shade3 then |
3242 | for i,v in pairs(shade3) do |
3243 | v.BackgroundColor3 = color |
3244 | end |
3245 | currentShade3 = color |
3246 | elseif ctype == text1 then |
3247 | for i,v in pairs(text1) do |
3248 | v.TextColor3 = color |
3249 | if v:IsA("TextBox") then |
3250 | v.PlaceholderColor3 = color |
3251 | end |
3252 | end |
3253 | currentText1 = color |
3254 | elseif ctype == text2 then |
3255 | for i,v in pairs(text2) do |
3256 | v.TextColor3 = color |
3257 | end |
3258 | currentText2 = color |
3259 | elseif ctype == scroll then |
3260 | for i,v in pairs(scroll) do |
3261 | v.ScrollBarImageColor3 = color |
3262 | end |
3263 | currentScroll = color |
3264 | end |
3265 | end |
3266 | |
3267 | local colorpickerOpen = false |
3268 | ColorsButton.MouseButton1Click:Connect(function() |
3269 | cache_currentShade1 = currentShade1 |
3270 | cache_currentShade2 = currentShade2 |
3271 | cache_currentShade3 = currentShade3 |
3272 | cache_currentText1 = currentText1 |
3273 | cache_currentText2 = currentText2 |
3274 | cache_currentScroll = currentScroll |
3275 | if not colorpickerOpen then |
3276 | colorpickerOpen = true |
3277 | picker = game:GetObjects("rbxassetid://4908465318")[1] |
3278 | picker.Name = randomString() |
3279 | picker.Parent = PARENT |
3280 | |
3281 | local ColorPicker do |
3282 | ColorPicker = {} |
3283 | |
3284 | ColorPicker.new = function() |
3285 | local newMt = setmetatable({},{}) |
3286 | |
3287 | local pickerGui = picker.ColorPicker |
3288 | local pickerTopBar = pickerGui.TopBar |
3289 | local pickerExit = pickerTopBar.Exit |
3290 | local pickerFrame = pickerGui.Content |
3291 | local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace |
3292 | local colorStrip = pickerFrame.ColorStrip |
3293 | local previewFrame = pickerFrame.Preview |
3294 | local basicColorsFrame = pickerFrame.BasicColors |
3295 | local customColorsFrame = pickerFrame.CustomColors |
3296 | local defaultButton = pickerFrame.Default |
3297 | local cancelButton = pickerFrame.Cancel |
3298 | local shade1Button = pickerFrame.Shade1 |
3299 | local shade2Button = pickerFrame.Shade2 |
3300 | local shade3Button = pickerFrame.Shade3 |
3301 | local text1Button = pickerFrame.Text1 |
3302 | local text2Button = pickerFrame.Text2 |
3303 | local scrollButton = pickerFrame.Scroll |
3304 | |
3305 | local colorScope = colorSpace.Scope |
3306 | local colorArrow = pickerFrame.ArrowFrame.Arrow |
3307 | |
3308 | local hueInput = pickerFrame.Hue.Input |
3309 | local satInput = pickerFrame.Sat.Input |
3310 | local valInput = pickerFrame.Val.Input |
3311 | |
3312 | local redInput = pickerFrame.Red.Input |
3313 | local greenInput = pickerFrame.Green.Input |
3314 | local blueInput = pickerFrame.Blue.Input |
3315 | |
3316 | local mouse = IYMouse |
3317 | |
3318 | local hue,sat,val = 0,0,1 |
3319 | local red,green,blue = 1,1,1 |
3320 | local chosenColor = Color3.new(0,0,0) |
3321 | |
3322 | local basicColors = {Color3.new(0,0,0),Color3.new(0.66666668653488,0,0),Color3.new(0,0.33333334326744,0),Color3.new(0.66666668653488,0.33333334326744,0),Color3.new(0,0.66666668653488,0),Color3.new(0.66666668653488,0.66666668653488,0),Color3.new(0,1,0),Color3.new(0.66666668653488,1,0),Color3.new(0,0,0.49803924560547),Color3.new(0.66666668653488,0,0.49803924560547),Color3.new(0,0.33333334326744,0.49803924560547),Color3.new(0.66666668653488,0.33333334326744,0.49803924560547),Color3.new(0,0.66666668653488,0.49803924560547),Color3.new(0.66666668653488,0.66666668653488,0.49803924560547),Color3.new(0,1,0.49803924560547),Color3.new(0.66666668653488,1,0.49803924560547),Color3.new(0,0,1),Color3.new(0.66666668653488,0,1),Color3.new(0,0.33333334326744,1),Color3.new(0.66666668653488,0.33333334326744,1),Color3.new(0,0.66666668653488,1),Color3.new(0.66666668653488,0.66666668653488,1),Color3.new(0,1,1),Color3.new(0.66666668653488,1,1),Color3.new(0.33333334326744,0,0),Color3.new(1,0,0),Color3.new(0.33333334326744,0.33333334326744,0),Color3.new(1,0.33333334326744,0),Color3.new(0.33333334326744,0.66666668653488,0),Color3.new(1,0.66666668653488,0),Color3.new(0.33333334326744,1,0),Color3.new(1,1,0),Color3.new(0.33333334326744,0,0.49803924560547),Color3.new(1,0,0.49803924560547),Color3.new(0.33333334326744,0.33333334326744,0.49803924560547),Color3.new(1,0.33333334326744,0.49803924560547),Color3.new(0.33333334326744,0.66666668653488,0.49803924560547),Color3.new(1,0.66666668653488,0.49803924560547),Color3.new(0.33333334326744,1,0.49803924560547),Color3.new(1,1,0.49803924560547),Color3.new(0.33333334326744,0,1),Color3.new(1,0,1),Color3.new(0.33333334326744,0.33333334326744,1),Color3.new(1,0.33333334326744,1),Color3.new(0.33333334326744,0.66666668653488,1),Color3.new(1,0.66666668653488,1),Color3.new(0.33333334326744,1,1),Color3.new(1,1,1)} |
3323 | local customColors = {} |
3324 | |
3325 | dragGUI(picker) |
3326 | |
3327 | local function updateColor(noupdate) |
3328 | local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199 |
3329 | local hsvColor = Color3.fromHSV(hue,sat,val) |
3330 | |
3331 | if noupdate == 2 or not noupdate then |
3332 | hueInput.Text = tostring(math.ceil(359*hue)) |
3333 | satInput.Text = tostring(math.ceil(255*sat)) |
3334 | valInput.Text = tostring(math.floor(255*val)) |
3335 | end |
3336 | if noupdate == 1 or not noupdate then |
3337 | redInput.Text = tostring(math.floor(255*red)) |
3338 | greenInput.Text = tostring(math.floor(255*green)) |
3339 | blueInput.Text = tostring(math.floor(255*blue)) |
3340 | end |
3341 | |
3342 | chosenColor = Color3.new(red,green,blue) |
3343 | |
3344 | colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9) |
3345 | colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1) |
3346 | colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4) |
3347 | previewFrame.BackgroundColor3 = chosenColor |
3348 | |
3349 | newMt.Color = chosenColor |
3350 | if newMt.Changed then newMt:Changed(chosenColor) end |
3351 | end |
3352 | |
3353 | local function colorSpaceInput() |
3354 | local relativeX = mouse.X - colorSpace.AbsolutePosition.X |
3355 | local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y |
3356 | |
3357 | if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end |
3358 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end |
3359 | |
3360 | hue = (219 - relativeX)/219 |
3361 | sat = (199 - relativeY)/199 |
3362 | |
3363 | local hsvColor = Color3.fromHSV(hue,sat,val) |
3364 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b |
3365 | |
3366 | updateColor() |
3367 | end |
3368 | |
3369 | local function colorStripInput() |
3370 | local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y |
3371 | |
3372 | if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end |
3373 | |
3374 | val = (199 - relativeY)/199 |
3375 | |
3376 | local hsvColor = Color3.fromHSV(hue,sat,val) |
3377 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b |
3378 | |
3379 | updateColor() |
3380 | end |
3381 | |
3382 | local function hookButtons(frame,func) |
3383 | frame.ArrowFrame.Up.InputBegan:Connect(function(input) |
3384 | if input.UserInputType == Enum.UserInputType.MouseMovement then |
3385 | frame.ArrowFrame.Up.BackgroundTransparency = 0.5 |
3386 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then |
3387 | local releaseEvent,runEvent |
3388 | |
3389 | local startTime = tick() |
3390 | local pressing = true |
3391 | local startNum = tonumber(frame.Text) |
3392 | |
3393 | if not startNum then return end |
3394 | |
3395 | releaseEvent = UserInputService.InputEnded:Connect(function(input) |
3396 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end |
3397 | releaseEvent:Disconnect() |
3398 | pressing = false |
3399 | end) |
3400 | |
3401 | startNum = startNum + 1 |
3402 | func(startNum) |
3403 | while pressing do |
3404 | if tick()-startTime > 0.3 then |
3405 | startNum = startNum + 1 |
3406 | func(startNum) |
3407 | end |
3408 | wait(0.1) |
3409 | end |
3410 | end |
3411 | end) |
3412 | |
3413 | frame.ArrowFrame.Up.InputEnded:Connect(function(input) |
3414 | if input.UserInputType == Enum.UserInputType.MouseMovement then |
3415 | frame.ArrowFrame.Up.BackgroundTransparency = 1 |
3416 | end |
3417 | end) |
3418 | |
3419 | frame.ArrowFrame.Down.InputBegan:Connect(function(input) |
3420 | if input.UserInputType == Enum.UserInputType.MouseMovement then |
3421 | frame.ArrowFrame.Down.BackgroundTransparency = 0.5 |
3422 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then |
3423 | local releaseEvent,runEvent |
3424 | |
3425 | local startTime = tick() |
3426 | local pressing = true |
3427 | local startNum = tonumber(frame.Text) |
3428 | |
3429 | if not startNum then return end |
3430 | |
3431 | releaseEvent = UserInputService.InputEnded:Connect(function(input) |
3432 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end |
3433 | releaseEvent:Disconnect() |
3434 | pressing = false |
3435 | end) |
3436 | |
3437 | startNum = startNum - 1 |
3438 | func(startNum) |
3439 | while pressing do |
3440 | if tick()-startTime > 0.3 then |
3441 | startNum = startNum - 1 |
3442 | func(startNum) |
3443 | end |
3444 | wait(0.1) |
3445 | end |
3446 | end |
3447 | end) |
3448 | |
3449 | frame.ArrowFrame.Down.InputEnded:Connect(function(input) |
3450 | if input.UserInputType == Enum.UserInputType.MouseMovement then |
3451 | frame.ArrowFrame.Down.BackgroundTransparency = 1 |
3452 | end |
3453 | end) |
3454 | end |
3455 | |
3456 | colorSpace.InputBegan:Connect(function(input) |
3457 | if input.UserInputType == Enum.UserInputType.MouseButton1 then |
3458 | local releaseEvent,mouseEvent |
3459 | |
3460 | releaseEvent = UserInputService.InputEnded:Connect(function(input) |
3461 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end |
3462 | releaseEvent:Disconnect() |
3463 | mouseEvent:Disconnect() |
3464 | end) |
3465 | |
3466 | mouseEvent = UserInputService.InputChanged:Connect(function(input) |
3467 | if input.UserInputType == Enum.UserInputType.MouseMovement then |
3468 | colorSpaceInput() |
3469 | end |
3470 | end) |
3471 | |
3472 | colorSpaceInput() |
3473 | end |
3474 | end) |
3475 | |
3476 | colorStrip.InputBegan:Connect(function(input) |
3477 | if input.UserInputType == Enum.UserInputType.MouseButton1 then |
3478 | local releaseEvent,mouseEvent |
3479 | |
3480 | releaseEvent = UserInputService.InputEnded:Connect(function(input) |
3481 | if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end |
3482 | releaseEvent:Disconnect() |
3483 | mouseEvent:Disconnect() |
3484 | end) |
3485 | |
3486 | mouseEvent = UserInputService.InputChanged:Connect(function(input) |
3487 | if input.UserInputType == Enum.UserInputType.MouseMovement then |
3488 | colorStripInput() |
3489 | end |
3490 | end) |
3491 | |
3492 | colorStripInput() |
3493 | end |
3494 | end) |
3495 | |
3496 | local function updateHue(str) |
3497 | local num = tonumber(str) |
3498 | if num then |
3499 | hue = math.clamp(math.floor(num),0,359)/359 |
3500 | local hsvColor = Color3.fromHSV(hue,sat,val) |
3501 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b |
3502 | hueInput.Text = tostring(hue*359) |
3503 | updateColor(1) |
3504 | end |
3505 | end |
3506 | hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue) |
3507 | |
3508 | local function updateSat(str) |
3509 | local num = tonumber(str) |
3510 | if num then |
3511 | sat = math.clamp(math.floor(num),0,255)/255 |
3512 | local hsvColor = Color3.fromHSV(hue,sat,val) |
3513 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b |
3514 | satInput.Text = tostring(sat*255) |
3515 | updateColor(1) |
3516 | end |
3517 | end |
3518 | satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat) |
3519 | |
3520 | local function updateVal(str) |
3521 | local num = tonumber(str) |
3522 | if num then |
3523 | val = math.clamp(math.floor(num),0,255)/255 |
3524 | local hsvColor = Color3.fromHSV(hue,sat,val) |
3525 | red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b |
3526 | valInput.Text = tostring(val*255) |
3527 | updateColor(1) |
3528 | end |
3529 | end |
3530 | valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal) |
3531 | |
3532 | local function updateRed(str) |
3533 | local num = tonumber(str) |
3534 | if num then |
3535 | red = math.clamp(math.floor(num),0,255)/255 |
3536 | local newColor = Color3.new(red,green,blue) |
3537 | hue,sat,val = Color3.toHSV(newColor) |
3538 | redInput.Text = tostring(red*255) |
3539 | updateColor(2) |
3540 | end |
3541 | end |
3542 | redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed) |
3543 | |
3544 | local function updateGreen(str) |
3545 | local num = tonumber(str) |
3546 | if num then |
3547 | green = math.clamp(math.floor(num),0,255)/255 |
3548 | local newColor = Color3.new(red,green,blue) |
3549 | hue,sat,val = Color3.toHSV(newColor) |
3550 | greenInput.Text = tostring(green*255) |
3551 | updateColor(2) |
3552 | end |
3553 | end |
3554 | greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen) |
3555 | |
3556 | local function updateBlue(str) |
3557 | local num = tonumber(str) |
3558 | if num then |
3559 | blue = math.clamp(math.floor(num),0,255)/255 |
3560 | local newColor = Color3.new(red,green,blue) |
3561 | hue,sat,val = Color3.toHSV(newColor) |
3562 | blueInput.Text = tostring(blue*255) |
3563 | updateColor(2) |
3564 | end |
3565 | end |
3566 | blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue) |
3567 | |
3568 | local colorChoice = Instance.new("TextButton") |
3569 | colorChoice.Name = "Choice" |
3570 | colorChoice.Size = UDim2.new(0,25,0,18) |
3571 | colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255) |
3572 | colorChoice.Text = "" |
3573 | colorChoice.AutoButtonColor = false |
3574 | colorChoice.ZIndex = 10 |
3575 | |
3576 | local row = 0 |
3577 | local column = 0 |
3578 | for i,v in pairs(basicColors) do |
3579 | local newColor = colorChoice:Clone() |
3580 | newColor.BackgroundColor3 = v |
3581 | newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row) |
3582 | |
3583 | newColor.MouseButton1Click:Connect(function() |
3584 | red,green,blue = v.r,v.g,v.b |
3585 | local newColor = Color3.new(red,green,blue) |
3586 | hue,sat,val = Color3.toHSV(newColor) |
3587 | updateColor() |
3588 | end) |
3589 | |
3590 | newColor.Parent = basicColorsFrame |
3591 | column = column + 1 |
3592 | if column == 6 then row = row + 1 column = 0 end |
3593 | end |
3594 | |
3595 | row = 0 |
3596 | column = 0 |
3597 | for i = 1,12 do |
3598 | local color = customColors[i] or Color3.new(0,0,0) |
3599 | local newColor = colorChoice:Clone() |
3600 | newColor.BackgroundColor3 = color |
3601 | newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row) |
3602 | |
3603 | newColor.MouseButton1Click:Connect(function() |
3604 | local curColor = customColors[i] or Color3.new(0,0,0) |
3605 | red,green,blue = curColor.r,curColor.g,curColor.b |
3606 | hue,sat,val = Color3.toHSV(curColor) |
3607 | updateColor() |
3608 | end) |
3609 | |
3610 | newColor.MouseButton2Click:Connect(function() |
3611 | customColors[i] = chosenColor |
3612 | newColor.BackgroundColor3 = chosenColor |
3613 | end) |
3614 | |
3615 | newColor.Parent = customColorsFrame |
3616 | column = column + 1 |
3617 | if column == 6 then row = row + 1 column = 0 end |
3618 | end |
3619 | |
3620 | shade1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade1) end end) |
3621 | shade1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0.4 end end) |
3622 | shade1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0 end end) |
3623 | |
3624 | shade2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade2) end end) |
3625 | shade2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0.4 end end) |
3626 | shade2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0 end end) |
3627 | |
3628 | shade3Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade3) end end) |
3629 | shade3Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0.4 end end) |
3630 | shade3Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0 end end) |
3631 | |
3632 | text1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text1) end end) |
3633 | text1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0.4 end end) |
3634 | text1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0 end end) |
3635 | |
3636 | text2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text2) end end) |
3637 | text2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0.4 end end) |
3638 | text2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0 end end) |
3639 | |
3640 | scrollButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,scroll) end end) |
3641 | scrollButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0.4 end end) |
3642 | scrollButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0 end end) |
3643 | |
3644 | cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end end) |
3645 | cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end) |
3646 | cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end) |
3647 | |
3648 | defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end end) |
3649 | defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end) |
3650 | defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end) |
3651 | |
3652 | pickerExit.MouseButton1Click:Connect(function() |
3653 | picker:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) |
3654 | end) |
3655 | |
3656 | updateColor() |
3657 | |
3658 | newMt.SetColor = function(self,color) |
3659 | red,green,blue = color.r,color.g,color.b |
3660 | hue,sat,val = Color3.toHSV(color) |
3661 | updateColor() |
3662 | end |
3663 | |
3664 | return newMt |
3665 | end |
3666 | end |
3667 | |
3668 | picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) |
3669 | |
3670 | local Npicker = ColorPicker.new() |
3671 | Npicker.Confirm = function(self,color,ctype) updateColors(color,ctype) wait() updatesaves() end |
3672 | Npicker.Cancel = function(self) |
3673 | updateColors(cache_currentShade1,shade1) |
3674 | updateColors(cache_currentShade2,shade2) |
3675 | updateColors(cache_currentShade3,shade3) |
3676 | updateColors(cache_currentText1,text1) |
3677 | updateColors(cache_currentText2,text2) |
3678 | updateColors(cache_currentScroll,scroll) |
3679 | wait() |
3680 | updatesaves() |
3681 | end |
3682 | Npicker.Default = function(self) |
3683 | updateColors(Color3.fromRGB(36, 36, 37),shade1) |
3684 | updateColors(Color3.fromRGB(46, 46, 47),shade2) |
3685 | updateColors(Color3.fromRGB(78, 78, 79),shade3) |
3686 | updateColors(Color3.new(1, 1, 1),text1) |
3687 | updateColors(Color3.new(0, 0, 0),text2) |
3688 | updateColors(Color3.fromRGB(78,78,79),scroll) |
3689 | wait() |
3690 | updatesaves() |
3691 | end |
3692 | else |
3693 | picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) |
3694 | end |
3695 | end) |
3696 | |
3697 | |
3698 | SettingsButton.MouseButton1Click:Connect(function() |
3699 | if SettingsOpen == false then SettingsOpen = true |
3700 | Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil) |
3701 | CMDsF.Visible = false |
3702 | else SettingsOpen = false |
3703 | CMDsF.Visible = true |
3704 | Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.5, true, nil) |
3705 | end |
3706 | end) |
3707 | |
3708 | On.MouseButton1Click:Connect(function() |
3709 | if isHidden == false then |
3710 | if StayOpen == false then |
3711 | StayOpen = true |
3712 | On.BackgroundTransparency = 0 |
3713 | else |
3714 | StayOpen = false |
3715 | On.BackgroundTransparency = 1 |
3716 | end |
3717 | updatesaves() |
3718 | end |
3719 | end) |
3720 | |
3721 | Clear.MouseButton1Down:Connect(function() |
3722 | for _, child in pairs(scroll_2:GetChildren()) do |
3723 | child:Destroy() |
3724 | end |
3725 | scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10) |
3726 | end) |
3727 | |
3728 | Clear_2.MouseButton1Down:Connect(function() |
3729 | for _, child in pairs(scroll_3:GetChildren()) do |
3730 | child:Destroy() |
3731 | end |
3732 | scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10) |
3733 | end) |
3734 | |
3735 | Toggle.MouseButton1Down:Connect(function() |
3736 | if logsEnabled then |
3737 | logsEnabled = false |
3738 | Toggle.Text = 'Disabled' |
3739 | updatesaves() |
3740 | else |
3741 | logsEnabled = true |
3742 | Toggle.Text = 'Enabled' |
3743 | updatesaves() |
3744 | end |
3745 | end) |
3746 | |
3747 | Toggle_2.MouseButton1Down:Connect(function() |
3748 | if jLogsEnabled then |
3749 | jLogsEnabled = false |
3750 | Toggle_2.Text = 'Disabled' |
3751 | updatesaves() |
3752 | else |
3753 | jLogsEnabled = true |
3754 | Toggle_2.Text = 'Enabled' |
3755 | updatesaves() |
3756 | end |
3757 | end) |
3758 | |
3759 | selectChat.MouseButton1Down:Connect(function() |
3760 | join.Visible = false |
3761 | chat.Visible = true |
3762 | table.remove(shade3,table.find(shade3,selectChat)) |
3763 | table.remove(shade2,table.find(shade2,selectJoin)) |
3764 | table.insert(shade2,selectChat) |
3765 | table.insert(shade3,selectJoin) |
3766 | selectJoin.BackgroundColor3 = currentShade3 |
3767 | selectChat.BackgroundColor3 = currentShade2 |
3768 | end) |
3769 | |
3770 | selectJoin.MouseButton1Down:Connect(function() |
3771 | chat.Visible = false |
3772 | join.Visible = true |
3773 | table.remove(shade3,table.find(shade3,selectJoin)) |
3774 | table.remove(shade2,table.find(shade2,selectChat)) |
3775 | table.insert(shade2,selectJoin) |
3776 | table.insert(shade3,selectChat) |
3777 | selectChat.BackgroundColor3 = currentShade3 |
3778 | selectJoin.BackgroundColor3 = currentShade2 |
3779 | end) |
3780 | |
3781 | if not writefileExploit() then |
3782 | notify('Saves','Your exploit does not support read/write file. Your settings will not save.') |
3783 | end |
3784 | |
3785 | ChatLog = function(plr) |
3786 | plr.Chatted:Connect(function(Message) |
3787 | if logsEnabled == true then |
3788 | CreateLabel(plr.Name,Message) |
3789 | end |
3790 | end) |
3791 | end |
3792 | |
3793 | JoinLog = function(plr) |
3794 | if jLogsEnabled == true then |
3795 | CreateJoinLabel(plr,plr.UserId) |
3796 | end |
3797 | end |
3798 | |
3799 | local CleanFileName = function(str) |
3800 | local gsub = string.gsub |
3801 | return gsub(str, "[*\\?:<>|]+", "") |
3802 | end |
3803 | |
3804 | SaveChatlogs.MouseButton1Down:Connect(function() |
3805 | if writefileExploit() then |
3806 | if #scroll_2:GetChildren() > 0 then |
3807 | notify("Loading",'Hold on a sec') |
3808 | local placeName = CleanFileName(MarketplaceService:GetProductInfo(PlaceId).Name) |
3809 | local writelogs = '-- Infinite Yield Chat logs for "'..placeName..'"\n' |
3810 | for _, child in pairs(scroll_2:GetChildren()) do |
3811 | writelogs = writelogs..'\n'..child.Text |
3812 | end |
3813 | local writelogsFile = tostring(writelogs) |
3814 | local fileext = 0 |
3815 | local function nameFile() |
3816 | local file |
3817 | pcall(function() file = readfile(placeName..' Chat Logs ('..fileext..').txt') end) |
3818 | if file then |
3819 | fileext = fileext+1 |
3820 | nameFile() |
3821 | else |
3822 | writefileCooldown(placeName..' Chat Logs ('..fileext..').txt', writelogsFile) |
3823 | end |
3824 | end |
3825 | nameFile() |
3826 | notify('Chat Logs','Saved chat logs to the workspace folder within your exploit folder.') |
3827 | end |
3828 | else |
3829 | notify('Chat Logs','Your exploit does not support write file. You cannot save chat logs.') |
3830 | end |
3831 | end) |
3832 | |
3833 | for _, plr in pairs(Players:GetChildren()) do |
3834 | if plr.ClassName == "Player" then |
3835 | ChatLog(plr) |
3836 | end |
3837 | end |
3838 | |
3839 | Players.PlayerRemoving:Connect(function(player) |
3840 | if ESPenabled or CHMSenabled or COREGUI:FindFirstChild(player.Name..'_LC') then |
3841 | for i,v in pairs(COREGUI:GetChildren()) do |
3842 | if v.Name == player.Name..'_ESP' or v.Name == player.Name..'_LC' or v.Name == player.Name..'_CHMS' then |
3843 | v:Destroy() |
3844 | end |
3845 | end |
3846 | end |
3847 | if viewing ~= nil and player == viewing then |
3848 | workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character |
3849 | viewing = nil |
3850 | if viewDied then |
3851 | viewDied:Disconnect() |
3852 | viewChanged:Disconnect() |
3853 | end |
3854 | notify('Spectate','View turned off (player left)') |
3855 | end |
3856 | end) |
3857 | |
3858 | Exit.MouseButton1Down:Connect(function() |
3859 | logs:TweenPosition(UDim2.new(0, 0, 1, 10), "InOut", "Quart", 0.3, true, nil) |
3860 | end) |
3861 | |
3862 | Hide.MouseButton1Down:Connect(function() |
3863 | if logs.Position ~= UDim2.new(0, 0, 1, -20) then |
3864 | logs:TweenPosition(UDim2.new(0, 0, 1, -20), "InOut", "Quart", 0.3, true, nil) |
3865 | else |
3866 | logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil) |
3867 | end |
3868 | end) |
3869 | |
3870 | EventBind.MouseButton1Click:Connect(function() |
3871 | eventEditor.Frame:TweenPosition(UDim2.new(0.5,-175,0.5,-101), "InOut", "Quart", 0.5, true, nil) |
3872 | end) |
3873 | |
3874 | Keybinds.MouseButton1Click:Connect(function() |
3875 | KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil) |
3876 | wait(0.5) |
3877 | SettingsHolder.Visible = false |
3878 | end) |
3879 | |
3880 | Close.MouseButton1Click:Connect(function() |
3881 | SettingsHolder.Visible = true |
3882 | KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil) |
3883 | end) |
3884 | |
3885 | Keybinds.MouseButton1Click:Connect(function() |
3886 | KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil) |
3887 | wait(0.5) |
3888 | SettingsHolder.Visible = false |
3889 | end) |
3890 | |
3891 | Add.MouseButton1Click:Connect(function() |
3892 | KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, 260), "InOut", "Quart", 0.5, true, nil) |
3893 | end) |
3894 | |
3895 | Delete.MouseButton1Click:Connect(function() |
3896 | binds = {} |
3897 | refreshbinds() |
3898 | updatesaves() |
3899 | notify('Keybinds Updated','Removed all keybinds') |
3900 | end) |
3901 | |
3902 | Close_2.MouseButton1Click:Connect(function() |
3903 | SettingsHolder.Visible = true |
3904 | AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil) |
3905 | end) |
3906 | |
3907 | Aliases.MouseButton1Click:Connect(function() |
3908 | AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil) |
3909 | wait(0.5) |
3910 | SettingsHolder.Visible = false |
3911 | end) |
3912 | |
3913 | Close_3.MouseButton1Click:Connect(function() |
3914 | SettingsHolder.Visible = true |
3915 | PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil) |
3916 | end) |
3917 | |
3918 | Positions.MouseButton1Click:Connect(function() |
3919 | PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil) |
3920 | wait(0.5) |
3921 | SettingsHolder.Visible = false |
3922 | end) |
3923 | |
3924 | local selectionBox = Instance.new("SelectionBox") |
3925 | selectionBox.Name = randomString() |
3926 | selectionBox.Color3 = Color3.new(255,255,255) |
3927 | selectionBox.Adornee = nil |
3928 | selectionBox.Parent = PARENT |
3929 | |
3930 | local selected = Instance.new("SelectionBox") |
3931 | selected.Name = randomString() |
3932 | selected.Color3 = Color3.new(0,166,0) |
3933 | selected.Adornee = nil |
3934 | selected.Parent = PARENT |
3935 | |
3936 | local ActivateHighlight = nil |
3937 | local ClickSelect = nil |
3938 | function selectPart() |
3939 | ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, 335), "InOut", "Quart", 0.5, true, nil) |
3940 | local function HighlightPart() |
3941 | if selected.Adornee ~= IYMouse.Target then |
3942 | selectionBox.Adornee = IYMouse.Target |
3943 | else |
3944 | selectionBox.Adornee = nil |
3945 | end |
3946 | end |
3947 | ActivateHighlight = IYMouse.Move:Connect(HighlightPart) |
3948 | local function SelectPart() |
3949 | if IYMouse.Target ~= nil then |
3950 | selected.Adornee = IYMouse.Target |
3951 | Path.Text = getHierarchy(IYMouse.Target) |
3952 | end |
3953 | end |
3954 | ClickSelect = IYMouse.Button1Down:Connect(SelectPart) |
3955 | end |
3956 | |
3957 | Part.MouseButton1Click:Connect(function() |
3958 | selectPart() |
3959 | end) |
3960 | |
3961 | Exit_4.MouseButton1Click:Connect(function() |
3962 | ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil) |
3963 | if ActivateHighlight then |
3964 | ActivateHighlight:Disconnect() |
3965 | end |
3966 | if ClickSelect then |
3967 | ClickSelect:Disconnect() |
3968 | end |
3969 | selectionBox.Adornee = nil |
3970 | selected.Adornee = nil |
3971 | Path.Text = "" |
3972 | end) |
3973 | |
3974 | CopyPath.MouseButton1Click:Connect(function() |
3975 | if Path.Text ~= "" then |
3976 | toClipboard(Path.Text) |
3977 | else |
3978 | notify('Copy Path','Select a part to copy its path') |
3979 | end |
3980 | end) |
3981 | |
3982 | ChoosePart.MouseButton1Click:Connect(function() |
3983 | if Path.Text ~= "" then |
3984 | local tpNameExt = '' |
3985 | local function handleWpNames() |
3986 | local FoundDupe = false |
3987 | for i,v in pairs(pWayPoints) do |
3988 | if v.NAME:lower() == selected.Adornee.Name:lower()..tpNameExt then |
3989 | FoundDupe = true |
3990 | end |
3991 | end |
3992 | if not FoundDupe then |
3993 | notify('Modified Waypoints',"Created waypoint: "..selected.Adornee.Name..tpNameExt) |
3994 | pWayPoints[#pWayPoints + 1] = {NAME = selected.Adornee.Name..tpNameExt, COORD = {selected.Adornee}} |
3995 | else |
3996 | if isNumber(tpNameExt) then |
3997 | tpNameExt = tpNameExt+1 |
3998 | else |
3999 | tpNameExt = 1 |
4000 | end |
4001 | handleWpNames() |
4002 | end |
4003 | end |
4004 | handleWpNames() |
4005 | refreshwaypoints() |
4006 | else |
4007 | notify('Part Selection','Select a part first') |
4008 | end |
4009 | end) |
4010 | |
4011 | cmds={} |
4012 | customAlias = {} |
4013 | Delete_3.MouseButton1Click:Connect(function() |
4014 | customAlias = {} |
4015 | aliases = {} |
4016 | notify('Aliases Modified','Removed all aliases') |
4017 | updatesaves() |
4018 | refreshaliases() |
4019 | end) |
4020 | |
4021 | PrefixBox:GetPropertyChangedSignal("Text"):Connect(function() |
4022 | prefix = PrefixBox.Text |
4023 | Cmdbar.PlaceholderText = "Command Bar ("..prefix..")" |
4024 | updatesaves() |
4025 | end) |
4026 | |
4027 | function CamViewport() |
4028 | if workspace.CurrentCamera then |
4029 | return workspace.CurrentCamera.ViewportSize.X |
4030 | end |
4031 | end |
4032 | |
4033 | function UpdateToViewport() |
4034 | if Holder.Position.X.Offset < -CamViewport() then |
4035 | Holder:TweenPosition(UDim2.new(1, -CamViewport(), Holder.Position.Y.Scale, Holder.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil) |
4036 | Notification:TweenPosition(UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil) |
4037 | end |
4038 | end |
4039 | CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(UpdateToViewport) |
4040 | |
4041 | function updateCamera(child, parent) |
4042 | if parent ~= workspace then |
4043 | CamMoved:Disconnect() |
4044 | CameraChanged:Disconnect() |
4045 | repeat wait() until workspace.CurrentCamera |
4046 | CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(UpdateToViewport) |
4047 | CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera) |
4048 | end |
4049 | end |
4050 | CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera) |
4051 | |
4052 | function dragMain(dragpoint,gui) |
4053 | task.spawn(function() |
4054 | local dragging |
4055 | local dragInput |
4056 | local dragStart = Vector3.new(0,0,0) |
4057 | local startPos |
4058 | local function update(input) |
4059 | local pos = -250 |
4060 | local delta = input.Position - dragStart |
4061 | if startPos.X.Offset + delta.X <= -500 then |
4062 | local Position = UDim2.new(1, -250, Notification.Position.Y.Scale, Notification.Position.Y.Offset) |
4063 | TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position}):Play() |
4064 | pos = 250 |
4065 | else |
4066 | local Position = UDim2.new(1, -500, Notification.Position.Y.Scale, Notification.Position.Y.Offset) |
4067 | TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position}):Play() |
4068 | pos = -250 |
4069 | end |
4070 | if startPos.X.Offset + delta.X <= -250 and -CamViewport() <= startPos.X.Offset + delta.X then |
4071 | local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, gui.Position.Y.Scale, gui.Position.Y.Offset) |
4072 | TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play() |
4073 | local Position2 = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X + pos, Notification.Position.Y.Scale, Notification.Position.Y.Offset) |
4074 | TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play() |
4075 | elseif startPos.X.Offset + delta.X > -500 then |
4076 | local Position = UDim2.new(1, -250, gui.Position.Y.Scale, gui.Position.Y.Offset) |
4077 | TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play() |
4078 | elseif -CamViewport() > startPos.X.Offset + delta.X then |
4079 | gui:TweenPosition(UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil) |
4080 | local Position = UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset) |
4081 | TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play() |
4082 | local Position2 = UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset) |
4083 | TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play() |
4084 | end |
4085 | end |
4086 | dragpoint.InputBegan:Connect(function(input) |
4087 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then |
4088 | dragging = true |
4089 | dragStart = input.Position |
4090 | startPos = gui.Position |
4091 | |
4092 | input.Changed:Connect(function() |
4093 | if input.UserInputState == Enum.UserInputState.End then |
4094 | dragging = false |
4095 | end |
4096 | end) |
4097 | end |
4098 | end) |
4099 | dragpoint.InputChanged:Connect(function(input) |
4100 | if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then |
4101 | dragInput = input |
4102 | end |
4103 | end) |
4104 | UserInputService.InputChanged:Connect(function(input) |
4105 | if input == dragInput and dragging then |
4106 | update(input) |
4107 | end |
4108 | end) |
4109 | end) |
4110 | end |
4111 | |
4112 | dragMain(Title,Holder) |
4113 | |
4114 | Match = function(name,str) |
4115 | str = str:gsub("%W", "%%%1") |
4116 | return name:lower():find(str:lower()) and true |
4117 | end |
4118 | |
4119 | local canvasPos = Vector2.new(0,0) |
4120 | local topCommand = nil |
4121 | IndexContents = function(str,bool,cmdbar,Ianim) |
4122 | CMDsF.CanvasPosition = Vector2.new(0,0) |
4123 | local SizeY = 0 |
4124 | local indexnum = 0 |
4125 | local frame = CMDsF |
4126 | topCommand = nil |
4127 | local chunks = {} |
4128 | if str:sub(#str,#str) == "\\" then str = "" end |
4129 | for w in string.gmatch(str,"[^\\]+") do |
4130 | table.insert(chunks,w) |
4131 | end |
4132 | if #chunks > 0 then str = chunks[#chunks] end |
4133 | if str:sub(1,1) == "!" then str = str:sub(2) end |
4134 | for i,v in next, frame:GetChildren() do |
4135 | if v:IsA("TextButton") then |
4136 | if bool then |
4137 | if Match(v.Text,str) then |
4138 | indexnum = indexnum + 1 |
4139 | v.Visible = true |
4140 | if topCommand == nil then |
4141 | topCommand = v.Text |
4142 | end |
4143 | else |
4144 | v.Visible = false |
4145 | end |
4146 | else |
4147 | v.Visible = true |
4148 | if topCommand == nil then |
4149 | topCommand = v.Text |
4150 | end |
4151 | end |
4152 | end |
4153 | end |
4154 | frame.CanvasSize = UDim2.new(0,0,0,cmdListLayout.AbsoluteContentSize.Y) |
4155 | if not Ianim then |
4156 | if indexnum == 0 or string.find(str, " ") then |
4157 | if not cmdbar then |
4158 | minimizeHolder() |
4159 | elseif cmdbar then |
4160 | cmdbarHolder() |
4161 | end |
4162 | else |
4163 | maximizeHolder() |
4164 | end |
4165 | else |
4166 | minimizeHolder() |
4167 | end |
4168 | end |
4169 | |
4170 | PlayerGui = Players.LocalPlayer:FindFirstChildOfClass("PlayerGui") |
4171 | local chatbox |
4172 | task.spawn(function() |
4173 | local success, result = pcall(function() chatbox = game.WaitForChild(PlayerGui, "Chat").Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar end) |
4174 | if success then |
4175 | local function chatboxFocused() |
4176 | canvasPos = CMDsF.CanvasPosition |
4177 | end |
4178 | local chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused) |
4179 | |
4180 | local function Index() |
4181 | if chatbox.Text:lower():sub(1,1) == prefix then |
4182 | if SettingsOpen == true then |
4183 | wait(0.2) |
4184 | CMDsF.Visible = true |
4185 | Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil) |
4186 | end |
4187 | IndexContents(PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true) |
4188 | else |
4189 | minimizeHolder() |
4190 | if SettingsOpen == true then |
4191 | wait(0.2) |
4192 | Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil) |
4193 | CMDsF.Visible = false |
4194 | end |
4195 | end |
4196 | end |
4197 | local chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index) |
4198 | |
4199 | local function chatboxFocusLost(enterpressed) |
4200 | if not enterpressed or chatbox.Text:lower():sub(1,1) ~= prefix then |
4201 | IndexContents('',true) |
4202 | end |
4203 | CMDsF.CanvasPosition = canvasPos |
4204 | minimizeHolder() |
4205 | end |
4206 | local chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost) |
4207 | |
4208 | PlayerGui:WaitForChild("Chat").Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar) |
4209 | wait() |
4210 | if newbar:FindFirstChild('BoxFrame') then |
4211 | chatbox = PlayerGui:WaitForChild("Chat").Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar |
4212 | if chatboxFocusedC then chatboxFocusedC:Disconnect() end |
4213 | chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused) |
4214 | if chatboxFunc then chatboxFunc:Disconnect() end |
4215 | chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index) |
4216 | if chatboxFocusLostC then chatboxFocusLostC:Disconnect() end |
4217 | chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost) |
4218 | end |
4219 | end) |
4220 | --else |
4221 | --print('Custom chat detected. Will not provide suggestions for commands typed in the chat.') |
4222 | end |
4223 | end) |
4224 | |
4225 | function autoComplete(str,curText) |
4226 | local endingChar = {"[", "/", "(", " "} |
4227 | local stop = 0 |
4228 | for i=1,#str do |
4229 | local c = str:sub(i,i) |
4230 | if table.find(endingChar, c) then |
4231 | stop = i |
4232 | break |
4233 | end |
4234 | end |
4235 | curText = curText or Cmdbar.Text |
4236 | local subPos = 0 |
4237 | local pos = 1 |
4238 | local findRes = string.find(curText,"\\",pos) |
4239 | while findRes do |
4240 | subPos = findRes |
4241 | pos = findRes+1 |
4242 | findRes = string.find(curText,"\\",pos) |
4243 | end |
4244 | if curText:sub(subPos+1,subPos+1) == "!" then subPos = subPos + 1 end |
4245 | Cmdbar.Text = curText:sub(1,subPos) .. str:sub(1, stop - 1)..' ' |
4246 | wait() |
4247 | Cmdbar.Text = Cmdbar.Text:gsub( '\t', '' ) |
4248 | Cmdbar.CursorPosition = #Cmdbar.Text+1--1020 |
4249 | end |
4250 | |
4251 | CMDs = {} |
4252 | CMDs[#CMDs + 1] = {NAME = 'LollypopHub / LH', DESC = 'exekutes @lulaslollipop skripthub'} |
4253 | CMDs[#CMDs + 1] = {NAME = 'LollypopAdmin / LA', DESC = 'exekutes @lulaslollipop admin kommands\n(skidded to remove byfron and make into my own lol)'} |
4254 | CMDs[#CMDs + 1] = {NAME = 'discord / support / help', DESC = 'Invite to the Infinite Yield support server.'} |
4255 | CMDs[#CMDs + 1] = {NAME = 'console', DESC = 'Loads old Roblox console'} |
4256 | CMDs[#CMDs + 1] = {NAME = 'explorer / dex', DESC = 'Opens DEX by Moon'} |
4257 | CMDs[#CMDs + 1] = {NAME = 'olddex / odex', DESC = 'Opens Old DEX by Moon'} |
4258 | CMDs[#CMDs + 1] = {NAME = 'remotespy / rspy', DESC = 'Opens Simple Spy V3'} |
4259 | CMDs[#CMDs + 1] = {NAME = 'audiologger / alogger', DESC = 'Opens Edges audio logger'} |
4260 | CMDs[#CMDs + 1] = {NAME = 'serverinfo / info', DESC = 'Gives you info about the server'} |
4261 | CMDs[#CMDs + 1] = {NAME = 'jobid', DESC = 'Copies the games JobId to your clipboard'} |
4262 | CMDs[#CMDs + 1] = {NAME = 'notifyjobid', DESC = 'Notifies you the games JobId'} |
4263 | CMDs[#CMDs + 1] = {NAME = 'rejoin / rj', DESC = 'Makes you rejoin the game'} |
4264 | CMDs[#CMDs + 1] = {NAME = 'autorejoin / autorj', DESC = 'Automatically rejoins the server if you get kicked/disconnected'} |
4265 | CMDs[#CMDs + 1] = {NAME = 'serverhop / shop', DESC = 'Teleports you to a different server'} |
4266 | CMDs[#CMDs + 1] = {NAME = 'joinplayer [username / ID] [place ID]', DESC = 'Joins a specific players server'} |
4267 | CMDs[#CMDs + 1] = {NAME = 'gameteleport / gametp [place ID]', DESC = 'Joins a game by ID'} |
4268 | CMDs[#CMDs + 1] = {NAME = 'antiidle / antiafk', DESC = 'Prevents the game from kicking you for being idle/afk'} |
4269 | CMDs[#CMDs + 1] = {NAME = 'datalimit [num]', DESC = 'Set outgoing KBPS limit'} |
4270 | CMDs[#CMDs + 1] = {NAME = 'replicationlag / backtrack [num]', DESC = 'Set IncomingReplicationLag'} |
4271 | CMDs[#CMDs + 1] = {NAME = 'creatorid / creator', DESC = 'Notifies you the creators ID'} |
4272 | CMDs[#CMDs + 1] = {NAME = 'copycreatorid / copycreator', DESC = 'Copies the creators ID to your clipboard'} |
4273 | CMDs[#CMDs + 1] = {NAME = 'setcreatorid / setcreator', DESC = 'Sets your userid to the creators ID'} |
4274 | CMDs[#CMDs + 1] = {NAME = 'noprompts', DESC = 'Prevents the game from showing you purchase/premium prompts'} |
4275 | CMDs[#CMDs + 1] = {NAME = 'showprompts', DESC = 'Allows the game to show purchase/premium prompts again'} |
4276 | CMDs[#CMDs + 1] = {NAME = 'enable [inventory/playerlist/chat/reset/emotes/all]', DESC = 'Toggles visibility of coregui items'} |
4277 | CMDs[#CMDs + 1] = {NAME = 'disable [inventory/playerlist/chat/reset/emotes/all]', DESC = 'Toggles visibility of coregui items'} |
4278 | CMDs[#CMDs + 1] = {NAME = 'showguis', DESC = 'Shows any invisible GUIs'} |
4279 | CMDs[#CMDs + 1] = {NAME = 'unshowguis', DESC = 'Undoes showguis'} |
4280 | CMDs[#CMDs + 1] = {NAME = 'hideguis', DESC = 'Hides any GUIs in PlayerGui'} |
4281 | CMDs[#CMDs + 1] = {NAME = 'unhideguis', DESC = 'Undoes hideguis'} |
4282 | CMDs[#CMDs + 1] = {NAME = 'guidelete', DESC = 'Enables backspace to delete GUI'} |
4283 | CMDs[#CMDs + 1] = {NAME = 'unguidelete / noguidelete', DESC = 'Disables guidelete'} |
4284 | CMDs[#CMDs + 1] = {NAME = 'hideiy', DESC = 'Hides the main IY GUI'} |
4285 | CMDs[#CMDs + 1] = {NAME = 'showiy / unhideiy', DESC = 'Shows IY again'} |
4286 | CMDs[#CMDs + 1] = {NAME = 'keepiy', DESC = 'Auto execute IY when you teleport through servers'} |
4287 | CMDs[#CMDs + 1] = {NAME = 'unkeepiy', DESC = 'Disable keepiy'} |
4288 | CMDs[#CMDs + 1] = {NAME = 'togglekeepiy', DESC = 'Toggle keepiy'} |
4289 | CMDs[#CMDs + 1] = {NAME = 'savegame / saveplace', DESC = 'Uses saveinstance to save the game'} |
4290 | CMDs[#CMDs + 1] = {NAME = 'clearerror', DESC = 'Clears the annoying box and blur when a game kicks you'} |
4291 | CMDs[#CMDs + 1] = {NAME = 'clientantikick / antikick (CLIENT)', DESC = 'Prevents localscripts from kicking you'} |
4292 | CMDs[#CMDs + 1] = {NAME = 'clientantiteleport / antiteleport (CLIENT)', DESC = 'Prevents localscripts from teleporting you'} |
4293 | CMDs[#CMDs + 1] = {NAME = 'allowrejoin / allowrj [true/false] (CLIENT)', DESC = 'Changes if antiteleport allows you to rejoin or not'} |
4294 | CMDs[#CMDs + 1] = {NAME = 'cancelteleport / canceltp', DESC = 'Cancels teleports in progress'} |
4295 | CMDs[#CMDs + 1] = {NAME = 'volume / vol [0-10]', DESC = 'Adjusts your game volume on a scale of 0 to 10'} |
4296 | CMDs[#CMDs + 1] = {NAME = 'antilag / boostfps / lowgraphics', DESC = 'Lowers game quality to boost FPS'} |
4297 | CMDs[#CMDs + 1] = {NAME = 'record / rec', DESC = 'Starts roblox recorder'} |
4298 | CMDs[#CMDs + 1] = {NAME = 'screenshot / scrnshot', DESC = 'Takes a screenshot'} |
4299 | CMDs[#CMDs + 1] = {NAME = 'togglefullscreen / togglefs', DESC = 'Toggles fullscreen'} |
4300 | CMDs[#CMDs + 1] = {NAME = 'notify [text]', DESC = 'Sends you a notification with the provided text'} |
4301 | CMDs[#CMDs + 1] = {NAME = 'lastcommand / lastcmd', DESC = 'Executes the previous command used'} |
4302 | CMDs[#CMDs + 1] = {NAME = 'exit', DESC = 'Kills roblox process'} |
4303 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4304 | CMDs[#CMDs + 1] = {NAME = 'noclip', DESC = 'Go through objects'} |
4305 | CMDs[#CMDs + 1] = {NAME = 'unnoclip / clip', DESC = 'Disables noclip'} |
4306 | CMDs[#CMDs + 1] = {NAME = 'fly [speed]', DESC = 'Makes you fly'} |
4307 | CMDs[#CMDs + 1] = {NAME = 'unfly', DESC = 'Disables fly'} |
4308 | CMDs[#CMDs + 1] = {NAME = 'flyspeed [num]', DESC = 'Set fly speed (default is 20)'} |
4309 | CMDs[#CMDs + 1] = {NAME = 'vehiclefly / vfly [speed]', DESC = 'Makes you fly in a vehicle'} |
4310 | CMDs[#CMDs + 1] = {NAME = 'unvehiclefly / unvfly', DESC = 'Disables vehicle fly'} |
4311 | CMDs[#CMDs + 1] = {NAME = 'vehicleflyspeed / vflyspeed [num]', DESC = 'Set vehicle fly speed'} |
4312 | CMDs[#CMDs + 1] = {NAME = 'cframefly / cfly [speed]', DESC = 'Makes you fly, bypassing some anti cheats (works on mobile)'} |
4313 | CMDs[#CMDs + 1] = {NAME = 'uncframefly / uncfly', DESC = 'Disables cfly'} |
4314 | CMDs[#CMDs + 1] = {NAME = 'cframeflyspeed / cflyspeed [num]', DESC = 'Sets cfly speed'} |
4315 | CMDs[#CMDs + 1] = {NAME = 'qefly [true / false]', DESC = 'enables or disables the Q and E hotkeys for fly'} |
4316 | CMDs[#CMDs + 1] = {NAME = 'vehiclenoclip / vnoclip', DESC = 'Turns off vehicle collision'} |
4317 | CMDs[#CMDs + 1] = {NAME = 'vehicleclip / vclip / unvnoclip', DESC = 'Enables vehicle collision'} |
4318 | CMDs[#CMDs + 1] = {NAME = 'float / platform', DESC = 'Spawns a platform beneath you causing you to float'} |
4319 | CMDs[#CMDs + 1] = {NAME = 'unfloat / noplatform', DESC = 'Removes the platform'} |
4320 | CMDs[#CMDs + 1] = {NAME = 'swim', DESC = 'Allows you to swim in the air'} |
4321 | CMDs[#CMDs + 1] = {NAME = 'unswim / noswim', DESC = 'Stops you from swimming everywhere'} |
4322 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4323 | CMDs[#CMDs + 1] = {NAME = 'setwaypoint / swp [name]', DESC = 'Sets a waypoint at your position'} |
4324 | CMDs[#CMDs + 1] = {NAME = 'waypointpos / wpp [name] [X Y Z]', DESC = 'Sets a waypoint with specified coordinates'} |
4325 | CMDs[#CMDs + 1] = {NAME = 'waypoints', DESC = 'Shows a list of currently active waypoints'} |
4326 | CMDs[#CMDs + 1] = {NAME = 'showwaypoints / showwp', DESC = 'Shows all currently set waypoints'} |
4327 | CMDs[#CMDs + 1] = {NAME = 'hidewaypoints / hidewp', DESC = 'Hides shown waypoints'} |
4328 | CMDs[#CMDs + 1] = {NAME = 'waypoint / wp [name]', DESC = 'Teleports player to a waypoint'} |
4329 | CMDs[#CMDs + 1] = {NAME = 'tweenwaypoint / twp [name]', DESC = 'Tweens player to a waypoint'} |
4330 | CMDs[#CMDs + 1] = {NAME = 'walktowaypoint / wtwp [name]', DESC = 'Walks player to a waypoint'} |
4331 | CMDs[#CMDs + 1] = {NAME = 'deletewaypoint / dwp [name]', DESC = 'Deletes a waypoint'} |
4332 | CMDs[#CMDs + 1] = {NAME = 'clearwaypoints / cwp', DESC = 'Clears all waypoints'} |
4333 | CMDs[#CMDs + 1] = {NAME = 'cleargamewaypoints / cgamewp', DESC = 'Clears all waypoints for the game you are in'} |
4334 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4335 | CMDs[#CMDs + 1] = {NAME = 'goto [plr]', DESC = 'Go to a player'} |
4336 | CMDs[#CMDs + 1] = {NAME = 'tweengoto / tgoto [plr]', DESC = 'Tween to a player (bypasses some anti cheats)'} |
4337 | CMDs[#CMDs + 1] = {NAME = 'tweenspeed / tspeed [num]', DESC = 'Sets how fast all tween commands go (default is 1)'} |
4338 | CMDs[#CMDs + 1] = {NAME = 'vehiclegoto / vgoto [plr]', DESC = 'Go to a player while in a vehicle'} |
4339 | CMDs[#CMDs + 1] = {NAME = 'loopgoto [plr] [distance] [delay]', DESC = 'Loop teleport to a player'} |
4340 | CMDs[#CMDs + 1] = {NAME = 'unloopgoto', DESC = 'Stops teleporting you to a player'} |
4341 | CMDs[#CMDs + 1] = {NAME = 'pulsetp / ptp [plr] [seconds]', DESC = 'Teleports you to a player for a specified ammount of time'} |
4342 | CMDs[#CMDs + 1] = {NAME = 'clientbring / cbring [plr] (CLIENT)', DESC = 'Bring a player'} |
4343 | CMDs[#CMDs + 1] = {NAME = 'loopbring [plr] [distance] [delay] (CLIENT)', DESC = 'Loop brings a player to you (useful for killing)'} |
4344 | CMDs[#CMDs + 1] = {NAME = 'unloopbring [plr]', DESC = 'Undoes loopbring'} |
4345 | CMDs[#CMDs + 1] = {NAME = 'freeze / fr [plr] (CLIENT)', DESC = 'Freezes a player'} |
4346 | CMDs[#CMDs + 1] = {NAME = 'freezeanims', DESC = 'Freezes your animations / pauses your animations - Does not work on default animations'} |
4347 | CMDs[#CMDs + 1] = {NAME = 'unfreezeanims', DESC = 'Unfreezes your animations / plays your animations'} |
4348 | CMDs[#CMDs + 1] = {NAME = 'thaw / unfr [plr] (CLIENT)', DESC = 'Unfreezes a player'} |
4349 | CMDs[#CMDs + 1] = {NAME = 'tpposition / tppos [X Y Z]', DESC = 'Teleports you to certain coordinates'} |
4350 | CMDs[#CMDs + 1] = {NAME = 'tweentpposition / ttppos [X Y Z]', DESC = 'Tween to coordinates (bypasses some anti cheats)'} |
4351 | CMDs[#CMDs + 1] = {NAME = 'offset [X Y Z]', DESC = 'Offsets you by certain coordinates'} |
4352 | CMDs[#CMDs + 1] = {NAME = 'tweenoffset / toffset [X Y Z]', DESC = 'Tween offset (bypasses some anti cheats)'} |
4353 | CMDs[#CMDs + 1] = {NAME = 'notifyposition / notifypos [plr]', DESC = 'Notifies you the coordinates of a character'} |
4354 | CMDs[#CMDs + 1] = {NAME = 'copyposition / copypos [plr]', DESC = 'Copies the coordinates of a character to your clipboard'} |
4355 | CMDs[#CMDs + 1] = {NAME = 'walktoposition / walktopos [X Y Z]', DESC = 'Makes you walk to a coordinate'} |
4356 | CMDs[#CMDs + 1] = {NAME = 'spawnpoint / spawn [delay]', DESC = 'Sets a position where you will spawn'} |
4357 | CMDs[#CMDs + 1] = {NAME = 'nospawnpoint / nospawn', DESC = 'Removes your custom spawn point'} |
4358 | CMDs[#CMDs + 1] = {NAME = 'flashback / diedtp', DESC = 'Teleports you to where you last died'} |
4359 | CMDs[#CMDs + 1] = {NAME = 'walltp', DESC = 'Teleports you above/over any wall you run into'} |
4360 | CMDs[#CMDs + 1] = {NAME = 'nowalltp / unwalltp', DESC = 'Disables walltp'} |
4361 | CMDs[#CMDs + 1] = {NAME = 'teleporttool / tptool', DESC = 'Gives you a teleport tool'} |
4362 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4363 | CMDs[#CMDs + 1] = {NAME = 'logs', DESC = 'Opens the logs GUI'} |
4364 | CMDs[#CMDs + 1] = {NAME = 'chatlogs / clogs', DESC = 'Log what people say or whisper'} |
4365 | CMDs[#CMDs + 1] = {NAME = 'joinlogs / jlogs', DESC = 'Log when people join'} |
4366 | CMDs[#CMDs + 1] = {NAME = 'chat / say [text]', DESC = 'Makes you chat a string (possible mute bypass)'} |
4367 | CMDs[#CMDs + 1] = {NAME = 'spam [text]', DESC = 'Makes you spam the chat'} |
4368 | CMDs[#CMDs + 1] = {NAME = 'unspam', DESC = 'Turns off spam'} |
4369 | CMDs[#CMDs + 1] = {NAME = 'whisper / pm [plr] [text]', DESC = 'Makes you whisper a string to someone (possible mute bypass)'} |
4370 | CMDs[#CMDs + 1] = {NAME = 'pmspam [plr] [text]', DESC = 'Makes you spam a players whispers'} |
4371 | CMDs[#CMDs + 1] = {NAME = 'unpmspam [plr]', DESC = 'Turns off pm spam'} |
4372 | CMDs[#CMDs + 1] = {NAME = 'spamspeed [num]', DESC = 'How quickly you spam (default is 1)'} |
4373 | CMDs[#CMDs + 1] = {NAME = 'bubblechat (CLIENT)', DESC = 'Enables bubble chat for your client'} |
4374 | CMDs[#CMDs + 1] = {NAME = 'unbubblechat / nobubblechat', DESC = 'Disables the bubblechat command'} |
4375 | CMDs[#CMDs + 1] = {NAME = 'safechat', DESC = 'Enables safe chat'} |
4376 | CMDs[#CMDs + 1] = {NAME = 'nosafechat / disablesafechat', DESC = 'Disables safechat'} |
4377 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4378 | CMDs[#CMDs + 1] = {NAME = 'esp', DESC = 'View all players and their status'} |
4379 | CMDs[#CMDs + 1] = {NAME = 'noesp / unesp', DESC = 'Removes esp'} |
4380 | CMDs[#CMDs + 1] = {NAME = 'esptransparency [number]', DESC = 'Changes the transparency of esp related commands'} |
4381 | CMDs[#CMDs + 1] = {NAME = 'partesp [part name]', DESC = 'Highlights a part'} |
4382 | CMDs[#CMDs + 1] = {NAME = 'unpartesp / nopartesp [part name]', DESC = 'removes partesp'} |
4383 | CMDs[#CMDs + 1] = {NAME = 'chams', DESC = 'ESP but without text in the way'} |
4384 | CMDs[#CMDs + 1] = {NAME = 'nochams / unchams', DESC = 'Removes chams'} |
4385 | CMDs[#CMDs + 1] = {NAME = 'locate [plr]', DESC = 'View a single player and their status'} |
4386 | CMDs[#CMDs + 1] = {NAME = 'unlocate / nolocate [plr]', DESC = 'Removes locate'} |
4387 | CMDs[#CMDs + 1] = {NAME = 'xray', DESC = 'Makes all parts in workspace transparent'} |
4388 | CMDs[#CMDs + 1] = {NAME = 'unxray / noxray', DESC = 'Restores transparency'} |
4389 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4390 | CMDs[#CMDs + 1] = {NAME = 'spectate / view [plr]', DESC = 'View a player'} |
4391 | CMDs[#CMDs + 1] = {NAME = 'viewpart / viewp [part name]', DESC = 'View a part'} |
4392 | CMDs[#CMDs + 1] = {NAME = 'unspectate / unview', DESC = 'Stops viewing player'} |
4393 | CMDs[#CMDs + 1] = {NAME = 'freecam / fc', DESC = 'Allows you to freely move camera around the game'} |
4394 | CMDs[#CMDs + 1] = {NAME = 'freecampos / fcpos [X Y Z]', DESC = 'Moves / opens freecam in a certain position'} |
4395 | CMDs[#CMDs + 1] = {NAME = 'freecamwaypoint / fcwp [name]', DESC = 'Moves / opens freecam to a waypoint'} |
4396 | CMDs[#CMDs + 1] = {NAME = 'freecamgoto / fcgoto / fctp [plr]', DESC = 'Moves / opens freecam to a player'} |
4397 | CMDs[#CMDs + 1] = {NAME = 'unfreecam / unfc', DESC = 'Disables freecam'} |
4398 | CMDs[#CMDs + 1] = {NAME = 'freecamspeed / fcspeed [num]', DESC = 'Adjusts freecam speed (default is 1)'} |
4399 | CMDs[#CMDs + 1] = {NAME = 'notifyfreecamposition / notifyfcpos', DESC = 'Noitifies you your freecam coordinates'} |
4400 | CMDs[#CMDs + 1] = {NAME = 'copyfreecamposition / copyfcpos', DESC = 'Copies your freecam coordinates to your clipboard'} |
4401 | CMDs[#CMDs + 1] = {NAME = 'gotocamera / gotocam', DESC = 'Teleports you to the location of your camera'} |
4402 | CMDs[#CMDs + 1] = {NAME = 'tweengotocam / tgotocam', DESC = 'Tweens you to the location of your camera'} |
4403 | CMDs[#CMDs + 1] = {NAME = 'firstp', DESC = 'Forces camera to go into first person'} |
4404 | CMDs[#CMDs + 1] = {NAME = 'thirdp', DESC = 'Allows camera to go into third person'} |
4405 | CMDs[#CMDs + 1] = {NAME = 'noclipcam / nccam', DESC = 'Allows camera to go through objects like walls'} |
4406 | CMDs[#CMDs + 1] = {NAME = 'maxzoom [num]', DESC = 'Maximum camera zoom'} |
4407 | CMDs[#CMDs + 1] = {NAME = 'minzoom [num]', DESC = 'Minimum camera zoom'} |
4408 | CMDs[#CMDs + 1] = {NAME = 'camdistance [num]', DESC = 'Changes camera distance from your player'} |
4409 | CMDs[#CMDs + 1] = {NAME = 'fov [num]', DESC = 'Adjusts field of view (default is 70)'} |
4410 | CMDs[#CMDs + 1] = {NAME = 'fixcam / restorecam', DESC = 'Fixes camera'} |
4411 | CMDs[#CMDs + 1] = {NAME = 'enableshiftlock / enablesl', DESC = 'Enables the shift lock option'} |
4412 | CMDs[#CMDs + 1] = {NAME = 'lookat [plr]', DESC = 'Moves your camera view to a player'} |
4413 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4414 | CMDs[#CMDs + 1] = {NAME = 'btools (CLIENT)', DESC = 'Gives you building tools (DOES NOT REPLICATE)'} |
4415 | CMDs[#CMDs + 1] = {NAME = 'f3x (CLIENT)', DESC = 'Gives you F3X building tools (DOES NOT REPLICATE)'} |
4416 | CMDs[#CMDs + 1] = {NAME = 'partname / partpath', DESC = 'Allows you to click a part to see its path & name'} |
4417 | CMDs[#CMDs + 1] = {NAME = 'delete [instance name] (CLIENT)', DESC = 'Removes any part with a certain name from the workspace (DOES NOT REPLICATE)'} |
4418 | CMDs[#CMDs + 1] = {NAME = 'deleteclass / dc [class name] (CLIENT)', DESC = 'Removes any part with a certain classname from the workspace (DOES NOT REPLICATE)'} |
4419 | CMDs[#CMDs + 1] = {NAME = 'lockworkspace / lockws', DESC = 'Locks the whole workspace'} |
4420 | CMDs[#CMDs + 1] = {NAME = 'unlockworkspace / unlockws', DESC = 'Unlocks the whole workspace'} |
4421 | CMDs[#CMDs + 1] = {NAME = 'invisibleparts / invisparts (CLIENT)', DESC = 'Shows invisible parts'} |
4422 | CMDs[#CMDs + 1] = {NAME = 'uninvisibleparts / uninvisparts (CLIENT)', DESC = 'Makes parts affected by invisparts return to normal'} |
4423 | CMDs[#CMDs + 1] = {NAME = 'deleteinvisparts / dip (CLIENT)', DESC = 'Deletes invisible parts'} |
4424 | CMDs[#CMDs + 1] = {NAME = 'gotopart [part name]', DESC = 'Moves your character to a part or multiple parts'} |
4425 | CMDs[#CMDs + 1] = {NAME = 'tweengotopart / tgotopart [part name]', DESC = 'Tweens your character to a part or multiple parts'} |
4426 | CMDs[#CMDs + 1] = {NAME = 'gotopartclass / gpc [class name]', DESC = 'Moves your character to a part or multiple parts based on classname'} |
4427 | CMDs[#CMDs + 1] = {NAME = 'tweengotopartclass / tgpc [class name]', DESC = 'Tweens your character to a part or multiple parts based on classname'} |
4428 | CMDs[#CMDs + 1] = {NAME = 'gotomodel [part name]', DESC = 'Moves your character to a model or multiple models'} |
4429 | CMDs[#CMDs + 1] = {NAME = 'tweengotomodel / tgotomodel [part name]', DESC = 'Tweens your character to a model or multiple models'} |
4430 | CMDs[#CMDs + 1] = {NAME = 'gotopartdelay / gotomodeldelay [num]', DESC = 'Adjusts how quickly you teleport to each part (default is 0.1)'} |
4431 | CMDs[#CMDs + 1] = {NAME = 'bringpart [part name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character'} |
4432 | CMDs[#CMDs + 1] = {NAME = 'bringpartclass / bpc [class name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character based on classname'} |
4433 | CMDs[#CMDs + 1] = {NAME = 'noclickdetectorlimits / nocdlimits', DESC = 'Sets all click detectors MaxActivationDistance to math.huge'} |
4434 | CMDs[#CMDs + 1] = {NAME = 'fireclickdetectors / firecd [name]', DESC = 'Uses all click detectors in a game or uses the optional name'} |
4435 | CMDs[#CMDs + 1] = {NAME = 'firetouchinterests / touchinterests [name]', DESC = 'Uses all touchinterests in a game or uses the optional name'} |
4436 | CMDs[#CMDs + 1] = {NAME = 'noproximitypromptlimits / nopplimits', DESC = 'Sets all proximity prompts MaxActivationDistance to math.huge'} |
4437 | CMDs[#CMDs + 1] = {NAME = 'fireproximityprompts / firepp [name]', DESC = 'Uses all proximity prompts in a game or uses the optional name'} |
4438 | CMDs[#CMDs + 1] = {NAME = 'instantproximityprompts / instantpp', DESC = 'Disable the cooldown for proximity prompts'} |
4439 | CMDs[#CMDs + 1] = {NAME = 'uninstantproximityprompts / uninstantpp', DESC = 'Undo the cooldown removal'} |
4440 | CMDs[#CMDs + 1] = {NAME = 'tpunanchored / tpua [plr]', DESC = 'Teleports unanchored parts to a player'} |
4441 | CMDs[#CMDs + 1] = {NAME = 'animsunanchored / freezeua', DESC = 'Freezes unanchored parts'} |
4442 | CMDs[#CMDs + 1] = {NAME = 'thawunanchored / thawua / unfreezeua', DESC = 'Thaws unanchored parts'} |
4443 | CMDs[#CMDs + 1] = {NAME = 'removeterrain / rterrain / noterrain', DESC = 'Removes all terrain'} |
4444 | CMDs[#CMDs + 1] = {NAME = 'clearnilinstances / nonilinstances / cni', DESC = 'Removes nil instances'} |
4445 | CMDs[#CMDs + 1] = {NAME = 'destroyheight / dh [num]', DESC = 'Sets FallenPartsDestroyHeight'} |
4446 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4447 | CMDs[#CMDs + 1] = {NAME = 'fullbright / fb (CLIENT)', DESC = 'Makes the map brighter / more visible'} |
4448 | CMDs[#CMDs + 1] = {NAME = 'loopfullbright / loopfb (CLIENT)', DESC = 'Makes the map brighter / more visible but looped'} |
4449 | CMDs[#CMDs + 1] = {NAME = 'unloopfullbright / unloopfb', DESC = 'Unloops fullbright'} |
4450 | CMDs[#CMDs + 1] = {NAME = 'ambient [num] [num] [num] (CLIENT)', DESC = 'Changes ambient'} |
4451 | CMDs[#CMDs + 1] = {NAME = 'day (CLIENT)', DESC = 'Changes the time to day for the client'} |
4452 | CMDs[#CMDs + 1] = {NAME = 'night (CLIENT)', DESC = 'Changes the time to night for the client'} |
4453 | CMDs[#CMDs + 1] = {NAME = 'nofog (CLIENT)', DESC = 'Removes fog'} |
4454 | CMDs[#CMDs + 1] = {NAME = 'brightness [num] (CLIENT)', DESC = 'Changes the brightness lighting property'} |
4455 | CMDs[#CMDs + 1] = {NAME = 'globalshadows / gshadows (CLIENT)', DESC = 'Enables global shadows'} |
4456 | CMDs[#CMDs + 1] = {NAME = 'noglobalshadows / nogshadows (CLIENT)', DESC = 'Disables global shadows'} |
4457 | CMDs[#CMDs + 1] = {NAME = 'restorelighting / rlighting', DESC = 'Restores Lighting properties'} |
4458 | CMDs[#CMDs + 1] = {NAME = 'light [radius] [brightness] (CLIENT)', DESC = 'Gives your player dynamic light'} |
4459 | CMDs[#CMDs + 1] = {NAME = 'nolight / unlight', DESC = 'Removes dynamic light from your player'} |
4460 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4461 | CMDs[#CMDs + 1] = {NAME = 'inspect / examine [plr]', DESC = 'Opens InspectMenu for a certain player'} |
4462 | CMDs[#CMDs + 1] = {NAME = 'age [plr]', DESC = 'Tells you the age of a player'} |
4463 | CMDs[#CMDs + 1] = {NAME = 'chatage [plr]', DESC = 'Chats the age of a player'} |
4464 | CMDs[#CMDs + 1] = {NAME = 'joindate / jd [plr]', DESC = 'Tells you the date the player joined Roblox'} |
4465 | CMDs[#CMDs + 1] = {NAME = 'chatjoindate / cjd [plr]', DESC = 'Chats the date the player joined Roblox'} |
4466 | CMDs[#CMDs + 1] = {NAME = 'copyname / copyuser [plr]', DESC = 'Copies a players full username to your clipboard'} |
4467 | CMDs[#CMDs + 1] = {NAME = 'userid / id [plr]', DESC = 'Notifies a players user ID'} |
4468 | CMDs[#CMDs + 1] = {NAME = 'copyuserid / copyid [plr]', DESC = 'Copies a players user ID to your clipboard'} |
4469 | CMDs[#CMDs + 1] = {NAME = 'appearanceid / aid [plr]', DESC = 'Notifies a players appearance ID'} |
4470 | CMDs[#CMDs + 1] = {NAME = 'copyappearanceid / caid [plr]', DESC = 'Copies a players appearance ID to your clipboard'} |
4471 | CMDs[#CMDs + 1] = {NAME = 'bang [plr] [speed]', DESC = 'owo'} |
4472 | CMDs[#CMDs + 1] = {NAME = 'unbang', DESC = 'uwu'} |
4473 | CMDs[#CMDs + 1] = {NAME = 'carpet [plr]', DESC = 'Be someones carpet'} |
4474 | CMDs[#CMDs + 1] = {NAME = 'uncarpet', DESC = 'Undoes carpet'} |
4475 | CMDs[#CMDs + 1] = {NAME = 'friend [plr]', DESC = 'Sends a friend request to certain players'} |
4476 | CMDs[#CMDs + 1] = {NAME = 'unfriend [plr]', DESC = 'Unfriends certain players'} |
4477 | CMDs[#CMDs + 1] = {NAME = 'headsit [plr]', DESC = 'Sit on a players head'} |
4478 | CMDs[#CMDs + 1] = {NAME = 'walkto / follow [plr]', DESC = 'Follow a player'} |
4479 | CMDs[#CMDs + 1] = {NAME = 'pathfindwalkto / pathfindfollow [plr]', DESC = 'Follow a player using pathfinding'} |
4480 | CMDs[#CMDs + 1] = {NAME = 'pathfindwalktowaypoint / pathfindwalktowp [waypoint]', DESC = 'Walk to a waypoint using pathfinding'} |
4481 | CMDs[#CMDs + 1] = {NAME = 'unwalkto / unfollow', DESC = 'Stops following a player'} |
4482 | CMDs[#CMDs + 1] = {NAME = 'stareat / stare [plr]', DESC = 'Stare / look at a player'} |
4483 | CMDs[#CMDs + 1] = {NAME = 'unstareat / unstare [plr]', DESC = 'Disables stareat'} |
4484 | CMDs[#CMDs + 1] = {NAME = 'rolewatch [group id] [role name]', DESC = 'Notify if someone from a watched group joins the server'} |
4485 | CMDs[#CMDs + 1] = {NAME = 'rolewatchstop / unrolewatch', DESC = 'Disable Rolewatch'} |
4486 | CMDs[#CMDs + 1] = {NAME = 'rolewatchleave', DESC = 'Toggle if you should leave the game if someone from a watched group joins the server'} |
4487 | CMDs[#CMDs + 1] = {NAME = 'attach [plr] (TOOL)', DESC = 'Attaches you to a player (YOU NEED A TOOL)'} |
4488 | CMDs[#CMDs + 1] = {NAME = 'kill [plr] (TOOL)', DESC = 'Kills a player (YOU NEED A TOOL)'} |
4489 | CMDs[#CMDs + 1] = {NAME = 'fastkill [plr] (TOOL)', DESC = 'Kills a player (less reliable) (YOU NEED A TOOL)'} |
4490 | CMDs[#CMDs + 1] = {NAME = 'handlekill / hkill [plr] (TOOL)', DESC = 'Kills a player using tool damage (YOU NEED A TOOL)'} |
4491 | CMDs[#CMDs + 1] = {NAME = 'bring [plr] (TOOL)', DESC = 'Brings a player (YOU NEED A TOOL)'} |
4492 | CMDs[#CMDs + 1] = {NAME = 'fastbring [plr] (TOOL)', DESC = 'Brings a player (less reliable) (YOU NEED A TOOL)'} |
4493 | CMDs[#CMDs + 1] = {NAME = 'teleport / tp [plr] [plr] (TOOL)', DESC = 'Teleports a player to another player (YOU NEED A TOOL)'} |
4494 | CMDs[#CMDs + 1] = {NAME = 'fastteleport / fasttp [plr] [plr] (TOOL)', DESC = 'Teleports a player to another player (less reliable) (YOU NEED A TOOL)'} |
4495 | CMDs[#CMDs + 1] = {NAME = 'fling', DESC = 'Flings anyone you touch'} |
4496 | CMDs[#CMDs + 1] = {NAME = 'unfling', DESC = 'Disables the fling command'} |
4497 | CMDs[#CMDs + 1] = {NAME = 'flyfling', DESC = 'Basically the invisfling command but not invisible'} |
4498 | CMDs[#CMDs + 1] = {NAME = 'unflyfling', DESC = 'Disables the flyfling command'} |
4499 | CMDs[#CMDs + 1] = {NAME = 'invisfling', DESC = 'Enables invisible fling'} |
4500 | CMDs[#CMDs + 1] = {NAME = 'loopoof', DESC = 'Loops everyones character sounds (everyone can hear)'} |
4501 | CMDs[#CMDs + 1] = {NAME = 'unloopoof', DESC = 'Stops the oof chaos'} |
4502 | CMDs[#CMDs + 1] = {NAME = 'muteboombox [plr]', DESC = 'Mutes someones boombox'} |
4503 | CMDs[#CMDs + 1] = {NAME = 'unmuteboombox [plr]', DESC = 'Unmutes someones boombox'} |
4504 | CMDs[#CMDs + 1] = {NAME = 'hitbox [plr] [size]', DESC = 'Expands the hitbox for players HumanoidRootPart (default is 1)'} |
4505 | CMDs[#CMDs + 1] = {NAME = 'headsize [plr] [size]', DESC = 'Expands the head size for players Head (default is 1)'} |
4506 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4507 | CMDs[#CMDs + 1] = {NAME = 'reset', DESC = 'Resets your character normally'} |
4508 | CMDs[#CMDs + 1] = {NAME = 'respawn', DESC = 'Respawns you'} |
4509 | CMDs[#CMDs + 1] = {NAME = 'refresh / re', DESC = 'Respawns and brings you back to the same position'} |
4510 | CMDs[#CMDs + 1] = {NAME = 'god', DESC = 'Makes your character difficult to kill in most games'} |
4511 | CMDs[#CMDs + 1] = {NAME = 'invisible / invis', DESC = 'Makes you invisible to other players'} |
4512 | CMDs[#CMDs + 1] = {NAME = 'visible / vis', DESC = 'Makes you visible to other players'} |
4513 | CMDs[#CMDs + 1] = {NAME = 'toolinvisible / toolinvis / tinvis', DESC = 'Makes you invisible to other players and able to use tools'} |
4514 | CMDs[#CMDs + 1] = {NAME = 'speed / ws / walkspeed [num]', DESC = 'Change your walkspeed'} |
4515 | CMDs[#CMDs + 1] = {NAME = 'spoofspeed / spoofws [num]', DESC = 'Spoofs your WalkSpeed on the Client'} |
4516 | CMDs[#CMDs + 1] = {NAME = 'loopspeed / loopws [num]', DESC = 'Loops your walkspeed'} |
4517 | CMDs[#CMDs + 1] = {NAME = 'unloopspeed / unloopws', DESC = 'Turns off loopspeed'} |
4518 | CMDs[#CMDs + 1] = {NAME = 'hipheight / hheight [num]', DESC = 'Adjusts hip height'} |
4519 | CMDs[#CMDs + 1] = {NAME = 'jumppower / jpower / jp [num]', DESC = 'Change a players jump height'} |
4520 | CMDs[#CMDs + 1] = {NAME = 'spoofjumppower / spoofjp [num]', DESC = 'Spoofs your JumpPower on the Client'} |
4521 | CMDs[#CMDs + 1] = {NAME = 'loopjumppower / loopjp [num]', DESC = 'Loops your jump height'} |
4522 | CMDs[#CMDs + 1] = {NAME = 'unloopjumppower / unloopjp', DESC = 'Turns off loopjumppower'} |
4523 | CMDs[#CMDs + 1] = {NAME = 'maxslopeangle / msa [num]', DESC = 'Adjusts MaxSlopeAngle'} |
4524 | CMDs[#CMDs + 1] = {NAME = 'gravity / grav [num] (CLIENT)', DESC = 'Change your gravity'} |
4525 | CMDs[#CMDs + 1] = {NAME = 'sit', DESC = 'Makes your character sit'} |
4526 | CMDs[#CMDs + 1] = {NAME = 'lay / laydown', DESC = 'Makes your character lay down'} |
4527 | CMDs[#CMDs + 1] = {NAME = 'sitwalk', DESC = 'Makes your character sit while still being able to walk'} |
4528 | CMDs[#CMDs + 1] = {NAME = 'nosit', DESC = 'Prevents your character from sitting'} |
4529 | CMDs[#CMDs + 1] = {NAME = 'unnosit', DESC = 'Disables nosit'} |
4530 | CMDs[#CMDs + 1] = {NAME = 'jump', DESC = 'Makes your character jump'} |
4531 | CMDs[#CMDs + 1] = {NAME = 'infinitejump / infjump', DESC = 'Allows you to jump before hitting the ground'} |
4532 | CMDs[#CMDs + 1] = {NAME = 'uninfinitejump / uninfjump', DESC = 'Disables infjump'} |
4533 | CMDs[#CMDs + 1] = {NAME = 'flyjump', DESC = 'Allows you to hold space to fly up'} |
4534 | CMDs[#CMDs + 1] = {NAME = 'unflyjump', DESC = 'Disables flyjump'} |
4535 | CMDs[#CMDs + 1] = {NAME = 'autojump / ajump', DESC = 'Automatically jumps when you run into an object'} |
4536 | CMDs[#CMDs + 1] = {NAME = 'unautojump / unajump', DESC = 'Disables autojump'} |
4537 | CMDs[#CMDs + 1] = {NAME = 'edgejump / ejump', DESC = 'Automatically jumps when you get to the edge of an object'} |
4538 | CMDs[#CMDs + 1] = {NAME = 'unedgejump / unejump', DESC = 'Disables edgejump'} |
4539 | CMDs[#CMDs + 1] = {NAME = 'platformstand / stun', DESC = 'Enables PlatformStand'} |
4540 | CMDs[#CMDs + 1] = {NAME = 'unplatformstand / unstun', DESC = 'Disables PlatformStand'} |
4541 | CMDs[#CMDs + 1] = {NAME = 'norotate / noautorotate', DESC = 'Disables AutoRotate'} |
4542 | CMDs[#CMDs + 1] = {NAME = 'unnorotate / autorotate', DESC = 'Enables AutoRotate'} |
4543 | CMDs[#CMDs + 1] = {NAME = 'enablestate [StateType]', DESC = 'Enables a humanoid state type'} |
4544 | CMDs[#CMDs + 1] = {NAME = 'disablestate [StateType]', DESC = 'Disables a humanoid state type'} |
4545 | CMDs[#CMDs + 1] = {NAME = 'team [team name] (CLIENT)', DESC = 'Changes your team. Sometimes fools localscripts.'} |
4546 | CMDs[#CMDs + 1] = {NAME = 'nobillboardgui / nobgui / noname', DESC = 'Removes billboard and surface guis from your players (i.e. name guis at cafes)'} |
4547 | CMDs[#CMDs + 1] = {NAME = 'loopnobgui / loopnoname', DESC = 'Loop removes billboard and surface guis from your players (i.e. name guis at cafes)'} |
4548 | CMDs[#CMDs + 1] = {NAME = 'unloopnobgui / unloopnoname', DESC = 'Disables loopnobgui'} |
4549 | CMDs[#CMDs + 1] = {NAME = 'nohead / headless', DESC = 'Removes your head (uses simulation radius)'} |
4550 | CMDs[#CMDs + 1] = {NAME = 'noarms', DESC = 'Removes your arms'} |
4551 | CMDs[#CMDs + 1] = {NAME = 'nolegs', DESC = 'Removes your legs'} |
4552 | CMDs[#CMDs + 1] = {NAME = 'nolimbs', DESC = 'Removes your limbs'} |
4553 | CMDs[#CMDs + 1] = {NAME = 'naked (CLIENT)', DESC = 'Removes your clothing'} |
4554 | CMDs[#CMDs + 1] = {NAME = 'noface / removeface', DESC = 'Removes your face'} |
4555 | CMDs[#CMDs + 1] = {NAME = 'blockhead', DESC = 'Turns your head into a block'} |
4556 | CMDs[#CMDs + 1] = {NAME = 'blockhats', DESC = 'Turns your hats into blocks'} |
4557 | CMDs[#CMDs + 1] = {NAME = 'blocktool', DESC = 'Turns the currently selected tool into a block'} |
4558 | CMDs[#CMDs + 1] = {NAME = 'creeper', DESC = 'Makes you look like a creeper'} |
4559 | CMDs[#CMDs + 1] = {NAME = 'drophats', DESC = 'Drops your hats'} |
4560 | CMDs[#CMDs + 1] = {NAME = 'nohats / deletehats / rhats', DESC = 'Deletes your hats'} |
4561 | CMDs[#CMDs + 1] = {NAME = 'hatspin / spinhats', DESC = 'Spins your characters accessories'} |
4562 | CMDs[#CMDs + 1] = {NAME = 'unhatspin / unspinhats', DESC = 'Undoes spinhats'} |
4563 | CMDs[#CMDs + 1] = {NAME = 'clearhats / cleanhats', DESC = 'Clears hats in the workspace'} |
4564 | CMDs[#CMDs + 1] = {NAME = 'chardelete / cd [instance name]', DESC = 'Removes any part with a certain name from your character'} |
4565 | CMDs[#CMDs + 1] = {NAME = 'chardeleteclass / cdc [class name]', DESC = 'Removes any part with a certain classname from your character'} |
4566 | CMDs[#CMDs + 1] = {NAME = 'deletevelocity / dv / removeforces', DESC = 'Removes any velocity / force instances in your character'} |
4567 | CMDs[#CMDs + 1] = {NAME = 'weaken [num]', DESC = 'Makes your character less dense'} |
4568 | CMDs[#CMDs + 1] = {NAME = 'unweaken', DESC = 'Sets your characters CustomPhysicalProperties to default'} |
4569 | CMDs[#CMDs + 1] = {NAME = 'strengthen [num]', DESC = 'Makes your character more dense (CustomPhysicalProperties)'} |
4570 | CMDs[#CMDs + 1] = {NAME = 'unstrengthen', DESC = 'Sets your characters CustomPhysicalProperties to default'} |
4571 | CMDs[#CMDs + 1] = {NAME = 'breakvelocity', DESC = 'Sets your characters velocity to 0'} |
4572 | CMDs[#CMDs + 1] = {NAME = 'spin [speed]', DESC = 'Spins your character'} |
4573 | CMDs[#CMDs + 1] = {NAME = 'unspin', DESC = 'Disables spin'} |
4574 | CMDs[#CMDs + 1] = {NAME = 'vr', DESC = 'Loads CLOVR by Abacaxl'} |
4575 | CMDs[#CMDs + 1] = {NAME = 'split', DESC = 'Splits your character in half'} |
4576 | CMDs[#CMDs + 1] = {NAME = 'nilchar', DESC = 'Sets your characters parent to nil'} |
4577 | CMDs[#CMDs + 1] = {NAME = 'unnilchar / nonilchar', DESC = 'Sets your characters parent to workspace'} |
4578 | CMDs[#CMDs + 1] = {NAME = 'noroot / removeroot / rroot', DESC = 'Removes your characters HumanoidRootPart'} |
4579 | CMDs[#CMDs + 1] = {NAME = 'replaceroot', DESC = 'Replaces your characters HumanoidRootPart'} |
4580 | CMDs[#CMDs + 1] = {NAME = 'clearcharappearance / clearchar / clrchar', DESC = 'Removes all accessory, shirt, pants, charactermesh, and bodycolors'} |
4581 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4582 | CMDs[#CMDs + 1] = {NAME = 'animation / anim [ID] [speed]', DESC = 'Makes your character perform an animation (must be by roblox to replicate)'} |
4583 | CMDs[#CMDs + 1] = {NAME = 'dance', DESC = 'Makes you d a n c e'} |
4584 | CMDs[#CMDs + 1] = {NAME = 'undance', DESC = 'Stops dance animations'} |
4585 | CMDs[#CMDs + 1] = {NAME = 'spasm', DESC = 'Makes you c r a z y'} |
4586 | CMDs[#CMDs + 1] = {NAME = 'unspasm', DESC = 'Stops spasm'} |
4587 | CMDs[#CMDs + 1] = {NAME = 'headthrow', DESC = 'Simply makes you throw your head'} |
4588 | CMDs[#CMDs + 1] = {NAME = 'noanim', DESC = 'Disables your animations'} |
4589 | CMDs[#CMDs + 1] = {NAME = 'reanim', DESC = 'Restores your animations'} |
4590 | CMDs[#CMDs + 1] = {NAME = 'animspeed [num]', DESC = 'Changes the speed of your current animation'} |
4591 | CMDs[#CMDs + 1] = {NAME = 'copyanimation / copyanim / copyemote [plr]', DESC = 'Copies someone elses animation'} |
4592 | CMDs[#CMDs + 1] = {NAME = 'loopanimation / loopanim', DESC = 'Loops your current animation'} |
4593 | CMDs[#CMDs + 1] = {NAME = 'stopanimations / stopanims', DESC = 'Stops running animations'} |
4594 | CMDs[#CMDs + 1] = {NAME = 'refreshanimations / refreshanims', DESC = 'Refreshes animations'} |
4595 | CMDs[#CMDs + 1] = {NAME = 'allowcustomanim / allowcustomanimations', DESC = 'Lets you use custom animation packs instead'} |
4596 | CMDs[#CMDs + 1] = {NAME = 'unallowcustomanim / unallowcustomanimations', DESC = 'Doesn\'t let you use custom animation packs instead'} |
4597 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4598 | CMDs[#CMDs + 1] = {NAME = 'autoclick [click delay] [release delay]', DESC = 'Automatically clicks your mouse with a set delay'} |
4599 | CMDs[#CMDs + 1] = {NAME = 'unautoclick / noautoclick', DESC = 'Turns off autoclick'} |
4600 | CMDs[#CMDs + 1] = {NAME = 'autokeypress [key] [down delay] [up delay]', DESC = 'Automatically presses a key with a set delay'} |
4601 | CMDs[#CMDs + 1] = {NAME = 'unautokeypress', DESC = 'Stops autokeypress'} |
4602 | CMDs[#CMDs + 1] = {NAME = 'hovername', DESC = 'Shows a players username when your mouse is hovered over them'} |
4603 | CMDs[#CMDs + 1] = {NAME = 'unhovername / nohovername', DESC = 'Turns off hovername'} |
4604 | CMDs[#CMDs + 1] = {NAME = 'mousesensitivity / ms [0-10]', DESC = 'Sets your mouse sensitivity (affects first person and right click drag) (default is 1)'} |
4605 | CMDs[#CMDs + 1] = {NAME = 'clickdelete', DESC = 'Go to settings>Keybinds>Add for clicktp'} |
4606 | CMDs[#CMDs + 1] = {NAME = 'clickteleport', DESC = 'Go to settings>Keybinds>Add for click tp'} |
4607 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4608 | CMDs[#CMDs + 1] = {NAME = 'tools', DESC = 'Copies tools from ReplicatedStorage and Lighting'} |
4609 | CMDs[#CMDs + 1] = {NAME = 'notools / removetools / deletetools', DESC = 'Removes tools from character and backpack'} |
4610 | CMDs[#CMDs + 1] = {NAME = 'deleteselectedtool / dst', DESC = 'Removes any currently selected tools'} |
4611 | CMDs[#CMDs + 1] = {NAME = 'grabtools', DESC = 'Automatically get tools that are dropped'} |
4612 | CMDs[#CMDs + 1] = {NAME = 'ungrabtools / nograbtools', DESC = 'Disables grabtools'} |
4613 | CMDs[#CMDs + 1] = {NAME = 'copytools [plr] (CLIENT)', DESC = 'Copies a players tools'} |
4614 | CMDs[#CMDs + 1] = {NAME = 'dupetools / clonetools [num]', DESC = 'Duplicates your inventory tools a set ammount of times'} |
4615 | CMDs[#CMDs + 1] = {NAME = 'givetool / givetools', DESC = 'Gives all the tools you\'re holding to [plr] using the attach method.'} |
4616 | CMDs[#CMDs + 1] = {NAME = 'droptools', DESC = 'Drops your tools'} |
4617 | CMDs[#CMDs + 1] = {NAME = 'droppabletools', DESC = 'Makes your tools droppable'} |
4618 | CMDs[#CMDs + 1] = {NAME = 'equiptools', DESC = 'Equips every tool in your inventory at once'} |
4619 | CMDs[#CMDs + 1] = {NAME = 'unequiptools', DESC = 'Unequips every tool you are currently holding at once'} |
4620 | CMDs[#CMDs + 1] = {NAME = 'removespecifictool [name]', DESC = 'Automatically remove a specific tool from your inventory'} |
4621 | CMDs[#CMDs + 1] = {NAME = 'unremovespecifictool [name]', DESC = 'Stops removing a specific tool from your inventory'} |
4622 | CMDs[#CMDs + 1] = {NAME = 'clearremovespecifictool', DESC = 'Stop removing all specific tools from your inventory'} |
4623 | CMDs[#CMDs + 1] = {NAME = 'reach [num]', DESC = 'Increases the hitbox of your held tool'} |
4624 | CMDs[#CMDs + 1] = {NAME = 'unreach / noreach', DESC = 'Turns off reach'} |
4625 | CMDs[#CMDs + 1] = {NAME = 'grippos [X Y Z]', DESC = 'Changes your current tools grip position'} |
4626 | CMDs[#CMDs + 1] = {NAME = 'usetools [ammount] [delay]', DESC = 'Activates all tools in your backpack at the same time'} |
4627 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4628 | CMDs[#CMDs + 1] = {NAME = 'addalias [cmd] [alias]', DESC = 'Adds an alias to a command'} |
4629 | CMDs[#CMDs + 1] = {NAME = 'removealias [alias]', DESC = 'Removes a custom alias'} |
4630 | CMDs[#CMDs + 1] = {NAME = 'clraliases', DESC = 'Removes all custom aliases'} |
4631 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4632 | CMDs[#CMDs + 1] = {NAME = 'addplugin / plugin [name]', DESC = 'Add a plugin via command'} |
4633 | CMDs[#CMDs + 1] = {NAME = 'removeplugin / deleteplugin [name]', DESC = 'Remove a plugin via command'} |
4634 | CMDs[#CMDs + 1] = {NAME = 'reloadplugin [name]', DESC = 'Reloads a plugin'} |
4635 | CMDs[#CMDs + 1] = {NAME = '', DESC = ''} |
4636 | CMDs[#CMDs + 1] = {NAME = 'breakloops / break (cmd loops)', DESC = 'Stops any cmd loops (;100^1^cmd)'} |
4637 | CMDs[#CMDs + 1] = {NAME = 'removecmd / deletecmd', DESC = 'Removes a command until the admin is reloaded'} |
4638 | CMDs[#CMDs + 1] = {NAME = 'tpwalk / teleportwalk [num]', DESC = 'Teleports you to your move direction'} |
4639 | CMDs[#CMDs + 1] = {NAME = 'untpwalk / unteleportwalk', DESC = 'Undoes tpwalk / teleportwalk'} |
4640 | CMDs[#CMDs + 1] = {NAME = 'notifyping / ping', DESC = 'Notify yourself your ping'} |
4641 | CMDs[#CMDs + 1] = {NAME = 'trip', DESC = 'Makes your character fall over'} |
4642 | CMDs[#CMDs + 1] = {NAME = 'norender', DESC = 'Disable 3d Rendering to decrease the amount of CPU the client uses'} |
4643 | CMDs[#CMDs + 1] = {NAME = 'render', DESC = 'Enable 3d Rendering'} |
4644 | CMDs[#CMDs + 1] = {NAME = 'use2022materials / 2022materials', DESC = 'Enables 2022 material textures'} |
4645 | CMDs[#CMDs + 1] = {NAME = 'unuse2022materials / un2022materials', DESC = 'Disables 2022 material textures'} |
4646 | CMDs[#CMDs + 1] = {NAME = 'promptr6', DESC = 'Prompts the game to switch your rig type to R6'} |
4647 | CMDs[#CMDs + 1] = {NAME = 'promptr15', DESC = 'Prompts the game to switch your rig type to R15'} |
4648 | wait() |
4649 | |
4650 | for i = 1, #CMDs do |
4651 | local newcmd = Example:Clone() |
4652 | newcmd.Parent = CMDsF |
4653 | newcmd.Visible = false |
4654 | newcmd.Text = CMDs[i].NAME |
4655 | newcmd.Name = "CMD" |
4656 | table.insert(text1, newcmd) |
4657 | if CMDs[i].DESC ~= "" then |
4658 | newcmd:SetAttribute("Title", CMDs[i].NAME) |
4659 | newcmd:SetAttribute("Desc", CMDs[i].DESC) |
4660 | newcmd.MouseButton1Down:Connect(function() |
4661 | if not IsOnMobile and newcmd.Visible and newcmd.TextTransparency == 0 then |
4662 | local currentText = Cmdbar.Text |
4663 | Cmdbar:CaptureFocus() |
4664 | autoComplete(newcmd.Text, currentText) |
4665 | maximizeHolder() |
4666 | end |
4667 | end) |
4668 | end |
4669 | end |
4670 | |
4671 | IndexContents("", true) |
4672 | |
4673 | function checkTT() |
4674 | local t |
4675 | local guisAtPosition = COREGUI:GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y) |
4676 | |
4677 | for _, gui in pairs(guisAtPosition) do |
4678 | if gui.Parent == CMDsF then |
4679 | t = gui |
4680 | end |
4681 | end |
4682 | |
4683 | if t ~= nil and t:GetAttribute("Title") ~= nil then |
4684 | local x = IYMouse.X |
4685 | local y = IYMouse.Y |
4686 | local xP |
4687 | local yP |
4688 | if IYMouse.X > 200 then |
4689 | xP = x - 201 |
4690 | else |
4691 | xP = x + 21 |
4692 | end |
4693 | if IYMouse.Y > (IYMouse.ViewSizeY-96) then |
4694 | yP = y - 97 |
4695 | else |
4696 | yP = y |
4697 | end |
4698 | Tooltip.Position = UDim2.new(0, xP, 0, yP) |
4699 | Description.Text = t:GetAttribute("Desc") |
4700 | if t:GetAttribute("Title") ~= nil then |
4701 | Title_3.Text = t:GetAttribute("Title") |
4702 | else |
4703 | Title_3.Text = '' |
4704 | end |
4705 | Tooltip.Visible = true |
4706 | else |
4707 | Tooltip.Visible = false |
4708 | end |
4709 | end |
4710 | |
4711 | function FindInTable(tbl,val) |
4712 | if tbl == nil then return false end |
4713 | for _,v in pairs(tbl) do |
4714 | if v == val then return true end |
4715 | end |
4716 | return false |
4717 | end |
4718 | |
4719 | function GetInTable(Table, Name) |
4720 | for i = 1, #Table do |
4721 | if Table[i] == Name then |
4722 | return i |
4723 | end |
4724 | end |
4725 | return false |
4726 | end |
4727 | |
4728 | function respawn(plr) |
4729 | if invisRunning then TurnVisible() end |
4730 | local char = plr.Character |
4731 | if char:FindFirstChildOfClass("Humanoid") then char:FindFirstChildOfClass("Humanoid"):ChangeState(15) end |
4732 | char:ClearAllChildren() |
4733 | local newChar = Instance.new("Model") |
4734 | newChar.Parent = workspace |
4735 | plr.Character = newChar |
4736 | wait() |
4737 | plr.Character = char |
4738 | newChar:Destroy() |
4739 | end |
4740 | |
4741 | local refreshCmd = false |
4742 | function refresh(plr) |
4743 | refreshCmd = true |
4744 | local Human = plr.Character and plr.Character:FindFirstChildOfClass("Humanoid", true) |
4745 | local pos = Human and Human.RootPart and Human.RootPart.CFrame |
4746 | local pos1 = workspace.CurrentCamera.CFrame |
4747 | respawn(plr) |
4748 | task.spawn(function() |
4749 | plr.CharacterAdded:Wait():WaitForChild("Humanoid").RootPart.CFrame, workspace.CurrentCamera.CFrame = pos, wait() and pos1 |
4750 | refreshCmd = false |
4751 | end) |
4752 | end |
4753 | |
4754 | local lastDeath |
4755 | |
4756 | function onDied() |
4757 | task.spawn(function() |
4758 | if pcall(function() Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') end) and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then |
4759 | Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Died:Connect(function() |
4760 | if getRoot(Players.LocalPlayer.Character) then |
4761 | lastDeath = getRoot(Players.LocalPlayer.Character).CFrame |
4762 | end |
4763 | end) |
4764 | else |
4765 | wait(2) |
4766 | onDied() |
4767 | end |
4768 | end) |
4769 | end |
4770 | |
4771 | Clip = true |
4772 | spDelay = 0.1 |
4773 | Players.LocalPlayer.CharacterAdded:Connect(function() |
4774 | NOFLY() |
4775 | Floating = false |
4776 | |
4777 | if not Clip then |
4778 | execCmd('clip') |
4779 | end |
4780 | |
4781 | repeat wait() until getRoot(Players.LocalPlayer.Character) |
4782 | |
4783 | pcall(function() |
4784 | if spawnpoint and not refreshCmd and spawnpos ~= nil then |
4785 | wait(spDelay) |
4786 | getRoot(Players.LocalPlayer.Character).CFrame = spawnpos |
4787 | end |
4788 | end) |
4789 | |
4790 | onDied() |
4791 | end) |
4792 | |
4793 | onDied() |
4794 | |
4795 | function getstring(begin) |
4796 | local start = begin-1 |
4797 | local AA = '' for i,v in pairs(cargs) do |
4798 | if i > start then |
4799 | if AA ~= '' then |
4800 | AA = AA .. ' ' .. v |
4801 | else |
4802 | AA = AA .. v |
4803 | end |
4804 | end |
4805 | end |
4806 | return AA |
4807 | end |
4808 | |
4809 | findCmd=function(cmd_name) |
4810 | for i,v in pairs(cmds)do |
4811 | if v.NAME:lower()==cmd_name:lower() or FindInTable(v.ALIAS,cmd_name:lower()) then |
4812 | return v |
4813 | end |
4814 | end |
4815 | return customAlias[cmd_name:lower()] |
4816 | end |
4817 | |
4818 | function splitString(str,delim) |
4819 | local broken = {} |
4820 | if delim == nil then delim = "," end |
4821 | for w in string.gmatch(str,"[^"..delim.."]+") do |
4822 | table.insert(broken,w) |
4823 | end |
4824 | return broken |
4825 | end |
4826 | |
4827 | cmdHistory = {} |
4828 | local lastCmds = {} |
4829 | local historyCount = 0 |
4830 | local split=" " |
4831 | local lastBreakTime = 0 |
4832 | function execCmd(cmdStr,speaker,store) |
4833 | cmdStr = cmdStr:gsub("%s+$","") |
4834 | task.spawn(function() |
4835 | local rawCmdStr = cmdStr |
4836 | cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%") |
4837 | local commandsToRun = splitString(cmdStr,"\\") |
4838 | for i,v in pairs(commandsToRun) do |
4839 | v = string.gsub(v,"%%BackSlash%%","\\") |
4840 | local x,y,num = v:find("^(%d+)%^") |
4841 | local cmdDelay = 0 |
4842 | local infTimes = false |
4843 | if num then |
4844 | v = v:sub(y+1) |
4845 | local x,y,del = v:find("^([%d%.]+)%^") |
4846 | if del then |
4847 | v = v:sub(y+1) |
4848 | cmdDelay = tonumber(del) or 0 |
4849 | end |
4850 | else |
4851 | local x,y = v:find("^inf%^") |
4852 | if x then |
4853 | infTimes = true |
4854 | v = v:sub(y+1) |
4855 | local x,y,del = v:find("^([%d%.]+)%^") |
4856 | if del then |
4857 | v = v:sub(y+1) |
4858 | del = tonumber(del) or 1 |
4859 | cmdDelay = (del > 0 and del or 1) |
4860 | else |
4861 | cmdDelay = 1 |
4862 | end |
4863 | end |
4864 | end |
4865 | num = tonumber(num or 1) |
4866 | |
4867 | if v:sub(1,1) == "!" then |
4868 | local chunks = splitString(v:sub(2),split) |
4869 | if chunks[1] and lastCmds[chunks[1]] then v = lastCmds[chunks[1]] end |
4870 | end |
4871 | |
4872 | local args = splitString(v,split) |
4873 | local cmdName = args[1] |
4874 | local cmd = findCmd(cmdName) |
4875 | if cmd then |
4876 | table.remove(args,1) |
4877 | cargs = args |
4878 | if not speaker then speaker = Players.LocalPlayer end |
4879 | if store then |
4880 | if speaker == Players.LocalPlayer then |
4881 | if cmdHistory[1] ~= rawCmdStr and rawCmdStr:sub(1,11) ~= 'lastcommand' and rawCmdStr:sub(1,7) ~= 'lastcmd' then |
4882 | table.insert(cmdHistory,1,rawCmdStr) |
4883 | end |
4884 | end |
4885 | if #cmdHistory > 30 then table.remove(cmdHistory) end |
4886 | |
4887 | lastCmds[cmdName] = v |
4888 | end |
4889 | local cmdStartTime = tick() |
4890 | if infTimes then |
4891 | while lastBreakTime < cmdStartTime do |
4892 | local success,err = pcall(cmd.FUNC,args, speaker) |
4893 | if not success and _G.IY_DEBUG then |
4894 | warn("Command Error:", cmdName, err) |
4895 | end |
4896 | wait(cmdDelay) |
4897 | end |
4898 | else |
4899 | for rep = 1,num do |
4900 | if lastBreakTime > cmdStartTime then break end |
4901 | local success,err = pcall(function() |
4902 | cmd.FUNC(args, speaker) |
4903 | end) |
4904 | if not success and _G.IY_DEBUG then |
4905 | warn("Command Error:", cmdName, err) |
4906 | end |
4907 | if cmdDelay ~= 0 then wait(cmdDelay) end |
4908 | end |
4909 | end |
4910 | end |
4911 | end |
4912 | end) |
4913 | end |
4914 | |
4915 | function addcmd(name,alias,func,plgn) |
4916 | cmds[#cmds+1]= |
4917 | { |
4918 | NAME=name; |
4919 | ALIAS=alias or {}; |
4920 | FUNC=func; |
4921 | PLUGIN=plgn; |
4922 | } |
4923 | end |
4924 | |
4925 | function removecmd(cmd) |
4926 | if cmd ~= " " then |
4927 | for i = #cmds,1,-1 do |
4928 | if cmds[i].NAME == cmd or FindInTable(cmds[i].ALIAS,cmd) then |
4929 | table.remove(cmds, i) |
4930 | for a,c in pairs(CMDsF:GetChildren()) do |
4931 | if string.find(c.Text, "^"..cmd.."$") or string.find(c.Text, "^"..cmd.." ") or string.find(c.Text, " "..cmd.."$") or string.find(c.Text, " "..cmd.." ") then |
4932 | c.TextTransparency = 0.7 |
4933 | c.MouseButton1Click:Connect(function() |
4934 | notify(c.Text, "Command has been disabled by you or a plugin") |
4935 | end) |
4936 | end |
4937 | end |
4938 | end |
4939 | end |
4940 | end |
4941 | end |
4942 | |
4943 | function addbind(cmd,key,iskeyup,toggle) |
4944 | if toggle then |
4945 | binds[#binds+1]= |
4946 | { |
4947 | COMMAND=cmd; |
4948 | KEY=key; |
4949 | ISKEYUP=iskeyup; |
4950 | TOGGLE = toggle; |
4951 | } |
4952 | else |
4953 | binds[#binds+1]= |
4954 | { |
4955 | COMMAND=cmd; |
4956 | KEY=key; |
4957 | ISKEYUP=iskeyup; |
4958 | } |
4959 | end |
4960 | end |
4961 | |
4962 | function addcmdtext(text,name,desc) |
4963 | local newcmd = Example:Clone() |
4964 | local tooltipText = tostring(text) |
4965 | local tooltipDesc = tostring(desc) |
4966 | newcmd.Parent = CMDsF |
4967 | newcmd.Visible = false |
4968 | newcmd.Text = text |
4969 | newcmd.Name = 'PLUGIN_'..name |
4970 | table.insert(text1,newcmd) |
4971 | if desc and desc ~= '' then |
4972 | newcmd:SetAttribute("Title", tooltipText) |
4973 | newcmd:SetAttribute("Desc", tooltipDesc) |
4974 | newcmd.MouseButton1Down:Connect(function() |
4975 | if newcmd.Visible and newcmd.TextTransparency == 0 then |
4976 | Cmdbar:CaptureFocus() |
4977 | autoComplete(newcmd.Text) |
4978 | maximizeHolder() |
4979 | end |
4980 | end) |
4981 | end |
4982 | end |
4983 | |
4984 | local WorldToScreen = function(Object) |
4985 | local ObjectVector = workspace.CurrentCamera:WorldToScreenPoint(Object.Position) |
4986 | return Vector2.new(ObjectVector.X, ObjectVector.Y) |
4987 | end |
4988 | |
4989 | local MousePositionToVector2 = function() |
4990 | return Vector2.new(IYMouse.X, IYMouse.Y) |
4991 | end |
4992 | |
4993 | local GetClosestPlayerFromCursor = function() |
4994 | local found = nil |
4995 | local ClosestDistance = math.huge |
4996 | for i, v in pairs(Players:GetPlayers()) do |
4997 | if v ~= Players.LocalPlayer and v.Character and v.Character:FindFirstChildOfClass("Humanoid") then |
4998 | for k, x in pairs(v.Character:GetChildren()) do |
4999 | if string.find(x.Name, "Torso") then |
5000 | local Distance = (WorldToScreen(x) - MousePositionToVector2()).Magnitude |
5001 | if Distance < ClosestDistance then |
5002 | ClosestDistance = Distance |
5003 | found = v |
5004 | end |
5005 | end |
5006 | end |
5007 | end |
5008 | end |
5009 | return found |
5010 | end |
5011 | |
5012 | SpecialPlayerCases = { |
5013 | ["all"] = function(speaker) return Players:GetPlayers() end, |
5014 | ["others"] = function(speaker) |
5015 | local plrs = {} |
5016 | for i,v in pairs(Players:GetPlayers()) do |
5017 | if v ~= speaker then |
5018 | table.insert(plrs,v) |
5019 | end |
5020 | end |
5021 | return plrs |
5022 | end, |
5023 | ["me"] = function(speaker)return {speaker} end, |
5024 | ["#(%d+)"] = function(speaker,args,currentList) |
5025 | local returns = {} |
5026 | local randAmount = tonumber(args[1]) |
5027 | local players = {unpack(currentList)} |
5028 | for i = 1,randAmount do |
5029 | if #players == 0 then break end |
5030 | local randIndex = math.random(1,#players) |
5031 | table.insert(returns,players[randIndex]) |
5032 | table.remove(players,randIndex) |
5033 | end |
5034 | return returns |
5035 | end, |
5036 | ["random"] = function(speaker,args,currentList) |
5037 | local players = Players:GetPlayers() |
5038 | local localplayer = Players.LocalPlayer |
5039 | table.remove(players, table.find(players, localplayer)) |
5040 | return {players[math.random(1,#players)]} |
5041 | end, |
5042 | ["%%(.+)"] = function(speaker,args) |
5043 | local returns = {} |
5044 | local team = args[1] |
5045 | for _,plr in pairs(Players:GetPlayers()) do |
5046 | if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then |
5047 | table.insert(returns,plr) |
5048 | end |
5049 | end |
5050 | return returns |
5051 | end, |
5052 | ["allies"] = function(speaker) |
5053 | local returns = {} |
5054 | local team = speaker.Team |
5055 | for _,plr in pairs(Players:GetPlayers()) do |
5056 | if plr.Team == team then |
5057 | table.insert(returns,plr) |
5058 | end |
5059 | end |
5060 | return returns |
5061 | end, |
5062 | ["enemies"] = function(speaker) |
5063 | local returns = {} |
5064 | local team = speaker.Team |
5065 | for _,plr in pairs(Players:GetPlayers()) do |
5066 | if plr.Team ~= team then |
5067 | table.insert(returns,plr) |
5068 | end |
5069 | end |
5070 | return returns |
5071 | end, |
5072 | ["team"] = function(speaker) |
5073 | local returns = {} |
5074 | local team = speaker.Team |
5075 | for _,plr in pairs(Players:GetPlayers()) do |
5076 | if plr.Team == team then |
5077 | table.insert(returns,plr) |
5078 | end |
5079 | end |
5080 | return returns |
5081 | end, |
5082 | ["nonteam"] = function(speaker) |
5083 | local returns = {} |
5084 | local team = speaker.Team |
5085 | for _,plr in pairs(Players:GetPlayers()) do |
5086 | if plr.Team ~= team then |
5087 | table.insert(returns,plr) |
5088 | end |
5089 | end |
5090 | return returns |
5091 | end, |
5092 | ["friends"] = function(speaker,args) |
5093 | local returns = {} |
5094 | for _,plr in pairs(Players:GetPlayers()) do |
5095 | if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then |
5096 | table.insert(returns,plr) |
5097 | end |
5098 | end |
5099 | return returns |
5100 | end, |
5101 | ["nonfriends"] = function(speaker,args) |
5102 | local returns = {} |
5103 | for _,plr in pairs(Players:GetPlayers()) do |
5104 | if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then |
5105 | table.insert(returns,plr) |
5106 | end |
5107 | end |
5108 | return returns |
5109 | end, |
5110 | ["guests"] = function(speaker,args) |
5111 | local returns = {} |
5112 | for _,plr in pairs(Players:GetPlayers()) do |
5113 | if plr.Guest then |
5114 | table.insert(returns,plr) |
5115 | end |
5116 | end |
5117 | return returns |
5118 | end, |
5119 | ["bacons"] = function(speaker,args) |
5120 | local returns = {} |
5121 | for _,plr in pairs(Players:GetPlayers()) do |
5122 | if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then |
5123 | table.insert(returns,plr) |
5124 | end |
5125 | end |
5126 | return returns |
5127 | end, |
5128 | ["age(%d+)"] = function(speaker,args) |
5129 | local returns = {} |
5130 | local age = tonumber(args[1]) |
5131 | if not age == nil then return end |
5132 | for _,plr in pairs(Players:GetPlayers()) do |
5133 | if plr.AccountAge <= age then |
5134 | table.insert(returns,plr) |
5135 | end |
5136 | end |
5137 | return returns |
5138 | end, |
5139 | ["nearest"] = function(speaker,args,currentList) |
5140 | local speakerChar = speaker.Character |
5141 | if not speakerChar or not getRoot(speakerChar) then return end |
5142 | local lowest = math.huge |
5143 | local NearestPlayer = nil |
5144 | for _,plr in pairs(currentList) do |
5145 | if plr ~= speaker and plr.Character then |
5146 | local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position) |
5147 | if distance < lowest then |
5148 | lowest = distance |
5149 | NearestPlayer = {plr} |
5150 | end |
5151 | end |
5152 | end |
5153 | return NearestPlayer |
5154 | end, |
5155 | ["farthest"] = function(speaker,args,currentList) |
5156 | local speakerChar = speaker.Character |
5157 | if not speakerChar or not getRoot(speakerChar) then return end |
5158 | local highest = 0 |
5159 | local Farthest = nil |
5160 | for _,plr in pairs(currentList) do |
5161 | if plr ~= speaker and plr.Character then |
5162 | local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position) |
5163 | if distance > highest then |
5164 | highest = distance |
5165 | Farthest = {plr} |
5166 | end |
5167 | end |
5168 | end |
5169 | return Farthest |
5170 | end, |
5171 | ["group(%d+)"] = function(speaker,args) |
5172 | local returns = {} |
5173 | local groupID = tonumber(args[1]) |
5174 | for _,plr in pairs(Players:GetPlayers()) do |
5175 | if plr:IsInGroup(groupID) then |
5176 | table.insert(returns,plr) |
5177 | end |
5178 | end |
5179 | return returns |
5180 | end, |
5181 | ["alive"] = function(speaker,args) |
5182 | local returns = {} |
5183 | for _,plr in pairs(Players:GetPlayers()) do |
5184 | if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") and plr.Character:FindFirstChildOfClass("Humanoid").Health > 0 then |
5185 | table.insert(returns,plr) |
5186 | end |
5187 | end |
5188 | return returns |
5189 | end, |
5190 | ["dead"] = function(speaker,args) |
5191 | local returns = {} |
5192 | for _,plr in pairs(Players:GetPlayers()) do |
5193 | if (not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid")) or plr.Character:FindFirstChildOfClass("Humanoid").Health <= 0 then |
5194 | table.insert(returns,plr) |
5195 | end |
5196 | end |
5197 | return returns |
5198 | end, |
5199 | ["rad(%d+)"] = function(speaker,args) |
5200 | local returns = {} |
5201 | local radius = tonumber(args[1]) |
5202 | local speakerChar = speaker.Character |
5203 | if not speakerChar or not getRoot(speakerChar) then return end |
5204 | for _,plr in pairs(Players:GetPlayers()) do |
5205 | if plr.Character and getRoot(plr.Character) then |
5206 | local magnitude = (getRoot(plr.Character).Position-getRoot(speakerChar).Position).magnitude |
5207 | if magnitude <= radius then table.insert(returns,plr) end |
5208 | end |
5209 | end |
5210 | return returns |
5211 | end, |
5212 | ["cursor"] = function(speaker) |
5213 | local plrs = {} |
5214 | local v = GetClosestPlayerFromCursor() |
5215 | if v ~= nil then table.insert(plrs, v) end |
5216 | return plrs |
5217 | end, |
5218 | ["npcs"] = function(speaker,args) |
5219 | local returns = {} |
5220 | for _, v in pairs(workspace:GetDescendants()) do |
5221 | if v:IsA("Model") and getRoot(v) and v:FindFirstChildWhichIsA("Humanoid") and Players:GetPlayerFromCharacter(v) == nil then |
5222 | local clone = Instance.new("Player") |
5223 | clone.Name = v.Name .. " - " .. v:FindFirstChildWhichIsA("Humanoid").DisplayName |
5224 | clone.Character = v |
5225 | table.insert(returns, clone) |
5226 | end |
5227 | end |
5228 | return returns |
5229 | end, |
5230 | } |
5231 | |
5232 | function toTokens(str) |
5233 | local tokens = {} |
5234 | for op,name in string.gmatch(str,"([+-])([^+-]+)") do |
5235 | table.insert(tokens,{Operator = op,Name = name}) |
5236 | end |
5237 | return tokens |
5238 | end |
5239 | |
5240 | function onlyIncludeInTable(tab,matches) |
5241 | local matchTable = {} |
5242 | local resultTable = {} |
5243 | for i,v in pairs(matches) do matchTable[v.Name] = true end |
5244 | for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end |
5245 | return resultTable |
5246 | end |
5247 | |
5248 | function removeTableMatches(tab,matches) |
5249 | local matchTable = {} |
5250 | local resultTable = {} |
5251 | for i,v in pairs(matches) do matchTable[v.Name] = true end |
5252 | for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end |
5253 | return resultTable |
5254 | end |
5255 | |
5256 | function getPlayersByName(Name) |
5257 | local Name,Len,Found = string.lower(Name),#Name,{} |
5258 | for _,v in pairs(Players:GetPlayers()) do |
5259 | if Name:sub(0,1) == '@' then |
5260 | if string.sub(string.lower(v.Name),1,Len-1) == Name:sub(2) then |
5261 | table.insert(Found,v) |
5262 | end |
5263 | else |
5264 | if string.sub(string.lower(v.Name),1,Len) == Name or string.sub(string.lower(v.DisplayName),1,Len) == Name then |
5265 | table.insert(Found,v) |
5266 | end |
5267 | end |
5268 | end |
5269 | return Found |
5270 | end |
5271 | |
5272 | function getPlayer(list,speaker) |
5273 | if list == nil then return {speaker.Name} end |
5274 | local nameList = splitString(list,",") |
5275 | |
5276 | local foundList = {} |
5277 | |
5278 | for _,name in pairs(nameList) do |
5279 | if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end |
5280 | local tokens = toTokens(name) |
5281 | local initialPlayers = Players:GetPlayers() |
5282 | |
5283 | for i,v in pairs(tokens) do |
5284 | if v.Operator == "+" then |
5285 | local tokenContent = v.Name |
5286 | local foundCase = false |
5287 | for regex,case in pairs(SpecialPlayerCases) do |
5288 | local matches = {string.match(tokenContent,"^"..regex.."$")} |
5289 | if #matches > 0 then |
5290 | foundCase = true |
5291 | initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers)) |
5292 | end |
5293 | end |
5294 | if not foundCase then |
5295 | initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent)) |
5296 | end |
5297 | else |
5298 | local tokenContent = v.Name |
5299 | local foundCase = false |
5300 | for regex,case in pairs(SpecialPlayerCases) do |
5301 | local matches = {string.match(tokenContent,"^"..regex.."$")} |
5302 | if #matches > 0 then |
5303 | foundCase = true |
5304 | initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers)) |
5305 | end |
5306 | end |
5307 | if not foundCase then |
5308 | initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent)) |
5309 | end |
5310 | end |
5311 | end |
5312 | |
5313 | for i,v in pairs(initialPlayers) do table.insert(foundList,v) end |
5314 | end |
5315 | |
5316 | local foundNames = {} |
5317 | for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end |
5318 | |
5319 | return foundNames |
5320 | end |
5321 | |
5322 | getprfx=function(strn) |
5323 | if strn:sub(1,string.len(prefix))==prefix then return{'cmd',string.len(prefix)+1} |
5324 | end return |
5325 | end |
5326 | |
5327 | function do_exec(str, plr) |
5328 | str = str:gsub('/e ', '') |
5329 | local t = getprfx(str) |
5330 | if not t then return end |
5331 | str = str:sub(t[2]) |
5332 | if t[1]=='cmd' then |
5333 | execCmd(str, plr, true) |
5334 | IndexContents('',true,false,true) |
5335 | CMDsF.CanvasPosition = canvasPos |
5336 | end |
5337 | end |
5338 | |
5339 | lastTextBoxString,lastTextBoxCon,lastEnteredString = nil,nil,nil |
5340 | |
5341 | UserInputService.TextBoxFocused:Connect(function(obj) |
5342 | if lastTextBoxCon then lastTextBoxCon:Disconnect() end |
5343 | if obj == Cmdbar then lastTextBoxString = nil return end |
5344 | lastTextBoxString = obj.Text |
5345 | lastTextBoxCon = obj:GetPropertyChangedSignal("Text"):Connect(function() |
5346 | if not (UserInputService:IsKeyDown(Enum.KeyCode.Return) or UserInputService:IsKeyDown(Enum.KeyCode.KeypadEnter)) then |
5347 | lastTextBoxString = obj.Text |
5348 | end |
5349 | end) |
5350 | end) |
5351 | |
5352 | UserInputService.InputBegan:Connect(function(input,gameProcessed) |
5353 | if gameProcessed then |
5354 | if Cmdbar and Cmdbar:IsFocused() then |
5355 | if input.KeyCode == Enum.KeyCode.Up then |
5356 | historyCount = historyCount + 1 |
5357 | if historyCount > #cmdHistory then historyCount = #cmdHistory end |
5358 | Cmdbar.Text = cmdHistory[historyCount] or "" |
5359 | Cmdbar.CursorPosition = 1020 |
5360 | elseif input.KeyCode == Enum.KeyCode.Down then |
5361 | historyCount = historyCount - 1 |
5362 | if historyCount < 0 then historyCount = 0 end |
5363 | Cmdbar.Text = cmdHistory[historyCount] or "" |
5364 | Cmdbar.CursorPosition = 1020 |
5365 | end |
5366 | elseif input.KeyCode == Enum.KeyCode.Return or input.KeyCode == Enum.KeyCode.KeypadEnter then |
5367 | lastEnteredString = lastTextBoxString |
5368 | end |
5369 | end |
5370 | end) |
5371 | |
5372 | Players.LocalPlayer.Chatted:Connect(function() |
5373 | wait() |
5374 | if lastEnteredString then |
5375 | local message = lastEnteredString |
5376 | lastEnteredString = nil |
5377 | do_exec(message, Players.LocalPlayer) |
5378 | end |
5379 | end) |
5380 | |
5381 | Cmdbar.PlaceholderText = "Command Bar ("..prefix..")" |
5382 | Cmdbar:GetPropertyChangedSignal("Text"):Connect(function() |
5383 | if Cmdbar:IsFocused() then |
5384 | IndexContents(Cmdbar.Text,true,true) |
5385 | end |
5386 | end) |
5387 | |
5388 | local tabComplete = nil |
5389 | tabAllowed = true |
5390 | Cmdbar.FocusLost:Connect(function(enterpressed) |
5391 | if enterpressed then |
5392 | local cmdbarText = Cmdbar.Text:gsub("^"..prefix,"") |
5393 | execCmd(cmdbarText,Players.LocalPlayer,true) |
5394 | end |
5395 | if tabComplete then tabComplete:Disconnect() end |
5396 | wait() |
5397 | if not Cmdbar:IsFocused() then |
5398 | Cmdbar.Text = "" |
5399 | IndexContents('',true,false,true) |
5400 | if SettingsOpen == true then |
5401 | wait(0.2) |
5402 | Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil) |
5403 | CMDsF.Visible = false |
5404 | end |
5405 | end |
5406 | CMDsF.CanvasPosition = canvasPos |
5407 | end) |
5408 | |
5409 | Cmdbar.Focused:Connect(function() |
5410 | historyCount = 0 |
5411 | canvasPos = CMDsF.CanvasPosition |
5412 | if SettingsOpen == true then |
5413 | wait(0.2) |
5414 | CMDsF.Visible = true |
5415 | Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil) |
5416 | end |
5417 | tabComplete = UserInputService.InputBegan:Connect(function(input,gameProcessed) |
5418 | if Cmdbar:IsFocused() then |
5419 | if tabAllowed == true and input.KeyCode == Enum.KeyCode.Tab and topCommand ~= nil then |
5420 | autoComplete(topCommand) |
5421 | end |
5422 | else |
5423 | tabComplete:Disconnect() |
5424 | end |
5425 | end) |
5426 | end) |
5427 | |
5428 | ESPenabled = false |
5429 | CHMSenabled = false |
5430 | |
5431 | function round(num, numDecimalPlaces) |
5432 | local mult = 10^(numDecimalPlaces or 0) |
5433 | return math.floor(num * mult + 0.5) / mult |
5434 | end |
5435 | |
5436 | function ESP(plr) |
5437 | task.spawn(function() |
5438 | for i,v in pairs(COREGUI:GetChildren()) do |
5439 | if v.Name == plr.Name..'_ESP' then |
5440 | v:Destroy() |
5441 | end |
5442 | end |
5443 | wait() |
5444 | if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_ESP') then |
5445 | local ESPholder = Instance.new("Folder") |
5446 | ESPholder.Name = plr.Name..'_ESP' |
5447 | ESPholder.Parent = COREGUI |
5448 | repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") |
5449 | for b,n in pairs (plr.Character:GetChildren()) do |
5450 | if (n:IsA("BasePart")) then |
5451 | local a = Instance.new("BoxHandleAdornment") |
5452 | a.Name = plr.Name |
5453 | a.Parent = ESPholder |
5454 | a.Adornee = n |
5455 | a.AlwaysOnTop = true |
5456 | a.ZIndex = 10 |
5457 | a.Size = n.Size |
5458 | a.Transparency = espTransparency |
5459 | a.Color = plr.TeamColor |
5460 | end |
5461 | end |
5462 | if plr.Character and plr.Character:FindFirstChild('Head') then |
5463 | local BillboardGui = Instance.new("BillboardGui") |
5464 | local TextLabel = Instance.new("TextLabel") |
5465 | BillboardGui.Adornee = plr.Character.Head |
5466 | BillboardGui.Name = plr.Name |
5467 | BillboardGui.Parent = ESPholder |
5468 | BillboardGui.Size = UDim2.new(0, 100, 0, 150) |
5469 | BillboardGui.StudsOffset = Vector3.new(0, 1, 0) |
5470 | BillboardGui.AlwaysOnTop = true |
5471 | TextLabel.Parent = BillboardGui |
5472 | TextLabel.BackgroundTransparency = 1 |
5473 | TextLabel.Position = UDim2.new(0, 0, 0, -50) |
5474 | TextLabel.Size = UDim2.new(0, 100, 0, 100) |
5475 | TextLabel.Font = Enum.Font.SourceSansSemibold |
5476 | TextLabel.TextSize = 20 |
5477 | TextLabel.TextColor3 = Color3.new(1, 1, 1) |
5478 | TextLabel.TextStrokeTransparency = 0 |
5479 | TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom |
5480 | TextLabel.Text = 'Name: '..plr.Name |
5481 | TextLabel.ZIndex = 10 |
5482 | local espLoopFunc |
5483 | local teamChange |
5484 | local addedFunc |
5485 | addedFunc = plr.CharacterAdded:Connect(function() |
5486 | if ESPenabled then |
5487 | espLoopFunc:Disconnect() |
5488 | teamChange:Disconnect() |
5489 | ESPholder:Destroy() |
5490 | repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") |
5491 | ESP(plr) |
5492 | addedFunc:Disconnect() |
5493 | else |
5494 | teamChange:Disconnect() |
5495 | addedFunc:Disconnect() |
5496 | end |
5497 | end) |
5498 | teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function() |
5499 | if ESPenabled then |
5500 | espLoopFunc:Disconnect() |
5501 | addedFunc:Disconnect() |
5502 | ESPholder:Destroy() |
5503 | repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") |
5504 | ESP(plr) |
5505 | teamChange:Disconnect() |
5506 | else |
5507 | teamChange:Disconnect() |
5508 | end |
5509 | end) |
5510 | local function espLoop() |
5511 | if COREGUI:FindFirstChild(plr.Name..'_ESP') then |
5512 | if plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then |
5513 | local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude) |
5514 | TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos |
5515 | end |
5516 | else |
5517 | teamChange:Disconnect() |
5518 | addedFunc:Disconnect() |
5519 | espLoopFunc:Disconnect() |
5520 | end |
5521 | end |
5522 | espLoopFunc = RunService.RenderStepped:Connect(espLoop) |
5523 | end |
5524 | end |
5525 | end) |
5526 | end |
5527 | |
5528 | function CHMS(plr) |
5529 | task.spawn(function() |
5530 | for i,v in pairs(COREGUI:GetChildren()) do |
5531 | if v.Name == plr.Name..'_CHMS' then |
5532 | v:Destroy() |
5533 | end |
5534 | end |
5535 | wait() |
5536 | if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_CHMS') then |
5537 | local ESPholder = Instance.new("Folder") |
5538 | ESPholder.Name = plr.Name..'_CHMS' |
5539 | ESPholder.Parent = COREGUI |
5540 | repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") |
5541 | for b,n in pairs (plr.Character:GetChildren()) do |
5542 | if (n:IsA("BasePart")) then |
5543 | local a = Instance.new("BoxHandleAdornment") |
5544 | a.Name = plr.Name |
5545 | a.Parent = ESPholder |
5546 | a.Adornee = n |
5547 | a.AlwaysOnTop = true |
5548 | a.ZIndex = 10 |
5549 | a.Size = n.Size |
5550 | a.Transparency = espTransparency |
5551 | a.Color = plr.TeamColor |
5552 | end |
5553 | end |
5554 | local addedFunc |
5555 | local teamChange |
5556 | local CHMSremoved |
5557 | addedFunc = plr.CharacterAdded:Connect(function() |
5558 | if CHMSenabled then |
5559 | ESPholder:Destroy() |
5560 | teamChange:Disconnect() |
5561 | repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") |
5562 | CHMS(plr) |
5563 | addedFunc:Disconnect() |
5564 | else |
5565 | teamChange:Disconnect() |
5566 | addedFunc:Disconnect() |
5567 | end |
5568 | end) |
5569 | teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function() |
5570 | if CHMSenabled then |
5571 | ESPholder:Destroy() |
5572 | addedFunc:Disconnect() |
5573 | repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") |
5574 | CHMS(plr) |
5575 | teamChange:Disconnect() |
5576 | else |
5577 | teamChange:Disconnect() |
5578 | end |
5579 | end) |
5580 | CHMSremoved = ESPholder.AncestryChanged:Connect(function() |
5581 | teamChange:Disconnect() |
5582 | addedFunc:Disconnect() |
5583 | CHMSremoved:Disconnect() |
5584 | end) |
5585 | end |
5586 | end) |
5587 | end |
5588 | |
5589 | function Locate(plr) |
5590 | task.spawn(function() |
5591 | for i,v in pairs(COREGUI:GetChildren()) do |
5592 | if v.Name == plr.Name..'_LC' then |
5593 | v:Destroy() |
5594 | end |
5595 | end |
5596 | wait() |
5597 | if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_LC') then |
5598 | local ESPholder = Instance.new("Folder") |
5599 | ESPholder.Name = plr.Name..'_LC' |
5600 | ESPholder.Parent = COREGUI |
5601 | repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") |
5602 | for b,n in pairs (plr.Character:GetChildren()) do |
5603 | if (n:IsA("BasePart")) then |
5604 | local a = Instance.new("BoxHandleAdornment") |
5605 | a.Name = plr.Name |
5606 | a.Parent = ESPholder |
5607 | a.Adornee = n |
5608 | a.AlwaysOnTop = true |
5609 | a.ZIndex = 10 |
5610 | a.Size = n.Size |
5611 | a.Transparency = espTransparency |
5612 | a.Color = plr.TeamColor |
5613 | end |
5614 | end |
5615 | if plr.Character and plr.Character:FindFirstChild('Head') then |
5616 | local BillboardGui = Instance.new("BillboardGui") |
5617 | local TextLabel = Instance.new("TextLabel") |
5618 | BillboardGui.Adornee = plr.Character.Head |
5619 | BillboardGui.Name = plr.Name |
5620 | BillboardGui.Parent = ESPholder |
5621 | BillboardGui.Size = UDim2.new(0, 100, 0, 150) |
5622 | BillboardGui.StudsOffset = Vector3.new(0, 1, 0) |
5623 | BillboardGui.AlwaysOnTop = true |
5624 | TextLabel.Parent = BillboardGui |
5625 | TextLabel.BackgroundTransparency = 1 |
5626 | TextLabel.Position = UDim2.new(0, 0, 0, -50) |
5627 | TextLabel.Size = UDim2.new(0, 100, 0, 100) |
5628 | TextLabel.Font = Enum.Font.SourceSansSemibold |
5629 | TextLabel.TextSize = 20 |
5630 | TextLabel.TextColor3 = Color3.new(1, 1, 1) |
5631 | TextLabel.TextStrokeTransparency = 0 |
5632 | TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom |
5633 | TextLabel.Text = 'Name: '..plr.Name |
5634 | TextLabel.ZIndex = 10 |
5635 | local lcLoopFunc |
5636 | local addedFunc |
5637 | local teamChange |
5638 | addedFunc = plr.CharacterAdded:Connect(function() |
5639 | if ESPholder ~= nil and ESPholder.Parent ~= nil then |
5640 | lcLoopFunc:Disconnect() |
5641 | teamChange:Disconnect() |
5642 | ESPholder:Destroy() |
5643 | repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") |
5644 | Locate(plr) |
5645 | addedFunc:Disconnect() |
5646 | else |
5647 | teamChange:Disconnect() |
5648 | addedFunc:Disconnect() |
5649 | end |
5650 | end) |
5651 | teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function() |
5652 | if ESPholder ~= nil and ESPholder.Parent ~= nil then |
5653 | lcLoopFunc:Disconnect() |
5654 | addedFunc:Disconnect() |
5655 | ESPholder:Destroy() |
5656 | repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") |
5657 | Locate(plr) |
5658 | teamChange:Disconnect() |
5659 | else |
5660 | teamChange:Disconnect() |
5661 | end |
5662 | end) |
5663 | local function lcLoop() |
5664 | if COREGUI:FindFirstChild(plr.Name..'_LC') then |
5665 | if plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then |
5666 | local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude) |
5667 | TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos |
5668 | end |
5669 | else |
5670 | teamChange:Disconnect() |
5671 | addedFunc:Disconnect() |
5672 | lcLoopFunc:Disconnect() |
5673 | end |
5674 | end |
5675 | lcLoopFunc = RunService.RenderStepped:Connect(lcLoop) |
5676 | end |
5677 | end |
5678 | end) |
5679 | end |
5680 | |
5681 | local bindsGUI = KeybindEditor |
5682 | local awaitingInput = false |
5683 | local keySelected = false |
5684 | |
5685 | function refreshbinds() |
5686 | if Holder_2 then |
5687 | Holder_2:ClearAllChildren() |
5688 | Holder_2.CanvasSize = UDim2.new(0, 0, 0, 10) |
5689 | for i = 1, #binds do |
5690 | local YSize = 25 |
5691 | local Position = ((i * YSize) - YSize) |
5692 | local newbind = Example_2:Clone() |
5693 | newbind.Parent = Holder_2 |
5694 | newbind.Visible = true |
5695 | newbind.Position = UDim2.new(0,0,0, Position + 5) |
5696 | table.insert(shade2,newbind) |
5697 | table.insert(shade2,newbind.Text) |
5698 | table.insert(text1,newbind.Text) |
5699 | table.insert(shade3,newbind.Text.Delete) |
5700 | table.insert(text2,newbind.Text.Delete) |
5701 | local input = tostring(binds[i].KEY) |
5702 | local key |
5703 | if input == 'RightClick' or input == 'LeftClick' then |
5704 | key = input |
5705 | else |
5706 | key = input:sub(14) |
5707 | end |
5708 | if binds[i].TOGGLE then |
5709 | newbind.Text.Text = key.." > "..binds[i].COMMAND.." / "..binds[i].TOGGLE |
5710 | else |
5711 | newbind.Text.Text = key.." > "..binds[i].COMMAND.." "..(binds[i].ISKEYUP and "(keyup)" or "(keydown)") |
5712 | end |
5713 | Holder_2.CanvasSize = UDim2.new(0,0,0, Position + 30) |
5714 | newbind.Text.Delete.MouseButton1Click:Connect(function() |
5715 | unkeybind(binds[i].COMMAND,binds[i].KEY) |
5716 | end) |
5717 | end |
5718 | end |
5719 | end |
5720 | |
5721 | refreshbinds() |
5722 | |
5723 | toggleOn = {} |
5724 | |
5725 | function unkeybind(cmd,key) |
5726 | for i = #binds,1,-1 do |
5727 | if binds[i].COMMAND == cmd and binds[i].KEY == key then |
5728 | toggleOn[binds[i]] = nil |
5729 | table.remove(binds, i) |
5730 | end |
5731 | end |
5732 | refreshbinds() |
5733 | updatesaves() |
5734 | if key == 'RightClick' or key == 'LeftClick' then |
5735 | notify('Keybinds Updated','Unbinded '..key..' from '..cmd) |
5736 | else |
5737 | notify('Keybinds Updated','Unbinded '..key:sub(14)..' from '..cmd) |
5738 | end |
5739 | end |
5740 | |
5741 | PositionsFrame.Delete.MouseButton1Click:Connect(function() |
5742 | execCmd('cpos') |
5743 | end) |
5744 | |
5745 | function refreshwaypoints() |
5746 | if #WayPoints > 0 or #pWayPoints > 0 then |
5747 | PositionsHint:Destroy() |
5748 | end |
5749 | if Holder_4 then |
5750 | Holder_4:ClearAllChildren() |
5751 | Holder_4.CanvasSize = UDim2.new(0, 0, 0, 10) |
5752 | local YSize = 25 |
5753 | local num = 1 |
5754 | for i = 1, #WayPoints do |
5755 | local Position = ((num * YSize) - YSize) |
5756 | local newpoint = Example_4:Clone() |
5757 | newpoint.Parent = Holder_4 |
5758 | newpoint.Visible = true |
5759 | newpoint.Position = UDim2.new(0,0,0, Position + 5) |
5760 | newpoint.Text.Text = WayPoints[i].NAME |
5761 | table.insert(shade2,newpoint) |
5762 | table.insert(shade2,newpoint.Text) |
5763 | table.insert(text1,newpoint.Text) |
5764 | table.insert(shade3,newpoint.Text.Delete) |
5765 | table.insert(text2,newpoint.Text.Delete) |
5766 | table.insert(shade3,newpoint.Text.TP) |
5767 | table.insert(text2,newpoint.Text.TP) |
5768 | Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30) |
5769 | newpoint.Text.Delete.MouseButton1Click:Connect(function() |
5770 | execCmd('dpos '..WayPoints[i].NAME) |
5771 | end) |
5772 | newpoint.Text.TP.MouseButton1Click:Connect(function() |
5773 | execCmd("loadpos "..WayPoints[i].NAME) |
5774 | end) |
5775 | num = num+1 |
5776 | end |
5777 | for i = 1, #pWayPoints do |
5778 | local Position = ((num * YSize) - YSize) |
5779 | local newpoint = Example_4:Clone() |
5780 | newpoint.Parent = Holder_4 |
5781 | newpoint.Visible = true |
5782 | newpoint.Position = UDim2.new(0,0,0, Position + 5) |
5783 | newpoint.Text.Text = pWayPoints[i].NAME |
5784 | table.insert(shade2,newpoint) |
5785 | table.insert(shade2,newpoint.Text) |
5786 | table.insert(text1,newpoint.Text) |
5787 | table.insert(shade3,newpoint.Text.Delete) |
5788 | table.insert(text2,newpoint.Text.Delete) |
5789 | table.insert(shade3,newpoint.Text.TP) |
5790 | table.insert(text2,newpoint.Text.TP) |
5791 | Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30) |
5792 | newpoint.Text.Delete.MouseButton1Click:Connect(function() |
5793 | execCmd('dpos '..pWayPoints[i].NAME) |
5794 | end) |
5795 | newpoint.Text.TP.MouseButton1Click:Connect(function() |
5796 | execCmd("loadpos "..pWayPoints[i].NAME) |
5797 | end) |
5798 | num = num+1 |
5799 | end |
5800 | end |
5801 | end |
5802 | |
5803 | refreshwaypoints() |
5804 | |
5805 | function refreshaliases() |
5806 | if #aliases > 0 then |
5807 | AliasHint:Destroy() |
5808 | end |
5809 | if Holder_3 then |
5810 | Holder_3:ClearAllChildren() |
5811 | Holder_3.CanvasSize = UDim2.new(0, 0, 0, 10) |
5812 | for i = 1, #aliases do |
5813 | local YSize = 25 |
5814 | local Position = ((i * YSize) - YSize) |
5815 | local newalias = Example_3:Clone() |
5816 | newalias.Parent = Holder_3 |
5817 | newalias.Visible = true |
5818 | newalias.Position = UDim2.new(0,0,0, Position + 5) |
5819 | newalias.Text.Text = aliases[i].CMD.." > "..aliases[i].ALIAS |
5820 | table.insert(shade2,newalias) |
5821 | table.insert(shade2,newalias.Text) |
5822 | table.insert(text1,newalias.Text) |
5823 | table.insert(shade3,newalias.Text.Delete) |
5824 | table.insert(text2,newalias.Text.Delete) |
5825 | Holder_3.CanvasSize = UDim2.new(0,0,0, Position + 30) |
5826 | newalias.Text.Delete.MouseButton1Click:Connect(function() |
5827 | execCmd('removealias '..aliases[i].ALIAS) |
5828 | end) |
5829 | end |
5830 | end |
5831 | end |
5832 | |
5833 | local bindChosenKeyUp = false |
5834 | |
5835 | BindTo.MouseButton1Click:Connect(function() |
5836 | awaitingInput = true |
5837 | BindTo.Text = 'Press something' |
5838 | end) |
5839 | |
5840 | BindTriggerSelect.MouseButton1Click:Connect(function() |
5841 | bindChosenKeyUp = not bindChosenKeyUp |
5842 | BindTriggerSelect.Text = bindChosenKeyUp and "KeyUp" or "KeyDown" |
5843 | end) |
5844 | |
5845 | newToggle = false |
5846 | Cmdbar_3.Parent.Visible = false |
5847 | On_2.MouseButton1Click:Connect(function() |
5848 | if newToggle == false then newToggle = true |
5849 | On_2.BackgroundTransparency = 0 |
5850 | Cmdbar_3.Parent.Visible = true |
5851 | BindTriggerSelect.Visible = false |
5852 | else newToggle = false |
5853 | On_2.BackgroundTransparency = 1 |
5854 | Cmdbar_3.Parent.Visible = false |
5855 | BindTriggerSelect.Visible = true |
5856 | end |
5857 | end) |
5858 | |
5859 | Add_2.MouseButton1Click:Connect(function() |
5860 | if keySelected then |
5861 | if string.find(Cmdbar_2.Text, "\\\\") or string.find(Cmdbar_3.Text, "\\\\") then |
5862 | notify('Keybind Error','Only use one backslash to keybind multiple commands into one keybind or command') |
5863 | else |
5864 | if newToggle and Cmdbar_3.Text ~= '' and Cmdbar_2.text ~= '' then |
5865 | addbind(Cmdbar_2.Text,keyPressed,false,Cmdbar_3.Text) |
5866 | elseif not newToggle and Cmdbar_2.text ~= '' then |
5867 | addbind(Cmdbar_2.Text,keyPressed,bindChosenKeyUp) |
5868 | else |
5869 | return |
5870 | end |
5871 | refreshbinds() |
5872 | updatesaves() |
5873 | if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then |
5874 | notify('Keybinds Updated','Binded '..keyPressed..' to '..Cmdbar_2.Text..(newToggle and " / "..Cmdbar_3.Text or "")) |
5875 | else |
5876 | notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to '..Cmdbar_2.Text..(newToggle and " / "..Cmdbar_3.Text or "")) |
5877 | end |
5878 | end |
5879 | end |
5880 | end) |
5881 | |
5882 | Exit_2.MouseButton1Click:Connect(function() |
5883 | Cmdbar_2.Text = 'Command' |
5884 | Cmdbar_3.Text = 'Command 2' |
5885 | BindTo.Text = 'Click to bind' |
5886 | bindChosenKeyUp = false |
5887 | BindTriggerSelect.Text = "KeyDown" |
5888 | keySelected = false |
5889 | KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil) |
5890 | end) |
5891 | |
5892 | function onInputBegan(input,gameProcessed) |
5893 | if awaitingInput then |
5894 | if input.UserInputType == Enum.UserInputType.Keyboard then |
5895 | keyPressed = tostring(input.KeyCode) |
5896 | BindTo.Text = keyPressed:sub(14) |
5897 | elseif input.UserInputType == Enum.UserInputType.MouseButton1 then |
5898 | keyPressed = 'LeftClick' |
5899 | BindTo.Text = 'LeftClick' |
5900 | elseif input.UserInputType == Enum.UserInputType.MouseButton2 then |
5901 | keyPressed = 'RightClick' |
5902 | BindTo.Text = 'RightClick' |
5903 | end |
5904 | awaitingInput = false |
5905 | keySelected = true |
5906 | end |
5907 | if not gameProcessed and #binds > 0 then |
5908 | for i,v in pairs(binds) do |
5909 | if not v.ISKEYUP then |
5910 | if (input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower()) or (input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick') or (input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick') then |
5911 | if v.TOGGLE then |
5912 | local isOn = toggleOn[v] == true |
5913 | toggleOn[v] = not isOn |
5914 | if isOn then |
5915 | execCmd(v.TOGGLE,Players.LocalPlayer) |
5916 | else |
5917 | execCmd(v.COMMAND,Players.LocalPlayer) |
5918 | end |
5919 | else |
5920 | execCmd(v.COMMAND,Players.LocalPlayer) |
5921 | end |
5922 | end |
5923 | end |
5924 | end |
5925 | end |
5926 | end |
5927 | |
5928 | function onInputEnded(input,gameProcessed) |
5929 | if not gameProcessed and #binds > 0 then |
5930 | for i,v in pairs(binds) do |
5931 | if v.ISKEYUP then |
5932 | if (input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower()) or (input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick') or (input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick') then |
5933 | execCmd(v.COMMAND,Players.LocalPlayer) |
5934 | end |
5935 | end |
5936 | end |
5937 | end |
5938 | end |
5939 | |
5940 | UserInputService.InputBegan:Connect(onInputBegan) |
5941 | UserInputService.InputEnded:Connect(onInputEnded) |
5942 | |
5943 | ClickTP.Select.MouseButton1Click:Connect(function() |
5944 | if keySelected then |
5945 | addbind('clicktp',keyPressed,bindChosenKeyUp) |
5946 | refreshbinds() |
5947 | updatesaves() |
5948 | if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then |
5949 | notify('Keybinds Updated','Binded '..keyPressed..' to click tp') |
5950 | else |
5951 | notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click tp') |
5952 | end |
5953 | end |
5954 | end) |
5955 | |
5956 | ClickDelete.Select.MouseButton1Click:Connect(function() |
5957 | if keySelected then |
5958 | addbind('clickdel',keyPressed,bindChosenKeyUp) |
5959 | refreshbinds() |
5960 | updatesaves() |
5961 | if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then |
5962 | notify('Keybinds Updated','Binded '..keyPressed..' to click delete') |
5963 | else |
5964 | notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click delete') |
5965 | end |
5966 | end |
5967 | end) |
5968 | |
5969 | local function clicktpFunc() |
5970 | pcall(function() |
5971 | local character = Players.LocalPlayer.Character |
5972 | local humanoid = character:FindFirstChildOfClass("Humanoid") |
5973 | if humanoid and humanoid.SeatPart then |
5974 | humanoid.Sit = false |
5975 | wait(0.1) |
5976 | end |
5977 | |
5978 | local hipHeight = humanoid and humanoid.HipHeight > 0 and (humanoid.HipHeight + 1) |
5979 | local rootPart = getRoot(character) |
5980 | local rootPartPosition = rootPart.Position |
5981 | local hitPosition = IYMouse.Hit.Position |
5982 | local newCFrame = CFrame.new( |
5983 | hitPosition, |
5984 | Vector3.new(rootPartPosition.X, hitPosition.Y, rootPartPosition.Z) |
5985 | ) * CFrame.Angles(0, math.pi, 0) |
5986 | |
5987 | rootPart.CFrame = newCFrame + Vector3.new(0, hipHeight or 4, 0) |
5988 | end) |
5989 | end |
5990 | |
5991 | IYMouse.Button1Down:Connect(function() |
5992 | for i,v in pairs(binds) do |
5993 | if v.COMMAND == 'clicktp' then |
5994 | local input = v.KEY |
5995 | if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and Players.LocalPlayer.Character then |
5996 | clicktpFunc() |
5997 | elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) and Players.LocalPlayer.Character then |
5998 | clicktpFunc() |
5999 | elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) and Players.LocalPlayer.Character then |
6000 | clicktpFunc() |
6001 | end |
6002 | elseif v.COMMAND == 'clickdel' then |
6003 | local input = v.KEY |
6004 | if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then |
6005 | pcall(function() IYMouse.Target:Destroy() end) |
6006 | elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then |
6007 | pcall(function() IYMouse.Target:Destroy() end) |
6008 | elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) then |
6009 | pcall(function() IYMouse.Target:Destroy() end) |
6010 | end |
6011 | end |
6012 | end |
6013 | end) |
6014 | |
6015 | PluginsGUI = PluginEditor.background |
6016 | |
6017 | function addPlugin(name) |
6018 | if name:lower() == 'plugin file name' or name:lower() == 'iy_fe.iy' or name == 'iy_fe' then |
6019 | notify('Plugin Error','Please enter a valid plugin') |
6020 | else |
6021 | local file |
6022 | local fileName |
6023 | if name:sub(-3) == '.iy' then |
6024 | pcall(function() file = readfile(name) end) |
6025 | fileName = name |
6026 | else |
6027 | pcall(function() file = readfile(name..'.iy') end) |
6028 | fileName = name..'.iy' |
6029 | end |
6030 | if file then |
6031 | if not FindInTable(PluginsTable, fileName) then |
6032 | table.insert(PluginsTable, fileName) |
6033 | LoadPlugin(fileName) |
6034 | refreshplugins() |
6035 | pcall(eventEditor.Refresh) |
6036 | else |
6037 | notify('Plugin Error','This plugin is already added') |
6038 | end |
6039 | else |
6040 | notify('Plugin Error','Cannot locate file "'..fileName..'". Is the file in the correct folder?') |
6041 | end |
6042 | end |
6043 | end |
6044 | |
6045 | function deletePlugin(name) |
6046 | local pName = name..'.iy' |
6047 | if name:sub(-3) == '.iy' then |
6048 | pName = name |
6049 | end |
6050 | for i = #cmds,1,-1 do |
6051 | if cmds[i].PLUGIN == pName then |
6052 | table.remove(cmds, i) |
6053 | end |
6054 | end |
6055 | for i,v in pairs(CMDsF:GetChildren()) do |
6056 | if v.Name == 'PLUGIN_'..pName then |
6057 | v:Destroy() |
6058 | end |
6059 | end |
6060 | for i,v in pairs(PluginsTable) do |
6061 | if v == pName then |
6062 | table.remove(PluginsTable, i) |
6063 | notify('Removed Plugin',pName..' was removed') |
6064 | end |
6065 | end |
6066 | IndexContents('',true) |
6067 | refreshplugins() |
6068 | end |
6069 | |
6070 | function refreshplugins(dontSave) |
6071 | if #PluginsTable > 0 then |
6072 | PluginsHint:Destroy() |
6073 | end |
6074 | if Holder_5 then |
6075 | Holder_5:ClearAllChildren() |
6076 | Holder_5.CanvasSize = UDim2.new(0, 0, 0, 10) |
6077 | for i,v in pairs(PluginsTable) do |
6078 | local pName = v |
6079 | local YSize = 25 |
6080 | local Position = ((i * YSize) - YSize) |
6081 | local newplugin = Example_5:Clone() |
6082 | newplugin.Parent = Holder_5 |
6083 | newplugin.Visible = true |
6084 | newplugin.Position = UDim2.new(0,0,0, Position + 5) |
6085 | newplugin.Text.Text = pName |
6086 | table.insert(shade2,newplugin) |
6087 | table.insert(shade2,newplugin.Text) |
6088 | table.insert(text1,newplugin.Text) |
6089 | table.insert(shade3,newplugin.Text.Delete) |
6090 | table.insert(text2,newplugin.Text.Delete) |
6091 | Holder_5.CanvasSize = UDim2.new(0,0,0, Position + 30) |
6092 | newplugin.Text.Delete.MouseButton1Click:Connect(function() |
6093 | deletePlugin(pName) |
6094 | end) |
6095 | end |
6096 | if not dontSave then |
6097 | updatesaves() |
6098 | end |
6099 | end |
6100 | end |
6101 | |
6102 | local PluginCache |
6103 | function LoadPlugin(val,startup) |
6104 | local plugin |
6105 | |
6106 | function CatchedPluginLoad() |
6107 | plugin = loadfile(val)() |
6108 | end |
6109 | |
6110 | function handlePluginError(plerror) |
6111 | notify('Plugin Error','An error occurred with the plugin, "'..val..'" and it could not be loaded') |
6112 | if FindInTable(PluginsTable,val) then |
6113 | for i,v in pairs(PluginsTable) do |
6114 | if v == val then |
6115 | table.remove(PluginsTable,i) |
6116 | end |
6117 | end |
6118 | end |
6119 | updatesaves() |
6120 | |
6121 | print("Original Error: "..tostring(plerror)) |
6122 | print("Plugin Error, stack traceback: "..tostring(debug.traceback())) |
6123 | |
6124 | plugin = nil |
6125 | |
6126 | return false |
6127 | end |
6128 | |
6129 | xpcall(CatchedPluginLoad, handlePluginError) |
6130 | |
6131 | if plugin ~= nil then |
6132 | if not startup then |
6133 | notify('Loaded Plugin',"Name: "..plugin["PluginName"].."\n".."Description: "..plugin["PluginDescription"]) |
6134 | end |
6135 | addcmdtext('',val) |
6136 | addcmdtext(string.upper('--'..plugin["PluginName"]),val,plugin["PluginDescription"]) |
6137 | if plugin["Commands"] then |
6138 | for i,v in pairs(plugin["Commands"]) do |
6139 | local cmdExt = '' |
6140 | local cmdName = i |
6141 | local function handleNames() |
6142 | cmdName = i |
6143 | if findCmd(cmdName..cmdExt) then |
6144 | if isNumber(cmdExt) then |
6145 | cmdExt = cmdExt+1 |
6146 | else |
6147 | cmdExt = 1 |
6148 | end |
6149 | handleNames() |
6150 | else |
6151 | cmdName = cmdName..cmdExt |
6152 | end |
6153 | end |
6154 | handleNames() |
6155 | addcmd(cmdName, v["Aliases"], v["Function"], val) |
6156 | if v["ListName"] then |
6157 | local newName = v.ListName |
6158 | local cmdNames = {i,unpack(v.Aliases)} |
6159 | for i,v in pairs(cmdNames) do |
6160 | newName = newName:gsub(v,v..cmdExt) |
6161 | end |
6162 | addcmdtext(newName,val,v["Description"]) |
6163 | else |
6164 | addcmdtext(cmdName,val,v["Description"]) |
6165 | end |
6166 | end |
6167 | end |
6168 | IndexContents('',true) |
6169 | elseif plugin == nil then |
6170 | plugin = nil |
6171 | end |
6172 | end |
6173 | |
6174 | function FindPlugins() |
6175 | if PluginsTable ~= nil and type(PluginsTable) == "table" then |
6176 | for i,v in pairs(PluginsTable) do |
6177 | LoadPlugin(v,true) |
6178 | end |
6179 | refreshplugins(true) |
6180 | end |
6181 | end |
6182 | |
6183 | AddPlugin.MouseButton1Click:Connect(function() |
6184 | addPlugin(PluginsGUI.FileName.Text) |
6185 | end) |
6186 | |
6187 | Exit_3.MouseButton1Click:Connect(function() |
6188 | PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil) |
6189 | FileName.Text = 'Plugin File Name' |
6190 | end) |
6191 | |
6192 | Add_3.MouseButton1Click:Connect(function() |
6193 | PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, 310), "InOut", "Quart", 0.5, true, nil) |
6194 | end) |
6195 | |
6196 | Plugins.MouseButton1Click:Connect(function() |
6197 | if writefileExploit() then |
6198 | PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil) |
6199 | wait(0.5) |
6200 | SettingsHolder.Visible = false |
6201 | else |
6202 | notify('Incompatible Exploit','Your exploit is unable to use plugins (missing read/writefile)') |
6203 | end |
6204 | end) |
6205 | |
6206 | Close_4.MouseButton1Click:Connect(function() |
6207 | SettingsHolder.Visible = true |
6208 | PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil) |
6209 | end) |
6210 | |
6211 | local TeleportCheck = false |
6212 | Players.LocalPlayer.OnTeleport:Connect(function(State) |
6213 | if KeepInfYield and (not TeleportCheck) and queueteleport then |
6214 | TeleportCheck = true |
6215 | |
6216 | |
6217 | queueteleport("loadstring(game:HttpGet('https://pastecode.dev/raw/vls9b2lm/infiniteyield-EdgeIY',true))()") |
6218 | end |
6219 | end) |
6220 | |
6221 | addcmd('addalias',{},function(args, speaker) |
6222 | if #args < 2 then return end |
6223 | local cmd = string.lower(args[1]) |
6224 | local alias = string.lower(args[2]) |
6225 | for i,v in pairs(cmds) do |
6226 | if v.NAME:lower()==cmd or FindInTable(v.ALIAS,cmd) then |
6227 | customAlias[alias] = v |
6228 | aliases[#aliases + 1] = {CMD = cmd, ALIAS = alias} |
6229 | notify('Aliases Modified',"Added "..alias.." as an alias to "..cmd) |
6230 | updatesaves() |
6231 | refreshaliases() |
6232 | break |
6233 | end |
6234 | end |
6235 | end) |
6236 | |
6237 | addcmd('removealias',{},function(args, speaker) |
6238 | if #args < 1 then return end |
6239 | local alias = string.lower(args[1]) |
6240 | if customAlias[alias] then |
6241 | local cmd = customAlias[alias].NAME |
6242 | customAlias[alias] = nil |
6243 | for i = #aliases,1,-1 do |
6244 | if aliases[i].ALIAS == tostring(alias) then |
6245 | table.remove(aliases, i) |
6246 | end |
6247 | end |
6248 | notify('Aliases Modified',"Removed the alias "..alias.." from "..cmd) |
6249 | updatesaves() |
6250 | refreshaliases() |
6251 | end |
6252 | end) |
6253 | |
6254 | addcmd('clraliases',{},function(args, speaker) |
6255 | customAlias = {} |
6256 | aliases = {} |
6257 | notify('Aliases Modified','Removed all aliases') |
6258 | updatesaves() |
6259 | refreshaliases() |
6260 | end) |
6261 | |
6262 | addcmd('discord', {'support', 'help'}, function(args, speaker) |
6263 | if toClipboard then |
6264 | toClipboard('https://discord.com/invite/dYHag43eeU') |
6265 | notify('Discord Invite', 'Copied to clipboard!\ndiscord.gg/dYHag43eeU') |
6266 | else |
6267 | notify('Discord Invite', 'discord.gg/dYHag43eeU') |
6268 | end |
6269 | if httprequest then |
6270 | httprequest({ |
6271 | Url = 'http://127.0.0.1:6463/rpc?v=1', |
6272 | Method = 'POST', |
6273 | Headers = { |
6274 | ['Content-Type'] = 'application/json', |
6275 | Origin = 'https://discord.com' |
6276 | }, |
6277 | Body = HttpService:JSONEncode({ |
6278 | cmd = 'INVITE_BROWSER', |
6279 | nonce = HttpService:GenerateGUID(false), |
6280 | args = {code = 'dYHag43eeU'} |
6281 | }) |
6282 | }) |
6283 | end |
6284 | end) |
6285 | |
6286 | addcmd('keepiy', {}, function(args, speaker) |
6287 | if queueteleport then |
6288 | KeepInfYield = true |
6289 | updatesaves() |
6290 | else |
6291 | notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)') |
6292 | end |
6293 | end) |
6294 | |
6295 | addcmd('unkeepiy', {}, function(args, speaker) |
6296 | if queueteleport then |
6297 | KeepInfYield = false |
6298 | updatesaves() |
6299 | else |
6300 | notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)') |
6301 | end |
6302 | end) |
6303 | |
6304 | addcmd('toggleunkeepiy', {}, function(args, speaker) |
6305 | if queueteleport then |
6306 | KeepInfYield = not KeepInfYield |
6307 | updatesaves() |
6308 | else |
6309 | notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)') |
6310 | end |
6311 | end) |
6312 | |
6313 | local canOpenServerinfo = true |
6314 | addcmd('serverinfo',{'info','sinfo'},function(args, speaker) |
6315 | if not canOpenServerinfo then return end |
6316 | canOpenServerinfo = false |
6317 | task.spawn(function() |
6318 | local FRAME = Instance.new("Frame") |
6319 | local shadow = Instance.new("Frame") |
6320 | local PopupText = Instance.new("TextLabel") |
6321 | local Exit = Instance.new("TextButton") |
6322 | local ExitImage = Instance.new("ImageLabel") |
6323 | local background = Instance.new("Frame") |
6324 | local TextLabel = Instance.new("TextLabel") |
6325 | local TextLabel2 = Instance.new("TextLabel") |
6326 | local TextLabel3 = Instance.new("TextLabel") |
6327 | local Time = Instance.new("TextLabel") |
6328 | local appearance = Instance.new("TextLabel") |
6329 | local maxplayers = Instance.new("TextLabel") |
6330 | local name = Instance.new("TextLabel") |
6331 | local placeid = Instance.new("TextLabel") |
6332 | local playerid = Instance.new("TextLabel") |
6333 | local players = Instance.new("TextLabel") |
6334 | local CopyApp = Instance.new("TextButton") |
6335 | local CopyPlrID = Instance.new("TextButton") |
6336 | local CopyPlcID = Instance.new("TextButton") |
6337 | |
6338 | FRAME.Name = randomString() |
6339 | FRAME.Parent = PARENT |
6340 | FRAME.Active = true |
6341 | FRAME.BackgroundTransparency = 1 |
6342 | FRAME.Position = UDim2.new(0.5, -130, 0, -500) |
6343 | FRAME.Size = UDim2.new(0, 250, 0, 20) |
6344 | FRAME.ZIndex = 10 |
6345 | dragGUI(FRAME) |
6346 | |
6347 | shadow.Name = "shadow" |
6348 | shadow.Parent = FRAME |
6349 | shadow.BackgroundColor3 = currentShade2 |
6350 | shadow.BorderSizePixel = 0 |
6351 | shadow.Size = UDim2.new(0, 250, 0, 20) |
6352 | shadow.ZIndex = 10 |
6353 | table.insert(shade2,shadow) |
6354 | |
6355 | PopupText.Name = "PopupText" |
6356 | PopupText.Parent = shadow |
6357 | PopupText.BackgroundTransparency = 1 |
6358 | PopupText.Size = UDim2.new(1, 0, 0.95, 0) |
6359 | PopupText.ZIndex = 10 |
6360 | PopupText.Font = Enum.Font.SourceSans |
6361 | PopupText.TextSize = 14 |
6362 | PopupText.Text = "Server" |
6363 | PopupText.TextColor3 = currentText1 |
6364 | PopupText.TextWrapped = true |
6365 | table.insert(text1,PopupText) |
6366 | |
6367 | Exit.Name = "Exit" |
6368 | Exit.Parent = shadow |
6369 | Exit.BackgroundTransparency = 1 |
6370 | Exit.Position = UDim2.new(1, -20, 0, 0) |
6371 | Exit.Size = UDim2.new(0, 20, 0, 20) |
6372 | Exit.Text = "" |
6373 | Exit.ZIndex = 10 |
6374 | |
6375 | ExitImage.Parent = Exit |
6376 | ExitImage.BackgroundColor3 = Color3.new(1, 1, 1) |
6377 | ExitImage.BackgroundTransparency = 1 |
6378 | ExitImage.Position = UDim2.new(0, 5, 0, 5) |
6379 | ExitImage.Size = UDim2.new(0, 10, 0, 10) |
6380 | ExitImage.Image = "rbxassetid://5054663650" |
6381 | ExitImage.ZIndex = 10 |
6382 | |
6383 | background.Name = "background" |
6384 | background.Parent = FRAME |
6385 | background.Active = true |
6386 | background.BackgroundColor3 = currentShade1 |
6387 | background.BorderSizePixel = 0 |
6388 | background.Position = UDim2.new(0, 0, 1, 0) |
6389 | background.Size = UDim2.new(0, 250, 0, 250) |
6390 | background.ZIndex = 10 |
6391 | table.insert(shade1,background) |
6392 | |
6393 | TextLabel.Name = "Text Label" |
6394 | TextLabel.Parent = background |
6395 | TextLabel.BackgroundTransparency = 1 |
6396 | TextLabel.BorderSizePixel = 0 |
6397 | TextLabel.Position = UDim2.new(0, 5, 0, 80) |
6398 | TextLabel.Size = UDim2.new(0, 100, 0, 20) |
6399 | TextLabel.ZIndex = 10 |
6400 | TextLabel.Font = Enum.Font.SourceSansLight |
6401 | TextLabel.TextSize = 20 |
6402 | TextLabel.Text = "Run Time:" |
6403 | TextLabel.TextColor3 = currentText1 |
6404 | TextLabel.TextXAlignment = Enum.TextXAlignment.Left |
6405 | table.insert(text1,TextLabel) |
6406 | |
6407 | TextLabel2.Name = "Text Label2" |
6408 | TextLabel2.Parent = background |
6409 | TextLabel2.BackgroundTransparency = 1 |
6410 | TextLabel2.BorderSizePixel = 0 |
6411 | TextLabel2.Position = UDim2.new(0, 5, 0, 130) |
6412 | TextLabel2.Size = UDim2.new(0, 100, 0, 20) |
6413 | TextLabel2.ZIndex = 10 |
6414 | TextLabel2.Font = Enum.Font.SourceSansLight |
6415 | TextLabel2.TextSize = 20 |
6416 | TextLabel2.Text = "Statistics:" |
6417 | TextLabel2.TextColor3 = currentText1 |
6418 | TextLabel2.TextXAlignment = Enum.TextXAlignment.Left |
6419 | table.insert(text1,TextLabel2) |
6420 | |
6421 | TextLabel3.Name = "Text Label3" |
6422 | TextLabel3.Parent = background |
6423 | TextLabel3.BackgroundTransparency = 1 |
6424 | TextLabel3.BorderSizePixel = 0 |
6425 | TextLabel3.Position = UDim2.new(0, 5, 0, 10) |
6426 | TextLabel3.Size = UDim2.new(0, 100, 0, 20) |
6427 | TextLabel3.ZIndex = 10 |
6428 | TextLabel3.Font = Enum.Font.SourceSansLight |
6429 | TextLabel3.TextSize = 20 |
6430 | TextLabel3.Text = "Local Player:" |
6431 | TextLabel3.TextColor3 = currentText1 |
6432 | TextLabel3.TextXAlignment = Enum.TextXAlignment.Left |
6433 | table.insert(text1,TextLabel3) |
6434 | |
6435 | Time.Name = "Time" |
6436 | Time.Parent = background |
6437 | Time.BackgroundTransparency = 1 |
6438 | Time.BorderSizePixel = 0 |
6439 | Time.Position = UDim2.new(0, 5, 0, 105) |
6440 | Time.Size = UDim2.new(0, 100, 0, 20) |
6441 | Time.ZIndex = 10 |
6442 | Time.Font = Enum.Font.SourceSans |
6443 | Time.FontSize = Enum.FontSize.Size14 |
6444 | Time.Text = "LOADING" |
6445 | Time.TextColor3 = currentText1 |
6446 | Time.TextXAlignment = Enum.TextXAlignment.Left |
6447 | table.insert(text1,Time) |
6448 | |
6449 | appearance.Name = "appearance" |
6450 | appearance.Parent = background |
6451 | appearance.BackgroundTransparency = 1 |
6452 | appearance.BorderSizePixel = 0 |
6453 | appearance.Position = UDim2.new(0, 5, 0, 55) |
6454 | appearance.Size = UDim2.new(0, 100, 0, 20) |
6455 | appearance.ZIndex = 10 |
6456 | appearance.Font = Enum.Font.SourceSans |
6457 | appearance.FontSize = Enum.FontSize.Size14 |
6458 | appearance.Text = "Appearance: LOADING" |
6459 | appearance.TextColor3 = currentText1 |
6460 | appearance.TextXAlignment = Enum.TextXAlignment.Left |
6461 | table.insert(text1,appearance) |
6462 | |
6463 | maxplayers.Name = "maxplayers" |
6464 | maxplayers.Parent = background |
6465 | maxplayers.BackgroundTransparency = 1 |
6466 | maxplayers.BorderSizePixel = 0 |
6467 | maxplayers.Position = UDim2.new(0, 5, 0, 175) |
6468 | maxplayers.Size = UDim2.new(0, 100, 0, 20) |
6469 | maxplayers.ZIndex = 10 |
6470 | maxplayers.Font = Enum.Font.SourceSans |
6471 | maxplayers.FontSize = Enum.FontSize.Size14 |
6472 | maxplayers.Text = "LOADING" |
6473 | maxplayers.TextColor3 = currentText1 |
6474 | maxplayers.TextXAlignment = Enum.TextXAlignment.Left |
6475 | table.insert(text1,maxplayers) |
6476 | |
6477 | name.Name = "name" |
6478 | name.Parent = background |
6479 | name.BackgroundTransparency = 1 |
6480 | name.BorderSizePixel = 0 |
6481 | name.Position = UDim2.new(0, 5, 0, 215) |
6482 | name.Size = UDim2.new(0, 240, 0, 30) |
6483 | name.ZIndex = 10 |
6484 | name.Font = Enum.Font.SourceSans |
6485 | name.FontSize = Enum.FontSize.Size14 |
6486 | name.Text = "Place Name: LOADING" |
6487 | name.TextColor3 = currentText1 |
6488 | name.TextWrapped = true |
6489 | name.TextXAlignment = Enum.TextXAlignment.Left |
6490 | name.TextYAlignment = Enum.TextYAlignment.Top |
6491 | table.insert(text1,name) |
6492 | |
6493 | placeid.Name = "placeid" |
6494 | placeid.Parent = background |
6495 | placeid.BackgroundTransparency = 1 |
6496 | placeid.BorderSizePixel = 0 |
6497 | placeid.Position = UDim2.new(0, 5, 0, 195) |
6498 | placeid.Size = UDim2.new(0, 100, 0, 20) |
6499 | placeid.ZIndex = 10 |
6500 | placeid.Font = Enum.Font.SourceSans |
6501 | placeid.FontSize = Enum.FontSize.Size14 |
6502 | placeid.Text = "Place ID: LOADING" |
6503 | placeid.TextColor3 = currentText1 |
6504 | placeid.TextXAlignment = Enum.TextXAlignment.Left |
6505 | table.insert(text1,placeid) |
6506 | |
6507 | playerid.Name = "playerid" |
6508 | playerid.Parent = background |
6509 | playerid.BackgroundTransparency = 1 |
6510 | playerid.BorderSizePixel = 0 |
6511 | playerid.Position = UDim2.new(0, 5, 0, 35) |
6512 | playerid.Size = UDim2.new(0, 100, 0, 20) |
6513 | playerid.ZIndex = 10 |
6514 | playerid.Font = Enum.Font.SourceSans |
6515 | playerid.FontSize = Enum.FontSize.Size14 |
6516 | playerid.Text = "Player ID: LOADING" |
6517 | playerid.TextColor3 = currentText1 |
6518 | playerid.TextXAlignment = Enum.TextXAlignment.Left |
6519 | table.insert(text1,playerid) |
6520 | |
6521 | players.Name = "players" |
6522 | players.Parent = background |
6523 | players.BackgroundTransparency = 1 |
6524 | players.BorderSizePixel = 0 |
6525 | players.Position = UDim2.new(0, 5, 0, 155) |
6526 | players.Size = UDim2.new(0, 100, 0, 20) |
6527 | players.ZIndex = 10 |
6528 | players.Font = Enum.Font.SourceSans |
6529 | players.FontSize = Enum.FontSize.Size14 |
6530 | players.Text = "LOADING" |
6531 | players.TextColor3 = currentText1 |
6532 | players.TextXAlignment = Enum.TextXAlignment.Left |
6533 | table.insert(text1,players) |
6534 | |
6535 | CopyApp.Name = "CopyApp" |
6536 | CopyApp.Parent = background |
6537 | CopyApp.BackgroundColor3 = currentShade2 |
6538 | CopyApp.BorderSizePixel = 0 |
6539 | CopyApp.Position = UDim2.new(0, 210, 0, 55) |
6540 | CopyApp.Size = UDim2.new(0, 35, 0, 20) |
6541 | CopyApp.Font = Enum.Font.SourceSans |
6542 | CopyApp.TextSize = 14 |
6543 | CopyApp.Text = "Copy" |
6544 | CopyApp.TextColor3 = currentText1 |
6545 | CopyApp.ZIndex = 10 |
6546 | table.insert(shade2,CopyApp) |
6547 | table.insert(text1,CopyApp) |
6548 | |
6549 | CopyPlrID.Name = "CopyPlrID" |
6550 | CopyPlrID.Parent = background |
6551 | CopyPlrID.BackgroundColor3 = currentShade2 |
6552 | CopyPlrID.BorderSizePixel = 0 |
6553 | CopyPlrID.Position = UDim2.new(0, 210, 0, 35) |
6554 | CopyPlrID.Size = UDim2.new(0, 35, 0, 20) |
6555 | CopyPlrID.Font = Enum.Font.SourceSans |
6556 | CopyPlrID.TextSize = 14 |
6557 | CopyPlrID.Text = "Copy" |
6558 | CopyPlrID.TextColor3 = currentText1 |
6559 | CopyPlrID.ZIndex = 10 |
6560 | table.insert(shade2,CopyPlrID) |
6561 | table.insert(text1,CopyPlrID) |
6562 | |
6563 | CopyPlcID.Name = "CopyPlcID" |
6564 | CopyPlcID.Parent = background |
6565 | CopyPlcID.BackgroundColor3 = currentShade2 |
6566 | CopyPlcID.BorderSizePixel = 0 |
6567 | CopyPlcID.Position = UDim2.new(0, 210, 0, 195) |
6568 | CopyPlcID.Size = UDim2.new(0, 35, 0, 20) |
6569 | CopyPlcID.Font = Enum.Font.SourceSans |
6570 | CopyPlcID.TextSize = 14 |
6571 | CopyPlcID.Text = "Copy" |
6572 | CopyPlcID.TextColor3 = currentText1 |
6573 | CopyPlcID.ZIndex = 10 |
6574 | table.insert(shade2,CopyPlcID) |
6575 | table.insert(text1,CopyPlcID) |
6576 | |
6577 | local SINFOGUI = background |
6578 | FRAME:TweenPosition(UDim2.new(0.5, -130, 0, 100), "InOut", "Quart", 0.5, true, nil) |
6579 | wait(0.5) |
6580 | Exit.MouseButton1Click:Connect(function() |
6581 | FRAME:TweenPosition(UDim2.new(0.5, -130, 0, -500), "InOut", "Quart", 0.5, true, nil) |
6582 | wait(0.6) |
6583 | FRAME:Destroy() |
6584 | canOpenServerinfo = true |
6585 | end) |
6586 | local Asset = MarketplaceService:GetProductInfo(PlaceId) |
6587 | SINFOGUI.name.Text = "Place Name: " .. Asset.Name |
6588 | SINFOGUI.playerid.Text = "Player ID: " ..speaker.UserId |
6589 | SINFOGUI.maxplayers.Text = Players.MaxPlayers.. " Players Max" |
6590 | SINFOGUI.placeid.Text = "Place ID: " ..PlaceId |
6591 | |
6592 | CopyApp.MouseButton1Click:Connect(function() |
6593 | toClipboard(speaker.CharacterAppearanceId) |
6594 | end) |
6595 | CopyPlrID.MouseButton1Click:Connect(function() |
6596 | toClipboard(speaker.UserId) |
6597 | end) |
6598 | CopyPlcID.MouseButton1Click:Connect(function() |
6599 | toClipboard(PlaceId) |
6600 | end) |
6601 | |
6602 | repeat |
6603 | players = Players:GetPlayers() |
6604 | SINFOGUI.players.Text = #players.. " Player(s)" |
6605 | SINFOGUI.appearance.Text = "Appearance: " ..speaker.CharacterAppearanceId |
6606 | local seconds = math.floor(workspace.DistributedGameTime) |
6607 | local minutes = math.floor(workspace.DistributedGameTime / 60) |
6608 | local hours = math.floor(workspace.DistributedGameTime / 60 / 60) |
6609 | local seconds = seconds - (minutes * 60) |
6610 | local minutes = minutes - (hours * 60) |
6611 | if hours < 1 then if minutes < 1 then |
6612 | SINFOGUI.Time.Text = seconds .. " Second(s)" else |
6613 | SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" |
6614 | end |
6615 | else |
6616 | SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)" |
6617 | end |
6618 | wait(1) |
6619 | until SINFOGUI.Parent == nil |
6620 | end) |
6621 | end) |
6622 | |
6623 | addcmd('jobid',{},function(args, speaker) |
6624 | local jobId = 'Roblox.GameLauncher.joinGameInstance('..PlaceId..', "'..JobId..'")' |
6625 | toClipboard(jobId) |
6626 | end) |
6627 | |
6628 | addcmd('notifyjobid',{},function(args, speaker) |
6629 | notify('JobId / PlaceId',JobId..' / '..PlaceId) |
6630 | end) |
6631 | |
6632 | addcmd('breakloops',{'break'},function(args, speaker) |
6633 | lastBreakTime = tick() |
6634 | end) |
6635 | |
6636 | addcmd('gametp',{'gameteleport'},function(args, speaker) |
6637 | TeleportService:Teleport(args[1]) |
6638 | end) |
6639 | |
6640 | addcmd("rejoin", {"rj"}, function(args, speaker) |
6641 | if #Players:GetPlayers() <= 1 then |
6642 | Players.LocalPlayer:Kick("\nRejoining...") |
6643 | wait() |
6644 | TeleportService:Teleport(PlaceId, Players.LocalPlayer) |
6645 | else |
6646 | TeleportService:TeleportToPlaceInstance(PlaceId, JobId, Players.LocalPlayer) |
6647 | end |
6648 | end) |
6649 | |
6650 | addcmd("autorejoin", {"autorj"}, function(args, speaker) |
6651 | GuiService.ErrorMessageChanged:Connect(function() |
6652 | execCmd("rejoin") |
6653 | end) |
6654 | notify("Auto Rejoin", "Auto rejoin enabled") |
6655 | end) |
6656 | |
6657 | addcmd('serverhop',{'shop'},function(args, speaker) |
6658 | -- thanks to NoobSploit for fixing |
6659 | if httprequest then |
6660 | local servers = {} |
6661 | local req = httprequest({Url = string.format("https://games.roblox.com/v1/games/%d/servers/Public?sortOrder=Desc&limit=100&excludeFullGames=true", PlaceId)}) |
6662 | local body = HttpService:JSONDecode(req.Body) |
6663 | if body and body.data then |
6664 | for i, v in next, body.data do |
6665 | if type(v) == "table" and tonumber(v.playing) and tonumber(v.maxPlayers) and v.playing < v.maxPlayers and v.id ~= JobId then |
6666 | table.insert(servers, 1, v.id) |
6667 | end |
6668 | end |
6669 | end |
6670 | if #servers > 0 then |
6671 | TeleportService:TeleportToPlaceInstance(PlaceId, servers[math.random(1, #servers)], Players.LocalPlayer) |
6672 | else |
6673 | return notify("Serverhop", "Couldn't find a server.") |
6674 | end |
6675 | end |
6676 | end) |
6677 | |
6678 | addcmd('joinplayer',{'joinp'},function(args, speaker) |
6679 | local retries = 0 |
6680 | function ToServer(User,Place) |
6681 | if args[2] == nil then Place = PlaceId end |
6682 | if not pcall(function() |
6683 | local FoundUser, UserId = pcall(function() |
6684 | if tonumber(User) then |
6685 | return tonumber(User) |
6686 | end |
6687 | |
6688 | return Players:GetUserIdFromNameAsync(User) |
6689 | end) |
6690 | if not FoundUser then |
6691 | notify('Join Error','Username/UserID does not exist') |
6692 | else |
6693 | notify('Join Player','Loading servers. Hold on a second.') |
6694 | local URL2 = ("https://games.roblox.com/v1/games/"..Place.."/servers/Public?sortOrder=Asc&limit=100") |
6695 | local Http = HttpService:JSONDecode(game:HttpGet(URL2)) |
6696 | local GUID |
6697 | |
6698 | function tablelength(T) |
6699 | local count = 0 |
6700 | for _ in pairs(T) do count = count + 1 end |
6701 | return count |
6702 | end |
6703 | |
6704 | for i=1,tonumber(tablelength(Http.data)) do |
6705 | for j,k in pairs(Http.data[i].playerIds) do |
6706 | if k == UserId then |
6707 | GUID = Http.data[i].id |
6708 | end |
6709 | end |
6710 | end |
6711 | |
6712 | if GUID ~= nil then |
6713 | notify('Join Player','Joining '..User) |
6714 | TeleportService:TeleportToPlaceInstance(Place,GUID,Players.LocalPlayer) |
6715 | else |
6716 | notify('Join Error','Unable to join user.') |
6717 | end |
6718 | end |
6719 | end) |
6720 | then |
6721 | if retries < 3 then |
6722 | retries = retries + 1 |
6723 | print('ERROR retrying '..retries..'/3') |
6724 | notify('Join Error','Error while trying to join. Retrying '..retries..'/3.') |
6725 | ToServer(User,Place) |
6726 | else |
6727 | notify('Join Error','Error while trying to join.') |
6728 | end |
6729 | end |
6730 | end |
6731 | ToServer(args[1],args[2]) |
6732 | end) |
6733 | |
6734 | addcmd('exit',{},function(args, speaker) |
6735 | game:shutdown() |
6736 | end) |
6737 | |
6738 | local Noclipping = nil |
6739 | addcmd('noclip',{},function(args, speaker) |
6740 | Clip = false |
6741 | wait(0.1) |
6742 | local function NoclipLoop() |
6743 | if Clip == false and speaker.Character ~= nil then |
6744 | for _, child in pairs(speaker.Character:GetDescendants()) do |
6745 | if child:IsA("BasePart") and child.CanCollide == true and child.Name ~= floatName then |
6746 | child.CanCollide = false |
6747 | end |
6748 | end |
6749 | end |
6750 | end |
6751 | Noclipping = RunService.Stepped:Connect(NoclipLoop) |
6752 | end) |
6753 | |
6754 | addcmd('clip',{'unnoclip'},function(args, speaker) |
6755 | if Noclipping then |
6756 | Noclipping:Disconnect() |
6757 | end |
6758 | Clip = true |
6759 | end) |
6760 | |
6761 | addcmd('togglenoclip',{},function(args, speaker) |
6762 | if Clip then |
6763 | execCmd('noclip') |
6764 | else |
6765 | execCmd('clip') |
6766 | end |
6767 | end) |
6768 | |
6769 | FLYING = false |
6770 | QEfly = true |
6771 | iyflyspeed = 1 |
6772 | vehicleflyspeed = 1 |
6773 | function sFLY(vfly) |
6774 | repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") |
6775 | repeat wait() until IYMouse |
6776 | if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end |
6777 | |
6778 | local T = getRoot(Players.LocalPlayer.Character) |
6779 | local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0} |
6780 | local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0} |
6781 | local SPEED = 0 |
6782 | |
6783 | local function FLY() |
6784 | FLYING = true |
6785 | local BG = Instance.new('BodyGyro') |
6786 | local BV = Instance.new('BodyVelocity') |
6787 | BG.P = 9e4 |
6788 | BG.Parent = T |
6789 | BV.Parent = T |
6790 | BG.maxTorque = Vector3.new(9e9, 9e9, 9e9) |
6791 | BG.cframe = T.CFrame |
6792 | BV.velocity = Vector3.new(0, 0, 0) |
6793 | BV.maxForce = Vector3.new(9e9, 9e9, 9e9) |
6794 | task.spawn(function() |
6795 | repeat wait() |
6796 | if not vfly and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then |
6797 | Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true |
6798 | end |
6799 | if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then |
6800 | SPEED = 50 |
6801 | elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then |
6802 | SPEED = 0 |
6803 | end |
6804 | if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then |
6805 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED |
6806 | lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R} |
6807 | elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then |
6808 | BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED |
6809 | else |
6810 | BV.velocity = Vector3.new(0, 0, 0) |
6811 | end |
6812 | BG.cframe = workspace.CurrentCamera.CoordinateFrame |
6813 | until not FLYING |
6814 | CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0} |
6815 | lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0} |
6816 | SPEED = 0 |
6817 | BG:Destroy() |
6818 | BV:Destroy() |
6819 | if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then |
6820 | Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false |
6821 | end |
6822 | end) |
6823 | end |
6824 | flyKeyDown = IYMouse.KeyDown:Connect(function(KEY) |
6825 | if KEY:lower() == 'w' then |
6826 | CONTROL.F = (vfly and vehicleflyspeed or iyflyspeed) |
6827 | elseif KEY:lower() == 's' then |
6828 | CONTROL.B = - (vfly and vehicleflyspeed or iyflyspeed) |
6829 | elseif KEY:lower() == 'a' then |
6830 | CONTROL.L = - (vfly and vehicleflyspeed or iyflyspeed) |
6831 | elseif KEY:lower() == 'd' then |
6832 | CONTROL.R = (vfly and vehicleflyspeed or iyflyspeed) |
6833 | elseif QEfly and KEY:lower() == 'e' then |
6834 | CONTROL.Q = (vfly and vehicleflyspeed or iyflyspeed)*2 |
6835 | elseif QEfly and KEY:lower() == 'q' then |
6836 | CONTROL.E = -(vfly and vehicleflyspeed or iyflyspeed)*2 |
6837 | end |
6838 | pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Track end) |
6839 | end) |
6840 | flyKeyUp = IYMouse.KeyUp:Connect(function(KEY) |
6841 | if KEY:lower() == 'w' then |
6842 | CONTROL.F = 0 |
6843 | elseif KEY:lower() == 's' then |
6844 | CONTROL.B = 0 |
6845 | elseif KEY:lower() == 'a' then |
6846 | CONTROL.L = 0 |
6847 | elseif KEY:lower() == 'd' then |
6848 | CONTROL.R = 0 |
6849 | elseif KEY:lower() == 'e' then |
6850 | CONTROL.Q = 0 |
6851 | elseif KEY:lower() == 'q' then |
6852 | CONTROL.E = 0 |
6853 | end |
6854 | end) |
6855 | FLY() |
6856 | end |
6857 | |
6858 | function NOFLY() |
6859 | FLYING = false |
6860 | if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end |
6861 | if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then |
6862 | Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false |
6863 | end |
6864 | pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Custom end) |
6865 | end |
6866 | |
6867 | local velocityHandlerName = randomString() |
6868 | local gyroHandlerName = randomString() |
6869 | local mfly1 |
6870 | local mfly2 |
6871 | |
6872 | local unmobilefly = function(speaker) |
6873 | pcall(function() |
6874 | FLYING = false |
6875 | local root = getRoot(speaker.Character) |
6876 | root:FindFirstChild(velocityHandlerName):Destroy() |
6877 | root:FindFirstChild(gyroHandlerName):Destroy() |
6878 | speaker.Character:FindFirstChildWhichIsA("Humanoid").PlatformStand = false |
6879 | mfly1:Disconnect() |
6880 | mfly2:Disconnect() |
6881 | end) |
6882 | end |
6883 | |
6884 | local mobilefly = function(speaker, vfly) |
6885 | unmobilefly(speaker) |
6886 | FLYING = true |
6887 | |
6888 | local root = getRoot(speaker.Character) |
6889 | local camera = workspace.CurrentCamera |
6890 | local v3none = Vector3.new() |
6891 | local v3zero = Vector3.new(0, 0, 0) |
6892 | local v3inf = Vector3.new(9e9, 9e9, 9e9) |
6893 | |
6894 | local controlModule = require(speaker.PlayerScripts:WaitForChild("PlayerModule"):WaitForChild("ControlModule")) |
6895 | local bv = Instance.new("BodyVelocity") |
6896 | bv.Name = velocityHandlerName |
6897 | bv.Parent = root |
6898 | bv.MaxForce = v3zero |
6899 | bv.Velocity = v3zero |
6900 | |
6901 | local bg = Instance.new("BodyGyro") |
6902 | bg.Name = gyroHandlerName |
6903 | bg.Parent = root |
6904 | bg.MaxTorque = v3inf |
6905 | bg.P = 1000 |
6906 | bg.D = 50 |
6907 | |
6908 | mfly1 = speaker.CharacterAdded:Connect(function() |
6909 | local bv = Instance.new("BodyVelocity") |
6910 | bv.Name = velocityHandlerName |
6911 | bv.Parent = root |
6912 | bv.MaxForce = v3zero |
6913 | bv.Velocity = v3zero |
6914 | |
6915 | local bg = Instance.new("BodyGyro") |
6916 | bg.Name = gyroHandlerName |
6917 | bg.Parent = root |
6918 | bg.MaxTorque = v3inf |
6919 | bg.P = 1000 |
6920 | bg.D = 50 |
6921 | end) |
6922 | |
6923 | mfly2 = RunService.RenderStepped:Connect(function() |
6924 | root = getRoot(speaker.Character) |
6925 | camera = workspace.CurrentCamera |
6926 | if speaker.Character:FindFirstChildWhichIsA("Humanoid") and root and root:FindFirstChild(velocityHandlerName) and root:FindFirstChild(gyroHandlerName) then |
6927 | local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid") |
6928 | local VelocityHandler = root:FindFirstChild(velocityHandlerName) |
6929 | local GyroHandler = root:FindFirstChild(gyroHandlerName) |
6930 | |
6931 | VelocityHandler.MaxForce = v3inf |
6932 | GyroHandler.MaxTorque = v3inf |
6933 | if not vfly then humanoid.PlatformStand = true end |
6934 | GyroHandler.CFrame = camera.CoordinateFrame |
6935 | VelocityHandler.Velocity = v3none |
6936 | |
6937 | local direction = controlModule:GetMoveVector() |
6938 | if direction.X > 0 then |
6939 | VelocityHandler.Velocity = VelocityHandler.Velocity + camera.CFrame.RightVector * (direction.X * ((vfly and vehicleflyspeed or iyflyspeed) * 50)) |
6940 | end |
6941 | if direction.X < 0 then |
6942 | VelocityHandler.Velocity = VelocityHandler.Velocity + camera.CFrame.RightVector * (direction.X * ((vfly and vehicleflyspeed or iyflyspeed) * 50)) |
6943 | end |
6944 | if direction.Z > 0 then |
6945 | VelocityHandler.Velocity = VelocityHandler.Velocity - camera.CFrame.LookVector * (direction.Z * ((vfly and vehicleflyspeed or iyflyspeed) * 50)) |
6946 | end |
6947 | if direction.Z < 0 then |
6948 | VelocityHandler.Velocity = VelocityHandler.Velocity - camera.CFrame.LookVector * (direction.Z * ((vfly and vehicleflyspeed or iyflyspeed) * 50)) |
6949 | end |
6950 | end |
6951 | end) |
6952 | end |
6953 | |
6954 | addcmd('fly',{},function(args, speaker) |
6955 | if not IsOnMobile then |
6956 | NOFLY() |
6957 | wait() |
6958 | sFLY() |
6959 | else |
6960 | mobilefly(speaker) |
6961 | end |
6962 | if args[1] and isNumber(args[1]) then |
6963 | iyflyspeed = args[1] |
6964 | end |
6965 | end) |
6966 | |
6967 | addcmd('flyspeed',{'flysp'},function(args, speaker) |
6968 | local speed = args[1] or 1 |
6969 | if isNumber(speed) then |
6970 | iyflyspeed = speed |
6971 | end |
6972 | end) |
6973 | |
6974 | addcmd('unfly',{'nofly','novfly','unvehiclefly','novehiclefly','unvfly'},function(args, speaker) |
6975 | if not IsOnMobile then NOFLY() else unmobilefly(speaker) end |
6976 | end) |
6977 | |
6978 | addcmd('vfly',{'vehiclefly'},function(args, speaker) |
6979 | if not IsOnMobile then |
6980 | NOFLY() |
6981 | wait() |
6982 | sFLY(true) |
6983 | else |
6984 | mobilefly(speaker, true) |
6985 | end |
6986 | if args[1] and isNumber(args[1]) then |
6987 | vehicleflyspeed = args[1] |
6988 | end |
6989 | end) |
6990 | |
6991 | addcmd('togglevfly',{},function(args, speaker) |
6992 | if FLYING then |
6993 | if not IsOnMobile then NOFLY() else unmobilefly(speaker) end |
6994 | else |
6995 | if not IsOnMobile then sFLY(true) else mobilefly(speaker, true) end |
6996 | end |
6997 | end) |
6998 | |
6999 | addcmd('vflyspeed',{'vflysp','vehicleflyspeed','vehicleflysp'},function(args, speaker) |
7000 | local speed = args[1] or 1 |
7001 | if isNumber(speed) then |
7002 | vehicleflyspeed = speed |
7003 | end |
7004 | end) |
7005 | |
7006 | addcmd('qefly',{'flyqe'},function(args, speaker) |
7007 | if args[1] == 'false' then |
7008 | QEfly = false |
7009 | else |
7010 | QEfly = true |
7011 | end |
7012 | end) |
7013 | |
7014 | addcmd('togglefly',{},function(args, speaker) |
7015 | if FLYING then |
7016 | if not IsOnMobile then NOFLY() else unmobilefly(speaker) end |
7017 | else |
7018 | if not IsOnMobile then sFLY() else mobilefly(speaker) end |
7019 | end |
7020 | end) |
7021 | |
7022 | CFspeed = 50 |
7023 | addcmd('cframefly', {'cfly'}, function(args, speaker) |
7024 | -- Full credit to peyton#9148 (apeyton) |
7025 | speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true |
7026 | local Head = speaker.Character:WaitForChild("Head") |
7027 | Head.Anchored = true |
7028 | if CFloop then CFloop:Disconnect() end |
7029 | CFloop = RunService.Heartbeat:Connect(function(deltaTime) |
7030 | local moveDirection = speaker.Character:FindFirstChildOfClass('Humanoid').MoveDirection * (CFspeed * deltaTime) |
7031 | local headCFrame = Head.CFrame |
7032 | local cameraCFrame = workspace.CurrentCamera.CFrame |
7033 | local cameraOffset = headCFrame:ToObjectSpace(cameraCFrame).Position |
7034 | cameraCFrame = cameraCFrame * CFrame.new(-cameraOffset.X, -cameraOffset.Y, -cameraOffset.Z + 1) |
7035 | local cameraPosition = cameraCFrame.Position |
7036 | local headPosition = headCFrame.Position |
7037 | |
7038 | local objectSpaceVelocity = CFrame.new(cameraPosition, Vector3.new(headPosition.X, cameraPosition.Y, headPosition.Z)):VectorToObjectSpace(moveDirection) |
7039 | Head.CFrame = CFrame.new(headPosition) * (cameraCFrame - cameraPosition) * CFrame.new(objectSpaceVelocity) |
7040 | end) |
7041 | end) |
7042 | |
7043 | addcmd('uncframefly',{'uncfly'},function(args, speaker) |
7044 | if CFloop then |
7045 | CFloop:Disconnect() |
7046 | speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false |
7047 | local Head = speaker.Character:WaitForChild("Head") |
7048 | Head.Anchored = false |
7049 | end |
7050 | end) |
7051 | |
7052 | addcmd('cframeflyspeed',{'cflyspeed'},function(args, speaker) |
7053 | if isNumber(args[1]) then |
7054 | CFspeed = args[1] |
7055 | end |
7056 | end) |
7057 | |
7058 | Floating = false |
7059 | floatName = randomString() |
7060 | addcmd('float', {'platform'},function(args, speaker) |
7061 | Floating = true |
7062 | local pchar = speaker.Character |
7063 | if pchar and not pchar:FindFirstChild(floatName) then |
7064 | task.spawn(function() |
7065 | local Float = Instance.new('Part') |
7066 | Float.Name = floatName |
7067 | Float.Parent = pchar |
7068 | Float.Transparency = 1 |
7069 | Float.Size = Vector3.new(2,0.2,1.5) |
7070 | Float.Anchored = true |
7071 | local FloatValue = -3.1 |
7072 | Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0) |
7073 | notify('Float','Float Enabled (Q = down & E = up)') |
7074 | qUp = IYMouse.KeyUp:Connect(function(KEY) |
7075 | if KEY == 'q' then |
7076 | FloatValue = FloatValue + 0.5 |
7077 | end |
7078 | end) |
7079 | eUp = IYMouse.KeyUp:Connect(function(KEY) |
7080 | if KEY == 'e' then |
7081 | FloatValue = FloatValue - 0.5 |
7082 | end |
7083 | end) |
7084 | qDown = IYMouse.KeyDown:Connect(function(KEY) |
7085 | if KEY == 'q' then |
7086 | FloatValue = FloatValue - 0.5 |
7087 | end |
7088 | end) |
7089 | eDown = IYMouse.KeyDown:Connect(function(KEY) |
7090 | if KEY == 'e' then |
7091 | FloatValue = FloatValue + 0.5 |
7092 | end |
7093 | end) |
7094 | floatDied = speaker.Character:FindFirstChildOfClass('Humanoid').Died:Connect(function() |
7095 | FloatingFunc:Disconnect() |
7096 | Float:Destroy() |
7097 | qUp:Disconnect() |
7098 | eUp:Disconnect() |
7099 | qDown:Disconnect() |
7100 | eDown:Disconnect() |
7101 | floatDied:Disconnect() |
7102 | end) |
7103 | local function FloatPadLoop() |
7104 | if pchar:FindFirstChild(floatName) and getRoot(pchar) then |
7105 | Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0) |
7106 | else |
7107 | FloatingFunc:Disconnect() |
7108 | Float:Destroy() |
7109 | qUp:Disconnect() |
7110 | eUp:Disconnect() |
7111 | qDown:Disconnect() |
7112 | eDown:Disconnect() |
7113 | floatDied:Disconnect() |
7114 | end |
7115 | end |
7116 | FloatingFunc = RunService.Heartbeat:Connect(FloatPadLoop) |
7117 | end) |
7118 | end |
7119 | end) |
7120 | |
7121 | addcmd('unfloat',{'nofloat','unplatform','noplatform'},function(args, speaker) |
7122 | Floating = false |
7123 | local pchar = speaker.Character |
7124 | notify('Float','Float Disabled') |
7125 | if pchar:FindFirstChild(floatName) then |
7126 | pchar:FindFirstChild(floatName):Destroy() |
7127 | end |
7128 | if floatDied then |
7129 | FloatingFunc:Disconnect() |
7130 | qUp:Disconnect() |
7131 | eUp:Disconnect() |
7132 | qDown:Disconnect() |
7133 | eDown:Disconnect() |
7134 | floatDied:Disconnect() |
7135 | end |
7136 | end) |
7137 | |
7138 | addcmd('togglefloat',{},function(args, speaker) |
7139 | if Floating then |
7140 | execCmd('unfloat') |
7141 | else |
7142 | execCmd('float') |
7143 | end |
7144 | end) |
7145 | |
7146 | swimming = false |
7147 | local oldgrav = workspace.Gravity |
7148 | local swimbeat = nil |
7149 | addcmd('swim',{},function(args, speaker) |
7150 | if not swimming and speaker and speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid") then |
7151 | oldgrav = workspace.Gravity |
7152 | workspace.Gravity = 0 |
7153 | local swimDied = function() |
7154 | workspace.Gravity = oldgrav |
7155 | swimming = false |
7156 | end |
7157 | local Humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid") |
7158 | gravReset = Humanoid.Died:Connect(swimDied) |
7159 | local enums = Enum.HumanoidStateType:GetEnumItems() |
7160 | table.remove(enums, table.find(enums, Enum.HumanoidStateType.None)) |
7161 | for i, v in pairs(enums) do |
7162 | Humanoid:SetStateEnabled(v, false) |
7163 | end |
7164 | Humanoid:ChangeState(Enum.HumanoidStateType.Swimming) |
7165 | swimbeat = RunService.Heartbeat:Connect(function() |
7166 | pcall(function() |
7167 | speaker.Character.HumanoidRootPart.Velocity = ((Humanoid.MoveDirection ~= Vector3.new() or UserInputService:IsKeyDown(Enum.KeyCode.Space)) and speaker.Character.HumanoidRootPart.Velocity or Vector3.new()) |
7168 | end) |
7169 | end) |
7170 | swimming = true |
7171 | end |
7172 | end) |
7173 | |
7174 | addcmd('unswim',{'noswim'},function(args, speaker) |
7175 | if speaker and speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid") then |
7176 | workspace.Gravity = oldgrav |
7177 | swimming = false |
7178 | if gravReset then |
7179 | gravReset:Disconnect() |
7180 | end |
7181 | if swimbeat ~= nil then |
7182 | swimbeat:Disconnect() |
7183 | swimbeat = nil |
7184 | end |
7185 | local Humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid") |
7186 | local enums = Enum.HumanoidStateType:GetEnumItems() |
7187 | table.remove(enums, table.find(enums, Enum.HumanoidStateType.None)) |
7188 | for i, v in pairs(enums) do |
7189 | Humanoid:SetStateEnabled(v, true) |
7190 | end |
7191 | end |
7192 | end) |
7193 | |
7194 | addcmd('toggleswim',{},function(args, speaker) |
7195 | if swimming then |
7196 | execCmd('unswim') |
7197 | else |
7198 | execCmd('swim') |
7199 | end |
7200 | end) |
7201 | |
7202 | addcmd('setwaypoint',{'swp','setwp','spos','saveposition','savepos'},function(args, speaker) |
7203 | local WPName = tostring(getstring(1)) |
7204 | if getRoot(speaker.Character) then |
7205 | notify('Modified Waypoints',"Created waypoint: "..getstring(1)) |
7206 | local torso = getRoot(speaker.Character) |
7207 | WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = PlaceId} |
7208 | if AllWaypoints ~= nil then |
7209 | AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = PlaceId} |
7210 | end |
7211 | end |
7212 | refreshwaypoints() |
7213 | updatesaves() |
7214 | end) |
7215 | |
7216 | addcmd('waypointpos',{'wpp','setwaypointposition','setpos','setwaypoint','setwaypointpos'},function(args, speaker) |
7217 | local WPName = tostring(getstring(1)) |
7218 | if getRoot(speaker.Character) then |
7219 | notify('Modified Waypoints',"Created waypoint: "..getstring(1)) |
7220 | WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = PlaceId} |
7221 | if AllWaypoints ~= nil then |
7222 | AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = PlaceId} |
7223 | end |
7224 | end |
7225 | refreshwaypoints() |
7226 | updatesaves() |
7227 | end) |
7228 | |
7229 | addcmd('waypoints',{'positions'},function(args, speaker) |
7230 | if SettingsOpen == false then SettingsOpen = true |
7231 | Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil) |
7232 | CMDsF.Visible = false |
7233 | end |
7234 | KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil) |
7235 | AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil) |
7236 | PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil) |
7237 | PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil) |
7238 | wait(0.5) |
7239 | SettingsHolder.Visible = false |
7240 | maximizeHolder() |
7241 | end) |
7242 | |
7243 | waypointParts = {} |
7244 | addcmd('showwaypoints',{'showwp','showwps'},function(args, speaker) |
7245 | execCmd('hidewaypoints') |
7246 | wait() |
7247 | for i,_ in pairs(WayPoints) do |
7248 | local x = WayPoints[i].COORD[1] |
7249 | local y = WayPoints[i].COORD[2] |
7250 | local z = WayPoints[i].COORD[3] |
7251 | local part = Instance.new("Part") |
7252 | part.Size = Vector3.new(5,5,5) |
7253 | part.CFrame = CFrame.new(x,y,z) |
7254 | part.Parent = workspace |
7255 | part.Anchored = true |
7256 | part.CanCollide = false |
7257 | table.insert(waypointParts,part) |
7258 | local view = Instance.new("BoxHandleAdornment") |
7259 | view.Adornee = part |
7260 | view.AlwaysOnTop = true |
7261 | view.ZIndex = 10 |
7262 | view.Size = part.Size |
7263 | view.Parent = part |
7264 | end |
7265 | for i,v in pairs(pWayPoints) do |
7266 | local view = Instance.new("BoxHandleAdornment") |
7267 | view.Adornee = pWayPoints[i].COORD[1] |
7268 | view.AlwaysOnTop = true |
7269 | view.ZIndex = 10 |
7270 | view.Size = pWayPoints[i].COORD[1].Size |
7271 | view.Parent = pWayPoints[i].COORD[1] |
7272 | table.insert(waypointParts,view) |
7273 | end |
7274 | end) |
7275 | |
7276 | addcmd('hidewaypoints',{'hidewp','hidewps'},function(args, speaker) |
7277 | for i,v in pairs(waypointParts) do |
7278 | v:Destroy() |
7279 | end |
7280 | waypointParts = {} |
7281 | end) |
7282 | |
7283 | addcmd('waypoint',{'wp','lpos','loadposition','loadpos'},function(args, speaker) |
7284 | local WPName = tostring(getstring(1)) |
7285 | if speaker.Character then |
7286 | for i,_ in pairs(WayPoints) do |
7287 | if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then |
7288 | local x = WayPoints[i].COORD[1] |
7289 | local y = WayPoints[i].COORD[2] |
7290 | local z = WayPoints[i].COORD[3] |
7291 | getRoot(speaker.Character).CFrame = CFrame.new(x,y,z) |
7292 | end |
7293 | end |
7294 | for i,_ in pairs(pWayPoints) do |
7295 | if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then |
7296 | getRoot(speaker.Character).CFrame = CFrame.new(pWayPoints[i].COORD[1].Position) |
7297 | end |
7298 | end |
7299 | end |
7300 | end) |
7301 | |
7302 | tweenSpeed = 1 |
7303 | addcmd('tweenspeed',{'tspeed'},function(args, speaker) |
7304 | local newSpeed = args[1] or 1 |
7305 | if tonumber(newSpeed) then |
7306 | tweenSpeed = tonumber(newSpeed) |
7307 | end |
7308 | end) |
7309 | |
7310 | addcmd('tweenwaypoint',{'twp'},function(args, speaker) |
7311 | local WPName = tostring(getstring(1)) |
7312 | if speaker.Character then |
7313 | for i,_ in pairs(WayPoints) do |
7314 | local x = WayPoints[i].COORD[1] |
7315 | local y = WayPoints[i].COORD[2] |
7316 | local z = WayPoints[i].COORD[3] |
7317 | if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then |
7318 | TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(x,y,z)}):Play() |
7319 | end |
7320 | end |
7321 | for i,_ in pairs(pWayPoints) do |
7322 | if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then |
7323 | TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)}):Play() |
7324 | end |
7325 | end |
7326 | end |
7327 | end) |
7328 | |
7329 | addcmd('walktowaypoint',{'wtwp'},function(args, speaker) |
7330 | local WPName = tostring(getstring(1)) |
7331 | if speaker.Character then |
7332 | for i,_ in pairs(WayPoints) do |
7333 | local x = WayPoints[i].COORD[1] |
7334 | local y = WayPoints[i].COORD[2] |
7335 | local z = WayPoints[i].COORD[3] |
7336 | if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then |
7337 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
7338 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
7339 | wait(.1) |
7340 | end |
7341 | speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(x,y,z) |
7342 | end |
7343 | end |
7344 | for i,_ in pairs(pWayPoints) do |
7345 | if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then |
7346 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
7347 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
7348 | wait(.1) |
7349 | end |
7350 | speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(pWayPoints[i].COORD[1].Position) |
7351 | end |
7352 | end |
7353 | end |
7354 | end) |
7355 | |
7356 | addcmd('deletewaypoint',{'dwp','dpos','deleteposition','deletepos'},function(args, speaker) |
7357 | for i,v in pairs(WayPoints) do |
7358 | if v.NAME:lower() == tostring(getstring(1)):lower() then |
7359 | notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME) |
7360 | table.remove(WayPoints, i) |
7361 | end |
7362 | end |
7363 | if AllWaypoints ~= nil and #AllWaypoints > 0 then |
7364 | for i,v in pairs(AllWaypoints) do |
7365 | if v.NAME:lower() == tostring(getstring(1)):lower() then |
7366 | if not v.GAME or v.GAME == PlaceId then |
7367 | table.remove(AllWaypoints, i) |
7368 | end |
7369 | end |
7370 | end |
7371 | end |
7372 | for i,v in pairs(pWayPoints) do |
7373 | if v.NAME:lower() == tostring(getstring(1)):lower() then |
7374 | notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME) |
7375 | table.remove(pWayPoints, i) |
7376 | end |
7377 | end |
7378 | refreshwaypoints() |
7379 | updatesaves() |
7380 | end) |
7381 | |
7382 | addcmd('clearwaypoints',{'cwp','clearpositions','cpos','clearpos'},function(args, speaker) |
7383 | WayPoints = {} |
7384 | pWayPoints = {} |
7385 | refreshwaypoints() |
7386 | updatesaves() |
7387 | AllWaypoints = {} |
7388 | notify('Modified Waypoints','Removed all waypoints') |
7389 | end) |
7390 | |
7391 | addcmd('cleargamewaypoints',{'cgamewp'},function(args, speaker) |
7392 | for i,v in pairs(WayPoints) do |
7393 | if v.GAME == PlaceId then |
7394 | table.remove(WayPoints, i) |
7395 | end |
7396 | end |
7397 | if AllWaypoints ~= nil and #AllWaypoints > 0 then |
7398 | for i,v in pairs(AllWaypoints) do |
7399 | if v.GAME == PlaceId then |
7400 | table.remove(AllWaypoints, i) |
7401 | end |
7402 | end |
7403 | end |
7404 | for i,v in pairs(pWayPoints) do |
7405 | if v.GAME == PlaceId then |
7406 | table.remove(pWayPoints, i) |
7407 | end |
7408 | end |
7409 | refreshwaypoints() |
7410 | updatesaves() |
7411 | notify('Modified Waypoints','Deleted game waypoints') |
7412 | end) |
7413 | |
7414 | |
7415 | local coreGuiTypeNames = { |
7416 | -- predefined aliases |
7417 | ["inventory"] = Enum.CoreGuiType.Backpack, |
7418 | ["leaderboard"] = Enum.CoreGuiType.PlayerList, |
7419 | ["emotes"] = Enum.CoreGuiType.EmotesMenu |
7420 | } |
7421 | |
7422 | -- Load the full list of enums |
7423 | for _, enumItem in ipairs(Enum.CoreGuiType:GetEnumItems()) do |
7424 | coreGuiTypeNames[enumItem.Name:lower()] = enumItem |
7425 | end |
7426 | |
7427 | addcmd('enable',{},function(args, speaker) |
7428 | local input = args[1] and args[1]:lower() |
7429 | if input then |
7430 | if input == "reset" then |
7431 | StarterGui:SetCore("ResetButtonCallback", true) |
7432 | else |
7433 | local coreGuiType = coreGuiTypeNames[input] |
7434 | if coreGuiType then |
7435 | StarterGui:SetCoreGuiEnabled(coreGuiType, true) |
7436 | end |
7437 | end |
7438 | end |
7439 | end) |
7440 | |
7441 | addcmd('disable',{},function(args, speaker) |
7442 | local input = args[1] and args[1]:lower() |
7443 | if input then |
7444 | if input == "reset" then |
7445 | StarterGui:SetCore("ResetButtonCallback", false) |
7446 | else |
7447 | local coreGuiType = coreGuiTypeNames[input] |
7448 | if coreGuiType then |
7449 | StarterGui:SetCoreGuiEnabled(coreGuiType, false) |
7450 | end |
7451 | end |
7452 | end |
7453 | end) |
7454 | |
7455 | |
7456 | local invisGUIS = {} |
7457 | addcmd('showguis',{},function(args, speaker) |
7458 | for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do |
7459 | if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and not v.Visible then |
7460 | v.Visible = true |
7461 | if not FindInTable(invisGUIS,v) then |
7462 | table.insert(invisGUIS,v) |
7463 | end |
7464 | end |
7465 | end |
7466 | end) |
7467 | |
7468 | addcmd('unshowguis',{},function(args, speaker) |
7469 | for i,v in pairs(invisGUIS) do |
7470 | v.Visible = false |
7471 | end |
7472 | invisGUIS = {} |
7473 | end) |
7474 | |
7475 | local hiddenGUIS = {} |
7476 | addcmd('hideguis',{},function(args, speaker) |
7477 | for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do |
7478 | if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and v.Visible then |
7479 | v.Visible = false |
7480 | if not FindInTable(hiddenGUIS,v) then |
7481 | table.insert(hiddenGUIS,v) |
7482 | end |
7483 | end |
7484 | end |
7485 | end) |
7486 | |
7487 | addcmd('unhideguis',{},function(args, speaker) |
7488 | for i,v in pairs(hiddenGUIS) do |
7489 | v.Visible = true |
7490 | end |
7491 | hiddenGUIS = {} |
7492 | end) |
7493 | |
7494 | function deleteGuisAtPos() |
7495 | pcall(function() |
7496 | local guisAtPosition = Players.LocalPlayer.PlayerGui:GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y) |
7497 | for _, gui in pairs(guisAtPosition) do |
7498 | if gui.Visible == true then |
7499 | gui:Destroy() |
7500 | end |
7501 | end |
7502 | end) |
7503 | end |
7504 | |
7505 | local deleteGuiInput |
7506 | addcmd('guidelete',{},function(args, speaker) |
7507 | deleteGuiInput = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent) |
7508 | if not gameProcessedEvent then |
7509 | if input.KeyCode == Enum.KeyCode.Backspace then |
7510 | deleteGuisAtPos() |
7511 | end |
7512 | end |
7513 | end) |
7514 | notify('GUI Delete Enabled','Hover over a GUI and press backspace to delete it') |
7515 | end) |
7516 | |
7517 | addcmd('unguidelete',{'noguidelete'},function(args, speaker) |
7518 | if deleteGuiInput then deleteGuiInput:Disconnect() end |
7519 | notify('GUI Delete Disabled','GUI backspace delete has been disabled') |
7520 | end) |
7521 | |
7522 | local wasStayOpen = StayOpen |
7523 | addcmd('hideiy',{},function(args, speaker) |
7524 | isHidden = true |
7525 | wasStayOpen = StayOpen |
7526 | if StayOpen == true then |
7527 | StayOpen = false |
7528 | On.BackgroundTransparency = 1 |
7529 | end |
7530 | minimizeNum = 0 |
7531 | minimizeHolder() |
7532 | if not (args[1] and tostring(args[1]) == 'nonotify') then notify('IY Hidden','You can press the prefix key to access the command bar') end |
7533 | end) |
7534 | |
7535 | addcmd('showiy',{'unhideiy'},function(args, speaker) |
7536 | isHidden = false |
7537 | minimizeNum = -20 |
7538 | if wasStayOpen then |
7539 | maximizeHolder() |
7540 | StayOpen = true |
7541 | On.BackgroundTransparency = 0 |
7542 | else |
7543 | minimizeHolder() |
7544 | end |
7545 | end) |
7546 | |
7547 | addcmd('rec', {'record'}, function(args, speaker) |
7548 | return COREGUI:ToggleRecording() |
7549 | end) |
7550 | |
7551 | addcmd('screenshot', {'scrnshot'}, function(args, speaker) |
7552 | return COREGUI:TakeScreenshot() |
7553 | end) |
7554 | |
7555 | addcmd('togglefs', {'togglefullscreen'}, function(args, speaker) |
7556 | return GuiService:ToggleFullscreen() |
7557 | end) |
7558 | |
7559 | addcmd('inspect', {'examine'}, function(args, speaker) |
7560 | for _, v in ipairs(getPlayer(args[1], speaker)) do |
7561 | GuiService:CloseInspectMenu() |
7562 | GuiService:InspectPlayerFromUserId(Players[v].UserId) |
7563 | end |
7564 | end) |
7565 | |
7566 | addcmd('savegame',{'saveplace'},function(args, speaker) |
7567 | if saveinstance then |
7568 | notify("Loading","Downloading game. This will take a while") |
7569 | if getsynasset then |
7570 | saveinstance() |
7571 | else |
7572 | saveinstance(game) |
7573 | end |
7574 | notify('Game Saved','Saved place to the workspace folder within your exploit folder.') |
7575 | else |
7576 | notify('Incompatible Exploit','Your exploit does not support this command (missing saveinstance)') |
7577 | end |
7578 | end) |
7579 | |
7580 | addcmd('clearerror',{'clearerrors'},function(args, speaker) |
7581 | GuiService:ClearError() |
7582 | end) |
7583 | |
7584 | addcmd('clientantikick',{'antikick'},function(args, speaker) |
7585 | if not hookmetamethod then |
7586 | return notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)') |
7587 | end |
7588 | local LocalPlayer = Players.LocalPlayer |
7589 | local oldhmmi |
7590 | local oldhmmnc |
7591 | oldhmmi = hookmetamethod(game, "__index", function(self, method) |
7592 | if self == LocalPlayer and method:lower() == "kick" then |
7593 | return error("Expected ':' not '.' calling member function Kick", 2) |
7594 | end |
7595 | return oldhmmi(self, method) |
7596 | end) |
7597 | oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...) |
7598 | if self == LocalPlayer and getnamecallmethod():lower() == "kick" then |
7599 | return |
7600 | end |
7601 | return oldhmmnc(self, ...) |
7602 | end) |
7603 | |
7604 | notify('Client Antikick','Client anti kick is now active (only effective on localscript kick)') |
7605 | end) |
7606 | |
7607 | allow_rj = true |
7608 | addcmd('clientantiteleport',{'antiteleport'},function(args, speaker) |
7609 | if not hookmetamethod then |
7610 | return notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)') |
7611 | end |
7612 | local TeleportService = TeleportService |
7613 | local oldhmmi |
7614 | local oldhmmnc |
7615 | oldhmmi = hookmetamethod(game, "__index", function(self, method) |
7616 | if self == TeleportService then |
7617 | if method:lower() == "teleport" then |
7618 | return error("Expected ':' not '.' calling member function Kick", 2) |
7619 | elseif method == "TeleportToPlaceInstance" then |
7620 | return error("Expected ':' not '.' calling member function TeleportToPlaceInstance", 2) |
7621 | end |
7622 | end |
7623 | return oldhmmi(self, method) |
7624 | end) |
7625 | oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...) |
7626 | if self == TeleportService and getnamecallmethod():lower() == "teleport" or getnamecallmethod() == "TeleportToPlaceInstance" then |
7627 | return |
7628 | end |
7629 | return oldhmmnc(self, ...) |
7630 | end) |
7631 | |
7632 | notify('Client AntiTP','Client anti teleport is now active (only effective on localscript teleport)') |
7633 | end) |
7634 | |
7635 | addcmd('allowrejoin',{'allowrj'},function(args, speaker) |
7636 | if args[1] and args[1] == 'false' then |
7637 | allow_rj = false |
7638 | notify('Client AntiTP','Allow rejoin set to false') |
7639 | else |
7640 | allow_rj = true |
7641 | notify('Client AntiTP','Allow rejoin set to true') |
7642 | end |
7643 | end) |
7644 | |
7645 | addcmd('cancelteleport',{'canceltp'},function(args, speaker) |
7646 | TeleportService:TeleportCancel() |
7647 | end) |
7648 | |
7649 | addcmd('volume',{'vol'},function(args, speaker) |
7650 | local level = args[1]/10 |
7651 | UserSettings():GetService("UserGameSettings").MasterVolume = level |
7652 | end) |
7653 | |
7654 | addcmd('antilag',{'boostfps','lowgraphics'},function(args, speaker) |
7655 | local Terrain = workspace:FindFirstChildOfClass('Terrain') |
7656 | Terrain.WaterWaveSize = 0 |
7657 | Terrain.WaterWaveSpeed = 0 |
7658 | Terrain.WaterReflectance = 0 |
7659 | Terrain.WaterTransparency = 0 |
7660 | Lighting.GlobalShadows = false |
7661 | Lighting.FogEnd = 9e9 |
7662 | settings().Rendering.QualityLevel = 1 |
7663 | for i,v in pairs(game:GetDescendants()) do |
7664 | if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then |
7665 | v.Material = "Plastic" |
7666 | v.Reflectance = 0 |
7667 | elseif v:IsA("Decal") then |
7668 | v.Transparency = 1 |
7669 | elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then |
7670 | v.Lifetime = NumberRange.new(0) |
7671 | elseif v:IsA("Explosion") then |
7672 | v.BlastPressure = 1 |
7673 | v.BlastRadius = 1 |
7674 | end |
7675 | end |
7676 | for i,v in pairs(Lighting:GetDescendants()) do |
7677 | if v:IsA("BlurEffect") or v:IsA("SunRaysEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("BloomEffect") or v:IsA("DepthOfFieldEffect") then |
7678 | v.Enabled = false |
7679 | end |
7680 | end |
7681 | workspace.DescendantAdded:Connect(function(child) |
7682 | task.spawn(function() |
7683 | if child:IsA('ForceField') then |
7684 | RunService.Heartbeat:Wait() |
7685 | child:Destroy() |
7686 | elseif child:IsA('Sparkles') then |
7687 | RunService.Heartbeat:Wait() |
7688 | child:Destroy() |
7689 | elseif child:IsA('Smoke') or child:IsA('Fire') then |
7690 | RunService.Heartbeat:Wait() |
7691 | child:Destroy() |
7692 | end |
7693 | end) |
7694 | end) |
7695 | end) |
7696 | |
7697 | addcmd('setfpscap', {'fpscap', 'maxfps'}, function(args, speaker) |
7698 | if setfpscap and type(setfpscap) == "function" then |
7699 | local num = args[1] or 1e6 |
7700 | if num == 'none' then |
7701 | return setfpscap(1e6) |
7702 | elseif num > 0 then |
7703 | return setfpscap(num) |
7704 | else |
7705 | return notify('Invalid argument', "Please provide a number above 0 or 'none'.") |
7706 | end |
7707 | else |
7708 | return notify('Incompatible Exploit', 'Your exploit does not support this command (missing setfpscap)') |
7709 | end |
7710 | end) |
7711 | |
7712 | addcmd('notify',{},function(args, speaker) |
7713 | notify(getstring(1)) |
7714 | end) |
7715 | |
7716 | addcmd('lastcommand',{'lastcmd'},function(args, speaker) |
7717 | if cmdHistory[1]:sub(1,11) ~= 'lastcommand' and cmdHistory[1]:sub(1,7) ~= 'lastcmd' then |
7718 | execCmd(cmdHistory[1]) |
7719 | end |
7720 | end) |
7721 | |
7722 | addcmd('esp',{},function(args, speaker) |
7723 | if not CHMSenabled then |
7724 | ESPenabled = true |
7725 | for i,v in pairs(Players:GetChildren()) do |
7726 | if v.ClassName == "Player" and v.Name ~= speaker.Name then |
7727 | ESP(v) |
7728 | end |
7729 | end |
7730 | else |
7731 | notify('ESP','Disable chams (nochams) before using esp') |
7732 | end |
7733 | end) |
7734 | |
7735 | addcmd('noesp',{'unesp'},function(args, speaker) |
7736 | ESPenabled = false |
7737 | for i,c in pairs(COREGUI:GetChildren()) do |
7738 | if string.sub(c.Name, -4) == '_ESP' then |
7739 | c:Destroy() |
7740 | end |
7741 | end |
7742 | end) |
7743 | |
7744 | addcmd('esptransparency',{},function(args, speaker) |
7745 | espTransparency = (args[1] and isNumber(args[1]) and args[1]) or 0.3 |
7746 | updatesaves() |
7747 | end) |
7748 | |
7749 | local espParts = {} |
7750 | local partEspTrigger = nil |
7751 | function partAdded(part) |
7752 | if #espParts > 0 then |
7753 | if FindInTable(espParts,part.Name:lower()) then |
7754 | local a = Instance.new("BoxHandleAdornment") |
7755 | a.Name = part.Name:lower().."_PESP" |
7756 | a.Parent = part |
7757 | a.Adornee = part |
7758 | a.AlwaysOnTop = true |
7759 | a.ZIndex = 0 |
7760 | a.Size = part.Size |
7761 | a.Transparency = espTransparency |
7762 | a.Color = BrickColor.new("Lime green") |
7763 | end |
7764 | else |
7765 | partEspTrigger:Disconnect() |
7766 | partEspTrigger = nil |
7767 | end |
7768 | end |
7769 | |
7770 | addcmd('partesp',{},function(args, speaker) |
7771 | local partEspName = getstring(1):lower() |
7772 | if not FindInTable(espParts,partEspName) then |
7773 | table.insert(espParts,partEspName) |
7774 | for i,v in pairs(workspace:GetDescendants()) do |
7775 | if v:IsA("BasePart") and v.Name:lower() == partEspName then |
7776 | local a = Instance.new("BoxHandleAdornment") |
7777 | a.Name = partEspName.."_PESP" |
7778 | a.Parent = v |
7779 | a.Adornee = v |
7780 | a.AlwaysOnTop = true |
7781 | a.ZIndex = 0 |
7782 | a.Size = v.Size |
7783 | a.Transparency = espTransparency |
7784 | a.Color = BrickColor.new("Lime green") |
7785 | end |
7786 | end |
7787 | end |
7788 | if partEspTrigger == nil then |
7789 | partEspTrigger = workspace.DescendantAdded:Connect(partAdded) |
7790 | end |
7791 | end) |
7792 | |
7793 | addcmd('unpartesp',{'nopartesp'},function(args, speaker) |
7794 | if args[1] then |
7795 | local partEspName = getstring(1):lower() |
7796 | if FindInTable(espParts,partEspName) then |
7797 | table.remove(espParts, GetInTable(espParts, partEspName)) |
7798 | end |
7799 | for i,v in pairs(workspace:GetDescendants()) do |
7800 | if v:IsA("BoxHandleAdornment") and v.Name == partEspName..'_PESP' then |
7801 | v:Destroy() |
7802 | end |
7803 | end |
7804 | else |
7805 | partEspTrigger:Disconnect() |
7806 | partEspTrigger = nil |
7807 | espParts = {} |
7808 | for i,v in pairs(workspace:GetDescendants()) do |
7809 | if v:IsA("BoxHandleAdornment") and v.Name:sub(-5) == '_PESP' then |
7810 | v:Destroy() |
7811 | end |
7812 | end |
7813 | end |
7814 | end) |
7815 | |
7816 | addcmd('chams',{},function(args, speaker) |
7817 | if not ESPenabled then |
7818 | CHMSenabled = true |
7819 | for i,v in pairs(Players:GetChildren()) do |
7820 | if v.ClassName == "Player" and v.Name ~= speaker.Name then |
7821 | CHMS(v) |
7822 | end |
7823 | end |
7824 | else |
7825 | notify('Chams','Disable ESP (noesp) before using chams') |
7826 | end |
7827 | end) |
7828 | |
7829 | addcmd('nochams',{'unchams'},function(args, speaker) |
7830 | CHMSenabled = false |
7831 | for i,v in pairs(Players:GetChildren()) do |
7832 | local chmsplr = v |
7833 | for i,c in pairs(COREGUI:GetChildren()) do |
7834 | if c.Name == chmsplr.Name..'_CHMS' then |
7835 | c:Destroy() |
7836 | end |
7837 | end |
7838 | end |
7839 | end) |
7840 | |
7841 | addcmd('locate',{},function(args, speaker) |
7842 | local players = getPlayer(args[1], speaker) |
7843 | for i,v in pairs(players) do |
7844 | Locate(Players[v]) |
7845 | end |
7846 | end) |
7847 | |
7848 | addcmd('nolocate',{'unlocate'},function(args, speaker) |
7849 | local players = getPlayer(args[1], speaker) |
7850 | if args[1] then |
7851 | for i,v in pairs(players) do |
7852 | for i,c in pairs(COREGUI:GetChildren()) do |
7853 | if c.Name == Players[v].Name..'_LC' then |
7854 | c:Destroy() |
7855 | end |
7856 | end |
7857 | end |
7858 | else |
7859 | for i,c in pairs(COREGUI:GetChildren()) do |
7860 | if string.sub(c.Name, -3) == '_LC' then |
7861 | c:Destroy() |
7862 | end |
7863 | end |
7864 | end |
7865 | end) |
7866 | |
7867 | viewing = nil |
7868 | addcmd('view',{'spectate'},function(args, speaker) |
7869 | StopFreecam() |
7870 | local players = getPlayer(args[1], speaker) |
7871 | for i,v in pairs(players) do |
7872 | if viewDied then |
7873 | viewDied:Disconnect() |
7874 | viewChanged:Disconnect() |
7875 | end |
7876 | viewing = Players[v] |
7877 | workspace.CurrentCamera.CameraSubject = viewing.Character |
7878 | notify('Spectate','Viewing ' .. Players[v].Name) |
7879 | local function viewDiedFunc() |
7880 | repeat wait() until Players[v].Character ~= nil and getRoot(Players[v].Character) |
7881 | workspace.CurrentCamera.CameraSubject = viewing.Character |
7882 | end |
7883 | viewDied = Players[v].CharacterAdded:Connect(viewDiedFunc) |
7884 | local function viewChangedFunc() |
7885 | workspace.CurrentCamera.CameraSubject = viewing.Character |
7886 | end |
7887 | viewChanged = workspace.CurrentCamera:GetPropertyChangedSignal("CameraSubject"):Connect(viewChangedFunc) |
7888 | end |
7889 | end) |
7890 | |
7891 | addcmd('viewpart',{'viewp'},function(args, speaker) |
7892 | StopFreecam() |
7893 | if args[1] then |
7894 | for i,v in pairs(workspace:GetDescendants()) do |
7895 | if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then |
7896 | wait(0.1) |
7897 | workspace.CurrentCamera.CameraSubject = v |
7898 | end |
7899 | end |
7900 | end |
7901 | end) |
7902 | |
7903 | addcmd('unview',{'unspectate'},function(args, speaker) |
7904 | StopFreecam() |
7905 | if viewing ~= nil then |
7906 | viewing = nil |
7907 | notify('Spectate','View turned off') |
7908 | end |
7909 | if viewDied then |
7910 | viewDied:Disconnect() |
7911 | viewChanged:Disconnect() |
7912 | end |
7913 | workspace.CurrentCamera.CameraSubject = speaker.Character |
7914 | end) |
7915 | |
7916 | |
7917 | fcRunning = false |
7918 | local Camera = workspace.CurrentCamera |
7919 | workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function() |
7920 | local newCamera = workspace.CurrentCamera |
7921 | if newCamera then |
7922 | Camera = newCamera |
7923 | end |
7924 | end) |
7925 | |
7926 | local INPUT_PRIORITY = Enum.ContextActionPriority.High.Value |
7927 | |
7928 | Spring = {} do |
7929 | Spring.__index = Spring |
7930 | |
7931 | function Spring.new(freq, pos) |
7932 | local self = setmetatable({}, Spring) |
7933 | self.f = freq |
7934 | self.p = pos |
7935 | self.v = pos*0 |
7936 | return self |
7937 | end |
7938 | |
7939 | function Spring:Update(dt, goal) |
7940 | local f = self.f*2*math.pi |
7941 | local p0 = self.p |
7942 | local v0 = self.v |
7943 | |
7944 | local offset = goal - p0 |
7945 | local decay = math.exp(-f*dt) |
7946 | |
7947 | local p1 = goal + (v0*dt - offset*(f*dt + 1))*decay |
7948 | local v1 = (f*dt*(offset*f - v0) + v0)*decay |
7949 | |
7950 | self.p = p1 |
7951 | self.v = v1 |
7952 | |
7953 | return p1 |
7954 | end |
7955 | |
7956 | function Spring:Reset(pos) |
7957 | self.p = pos |
7958 | self.v = pos*0 |
7959 | end |
7960 | end |
7961 | |
7962 | local cameraPos = Vector3.new() |
7963 | local cameraRot = Vector2.new() |
7964 | |
7965 | local velSpring = Spring.new(5, Vector3.new()) |
7966 | local panSpring = Spring.new(5, Vector2.new()) |
7967 | |
7968 | Input = {} do |
7969 | |
7970 | keyboard = { |
7971 | W = 0, |
7972 | A = 0, |
7973 | S = 0, |
7974 | D = 0, |
7975 | E = 0, |
7976 | Q = 0, |
7977 | Up = 0, |
7978 | Down = 0, |
7979 | LeftShift = 0, |
7980 | } |
7981 | |
7982 | mouse = { |
7983 | Delta = Vector2.new(), |
7984 | } |
7985 | |
7986 | NAV_KEYBOARD_SPEED = Vector3.new(1, 1, 1) |
7987 | PAN_MOUSE_SPEED = Vector2.new(1, 1)*(math.pi/64) |
7988 | NAV_ADJ_SPEED = 0.75 |
7989 | NAV_SHIFT_MUL = 0.25 |
7990 | |
7991 | navSpeed = 1 |
7992 | |
7993 | function Input.Vel(dt) |
7994 | navSpeed = math.clamp(navSpeed + dt*(keyboard.Up - keyboard.Down)*NAV_ADJ_SPEED, 0.01, 4) |
7995 | |
7996 | local kKeyboard = Vector3.new( |
7997 | keyboard.D - keyboard.A, |
7998 | keyboard.E - keyboard.Q, |
7999 | keyboard.S - keyboard.W |
8000 | )*NAV_KEYBOARD_SPEED |
8001 | |
8002 | local shift = UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) |
8003 | |
8004 | return (kKeyboard)*(navSpeed*(shift and NAV_SHIFT_MUL or 1)) |
8005 | end |
8006 | |
8007 | function Input.Pan(dt) |
8008 | local kMouse = mouse.Delta*PAN_MOUSE_SPEED |
8009 | mouse.Delta = Vector2.new() |
8010 | return kMouse |
8011 | end |
8012 | |
8013 | do |
8014 | function Keypress(action, state, input) |
8015 | keyboard[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0 |
8016 | return Enum.ContextActionResult.Sink |
8017 | end |
8018 | |
8019 | function MousePan(action, state, input) |
8020 | local delta = input.Delta |
8021 | mouse.Delta = Vector2.new(-delta.y, -delta.x) |
8022 | return Enum.ContextActionResult.Sink |
8023 | end |
8024 | |
8025 | function Zero(t) |
8026 | for k, v in pairs(t) do |
8027 | t[k] = v*0 |
8028 | end |
8029 | end |
8030 | |
8031 | function Input.StartCapture() |
8032 | ContextActionService:BindActionAtPriority("FreecamKeyboard",Keypress,false,INPUT_PRIORITY, |
8033 | Enum.KeyCode.W, |
8034 | Enum.KeyCode.A, |
8035 | Enum.KeyCode.S, |
8036 | Enum.KeyCode.D, |
8037 | Enum.KeyCode.E, |
8038 | Enum.KeyCode.Q, |
8039 | Enum.KeyCode.Up, |
8040 | Enum.KeyCode.Down |
8041 | ) |
8042 | ContextActionService:BindActionAtPriority("FreecamMousePan",MousePan,false,INPUT_PRIORITY,Enum.UserInputType.MouseMovement) |
8043 | end |
8044 | |
8045 | function Input.StopCapture() |
8046 | navSpeed = 1 |
8047 | Zero(keyboard) |
8048 | Zero(mouse) |
8049 | ContextActionService:UnbindAction("FreecamKeyboard") |
8050 | ContextActionService:UnbindAction("FreecamMousePan") |
8051 | end |
8052 | end |
8053 | end |
8054 | |
8055 | function GetFocusDistance(cameraFrame) |
8056 | local znear = 0.1 |
8057 | local viewport = Camera.ViewportSize |
8058 | local projy = 2*math.tan(cameraFov/2) |
8059 | local projx = viewport.x/viewport.y*projy |
8060 | local fx = cameraFrame.rightVector |
8061 | local fy = cameraFrame.upVector |
8062 | local fz = cameraFrame.lookVector |
8063 | |
8064 | local minVect = Vector3.new() |
8065 | local minDist = 512 |
8066 | |
8067 | for x = 0, 1, 0.5 do |
8068 | for y = 0, 1, 0.5 do |
8069 | local cx = (x - 0.5)*projx |
8070 | local cy = (y - 0.5)*projy |
8071 | local offset = fx*cx - fy*cy + fz |
8072 | local origin = cameraFrame.p + offset*znear |
8073 | local _, hit = workspace:FindPartOnRay(Ray.new(origin, offset.unit*minDist)) |
8074 | local dist = (hit - origin).magnitude |
8075 | if minDist > dist then |
8076 | minDist = dist |
8077 | minVect = offset.unit |
8078 | end |
8079 | end |
8080 | end |
8081 | |
8082 | return fz:Dot(minVect)*minDist |
8083 | end |
8084 | |
8085 | local function StepFreecam(dt) |
8086 | local vel = velSpring:Update(dt, Input.Vel(dt)) |
8087 | local pan = panSpring:Update(dt, Input.Pan(dt)) |
8088 | |
8089 | local zoomFactor = math.sqrt(math.tan(math.rad(70/2))/math.tan(math.rad(cameraFov/2))) |
8090 | |
8091 | cameraRot = cameraRot + pan*Vector2.new(0.75, 1)*8*(dt/zoomFactor) |
8092 | cameraRot = Vector2.new(math.clamp(cameraRot.x, -math.rad(90), math.rad(90)), cameraRot.y%(2*math.pi)) |
8093 | |
8094 | local cameraCFrame = CFrame.new(cameraPos)*CFrame.fromOrientation(cameraRot.x, cameraRot.y, 0)*CFrame.new(vel*Vector3.new(1, 1, 1)*64*dt) |
8095 | cameraPos = cameraCFrame.p |
8096 | |
8097 | Camera.CFrame = cameraCFrame |
8098 | Camera.Focus = cameraCFrame*CFrame.new(0, 0, -GetFocusDistance(cameraCFrame)) |
8099 | Camera.FieldOfView = cameraFov |
8100 | end |
8101 | |
8102 | local PlayerState = {} do |
8103 | mouseBehavior = "" |
8104 | mouseIconEnabled = "" |
8105 | cameraType = "" |
8106 | cameraFocus = "" |
8107 | cameraCFrame = "" |
8108 | cameraFieldOfView = "" |
8109 | |
8110 | function PlayerState.Push() |
8111 | cameraFieldOfView = Camera.FieldOfView |
8112 | Camera.FieldOfView = 70 |
8113 | |
8114 | cameraType = Camera.CameraType |
8115 | Camera.CameraType = Enum.CameraType.Custom |
8116 | |
8117 | cameraCFrame = Camera.CFrame |
8118 | cameraFocus = Camera.Focus |
8119 | |
8120 | mouseIconEnabled = UserInputService.MouseIconEnabled |
8121 | UserInputService.MouseIconEnabled = true |
8122 | |
8123 | mouseBehavior = UserInputService.MouseBehavior |
8124 | UserInputService.MouseBehavior = Enum.MouseBehavior.Default |
8125 | end |
8126 | |
8127 | function PlayerState.Pop() |
8128 | Camera.FieldOfView = 70 |
8129 | |
8130 | Camera.CameraType = cameraType |
8131 | cameraType = nil |
8132 | |
8133 | Camera.CFrame = cameraCFrame |
8134 | cameraCFrame = nil |
8135 | |
8136 | Camera.Focus = cameraFocus |
8137 | cameraFocus = nil |
8138 | |
8139 | UserInputService.MouseIconEnabled = mouseIconEnabled |
8140 | mouseIconEnabled = nil |
8141 | |
8142 | UserInputService.MouseBehavior = mouseBehavior |
8143 | mouseBehavior = nil |
8144 | end |
8145 | end |
8146 | |
8147 | function StartFreecam(pos) |
8148 | if fcRunning then |
8149 | StopFreecam() |
8150 | end |
8151 | local cameraCFrame = Camera.CFrame |
8152 | if pos then |
8153 | cameraCFrame = pos |
8154 | end |
8155 | cameraRot = Vector2.new() |
8156 | cameraPos = cameraCFrame.p |
8157 | cameraFov = Camera.FieldOfView |
8158 | |
8159 | velSpring:Reset(Vector3.new()) |
8160 | panSpring:Reset(Vector2.new()) |
8161 | |
8162 | PlayerState.Push() |
8163 | RunService:BindToRenderStep("Freecam", Enum.RenderPriority.Camera.Value, StepFreecam) |
8164 | Input.StartCapture() |
8165 | fcRunning = true |
8166 | end |
8167 | |
8168 | function StopFreecam() |
8169 | if not fcRunning then return end |
8170 | Input.StopCapture() |
8171 | RunService:UnbindFromRenderStep("Freecam") |
8172 | PlayerState.Pop() |
8173 | workspace.Camera.FieldOfView = 70 |
8174 | fcRunning = false |
8175 | end |
8176 | |
8177 | addcmd('freecam',{'fc'},function(args, speaker) |
8178 | StartFreecam() |
8179 | end) |
8180 | |
8181 | addcmd('freecampos',{'fcpos','fcp','freecamposition','fcposition'},function(args, speaker) |
8182 | if not args[1] then return end |
8183 | local freecamPos = CFrame.new(args[1],args[2],args[3]) |
8184 | StartFreecam(freecamPos) |
8185 | end) |
8186 | |
8187 | addcmd('freecamwaypoint',{'fcwp'},function(args, speaker) |
8188 | local WPName = tostring(getstring(1)) |
8189 | if speaker.Character then |
8190 | for i,_ in pairs(WayPoints) do |
8191 | local x = WayPoints[i].COORD[1] |
8192 | local y = WayPoints[i].COORD[2] |
8193 | local z = WayPoints[i].COORD[3] |
8194 | if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then |
8195 | StartFreecam(CFrame.new(x,y,z)) |
8196 | end |
8197 | end |
8198 | for i,_ in pairs(pWayPoints) do |
8199 | if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then |
8200 | StartFreecam(CFrame.new(pWayPoints[i].COORD[1].Position)) |
8201 | end |
8202 | end |
8203 | end |
8204 | end) |
8205 | |
8206 | addcmd('freecamgoto',{'fcgoto','freecamtp','fctp'},function(args, speaker) |
8207 | local players = getPlayer(args[1], speaker) |
8208 | for i,v in pairs(players) do |
8209 | StartFreecam(getRoot(Players[v].Character).CFrame) |
8210 | end |
8211 | end) |
8212 | |
8213 | addcmd('unfreecam',{'nofreecam','unfc','nofc'},function(args, speaker) |
8214 | StopFreecam() |
8215 | end) |
8216 | |
8217 | addcmd('freecamspeed',{'fcspeed'},function(args, speaker) |
8218 | local FCspeed = args[1] or 1 |
8219 | if isNumber(FCspeed) then |
8220 | NAV_KEYBOARD_SPEED = Vector3.new(FCspeed, FCspeed, FCspeed) |
8221 | end |
8222 | end) |
8223 | |
8224 | addcmd('notifyfreecamposition',{'notifyfcpos'},function(args, speaker) |
8225 | if fcRunning then |
8226 | local X,Y,Z = workspace.CurrentCamera.CFrame.Position.X,workspace.CurrentCamera.CFrame.Position.Y,workspace.CurrentCamera.CFrame.Position.Z |
8227 | local Format, Round = string.format, math.round |
8228 | notify("Current Position", Format("%s, %s, %s", Round(X), Round(Y), Round(Z))) |
8229 | end |
8230 | end) |
8231 | |
8232 | addcmd('copyfreecamposition',{'copyfcpos'},function(args, speaker) |
8233 | if fcRunning then |
8234 | local X,Y,Z = workspace.CurrentCamera.CFrame.Position.X,workspace.CurrentCamera.CFrame.Position.Y,workspace.CurrentCamera.CFrame.Position.Z |
8235 | local Format, Round = string.format, math.round |
8236 | toClipboard(Format("%s, %s, %s", Round(X), Round(Y), Round(Z))) |
8237 | end |
8238 | end) |
8239 | |
8240 | addcmd('gotocamera',{'gotocam','tocam'},function(args, speaker) |
8241 | getRoot(speaker.Character).CFrame = workspace.Camera.CFrame |
8242 | end) |
8243 | |
8244 | addcmd('tweengotocamera',{'tweengotocam','tgotocam','ttocam'},function(args, speaker) |
8245 | TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = workspace.Camera.CFrame}):Play() |
8246 | end) |
8247 | |
8248 | addcmd('fov',{},function(args, speaker) |
8249 | local fov = args[1] or 70 |
8250 | if isNumber(fov) then |
8251 | workspace.CurrentCamera.FieldOfView = fov |
8252 | end |
8253 | end) |
8254 | |
8255 | local preMaxZoom = Players.LocalPlayer.CameraMaxZoomDistance |
8256 | local preMinZoom = Players.LocalPlayer.CameraMinZoomDistance |
8257 | addcmd('lookat',{},function(args, speaker) |
8258 | if speaker.CameraMaxZoomDistance ~= 0.5 then |
8259 | preMaxZoom = speaker.CameraMaxZoomDistance |
8260 | preMinZoom = speaker.CameraMinZoomDistance |
8261 | end |
8262 | speaker.CameraMaxZoomDistance = 0.5 |
8263 | speaker.CameraMinZoomDistance = 0.5 |
8264 | wait() |
8265 | local players = getPlayer(args[1], speaker) |
8266 | for i,v in pairs(players) do |
8267 | local target = Players[v].Character |
8268 | if target and target:FindFirstChild('Head') then |
8269 | workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.p, target.Head.CFrame.p) |
8270 | wait(0.1) |
8271 | end |
8272 | end |
8273 | speaker.CameraMaxZoomDistance = preMaxZoom |
8274 | speaker.CameraMinZoomDistance = preMinZoom |
8275 | end) |
8276 | |
8277 | addcmd('fixcam',{'restorecam'},function(args, speaker) |
8278 | StopFreecam() |
8279 | execCmd('unview') |
8280 | workspace.CurrentCamera:remove() |
8281 | wait(.1) |
8282 | repeat wait() until speaker.Character ~= nil |
8283 | workspace.CurrentCamera.CameraSubject = speaker.Character:FindFirstChildWhichIsA('Humanoid') |
8284 | workspace.CurrentCamera.CameraType = "Custom" |
8285 | speaker.CameraMinZoomDistance = 0.5 |
8286 | speaker.CameraMaxZoomDistance = 400 |
8287 | speaker.CameraMode = "Classic" |
8288 | speaker.Character.Head.Anchored = false |
8289 | end) |
8290 | |
8291 | addcmd('enableshiftlock',{'enablesl','shiftlock'},function(args, speaker) |
8292 | speaker.DevEnableMouseLock = true |
8293 | notify('Shiftlock','Shift lock is now available') |
8294 | end) |
8295 | |
8296 | addcmd('firstp',{},function(args, speaker) |
8297 | speaker.CameraMode = "LockFirstPerson" |
8298 | end) |
8299 | |
8300 | addcmd('thirdp',{},function(args, speaker) |
8301 | speaker.CameraMode = "Classic" |
8302 | end) |
8303 | |
8304 | addcmd('noclipcam', {'nccam'}, function(args, speaker) |
8305 | local sc = (debug and debug.setconstant) or setconstant |
8306 | local gc = (debug and debug.getconstants) or getconstants |
8307 | if not sc or not getgc or not gc then |
8308 | return notify('Incompatible Exploit', 'Your exploit does not support this command (missing setconstant or getconstants or getgc)') |
8309 | end |
8310 | local pop = speaker.PlayerScripts.PlayerModule.CameraModule.ZoomController.Popper |
8311 | for _, v in pairs(getgc()) do |
8312 | if type(v) == 'function' and getfenv(v).script == pop then |
8313 | for i, v1 in pairs(gc(v)) do |
8314 | if tonumber(v1) == .25 then |
8315 | sc(v, i, 0) |
8316 | elseif tonumber(v1) == 0 then |
8317 | sc(v, i, .25) |
8318 | end |
8319 | end |
8320 | end |
8321 | end |
8322 | end) |
8323 | |
8324 | addcmd('maxzoom',{},function(args, speaker) |
8325 | speaker.CameraMaxZoomDistance = args[1] |
8326 | end) |
8327 | |
8328 | addcmd('minzoom',{},function(args, speaker) |
8329 | speaker.CameraMinZoomDistance = args[1] |
8330 | end) |
8331 | |
8332 | addcmd('camdistance',{},function(args, speaker) |
8333 | local camMax = speaker.CameraMaxZoomDistance |
8334 | local camMin = speaker.CameraMinZoomDistance |
8335 | if camMax < tonumber(args[1]) then |
8336 | camMax = args[1] |
8337 | end |
8338 | speaker.CameraMaxZoomDistance = args[1] |
8339 | speaker.CameraMinZoomDistance = args[1] |
8340 | wait() |
8341 | speaker.CameraMaxZoomDistance = camMax |
8342 | speaker.CameraMinZoomDistance = camMin |
8343 | end) |
8344 | |
8345 | addcmd('unlockws',{'unlockworkspace'},function(args, speaker) |
8346 | for i,v in pairs(workspace:GetDescendants()) do |
8347 | if v:IsA("BasePart") then |
8348 | v.Locked = false |
8349 | end |
8350 | end |
8351 | end) |
8352 | |
8353 | addcmd('lockws',{'lockworkspace'},function(args, speaker) |
8354 | for i,v in pairs(workspace:GetDescendants()) do |
8355 | if v:IsA("BasePart") then |
8356 | v.Locked = true |
8357 | end |
8358 | end |
8359 | end) |
8360 | |
8361 | addcmd('delete',{'remove'},function(args, speaker) |
8362 | for i,v in pairs(workspace:GetDescendants()) do |
8363 | if v.Name:lower() == getstring(1):lower() then |
8364 | v:Destroy() |
8365 | end |
8366 | end |
8367 | notify('Item(s) Deleted','Deleted ' ..getstring(1)) |
8368 | end) |
8369 | |
8370 | addcmd('deleteclass',{'removeclass','deleteclassname','removeclassname','dc'},function(args, speaker) |
8371 | for i,v in pairs(workspace:GetDescendants()) do |
8372 | if v.ClassName:lower() == getstring(1):lower() then |
8373 | v:Destroy() |
8374 | end |
8375 | end |
8376 | notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1)) |
8377 | end) |
8378 | |
8379 | addcmd('chardelete',{'charremove','cd'},function(args, speaker) |
8380 | for i,v in pairs(speaker.Character:GetDescendants()) do |
8381 | if v.Name:lower() == getstring(1):lower() then |
8382 | v:Destroy() |
8383 | end |
8384 | end |
8385 | notify('Item(s) Deleted','Deleted ' ..getstring(1)) |
8386 | end) |
8387 | |
8388 | addcmd('chardeleteclass',{'charremoveclass','chardeleteclassname','charremoveclassname','cdc'},function(args, speaker) |
8389 | for i,v in pairs(speaker.Character:GetDescendants()) do |
8390 | if v.ClassName:lower() == getstring(1):lower() then |
8391 | v:Destroy() |
8392 | end |
8393 | end |
8394 | notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1)) |
8395 | end) |
8396 | |
8397 | addcmd('deletevelocity',{'dv','removevelocity','removeforces'},function(args, speaker) |
8398 | for i,v in pairs(speaker.Character:GetDescendants()) do |
8399 | if v:IsA("BodyVelocity") or v:IsA("BodyGyro") or v:IsA("RocketPropulsion") or v:IsA("BodyThrust") or v:IsA("BodyAngularVelocity") or v:IsA("AngularVelocity") or v:IsA("BodyForce") or v:IsA("VectorForce") or v:IsA("LineForce") then |
8400 | v:Destroy() |
8401 | end |
8402 | end |
8403 | end) |
8404 | |
8405 | addcmd('deleteinvisparts',{'deleteinvisibleparts','dip'},function(args, speaker) |
8406 | for i,v in pairs(workspace:GetDescendants()) do |
8407 | if v:IsA("BasePart") and v.Transparency == 1 and v.CanCollide then |
8408 | v:Destroy() |
8409 | end |
8410 | end |
8411 | end) |
8412 | |
8413 | local shownParts = {} |
8414 | addcmd('invisibleparts',{'invisparts'},function(args, speaker) |
8415 | for i,v in pairs(workspace:GetDescendants()) do |
8416 | if v:IsA("BasePart") and v.Transparency == 1 then |
8417 | if not table.find(shownParts,v) then |
8418 | table.insert(shownParts,v) |
8419 | end |
8420 | v.Transparency = 0 |
8421 | end |
8422 | end |
8423 | end) |
8424 | |
8425 | addcmd('uninvisibleparts',{'uninvisparts'},function(args, speaker) |
8426 | for i,v in pairs(shownParts) do |
8427 | v.Transparency = 1 |
8428 | end |
8429 | shownParts = {} |
8430 | end) |
8431 | |
8432 | addcmd('btools',{},function(args, speaker) |
8433 | for i = 1, 4 do |
8434 | local Tool = Instance.new("HopperBin") |
8435 | Tool.BinType = i |
8436 | Tool.Name = randomString() |
8437 | Tool.Parent = speaker:FindFirstChildOfClass("Backpack") |
8438 | end |
8439 | end) |
8440 | |
8441 | addcmd('f3x',{'fex'},function(args, speaker) |
8442 | loadstring(game:GetObjects("rbxassetid://6695644299")[1].Source)() |
8443 | end) |
8444 | |
8445 | addcmd('partpath',{'partname'},function(args, speaker) |
8446 | selectPart() |
8447 | end) |
8448 | |
8449 | addcmd('antiafk',{'antiidle'},function(args, speaker) |
8450 | local GC = getconnections or get_signal_cons |
8451 | if GC then |
8452 | for i,v in pairs(GC(Players.LocalPlayer.Idled)) do |
8453 | if v["Disable"] then |
8454 | v["Disable"](v) |
8455 | elseif v["Disconnect"] then |
8456 | v["Disconnect"](v) |
8457 | end |
8458 | end |
8459 | else |
8460 | Players.LocalPlayer.Idled:Connect(function() |
8461 | local VirtualUser = game:GetService("VirtualUser") |
8462 | VirtualUser:CaptureController() |
8463 | VirtualUser:ClickButton2(Vector2.new()) |
8464 | end) |
8465 | end |
8466 | if not (args[1] and tostring(args[1]) == 'nonotify') then notify('Anti Idle','Anti idle is enabled') end |
8467 | end) |
8468 | |
8469 | addcmd("datalimit", {}, function(args, speaker) |
8470 | if tonumber(args[1]) then |
8471 | NetworkClient:SetOutgoingKBPSLimit(args[1]) |
8472 | end |
8473 | end) |
8474 | |
8475 | addcmd("replicationlag", {"backtrack"}, function(args, speaker) |
8476 | if tonumber(args[1]) then |
8477 | settings():GetService("NetworkSettings").IncomingReplicationLag = args[1] |
8478 | end |
8479 | end) |
8480 | |
8481 | addcmd("noprompts", {"nopurchaseprompts"}, function(args, speaker) |
8482 | COREGUI.PurchasePrompt.Enabled = false |
8483 | end) |
8484 | |
8485 | addcmd("showprompts", {"showpurchaseprompts"}, function(args, speaker) |
8486 | COREGUI.PurchasePrompt.Enabled = true |
8487 | end) |
8488 | |
8489 | promptNewRig = function(speaker, rig) |
8490 | local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid") |
8491 | if humanoid then |
8492 | AvatarEditorService:PromptSaveAvatar(humanoid.HumanoidDescription, Enum.HumanoidRigType[rig]) |
8493 | local result = AvatarEditorService.PromptSaveAvatarCompleted:Wait() |
8494 | if result == Enum.AvatarPromptResult.Success then |
8495 | execCmd("reset") |
8496 | end |
8497 | end |
8498 | end |
8499 | |
8500 | addcmd("promptr6", {}, function(args, speaker) |
8501 | promptNewRig(speaker, "R6") |
8502 | end) |
8503 | |
8504 | addcmd("promptr15", {}, function(args, speaker) |
8505 | promptNewRig(speaker, "R15") |
8506 | end) |
8507 | |
8508 | addcmd('age',{},function(args, speaker) |
8509 | local players = getPlayer(args[1], speaker) |
8510 | local ages = {} |
8511 | for i,v in pairs(players) do |
8512 | local p = Players[v] |
8513 | table.insert(ages, p.Name.."'s age is: "..p.AccountAge) |
8514 | end |
8515 | notify('Account Age',table.concat(ages, ',\n')) |
8516 | end) |
8517 | |
8518 | addcmd('chatage',{},function(args, speaker) |
8519 | local players = getPlayer(args[1], speaker) |
8520 | local ages = {} |
8521 | for i,v in pairs(players) do |
8522 | local p = Players[v] |
8523 | table.insert(ages, p.Name.."'s age is: "..p.AccountAge) |
8524 | end |
8525 | local chatString = table.concat(ages, ', ') |
8526 | ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chatString, "All") |
8527 | end) |
8528 | |
8529 | addcmd('joindate',{'jd'},function(args, speaker) |
8530 | local players = getPlayer(args[1], speaker) |
8531 | local dates = {} |
8532 | notify("Loading",'Hold on a sec') |
8533 | for i,v in pairs(players) do |
8534 | local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId) |
8535 | local json = HttpService:JSONDecode(user) |
8536 | local date = json["created"]:sub(1,10) |
8537 | local splitDates = string.split(date,"-") |
8538 | table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1]) |
8539 | end |
8540 | notify('Join Date (Month/Day/Year)',table.concat(dates, ',\n')) |
8541 | end) |
8542 | |
8543 | addcmd('chatjoindate',{'cjd'},function(args, speaker) |
8544 | local players = getPlayer(args[1], speaker) |
8545 | local dates = {} |
8546 | notify("Loading",'Hold on a sec') |
8547 | for i,v in pairs(players) do |
8548 | local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId) |
8549 | local json = HttpService:JSONDecode(user) |
8550 | local date = json["created"]:sub(1,10) |
8551 | local splitDates = string.split(date,"-") |
8552 | table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1]) |
8553 | end |
8554 | local chatString = table.concat(dates, ', ') |
8555 | ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chatString, "All") |
8556 | end) |
8557 | |
8558 | addcmd('copyname',{'copyuser'},function(args, speaker) |
8559 | local players = getPlayer(args[1], speaker) |
8560 | for i,v in pairs(players) do |
8561 | local name = tostring(Players[v].Name) |
8562 | toClipboard(name) |
8563 | end |
8564 | end) |
8565 | |
8566 | addcmd('userid',{'id'},function(args, speaker) |
8567 | local players = getPlayer(args[1], speaker) |
8568 | for i,v in pairs(players) do |
8569 | local id = tostring(Players[v].UserId) |
8570 | notify('User ID',id) |
8571 | end |
8572 | end) |
8573 | |
8574 | addcmd('copyid',{'copyuserid'},function(args, speaker) |
8575 | local players = getPlayer(args[1], speaker) |
8576 | for i,v in pairs(players) do |
8577 | local id = tostring(Players[v].UserId) |
8578 | toClipboard(id) |
8579 | end |
8580 | end) |
8581 | |
8582 | addcmd('creatorid',{'creator'},function(args, speaker) |
8583 | if game.CreatorType == Enum.CreatorType.User then |
8584 | notify('Creator ID',game.CreatorId) |
8585 | elseif game.CreatorType == Enum.CreatorType.Group then |
8586 | local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id |
8587 | speaker.UserId = OwnerID |
8588 | notify('Creator ID',OwnerID) |
8589 | end |
8590 | end) |
8591 | |
8592 | addcmd('copycreatorid',{'copycreator'},function(args, speaker) |
8593 | if game.CreatorType == Enum.CreatorType.User then |
8594 | toClipboard(game.CreatorId) |
8595 | notify('Copied ID','Copied creator ID to clipboard') |
8596 | elseif game.CreatorType == Enum.CreatorType.Group then |
8597 | local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id |
8598 | toClipboard(OwnerID) |
8599 | notify('Copied ID','Copied creator ID to clipboard') |
8600 | end |
8601 | end) |
8602 | |
8603 | addcmd('setcreatorid',{'setcreator'},function(args, speaker) |
8604 | if game.CreatorType == Enum.CreatorType.User then |
8605 | speaker.UserId = game.CreatorId |
8606 | notify('Set ID','Set UserId to '..game.CreatorId) |
8607 | elseif game.CreatorType == Enum.CreatorType.Group then |
8608 | local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id |
8609 | speaker.UserId = OwnerID |
8610 | notify('Set ID','Set UserId to '..OwnerID) |
8611 | end |
8612 | end) |
8613 | |
8614 | addcmd('appearanceid',{'aid'},function(args, speaker) |
8615 | local players = getPlayer(args[1], speaker) |
8616 | for i,v in pairs(players) do |
8617 | local aid = tostring(Players[v].CharacterAppearanceId) |
8618 | notify('Appearance ID',aid) |
8619 | end |
8620 | end) |
8621 | |
8622 | addcmd('copyappearanceid',{'caid'},function(args, speaker) |
8623 | local players = getPlayer(args[1], speaker) |
8624 | for i,v in pairs(players) do |
8625 | local aid = tostring(Players[v].CharacterAppearanceId) |
8626 | toClipboard(aid) |
8627 | end |
8628 | end) |
8629 | |
8630 | addcmd('norender',{},function(args, speaker) |
8631 | RunService:Set3dRenderingEnabled(false) |
8632 | end) |
8633 | |
8634 | addcmd('render',{},function(args, speaker) |
8635 | RunService:Set3dRenderingEnabled(true) |
8636 | end) |
8637 | |
8638 | addcmd('2022materials',{'use2022materials'},function(args, speaker) |
8639 | if sethidden then |
8640 | sethidden(MaterialService, "Use2022Materials", true) |
8641 | else |
8642 | notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)') |
8643 | end |
8644 | end) |
8645 | |
8646 | addcmd('un2022materials',{'unuse2022materials'},function(args, speaker) |
8647 | if sethidden then |
8648 | sethidden(MaterialService, "Use2022Materials", false) |
8649 | else |
8650 | notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)') |
8651 | end |
8652 | end) |
8653 | |
8654 | addcmd('goto',{'to'},function(args, speaker) |
8655 | local players = getPlayer(args[1], speaker) |
8656 | for i,v in pairs(players)do |
8657 | if Players[v].Character ~= nil then |
8658 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
8659 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
8660 | wait(.1) |
8661 | end |
8662 | getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0) |
8663 | end |
8664 | end |
8665 | execCmd('breakvelocity') |
8666 | end) |
8667 | |
8668 | addcmd('tweengoto',{'tgoto','tto','tweento'},function(args, speaker) |
8669 | local players = getPlayer(args[1], speaker) |
8670 | for i,v in pairs(players)do |
8671 | if Players[v].Character ~= nil then |
8672 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
8673 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
8674 | wait(.1) |
8675 | end |
8676 | TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)}):Play() |
8677 | end |
8678 | end |
8679 | execCmd('breakvelocity') |
8680 | end) |
8681 | |
8682 | addcmd('vehiclegoto',{'vgoto','vtp','vehicletp'},function(args, speaker) |
8683 | local players = getPlayer(args[1], speaker) |
8684 | for i,v in pairs(players)do |
8685 | if Players[v].Character ~= nil then |
8686 | local seat = speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart |
8687 | local vehicleModel = seat:FindFirstAncestorWhichIsA("Model") |
8688 | vehicleModel:MoveTo(getRoot(Players[v].Character).Position) |
8689 | end |
8690 | end |
8691 | end) |
8692 | |
8693 | addcmd('pulsetp',{'ptp'},function(args, speaker) |
8694 | local players = getPlayer(args[1], speaker) |
8695 | for i,v in pairs(players)do |
8696 | if Players[v].Character ~= nil then |
8697 | local startPos = getRoot(speaker.Character).CFrame |
8698 | local seconds = args[2] or 1 |
8699 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
8700 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
8701 | wait(.1) |
8702 | end |
8703 | getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0) |
8704 | wait(seconds) |
8705 | getRoot(speaker.Character).CFrame = startPos |
8706 | end |
8707 | end |
8708 | execCmd('breakvelocity') |
8709 | end) |
8710 | |
8711 | local vnoclipParts = {} |
8712 | addcmd('vehiclenoclip',{'vnoclip'},function(args, speaker) |
8713 | vnoclipParts = {} |
8714 | local seat = speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart |
8715 | local vehicleModel = seat.Parent |
8716 | repeat |
8717 | if vehicleModel.ClassName ~= "Model" then |
8718 | vehicleModel = vehicleModel.Parent |
8719 | end |
8720 | until vehicleModel.ClassName == "Model" |
8721 | wait(0.1) |
8722 | execCmd('noclip') |
8723 | for i,v in pairs(vehicleModel:GetDescendants()) do |
8724 | if v:IsA("BasePart") and v.CanCollide then |
8725 | table.insert(vnoclipParts,v) |
8726 | v.CanCollide = false |
8727 | end |
8728 | end |
8729 | end) |
8730 | |
8731 | addcmd("vehicleclip", {"vclip", "unvnoclip", "unvehiclenoclip"}, function(args, speaker) |
8732 | execCmd("clip") |
8733 | for i, v in pairs(vnoclipParts) do |
8734 | v.CanCollide = true |
8735 | end |
8736 | vnoclipParts = {} |
8737 | end) |
8738 | |
8739 | addcmd("togglevnoclip", {}, function(args, speaker) |
8740 | execCmd(Clip and "vnoclip" or "vclip") |
8741 | end) |
8742 | |
8743 | addcmd('clientbring',{'cbring'},function(args, speaker) |
8744 | local players = getPlayer(args[1], speaker) |
8745 | for i,v in pairs(players)do |
8746 | if Players[v].Character ~= nil then |
8747 | if Players[v].Character:FindFirstChildOfClass('Humanoid') then |
8748 | Players[v].Character:FindFirstChildOfClass('Humanoid').Sit = false |
8749 | end |
8750 | wait() |
8751 | getRoot(Players[v].Character).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(3,1,0) |
8752 | end |
8753 | end |
8754 | end) |
8755 | |
8756 | local bringT = {} |
8757 | addcmd('loopbring',{},function(args, speaker) |
8758 | local players = getPlayer(args[1], speaker) |
8759 | for i,v in pairs(players)do |
8760 | task.spawn(function() |
8761 | if Players[v].Name ~= speaker.Name and not FindInTable(bringT, Players[v].Name) then |
8762 | table.insert(bringT, Players[v].Name) |
8763 | local plrName = Players[v].Name |
8764 | local pchar=Players[v].Character |
8765 | local distance = 3 |
8766 | if args[2] and isNumber(args[2]) then |
8767 | distance = args[2] |
8768 | end |
8769 | local lDelay = 0 |
8770 | if args[3] and isNumber(args[3]) then |
8771 | lDelay = args[3] |
8772 | end |
8773 | repeat |
8774 | for i,c in pairs(players) do |
8775 | if Players:FindFirstChild(v) then |
8776 | pchar = Players[v].Character |
8777 | if pchar~= nil and Players[v].Character ~= nil and getRoot(pchar) and speaker.Character ~= nil and getRoot(speaker.Character) then |
8778 | getRoot(pchar).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(distance,1,0) |
8779 | end |
8780 | wait(lDelay) |
8781 | else |
8782 | for a,b in pairs(bringT) do if b == plrName then table.remove(bringT, a) end end |
8783 | end |
8784 | end |
8785 | until not FindInTable(bringT, plrName) |
8786 | end |
8787 | end) |
8788 | end |
8789 | end) |
8790 | |
8791 | addcmd('unloopbring',{'noloopbring'},function(args, speaker) |
8792 | local players = getPlayer(args[1], speaker) |
8793 | for i,v in pairs(players)do |
8794 | task.spawn(function() |
8795 | for a,b in pairs(bringT) do if b == Players[v].Name then table.remove(bringT, a) end end |
8796 | end) |
8797 | end |
8798 | end) |
8799 | |
8800 | local walkto = false |
8801 | local waypointwalkto = false |
8802 | addcmd('walkto',{'follow'},function(args, speaker) |
8803 | local players = getPlayer(args[1], speaker) |
8804 | for i,v in pairs(players)do |
8805 | if Players[v].Character ~= nil then |
8806 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
8807 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
8808 | wait(.1) |
8809 | end |
8810 | walkto = true |
8811 | repeat wait() |
8812 | speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(getRoot(Players[v].Character).Position) |
8813 | until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false |
8814 | end |
8815 | end |
8816 | end) |
8817 | |
8818 | addcmd('pathfindwalkto',{'pathfindfollow'},function(args, speaker) |
8819 | walkto = false |
8820 | wait() |
8821 | local players = getPlayer(args[1], speaker) |
8822 | local hum = Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") |
8823 | local path = PathService:CreatePath() |
8824 | for i,v in pairs(players)do |
8825 | if Players[v].Character ~= nil then |
8826 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
8827 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
8828 | wait(.1) |
8829 | end |
8830 | walkto = true |
8831 | repeat wait() |
8832 | local success, response = pcall(function() |
8833 | path:ComputeAsync(getRoot(speaker.Character).Position, getRoot(Players[v].Character).Position) |
8834 | local waypoints = path:GetWaypoints() |
8835 | local distance |
8836 | for waypointIndex, waypoint in pairs(waypoints) do |
8837 | local waypointPosition = waypoint.Position |
8838 | hum:MoveTo(waypointPosition) |
8839 | repeat |
8840 | distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude |
8841 | wait() |
8842 | until |
8843 | distance <= 5 |
8844 | end |
8845 | end) |
8846 | if not success then |
8847 | speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(getRoot(Players[v].Character).Position) |
8848 | end |
8849 | until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false |
8850 | end |
8851 | end |
8852 | end) |
8853 | |
8854 | addcmd('pathfindwalktowaypoint',{'pathfindwalktowp'},function(args, speaker) |
8855 | waypointwalkto = false |
8856 | wait() |
8857 | local WPName = tostring(getstring(1)) |
8858 | local hum = Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") |
8859 | local path = PathService:CreatePath() |
8860 | if speaker.Character then |
8861 | for i,_ in pairs(WayPoints) do |
8862 | if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then |
8863 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
8864 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
8865 | wait(.1) |
8866 | end |
8867 | local TrueCoords = Vector3.new(WayPoints[i].COORD[1], WayPoints[i].COORD[2], WayPoints[i].COORD[3]) |
8868 | waypointwalkto = true |
8869 | repeat wait() |
8870 | local success, response = pcall(function() |
8871 | path:ComputeAsync(getRoot(speaker.Character).Position, TrueCoords) |
8872 | local waypoints = path:GetWaypoints() |
8873 | local distance |
8874 | for waypointIndex, waypoint in pairs(waypoints) do |
8875 | local waypointPosition = waypoint.Position |
8876 | hum:MoveTo(waypointPosition) |
8877 | repeat |
8878 | distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude |
8879 | wait() |
8880 | until |
8881 | distance <= 5 |
8882 | end |
8883 | end) |
8884 | if not success then |
8885 | speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(TrueCoords) |
8886 | end |
8887 | until not speaker.Character or waypointwalkto == false |
8888 | end |
8889 | end |
8890 | for i,_ in pairs(pWayPoints) do |
8891 | if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then |
8892 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
8893 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
8894 | wait(.1) |
8895 | end |
8896 | local TrueCoords = pWayPoints[i].COORD[1].Position |
8897 | waypointwalkto = true |
8898 | repeat wait() |
8899 | local success, response = pcall(function() |
8900 | path:ComputeAsync(getRoot(speaker.Character).Position, TrueCoords) |
8901 | local waypoints = path:GetWaypoints() |
8902 | local distance |
8903 | for waypointIndex, waypoint in pairs(waypoints) do |
8904 | local waypointPosition = waypoint.Position |
8905 | hum:MoveTo(waypointPosition) |
8906 | repeat |
8907 | distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude |
8908 | wait() |
8909 | until |
8910 | distance <= 5 |
8911 | end |
8912 | end) |
8913 | if not success then |
8914 | speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(TrueCoords) |
8915 | end |
8916 | until not speaker.Character or waypointwalkto == false |
8917 | end |
8918 | end |
8919 | end |
8920 | end) |
8921 | |
8922 | addcmd('unwalkto',{'nowalkto','unfollow','nofollow'},function(args, speaker) |
8923 | walkto = false |
8924 | waypointwalkto = false |
8925 | end) |
8926 | |
8927 | addcmd('freeze',{'fr'},function(args, speaker) |
8928 | local players = getPlayer(args[1], speaker) |
8929 | if players ~= nil then |
8930 | for i,v in pairs(players) do |
8931 | task.spawn(function() |
8932 | for i, x in next, Players[v].Character:GetDescendants() do |
8933 | if x:IsA("BasePart") and not x.Anchored then |
8934 | x.Anchored = true |
8935 | end |
8936 | end |
8937 | end) |
8938 | end |
8939 | end |
8940 | end) |
8941 | |
8942 | |
8943 | addcmd('thaw',{'unfreeze','unfr'},function(args, speaker) |
8944 | local players = getPlayer(args[1], speaker) |
8945 | if players ~= nil then |
8946 | for i,v in pairs(players) do |
8947 | task.spawn(function() |
8948 | for i, x in next, Players[v].Character:GetDescendants() do |
8949 | if x.Name ~= floatName and x:IsA("BasePart") and x.Anchored then |
8950 | x.Anchored = false |
8951 | end |
8952 | end |
8953 | end) |
8954 | end |
8955 | end |
8956 | end) |
8957 | |
8958 | oofing = false |
8959 | addcmd('loopoof',{},function(args, speaker) |
8960 | oofing = true |
8961 | repeat wait(0.1) |
8962 | for i,v in pairs(Players:GetPlayers()) do |
8963 | if v.Character ~= nil and v.Character:FindFirstChild'Head' then |
8964 | for _,x in pairs(v.Character.Head:GetChildren()) do |
8965 | if x:IsA'Sound' then x.Playing = true end |
8966 | end |
8967 | end |
8968 | end |
8969 | until oofing == false |
8970 | end) |
8971 | |
8972 | addcmd('unloopoof',{},function(args, speaker) |
8973 | oofing = false |
8974 | end) |
8975 | |
8976 | local notifiedRespectFiltering = false |
8977 | addcmd('muteboombox',{},function(args, speaker) |
8978 | if not notifiedRespectFiltering and SoundService.RespectFilteringEnabled then notifiedRespectFiltering = true notify('RespectFilteringEnabled','RespectFilteringEnabled is set to true (the command will still work but may only be clientsided)') end |
8979 | local players = getPlayer(args[1], speaker) |
8980 | if players ~= nil then |
8981 | for i,v in pairs(players) do |
8982 | task.spawn(function() |
8983 | for i, x in next, Players[v].Character:GetDescendants() do |
8984 | if x:IsA("Sound") and x.Playing == true then |
8985 | x.Playing = false |
8986 | end |
8987 | end |
8988 | for i, x in next, Players[v]:FindFirstChildOfClass("Backpack"):GetDescendants() do |
8989 | if x:IsA("Sound") and x.Playing == true then |
8990 | x.Playing = false |
8991 | end |
8992 | end |
8993 | end) |
8994 | end |
8995 | end |
8996 | end) |
8997 | |
8998 | addcmd('unmuteboombox',{},function(args, speaker) |
8999 | if not notifiedRespectFiltering and SoundService.RespectFilteringEnabled then notifiedRespectFiltering = true notify('RespectFilteringEnabled','RespectFilteringEnabled is set to true (the command will still work but may only be clientsided)') end |
9000 | local players = getPlayer(args[1], speaker) |
9001 | if players ~= nil then |
9002 | for i,v in pairs(players) do |
9003 | task.spawn(function() |
9004 | for i, x in next, Players[v].Character:GetDescendants() do |
9005 | if x:IsA("Sound") and x.Playing == false then |
9006 | x.Playing = true |
9007 | end |
9008 | end |
9009 | end) |
9010 | end |
9011 | end |
9012 | end) |
9013 | |
9014 | addcmd('reset',{},function(args, speaker) |
9015 | speaker.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Dead) |
9016 | end) |
9017 | |
9018 | addcmd('freezeanims',{},function(args, speaker) |
9019 | local Humanoid = speaker.Character:FindFirstChildOfClass("Humanoid") or speaker.Character:FindFirstChildOfClass("AnimationController") |
9020 | local ActiveTracks = Humanoid:GetPlayingAnimationTracks() |
9021 | for _, v in pairs(ActiveTracks) do |
9022 | v:AdjustSpeed(0) |
9023 | end |
9024 | end) |
9025 | |
9026 | addcmd('unfreezeanims',{},function(args, speaker) |
9027 | local Humanoid = speaker.Character:FindFirstChildOfClass("Humanoid") or speaker.Character:FindFirstChildOfClass("AnimationController") |
9028 | local ActiveTracks = Humanoid:GetPlayingAnimationTracks() |
9029 | for _, v in pairs(ActiveTracks) do |
9030 | v:AdjustSpeed(1) |
9031 | end |
9032 | end) |
9033 | |
9034 | |
9035 | |
9036 | |
9037 | addcmd('respawn',{},function(args, speaker) |
9038 | respawn(speaker) |
9039 | end) |
9040 | |
9041 | addcmd('refresh',{'re'},function(args, speaker) |
9042 | refresh(speaker) |
9043 | end) |
9044 | |
9045 | addcmd('god',{},function(args, speaker) |
9046 | local Cam = workspace.CurrentCamera |
9047 | local Pos, Char = Cam.CFrame, speaker.Character |
9048 | local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid") |
9049 | local nHuman = Human.Clone(Human) |
9050 | nHuman.Parent, speaker.Character = Char, nil |
9051 | nHuman.SetStateEnabled(nHuman, 15, false) |
9052 | nHuman.SetStateEnabled(nHuman, 1, false) |
9053 | nHuman.SetStateEnabled(nHuman, 0, false) |
9054 | nHuman.BreakJointsOnDeath, Human = true, Human.Destroy(Human) |
9055 | speaker.Character, Cam.CameraSubject, Cam.CFrame = Char, nHuman, wait() and Pos |
9056 | nHuman.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None |
9057 | local Script = Char.FindFirstChild(Char, "Animate") |
9058 | if Script then |
9059 | Script.Disabled = true |
9060 | wait() |
9061 | Script.Disabled = false |
9062 | end |
9063 | nHuman.Health = nHuman.MaxHealth |
9064 | end) |
9065 | |
9066 | invisRunning = false |
9067 | addcmd('invisible',{'invis'},function(args, speaker) |
9068 | if invisRunning then return end |
9069 | invisRunning = true |
9070 | -- Full credit to AmokahFox @V3rmillion |
9071 | local Player = speaker |
9072 | repeat wait(.1) until Player.Character |
9073 | local Character = Player.Character |
9074 | Character.Archivable = true |
9075 | local IsInvis = false |
9076 | local IsRunning = true |
9077 | local InvisibleCharacter = Character:Clone() |
9078 | InvisibleCharacter.Parent = Lighting |
9079 | local Void = workspace.FallenPartsDestroyHeight |
9080 | InvisibleCharacter.Name = "" |
9081 | local CF |
9082 | |
9083 | local invisFix = RunService.Stepped:Connect(function() |
9084 | pcall(function() |
9085 | local IsInteger |
9086 | if tostring(Void):find'-' then |
9087 | IsInteger = true |
9088 | else |
9089 | IsInteger = false |
9090 | end |
9091 | local Pos = Player.Character.HumanoidRootPart.Position |
9092 | local Pos_String = tostring(Pos) |
9093 | local Pos_Seperate = Pos_String:split(', ') |
9094 | local X = tonumber(Pos_Seperate[1]) |
9095 | local Y = tonumber(Pos_Seperate[2]) |
9096 | local Z = tonumber(Pos_Seperate[3]) |
9097 | if IsInteger == true then |
9098 | if Y <= Void then |
9099 | Respawn() |
9100 | end |
9101 | elseif IsInteger == false then |
9102 | if Y >= Void then |
9103 | Respawn() |
9104 | end |
9105 | end |
9106 | end) |
9107 | end) |
9108 | |
9109 | for i,v in pairs(InvisibleCharacter:GetDescendants())do |
9110 | if v:IsA("BasePart") then |
9111 | if v.Name == "HumanoidRootPart" then |
9112 | v.Transparency = 1 |
9113 | else |
9114 | v.Transparency = .5 |
9115 | end |
9116 | end |
9117 | end |
9118 | |
9119 | function Respawn() |
9120 | IsRunning = false |
9121 | if IsInvis == true then |
9122 | pcall(function() |
9123 | Player.Character = Character |
9124 | wait() |
9125 | Character.Parent = workspace |
9126 | Character:FindFirstChildWhichIsA'Humanoid':Destroy() |
9127 | IsInvis = false |
9128 | InvisibleCharacter.Parent = nil |
9129 | invisRunning = false |
9130 | end) |
9131 | elseif IsInvis == false then |
9132 | pcall(function() |
9133 | Player.Character = Character |
9134 | wait() |
9135 | Character.Parent = workspace |
9136 | Character:FindFirstChildWhichIsA'Humanoid':Destroy() |
9137 | TurnVisible() |
9138 | end) |
9139 | end |
9140 | end |
9141 | |
9142 | local invisDied |
9143 | invisDied = InvisibleCharacter:FindFirstChildOfClass'Humanoid'.Died:Connect(function() |
9144 | Respawn() |
9145 | invisDied:Disconnect() |
9146 | end) |
9147 | |
9148 | if IsInvis == true then return end |
9149 | IsInvis = true |
9150 | CF = workspace.CurrentCamera.CFrame |
9151 | local CF_1 = Player.Character.HumanoidRootPart.CFrame |
9152 | Character:MoveTo(Vector3.new(0,math.pi*1000000,0)) |
9153 | workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable |
9154 | wait(.2) |
9155 | workspace.CurrentCamera.CameraType = Enum.CameraType.Custom |
9156 | InvisibleCharacter = InvisibleCharacter |
9157 | Character.Parent = Lighting |
9158 | InvisibleCharacter.Parent = workspace |
9159 | InvisibleCharacter.HumanoidRootPart.CFrame = CF_1 |
9160 | Player.Character = InvisibleCharacter |
9161 | execCmd('fixcam') |
9162 | Player.Character.Animate.Disabled = true |
9163 | Player.Character.Animate.Disabled = false |
9164 | |
9165 | function TurnVisible() |
9166 | if IsInvis == false then return end |
9167 | invisFix:Disconnect() |
9168 | invisDied:Disconnect() |
9169 | CF = workspace.CurrentCamera.CFrame |
9170 | Character = Character |
9171 | local CF_1 = Player.Character.HumanoidRootPart.CFrame |
9172 | Character.HumanoidRootPart.CFrame = CF_1 |
9173 | InvisibleCharacter:Destroy() |
9174 | Player.Character = Character |
9175 | Character.Parent = workspace |
9176 | IsInvis = false |
9177 | Player.Character.Animate.Disabled = true |
9178 | Player.Character.Animate.Disabled = false |
9179 | invisDied = Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function() |
9180 | Respawn() |
9181 | invisDied:Disconnect() |
9182 | end) |
9183 | invisRunning = false |
9184 | end |
9185 | notify('Invisible','You now appear invisible to other players') |
9186 | end) |
9187 | |
9188 | addcmd("visible", {"vis"}, function(args, speaker) |
9189 | TurnVisible() |
9190 | end) |
9191 | |
9192 | addcmd("toggleinvis", {}, function(args, speaker) |
9193 | execCmd(invisRunning and "visible" or "invisible") |
9194 | end) |
9195 | |
9196 | addcmd('toolinvisible',{'toolinvis','tinvis'},function(args, speaker) |
9197 | local Char = Players.LocalPlayer.Character |
9198 | local touched = false |
9199 | local tpdback = false |
9200 | local box = Instance.new('Part') |
9201 | box.Anchored = true |
9202 | box.CanCollide = true |
9203 | box.Size = Vector3.new(10,1,10) |
9204 | box.Position = Vector3.new(0,10000,0) |
9205 | box.Parent = workspace |
9206 | local boxTouched = box.Touched:connect(function(part) |
9207 | if (part.Parent.Name == Players.LocalPlayer.Name) then |
9208 | if touched == false then |
9209 | touched = true |
9210 | local function apply() |
9211 | local no = Char.HumanoidRootPart:Clone() |
9212 | wait(.25) |
9213 | Char.HumanoidRootPart:Destroy() |
9214 | no.Parent = Char |
9215 | Char:MoveTo(loc) |
9216 | touched = false |
9217 | end |
9218 | if Char then |
9219 | apply() |
9220 | end |
9221 | end |
9222 | end |
9223 | end) |
9224 | repeat wait() until Char |
9225 | local cleanUp |
9226 | cleanUp = Players.LocalPlayer.CharacterAdded:connect(function(char) |
9227 | boxTouched:Disconnect() |
9228 | box:Destroy() |
9229 | cleanUp:Disconnect() |
9230 | end) |
9231 | loc = Char.HumanoidRootPart.Position |
9232 | Char:MoveTo(box.Position + Vector3.new(0,.5,0)) |
9233 | end) |
9234 | |
9235 | addcmd("strengthen", {}, function(args, speaker) |
9236 | for _, child in pairs(speaker.Character:GetDescendants()) do |
9237 | if child.ClassName == "Part" then |
9238 | if args[1] then |
9239 | child.CustomPhysicalProperties = PhysicalProperties.new(args[1], 0.3, 0.5) |
9240 | else |
9241 | child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5) |
9242 | end |
9243 | end |
9244 | end |
9245 | end) |
9246 | |
9247 | addcmd("weaken", {}, function(args, speaker) |
9248 | for _, child in pairs(speaker.Character:GetDescendants()) do |
9249 | if child.ClassName == "Part" then |
9250 | if args[1] then |
9251 | child.CustomPhysicalProperties = PhysicalProperties.new(-args[1], 0.3, 0.5) |
9252 | else |
9253 | child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5) |
9254 | end |
9255 | end |
9256 | end |
9257 | end) |
9258 | |
9259 | addcmd("unweaken", {"unstrengthen"}, function(args, speaker) |
9260 | for _, child in pairs(speaker.Character:GetDescendants()) do |
9261 | if child.ClassName == "Part" then |
9262 | child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5) |
9263 | end |
9264 | end |
9265 | end) |
9266 | |
9267 | addcmd("breakvelocity", {}, function(args, speaker) |
9268 | local BeenASecond, V3 = false, Vector3.new(0, 0, 0) |
9269 | delay(1, function() |
9270 | BeenASecond = true |
9271 | end) |
9272 | while not BeenASecond do |
9273 | for _, v in ipairs(speaker.Character:GetDescendants()) do |
9274 | if v:IsA("BasePart") then |
9275 | v.Velocity, v.RotVelocity = V3, V3 |
9276 | end |
9277 | end |
9278 | wait() |
9279 | end |
9280 | end) |
9281 | |
9282 | addcmd('jpower',{'jumppower','jp'},function(args, speaker) |
9283 | local jpower = args[1] or 50 |
9284 | if isNumber(jpower) then |
9285 | if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then |
9286 | speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower |
9287 | else |
9288 | speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight = jpower |
9289 | end |
9290 | end |
9291 | end) |
9292 | |
9293 | addcmd("maxslopeangle", {"msa"}, function(args, speaker) |
9294 | local sangle = args[1] or 89 |
9295 | if isNumber(sangle) then |
9296 | speaker.Character:FindFirstChildWhichIsA("Humanoid").MaxSlopeAngle = sangle |
9297 | end |
9298 | end) |
9299 | |
9300 | addcmd("gravity", {"grav"}, function(args, speaker) |
9301 | local grav = args[1] or 196.2 |
9302 | if isNumber(grav) then |
9303 | workspace.Gravity = grav |
9304 | end |
9305 | end) |
9306 | |
9307 | addcmd("hipheight", {"hheight"}, function(args, speaker) |
9308 | speaker.Character:FindFirstChildWhichIsA("Humanoid").HipHeight = args[1] or (r15(speaker) and 2.1 or 0) |
9309 | end) |
9310 | |
9311 | addcmd("dance", {}, function(args, speaker) |
9312 | pcall(execCmd, "undance") |
9313 | local dances = {"27789359", "30196114", "248263260", "45834924", "33796059", "28488254", "52155728"} |
9314 | if r15(speaker) then |
9315 | dances = {"3333432454", "4555808220", "4049037604", "4555782893", "10214311282", "10714010337", "10713981723", "10714372526", "10714076981", "10714392151", "11444443576"} |
9316 | end |
9317 | local animation = Instance.new("Animation") |
9318 | animation.AnimationId = "rbxassetid://" .. dances[math.random(1, #dances)] |
9319 | danceTrack = speaker.Character:FindFirstChildWhichIsA("Humanoid"):LoadAnimation(animation) |
9320 | danceTrack.Looped = true |
9321 | danceTrack:Play() |
9322 | end) |
9323 | |
9324 | addcmd("undance", {"nodance"}, function(args, speaker) |
9325 | danceTrack:Stop() |
9326 | danceTrack:Destroy() |
9327 | end) |
9328 | |
9329 | addcmd('nolimbs',{'rlimbs'},function(args, speaker) |
9330 | if r15(speaker) then |
9331 | for i,v in pairs(speaker.Character:GetChildren()) do |
9332 | if v:IsA("BasePart") and |
9333 | v.Name == "RightUpperLeg" or |
9334 | v.Name == "LeftUpperLeg" or |
9335 | v.Name == "RightUpperArm" or |
9336 | v.Name == "LeftUpperArm" then |
9337 | v:Destroy() |
9338 | end |
9339 | end |
9340 | else |
9341 | for i,v in pairs(speaker.Character:GetChildren()) do |
9342 | if v:IsA("BasePart") and |
9343 | v.Name == "Right Leg" or |
9344 | v.Name == "Left Leg" or |
9345 | v.Name == "Right Arm" or |
9346 | v.Name == "Left Arm" then |
9347 | v:Destroy() |
9348 | end |
9349 | end |
9350 | end |
9351 | end) |
9352 | |
9353 | addcmd('nohead',{'rhead','headless'},function(args, speaker) |
9354 | if sethidden then |
9355 | -- Full credit to Thomas_Cornez#0272 @Discord |
9356 | local lplr = Players.LocalPlayer |
9357 | local char = lplr.Character |
9358 | local rigType = tostring(char:FindFirstChildOfClass('Humanoid').RigType) == "Enum.HumanoidRigType.R6" and 1 or tostring(char:FindFirstChildOfClass('Humanoid').RigType) == "Enum.HumanoidRigType.R15" and 2 |
9359 | |
9360 | local speaker = Players.LocalPlayer |
9361 | |
9362 | |
9363 | local test = Instance.new("Model") |
9364 | local hum = Instance.new("Humanoid") |
9365 | local animation = Instance.new("Model") |
9366 | local humanoidanimation = Instance.new("Humanoid") |
9367 | test.Parent = workspace |
9368 | hum.Parent = test |
9369 | animation.Parent = workspace |
9370 | humanoidanimation.Parent = animation |
9371 | |
9372 | lplr.Character = test |
9373 | wait(2) |
9374 | char:FindFirstChildOfClass('Humanoid').Animator.Parent = humanoidanimation |
9375 | char:FindFirstChildOfClass('Humanoid'):Destroy() |
9376 | |
9377 | char.Head:Destroy() |
9378 | wait(5) |
9379 | Players.LocalPlayer.Character = char |
9380 | |
9381 | local hum2 = Instance.new("Humanoid") |
9382 | hum2.Parent = char |
9383 | char:FindFirstChildOfClass("Humanoid").Jump = true |
9384 | |
9385 | humanoidanimation.Animator.Parent = hum2 |
9386 | char.Animate.Disabled = true |
9387 | wait() |
9388 | char.Animate.Disabled = false |
9389 | wait() |
9390 | |
9391 | if rig == 1 then |
9392 | hum2.HipHeight = 0 |
9393 | elseif rig == 2 then |
9394 | hum2.HipHeight = 2.19 |
9395 | end |
9396 | else |
9397 | notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)') |
9398 | end |
9399 | end) |
9400 | |
9401 | addcmd('noarms',{'rarms'},function(args, speaker) |
9402 | if r15(speaker) then |
9403 | for i,v in pairs(speaker.Character:GetChildren()) do |
9404 | if v:IsA("BasePart") and |
9405 | v.Name == "RightUpperArm" or |
9406 | v.Name == "LeftUpperArm" then |
9407 | v:Destroy() |
9408 | end |
9409 | end |
9410 | else |
9411 | for i,v in pairs(speaker.Character:GetChildren()) do |
9412 | if v:IsA("BasePart") and |
9413 | v.Name == "Right Arm" or |
9414 | v.Name == "Left Arm" then |
9415 | v:Destroy() |
9416 | end |
9417 | end |
9418 | end |
9419 | end) |
9420 | |
9421 | addcmd('nolegs',{'rlegs'},function(args, speaker) |
9422 | if r15(speaker) then |
9423 | for i,v in pairs(speaker.Character:GetChildren()) do |
9424 | if v:IsA("BasePart") and |
9425 | v.Name == "RightUpperLeg" or |
9426 | v.Name == "LeftUpperLeg" then |
9427 | v:Destroy() |
9428 | end |
9429 | end |
9430 | else |
9431 | for i,v in pairs(speaker.Character:GetChildren()) do |
9432 | if v:IsA("BasePart") and |
9433 | v.Name == "Right Leg" or |
9434 | v.Name == "Left Leg" then |
9435 | v:Destroy() |
9436 | end |
9437 | end |
9438 | end |
9439 | end) |
9440 | |
9441 | addcmd("sit", {}, function(args, speaker) |
9442 | speaker.Character:FindFirstChildWhichIsA("Humanoid").Sit = true |
9443 | end) |
9444 | |
9445 | addcmd("lay", {"laydown"}, function(args, speaker) |
9446 | local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid") |
9447 | humanoid.Sit = true |
9448 | task.wait(0.1) |
9449 | humanoid.RootPart.CFrame = humanoid.RootPart.CFrame * CFrame.Angles(math.pi * 0.5, 0, 0) |
9450 | for _, v in ipairs(humanoid:GetPlayingAnimationTracks()) do |
9451 | v:Stop() |
9452 | end |
9453 | end) |
9454 | |
9455 | addcmd("sitwalk", {}, function(args, speaker) |
9456 | local anims = speaker.Character.Animate |
9457 | local sit = anims.sit:FindFirstChildWhichIsA("Animation").AnimationId |
9458 | anims.idle:FindFirstChildWhichIsA("Animation").AnimationId = sit |
9459 | anims.walk:FindFirstChildWhichIsA("Animation").AnimationId = sit |
9460 | anims.run:FindFirstChildWhichIsA("Animation").AnimationId = sit |
9461 | anims.jump:FindFirstChildWhichIsA("Animation").AnimationId = sit |
9462 | speaker.Character:FindFirstChildWhichIsA("Humanoid").HipHeight = not r15(speaker) and -1.5 or 0.5 |
9463 | end) |
9464 | |
9465 | function noSitFunc() |
9466 | wait() |
9467 | if Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid").Sit then |
9468 | Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid").Sit = false |
9469 | end |
9470 | end |
9471 | addcmd("nosit", {"antisit"}, function(args, speaker) |
9472 | if noSit then noSit:Disconnect() nositDied:Disconnect() end |
9473 | noSit = Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("Sit"):Connect(noSitFunc) |
9474 | local function nositDiedFunc() |
9475 | repeat wait() until speaker.Character ~= nil and speaker.Character:FindFirstChildOfClass("Humanoid") |
9476 | noSit:Disconnect() |
9477 | noSit = Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("Sit"):Connect(noSitFunc) |
9478 | end |
9479 | nositDied = speaker.CharacterAdded:Connect(nositDiedFunc) |
9480 | end) |
9481 | |
9482 | addcmd("unnosit", {}, function(args, speaker) |
9483 | if noSit then noSit:Disconnect() nositDied:Disconnect() end |
9484 | end) |
9485 | |
9486 | addcmd("jump", {}, function(args, speaker) |
9487 | speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) |
9488 | end) |
9489 | |
9490 | local infJump |
9491 | infJumpDebounce = false |
9492 | addcmd("infjump", {"infinitejump"}, function(args, speaker) |
9493 | if infJump then infJump:Disconnect() end |
9494 | infJumpDebounce = false |
9495 | infJump = UserInputService.JumpRequest:Connect(function() |
9496 | if not infJumpDebounce then |
9497 | infJumpDebounce = true |
9498 | speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) |
9499 | wait() |
9500 | infJumpDebounce = false |
9501 | end |
9502 | end) |
9503 | end) |
9504 | |
9505 | addcmd("uninfjump", {"uninfinitejump", "noinfjump", "noinfinitejump"}, function(args, speaker) |
9506 | if infJump then infJump:Disconnect() end |
9507 | infJumpDebounce = false |
9508 | end) |
9509 | |
9510 | local flyjump |
9511 | addcmd("flyjump", {"fj"}, function(args, speaker) |
9512 | if flyjump then flyjump:Disconnect() end |
9513 | flyjump = UserInputService.JumpRequest:Connect(function() |
9514 | speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) |
9515 | end) |
9516 | end) |
9517 | |
9518 | addcmd("unflyjump", {"noflyjump"}, function(args, speaker) |
9519 | if flyjump then flyjump:Disconnect() end |
9520 | end) |
9521 | |
9522 | local HumanModCons = {} |
9523 | addcmd('autojump',{'ajump'},function(args, speaker) |
9524 | local Char = speaker.Character |
9525 | local Human = Char and Char:FindFirstChildWhichIsA("Humanoid") |
9526 | local function autoJump() |
9527 | if Char and Human then |
9528 | local check1 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position-Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent) |
9529 | local check2 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position+Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent) |
9530 | if check1 or check2 then |
9531 | Human.Jump = true |
9532 | end |
9533 | end |
9534 | end |
9535 | autoJump() |
9536 | HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or RunService.RenderStepped:Connect(autoJump) |
9537 | HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar) |
9538 | Char, Human = nChar, nChar:WaitForChild("Humanoid") |
9539 | autoJump() |
9540 | HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or RunService.RenderStepped:Connect(autoJump) |
9541 | end) |
9542 | end) |
9543 | |
9544 | addcmd('unautojump',{'noautojump', 'noajump', 'unajump'},function(args, speaker) |
9545 | HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or nil |
9546 | HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or nil |
9547 | end) |
9548 | |
9549 | addcmd('edgejump',{'ejump'},function(args, speaker) |
9550 | local Char = speaker.Character |
9551 | local Human = Char and Char:FindFirstChildWhichIsA("Humanoid") |
9552 | -- Full credit to NoelGamer06 @V3rmillion |
9553 | local state |
9554 | local laststate |
9555 | local lastcf |
9556 | local function edgejump() |
9557 | if Char and Human then |
9558 | laststate = state |
9559 | state = Human:GetState() |
9560 | if laststate ~= state and state == Enum.HumanoidStateType.Freefall and laststate ~= Enum.HumanoidStateType.Jumping then |
9561 | Char.HumanoidRootPart.CFrame = lastcf |
9562 | Char.HumanoidRootPart.Velocity = Vector3.new(Char.HumanoidRootPart.Velocity.X, Human.JumpPower or Human.JumpHeight, Char.HumanoidRootPart.Velocity.Z) |
9563 | end |
9564 | lastcf = Char.HumanoidRootPart.CFrame |
9565 | end |
9566 | end |
9567 | edgejump() |
9568 | HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or RunService.RenderStepped:Connect(edgejump) |
9569 | HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar) |
9570 | Char, Human = nChar, nChar:WaitForChild("Humanoid") |
9571 | edgejump() |
9572 | HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or RunService.RenderStepped:Connect(edgejump) |
9573 | end) |
9574 | end) |
9575 | |
9576 | addcmd('unedgejump',{'noedgejump', 'noejump', 'unejump'},function(args, speaker) |
9577 | HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or nil |
9578 | HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or nil |
9579 | end) |
9580 | |
9581 | addcmd('team',{},function(args, speaker) |
9582 | local teamname = nil |
9583 | for a,b in pairs(Teams:GetChildren()) do |
9584 | local L_name = b.Name:lower() |
9585 | local F = L_name:find(getstring(1)) |
9586 | if F == 1 then |
9587 | teamname = b |
9588 | end |
9589 | end |
9590 | speaker.Team = teamname |
9591 | end) |
9592 | |
9593 | addcmd('nobgui',{'unbgui','nobillboardgui','unbillboardgui','noname','rohg'},function(args, speaker) |
9594 | for i,v in pairs(speaker.Character:GetDescendants())do |
9595 | if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then |
9596 | v:Destroy() |
9597 | end |
9598 | end |
9599 | end) |
9600 | |
9601 | addcmd('loopnobgui',{'loopunbgui','loopnobillboardgui','loopunbillboardgui','loopnoname','looprohg'},function(args, speaker) |
9602 | for i,v in pairs(speaker.Character:GetDescendants())do |
9603 | if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then |
9604 | v:Destroy() |
9605 | end |
9606 | end |
9607 | local function charPartAdded(part) |
9608 | if part:IsA("BillboardGui") or part:IsA("SurfaceGui") then |
9609 | wait() |
9610 | part:Destroy() |
9611 | end |
9612 | end |
9613 | charPartTrigger = speaker.Character.DescendantAdded:Connect(charPartAdded) |
9614 | end) |
9615 | |
9616 | addcmd('unloopnobgui',{'unloopunbgui','unloopnobillboardgui','unloopunbillboardgui','unloopnoname','unlooprohg'},function(args, speaker) |
9617 | if charPartTrigger then |
9618 | charPartTrigger:Disconnect() |
9619 | end |
9620 | end) |
9621 | |
9622 | addcmd('spasm',{},function(args, speaker) |
9623 | if not r15(speaker) then |
9624 | local pchar=speaker.Character |
9625 | local AnimationId = "33796059" |
9626 | SpasmAnim = Instance.new("Animation") |
9627 | SpasmAnim.AnimationId = "rbxassetid://"..AnimationId |
9628 | Spasm = pchar:FindFirstChildOfClass('Humanoid'):LoadAnimation(SpasmAnim) |
9629 | Spasm:Play() |
9630 | Spasm:AdjustSpeed(99) |
9631 | else |
9632 | notify('R6 Required','This command requires the r6 rig type') |
9633 | end |
9634 | end) |
9635 | |
9636 | addcmd('unspasm',{'nospasm'},function(args, speaker) |
9637 | Spasm:Stop() |
9638 | SpasmAnim:Destroy() |
9639 | end) |
9640 | |
9641 | addcmd('headthrow',{},function(args, speaker) |
9642 | if not r15(speaker) then |
9643 | local AnimationId = "35154961" |
9644 | local Anim = Instance.new("Animation") |
9645 | Anim.AnimationId = "rbxassetid://"..AnimationId |
9646 | local k = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(Anim) |
9647 | k:Play(0) |
9648 | k:AdjustSpeed(1) |
9649 | else |
9650 | notify('R6 Required','This command requires the r6 rig type') |
9651 | end |
9652 | end) |
9653 | |
9654 | addcmd('animation',{'anim'},function(args, speaker) |
9655 | if not r15(speaker) then |
9656 | local pchar=speaker.Character |
9657 | local AnimationId = tostring(args[1]) |
9658 | local Anim = Instance.new("Animation") |
9659 | Anim.AnimationId = "rbxassetid://"..AnimationId |
9660 | local k = pchar:FindFirstChildOfClass('Humanoid'):LoadAnimation(Anim) |
9661 | k:Play() |
9662 | if args[2] then |
9663 | k:AdjustSpeed(tostring(args[2])) |
9664 | end |
9665 | else |
9666 | notify('R6 Required','This command requires the r6 rig type') |
9667 | end |
9668 | end) |
9669 | |
9670 | addcmd('noanim',{},function(args, speaker) |
9671 | speaker.Character.Animate.Disabled = true |
9672 | end) |
9673 | |
9674 | addcmd('reanim',{},function(args, speaker) |
9675 | speaker.Character.Animate.Disabled = false |
9676 | end) |
9677 | |
9678 | addcmd('animspeed',{},function(args, speaker) |
9679 | local Char = speaker.Character |
9680 | local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController") |
9681 | |
9682 | for i,v in next, Hum:GetPlayingAnimationTracks() do |
9683 | v:AdjustSpeed(tonumber(args[1] or 1)) |
9684 | end |
9685 | end) |
9686 | |
9687 | addcmd('copyanimation',{'copyanim','copyemote'},function(args, speaker) |
9688 | local players = getPlayer(args[1], speaker) |
9689 | for _,v in ipairs(players)do |
9690 | local char = Players[v].Character |
9691 | for _, v1 in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetPlayingAnimationTracks()) do |
9692 | v1:Stop() |
9693 | end |
9694 | for _, v1 in pairs(Players[v].Character:FindFirstChildOfClass('Humanoid'):GetPlayingAnimationTracks()) do |
9695 | if not string.find(v1.Animation.AnimationId, "507768375") then |
9696 | local ANIM = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(v1.Animation) |
9697 | ANIM:Play(.1, 1, v1.Speed) |
9698 | ANIM.TimePosition = v1.TimePosition |
9699 | task.spawn(function() |
9700 | v1.Stopped:Wait() |
9701 | ANIM:Stop() |
9702 | ANIM:Destroy() |
9703 | end) |
9704 | end |
9705 | end |
9706 | end |
9707 | end) |
9708 | |
9709 | addcmd('stopanimations',{'stopanims','stopanim'},function(args, speaker) |
9710 | local Char = speaker.Character |
9711 | local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController") |
9712 | |
9713 | for i,v in next, Hum:GetPlayingAnimationTracks() do |
9714 | v:Stop() |
9715 | end |
9716 | end) |
9717 | |
9718 | addcmd('refreshanimations', {'refreshanimation', 'refreshanims', 'refreshanim'}, function(args, speaker) |
9719 | local Char = speaker.Character or speaker.CharacterAdded:Wait() |
9720 | local Human = Char and Char:WaitForChild('Humanoid', 15) |
9721 | local Animate = Char and Char:WaitForChild('Animate', 15) |
9722 | if not Human or not Animate then |
9723 | return notify('Refresh Animations', 'Failed to get Animate/Humanoid') |
9724 | end |
9725 | Animate.Disabled = true |
9726 | for _, v in ipairs(Human:GetPlayingAnimationTracks()) do |
9727 | v:Stop() |
9728 | end |
9729 | Animate.Disabled = false |
9730 | end) |
9731 | |
9732 | addcmd('allowcustomanim', {'allowcustomanimations'}, function(args, speaker) |
9733 | StarterPlayer.AllowCustomAnimations = true |
9734 | execCmd('refreshanimations') |
9735 | end) |
9736 | |
9737 | addcmd('unallowcustomanim', {'unallowcustomanimations'}, function(args, speaker) |
9738 | StarterPlayer.AllowCustomAnimations = false |
9739 | execCmd('refreshanimations') |
9740 | end) |
9741 | |
9742 | addcmd('loopanimation', {'loopanim'},function(args, speaker) |
9743 | local Char = speaker.Character |
9744 | local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid") |
9745 | for _, v in ipairs(Human.GetPlayingAnimationTracks(Human)) do |
9746 | v.Looped = true |
9747 | end |
9748 | end) |
9749 | |
9750 | addcmd('tpposition',{'tppos'},function(args, speaker) |
9751 | if #args < 3 then return end |
9752 | local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3]) |
9753 | local char = speaker.Character |
9754 | if char and getRoot(char) then |
9755 | getRoot(char).CFrame = CFrame.new(tpX,tpY,tpZ) |
9756 | end |
9757 | end) |
9758 | |
9759 | addcmd('tweentpposition',{'ttppos'},function(args, speaker) |
9760 | if #args < 3 then return end |
9761 | local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3]) |
9762 | local char = speaker.Character |
9763 | if char and getRoot(char) then |
9764 | TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play() |
9765 | end |
9766 | end) |
9767 | |
9768 | addcmd('offset',{},function(args, speaker) |
9769 | if #args < 3 then |
9770 | return |
9771 | end |
9772 | if speaker.Character then |
9773 | speaker.Character:TranslateBy(Vector3.new(tonumber(args[1]) or 0, tonumber(args[2]) or 0, tonumber(args[3]) or 0)) |
9774 | end |
9775 | end) |
9776 | |
9777 | addcmd('tweenoffset',{'toffset'},function(args, speaker) |
9778 | if #args < 3 then return end |
9779 | local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3]) |
9780 | local char = speaker.Character |
9781 | if char and getRoot(char) then |
9782 | TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play() |
9783 | end |
9784 | end) |
9785 | |
9786 | addcmd('clickteleport',{},function(args, speaker) |
9787 | if speaker == Players.LocalPlayer then |
9788 | notify('Click TP','Go to Settings>Keybinds>Add to set up click tp') |
9789 | end |
9790 | end) |
9791 | |
9792 | addcmd('tptool', {'teleporttool'}, function(args, speaker) |
9793 | local TpTool = Instance.new("Tool") |
9794 | TpTool.Name = "Teleport Tool" |
9795 | TpTool.RequiresHandle = false |
9796 | TpTool.Parent = speaker.Backpack |
9797 | TpTool.Activated:Connect(function() |
9798 | local Char = speaker.Character or workspace:FindFirstChild(speaker.Name) |
9799 | local HRP = Char and Char:FindFirstChild("HumanoidRootPart") |
9800 | if not Char or not HRP then |
9801 | return warn("Failed to find HumanoidRootPart") |
9802 | end |
9803 | HRP.CFrame = CFrame.new(IYMouse.Hit.X, IYMouse.Hit.Y + 3, IYMouse.Hit.Z, select(4, HRP.CFrame:components())) |
9804 | end) |
9805 | end) |
9806 | |
9807 | addcmd('clickdelete',{},function(args, speaker) |
9808 | if speaker == Players.LocalPlayer then |
9809 | notify('Click Delete','Go to Settings>Keybinds>Add to set up click delete') |
9810 | end |
9811 | end) |
9812 | |
9813 | addcmd('getposition',{'getpos','notifypos','notifyposition'},function(args, speaker) |
9814 | local players = getPlayer(args[1], speaker) |
9815 | for i,v in pairs(players)do |
9816 | local char = Players[v].Character |
9817 | local pos = char and (getRoot(char) or char:FindFirstChildWhichIsA("BasePart")) |
9818 | pos = pos and pos.Position |
9819 | if not pos then |
9820 | return notify('Getposition Error','Missing character') |
9821 | end |
9822 | local roundedPos = math.round(pos.X) .. ", " .. math.round(pos.Y) .. ", " .. math.round(pos.Z) |
9823 | notify('Current Position',roundedPos) |
9824 | end |
9825 | end) |
9826 | |
9827 | addcmd('copyposition',{'copypos'},function(args, speaker) |
9828 | local players = getPlayer(args[1], speaker) |
9829 | for i,v in pairs(players)do |
9830 | local char = Players[v].Character |
9831 | local pos = char and (getRoot(char) or char:FindFirstChildWhichIsA("BasePart")) |
9832 | pos = pos and pos.Position |
9833 | if not pos then |
9834 | return notify('Getposition Error','Missing character') |
9835 | end |
9836 | local roundedPos = math.round(pos.X) .. ", " .. math.round(pos.Y) .. ", " .. math.round(pos.Z) |
9837 | toClipboard(roundedPos) |
9838 | end |
9839 | end) |
9840 | |
9841 | addcmd('walktopos',{'walktoposition'},function(args, speaker) |
9842 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
9843 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
9844 | wait(.1) |
9845 | end |
9846 | speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(args[1],args[2],args[3]) |
9847 | end) |
9848 | |
9849 | addcmd('speed',{'ws','walkspeed'},function(args, speaker) |
9850 | if args[2] then |
9851 | local speed = args[2] or 16 |
9852 | if isNumber(speed) then |
9853 | speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed |
9854 | end |
9855 | else |
9856 | local speed = args[1] or 16 |
9857 | if isNumber(speed) then |
9858 | speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed |
9859 | end |
9860 | end |
9861 | end) |
9862 | |
9863 | addcmd('spoofspeed',{'spoofws','spoofwalkspeed'},function(args, speaker) |
9864 | if args[1] and isNumber(args[1]) then |
9865 | if hookmetamethod then |
9866 | local char = speaker.Character |
9867 | local setspeed; |
9868 | local index; index = hookmetamethod(game, "__index", function(self, key) |
9869 | local keyclean = key:gsub("\0", "") |
9870 | if (keyclean == "WalkSpeed" or keyclean == "walkSpeed") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then |
9871 | return setspeed or args[1] |
9872 | end |
9873 | return index(self, key) |
9874 | end) |
9875 | local newindex; newindex = hookmetamethod(game, "__newindex", function(self, key, value) |
9876 | local keyclean = string.gsub(key, "\0", "") |
9877 | if (keyclean == "WalkSpeed" or keyclean == "walkSpeed") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then |
9878 | setspeed = tonumber(value) |
9879 | return setspeed |
9880 | end |
9881 | return newindex(self, key, value) |
9882 | end) |
9883 | else |
9884 | notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)') |
9885 | end |
9886 | end |
9887 | end) |
9888 | |
9889 | addcmd('loopspeed',{'loopws'},function(args, speaker) |
9890 | local speed = args[1] or 16 |
9891 | if args[2] then |
9892 | speed = args[2] or 16 |
9893 | end |
9894 | if isNumber(speed) then |
9895 | local Char = speaker.Character or workspace:FindFirstChild(speaker.Name) |
9896 | local Human = Char and Char:FindFirstChildWhichIsA("Humanoid") |
9897 | local function WalkSpeedChange() |
9898 | if Char and Human then |
9899 | Human.WalkSpeed = speed |
9900 | end |
9901 | end |
9902 | WalkSpeedChange() |
9903 | HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange) |
9904 | HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar) |
9905 | Char, Human = nChar, nChar:WaitForChild("Humanoid") |
9906 | WalkSpeedChange() |
9907 | HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange) |
9908 | end) |
9909 | end |
9910 | end) |
9911 | |
9912 | addcmd('unloopspeed',{'unloopws'},function(args, speaker) |
9913 | HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or nil |
9914 | HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or nil |
9915 | end) |
9916 | |
9917 | addcmd('spoofjumppower',{'spoofjp'},function(args, speaker) |
9918 | if args[1] and isNumber(args[1]) then |
9919 | if hookmetamethod then |
9920 | local char = speaker.Character |
9921 | local setpower; |
9922 | local index; index = hookmetamethod(game, "__index", function(self, key) |
9923 | local keyclean = key:gsub("\0", "") |
9924 | if (keyclean == "JumpPower" or keyclean == "jumpPower") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then |
9925 | return setpower or args[1] |
9926 | end |
9927 | return index(self, key) |
9928 | end) |
9929 | local newindex; newindex = hookmetamethod(game, "__newindex", function(self, key, value) |
9930 | local keyclean = string.gsub(key, "\0", "") |
9931 | if (keyclean == "JumpPower" or keyclean == "jumpPower") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then |
9932 | setpower = tonumber(value) |
9933 | return setpower |
9934 | end |
9935 | return newindex(self, key, value) |
9936 | end) |
9937 | else |
9938 | notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)') |
9939 | end |
9940 | end |
9941 | end) |
9942 | |
9943 | addcmd('loopjumppower',{'loopjp','loopjpower'},function(args, speaker) |
9944 | local jpower = args[1] or 50 |
9945 | if isNumber(jpower) then |
9946 | local Char = speaker.Character or workspace:FindFirstChild(speaker.Name) |
9947 | local Human = Char and Char:FindFirstChildWhichIsA("Humanoid") |
9948 | local function JumpPowerChange() |
9949 | if Char and Human then |
9950 | if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then |
9951 | speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower |
9952 | else |
9953 | speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight = jpower |
9954 | end |
9955 | end |
9956 | end |
9957 | JumpPowerChange() |
9958 | HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange) |
9959 | HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar) |
9960 | Char, Human = nChar, nChar:WaitForChild("Humanoid") |
9961 | JumpPowerChange() |
9962 | HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange) |
9963 | end) |
9964 | end |
9965 | end) |
9966 | |
9967 | addcmd('unloopjumppower',{'unloopjp','unloopjpower'},function(args, speaker) |
9968 | local Char = speaker.Character or workspace:FindFirstChild(speaker.Name) |
9969 | local Human = Char and Char:FindFirstChildWhichIsA("Humanoid") |
9970 | HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or nil |
9971 | HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or nil |
9972 | if Char and Human then |
9973 | if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then |
9974 | speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = 50 |
9975 | else |
9976 | speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight = 50 |
9977 | end |
9978 | end |
9979 | end) |
9980 | |
9981 | addcmd('tools',{'gears'},function(args, speaker) |
9982 | local function copy(instance) |
9983 | for i,c in pairs(instance:GetChildren())do |
9984 | if c:IsA('Tool') or c:IsA('HopperBin') then |
9985 | c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack") |
9986 | end |
9987 | copy(c) |
9988 | end |
9989 | end |
9990 | copy(Lighting) |
9991 | local function copy(instance) |
9992 | for i,c in pairs(instance:GetChildren())do |
9993 | if c:IsA('Tool') or c:IsA('HopperBin') then |
9994 | c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack") |
9995 | end |
9996 | copy(c) |
9997 | end |
9998 | end |
9999 | copy(ReplicatedStorage) |
10000 | notify('Tools','Copied tools from ReplicatedStorage and Lighting') |
10001 | end) |
10002 | |
10003 | addcmd('notools',{'rtools','clrtools','removetools','deletetools','dtools'},function(args, speaker) |
10004 | for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetDescendants()) do |
10005 | if v:IsA('Tool') or v:IsA('HopperBin') then |
10006 | v:Destroy() |
10007 | end |
10008 | end |
10009 | for i,v in pairs(speaker.Character:GetDescendants()) do |
10010 | if v:IsA('Tool') or v:IsA('HopperBin') then |
10011 | v:Destroy() |
10012 | end |
10013 | end |
10014 | end) |
10015 | |
10016 | addcmd('deleteselectedtool',{'dst'},function(args, speaker) |
10017 | for i,v in pairs(speaker.Character:GetDescendants()) do |
10018 | if v:IsA('Tool') or v:IsA('HopperBin') then |
10019 | v:Destroy() |
10020 | end |
10021 | end |
10022 | end) |
10023 | |
10024 | addcmd('console',{},function(args, speaker) |
10025 | -- Thanks wally!! |
10026 | notify("Loading",'Hold on a sec') |
10027 | local _, str = pcall(function() |
10028 | return game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/console.lua", true) |
10029 | end) |
10030 | |
10031 | local s, e = loadstring(str) |
10032 | if typeof(s) ~= "function" then |
10033 | return |
10034 | end |
10035 | |
10036 | local success, message = pcall(s) |
10037 | if (not success) then |
10038 | if printconsole then |
10039 | printconsole(message) |
10040 | elseif printoutput then |
10041 | printoutput(message) |
10042 | end |
10043 | end |
10044 | wait(1) |
10045 | notify('Console','Press F9 to open the console') |
10046 | end) |
10047 | |
10048 | addcmd('explorer', {'dex'}, function(args, speaker) |
10049 | notify('Loading', 'Hold on a sec') |
10050 | loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/dex.lua"))() |
10051 | end) |
10052 | |
10053 | addcmd('olddex', {'odex'}, function(args, speaker) |
10054 | notify('Loading old explorer', 'Hold on a sec') |
10055 | |
10056 | local getobjects = function(a) |
10057 | local Objects = {} |
10058 | if a then |
10059 | local b = InsertService:LoadLocalAsset(a) |
10060 | if b then |
10061 | table.insert(Objects, b) |
10062 | end |
10063 | end |
10064 | return Objects |
10065 | end |
10066 | |
10067 | local Dex = getobjects("rbxassetid://10055842438")[1] |
10068 | Dex.Parent = PARENT |
10069 | |
10070 | local function Load(Obj, Url) |
10071 | local function GiveOwnGlobals(Func, Script) |
10072 | -- Fix for this edit of dex being poorly made |
10073 | -- I (Alex) would like to commemorate whoever added this dex in somehow finding the worst dex to ever exist |
10074 | local Fenv, RealFenv, FenvMt = {}, { |
10075 | script = Script, |
10076 | getupvalue = function(a, b) |
10077 | return nil -- force it to use globals |
10078 | end, |
10079 | getreg = function() -- It loops registry for some idiotic reason so stop it from doing that and just use a global |
10080 | return {} -- force it to use globals |
10081 | end, |
10082 | getprops = getprops or function(inst) |
10083 | if getproperties then |
10084 | local props = getproperties(inst) |
10085 | if props[1] and gethiddenproperty then |
10086 | local results = {} |
10087 | for _,name in pairs(props) do |
10088 | local success, res = pcall(gethiddenproperty, inst, name) |
10089 | if success then |
10090 | results[name] = res |
10091 | end |
10092 | end |
10093 | |
10094 | return results |
10095 | end |
10096 | |
10097 | return props |
10098 | end |
10099 | |
10100 | return {} |
10101 | end |
10102 | }, {} |
10103 | FenvMt.__index = function(a,b) |
10104 | return RealFenv[b] == nil and getgenv()[b] or RealFenv[b] |
10105 | end |
10106 | FenvMt.__newindex = function(a, b, c) |
10107 | if RealFenv[b] == nil then |
10108 | getgenv()[b] = c |
10109 | else |
10110 | RealFenv[b] = c |
10111 | end |
10112 | end |
10113 | setmetatable(Fenv, FenvMt) |
10114 | pcall(setfenv, Func, Fenv) |
10115 | return Func |
10116 | end |
10117 | |
10118 | local function LoadScripts(_, Script) |
10119 | if Script:IsA("LocalScript") then |
10120 | task.spawn(function() |
10121 | GiveOwnGlobals(loadstring(Script.Source,"="..Script:GetFullName()), Script)() |
10122 | end) |
10123 | end |
10124 | table.foreach(Script:GetChildren(), LoadScripts) |
10125 | end |
10126 | |
10127 | LoadScripts(nil, Obj) |
10128 | end |
10129 | |
10130 | Load(Dex) |
10131 | end) |
10132 | |
10133 | addcmd('remotespy',{'rspy'},function(args, speaker) |
10134 | notify("Loading",'Hold on a sec') |
10135 | -- Full credit to exx, creator of SimpleSpy |
10136 | -- also thanks to NoobSploit for fixing |
10137 | loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/SimpleSpyV3/main.lua"))() |
10138 | end) |
10139 | |
10140 | addcmd('audiologger',{'alogger'},function(args, speaker) |
10141 | notify("Loading",'Hold on a sec') |
10142 | loadstring(game:HttpGet(('https://raw.githubusercontent.com/infyiff/backup/main/audiologger.lua'),true))() |
10143 | end) |
10144 | |
10145 | local loopgoto = nil |
10146 | addcmd('loopgoto',{},function(args, speaker) |
10147 | local players = getPlayer(args[1], speaker) |
10148 | for i,v in pairs(players)do |
10149 | loopgoto = nil |
10150 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
10151 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
10152 | wait(.1) |
10153 | end |
10154 | loopgoto = Players[v] |
10155 | local distance = 3 |
10156 | if args[2] and isNumber(args[2]) then |
10157 | distance = args[2] |
10158 | end |
10159 | local lDelay = 0 |
10160 | if args[3] and isNumber(args[3]) then |
10161 | lDelay = args[3] |
10162 | end |
10163 | repeat |
10164 | if Players:FindFirstChild(v) then |
10165 | if Players[v].Character ~= nil then |
10166 | getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(distance,1,0) |
10167 | end |
10168 | wait(lDelay) |
10169 | else |
10170 | loopgoto = nil |
10171 | end |
10172 | until loopgoto ~= Players[v] |
10173 | end |
10174 | end) |
10175 | |
10176 | addcmd('unloopgoto',{'noloopgoto'},function(args, speaker) |
10177 | loopgoto = nil |
10178 | end) |
10179 | |
10180 | addcmd('headsit',{},function(args, speaker) |
10181 | local players = getPlayer(args[1], speaker) |
10182 | if headSit then headSit:Disconnect() end |
10183 | for i,v in pairs(players)do |
10184 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = true |
10185 | headSit = RunService.Heartbeat:Connect(function() |
10186 | if Players:FindFirstChild(Players[v].Name) and Players[v].Character ~= nil and getRoot(Players[v].Character) and getRoot(speaker.Character) and speaker.Character:FindFirstChildOfClass('Humanoid').Sit == true then |
10187 | getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame * CFrame.Angles(0,math.rad(0),0)* CFrame.new(0,1.6,0.4) |
10188 | else |
10189 | headSit:Disconnect() |
10190 | end |
10191 | end) |
10192 | end |
10193 | end) |
10194 | |
10195 | addcmd('chat',{'say'},function(args, speaker) |
10196 | local cString = getstring(1) |
10197 | ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(cString, "All") |
10198 | end) |
10199 | |
10200 | |
10201 | spamming = false |
10202 | spamspeed = 1 |
10203 | addcmd('spam',{},function(args, speaker) |
10204 | spamming = true |
10205 | local spamstring = getstring(1) |
10206 | repeat wait(spamspeed) |
10207 | ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamstring, "All") |
10208 | until spamming == false |
10209 | end) |
10210 | |
10211 | addcmd('nospam',{'unspam'},function(args, speaker) |
10212 | spamming = false |
10213 | end) |
10214 | |
10215 | addcmd('whisper',{'pm'},function(args, speaker) |
10216 | local players = getPlayer(args[1], speaker) |
10217 | for i,v in pairs(players)do |
10218 | task.spawn(function() |
10219 | local plrName = Players[v].Name |
10220 | local pmstring = getstring(2) |
10221 | ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..plrName.." "..pmstring, "All") |
10222 | end) |
10223 | end |
10224 | end) |
10225 | |
10226 | pmspamming = {} |
10227 | addcmd('pmspam',{},function(args, speaker) |
10228 | local players = getPlayer(args[1], speaker) |
10229 | for i,v in pairs(players)do |
10230 | task.spawn(function() |
10231 | local plrName = Players[v].Name |
10232 | if FindInTable(pmspamming, plrName) then return end |
10233 | table.insert(pmspamming, plrName) |
10234 | local pmspamstring = getstring(2) |
10235 | repeat |
10236 | if Players:FindFirstChild(v) then |
10237 | wait(spamspeed) |
10238 | ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..plrName.." "..pmspamstring, "All") |
10239 | else |
10240 | for a,b in pairs(pmspamming) do if b == plrName then table.remove(pmspamming, a) end end |
10241 | end |
10242 | until not FindInTable(pmspamming, plrName) |
10243 | end) |
10244 | end |
10245 | end) |
10246 | |
10247 | addcmd('nopmspam',{'unpmspam'},function(args, speaker) |
10248 | local players = getPlayer(args[1], speaker) |
10249 | for i,v in pairs(players)do |
10250 | task.spawn(function() |
10251 | for a,b in pairs(pmspamming) do |
10252 | if b == Players[v].Name then |
10253 | table.remove(pmspamming, a) |
10254 | end |
10255 | end |
10256 | end) |
10257 | end |
10258 | end) |
10259 | |
10260 | addcmd('spamspeed',{},function(args, speaker) |
10261 | local speed = args[1] or 1 |
10262 | if isNumber(speed) then |
10263 | spamspeed = speed |
10264 | end |
10265 | end) |
10266 | |
10267 | addcmd('bubblechat',{},function(args, speaker) |
10268 | ChatService.BubbleChatEnabled = true |
10269 | end) |
10270 | |
10271 | addcmd('unbubblechat',{'nobubblechat'},function(args, speaker) |
10272 | ChatService.BubbleChatEnabled = false |
10273 | end) |
10274 | |
10275 | addcmd('safechat',{},function(args, speaker) |
10276 | speaker:SetSuperSafeChat(true) |
10277 | end) |
10278 | |
10279 | addcmd('nosafechat',{'disablesafechat','unsafechat'},function(args, speaker) |
10280 | speaker:SetSuperSafeChat(false) |
10281 | end) |
10282 | |
10283 | addcmd('blockhead',{},function(args, speaker) |
10284 | speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy() |
10285 | end) |
10286 | |
10287 | addcmd('blockhats',{},function(args, speaker) |
10288 | for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do |
10289 | for i,c in pairs(v:GetDescendants()) do |
10290 | if c:IsA("SpecialMesh") then |
10291 | c:Destroy() |
10292 | end |
10293 | end |
10294 | end |
10295 | end) |
10296 | |
10297 | addcmd('blocktool',{},function(args, speaker) |
10298 | for _,v in pairs(speaker.Character:GetChildren()) do |
10299 | if v:IsA("Tool") or v:IsA("HopperBin") then |
10300 | for i,c in pairs(v:GetDescendants()) do |
10301 | if c:IsA("SpecialMesh") then |
10302 | c:Destroy() |
10303 | end |
10304 | end |
10305 | end |
10306 | end |
10307 | end) |
10308 | |
10309 | addcmd('creeper',{},function(args, speaker) |
10310 | if r15(speaker) then |
10311 | speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy() |
10312 | speaker.Character.LeftUpperArm:Destroy() |
10313 | speaker.Character.RightUpperArm:Destroy() |
10314 | speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories() |
10315 | else |
10316 | speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy() |
10317 | speaker.Character["Left Arm"]:Destroy() |
10318 | speaker.Character["Right Arm"]:Destroy() |
10319 | speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories() |
10320 | end |
10321 | end) |
10322 | |
10323 | function getTorso(x) |
10324 | x = x or Players.LocalPlayer.Character |
10325 | return x:FindFirstChild("Torso") or x:FindFirstChild("UpperTorso") or x:FindFirstChild("LowerTorso") or x:FindFirstChild("HumanoidRootPart") |
10326 | end |
10327 | |
10328 | addcmd("bang", {"rape"}, function(args, speaker) |
10329 | execCmd("unbang") |
10330 | wait() |
10331 | local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid") |
10332 | bangAnim = Instance.new("Animation") |
10333 | bangAnim.AnimationId = not r15(speaker) and "rbxassetid://148840371" or "rbxassetid://5918726674" |
10334 | bang = humanoid:LoadAnimation(bangAnim) |
10335 | bang:Play(0.1, 1, 1) |
10336 | bang:AdjustSpeed(args[2] or 3) |
10337 | bangDied = humanoid.Died:Connect(function() |
10338 | bang:Stop() |
10339 | bangAnim:Destroy() |
10340 | bangDied:Disconnect() |
10341 | bangLoop:Disconnect() |
10342 | end) |
10343 | if args[1] then |
10344 | local players = getPlayer(args[1], speaker) |
10345 | for _, v in pairs(players) do |
10346 | local bangplr = Players[v].Name |
10347 | local bangOffet = CFrame.new(0, 0, 1.1) |
10348 | bangLoop = RunService.Stepped:Connect(function() |
10349 | pcall(function() |
10350 | local otherRoot = getTorso(Players[bangplr].Character) |
10351 | getRoot(speaker.Character).CFrame = otherRoot.CFrame * bangOffet |
10352 | end) |
10353 | end) |
10354 | end |
10355 | end |
10356 | end) |
10357 | |
10358 | addcmd("unbang", {"unrape"}, function(args, speaker) |
10359 | if bangDied then |
10360 | bangDied:Disconnect() |
10361 | bang:Stop() |
10362 | bangAnim:Destroy() |
10363 | bangLoop:Disconnect() |
10364 | end |
10365 | end) |
10366 | |
10367 | addcmd('carpet',{},function(args, speaker) |
10368 | if not r15(speaker) then |
10369 | execCmd('uncarpet') |
10370 | wait() |
10371 | local players = getPlayer(args[1], speaker) |
10372 | for i,v in pairs(players)do |
10373 | carpetAnim = Instance.new("Animation") |
10374 | carpetAnim.AnimationId = "rbxassetid://282574440" |
10375 | carpet = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(carpetAnim) |
10376 | carpet:Play(.1, 1, 1) |
10377 | local carpetplr = Players[v].Name |
10378 | carpetDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function() |
10379 | carpetLoop:Disconnect() |
10380 | carpet:Stop() |
10381 | carpetAnim:Destroy() |
10382 | carpetDied:Disconnect() |
10383 | end) |
10384 | carpetLoop = RunService.Heartbeat:Connect(function() |
10385 | pcall(function() |
10386 | getRoot(Players.LocalPlayer.Character).CFrame = getRoot(Players[carpetplr].Character).CFrame |
10387 | end) |
10388 | end) |
10389 | end |
10390 | else |
10391 | notify('R6 Required','This command requires the r6 rig type') |
10392 | end |
10393 | end) |
10394 | |
10395 | addcmd('uncarpet',{'nocarpet'},function(args, speaker) |
10396 | if carpetLoop then |
10397 | carpetLoop:Disconnect() |
10398 | carpetDied:Disconnect() |
10399 | carpet:Stop() |
10400 | carpetAnim:Destroy() |
10401 | end |
10402 | end) |
10403 | |
10404 | addcmd('friend',{},function(args, speaker) |
10405 | local players = getPlayer(args[1], speaker) |
10406 | for i,v in pairs(players)do |
10407 | speaker:RequestFriendship(v) |
10408 | end |
10409 | end) |
10410 | |
10411 | addcmd('unfriend',{},function(args, speaker) |
10412 | local players = getPlayer(args[1], speaker) |
10413 | for i,v in pairs(players)do |
10414 | speaker:RevokeFriendship(v) |
10415 | end |
10416 | end) |
10417 | |
10418 | addcmd('bringpart',{},function(args, speaker) |
10419 | for i,v in pairs(workspace:GetDescendants()) do |
10420 | if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then |
10421 | v.CFrame = getRoot(speaker.Character).CFrame |
10422 | end |
10423 | end |
10424 | end) |
10425 | |
10426 | addcmd('bringpartclass',{'bpc'},function(args, speaker) |
10427 | for i,v in pairs(workspace:GetDescendants()) do |
10428 | if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then |
10429 | v.CFrame = getRoot(speaker.Character).CFrame |
10430 | end |
10431 | end |
10432 | end) |
10433 | |
10434 | gotopartDelay = 0.1 |
10435 | addcmd('gotopart',{'topart', 'tp'},function(args, speaker) |
10436 | for i,v in pairs(workspace:GetDescendants()) do |
10437 | if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then |
10438 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
10439 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
10440 | wait(.1) |
10441 | end |
10442 | wait(gotopartDelay) |
10443 | getRoot(speaker.Character).CFrame = v.CFrame |
10444 | end |
10445 | end |
10446 | end) |
10447 | |
10448 | addcmd('tweengotopart',{'tgotopart','ttopart'},function(args, speaker) |
10449 | for i,v in pairs(workspace:GetDescendants()) do |
10450 | if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then |
10451 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
10452 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
10453 | wait(.1) |
10454 | end |
10455 | wait(gotopartDelay) |
10456 | TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play() |
10457 | end |
10458 | end |
10459 | end) |
10460 | |
10461 | addcmd('gotopartclass',{'gpc'},function(args, speaker) |
10462 | for i,v in pairs(workspace:GetDescendants()) do |
10463 | if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then |
10464 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
10465 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
10466 | wait(.1) |
10467 | end |
10468 | wait(gotopartDelay) |
10469 | getRoot(speaker.Character).CFrame = v.CFrame |
10470 | end |
10471 | end |
10472 | end) |
10473 | |
10474 | addcmd('tweengotopartclass',{'tgpc'},function(args, speaker) |
10475 | for i,v in pairs(workspace:GetDescendants()) do |
10476 | if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then |
10477 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
10478 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
10479 | wait(.1) |
10480 | end |
10481 | wait(gotopartDelay) |
10482 | TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play() |
10483 | end |
10484 | end |
10485 | end) |
10486 | |
10487 | -- [ 👺👺 MY KOMMANDS 👺👺 ] -- |
10488 | |
10489 | addcmd('ladybug',{'baxkpaxk'},function() |
10490 | loadstring(game:HttpGet("https://pastecode.dev/raw/t2xf5wcm/instantugx-dora_lulaslollipop.jpg",true))() |
10491 | end) |
10492 | |
10493 | addcmd('toladybug',{'tobaxkpaxkexplorer'},function() |
10494 | game:GetService("TeleportService"):Teleport(14773138733, game:GetService("Players").LocalPlayer) |
10495 | end) |
10496 | |
10497 | addcmd('antiguidetekt',{'dontdetekt'},function() |
10498 | --antigui |
10499 | loadstring(game:HttpGet("https://pastecode.dev/raw/xkxg3rug/antiguidetekt",true))() |
10500 | end) |
10501 | |
10502 | addcmd('lollypophub',{'lh'},function() |
10503 | -- lollypophubmobile(main) |
10504 | loadstring(game:HttpGet("https://raw.githubusercontent.com/rrixh/lulaslollipopmobile/main/lollypophubmobilev2",true))() |
10505 | end) |
10506 | |
10507 | addcmd('tooutfitsquare',{'tooutfit'},function() |
10508 | --go outfit square |
10509 | game:GetService("TeleportService"):Teleport(16874704673, game:GetService("Players").LocalPlayer) |
10510 | end) |
10511 | |
10512 | addcmd('la',{'lollypopadmin'},function() |
10513 | --LA in IY |
10514 | loadstring(game:HttpGet("https://raw.githubusercontent.com/rrixh/LollypopAdmin-skiddedbylulas/main/nobyfron.main",true))() |
10515 | end) |
10516 | |
10517 | addcmd('antilogger',{'antiban', 'antilog'},function() |
10518 | --just anti logger (safexhat) |
10519 | loadstring(game:HttpGet("https://pastecode.dev/raw/tarixx9o/lulas-antiban.jar",true))() |
10520 | end) |
10521 | |
10522 | addcmd('antilogger',{'antiban', 'antilog'},function() |
10523 | |
10524 | loadstring(game:HttpGet("https://pastecode.dev/raw/w4g226cm/hiddenfling-toggle.deb",true))() |
10525 | end) |
10526 | |
10527 | |
10528 | |
10529 | |
10530 | |
10531 | |
10532 | |
10533 | |
10534 | -- [ 👺👺 END OF MY KOMMANDS ] -- |
10535 | |
10536 | |
10537 | addcmd('gotomodel',{'tomodel'},function(args, speaker) |
10538 | for i,v in pairs(workspace:GetDescendants()) do |
10539 | if v.Name:lower() == getstring(1):lower() and v:IsA("Model") then |
10540 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
10541 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
10542 | wait(.1) |
10543 | end |
10544 | wait(gotopartDelay) |
10545 | getRoot(speaker.Character).CFrame = v:GetModelCFrame() |
10546 | end |
10547 | end |
10548 | end) |
10549 | |
10550 | addcmd('tweengotomodel',{'tgotomodel','ttomodel'},function(args, speaker) |
10551 | for i,v in pairs(workspace:GetDescendants()) do |
10552 | if v.Name:lower() == getstring(1):lower() and v:IsA("Model") then |
10553 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
10554 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
10555 | wait(.1) |
10556 | end |
10557 | wait(gotopartDelay) |
10558 | TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v:GetModelCFrame()}):Play() |
10559 | end |
10560 | end |
10561 | end) |
10562 | |
10563 | addcmd('gotopartdelay',{},function(args, speaker) |
10564 | local gtpDelay = args[1] or 0.1 |
10565 | if isNumber(gtpDelay) then |
10566 | gotopartDelay = gtpDelay |
10567 | end |
10568 | end) |
10569 | |
10570 | addcmd('noclickdetectorlimits',{'nocdlimits','removecdlimits'},function(args, speaker) |
10571 | for i,v in ipairs(workspace:GetDescendants()) do |
10572 | if v:IsA("ClickDetector") then |
10573 | v.MaxActivationDistance = math.huge |
10574 | end |
10575 | end |
10576 | end) |
10577 | |
10578 | addcmd('fireclickdetectors',{'firecd','firecds'}, function(args, speaker) |
10579 | if fireclickdetector then |
10580 | if args[1] then |
10581 | local name = getstring(1) |
10582 | for _, descendant in ipairs(workspace:GetDescendants()) do |
10583 | if descendant:IsA("ClickDetector") and descendant.Name == name or descandant.Parent.Name == name then |
10584 | fireclickdetector(descendant) |
10585 | end |
10586 | end |
10587 | else |
10588 | for _, descendant in ipairs(workspace:GetDescendants()) do |
10589 | if descendant:IsA("ClickDetector") then |
10590 | fireclickdetector(descendant) |
10591 | end |
10592 | end |
10593 | end |
10594 | else |
10595 | notify("Incompatible Exploit", "Your exploit does not support this command (missing fireclickdetector)") |
10596 | end |
10597 | end) |
10598 | |
10599 | addcmd('noproximitypromptlimits',{'nopplimits','removepplimits'},function(args, speaker) |
10600 | for i,v in pairs(workspace:GetDescendants()) do |
10601 | if v:IsA("ProximityPrompt") then |
10602 | v.MaxActivationDistance = math.huge |
10603 | end |
10604 | end |
10605 | end) |
10606 | |
10607 | addcmd('fireproximityprompts',{'firepp'},function(args, speaker) |
10608 | if fireclickdetector then |
10609 | if args[1] then |
10610 | local name = getstring(1) |
10611 | for _, descendant in ipairs(workspace:GetDescendants()) do |
10612 | if descendant:IsA("ProximityPrompt") and descendant.Name == name or descandant.Parent.Name == name then |
10613 | fireproximityprompt(descendant) |
10614 | end |
10615 | end |
10616 | else |
10617 | for _, descendant in ipairs(workspace:GetDescendants()) do |
10618 | if descendant:IsA("ProximityPrompt") then |
10619 | fireproximityprompt(descendant) |
10620 | end |
10621 | end |
10622 | end |
10623 | else |
10624 | notify("Incompatible Exploit", "Your exploit does not support this command (missing fireproximityprompt)") |
10625 | end |
10626 | end) |
10627 | |
10628 | local PromptButtonHoldBegan = nil |
10629 | addcmd('instantproximityprompts',{'instantpp'},function(args, speaker) |
10630 | if fireproximityprompt then |
10631 | execCmd("uninstantproximityprompts") |
10632 | wait(0.1) |
10633 | PromptButtonHoldBegan = ProximityPromptService.PromptButtonHoldBegan:Connect(function(prompt) |
10634 | fireproximityprompt(prompt) |
10635 | end) |
10636 | else |
10637 | notify('Incompatible Exploit','Your exploit does not support this command (missing fireproximityprompt)') |
10638 | end |
10639 | end) |
10640 | |
10641 | addcmd('uninstantproximityprompts',{'uninstantpp'},function(args, speaker) |
10642 | if PromptButtonHoldBegan ~= nil then |
10643 | PromptButtonHoldBegan:Disconnect() |
10644 | PromptButtonHoldBegan = nil |
10645 | end |
10646 | end) |
10647 | |
10648 | addcmd('notifyping',{'ping'},function(args, speaker) |
10649 | notify("Ping", math.round(speaker:GetNetworkPing() * 1000) .. "ms") |
10650 | end) |
10651 | |
10652 | addcmd('grabtools', {}, function(args, speaker) |
10653 | local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid") |
10654 | for _, child in ipairs(workspace:GetChildren()) do |
10655 | if speaker.Character and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then |
10656 | humanoid:EquipTool(child) |
10657 | end |
10658 | end |
10659 | |
10660 | if grabtoolsFunc then |
10661 | grabtoolsFunc:Disconnect() |
10662 | end |
10663 | |
10664 | grabtoolsFunc = workspace.ChildAdded:Connect(function(child) |
10665 | if speaker.Character and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then |
10666 | humanoid:EquipTool(child) |
10667 | end |
10668 | end) |
10669 | |
10670 | notify("Grabtools", "Picking up any dropped tools") |
10671 | end) |
10672 | |
10673 | addcmd('nograbtools',{'ungrabtools'},function(args, speaker) |
10674 | if grabtoolsFunc then |
10675 | grabtoolsFunc:Disconnect() |
10676 | end |
10677 | |
10678 | notify("Grabtools", "Grabtools has been disabled") |
10679 | end) |
10680 | |
10681 | local specifictoolremoval = {} |
10682 | addcmd('removespecifictool',{},function(args, speaker) |
10683 | if args[1] and speaker:FindFirstChildOfClass("Backpack") then |
10684 | local tool = string.lower(getstring(1)) |
10685 | local RST = RunService.RenderStepped:Connect(function() |
10686 | if speaker:FindFirstChildOfClass("Backpack") then |
10687 | for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do |
10688 | if v.Name:lower() == tool then |
10689 | v:Remove() |
10690 | end |
10691 | end |
10692 | end |
10693 | end) |
10694 | specifictoolremoval[tool] = RST |
10695 | end |
10696 | end) |
10697 | |
10698 | addcmd('unremovespecifictool',{},function(args, speaker) |
10699 | if args[1] then |
10700 | local tool = string.lower(getstring(1)) |
10701 | if specifictoolremoval[tool] ~= nil then |
10702 | specifictoolremoval[tool]:Disconnect() |
10703 | specifictoolremoval[tool] = nil |
10704 | end |
10705 | end |
10706 | end) |
10707 | |
10708 | addcmd('clearremovespecifictool',{},function(args, speaker) |
10709 | for obj in pairs(specifictoolremoval) do |
10710 | specifictoolremoval[obj]:Disconnect() |
10711 | specifictoolremoval[obj] = nil |
10712 | end |
10713 | end) |
10714 | |
10715 | addcmd('light',{},function(args, speaker) |
10716 | local light = Instance.new("PointLight") |
10717 | light.Parent = getRoot(speaker.Character) |
10718 | light.Range = 30 |
10719 | if args[1] then |
10720 | light.Brightness = args[2] |
10721 | light.Range = args[1] |
10722 | else |
10723 | light.Brightness = 5 |
10724 | end |
10725 | end) |
10726 | |
10727 | addcmd('unlight',{'nolight'},function(args, speaker) |
10728 | for i,v in pairs(speaker.Character:GetDescendants()) do |
10729 | if v.ClassName == "PointLight" then |
10730 | v:Destroy() |
10731 | end |
10732 | end |
10733 | end) |
10734 | |
10735 | addcmd('copytools',{},function(args, speaker) |
10736 | local players = getPlayer(args[1], speaker) |
10737 | for i,v in pairs(players)do |
10738 | task.spawn(function() |
10739 | for i,v in pairs(Players[v]:FindFirstChildOfClass("Backpack"):GetChildren()) do |
10740 | if v:IsA('Tool') or v:IsA('HopperBin') then |
10741 | v:Clone().Parent = speaker:FindFirstChildOfClass("Backpack") |
10742 | end |
10743 | end |
10744 | end) |
10745 | end |
10746 | end) |
10747 | |
10748 | addcmd('naked',{},function(args, speaker) |
10749 | for i,v in pairs(speaker.Character:GetDescendants()) do |
10750 | if v:IsA("Clothing") or v:IsA("ShirtGraphic") then |
10751 | v:Destroy() |
10752 | end |
10753 | end |
10754 | end) |
10755 | |
10756 | addcmd('noface',{'removeface'},function(args, speaker) |
10757 | for i,v in pairs(speaker.Character:GetDescendants()) do |
10758 | if v:IsA("Decal") and v.Name == 'face' then |
10759 | v:Destroy() |
10760 | end |
10761 | end |
10762 | end) |
10763 | |
10764 | addcmd('spawnpoint',{'spawn'},function(args, speaker) |
10765 | spawnpos = getRoot(speaker.Character).CFrame |
10766 | spawnpoint = true |
10767 | spDelay = tonumber(args[1]) or 0.1 |
10768 | notify('Spawn Point','Spawn point created at '..tostring(spawnpos)) |
10769 | end) |
10770 | |
10771 | addcmd('nospawnpoint',{'nospawn','removespawnpoint'},function(args, speaker) |
10772 | spawnpoint = false |
10773 | notify('Spawn Point','Removed spawn point') |
10774 | end) |
10775 | |
10776 | addcmd('flashback',{'diedtp'},function(args, speaker) |
10777 | if lastDeath ~= nil then |
10778 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
10779 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
10780 | wait(.1) |
10781 | end |
10782 | getRoot(speaker.Character).CFrame = lastDeath |
10783 | end |
10784 | end) |
10785 | |
10786 | addcmd('hatspin',{'spinhats'},function(args, speaker) |
10787 | execCmd('unhatspin') |
10788 | wait(.5) |
10789 | for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do |
10790 | local keep = Instance.new("BodyPosition") keep.Name = randomString() keep.Parent = v.Handle |
10791 | local spin = Instance.new("BodyAngularVelocity") spin.Name = randomString() spin.Parent = v.Handle |
10792 | v.Handle:FindFirstChildOfClass("Weld"):Destroy() |
10793 | if args[1] then |
10794 | spin.AngularVelocity = Vector3.new(0, args[1], 0) |
10795 | spin.MaxTorque = Vector3.new(0, args[1] * 2, 0) |
10796 | else |
10797 | spin.AngularVelocity = Vector3.new(0, 100, 0) |
10798 | spin.MaxTorque = Vector3.new(0, 200, 0) |
10799 | end |
10800 | keep.P = 30000 |
10801 | keep.D = 50 |
10802 | spinhats = RunService.Stepped:Connect(function() |
10803 | pcall(function() |
10804 | keep.Position = Players.LocalPlayer.Character.Head.Position |
10805 | end) |
10806 | end) |
10807 | end |
10808 | end) |
10809 | |
10810 | addcmd('unhatspin',{'unspinhats'},function(args, speaker) |
10811 | if spinhats then |
10812 | spinhats:Disconnect() |
10813 | end |
10814 | for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do |
10815 | v.Parent = workspace |
10816 | for i,c in pairs(v.Handle) do |
10817 | if c:IsA("BodyPosition") or c:IsA("BodyAngularVelocity") then |
10818 | c:Destroy() |
10819 | end |
10820 | end |
10821 | wait() |
10822 | v.Parent = speaker.Character |
10823 | end |
10824 | end) |
10825 | |
10826 | addcmd('clearhats',{'cleanhats'},function(args, speaker) |
10827 | if firetouchinterest then |
10828 | local Player = Players.LocalPlayer |
10829 | local Character = Player.Character |
10830 | local Old = Character:FindFirstChild("HumanoidRootPart").CFrame |
10831 | local Hats = {} |
10832 | |
10833 | for _, child in ipairs(workspace:GetChildren()) do |
10834 | if child:IsA("Accessory") then |
10835 | table.insert(Hats, child) |
10836 | end |
10837 | end |
10838 | |
10839 | for _, accessory in ipairs(Character:FindFirstChildOfClass("Humanoid"):GetAccessories()) do |
10840 | accessory:Destroy() |
10841 | end |
10842 | |
10843 | for i = 1, #Hats do |
10844 | repeat RunService.Heartbeat:wait() until Hats[i] |
10845 | firetouchinterest(Hats[i].Handle,Character:FindFirstChild("HumanoidRootPart"),0) |
10846 | repeat RunService.Heartbeat:wait() until Character:FindFirstChildOfClass("Accessory") |
10847 | Character:FindFirstChildOfClass("Accessory"):Destroy() |
10848 | repeat RunService.Heartbeat:wait() until not Character:FindFirstChildOfClass("Accessory") |
10849 | end |
10850 | |
10851 | execCmd("reset") |
10852 | |
10853 | Player.CharacterAdded:Wait() |
10854 | |
10855 | for i = 1,20 do |
10856 | RunService.Heartbeat:Wait() |
10857 | if Player.Character:FindFirstChild("HumanoidRootPart") then |
10858 | Player.Character:FindFirstChild("HumanoidRootPart").CFrame = Old |
10859 | end |
10860 | end |
10861 | else |
10862 | notify("Incompatible Exploit","Your exploit does not support this command (missing firetouchinterest)") |
10863 | end |
10864 | end) |
10865 | |
10866 | addcmd('vr',{},function(args, speaker) |
10867 | -- Full credit to Abacaxl @V3rmillion |
10868 | notify("Loading", "Hold on a sec") |
10869 | loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/vr.lua"))() |
10870 | end) |
10871 | |
10872 | addcmd('split',{},function(args, speaker) |
10873 | if r15(speaker) then |
10874 | speaker.Character.UpperTorso.Waist:Destroy() |
10875 | else |
10876 | notify('R15 Required','This command requires the r15 rig type') |
10877 | end |
10878 | end) |
10879 | |
10880 | addcmd('nilchar',{},function(args, speaker) |
10881 | if speaker.Character ~= nil then |
10882 | speaker.Character.Parent = nil |
10883 | end |
10884 | end) |
10885 | |
10886 | addcmd('unnilchar',{'nonilchar'},function(args, speaker) |
10887 | if speaker.Character ~= nil then |
10888 | speaker.Character.Parent = workspace |
10889 | end |
10890 | end) |
10891 | |
10892 | addcmd('noroot',{'removeroot','rroot'},function(args, speaker) |
10893 | if speaker.Character ~= nil then |
10894 | local char = Players.LocalPlayer.Character |
10895 | char.Parent = nil |
10896 | char.HumanoidRootPart:Destroy() |
10897 | char.Parent = workspace |
10898 | end |
10899 | end) |
10900 | |
10901 | addcmd('replaceroot',{'replacerootpart'},function(args, speaker) |
10902 | if speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then |
10903 | local Char = speaker.Character |
10904 | local OldParent = Char.Parent |
10905 | local HRP = Char and Char:FindFirstChild("HumanoidRootPart") |
10906 | local OldPos = HRP.CFrame |
10907 | Char.Parent = game |
10908 | local HRP1 = HRP:Clone() |
10909 | HRP1.Parent = Char |
10910 | HRP = HRP:Destroy() |
10911 | HRP1.CFrame = OldPos |
10912 | Char.Parent = OldParent |
10913 | end |
10914 | end) |
10915 | |
10916 | addcmd('clearcharappearance',{'clearchar','clrchar'},function(args, speaker) |
10917 | speaker:ClearCharacterAppearance() |
10918 | end) |
10919 | |
10920 | addcmd('equiptools',{},function(args, speaker) |
10921 | for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do |
10922 | if v:IsA("Tool") or v:IsA("HopperBin") then |
10923 | v.Parent = speaker.Character |
10924 | end |
10925 | end |
10926 | end) |
10927 | |
10928 | addcmd('unequiptools',{},function(args, speaker) |
10929 | speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools() |
10930 | end) |
10931 | |
10932 | local function GetHandleTools(p) |
10933 | p = p or Players.LocalPlayer |
10934 | local r = {} |
10935 | for _, v in ipairs(p.Character and p.Character:GetChildren() or {}) do |
10936 | if v.IsA(v, "BackpackItem") and v.FindFirstChild(v, "Handle") then |
10937 | r[#r + 1] = v |
10938 | end |
10939 | end |
10940 | for _, v in ipairs(p.Backpack:GetChildren()) do |
10941 | if v.IsA(v, "BackpackItem") and v.FindFirstChild(v, "Handle") then |
10942 | r[#r + 1] = v |
10943 | end |
10944 | end |
10945 | return r |
10946 | end |
10947 | addcmd('dupetools', {'clonetools'}, function(args, speaker) |
10948 | local LOOP_NUM = tonumber(args[1]) or 1 |
10949 | local OrigPos = speaker.Character.HumanoidRootPart.Position |
10950 | local Tools, TempPos = {}, Vector3.new(math.random(-2e5, 2e5), 2e5, math.random(-2e5, 2e5)) |
10951 | for i = 1, LOOP_NUM do |
10952 | local Human = speaker.Character:WaitForChild("Humanoid") |
10953 | wait(.1, Human.Parent:MoveTo(TempPos)) |
10954 | Human.RootPart.Anchored = speaker:ClearCharacterAppearance(wait(.1)) or true |
10955 | local t = GetHandleTools(speaker) |
10956 | while #t > 0 do |
10957 | for _, v in ipairs(t) do |
10958 | task.spawn(function() |
10959 | for _ = 1, 25 do |
10960 | v.Parent = speaker.Character |
10961 | v.Handle.Anchored = true |
10962 | end |
10963 | for _ = 1, 5 do |
10964 | v.Parent = workspace |
10965 | end |
10966 | table.insert(Tools, v.Handle) |
10967 | end) |
10968 | end |
10969 | t = GetHandleTools(speaker) |
10970 | end |
10971 | wait(.1) |
10972 | speaker.Character = speaker.Character:Destroy() |
10973 | speaker.CharacterAdded:Wait():WaitForChild("Humanoid").Parent:MoveTo(LOOP_NUM == i and OrigPos or TempPos, wait(.1)) |
10974 | if i == LOOP_NUM or i % 5 == 0 then |
10975 | local HRP = speaker.Character.HumanoidRootPart |
10976 | if type(firetouchinterest) == "function" then |
10977 | for _, v in ipairs(Tools) do |
10978 | v.Anchored = not firetouchinterest(v, HRP, 1, firetouchinterest(v, HRP, 0)) and false or false |
10979 | end |
10980 | else |
10981 | for _, v in ipairs(Tools) do |
10982 | task.spawn(function() |
10983 | local x = v.CanCollide |
10984 | v.CanCollide = false |
10985 | v.Anchored = false |
10986 | for _ = 1, 10 do |
10987 | v.CFrame = HRP.CFrame |
10988 | wait() |
10989 | end |
10990 | v.CanCollide = x |
10991 | end) |
10992 | end |
10993 | end |
10994 | wait(.1) |
10995 | Tools = {} |
10996 | end |
10997 | TempPos = TempPos + Vector3.new(10, math.random(-5, 5), 0) |
10998 | end |
10999 | end) |
11000 | |
11001 | local RS = RunService.RenderStepped |
11002 | addcmd('givetool', {'givetools'}, function(args, speaker) |
11003 | local v = Players[getPlayer(args[1], speaker)[1]].Character |
11004 | workspace.CurrentCamera.CameraSubject = v |
11005 | local Char = speaker.Character or workspace:FindFirstChild(speaker.Name) |
11006 | local hum = Char and Char:FindFirstChildWhichIsA('Humanoid') |
11007 | local hrp = hum and hum.RootPart |
11008 | local hrppos = hrp.CFrame |
11009 | hum = hum:Destroy() or hum:Clone() |
11010 | hum.Parent = Char |
11011 | hum:ClearAllChildren() |
11012 | speaker:ClearCharacterAppearance() |
11013 | task.spawn(function() |
11014 | speaker.CharacterAdded:Wait():WaitForChild('Humanoid').RootPart.CFrame = wait() and hrppos |
11015 | end) |
11016 | local vHRP = getRoot(v) |
11017 | while Char and Char.Parent and vHRP and vHRP.Parent do |
11018 | local Tools = false |
11019 | for _, v in ipairs(Char:GetChildren()) do |
11020 | if v:IsA('BackpackItem') and v:FindFirstChild('Handle') then |
11021 | Tools = true |
11022 | firetouchinterest(v.Handle, vHRP, 0) |
11023 | firetouchinterest(v.Handle, vHRP, 1) |
11024 | end |
11025 | end |
11026 | if not Tools then |
11027 | break |
11028 | end |
11029 | hrp.CFrame = vHRP.CFrame |
11030 | RS:Wait() |
11031 | end |
11032 | execCmd('re') |
11033 | end) |
11034 | |
11035 | addcmd('touchinterests', {'touchinterest', 'firetouchinterests', 'firetouchinterest'}, function(args, speaker) |
11036 | if not firetouchinterest then |
11037 | notify("Incompatible Exploit", "Your exploit does not support this command (missing firetouchinterest)") |
11038 | return |
11039 | end |
11040 | |
11041 | local root = getRoot(speaker.Character) or speaker.Character:FindFirstChildWhichIsA("BasePart") |
11042 | |
11043 | local function touch(x) |
11044 | x = x:FindFirstAncestorWhichIsA("Part") |
11045 | if x then |
11046 | if firetouchinterest then |
11047 | task.spawn(function() |
11048 | firetouchinterest(x, root, 1) |
11049 | wait() |
11050 | firetouchinterest(x, root, 0) |
11051 | end) |
11052 | end |
11053 | x.CFrame = root.CFrame |
11054 | end |
11055 | end |
11056 | |
11057 | if args[1] then |
11058 | local name = getstring(1) |
11059 | for _, descendant in ipairs(workspace:GetDescendants()) do |
11060 | if descendant:IsA("TouchTransmitter") and descendant.Name == name or descandant.Parent.Name == name then |
11061 | touch(descendant) |
11062 | end |
11063 | end |
11064 | else |
11065 | for _, descendant in ipairs(workspace:GetDescendants()) do |
11066 | if descendant:IsA("TouchTransmitter") then |
11067 | touch(descendant) |
11068 | end |
11069 | end |
11070 | end |
11071 | end) |
11072 | |
11073 | addcmd('fullbright',{'fb','fullbrightness'},function(args, speaker) |
11074 | Lighting.Brightness = 2 |
11075 | Lighting.ClockTime = 14 |
11076 | Lighting.FogEnd = 100000 |
11077 | Lighting.GlobalShadows = false |
11078 | Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128) |
11079 | end) |
11080 | |
11081 | addcmd('loopfullbright',{'loopfb'},function(args, speaker) |
11082 | if brightLoop then |
11083 | brightLoop:Disconnect() |
11084 | end |
11085 | local function brightFunc() |
11086 | Lighting.Brightness = 2 |
11087 | Lighting.ClockTime = 14 |
11088 | Lighting.FogEnd = 100000 |
11089 | Lighting.GlobalShadows = false |
11090 | Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128) |
11091 | end |
11092 | |
11093 | brightLoop = RunService.RenderStepped:Connect(brightFunc) |
11094 | end) |
11095 | |
11096 | addcmd('unloopfullbright',{'unloopfb'},function(args, speaker) |
11097 | if brightLoop then |
11098 | brightLoop:Disconnect() |
11099 | end |
11100 | end) |
11101 | |
11102 | addcmd('ambient',{},function(args, speaker) |
11103 | Lighting.Ambient = Color3.new(args[1],args[2],args[3]) |
11104 | Lighting.OutdoorAmbient = Color3.new(args[1],args[2],args[3]) |
11105 | end) |
11106 | |
11107 | addcmd('day',{},function(args, speaker) |
11108 | Lighting.ClockTime = 14 |
11109 | end) |
11110 | |
11111 | addcmd('night',{},function(args, speaker) |
11112 | Lighting.ClockTime = 0 |
11113 | end) |
11114 | |
11115 | addcmd('nofog',{},function(args, speaker) |
11116 | Lighting.FogEnd = 100000 |
11117 | for i,v in pairs(Lighting:GetDescendants()) do |
11118 | if v:IsA("Atmosphere") then |
11119 | v:Destroy() |
11120 | end |
11121 | end |
11122 | end) |
11123 | |
11124 | addcmd('brightness',{},function(args, speaker) |
11125 | Lighting.Brightness = args[1] |
11126 | end) |
11127 | |
11128 | addcmd('globalshadows',{'gshadows'},function(args, speaker) |
11129 | Lighting.GlobalShadows = true |
11130 | end) |
11131 | |
11132 | addcmd('unglobalshadows',{'nogshadows','ungshadows','noglobalshadows'},function(args, speaker) |
11133 | Lighting.GlobalShadows = false |
11134 | end) |
11135 | |
11136 | origsettings = {abt = Lighting.Ambient, oabt = Lighting.OutdoorAmbient, brt = Lighting.Brightness, time = Lighting.ClockTime, fe = Lighting.FogEnd, fs = Lighting.FogStart, gs = Lighting.GlobalShadows} |
11137 | |
11138 | addcmd('restorelighting',{'rlighting'},function(args, speaker) |
11139 | Lighting.Ambient = origsettings.abt |
11140 | Lighting.OutdoorAmbient = origsettings.oabt |
11141 | Lighting.Brightness = origsettings.brt |
11142 | Lighting.ClockTime = origsettings.time |
11143 | Lighting.FogEnd = origsettings.fe |
11144 | Lighting.FogStart = origsettings.fs |
11145 | Lighting.GlobalShadows = origsettings.gs |
11146 | end) |
11147 | |
11148 | addcmd('stun',{'platformstand'},function(args, speaker) |
11149 | speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true |
11150 | end) |
11151 | |
11152 | addcmd('unstun',{'nostun','unplatformstand','noplatformstand'},function(args, speaker) |
11153 | speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false |
11154 | end) |
11155 | |
11156 | addcmd('norotate',{'noautorotate'},function(args, speaker) |
11157 | speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate = false |
11158 | end) |
11159 | |
11160 | addcmd('unnorotate',{'autorotate'},function(args, speaker) |
11161 | speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate = true |
11162 | end) |
11163 | |
11164 | addcmd('enablestate',{},function(args, speaker) |
11165 | local x = args[1] |
11166 | if not tonumber(x) then |
11167 | local x = Enum.HumanoidStateType[args[1]] |
11168 | end |
11169 | speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, true) |
11170 | end) |
11171 | |
11172 | addcmd('disablestate',{},function(args, speaker) |
11173 | local x = args[1] |
11174 | if not tonumber(x) then |
11175 | local x = Enum.HumanoidStateType[args[1]] |
11176 | end |
11177 | speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, false) |
11178 | end) |
11179 | |
11180 | addcmd('drophats',{'drophat'},function(args, speaker) |
11181 | if speaker.Character then |
11182 | for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do |
11183 | v.Parent = workspace |
11184 | end |
11185 | end |
11186 | end) |
11187 | |
11188 | addcmd('deletehats',{'nohats','rhats'},function(args, speaker) |
11189 | for i,v in next, speaker.Character:GetDescendants() do |
11190 | if v:IsA("Accessory") then |
11191 | for i,p in next, v:GetDescendants() do |
11192 | if p:IsA("Weld") then |
11193 | p:Destroy() |
11194 | end |
11195 | end |
11196 | end |
11197 | end |
11198 | end) |
11199 | |
11200 | addcmd('droptools',{'droptool'},function(args, speaker) |
11201 | for i,v in pairs(Players.LocalPlayer.Backpack:GetChildren()) do |
11202 | if v:IsA("Tool") then |
11203 | v.Parent = Players.LocalPlayer.Character |
11204 | end |
11205 | end |
11206 | wait() |
11207 | for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do |
11208 | if v:IsA("Tool") then |
11209 | v.Parent = workspace |
11210 | end |
11211 | end |
11212 | end) |
11213 | |
11214 | addcmd('droppabletools',{},function(args, speaker) |
11215 | if speaker.Character then |
11216 | for _,obj in pairs(speaker.Character:GetChildren()) do |
11217 | if obj:IsA("Tool") then |
11218 | obj.CanBeDropped = true |
11219 | end |
11220 | end |
11221 | end |
11222 | if speaker:FindFirstChildOfClass("Backpack") then |
11223 | for _,obj in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do |
11224 | if obj:IsA("Tool") then |
11225 | obj.CanBeDropped = true |
11226 | end |
11227 | end |
11228 | end |
11229 | end) |
11230 | |
11231 | local currentToolSize = "" |
11232 | local currentGripPos = "" |
11233 | addcmd('reach',{},function(args, speaker) |
11234 | execCmd('unreach') |
11235 | wait() |
11236 | for i,v in pairs(speaker.Character:GetDescendants()) do |
11237 | if v:IsA("Tool") then |
11238 | if args[1] then |
11239 | currentToolSize = v.Handle.Size |
11240 | currentGripPos = v.GripPos |
11241 | local a = Instance.new("SelectionBox") |
11242 | a.Name = "SelectionBoxCreated" |
11243 | a.Parent = v.Handle |
11244 | a.Adornee = v.Handle |
11245 | v.Handle.Massless = true |
11246 | v.Handle.Size = Vector3.new(0.5,0.5,args[1]) |
11247 | v.GripPos = Vector3.new(0,0,0) |
11248 | speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools() |
11249 | else |
11250 | currentToolSize = v.Handle.Size |
11251 | currentGripPos = v.GripPos |
11252 | local a = Instance.new("SelectionBox") |
11253 | a.Name = "SelectionBoxCreated" |
11254 | a.Parent = v.Handle |
11255 | a.Adornee = v.Handle |
11256 | v.Handle.Massless = true |
11257 | v.Handle.Size = Vector3.new(0.5,0.5,60) |
11258 | v.GripPos = Vector3.new(0,0,0) |
11259 | speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools() |
11260 | end |
11261 | end |
11262 | end |
11263 | end) |
11264 | |
11265 | addcmd('unreach',{'noreach'},function(args, speaker) |
11266 | for i,v in pairs(speaker.Character:GetDescendants()) do |
11267 | if v:IsA("Tool") then |
11268 | v.Handle.Size = currentToolSize |
11269 | v.GripPos = currentGripPos |
11270 | v.Handle.SelectionBoxCreated:Destroy() |
11271 | end |
11272 | end |
11273 | end) |
11274 | |
11275 | addcmd('grippos',{},function(args, speaker) |
11276 | for i,v in pairs(speaker.Character:GetDescendants()) do |
11277 | if v:IsA("Tool") then |
11278 | v.Parent = speaker:FindFirstChildOfClass("Backpack") |
11279 | v.GripPos = Vector3.new(args[1],args[2],args[3]) |
11280 | v.Parent = speaker.Character |
11281 | end |
11282 | end |
11283 | end) |
11284 | |
11285 | addcmd('usetools', {}, function(args, speaker) |
11286 | local Backpack = speaker:FindFirstChildOfClass("Backpack") |
11287 | local ammount = tonumber(args[1]) or 1 |
11288 | local delay_ = tonumber(args[2]) or false |
11289 | for _, v in ipairs(Backpack:GetChildren()) do |
11290 | v.Parent = speaker.Character |
11291 | task.spawn(function() |
11292 | for _ = 1, ammount do |
11293 | v:Activate() |
11294 | if delay_ then |
11295 | wait(delay_) |
11296 | end |
11297 | end |
11298 | v.Parent = Backpack |
11299 | end) |
11300 | end |
11301 | end) |
11302 | |
11303 | addcmd('logs',{},function(args, speaker) |
11304 | logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil) |
11305 | end) |
11306 | |
11307 | addcmd('chatlogs',{'clogs'},function(args, speaker) |
11308 | join.Visible = false |
11309 | chat.Visible = true |
11310 | table.remove(shade3,table.find(shade3,selectChat)) |
11311 | table.remove(shade2,table.find(shade2,selectJoin)) |
11312 | table.insert(shade2,selectChat) |
11313 | table.insert(shade3,selectJoin) |
11314 | selectJoin.BackgroundColor3 = currentShade3 |
11315 | selectChat.BackgroundColor3 = currentShade2 |
11316 | logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil) |
11317 | end) |
11318 | |
11319 | addcmd('joinlogs',{'jlogs'},function(args, speaker) |
11320 | chat.Visible = false |
11321 | join.Visible = true |
11322 | table.remove(shade3,table.find(shade3,selectJoin)) |
11323 | table.remove(shade2,table.find(shade2,selectChat)) |
11324 | table.insert(shade2,selectJoin) |
11325 | table.insert(shade3,selectChat) |
11326 | selectChat.BackgroundColor3 = currentShade3 |
11327 | selectJoin.BackgroundColor3 = currentShade2 |
11328 | logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil) |
11329 | end) |
11330 | |
11331 | flinging = false |
11332 | addcmd('fling',{},function(args, speaker) |
11333 | flinging = false |
11334 | for _, child in pairs(speaker.Character:GetDescendants()) do |
11335 | if child:IsA("BasePart") then |
11336 | child.CustomPhysicalProperties = PhysicalProperties.new(math.huge, 0.3, 0.5) |
11337 | end |
11338 | end |
11339 | execCmd('noclip') |
11340 | wait(.1) |
11341 | local bambam = Instance.new("BodyAngularVelocity") |
11342 | bambam.Name = randomString() |
11343 | bambam.Parent = getRoot(speaker.Character) |
11344 | bambam.AngularVelocity = Vector3.new(0,99999,0) |
11345 | bambam.MaxTorque = Vector3.new(0,math.huge,0) |
11346 | bambam.P = math.huge |
11347 | local Char = speaker.Character:GetChildren() |
11348 | for i, v in next, Char do |
11349 | if v:IsA("BasePart") then |
11350 | v.CanCollide = false |
11351 | v.Massless = true |
11352 | v.Velocity = Vector3.new(0, 0, 0) |
11353 | end |
11354 | end |
11355 | flinging = true |
11356 | local function flingDiedF() |
11357 | execCmd('unfling') |
11358 | end |
11359 | flingDied = speaker.Character:FindFirstChildOfClass('Humanoid').Died:Connect(flingDiedF) |
11360 | repeat |
11361 | bambam.AngularVelocity = Vector3.new(0,99999,0) |
11362 | wait(.2) |
11363 | bambam.AngularVelocity = Vector3.new(0,0,0) |
11364 | wait(.1) |
11365 | until flinging == false |
11366 | end) |
11367 | |
11368 | addcmd('unfling',{'nofling'},function(args, speaker) |
11369 | execCmd('clip') |
11370 | if flingDied then |
11371 | flingDied:Disconnect() |
11372 | end |
11373 | flinging = false |
11374 | wait(.1) |
11375 | local speakerChar = speaker.Character |
11376 | if not speakerChar or not getRoot(speakerChar) then return end |
11377 | for i,v in pairs(getRoot(speakerChar):GetChildren()) do |
11378 | if v.ClassName == 'BodyAngularVelocity' then |
11379 | v:Destroy() |
11380 | end |
11381 | end |
11382 | for _, child in pairs(speakerChar:GetDescendants()) do |
11383 | if child.ClassName == "Part" or child.ClassName == "MeshPart" then |
11384 | child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5) |
11385 | end |
11386 | end |
11387 | end) |
11388 | |
11389 | addcmd('togglefling',{},function(args, speaker) |
11390 | if flinging then |
11391 | execCmd('unfling') |
11392 | else |
11393 | execCmd('fling') |
11394 | end |
11395 | end) |
11396 | |
11397 | addcmd("flyfling", {}, function(args, speaker) |
11398 | execCmd("unvehiclefly\\unfling\\unnoclip") |
11399 | wait() |
11400 | execCmd("vehiclefly\\fling\\noclip") |
11401 | end) |
11402 | |
11403 | addcmd("unflyfling", {}, function(args, speaker) |
11404 | execCmd("unvehiclefly\\unfling\\unnoclip\\breakvelocity") |
11405 | end) |
11406 | |
11407 | addcmd("toggleflyfling", {}, function(args, speaker) |
11408 | execCmd(flinging and "unflyfling" or "flyfling") |
11409 | end) |
11410 | |
11411 | addcmd('invisfling',{},function(args, speaker) |
11412 | local ch = speaker.Character |
11413 | local prt=Instance.new("Model") |
11414 | prt.Parent = speaker.Character |
11415 | local z1 = Instance.new("Part") |
11416 | z1.Name="Torso" |
11417 | z1.CanCollide = false |
11418 | z1.Anchored = true |
11419 | local z2 = Instance.new("Part") |
11420 | z2.Name="Head" |
11421 | z2.Parent = prt |
11422 | z2.Anchored = true |
11423 | z2.CanCollide = false |
11424 | local z3 =Instance.new("Humanoid") |
11425 | z3.Name="Humanoid" |
11426 | z3.Parent = prt |
11427 | z1.Position = Vector3.new(0,9999,0) |
11428 | speaker.Character=prt |
11429 | wait(3) |
11430 | speaker.Character=ch |
11431 | wait(3) |
11432 | local Hum = Instance.new("Humanoid") |
11433 | z2:Clone() |
11434 | Hum.Parent = speaker.Character |
11435 | local root = getRoot(speaker.Character) |
11436 | for i,v in pairs(speaker.Character:GetChildren()) do |
11437 | if v ~= root and v.Name ~= "Humanoid" then |
11438 | v:Destroy() |
11439 | end |
11440 | end |
11441 | root.Transparency = 0 |
11442 | root.Color = Color3.new(1, 1, 1) |
11443 | local invisflingStepped |
11444 | invisflingStepped = RunService.Stepped:Connect(function() |
11445 | if speaker.Character and getRoot(speaker.Character) then |
11446 | getRoot(speaker.Character).CanCollide = false |
11447 | else |
11448 | invisflingStepped:Disconnect() |
11449 | end |
11450 | end) |
11451 | sFLY() |
11452 | workspace.CurrentCamera.CameraSubject = root |
11453 | local bambam = Instance.new("BodyThrust") |
11454 | bambam.Parent = getRoot(speaker.Character) |
11455 | bambam.Force = Vector3.new(99999,99999*10,99999) |
11456 | bambam.Location = getRoot(speaker.Character).Position |
11457 | end) |
11458 | |
11459 | function attach(speaker,target) |
11460 | if tools(speaker) then |
11461 | local char = speaker.Character |
11462 | local tchar = target.Character |
11463 | local hum = speaker.Character:FindFirstChildOfClass("Humanoid") |
11464 | local hrp = getRoot(speaker.Character) |
11465 | local hrp2 = getRoot(target.Character) |
11466 | hum.Name = "1" |
11467 | local newHum = hum:Clone() |
11468 | newHum.Parent = char |
11469 | newHum.Name = "Humanoid" |
11470 | wait() |
11471 | hum:Destroy() |
11472 | workspace.CurrentCamera.CameraSubject = char |
11473 | newHum.DisplayDistanceType = "None" |
11474 | local tool = speaker:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass("Tool") or speaker.Character:FindFirstChildOfClass("Tool") |
11475 | tool.Parent = char |
11476 | hrp.CFrame = hrp2.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(-100, 100)/200,math.random(-100, 100)/200,math.random(-100, 100)/200) |
11477 | local n = 0 |
11478 | repeat |
11479 | wait(.1) |
11480 | n = n + 1 |
11481 | hrp.CFrame = hrp2.CFrame |
11482 | until (tool.Parent ~= char or not hrp or not hrp2 or not hrp.Parent or not hrp2.Parent or n > 250) and n > 2 |
11483 | else |
11484 | notify('Tool Required','You need to have an item in your inventory to use this command') |
11485 | end |
11486 | end |
11487 | |
11488 | addcmd('attach',{},function(args, speaker) |
11489 | local players = getPlayer(args[1], speaker) |
11490 | for i,v in pairs(players) do |
11491 | attach(speaker,Players[v]) |
11492 | end |
11493 | end) |
11494 | |
11495 | function kill(speaker,target,fast) |
11496 | if tools(speaker) then |
11497 | if target ~= nil then |
11498 | local NormPos = getRoot(speaker.Character).CFrame |
11499 | if not fast then |
11500 | refresh(speaker) |
11501 | wait() |
11502 | repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character) |
11503 | wait(0.3) |
11504 | end |
11505 | local hrp = getRoot(speaker.Character) |
11506 | attach(speaker,target) |
11507 | repeat |
11508 | wait() |
11509 | hrp.CFrame = CFrame.new(999999, workspace.FallenPartsDestroyHeight + 5,999999) |
11510 | until not getRoot(target.Character) or not getRoot(speaker.Character) |
11511 | speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos |
11512 | end |
11513 | else |
11514 | notify('Tool Required','You need to have an item in your inventory to use this command') |
11515 | end |
11516 | end |
11517 | |
11518 | addcmd('kill',{'fekill'},function(args, speaker) |
11519 | local players = getPlayer(args[1], speaker) |
11520 | for i,v in pairs(players) do |
11521 | kill(speaker,Players[v]) |
11522 | end |
11523 | end) |
11524 | |
11525 | addcmd('handlekill', {'hkill'}, function(args, speaker) |
11526 | if not firetouchinterest then |
11527 | return notify('Incompatible Exploit', 'Your exploit does not support this command (missing firetouchinterest)') |
11528 | end |
11529 | local RS = RunService.RenderStepped |
11530 | local Tool = speaker.Character.FindFirstChildWhichIsA(speaker.Character, "Tool") |
11531 | local Handle = Tool and Tool.FindFirstChild(Tool, "Handle") |
11532 | if not Tool or not Handle then |
11533 | return notify("Handle Kill", "You need to hold a \"Tool\" that does damage on touch. For example the default \"Sword\" tool.") |
11534 | end |
11535 | for _, v in ipairs(getPlayer(args[1], speaker)) do |
11536 | v = Players[v] |
11537 | task.spawn(function() |
11538 | while Tool and speaker.Character and v.Character and Tool.Parent == speaker.Character do |
11539 | local Human = v.Character.FindFirstChildWhichIsA(v.Character, "Humanoid") |
11540 | if not Human or Human.Health <= 0 then |
11541 | break |
11542 | end |
11543 | for _, v1 in ipairs(v.Character.GetChildren(v.Character)) do |
11544 | v1 = ((v1.IsA(v1, "BasePart") and firetouchinterest(Handle, v1, 1, (RS.Wait(RS) and nil) or firetouchinterest(Handle, v1, 0)) and nil) or v1) or v1 |
11545 | end |
11546 | end |
11547 | notify("Handle Kill Stopped!", v.Name .. " died/left or you unequipped the tool!") |
11548 | end) |
11549 | end |
11550 | end) |
11551 | |
11552 | local hb = RunService.Heartbeat |
11553 | addcmd('tpwalk', {'teleportwalk'}, function(args, speaker) |
11554 | tpwalking = true |
11555 | local chr = speaker.Character |
11556 | local hum = chr and chr:FindFirstChildWhichIsA("Humanoid") |
11557 | while tpwalking and chr and hum and hum.Parent do |
11558 | local delta = hb:Wait() |
11559 | if hum.MoveDirection.Magnitude > 0 then |
11560 | if args[1] and isNumber(args[1]) then |
11561 | chr:TranslateBy(hum.MoveDirection * tonumber(args[1]) * delta * 10) |
11562 | else |
11563 | chr:TranslateBy(hum.MoveDirection * delta * 10) |
11564 | end |
11565 | end |
11566 | end |
11567 | end) |
11568 | addcmd('untpwalk', {'unteleportwalk'}, function(args, speaker) |
11569 | tpwalking = false |
11570 | end) |
11571 | |
11572 | addcmd('fastkill',{'fastfekill'},function(args, speaker) |
11573 | local players = getPlayer(args[1], speaker) |
11574 | for i,v in pairs(players) do |
11575 | kill(speaker,Players[v],true) |
11576 | end |
11577 | end) |
11578 | |
11579 | function bring(speaker,target,fast) |
11580 | if tools(speaker) then |
11581 | if target ~= nil then |
11582 | local NormPos = getRoot(speaker.Character).CFrame |
11583 | if not fast then |
11584 | refresh(speaker) |
11585 | wait() |
11586 | repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character) |
11587 | wait(0.3) |
11588 | end |
11589 | local hrp = getRoot(speaker.Character) |
11590 | attach(speaker,target) |
11591 | repeat |
11592 | wait() |
11593 | hrp.CFrame = NormPos |
11594 | until not getRoot(target.Character) or not getRoot(speaker.Character) |
11595 | speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos |
11596 | end |
11597 | else |
11598 | notify('Tool Required','You need to have an item in your inventory to use this command') |
11599 | end |
11600 | end |
11601 | |
11602 | addcmd('bring',{'febring'},function(args, speaker) |
11603 | local players = getPlayer(args[1], speaker) |
11604 | for i,v in pairs(players) do |
11605 | bring(speaker,Players[v]) |
11606 | end |
11607 | end) |
11608 | |
11609 | addcmd('fastbring',{'fastfebring'},function(args, speaker) |
11610 | local players = getPlayer(args[1], speaker) |
11611 | for i,v in pairs(players) do |
11612 | bring(speaker,Players[v],true) |
11613 | end |
11614 | end) |
11615 | |
11616 | function teleport(speaker,target,target2,fast) |
11617 | if tools(speaker) then |
11618 | if target ~= nil then |
11619 | local NormPos = getRoot(speaker.Character).CFrame |
11620 | if not fast then |
11621 | refresh(speaker) |
11622 | wait() |
11623 | repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character) |
11624 | wait(0.3) |
11625 | end |
11626 | local hrp = getRoot(speaker.Character) |
11627 | local hrp2 = getRoot(target2.Character) |
11628 | attach(speaker,target) |
11629 | repeat |
11630 | wait() |
11631 | hrp.CFrame = hrp2.CFrame |
11632 | until not getRoot(target.Character) or not getRoot(speaker.Character) |
11633 | wait(1) |
11634 | speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos |
11635 | end |
11636 | else |
11637 | notify('Tool Required','You need to have an item in your inventory to use this command') |
11638 | end |
11639 | end |
11640 | |
11641 | addcmd('tp',{'teleport'},function(args, speaker) |
11642 | local players1=getPlayer(args[1], speaker) |
11643 | local players2=getPlayer(args[2], speaker) |
11644 | for i,v in pairs(players1)do |
11645 | if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then |
11646 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
11647 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
11648 | wait(.1) |
11649 | end |
11650 | teleport(speaker,Players[v],Players[players2[1]]) |
11651 | end |
11652 | end |
11653 | end) |
11654 | |
11655 | addcmd('fasttp',{'fastteleport'},function(args, speaker) |
11656 | local players1=getPlayer(args[1], speaker) |
11657 | local players2=getPlayer(args[2], speaker) |
11658 | for i,v in pairs(players1)do |
11659 | if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then |
11660 | if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then |
11661 | speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false |
11662 | wait(.1) |
11663 | end |
11664 | teleport(speaker,Players[v],Players[players2[1]],true) |
11665 | end |
11666 | end |
11667 | end) |
11668 | |
11669 | addcmd('spin',{},function(args, speaker) |
11670 | local spinSpeed = 20 |
11671 | if args[1] and isNumber(args[1]) then |
11672 | spinSpeed = args[1] |
11673 | end |
11674 | for i,v in pairs(getRoot(speaker.Character):GetChildren()) do |
11675 | if v.Name == "Spinning" then |
11676 | v:Destroy() |
11677 | end |
11678 | end |
11679 | local Spin = Instance.new("BodyAngularVelocity") |
11680 | Spin.Name = "Spinning" |
11681 | Spin.Parent = getRoot(speaker.Character) |
11682 | Spin.MaxTorque = Vector3.new(0, math.huge, 0) |
11683 | Spin.AngularVelocity = Vector3.new(0,spinSpeed,0) |
11684 | end) |
11685 | |
11686 | addcmd('unspin',{},function(args, speaker) |
11687 | for i,v in pairs(getRoot(speaker.Character):GetChildren()) do |
11688 | if v.Name == "Spinning" then |
11689 | v:Destroy() |
11690 | end |
11691 | end |
11692 | end) |
11693 | |
11694 | local transparent = false |
11695 | function x(v) |
11696 | if v then |
11697 | for _,i in pairs(workspace:GetDescendants()) do |
11698 | if i:IsA("BasePart") and not i.Parent:FindFirstChildOfClass('Humanoid') and not i.Parent.Parent:FindFirstChildOfClass('Humanoid') then |
11699 | i.LocalTransparencyModifier = 0.5 |
11700 | end |
11701 | end |
11702 | else |
11703 | for _,i in pairs(workspace:GetDescendants()) do |
11704 | if i:IsA("BasePart") and not i.Parent:FindFirstChildOfClass('Humanoid') and not i.Parent.Parent:FindFirstChildOfClass('Humanoid') then |
11705 | i.LocalTransparencyModifier = 0 |
11706 | end |
11707 | end |
11708 | end |
11709 | end |
11710 | |
11711 | addcmd('xray',{},function(args, speaker) |
11712 | transparent = true |
11713 | x(transparent) |
11714 | end) |
11715 | |
11716 | addcmd('unxray',{'noxray'},function(args, speaker) |
11717 | transparent = false |
11718 | x(transparent) |
11719 | end) |
11720 | |
11721 | addcmd('togglexray',{},function(args, speaker) |
11722 | transparent=not transparent |
11723 | x(transparent) |
11724 | end) |
11725 | |
11726 | local walltpTouch = nil |
11727 | addcmd('walltp',{},function(args, speaker) |
11728 | local torso |
11729 | if r15(speaker) then |
11730 | torso = speaker.Character.UpperTorso |
11731 | else |
11732 | torso = speaker.Character.Torso |
11733 | end |
11734 | local function touchedFunc(hit) |
11735 | local Root = getRoot(speaker.Character) |
11736 | if hit:IsA("BasePart") and hit.Position.Y > Root.Position.Y - speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight then |
11737 | local hitP = getRoot(hit.Parent) |
11738 | if hitP ~= nil then |
11739 | Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hitP.Size.Z/2 + speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight,Root.CFrame.lookVector.Z) |
11740 | elseif hitP == nil then |
11741 | Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hit.Size.Y/2 + speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight,Root.CFrame.lookVector.Z) |
11742 | end |
11743 | end |
11744 | end |
11745 | walltpTouch = torso.Touched:Connect(touchedFunc) |
11746 | end) |
11747 | |
11748 | addcmd('unwalltp',{'nowalltp'},function(args, speaker) |
11749 | if walltpTouch then |
11750 | walltpTouch:Disconnect() |
11751 | end |
11752 | end) |
11753 | |
11754 | autoclicking = false |
11755 | addcmd('autoclick',{},function(args, speaker) |
11756 | if mouse1press and mouse1release then |
11757 | execCmd('unautoclick') |
11758 | wait() |
11759 | local clickDelay = 0.1 |
11760 | local releaseDelay = 0.1 |
11761 | if args[1] and isNumber(args[1]) then clickDelay = args[1] end |
11762 | if args[2] and isNumber(args[2]) then releaseDelay = args[2] end |
11763 | autoclicking = true |
11764 | cancelAutoClick = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent) |
11765 | if not gameProcessedEvent then |
11766 | if (input.KeyCode == Enum.KeyCode.Backspace and UserInputService:IsKeyDown(Enum.KeyCode.Equals)) or (input.KeyCode == Enum.KeyCode.Equals and UserInputService:IsKeyDown(Enum.KeyCode.Backspace)) then |
11767 | autoclicking = false |
11768 | cancelAutoClick:Disconnect() |
11769 | end |
11770 | end |
11771 | end) |
11772 | notify('Auto Clicker',"Press [backspace] and [=] at the same time to stop") |
11773 | repeat wait(clickDelay) |
11774 | mouse1press() |
11775 | wait(releaseDelay) |
11776 | mouse1release() |
11777 | until autoclicking == false |
11778 | else |
11779 | notify('Auto Clicker',"Your exploit doesn't have the ability to use the autoclick") |
11780 | end |
11781 | end) |
11782 | |
11783 | addcmd('unautoclick',{'noautoclick'},function(args, speaker) |
11784 | autoclicking = false |
11785 | if cancelAutoClick then cancelAutoClick:Disconnect() end |
11786 | end) |
11787 | |
11788 | addcmd('mousesensitivity',{'ms'},function(args, speaker) |
11789 | UserInputService.MouseDeltaSensitivity = args[1] |
11790 | end) |
11791 | |
11792 | local nameBox = nil |
11793 | local nbSelection = nil |
11794 | addcmd('hovername',{},function(args, speaker) |
11795 | execCmd('unhovername') |
11796 | wait() |
11797 | nameBox = Instance.new("TextLabel") |
11798 | nameBox.Name = randomString() |
11799 | nameBox.Parent = PARENT |
11800 | nameBox.BackgroundTransparency = 1 |
11801 | nameBox.Size = UDim2.new(0,200,0,30) |
11802 | nameBox.Font = Enum.Font.Code |
11803 | nameBox.TextSize = 16 |
11804 | nameBox.Text = "" |
11805 | nameBox.TextColor3 = Color3.new(1, 1, 1) |
11806 | nameBox.TextStrokeTransparency = 0 |
11807 | nameBox.TextXAlignment = Enum.TextXAlignment.Left |
11808 | nameBox.ZIndex = 10 |
11809 | nbSelection = Instance.new('SelectionBox') |
11810 | nbSelection.Name = randomString() |
11811 | nbSelection.LineThickness = 0.03 |
11812 | nbSelection.Color3 = Color3.new(1, 1, 1) |
11813 | local function updateNameBox() |
11814 | local t |
11815 | local target = IYMouse.Target |
11816 | |
11817 | if target then |
11818 | local humanoid = target.Parent:FindFirstChildOfClass("Humanoid") or target.Parent.Parent:FindFirstChildOfClass("Humanoid") |
11819 | if humanoid then |
11820 | t = humanoid.Parent |
11821 | end |
11822 | end |
11823 | |
11824 | if t ~= nil then |
11825 | local x = IYMouse.X |
11826 | local y = IYMouse.Y |
11827 | local xP |
11828 | local yP |
11829 | if IYMouse.X > 200 then |
11830 | xP = x - 205 |
11831 | nameBox.TextXAlignment = Enum.TextXAlignment.Right |
11832 | else |
11833 | xP = x + 25 |
11834 | nameBox.TextXAlignment = Enum.TextXAlignment.Left |
11835 | end |
11836 | nameBox.Position = UDim2.new(0, xP, 0, y) |
11837 | nameBox.Text = t.Name |
11838 | nameBox.Visible = true |
11839 | nbSelection.Parent = t |
11840 | nbSelection.Adornee = t |
11841 | else |
11842 | nameBox.Visible = false |
11843 | nbSelection.Parent = nil |
11844 | nbSelection.Adornee = nil |
11845 | end |
11846 | end |
11847 | nbUpdateFunc = IYMouse.Move:Connect(updateNameBox) |
11848 | end) |
11849 | |
11850 | addcmd('unhovername',{'nohovername'},function(args, speaker) |
11851 | if nbUpdateFunc then |
11852 | nbUpdateFunc:Disconnect() |
11853 | nameBox:Destroy() |
11854 | nbSelection:Destroy() |
11855 | end |
11856 | end) |
11857 | |
11858 | addcmd('headsize',{},function(args, speaker) |
11859 | local players = getPlayer(args[1], speaker) |
11860 | for i,v in pairs(players) do |
11861 | if Players[v] ~= speaker and Players[v].Character:FindFirstChild('Head') then |
11862 | local sizeArg = tonumber(args[2]) |
11863 | local Size = Vector3.new(sizeArg,sizeArg,sizeArg) |
11864 | local Head = Players[v].Character:FindFirstChild('Head') |
11865 | if Head:IsA("BasePart") then |
11866 | if not args[2] or sizeArg == 1 then |
11867 | Head.Size = Vector3.new(2,1,1) |
11868 | else |
11869 | Head.Size = Size |
11870 | end |
11871 | end |
11872 | end |
11873 | end |
11874 | end) |
11875 | |
11876 | addcmd('hitbox',{},function(args, speaker) |
11877 | local players = getPlayer(args[1], speaker) |
11878 | for i,v in pairs(players) do |
11879 | if Players[v] ~= speaker and Players[v].Character:FindFirstChild('HumanoidRootPart') then |
11880 | local sizeArg = tonumber(args[2]) |
11881 | local Size = Vector3.new(sizeArg,sizeArg,sizeArg) |
11882 | local Root = Players[v].Character:FindFirstChild('HumanoidRootPart') |
11883 | if Root:IsA("BasePart") then |
11884 | if not args[2] or sizeArg == 1 then |
11885 | Root.Size = Vector3.new(2,1,1) |
11886 | Root.Transparency = 0.4 |
11887 | else |
11888 | Root.Size = Size |
11889 | Root.Transparency = 0.4 |
11890 | end |
11891 | end |
11892 | end |
11893 | end |
11894 | end) |
11895 | |
11896 | addcmd('stareat',{'stare'},function(args, speaker) |
11897 | local players = getPlayer(args[1], speaker) |
11898 | for i,v in pairs(players) do |
11899 | if stareLoop then |
11900 | stareLoop:Disconnect() |
11901 | end |
11902 | if not Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and Players[v].Character:FindFirstChild("HumanoidRootPart") then return end |
11903 | local function stareFunc() |
11904 | if Players.LocalPlayer.Character.PrimaryPart and Players:FindFirstChild(v) and Players[v].Character ~= nil and Players[v].Character:FindFirstChild("HumanoidRootPart") then |
11905 | local chrPos=Players.LocalPlayer.Character.PrimaryPart.Position |
11906 | local tPos=Players[v].Character:FindFirstChild("HumanoidRootPart").Position |
11907 | local modTPos=Vector3.new(tPos.X,chrPos.Y,tPos.Z) |
11908 | local newCF=CFrame.new(chrPos,modTPos) |
11909 | Players.LocalPlayer.Character:SetPrimaryPartCFrame(newCF) |
11910 | elseif not Players:FindFirstChild(v) then |
11911 | stareLoop:Disconnect() |
11912 | end |
11913 | end |
11914 | |
11915 | stareLoop = RunService.RenderStepped:Connect(stareFunc) |
11916 | end |
11917 | end) |
11918 | |
11919 | addcmd('unstareat',{'unstare','nostare','nostareat'},function(args, speaker) |
11920 | if stareLoop then |
11921 | stareLoop:Disconnect() |
11922 | end |
11923 | end) |
11924 | |
11925 | local RolewatchData = {["Group"]=0,["Role"]="",["Leave"]=false} |
11926 | local RolewatchConnection = Players.PlayerAdded:Connect(function(player) |
11927 | if RolewatchData.Group == 0 then return end |
11928 | if player:IsInGroup(RolewatchData.Group) then |
11929 | if tostring(player:GetRoleInGroup(RolewatchData.Group)):lower() == RolewatchData.Role:lower() then |
11930 | if RolewatchData.Leave == true then |
11931 | Players.LocalPlayer:Kick("\n\nRolewatch\nPlayer \"" .. tostring(player.Name) .. "\" has joined with the Role \"" .. RolewatchData.Role .. "\"\n") |
11932 | else |
11933 | notify("Rolewatch", "Player \"" .. tostring(player.Name) .. "\" has joined with the Role \"" .. RolewatchData.Role .. "\"") |
11934 | end |
11935 | end |
11936 | end |
11937 | end) |
11938 | |
11939 | addcmd('rolewatch',{},function(args, speaker) |
11940 | local groupid = args[1] or 0 |
11941 | if isNumber(groupid) then |
11942 | if args[2] then |
11943 | local rolename = tostring(getstring(2)) |
11944 | RolewatchData.Group = tonumber(groupid) |
11945 | RolewatchData.Role = rolename |
11946 | notify("Rolewatch", "Watching Group ID \"" .. tostring(groupid) .. "\" for Role \"" .. rolename .. "\"") |
11947 | end |
11948 | end |
11949 | end) |
11950 | |
11951 | addcmd('rolewatchstop',{},function(args, speaker) |
11952 | RolewatchData = {["Group"]=0,["Role"]="",["Leave"]=false} |
11953 | end) |
11954 | |
11955 | addcmd('rolewatchleave',{'unrolewatch'},function(args, speaker) |
11956 | RolewatchData.Leave = not RolewatchData.Leave |
11957 | notify("Rolewatch", RolewatchData.Leave and "Leave has been Enabled" or "Leave has been Disabled") |
11958 | end) |
11959 | |
11960 | addcmd('removeterrain',{'rterrain','noterrain'},function(args, speaker) |
11961 | workspace:FindFirstChildOfClass('Terrain'):Clear() |
11962 | end) |
11963 | |
11964 | addcmd('clearnilinstances',{'nonilinstances','cni'},function(args, speaker) |
11965 | if getnilinstances then |
11966 | for i,v in pairs(getnilinstances()) do |
11967 | v:Destroy() |
11968 | end |
11969 | else |
11970 | notify('Incompatible Exploit','Your exploit does not support this command (missing getnilinstances)') |
11971 | end |
11972 | end) |
11973 | |
11974 | addcmd('destroyheight',{'dh'},function(args, speaker) |
11975 | local dh = args[1] or -500 |
11976 | if isNumber(dh) then |
11977 | workspace.FallenPartsDestroyHeight = dh |
11978 | end |
11979 | end) |
11980 | |
11981 | addcmd('trip',{},function(args, speaker) |
11982 | if speaker and speaker.Character and speaker.Character:FindFirstChildOfClass("Humanoid") and getRoot(speaker.Character) then |
11983 | local hum = speaker.Character:FindFirstChildOfClass("Humanoid") |
11984 | local root = getRoot(speaker.Character) |
11985 | hum:ChangeState(0) |
11986 | root.Velocity = root.CFrame.LookVector * 30 |
11987 | end |
11988 | end) |
11989 | |
11990 | local freezingua = nil |
11991 | frozenParts = {} |
11992 | addcmd('freezeunanchored',{'freezeua'},function(args, speaker) |
11993 | if sethidden then |
11994 | local badnames = { |
11995 | "Head", |
11996 | "UpperTorso", |
11997 | "LowerTorso", |
11998 | "RightUpperArm", |
11999 | "LeftUpperArm", |
12000 | "RightLowerArm", |
12001 | "LeftLowerArm", |
12002 | "RightHand", |
12003 | "LeftHand", |
12004 | "RightUpperLeg", |
12005 | "LeftUpperLeg", |
12006 | "RightLowerLeg", |
12007 | "LeftLowerLeg", |
12008 | "RightFoot", |
12009 | "LeftFoot", |
12010 | "Torso", |
12011 | "Right Arm", |
12012 | "Left Arm", |
12013 | "Right Leg", |
12014 | "Left Leg", |
12015 | "HumanoidRootPart" |
12016 | } |
12017 | local function FREEZENOOB(v) |
12018 | if v:IsA("BasePart" or "UnionOperation") and v.Anchored == false then |
12019 | local BADD = false |
12020 | for i = 1,#badnames do |
12021 | if v.Name == badnames[i] then |
12022 | BADD = true |
12023 | end |
12024 | end |
12025 | if speaker.Character and v:IsDescendantOf(speaker.Character) then |
12026 | BADD = true |
12027 | end |
12028 | if BADD == false then |
12029 | for i,c in pairs(v:GetChildren()) do |
12030 | if c:IsA("BodyPosition") or c:IsA("BodyGyro") then |
12031 | c:Destroy() |
12032 | end |
12033 | end |
12034 | local bodypos = Instance.new("BodyPosition") |
12035 | bodypos.Parent = v |
12036 | bodypos.Position = v.Position |
12037 | bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
12038 | local bodygyro = Instance.new("BodyGyro") |
12039 | bodygyro.Parent = v |
12040 | bodygyro.CFrame = v.CFrame |
12041 | bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge) |
12042 | if not table.find(frozenParts,v) then |
12043 | table.insert(frozenParts,v) |
12044 | end |
12045 | end |
12046 | end |
12047 | end |
12048 | for i,v in pairs(workspace:GetDescendants()) do |
12049 | FREEZENOOB(v) |
12050 | end |
12051 | freezingua = workspace.DescendantAdded:Connect(FREEZENOOB) |
12052 | else |
12053 | notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)') |
12054 | end |
12055 | end) |
12056 | |
12057 | addcmd('thawunanchored',{'thawua','unfreezeunanchored','unfreezeua'},function(args, speaker) |
12058 | if sethidden then |
12059 | if freezingua then |
12060 | freezingua:Disconnect() |
12061 | end |
12062 | for i,v in pairs(frozenParts) do |
12063 | for i,c in pairs(v:GetChildren()) do |
12064 | if c:IsA("BodyPosition") or c:IsA("BodyGyro") then |
12065 | c:Destroy() |
12066 | end |
12067 | end |
12068 | end |
12069 | frozenParts = {} |
12070 | else |
12071 | notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)') |
12072 | end |
12073 | end) |
12074 | |
12075 | addcmd('tpunanchored',{'tpua'},function(args, speaker) |
12076 | if sethidden then |
12077 | local players = getPlayer(args[1], speaker) |
12078 | for i,v in pairs(players) do |
12079 | local Forces = {} |
12080 | for _,part in pairs(workspace:GetDescendants()) do |
12081 | if Players[v].Character:FindFirstChild('Head') and part:IsA("BasePart" or "UnionOperation" or "Model") and part.Anchored == false and not part:IsDescendantOf(speaker.Character) and part.Name == "Torso" == false and part.Name == "Head" == false and part.Name == "Right Arm" == false and part.Name == "Left Arm" == false and part.Name == "Right Leg" == false and part.Name == "Left Leg" == false and part.Name == "HumanoidRootPart" == false then |
12082 | for i,c in pairs(part:GetChildren()) do |
12083 | if c:IsA("BodyPosition") or c:IsA("BodyGyro") then |
12084 | c:Destroy() |
12085 | end |
12086 | end |
12087 | local ForceInstance = Instance.new("BodyPosition") |
12088 | ForceInstance.Parent = part |
12089 | ForceInstance.MaxForce = Vector3.new(math.huge, math.huge, math.huge) |
12090 | table.insert(Forces, ForceInstance) |
12091 | if not table.find(frozenParts,part) then |
12092 | table.insert(frozenParts,part) |
12093 | end |
12094 | end |
12095 | end |
12096 | for i,c in pairs(Forces) do |
12097 | c.Position = Players[v].Character.Head.Position |
12098 | end |
12099 | end |
12100 | else |
12101 | notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)') |
12102 | end |
12103 | end) |
12104 | |
12105 | keycodeMap = { |
12106 | ["0"] = 0x30, |
12107 | ["1"] = 0x31, |
12108 | ["2"] = 0x32, |
12109 | ["3"] = 0x33, |
12110 | ["4"] = 0x34, |
12111 | ["5"] = 0x35, |
12112 | ["6"] = 0x36, |
12113 | ["7"] = 0x37, |
12114 | ["8"] = 0x38, |
12115 | ["9"] = 0x39, |
12116 | ["a"] = 0x41, |
12117 | ["b"] = 0x42, |
12118 | ["c"] = 0x43, |
12119 | ["d"] = 0x44, |
12120 | ["e"] = 0x45, |
12121 | ["f"] = 0x46, |
12122 | ["g"] = 0x47, |
12123 | ["h"] = 0x48, |
12124 | ["i"] = 0x49, |
12125 | ["j"] = 0x4A, |
12126 | ["k"] = 0x4B, |
12127 | ["l"] = 0x4C, |
12128 | ["m"] = 0x4D, |
12129 | ["n"] = 0x4E, |
12130 | ["o"] = 0x4F, |
12131 | ["p"] = 0x50, |
12132 | ["q"] = 0x51, |
12133 | ["r"] = 0x52, |
12134 | ["s"] = 0x53, |
12135 | ["t"] = 0x54, |
12136 | ["u"] = 0x55, |
12137 | ["v"] = 0x56, |
12138 | ["w"] = 0x57, |
12139 | ["x"] = 0x58, |
12140 | ["y"] = 0x59, |
12141 | ["z"] = 0x5A, |
12142 | ["enter"] = 0x0D, |
12143 | ["shift"] = 0x10, |
12144 | ["ctrl"] = 0x11, |
12145 | ["alt"] = 0x12, |
12146 | ["pause"] = 0x13, |
12147 | ["capslock"] = 0x14, |
12148 | ["spacebar"] = 0x20, |
12149 | ["space"] = 0x20, |
12150 | ["pageup"] = 0x21, |
12151 | ["pagedown"] = 0x22, |
12152 | ["end"] = 0x23, |
12153 | ["home"] = 0x24, |
12154 | ["left"] = 0x25, |
12155 | ["up"] = 0x26, |
12156 | ["right"] = 0x27, |
12157 | ["down"] = 0x28, |
12158 | ["insert"] = 0x2D, |
12159 | ["delete"] = 0x2E, |
12160 | ["f1"] = 0x70, |
12161 | ["f2"] = 0x71, |
12162 | ["f3"] = 0x72, |
12163 | ["f4"] = 0x73, |
12164 | ["f5"] = 0x74, |
12165 | ["f6"] = 0x75, |
12166 | ["f7"] = 0x76, |
12167 | ["f8"] = 0x77, |
12168 | ["f9"] = 0x78, |
12169 | ["f10"] = 0x79, |
12170 | ["f11"] = 0x7A, |
12171 | ["f12"] = 0x7B, |
12172 | } |
12173 | autoKeyPressing = false |
12174 | cancelAutoKeyPress = nil |
12175 | |
12176 | addcmd('autokeypress',{'keypress'},function(args, speaker) |
12177 | if keypress and keyrelease and args[1] then |
12178 | local code = keycodeMap[args[1]:lower()] |
12179 | if not code then notify('Auto Key Press',"Invalid key") return end |
12180 | execCmd('unautokeypress') |
12181 | wait() |
12182 | local clickDelay = 0.1 |
12183 | local releaseDelay = 0.1 |
12184 | if args[2] and isNumber(args[2]) then clickDelay = args[2] end |
12185 | if args[3] and isNumber(args[3]) then releaseDelay = args[3] end |
12186 | autoKeyPressing = true |
12187 | cancelAutoKeyPress = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent) |
12188 | if not gameProcessedEvent then |
12189 | if (input.KeyCode == Enum.KeyCode.Backspace and UserInputService:IsKeyDown(Enum.KeyCode.Equals)) or (input.KeyCode == Enum.KeyCode.Equals and UserInputService:IsKeyDown(Enum.KeyCode.Backspace)) then |
12190 | autoKeyPressing = false |
12191 | cancelAutoKeyPress:Disconnect() |
12192 | end |
12193 | end |
12194 | end) |
12195 | notify('Auto Key Press',"Press [backspace] and [=] at the same time to stop") |
12196 | repeat wait(clickDelay) |
12197 | keypress(code) |
12198 | wait(releaseDelay) |
12199 | keyrelease(code) |
12200 | until autoKeyPressing == false |
12201 | if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() keyrelease(code) end |
12202 | else |
12203 | notify('Auto Key Press',"Your exploit doesn't have the ability to use auto key press") |
12204 | end |
12205 | end) |
12206 | |
12207 | addcmd('unautokeypress',{'noautokeypress','unkeypress','nokeypress'},function(args, speaker) |
12208 | autoKeyPressing = false |
12209 | if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() end |
12210 | end) |
12211 | |
12212 | addcmd('addplugin',{'plugin'},function(args, speaker) |
12213 | addPlugin(getstring(1)) |
12214 | end) |
12215 | |
12216 | addcmd('removeplugin',{'deleteplugin'},function(args, speaker) |
12217 | deletePlugin(getstring(1)) |
12218 | end) |
12219 | |
12220 | addcmd('reloadplugin',{},function(args, speaker) |
12221 | local pluginName = getstring(1) |
12222 | deletePlugin(pluginName) |
12223 | wait(1) |
12224 | addPlugin(pluginName) |
12225 | end) |
12226 | |
12227 | addcmd('removecmd',{'deletecmd'},function(args, speaker) |
12228 | removecmd(args[1]) |
12229 | end) |
12230 | |
12231 | if IsOnMobile then |
12232 | local QuickCapture = Instance.new("TextButton") |
12233 | local UICorner = Instance.new("UICorner") |
12234 | QuickCapture.Name = randomString() |
12235 | QuickCapture.Parent = PARENT |
12236 | QuickCapture.BackgroundColor3 = Color3.fromRGB(46, 46, 47) |
12237 | QuickCapture.BackgroundTransparency = 0.14 |
12238 | QuickCapture.Position = UDim2.new(0.489, 0, 0, 0) |
12239 | QuickCapture.Size = UDim2.new(0, 32, 0, 33) |
12240 | QuickCapture.Font = Enum.Font.SourceSansBold |
12241 | QuickCapture.Text = "IY" |
12242 | QuickCapture.TextColor3 = Color3.fromRGB(255, 255, 255) |
12243 | QuickCapture.TextSize = 20.000 |
12244 | QuickCapture.TextWrapped = true |
12245 | QuickCapture.Draggable = true |
12246 | UICorner.Name = randomString() |
12247 | UICorner.CornerRadius = UDim.new(0.5, 0) |
12248 | UICorner.Parent = QuickCapture |
12249 | QuickCapture.MouseButton1Click:Connect(function() |
12250 | Cmdbar:CaptureFocus() |
12251 | maximizeHolder() |
12252 | end) |
12253 | table.insert(shade1, QuickCapture) |
12254 | table.insert(text1, QuickCapture) |
12255 | end |
12256 | |
12257 | updateColors(currentShade1,shade1) |
12258 | updateColors(currentShade2,shade2) |
12259 | updateColors(currentShade3,shade3) |
12260 | updateColors(currentText1,text1) |
12261 | updateColors(currentText2,text2) |
12262 | updateColors(currentScroll,scroll) |
12263 | |
12264 | if PluginsTable ~= nil or PluginsTable ~= {} then |
12265 | FindPlugins(PluginsTable) |
12266 | end |
12267 | |
12268 | -- Events |
12269 | eventEditor.RegisterEvent("OnExecute") |
12270 | eventEditor.RegisterEvent("OnSpawn",{ |
12271 | {Type="Player",Name="Player Filter ($1)"} |
12272 | }) |
12273 | eventEditor.RegisterEvent("OnDied",{ |
12274 | {Type="Player",Name="Player Filter ($1)"} |
12275 | }) |
12276 | eventEditor.RegisterEvent("OnDamage",{ |
12277 | {Type="Player",Name="Player Filter ($1)"}, |
12278 | {Type="Number",Name="Below Health ($2)"} |
12279 | }) |
12280 | eventEditor.RegisterEvent("OnKilled",{ |
12281 | {Type="Player",Name="Victim Player ($1)"}, |
12282 | {Type="Player",Name="Killer Player ($2)",Default = 1} |
12283 | }) |
12284 | eventEditor.RegisterEvent("OnJoin",{ |
12285 | {Type="Player",Name="Player Filter ($1)",Default = 1} |
12286 | }) |
12287 | eventEditor.RegisterEvent("OnChatted",{ |
12288 | {Type="Player",Name="Player Filter ($1)",Default = 1}, |
12289 | {Type="String",Name="Message Filter ($2)"} |
12290 | }) |
12291 | |
12292 | function hookCharEvents(plr,instant) |
12293 | task.spawn(function() |
12294 | local char = plr.Character |
12295 | if not char then return end |
12296 | |
12297 | local humanoid = char:WaitForChild("Humanoid",10) |
12298 | if not humanoid then return end |
12299 | |
12300 | local oldHealth = humanoid.Health |
12301 | humanoid.HealthChanged:Connect(function(health) |
12302 | local change = math.abs(oldHealth - health) |
12303 | if oldHealth > health then |
12304 | eventEditor.FireEvent("OnDamage",plr.Name,tonumber(health)) |
12305 | end |
12306 | oldHealth = health |
12307 | end) |
12308 | |
12309 | humanoid.Died:Connect(function() |
12310 | eventEditor.FireEvent("OnDied",plr.Name) |
12311 | |
12312 | local killedBy = humanoid:FindFirstChild("creator") |
12313 | if killedBy and killedBy.Value and killedBy.Value.Parent then |
12314 | eventEditor.FireEvent("OnKilled",plr.Name,killedBy.Name) |
12315 | end |
12316 | end) |
12317 | end) |
12318 | end |
12319 | |
12320 | Players.PlayerAdded:Connect(function(plr) |
12321 | eventEditor.FireEvent("OnJoin",plr.Name) |
12322 | plr.Chatted:Connect(function(msg) eventEditor.FireEvent("OnChatted",tostring(plr),msg) end) |
12323 | plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end) |
12324 | JoinLog(plr) |
12325 | ChatLog(plr) |
12326 | if ESPenabled then |
12327 | repeat wait(1) until plr.Character and getRoot(plr.Character) |
12328 | ESP(plr) |
12329 | end |
12330 | if CHMSenabled then |
12331 | repeat wait(1) until plr.Character and getRoot(plr.Character) |
12332 | CHMS(plr) |
12333 | end |
12334 | end) |
12335 | |
12336 | for _,plr in pairs(Players:GetPlayers()) do |
12337 | pcall(function() |
12338 | plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end) |
12339 | hookCharEvents(plr) |
12340 | end) |
12341 | end |
12342 | |
12343 | if spawnCmds and #spawnCmds > 0 then |
12344 | for i,v in pairs(spawnCmds) do |
12345 | eventEditor.AddCmd("OnSpawn",{v.COMMAND or "",{0},v.DELAY or 0}) |
12346 | end |
12347 | updatesaves() |
12348 | end |
12349 | |
12350 | if loadedEventData then eventEditor.LoadData(loadedEventData) end |
12351 | eventEditor.Refresh() |
12352 | |
12353 | eventEditor.FireEvent("OnExecute") |
12354 | |
12355 | if aliases and #aliases > 0 then |
12356 | local cmdMap = {} |
12357 | for i,v in pairs(cmds) do |
12358 | cmdMap[v.NAME:lower()] = v |
12359 | for _,alias in pairs(v.ALIAS) do |
12360 | cmdMap[alias:lower()] = v |
12361 | end |
12362 | end |
12363 | for i = 1, #aliases do |
12364 | local cmd = string.lower(aliases[i].CMD) |
12365 | local alias = string.lower(aliases[i].ALIAS) |
12366 | if cmdMap[cmd] then |
12367 | customAlias[alias] = cmdMap[cmd] |
12368 | end |
12369 | end |
12370 | refreshaliases() |
12371 | end |
12372 | |
12373 | IYMouse.Move:Connect(checkTT) |
12374 | |
12375 | task.spawn(function() |
12376 | local success, latestVersionInfo = pcall(function() |
12377 | local versionJson = game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/version') |
12378 | return HttpService:JSONDecode(versionJson) |
12379 | end) |
12380 | |
12381 | if success then |
12382 | if currentVersion ~= latestVersionInfo.Version then |
12383 | notify('Outdated','Get the new version at infyiff.github.io') |
12384 | end |
12385 | |
12386 | if latestVersionInfo.Announcement and latestVersionInfo.Announcement ~= '' then |
12387 | local AnnGUI = Instance.new("Frame") |
12388 | local background = Instance.new("Frame") |
12389 | local TextBox = Instance.new("TextLabel") |
12390 | local shadow = Instance.new("Frame") |
12391 | local PopupText = Instance.new("TextLabel") |
12392 | local Exit = Instance.new("TextButton") |
12393 | local ExitImage = Instance.new("ImageLabel") |
12394 | |
12395 | AnnGUI.Name = randomString() |
12396 | AnnGUI.Parent = PARENT |
12397 | AnnGUI.Active = true |
12398 | AnnGUI.BackgroundTransparency = 1 |
12399 | AnnGUI.Position = UDim2.new(0.5, -180, 0, -500) |
12400 | AnnGUI.Size = UDim2.new(0, 360, 0, 20) |
12401 | AnnGUI.ZIndex = 10 |
12402 | |
12403 | background.Name = "background" |
12404 | background.Parent = AnnGUI |
12405 | background.Active = true |
12406 | background.BackgroundColor3 = currentShade1 |
12407 | background.BorderSizePixel = 0 |
12408 | background.Position = UDim2.new(0, 0, 0, 20) |
12409 | background.Size = UDim2.new(0, 360, 0, 150) |
12410 | background.ZIndex = 10 |
12411 | |
12412 | TextBox.Parent = background |
12413 | TextBox.BackgroundTransparency = 1 |
12414 | TextBox.Position = UDim2.new(0, 5, 0, 5) |
12415 | TextBox.Size = UDim2.new(0, 350, 0, 140) |
12416 | TextBox.Font = Enum.Font.SourceSans |
12417 | TextBox.TextSize = 18 |
12418 | TextBox.TextWrapped = true |
12419 | TextBox.Text = Announcement |
12420 | TextBox.TextColor3 = currentText1 |
12421 | TextBox.TextXAlignment = Enum.TextXAlignment.Left |
12422 | TextBox.TextYAlignment = Enum.TextYAlignment.Top |
12423 | TextBox.ZIndex = 10 |
12424 | |
12425 | shadow.Name = "shadow" |
12426 | shadow.Parent = AnnGUI |
12427 | shadow.BackgroundColor3 = currentShade2 |
12428 | shadow.BorderSizePixel = 0 |
12429 | shadow.Size = UDim2.new(0, 360, 0, 20) |
12430 | shadow.ZIndex = 10 |
12431 | |
12432 | PopupText.Name = "PopupText" |
12433 | PopupText.Parent = shadow |
12434 | PopupText.BackgroundTransparency = 1 |
12435 | PopupText.Size = UDim2.new(1, 0, 0.95, 0) |
12436 | PopupText.ZIndex = 10 |
12437 | PopupText.Font = Enum.Font.SourceSans |
12438 | PopupText.TextSize = 14 |
12439 | PopupText.Text = "Server Announcement" |
12440 | PopupText.TextColor3 = currentText1 |
12441 | PopupText.TextWrapped = true |
12442 | |
12443 | Exit.Name = "Exit" |
12444 | Exit.Parent = shadow |
12445 | Exit.BackgroundTransparency = 1 |
12446 | Exit.Position = UDim2.new(1, -20, 0, 0) |
12447 | Exit.Size = UDim2.new(0, 20, 0, 20) |
12448 | Exit.Text = "" |
12449 | Exit.ZIndex = 10 |
12450 | |
12451 | ExitImage.Parent = Exit |
12452 | ExitImage.BackgroundColor3 = Color3.new(1, 1, 1) |
12453 | ExitImage.BackgroundTransparency = 1 |
12454 | ExitImage.Position = UDim2.new(0, 5, 0, 5) |
12455 | ExitImage.Size = UDim2.new(0, 10, 0, 10) |
12456 | ExitImage.Image = "rbxassetid://5054663650" |
12457 | ExitImage.ZIndex = 10 |
12458 | |
12459 | wait(1) |
12460 | AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil) |
12461 | |
12462 | Exit.MouseButton1Click:Connect(function() |
12463 | AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil) |
12464 | wait(0.6) |
12465 | AnnGUI:Destroy() |
12466 | end) |
12467 | end |
12468 | end |
12469 | end) |
12470 | |
12471 | task.spawn(function() |
12472 | wait() |
12473 | Credits:TweenPosition(UDim2.new(0, 0, 0.9, 0), "Out", "Quart", 0.2) |
12474 | Logo:TweenSizeAndPosition(UDim2.new(0, 175, 0, 175), UDim2.new(0, 37, 0, 45), "Out", "Quart", 0.3) |
12475 | wait(1) |
12476 | local OutInfo = TweenInfo.new(1.6809, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0) |
12477 | TweenService:Create(Logo, OutInfo, {ImageTransparency = 1}):Play() |
12478 | TweenService:Create(IntroBackground, OutInfo, {BackgroundTransparency = 1}):Play() |
12479 | Credits:TweenPosition(UDim2.new(0, 0, 0.9, 30), "Out", "Quart", 0.2) |
12480 | wait(0.2) |
12481 | Logo:Destroy() |
12482 | Credits:Destroy() |
12483 | IntroBackground:Destroy() |
12484 | minimizeHolder() |
12485 | if IsOnMobile then notify(";lollypopadmin (;la) & ;lollypophub (;lh)") end |
12486 | end) |