SHOW:
|
|
- or go back to the newest paste.
1 | --topk3k 4.0 cracked by ded | |
2 | ||
3 | local ScreenGui = Instance.new("ScreenGui") | |
4 | ||
5 | local Base = Instance.new("Frame") | |
6 | ||
7 | local Top = Instance.new("Frame") | |
8 | ||
9 | local First = Instance.new("TextLabel") | |
10 | ||
11 | local Second = Instance.new("TextLabel") | |
12 | ||
13 | local Location = Instance.new("TextLabel") | |
14 | ||
15 | local Exit = Instance.new("TextButton") | |
16 | ||
17 | local HomeContainer = Instance.new("Frame") | |
18 | ||
19 | local Players = Instance.new("Frame") | |
20 | ||
21 | local ImageLabel = Instance.new("ImageLabel") | |
22 | ||
23 | local TextLabel = Instance.new("TextLabel") | |
24 | ||
25 | local Mask = Instance.new("TextButton") | |
26 | ||
27 | local Server = Instance.new("Frame") | |
28 | ||
29 | local ImageLabel_2 = Instance.new("ImageLabel") | |
30 | ||
31 | local TextLabel_2 = Instance.new("TextLabel") | |
32 | ||
33 | local Mask_2 = Instance.new("TextButton") | |
34 | ||
35 | local LocalPlayer = Instance.new("Frame") | |
36 | ||
37 | local ImageLabel_3 = Instance.new("ImageLabel") | |
38 | ||
39 | local TextLabel_3 = Instance.new("TextLabel") | |
40 | ||
41 | local Mask_3 = Instance.new("TextButton") | |
42 | ||
43 | local Scripts = Instance.new("Frame") | |
44 | ||
45 | local ImageLabel_4 = Instance.new("ImageLabel") | |
46 | ||
47 | local TextLabel_4 = Instance.new("TextLabel") | |
48 | ||
49 | local Mask_4 = Instance.new("TextButton") | |
50 | ||
51 | local Miscellaneous = Instance.new("Frame") | |
52 | ||
53 | local ImageLabel_5 = Instance.new("ImageLabel") | |
54 | ||
55 | local TextLabel_5 = Instance.new("TextLabel") | |
56 | ||
57 | local Mask_5 = Instance.new("TextButton") | |
58 | ||
59 | local Settings = Instance.new("Frame") | |
60 | ||
61 | local ImageLabel_6 = Instance.new("ImageLabel") | |
62 | ||
63 | local TextLabel_6 = Instance.new("TextLabel") | |
64 | ||
65 | local Mask_6 = Instance.new("TextButton") | |
66 | ||
67 | local Navigator = Instance.new("ScrollingFrame") | |
68 | ||
69 | local Item = Instance.new("TextButton") | |
70 | ||
71 | local ServerContainer = Instance.new("ScrollingFrame") | |
72 | ||
73 | local dd = Instance.new("TextButton") | |
74 | ||
75 | local ImageLabel_7 = Instance.new("ImageLabel") | |
76 | ||
77 | local LocalPlayerContainer = Instance.new("ScrollingFrame") | |
78 | ||
79 | local PlayersContainer = Instance.new("ScrollingFrame") | |
80 | ||
81 | ||
82 | ||
83 | -- Properties | |
84 | ||
85 | local hist = game:GetService("LogService"):GetLogHistory() | |
86 | ||
87 | local eiss = false | |
88 | ||
89 | for i,v in pairs(hist) do | |
90 | ||
91 | if string.find(v["message"]:lower(), "eiss") then | |
92 | ||
93 | eiss = true | |
94 | ||
95 | warn("Detected EISS, Parenting to PlayerGui") | |
96 | ||
97 | end | |
98 | ||
99 | end | |
100 | ||
101 | if eiss then | |
102 | ||
103 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
104 | ||
105 | game.StarterGui.ResetPlayerGuiOnSpawn = false | |
106 | ||
107 | else | |
108 | ||
109 | ScreenGui.Parent = game.CoreGui | |
110 | ||
111 | end | |
112 | ||
113 | ||
114 | ||
115 | Base.Name = "Base" | |
116 | ||
117 | Base.Parent = ScreenGui | |
118 | ||
119 | Base.Active = true | |
120 | ||
121 | Base.BackgroundColor3 = Color3.new(0.054902, 0.0901961, 0.113725) | |
122 | ||
123 | Base.BorderColor3 = Color3.new(0.0156863, 0.027451, 0.0352941) | |
124 | ||
125 | Base.BorderSizePixel = 2 | |
126 | ||
127 | Base.Draggable = true | |
128 | ||
129 | Base.Position = UDim2.new(0, 50, 0, 250) | |
130 | ||
131 | Base.Selectable = true | |
132 | ||
133 | Base.Size = UDim2.new(0, 450, 0, 250) | |
134 | ||
135 | ||
136 | ||
137 | Top.Name = "Top" | |
138 | ||
139 | Top.Parent = Base | |
140 | ||
141 | Top.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
142 | ||
143 | Top.BackgroundTransparency = 0.5 | |
144 | ||
145 | Top.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
146 | ||
147 | Top.Position = UDim2.new(0, 10, 0, 7) | |
148 | ||
149 | Top.Size = UDim2.new(1, -20, 0, 20) | |
150 | ||
151 | ||
152 | ||
153 | First.Name = "First" | |
154 | ||
155 | First.Parent = Top | |
156 | ||
157 | First.BackgroundColor3 = Color3.new(1, 1, 1) | |
158 | ||
159 | First.BackgroundTransparency = 1 | |
160 | ||
161 | First.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726) | |
162 | ||
163 | First.Size = UDim2.new(1, 0, 1, 0) | |
164 | ||
165 | First.Font = Enum.Font.SourceSans | |
166 | ||
167 | First.FontSize = Enum.FontSize.Size18 | |
168 | ||
169 | First.Text = " T0PK3K 4.0" | |
170 | ||
171 | First.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765) | |
172 | ||
173 | First.TextStrokeTransparency = 0 | |
174 | ||
175 | First.TextXAlignment = Enum.TextXAlignment.Left | |
176 | ||
177 | ||
178 | ||
179 | Second.Name = "Second" | |
180 | ||
181 | Second.Parent = Top | |
182 | ||
183 | Second.BackgroundColor3 = Color3.new(1, 1, 1) | |
184 | ||
185 | Second.BackgroundTransparency = 1 | |
186 | ||
187 | Second.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726) | |
188 | ||
189 | Second.Position = UDim2.new(1, -125, 0, 0) | |
190 | ||
191 | Second.Size = UDim2.new(0, 100, 1, 0) | |
192 | ||
193 | Second.Font = Enum.Font.SourceSans | |
194 | ||
195 | Second.FontSize = Enum.FontSize.Size18 | |
196 | ||
197 | Second.Text = "cracked by ded" | |
198 | ||
199 | Second.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765) | |
200 | ||
201 | Second.TextStrokeTransparency = 0 | |
202 | ||
203 | Second.TextXAlignment = Enum.TextXAlignment.Left | |
204 | ||
205 | ||
206 | ||
207 | Location.Name = "Location" | |
208 | ||
209 | Location.Parent = Top | |
210 | ||
211 | Location.BackgroundColor3 = Color3.new(1, 1, 1) | |
212 | ||
213 | Location.BackgroundTransparency = 1 | |
214 | ||
215 | Location.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726) | |
216 | ||
217 | Location.Position = UDim2.new(0, 90, 0, 0) | |
218 | ||
219 | Location.Size = UDim2.new(1, -200, 1, 0) | |
220 | ||
221 | Location.Font = Enum.Font.SourceSansBold | |
222 | ||
223 | Location.FontSize = Enum.FontSize.Size18 | |
224 | ||
225 | Location.Text = "Home" | |
226 | ||
227 | Location.TextColor3 = Color3.new(0.588235, 0.0196078, 0.172549) | |
228 | ||
229 | Location.TextStrokeTransparency = 0 | |
230 | ||
231 | ||
232 | ||
233 | Exit.Name = "Exit" | |
234 | ||
235 | Exit.Parent = Top | |
236 | ||
237 | Exit.BackgroundColor3 = Color3.new(0.588235, 0.0196078, 0.172549) | |
238 | ||
239 | Exit.BorderSizePixel = 0 | |
240 | ||
241 | Exit.Position = UDim2.new(1, -18, 0, 2) | |
242 | ||
243 | Exit.Size = UDim2.new(0, 16, 0, 16) | |
244 | ||
245 | Exit.Font = Enum.Font.SourceSansBold | |
246 | ||
247 | Exit.FontSize = Enum.FontSize.Size14 | |
248 | ||
249 | Exit.Text = "X" | |
250 | ||
251 | Exit.TextColor3 = Color3.new(1, 1, 1) | |
252 | ||
253 | Exit.MouseButton1Down:connect(function() | |
254 | ||
255 | Base.Parent = nil | |
256 | ||
257 | end) | |
258 | ||
259 | ||
260 | ||
261 | HomeContainer.Name = "HomeContainer" | |
262 | ||
263 | HomeContainer.Parent = Base | |
264 | ||
265 | HomeContainer.BackgroundColor3 = Color3.new(1, 1, 1) | |
266 | ||
267 | HomeContainer.BackgroundTransparency = 1 | |
268 | ||
269 | HomeContainer.Position = UDim2.new(0, 10, 0, 50) | |
270 | ||
271 | HomeContainer.Size = UDim2.new(1, -20, 1, -65) | |
272 | ||
273 | ||
274 | ||
275 | Players.Name = "Players" | |
276 | ||
277 | Players.Parent = HomeContainer | |
278 | ||
279 | Players.BackgroundColor3 = Color3.new(1, 1, 1) | |
280 | ||
281 | Players.BackgroundTransparency = 1 | |
282 | ||
283 | Players.Position = UDim2.new(0.666000009, 10, 0, 0) | |
284 | ||
285 | Players.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
286 | ||
287 | ||
288 | ||
289 | ImageLabel.Parent = Players | |
290 | ||
291 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
292 | ||
293 | ImageLabel.BackgroundTransparency = 1 | |
294 | ||
295 | ImageLabel.Position = UDim2.new(0.5, -25, 0, 0) | |
296 | ||
297 | ImageLabel.Size = UDim2.new(0, 50, 0, 50) | |
298 | ||
299 | ImageLabel.Image = "rbxassetid://573066980" | |
300 | ||
301 | ImageLabel.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
302 | ||
303 | ||
304 | ||
305 | TextLabel.Parent = Players | |
306 | ||
307 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
308 | ||
309 | TextLabel.BackgroundTransparency = 1 | |
310 | ||
311 | TextLabel.Position = UDim2.new(0, 10, 1, -40) | |
312 | ||
313 | TextLabel.Size = UDim2.new(1, -20, 0, 20) | |
314 | ||
315 | TextLabel.Font = Enum.Font.SourceSansBold | |
316 | ||
317 | TextLabel.FontSize = Enum.FontSize.Size24 | |
318 | ||
319 | TextLabel.Text = "Players" | |
320 | ||
321 | TextLabel.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
322 | ||
323 | ||
324 | ||
325 | Mask.Name = "Mask" | |
326 | ||
327 | Mask.Parent = Players | |
328 | ||
329 | Mask.BackgroundColor3 = Color3.new(1, 1, 1) | |
330 | ||
331 | Mask.BackgroundTransparency = 1 | |
332 | ||
333 | Mask.Position = UDim2.new(0, 27, 0, 0) | |
334 | ||
335 | Mask.Size = UDim2.new(1, -56, 0, 65) | |
336 | ||
337 | Mask.Font = Enum.Font.SourceSans | |
338 | ||
339 | Mask.FontSize = Enum.FontSize.Size14 | |
340 | ||
341 | Mask.Text = "" | |
342 | ||
343 | ||
344 | ||
345 | Server.Name = "Server" | |
346 | ||
347 | Server.Parent = HomeContainer | |
348 | ||
349 | Server.BackgroundColor3 = Color3.new(1, 1, 1) | |
350 | ||
351 | Server.BackgroundTransparency = 1 | |
352 | ||
353 | Server.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
354 | ||
355 | ||
356 | ||
357 | ImageLabel_2.Parent = Server | |
358 | ||
359 | ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
360 | ||
361 | ImageLabel_2.BackgroundTransparency = 1 | |
362 | ||
363 | ImageLabel_2.Position = UDim2.new(0.5, -23, 0, 0) | |
364 | ||
365 | ImageLabel_2.Size = UDim2.new(0, 46, 0, 46) | |
366 | ||
367 | ImageLabel_2.Image = "rbxassetid://573084509" | |
368 | ||
369 | ImageLabel_2.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
370 | ||
371 | ||
372 | ||
373 | TextLabel_2.Parent = Server | |
374 | ||
375 | TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
376 | ||
377 | TextLabel_2.BackgroundTransparency = 1 | |
378 | ||
379 | TextLabel_2.Position = UDim2.new(0, 10, 1, -40) | |
380 | ||
381 | TextLabel_2.Size = UDim2.new(1, -20, 0, 20) | |
382 | ||
383 | TextLabel_2.Font = Enum.Font.SourceSansBold | |
384 | ||
385 | TextLabel_2.FontSize = Enum.FontSize.Size24 | |
386 | ||
387 | TextLabel_2.Text = "Server" | |
388 | ||
389 | TextLabel_2.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
390 | ||
391 | ||
392 | ||
393 | Mask_2.Name = "Mask" | |
394 | ||
395 | Mask_2.Parent = Server | |
396 | ||
397 | Mask_2.BackgroundColor3 = Color3.new(1, 1, 1) | |
398 | ||
399 | Mask_2.BackgroundTransparency = 1 | |
400 | ||
401 | Mask_2.Position = UDim2.new(0, 27, 0, 0) | |
402 | ||
403 | Mask_2.Size = UDim2.new(1, -56, 0, 65) | |
404 | ||
405 | Mask_2.Font = Enum.Font.SourceSans | |
406 | ||
407 | Mask_2.FontSize = Enum.FontSize.Size14 | |
408 | ||
409 | Mask_2.Text = "" | |
410 | ||
411 | ||
412 | ||
413 | LocalPlayer.Name = "LocalPlayer" | |
414 | ||
415 | LocalPlayer.Parent = HomeContainer | |
416 | ||
417 | LocalPlayer.BackgroundColor3 = Color3.new(1, 1, 1) | |
418 | ||
419 | LocalPlayer.BackgroundTransparency = 1 | |
420 | ||
421 | LocalPlayer.Position = UDim2.new(0.333000004, 10, 0, 0) | |
422 | ||
423 | LocalPlayer.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
424 | ||
425 | ||
426 | ||
427 | ImageLabel_3.Parent = LocalPlayer | |
428 | ||
429 | ImageLabel_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
430 | ||
431 | ImageLabel_3.BackgroundTransparency = 1 | |
432 | ||
433 | ImageLabel_3.Position = UDim2.new(0.5, -25, 0, 0) | |
434 | ||
435 | ImageLabel_3.Size = UDim2.new(0, 50, 0, 50) | |
436 | ||
437 | ImageLabel_3.Image = "rbxassetid://573078228" | |
438 | ||
439 | ImageLabel_3.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
440 | ||
441 | ||
442 | ||
443 | TextLabel_3.Parent = LocalPlayer | |
444 | ||
445 | TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
446 | ||
447 | TextLabel_3.BackgroundTransparency = 1 | |
448 | ||
449 | TextLabel_3.Position = UDim2.new(0, 10, 1, -40) | |
450 | ||
451 | TextLabel_3.Size = UDim2.new(1, -20, 0, 20) | |
452 | ||
453 | TextLabel_3.Font = Enum.Font.SourceSansBold | |
454 | ||
455 | TextLabel_3.FontSize = Enum.FontSize.Size24 | |
456 | ||
457 | TextLabel_3.Text = "LocalPlayer" | |
458 | ||
459 | TextLabel_3.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
460 | ||
461 | ||
462 | ||
463 | Mask_3.Name = "Mask" | |
464 | ||
465 | Mask_3.Parent = LocalPlayer | |
466 | ||
467 | Mask_3.BackgroundColor3 = Color3.new(1, 1, 1) | |
468 | ||
469 | Mask_3.BackgroundTransparency = 1 | |
470 | ||
471 | Mask_3.Position = UDim2.new(0, 27, 0, 0) | |
472 | ||
473 | Mask_3.Size = UDim2.new(1, -56, 0, 65) | |
474 | ||
475 | Mask_3.Font = Enum.Font.SourceSans | |
476 | ||
477 | Mask_3.FontSize = Enum.FontSize.Size14 | |
478 | ||
479 | Mask_3.Text = "" | |
480 | ||
481 | ||
482 | ||
483 | Scripts.Name = "Scripts" | |
484 | ||
485 | Scripts.Parent = HomeContainer | |
486 | ||
487 | Scripts.BackgroundColor3 = Color3.new(1, 1, 1) | |
488 | ||
489 | Scripts.BackgroundTransparency = 1 | |
490 | ||
491 | Scripts.Position = UDim2.new(0, 0, 0.5, 0) | |
492 | ||
493 | Scripts.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
494 | ||
495 | ||
496 | ||
497 | ImageLabel_4.Parent = Scripts | |
498 | ||
499 | ImageLabel_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
500 | ||
501 | ImageLabel_4.BackgroundTransparency = 1 | |
502 | ||
503 | ImageLabel_4.Position = UDim2.new(0.5, -25, 0, 0) | |
504 | ||
505 | ImageLabel_4.Size = UDim2.new(0, 50, 0, 50) | |
506 | ||
507 | ImageLabel_4.Image = "rbxassetid://573081437" | |
508 | ||
509 | ImageLabel_4.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
510 | ||
511 | ||
512 | ||
513 | TextLabel_4.Parent = Scripts | |
514 | ||
515 | TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
516 | ||
517 | TextLabel_4.BackgroundTransparency = 1 | |
518 | ||
519 | TextLabel_4.Position = UDim2.new(0, 10, 1, -40) | |
520 | ||
521 | TextLabel_4.Size = UDim2.new(1, -20, 0, 20) | |
522 | ||
523 | TextLabel_4.Font = Enum.Font.SourceSansBold | |
524 | ||
525 | TextLabel_4.FontSize = Enum.FontSize.Size24 | |
526 | ||
527 | TextLabel_4.Text = "Scripts" | |
528 | ||
529 | TextLabel_4.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
530 | ||
531 | ||
532 | ||
533 | Mask_4.Name = "Mask" | |
534 | ||
535 | Mask_4.Parent = Scripts | |
536 | ||
537 | Mask_4.BackgroundColor3 = Color3.new(1, 1, 1) | |
538 | ||
539 | Mask_4.BackgroundTransparency = 1 | |
540 | ||
541 | Mask_4.Position = UDim2.new(0, 27, 0, 0) | |
542 | ||
543 | Mask_4.Size = UDim2.new(1, -56, 0, 65) | |
544 | ||
545 | Mask_4.Font = Enum.Font.SourceSans | |
546 | ||
547 | Mask_4.FontSize = Enum.FontSize.Size14 | |
548 | ||
549 | Mask_4.Text = "" | |
550 | ||
551 | ||
552 | ||
553 | Miscellaneous.Name = "Miscellaneous" | |
554 | ||
555 | Miscellaneous.Parent = HomeContainer | |
556 | ||
557 | Miscellaneous.BackgroundColor3 = Color3.new(1, 1, 1) | |
558 | ||
559 | Miscellaneous.BackgroundTransparency = 1 | |
560 | ||
561 | Miscellaneous.Position = UDim2.new(0.333000004, 10, 0.5, 0) | |
562 | ||
563 | Miscellaneous.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
564 | ||
565 | ||
566 | ||
567 | ImageLabel_5.Parent = Miscellaneous | |
568 | ||
569 | ImageLabel_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
570 | ||
571 | ImageLabel_5.BackgroundTransparency = 1 | |
572 | ||
573 | ImageLabel_5.Position = UDim2.new(0.5, -23, 0, 0) | |
574 | ||
575 | ImageLabel_5.Size = UDim2.new(0, 46, 0, 46) | |
576 | ||
577 | ImageLabel_5.Image = "rbxassetid://573087376" | |
578 | ||
579 | ImageLabel_5.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
580 | ||
581 | ||
582 | ||
583 | TextLabel_5.Parent = Miscellaneous | |
584 | ||
585 | TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
586 | ||
587 | TextLabel_5.BackgroundTransparency = 1 | |
588 | ||
589 | TextLabel_5.Position = UDim2.new(0, 10, 1, -40) | |
590 | ||
591 | TextLabel_5.Size = UDim2.new(1, -20, 0, 20) | |
592 | ||
593 | TextLabel_5.Font = Enum.Font.SourceSansBold | |
594 | ||
595 | TextLabel_5.FontSize = Enum.FontSize.Size24 | |
596 | ||
597 | TextLabel_5.Text = "Miscellaneous" | |
598 | ||
599 | TextLabel_5.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
600 | ||
601 | ||
602 | ||
603 | Mask_5.Name = "Mask" | |
604 | ||
605 | Mask_5.Parent = Miscellaneous | |
606 | ||
607 | Mask_5.BackgroundColor3 = Color3.new(1, 1, 1) | |
608 | ||
609 | Mask_5.BackgroundTransparency = 1 | |
610 | ||
611 | Mask_5.Position = UDim2.new(0, 27, 0, 0) | |
612 | ||
613 | Mask_5.Size = UDim2.new(1, -56, 0, 65) | |
614 | ||
615 | Mask_5.Font = Enum.Font.SourceSans | |
616 | ||
617 | Mask_5.FontSize = Enum.FontSize.Size14 | |
618 | ||
619 | Mask_5.Text = "" | |
620 | ||
621 | ||
622 | ||
623 | Settings.Name = "Settings" | |
624 | ||
625 | Settings.Parent = HomeContainer | |
626 | ||
627 | Settings.BackgroundColor3 = Color3.new(1, 1, 1) | |
628 | ||
629 | Settings.BackgroundTransparency = 1 | |
630 | ||
631 | Settings.Position = UDim2.new(0.666000009, 10, 0.5, 0) | |
632 | ||
633 | Settings.Size = UDim2.new(0.333000004, -10, 0.5, -10) | |
634 | ||
635 | ||
636 | ||
637 | ImageLabel_6.Parent = Settings | |
638 | ||
639 | ImageLabel_6.BackgroundColor3 = Color3.new(1, 1, 1) | |
640 | ||
641 | ImageLabel_6.BackgroundTransparency = 1 | |
642 | ||
643 | ImageLabel_6.Position = UDim2.new(0.5, -23, 0, 0) | |
644 | ||
645 | ImageLabel_6.Size = UDim2.new(0, 46, 0, 46) | |
646 | ||
647 | ImageLabel_6.Image = "rbxassetid://573090294" | |
648 | ||
649 | ImageLabel_6.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412) | |
650 | ||
651 | ||
652 | ||
653 | TextLabel_6.Parent = Settings | |
654 | ||
655 | TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1) | |
656 | ||
657 | TextLabel_6.BackgroundTransparency = 1 | |
658 | ||
659 | TextLabel_6.Position = UDim2.new(0, 10, 1, -40) | |
660 | ||
661 | TextLabel_6.Size = UDim2.new(1, -20, 0, 20) | |
662 | ||
663 | TextLabel_6.Font = Enum.Font.SourceSansBold | |
664 | ||
665 | TextLabel_6.FontSize = Enum.FontSize.Size24 | |
666 | ||
667 | TextLabel_6.Text = "Settings" | |
668 | ||
669 | TextLabel_6.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255) | |
670 | ||
671 | ||
672 | ||
673 | Mask_6.Name = "Mask" | |
674 | ||
675 | Mask_6.Parent = Settings | |
676 | ||
677 | Mask_6.BackgroundColor3 = Color3.new(1, 1, 1) | |
678 | ||
679 | Mask_6.BackgroundTransparency = 1 | |
680 | ||
681 | Mask_6.Position = UDim2.new(0, 27, 0, 0) | |
682 | ||
683 | Mask_6.Size = UDim2.new(1, -56, 0, 65) | |
684 | ||
685 | Mask_6.Font = Enum.Font.SourceSans | |
686 | ||
687 | Mask_6.FontSize = Enum.FontSize.Size14 | |
688 | ||
689 | Mask_6.Text = "" | |
690 | ||
691 | ||
692 | ||
693 | Navigator.Name = "Navigator" | |
694 | ||
695 | Navigator.Parent = Base | |
696 | ||
697 | Navigator.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
698 | ||
699 | Navigator.BackgroundTransparency = 0.5 | |
700 | ||
701 | Navigator.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
702 | ||
703 | Navigator.Position = UDim2.new(0, 10, 0, 35) | |
704 | ||
705 | Navigator.Size = UDim2.new(0, 125, 1, -45) | |
706 | ||
707 | Navigator.Visible = false | |
708 | ||
709 | Navigator.BottomImage = "rbxassetid://573102620" | |
710 | ||
711 | Navigator.MidImage = "rbxassetid://573102620" | |
712 | ||
713 | Navigator.ScrollBarThickness = 5 | |
714 | ||
715 | Navigator.TopImage = "rbxassetid://573102620" | |
716 | ||
717 | ||
718 | ||
719 | Item.Name = "Item" | |
720 | ||
721 | Item.Parent = Navigator | |
722 | ||
723 | Item.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
724 | ||
725 | Item.BackgroundTransparency = 0.5 | |
726 | ||
727 | Item.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137) | |
728 | ||
729 | Item.Position = UDim2.new(0, 5, 0, 5) | |
730 | ||
731 | Item.Size = UDim2.new(1, -15, 0, 20) | |
732 | ||
733 | Item.Selected = true | |
734 | ||
735 | Item.Font = Enum.Font.SourceSans | |
736 | ||
737 | Item.FontSize = Enum.FontSize.Size14 | |
738 | ||
739 | Item.Text = "NavItem" | |
740 | ||
741 | Item.TextColor3 = Color3.new(0.721569, 0.721569, 0.721569) | |
742 | ||
743 | ||
744 | ||
745 | ServerContainer.Name = "ServerContainer" | |
746 | ||
747 | ServerContainer.Parent = Base | |
748 | ||
749 | ServerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
750 | ||
751 | ServerContainer.BackgroundTransparency = 0.5 | |
752 | ||
753 | ServerContainer.Position = UDim2.new(0, 140, 0, 35) | |
754 | ||
755 | ServerContainer.Size = UDim2.new(1, -150, 1, -45) | |
756 | ||
757 | ServerContainer.Visible = false | |
758 | ||
759 | ServerContainer.BottomImage = "rbxassetid://573102620" | |
760 | ||
761 | ServerContainer.MidImage = "rbxassetid://573102620" | |
762 | ||
763 | ServerContainer.ScrollBarThickness = 5 | |
764 | ||
765 | ServerContainer.TopImage = "rbxassetid://573102620" | |
766 | ||
767 | ||
768 | ||
769 | dd.Name = "dd" | |
770 | ||
771 | dd.Parent = ServerContainer | |
772 | ||
773 | dd.BackgroundColor3 = Color3.new(0.0196078, 0.0313726, 0.0431373) | |
774 | ||
775 | dd.Position = UDim2.new(0, 6, 0, 6) | |
776 | ||
777 | dd.Size = UDim2.new(0.5, -10, 0, 20) | |
778 | ||
779 | dd.Visible = false | |
780 | ||
781 | dd.Font = Enum.Font.SourceSans | |
782 | ||
783 | dd.FontSize = Enum.FontSize.Size14 | |
784 | ||
785 | dd.Text = "Troll Spam" | |
786 | ||
787 | dd.TextColor3 = Color3.new(0.780392, 0.780392, 0.780392) | |
788 | ||
789 | dd.TextStrokeTransparency = 0.5 | |
790 | ||
791 | ||
792 | ||
793 | ImageLabel_7.Parent = dd | |
794 | ||
795 | ImageLabel_7.BackgroundColor3 = Color3.new(1, 1, 1) | |
796 | ||
797 | ImageLabel_7.BackgroundTransparency = 1 | |
798 | ||
799 | ImageLabel_7.Position = UDim2.new(0, 2, 0, 0) | |
800 | ||
801 | ImageLabel_7.Size = UDim2.new(0, 20, 0, 20) | |
802 | ||
803 | ImageLabel_7.Image = "rbxassetid://133293265" | |
804 | ||
805 | ||
806 | ||
807 | LocalPlayerContainer.Name = "LocalPlayerContainer" | |
808 | ||
809 | LocalPlayerContainer.Parent = Base | |
810 | ||
811 | LocalPlayerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
812 | ||
813 | LocalPlayerContainer.BackgroundTransparency = 0.5 | |
814 | ||
815 | LocalPlayerContainer.Position = UDim2.new(0, 140, 0, 35) | |
816 | ||
817 | LocalPlayerContainer.Size = UDim2.new(1, -150, 1, -45) | |
818 | ||
819 | LocalPlayerContainer.Visible = false | |
820 | ||
821 | LocalPlayerContainer.BottomImage = "rbxassetid://573102620" | |
822 | ||
823 | LocalPlayerContainer.MidImage = "rbxassetid://573102620" | |
824 | ||
825 | LocalPlayerContainer.ScrollBarThickness = 5 | |
826 | ||
827 | LocalPlayerContainer.TopImage = "rbxassetid://573102620" | |
828 | ||
829 | ||
830 | ||
831 | PlayersContainer.Name = "PlayersContainer" | |
832 | ||
833 | PlayersContainer.Parent = Base | |
834 | ||
835 | PlayersContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235) | |
836 | ||
837 | PlayersContainer.BackgroundTransparency = 0.5 | |
838 | ||
839 | PlayersContainer.Position = UDim2.new(0, 140, 0, 35) | |
840 | ||
841 | PlayersContainer.Size = UDim2.new(1, -150, 1, -45) | |
842 | ||
843 | PlayersContainer.Visible = false | |
844 | ||
845 | PlayersContainer.BottomImage = "rbxassetid://573102620" | |
846 | ||
847 | PlayersContainer.MidImage = "rbxassetid://573102620" | |
848 | ||
849 | PlayersContainer.ScrollBarThickness = 5 | |
850 | ||
851 | PlayersContainer.TopImage = "rbxassetid://573102620" | |
852 | ||
853 | ||
854 | ||
855 | function MakeContainer(n) | |
856 | ||
857 | local cont = PlayersContainer:Clone() | |
858 | ||
859 | cont.Name = n .. 'Container' | |
860 | ||
861 | cont.Parent = Base | |
862 | ||
863 | return cont | |
864 | ||
865 | end | |
866 | ||
867 | ||
868 | ||
869 | local ScriptsContainer = MakeContainer('Scripts') | |
870 | ||
871 | local MiscContainer = MakeContainer('Miscellaneous') | |
872 | ||
873 | ||
874 | ||
875 | local topkek = {} | |
876 | ||
877 | topkek.store = {} | |
878 | ||
879 | topkek.cache = {} | |
880 | ||
881 | topkek.libgui = {} | |
882 | ||
883 | topkek.libsettings = {} | |
884 | ||
885 | topkek.libutil = {} | |
886 | ||
887 | topkek.libwindows = {} | |
888 | ||
889 | topkek.libcmd = {} | |
890 | ||
891 | --[[ gay ass dropdown lib i made a while ago ]]-- | |
892 | ||
893 | dropdown = {} | |
894 | ||
895 | dropdown.new = function(gui, items, placeholder) | |
896 | ||
897 | local self = {} | |
898 | ||
899 | self.value = placeholder | |
900 | ||
901 | self.items = items | |
902 | ||
903 | self.gui = gui | |
904 | ||
905 | ||
906 | ||
907 | if self.gui:FindFirstChild("__DROPDOWN") then | |
908 | ||
909 | self.gui["__DROPDOWN"]:Destroy() | |
910 | ||
911 | end | |
912 | ||
913 | ||
914 | ||
915 | self.debug = false | |
916 | ||
917 | ||
918 | ||
919 | self.gui.Text = placeholder | |
920 | ||
921 | self.gui.BorderSizePixel = 0 | |
922 | ||
923 | self.gui.ZIndex = 1 | |
924 | ||
925 | ||
926 | ||
927 | self.textcolor = self.gui.TextColor3 | |
928 | ||
929 | function self.make() | |
930 | ||
931 | if self.gui:FindFirstChild("__DROPDOWN") then | |
932 | ||
933 | self.gui["__DROPDOWN"]:Destroy() | |
934 | ||
935 | end | |
936 | ||
937 | ||
938 | ||
939 | ||
940 | ||
941 | self.selectgui = Instance.new("ScrollingFrame") | |
942 | ||
943 | self.selectgui.Parent = self.gui | |
944 | ||
945 | self.selectgui.Name = "__DROPDOWN" | |
946 | ||
947 | self.selectgui.Size = UDim2.new(1, 0, 0, 100) | |
948 | ||
949 | self.selectgui.Position = UDim2.new(0, 0, 0, self.gui.AbsoluteSize.Y) | |
950 | ||
951 | self.selectgui.BorderSizePixel = 0 | |
952 | ||
953 | self.selectgui.ZIndex = 2 | |
954 | ||
955 | self.selectgui.BackgroundTransparency = self.gui.BackgroundTransparency | |
956 | ||
957 | self.selectgui.BackgroundColor3 = self.gui.BackgroundColor3 | |
958 | ||
959 | self.selectgui.Visible = false | |
960 | ||
961 | self.selectgui.CanvasSize = UDim2.new(0, 0, 0, (#self.items-1) * 20) | |
962 | ||
963 | self.selectgui.ScrollBarThickness = 5 | |
964 | ||
965 | ||
966 | ||
967 | if #self.items < 4 then | |
968 | ||
969 | self.selectgui.CanvasSize = UDim2.new(0, 0, 0, 0) | |
970 | ||
971 | self.selectgui.Size = UDim2.new(1, 0, 0, (#self.items-1) * 20) | |
972 | ||
973 | end | |
974 | ||
975 | ||
976 | ||
977 | self.item = Instance.new("TextButton") | |
978 | ||
979 | self.item.Size = UDim2.new(1, 0, 0, 20) | |
980 | ||
981 | self.item.Position = UDim2.new(0, 0, 0, 0) | |
982 | ||
983 | self.item.BackgroundTransparency = self.gui.BackgroundTransparency - 0.1 | |
984 | ||
985 | self.item.BackgroundColor3 = self.gui.BackgroundColor3 | |
986 | ||
987 | self.item.BorderSizePixel = 0 | |
988 | ||
989 | self.item.ZIndex = 2 | |
990 | ||
991 | self.item.TextColor3 = self.gui.TextColor3 | |
992 | ||
993 | self.item.Font = Enum.Font.SourceSans | |
994 | ||
995 | self.item.FontSize = Enum.FontSize.Size14 | |
996 | ||
997 | ||
998 | ||
999 | self.curitem = nil | |
1000 | ||
1001 | ||
1002 | ||
1003 | for i, v in pairs(self.items) do | |
1004 | ||
1005 | if not (v == self.value) then | |
1006 | ||
1007 | local ti = self.item:Clone() | |
1008 | ||
1009 | ti.Parent = self.selectgui | |
1010 | ||
1011 | if i == 1 then i = 2 end | |
1012 | ||
1013 | ti.Position = UDim2.new(0, 0, 0, (i - 2) * 20) | |
1014 | ||
1015 | ti.Text = v | |
1016 | ||
1017 | ti.MouseButton1Down:connect(function() | |
1018 | ||
1019 | self.value = v | |
1020 | ||
1021 | self.open = false | |
1022 | ||
1023 | self.selectgui.Visible = false | |
1024 | ||
1025 | self.gui.Text = v | |
1026 | ||
1027 | self.make() | |
1028 | ||
1029 | end) | |
1030 | ||
1031 | end | |
1032 | ||
1033 | end | |
1034 | ||
1035 | end | |
1036 | ||
1037 | ||
1038 | ||
1039 | self.getvalue = function() | |
1040 | ||
1041 | return self.value | |
1042 | ||
1043 | end | |
1044 | ||
1045 | ||
1046 | ||
1047 | self.update = function(itms) | |
1048 | ||
1049 | self.items = itms | |
1050 | ||
1051 | self.make() | |
1052 | ||
1053 | end | |
1054 | ||
1055 | ||
1056 | ||
1057 | self.open = false | |
1058 | ||
1059 | ||
1060 | ||
1061 | self.gui.MouseButton1Down:connect(function() | |
1062 | ||
1063 | if self.open == false then | |
1064 | ||
1065 | self.selectgui.CanvasPosition = Vector2.new(0, 0) | |
1066 | ||
1067 | self.selectgui.Visible = true | |
1068 | ||
1069 | self.open = true | |
1070 | ||
1071 | else | |
1072 | ||
1073 | self.selectgui.Visible = false | |
1074 | ||
1075 | self.open = false | |
1076 | ||
1077 | end | |
1078 | ||
1079 | end) | |
1080 | ||
1081 | ||
1082 | ||
1083 | self.make() | |
1084 | ||
1085 | return self | |
1086 | ||
1087 | end | |
1088 | ||
1089 | --[[ libsettings lole ]]-- | |
1090 | ||
1091 | topkek.libsettings.store = {} | |
1092 | ||
1093 | function topkek.libsettings:getSetting(k) | |
1094 | ||
1095 | return topkek.libsettings.store[k] | |
1096 | ||
1097 | end | |
1098 | ||
1099 | ||
1100 | ||
1101 | function topkek.libsettings:setSetting(k,v) | |
1102 | ||
1103 | topkek.libsettings.store[k]=v | |
1104 | ||
1105 | end | |
1106 | ||
1107 | ||
1108 | ||
1109 | -- [[ libutil ]] -- | |
1110 | ||
1111 | function topkek.libutil:createObject(o, p) | |
1112 | ||
1113 | local a, b = pcall(function() | |
1114 | ||
1115 | Instance.new(o) | |
1116 | ||
1117 | end) | |
1118 | ||
1119 | if not a then | |
1120 | ||
1121 | return | |
1122 | ||
1123 | end | |
1124 | ||
1125 | local obj = Instance.new(o) | |
1126 | ||
1127 | for prop, val in pairs(p) do | |
1128 | ||
1129 | pcall(function() | |
1130 | ||
1131 | obj[prop] = val | |
1132 | ||
1133 | end) | |
1134 | ||
1135 | end | |
1136 | ||
1137 | return obj | |
1138 | ||
1139 | end | |
1140 | ||
1141 | function topkek.libutil:Color3(r,g,b) | |
1142 | ||
1143 | return Color3.new(r/255,g/255,b/255) | |
1144 | ||
1145 | end; color3 = function(r,g,b) return topkek.libutil:Color3(r,g,b) end | |
1146 | ||
1147 | function topkek.libutil:recurseDecal(img)--topkek2.0 code tbh | |
1148 | ||
1149 | img = 'rbxassetid://' .. img | |
1150 | ||
1151 | local function skybox(x) | |
1152 | ||
1153 | local sky = Instance.new("Sky",game.Lighting) | |
1154 | ||
1155 | local fcs={"Bk","Dn","Ft","Lf","Rt","Up"} | |
1156 | ||
1157 | for i,v in pairs(fcs) do | |
1158 | ||
1159 | sky["Skybox"..v]=x | |
1160 | ||
1161 | end | |
1162 | ||
1163 | end | |
1164 | ||
1165 | local function particle(p, b) | |
1166 | ||
1167 | local a = Instance.new("ParticleEmitter", p) | |
1168 | ||
1169 | a.Rate = 500 | |
1170 | ||
1171 | a.Lifetime = NumberRange.new(20, 30) | |
1172 | ||
1173 | a.VelocitySpread = 200 | |
1174 | ||
1175 | a.Texture = b | |
1176 | ||
1177 | end | |
1178 | ||
1179 | ||
1180 | ||
1181 | local function decal(p, b) | |
1182 | ||
1183 | local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"} | |
1184 | ||
1185 | for i, v in pairs(sides) do | |
1186 | ||
1187 | local a = Instance.new("Decal", p) | |
1188 | ||
1189 | a.Texture = b | |
1190 | ||
1191 | a.Face = v | |
1192 | ||
1193 | end | |
1194 | ||
1195 | end | |
1196 | ||
1197 | ||
1198 | ||
1199 | local function recurse(x) | |
1200 | ||
1201 | for i, v in pairs(x:GetChildren()) do | |
1202 | ||
1203 | pcall(function() -- 'error occured, no output from Lua' LOLE | |
1204 | ||
1205 | if v:IsA("BasePart") then | |
1206 | ||
1207 | particle(v, img) | |
1208 | ||
1209 | decal(v, img) | |
1210 | ||
1211 | end | |
1212 | ||
1213 | if #(v:GetChildren())>0 then | |
1214 | ||
1215 | recurse(v) | |
1216 | ||
1217 | end | |
1218 | ||
1219 | end) | |
1220 | ||
1221 | end | |
1222 | ||
1223 | end | |
1224 | ||
1225 | ||
1226 | ||
1227 | recurse(game) | |
1228 | ||
1229 | skybox(img) | |
1230 | ||
1231 | end | |
1232 | ||
1233 | function topkek.libutil:recurseRemove(type_) | |
1234 | ||
1235 | local function recurse(x) | |
1236 | ||
1237 | for i, v in pairs(x:GetChildren()) do | |
1238 | ||
1239 | pcall(function() | |
1240 | ||
1241 | if v:IsA(type_) then | |
1242 | ||
1243 | v:Destroy() | |
1244 | ||
1245 | end | |
1246 | ||
1247 | if #(v:GetChildren())>0 then | |
1248 | ||
1249 | recurse(v) | |
1250 | ||
1251 | end | |
1252 | ||
1253 | end) | |
1254 | ||
1255 | end | |
1256 | ||
1257 | end | |
1258 | ||
1259 | recurse(game) | |
1260 | ||
1261 | end | |
1262 | ||
1263 | function topkek.libutil:recurseSet(type_,prop,val) | |
1264 | ||
1265 | local function recurse(x) | |
1266 | ||
1267 | for i, v in pairs(x:GetChildren()) do | |
1268 | ||
1269 | pcall(function() | |
1270 | ||
1271 | if v:IsA(type_) then | |
1272 | ||
1273 | v[prop]=val | |
1274 | ||
1275 | end | |
1276 | ||
1277 | if #(v:GetChildren())>0 then | |
1278 | ||
1279 | recurse(v) | |
1280 | ||
1281 | end | |
1282 | ||
1283 | end) | |
1284 | ||
1285 | end | |
1286 | ||
1287 | end | |
1288 | ||
1289 | recurse(game) | |
1290 | ||
1291 | end | |
1292 | ||
1293 | function topkek.libutil:recurseSetObj(obj,type_,prop,val) | |
1294 | ||
1295 | local function recurse(x) | |
1296 | ||
1297 | for i, v in pairs(x:GetChildren()) do | |
1298 | ||
1299 | pcall(function() | |
1300 | ||
1301 | if v:IsA(type_) then | |
1302 | ||
1303 | v[prop]=val | |
1304 | ||
1305 | end | |
1306 | ||
1307 | if #(v:GetChildren())>0 then | |
1308 | ||
1309 | recurse(v) | |
1310 | ||
1311 | end | |
1312 | ||
1313 | end) | |
1314 | ||
1315 | end | |
1316 | ||
1317 | end | |
1318 | ||
1319 | recurse(obj) | |
1320 | ||
1321 | end | |
1322 | ||
1323 | function topkek.libutil:recurseFunc(type_,func) | |
1324 | ||
1325 | local function recurse(x) | |
1326 | ||
1327 | for i, v in pairs(x:GetChildren()) do | |
1328 | ||
1329 | pcall(function() | |
1330 | ||
1331 | if v:IsA(type_) then | |
1332 | ||
1333 | func(v) | |
1334 | ||
1335 | end | |
1336 | ||
1337 | if #(v:GetChildren())>0 then | |
1338 | ||
1339 | recurse(v) | |
1340 | ||
1341 | end | |
1342 | ||
1343 | end) | |
1344 | ||
1345 | end | |
1346 | ||
1347 | end | |
1348 | ||
1349 | recurse(game) | |
1350 | ||
1351 | end | |
1352 | ||
1353 | function topkek.libutil:Play(id) | |
1354 | ||
1355 | local mu = Instance.new("Sound", game.Workspace) | |
1356 | ||
1357 | mu.Volume = 1 | |
1358 | ||
1359 | mu.Looped = true | |
1360 | ||
1361 | mu.Pitch = 1 | |
1362 | ||
1363 | mu.SoundId = "rbxassetid://"..tostring(id) | |
1364 | ||
1365 | mu:Play() | |
1366 | ||
1367 | end | |
1368 | ||
1369 | function topkek.libutil:GetPlayerList() | |
1370 | ||
1371 | local list = {'Everybody'} | |
1372 | ||
1373 | for i, v in pairs(game:service'Players':GetPlayers()) do | |
1374 | ||
1375 | table.insert(list, v.Name) | |
1376 | ||
1377 | end | |
1378 | ||
1379 | return list | |
1380 | ||
1381 | end | |
1382 | ||
1383 | function topkek.libutil:doPlayers(drop, func) | |
1384 | ||
1385 | local str = drop.getvalue() | |
1386 | ||
1387 | local plrs = {} | |
1388 | ||
1389 | if str == 'Everybody' then | |
1390 | ||
1391 | plrs = game:GetService('Players'):GetPlayers() | |
1392 | ||
1393 | else | |
1394 | ||
1395 | plrs = {game:GetService('Players'):FindFirstChild(str)} | |
1396 | ||
1397 | end | |
1398 | ||
1399 | for i, v in pairs(plrs) do | |
1400 | ||
1401 | func(v) | |
1402 | ||
1403 | end | |
1404 | ||
1405 | end | |
1406 | ||
1407 | function topkek.libutil:insert(id) | |
1408 | ||
1409 | if topkek.cache[id] then return topkek.cache[id] end -- moist | |
1410 | ||
1411 | local obj = game:service'InsertService':LoadAsset(id):GetChildren()[1] | |
1412 | ||
1413 | topkek.cache[id] = obj:Clone() | |
1414 | ||
1415 | return obj | |
1416 | ||
1417 | end; insert = function(id) return topkek.libutil:insert(id) end | |
1418 | ||
1419 | function topkek.libutil:getTorso(plr) --r15 compatibility lole | |
1420 | ||
1421 | if plr.Character then | |
1422 | ||
1423 | if plr.Character:FindFirstChild('UpperTorso') then | |
1424 | ||
1425 | return plr.Character.UpperTorso | |
1426 | ||
1427 | else | |
1428 | ||
1429 | return plr.Character.Torso | |
1430 | ||
1431 | end | |
1432 | ||
1433 | end | |
1434 | ||
1435 | end | |
1436 | ||
1437 | function topkek.libutil:weiner(plr) | |
1438 | ||
1439 | plr=plr.Character | |
1440 | ||
1441 | Shaft=Instance.new("Part", plr) | |
1442 | ||
1443 | Shaft.Name='Shaft' | |
1444 | ||
1445 | Shaft.Size=Vector3.new(1, 2.5, 1) | |
1446 | ||
1447 | Shaft.TopSurface=0 | |
1448 | ||
1449 | Shaft.BottomSurface=0 | |
1450 | ||
1451 | Shaft.CanCollide=true | |
1452 | ||
1453 | Cyln=Instance.new("CylinderMesh", Shaft) | |
1454 | ||
1455 | Cyln.Scale=Vector3.new(0.5,0.7,0.5) | |
1456 | ||
1457 | Instance.new("Weld", plr) | |
1458 | ||
1459 | plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso") | |
1460 | ||
1461 | plr.Weld.Part1=plr.Shaft | |
1462 | ||
1463 | plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0) | |
1464 | ||
1465 | Shaft.BrickColor=BrickColor.new("Pastel brown") | |
1466 | ||
1467 | Tip=Instance.new("Part", plr) | |
1468 | ||
1469 | Tip.Name='Tip' | |
1470 | ||
1471 | Tip.TopSurface=0 | |
1472 | ||
1473 | Tip.BottomSurface=0 | |
1474 | ||
1475 | Tip.Size=Vector3.new(1, 1, 1) | |
1476 | ||
1477 | Tip.CanCollide=true | |
1478 | ||
1479 | Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end) | |
1480 | ||
1481 | Cyln2=Instance.new("SpecialMesh", Tip) | |
1482 | ||
1483 | Cyln2.MeshType='Sphere' | |
1484 | ||
1485 | Cyln2.Scale=Vector3.new(0.6,0.6,0.6) | |
1486 | ||
1487 | Instance.new("Weld", plr).Name='Weld2' | |
1488 | ||
1489 | plr.Weld2.Part0=plr.Shaft | |
1490 | ||
1491 | plr.Weld2.Part1=plr.Tip | |
1492 | ||
1493 | plr.Weld2.C0=CFrame.new(0,-.9,0) | |
1494 | ||
1495 | Tip.BrickColor=BrickColor.new("Pink") | |
1496 | ||
1497 | ----- | |
1498 | ||
1499 | Ball1=Instance.new("Part", plr) | |
1500 | ||
1501 | Ball1.Name='Ball1' | |
1502 | ||
1503 | Ball1.Size=Vector3.new(1, 1, 1) | |
1504 | ||
1505 | Ball1.TopSurface=0 | |
1506 | ||
1507 | Ball1.BottomSurface=0 | |
1508 | ||
1509 | Cyln3=Instance.new("SpecialMesh", Ball1) | |
1510 | ||
1511 | Cyln3.MeshType='Sphere' | |
1512 | ||
1513 | Cyln3.Scale=Vector3.new(0.4,0.4,0.4) | |
1514 | ||
1515 | Instance.new("Weld", plr).Name='Weld3' | |
1516 | ||
1517 | plr.Weld3.Part0=plr.Shaft | |
1518 | ||
1519 | plr.Weld3.Part1=plr.Ball1 | |
1520 | ||
1521 | plr.Weld3.C0=CFrame.new(0.225,.4,0.2) | |
1522 | ||
1523 | Ball1.BrickColor=BrickColor.new("Pastel brown") | |
1524 | ||
1525 | ----- | |
1526 | ||
1527 | Ball2=Instance.new("Part", plr) | |
1528 | ||
1529 | Ball2.Name='Ball2' | |
1530 | ||
1531 | Ball2.Size=Vector3.new(1, 1, 1) | |
1532 | ||
1533 | Ball2.TopSurface=0 | |
1534 | ||
1535 | Ball2.BottomSurface=0 | |
1536 | ||
1537 | Cyln3=Instance.new("SpecialMesh", Ball2) | |
1538 | ||
1539 | Cyln3.MeshType='Sphere' | |
1540 | ||
1541 | Cyln3.Scale=Vector3.new(0.4,0.4,0.4) | |
1542 | ||
1543 | Instance.new("Weld", plr).Name='Weld4' | |
1544 | ||
1545 | plr.Weld4.Part0=plr.Shaft | |
1546 | ||
1547 | plr.Weld4.Part1=plr.Ball2 | |
1548 | ||
1549 | plr.Weld4.C0=CFrame.new(-0.225,.4,0.2) | |
1550 | ||
1551 | Ball2.BrickColor=BrickColor.new("Pastel brown") | |
1552 | ||
1553 | end | |
1554 | ||
1555 | function topkek.libutil:scalePlayer(plr, sz) | |
1556 | ||
1557 | local pchar = plr.Character | |
1558 | ||
1559 | if pchar:FindFirstChild("UpperTorso") then | |
1560 | ||
1561 | warn("Player [" ..plr.Name.. "] is R15.") | |
1562 | ||
1563 | return | |
1564 | ||
1565 | end | |
1566 | ||
1567 | local function scale(chr,scl) | |
1568 | ||
1569 | ||
1570 | ||
1571 | for _,v in pairs(pchar:GetChildren()) do | |
1572 | ||
1573 | if v:IsA("Hat") then | |
1574 | ||
1575 | v:Clone() | |
1576 | ||
1577 | v.Parent = game.Lighting | |
1578 | ||
1579 | end | |
1580 | ||
1581 | end | |
1582 | ||
1583 | ||
1584 | ||
1585 | local Head = chr['Head'] | |
1586 | ||
1587 | local Torso = chr['Torso'] | |
1588 | ||
1589 | local LA = chr['Left Arm'] | |
1590 | ||
1591 | local RA = chr['Right Arm'] | |
1592 | ||
1593 | local LL = chr['Left Leg'] | |
1594 | ||
1595 | local RL = chr['Right Leg'] | |
1596 | ||
1597 | local HRP = chr['HumanoidRootPart'] | |
1598 | ||
1599 | ||
1600 | ||
1601 | wait(0.1) | |
1602 | ||
1603 | ||
1604 | ||
1605 | Head.formFactor = 3 | |
1606 | ||
1607 | Torso.formFactor = 3 | |
1608 | ||
1609 | LA.formFactor = 3 | |
1610 | ||
1611 | RA.formFactor = 3 | |
1612 | ||
1613 | LL.formFactor = 3 | |
1614 | ||
1615 | RL.formFactor = 3 | |
1616 | ||
1617 | HRP.formFactor = 3 | |
1618 | ||
1619 | ||
1620 | ||
1621 | Head.Size = Vector3.new(scl * 2, scl, scl) | |
1622 | ||
1623 | Torso.Size = Vector3.new(scl * 2, scl * 2, scl) | |
1624 | ||
1625 | LA.Size = Vector3.new(scl, scl * 2, scl) | |
1626 | ||
1627 | RA.Size = Vector3.new(scl, scl * 2, scl) | |
1628 | ||
1629 | LL.Size = Vector3.new(scl, scl * 2, scl) | |
1630 | ||
1631 | RL.Size = Vector3.new(scl, scl * 2, scl) | |
1632 | ||
1633 | HRP.Size = Vector3.new(scl * 2, scl * 2, scl) | |
1634 | ||
1635 | ||
1636 | ||
1637 | local Motor1 = Instance.new('Motor6D', Torso) | |
1638 | ||
1639 | Motor1.Part0 = Torso | |
1640 | ||
1641 | Motor1.Part1 = Head | |
1642 | ||
1643 | Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
1644 | ||
1645 | Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1) | |
1646 | ||
1647 | Motor1.Name = "Neck" | |
1648 | ||
1649 | ||
1650 | ||
1651 | local Motor2 = Instance.new('Motor6D', Torso) | |
1652 | ||
1653 | Motor2.Part0 = Torso | |
1654 | ||
1655 | Motor2.Part1 = LA | |
1656 | ||
1657 | Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
1658 | ||
1659 | Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
1660 | ||
1661 | Motor2.Name = "Left Shoulder" | |
1662 | ||
1663 | ||
1664 | ||
1665 | local Motor3 = Instance.new('Motor6D', Torso) | |
1666 | ||
1667 | Motor3.Part0 = Torso | |
1668 | ||
1669 | Motor3.Part1 = RA | |
1670 | ||
1671 | Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
1672 | ||
1673 | Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
1674 | ||
1675 | Motor3.Name = "Right Shoulder" | |
1676 | ||
1677 | ||
1678 | ||
1679 | local Motor4 = Instance.new('Motor6D', Torso) | |
1680 | ||
1681 | Motor4.Part0 = Torso | |
1682 | ||
1683 | Motor4.Part1 = LL | |
1684 | ||
1685 | Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
1686 | ||
1687 | Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0) | |
1688 | ||
1689 | Motor4.Name = "Left Hip" | |
1690 | ||
1691 | ||
1692 | ||
1693 | local Motor5 = Instance.new('Motor6D', Torso) | |
1694 | ||
1695 | Motor5.Part0 = Torso | |
1696 | ||
1697 | Motor5.Part1 = RL | |
1698 | ||
1699 | Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
1700 | ||
1701 | Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0) | |
1702 | ||
1703 | Motor5.Name = "Right Hip" | |
1704 | ||
1705 | ||
1706 | ||
1707 | local Motor6 = Instance.new('Motor6D', HRP) | |
1708 | ||
1709 | Motor6.Part0 = HRP | |
1710 | ||
1711 | Motor6.Part1 = Torso | |
1712 | ||
1713 | Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
1714 | ||
1715 | Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) | |
1716 | ||
1717 | ||
1718 | ||
1719 | end | |
1720 | ||
1721 | ||
1722 | ||
1723 | scale(pchar, sz) | |
1724 | ||
1725 | ||
1726 | ||
1727 | for _,v in pairs(game.Lighting:GetChildren()) do | |
1728 | ||
1729 | if v:IsA("Hat") then | |
1730 | ||
1731 | v.Parent = pchar | |
1732 | ||
1733 | end | |
1734 | ||
1735 | end | |
1736 | ||
1737 | end | |
1738 | ||
1739 | function topkek.libutil:dickShooter() | |
1740 | ||
1741 | Player = game:GetService("Players").LocalPlayer | |
1742 | ||
1743 | Character = Player.Character | |
1744 | ||
1745 | PlayerGui = Player.PlayerGui | |
1746 | ||
1747 | Backpack = Player.Backpack | |
1748 | ||
1749 | Torso = Character.Torso | |
1750 | ||
1751 | Head = Character.Head | |
1752 | ||
1753 | LeftArm = Character["Left Arm"] | |
1754 | ||
1755 | LeftLeg = Character["Left Leg"] | |
1756 | ||
1757 | RightArm = Character["Right Arm"] | |
1758 | ||
1759 | RightLeg = Character["Right Leg"] | |
1760 | ||
1761 | LS = Torso["Left Shoulder"] | |
1762 | ||
1763 | LH = Torso["Left Hip"] | |
1764 | ||
1765 | RS = Torso["Right Shoulder"] | |
1766 | ||
1767 | RH = Torso["Right Hip"] | |
1768 | ||
1769 | Tool = Instance.new("HopperBin") | |
1770 | ||
1771 | Tool.Parent = Backpack | |
1772 | ||
1773 | Tool.Name = "Painis" | |
1774 | ||
1775 | Bin = Tool | |
1776 | ||
1777 | so = function(id, par, vol, pit) | |
1778 | ||
1779 | ||
1780 | ||
1781 | coroutine.resume(coroutine.create(function() | |
1782 | ||
1783 | ||
1784 | ||
1785 | local sou = Instance.new("Sound", par or workspace) | |
1786 | ||
1787 | sou.Volume = vol | |
1788 | ||
1789 | sou.Pitch = pit or 1 | |
1790 | ||
1791 | sou.SoundId = id | |
1792 | ||
1793 | wait() | |
1794 | ||
1795 | sou:play() | |
1796 | ||
1797 | wait(6) | |
1798 | ||
1799 | sou:Remove() | |
1800 | ||
1801 | end | |
1802 | ||
1803 | )) | |
1804 | ||
1805 | end | |
1806 | ||
1807 | ||
1808 | ||
1809 | ob1d = function(mouse) | |
1810 | ||
1811 | ||
1812 | ||
1813 | size = 0.5 | |
1814 | ||
1815 | mode = 1 | |
1816 | ||
1817 | color = BrickColor.new(Color3.new(math.random(), math.random(), math.random())) | |
1818 | ||
1819 | mo = Instance.new("Model") | |
1820 | ||
1821 | mo.Name = "EEEEUGH HA HA HAAAAA" | |
1822 | ||
1823 | mo.Parent = workspace | |
1824 | ||
1825 | game.Debris:AddItem(mo, 10) | |
1826 | ||
1827 | p = Instance.new("Seat") | |
1828 | ||
1829 | p.Name = "Torso" | |
1830 | ||
1831 | p.Size = Vector3.new(14, 50, 14) * size | |
1832 | ||
1833 | p.BrickColor = color | |
1834 | ||
1835 | m = Instance.new("SpecialMesh") | |
1836 | ||
1837 | m.Parent = p | |
1838 | ||
1839 | p.Name = "Torso" | |
1840 | ||
1841 | p.Parent = mo | |
1842 | ||
1843 | p = Instance.new("Seat") | |
1844 | ||
1845 | p.Shape = "Ball" | |
1846 | ||
1847 | p.Size = Vector3.new(24, 24, 24) * size | |
1848 | ||
1849 | p.BrickColor = color | |
1850 | ||
1851 | p.Name = "Legball" | |
1852 | ||
1853 | for i = 1, 10 do | |
1854 | ||
1855 | lol = Instance.new("Seat") | |
1856 | ||
1857 | lol.BrickColor = BrickColor:Black() | |
1858 | ||
1859 | lol.Name = "SEE?" | |
1860 | ||
1861 | lol.Parent = mo | |
1862 | ||
1863 | lol.Size = Vector3.new(1, math.random(30, 40), 1) * size | |
1864 | ||
1865 | w = Instance.new("Weld") | |
1866 | ||
1867 | w.Part0 = p | |
1868 | ||
1869 | w.Part1 = lol | |
1870 | ||
1871 | w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
1872 | ||
1873 | w.Parent = w.Part0 | |
1874 | ||
1875 | end | |
1876 | ||
1877 | p.Parent = mo | |
1878 | ||
1879 | w = Instance.new("Weld") | |
1880 | ||
1881 | w.Part0 = mo.Torso | |
1882 | ||
1883 | w.Part1 = p | |
1884 | ||
1885 | w.C0 = CFrame.new(16 * (size / 2), -48 * (size / 2), 0) | |
1886 | ||
1887 | w.Parent = w.Part0 | |
1888 | ||
1889 | p = Instance.new("Seat") | |
1890 | ||
1891 | p.Shape = "Ball" | |
1892 | ||
1893 | p.Size = Vector3.new(24, 24, 24) * size | |
1894 | ||
1895 | p.BrickColor = color | |
1896 | ||
1897 | p.Name = "Legball" | |
1898 | ||
1899 | for i = 1, 10 do | |
1900 | ||
1901 | lol = Instance.new("Seat") | |
1902 | ||
1903 | lol.BrickColor = BrickColor:Black() | |
1904 | ||
1905 | lol.Name = "SEE?" | |
1906 | ||
1907 | lol.Parent = mo | |
1908 | ||
1909 | lol.Size = Vector3.new(1, math.random(30, 40), 1) * size | |
1910 | ||
1911 | w = Instance.new("Weld") | |
1912 | ||
1913 | w.Part0 = p | |
1914 | ||
1915 | w.Part1 = lol | |
1916 | ||
1917 | w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
1918 | ||
1919 | w.Parent = w.Part0 | |
1920 | ||
1921 | end | |
1922 | ||
1923 | p.Parent = mo | |
1924 | ||
1925 | w = Instance.new("Weld") | |
1926 | ||
1927 | w.Part0 = mo.Torso | |
1928 | ||
1929 | w.Part1 = p | |
1930 | ||
1931 | w.C0 = CFrame.new(-16 * (size / 2), -48 * (size / 2), 0) | |
1932 | ||
1933 | w.Parent = w.Part0 | |
1934 | ||
1935 | p = Instance.new("Seat") | |
1936 | ||
1937 | p.Shape = "Ball" | |
1938 | ||
1939 | p.Size = Vector3.new(21, 15, 21) * size | |
1940 | ||
1941 | p.BrickColor = color | |
1942 | ||
1943 | p.Name = "Legball" | |
1944 | ||
1945 | for i = 1, 10 do | |
1946 | ||
1947 | lol = Instance.new("Seat") | |
1948 | ||
1949 | lol.BrickColor = BrickColor:Black() | |
1950 | ||
1951 | lol.Name = "SEE?" | |
1952 | ||
1953 | lol.Parent = mo | |
1954 | ||
1955 | lol.Size = Vector3.new(1, math.random(30, 40), 1) * size | |
1956 | ||
1957 | w = Instance.new("Weld") | |
1958 | ||
1959 | w.Part0 = p | |
1960 | ||
1961 | w.Part1 = lol | |
1962 | ||
1963 | w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
1964 | ||
1965 | w.Parent = w.Part0 | |
1966 | ||
1967 | end | |
1968 | ||
1969 | p.Parent = mo | |
1970 | ||
1971 | w = Instance.new("Weld") | |
1972 | ||
1973 | w.Part0 = mo.Torso | |
1974 | ||
1975 | w.Part1 = p | |
1976 | ||
1977 | w.C0 = CFrame.new(0, 60 * (size / 2), 0) | |
1978 | ||
1979 | m = Instance.new("SpecialMesh") | |
1980 | ||
1981 | m.Parent = p | |
1982 | ||
1983 | p.Name = "Head" | |
1984 | ||
1985 | w.Parent = w.Part0 | |
1986 | ||
1987 | s = Instance.new("Sound") | |
1988 | ||
1989 | s.Parent = mo.Torso | |
1990 | ||
1991 | s.Volume = 100 | |
1992 | ||
1993 | s.Pitch = 1 | |
1994 | ||
1995 | s.SoundId = "http://www.roblox.com/asset/?id=149779810" | |
1996 | ||
1997 | s.Looped = true | |
1998 | ||
1999 | s:play() | |
2000 | ||
2001 | coroutine.resume(coroutine.create(function(Part) | |
2002 | ||
2003 | ||
2004 | ||
2005 | while Part.Parent ~= nil do | |
2006 | ||
2007 | wait(math.random()) | |
2008 | ||
2009 | so("http://www.roblox.com/asset/?id=148636758", Part, 100, 1) | |
2010 | ||
2011 | end | |
2012 | ||
2013 | end | |
2014 | ||
2015 | ), mo.Torso) | |
2016 | ||
2017 | mo.Torso.CFrame = mo.Torso.CFrame * Torso.CFrame * CFrame.new(0, 0, -50 * size) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0) | |
2018 | ||
2019 | mo.Torso.Velocity = mouse.Hit.lookVector * 400 | |
2020 | ||
2021 | coroutine.resume(coroutine.create(function(Part) | |
2022 | ||
2023 | ||
2024 | ||
2025 | while 1 do | |
2026 | ||
2027 | wait(math.random(0, 1) + math.random()) | |
2028 | ||
2029 | Part.RotVelocity = Vector3.new(math.random(-40, 40), math.random(-40, 40), math.random(-40, 40)) | |
2030 | ||
2031 | end | |
2032 | ||
2033 | end | |
2034 | ||
2035 | ), mo.Torso) | |
2036 | ||
2037 | end | |
2038 | ||
2039 | ||
2040 | ||
2041 | ob1u = function(mouse) | |
2042 | ||
2043 | ||
2044 | ||
2045 | end | |
2046 | ||
2047 | ||
2048 | ||
2049 | buttonhold = false | |
2050 | ||
2051 | key = function(key, mouse) | |
2052 | ||
2053 | ||
2054 | ||
2055 | end | |
2056 | ||
2057 | ||
2058 | ||
2059 | key2 = function(key, mouse) | |
2060 | ||
2061 | ||
2062 | ||
2063 | end | |
2064 | ||
2065 | ||
2066 | ||
2067 | s = function(mouse) | |
2068 | ||
2069 | ||
2070 | ||
2071 | mouse.Button1Down:connect(function() | |
2072 | ||
2073 | ||
2074 | ||
2075 | ob1d(mouse) | |
2076 | ||
2077 | end | |
2078 | ||
2079 | ) | |
2080 | ||
2081 | mouse.Button1Up:connect(function() | |
2082 | ||
2083 | ||
2084 | ||
2085 | ob1u(mouse) | |
2086 | ||
2087 | end | |
2088 | ||
2089 | ) | |
2090 | ||
2091 | mouse.KeyDown:connect(key) | |
2092 | ||
2093 | mouse.KeyUp:connect(key2) | |
2094 | ||
2095 | end | |
2096 | ||
2097 | ||
2098 | ||
2099 | ds = function(mouse) | |
2100 | ||
2101 | ||
2102 | ||
2103 | end | |
2104 | ||
2105 | ||
2106 | ||
2107 | Bin.Selected:connect(s) | |
2108 | ||
2109 | Bin.Deselected:connect(ds) | |
2110 | ||
2111 | end | |
2112 | ||
2113 | --[[ libgui xd ]]-- | |
2114 | ||
2115 | topkek.libgui.seperation = 12 | |
2116 | ||
2117 | function topkek.libgui:addLeftIcon(parent, img, sz) | |
2118 | ||
2119 | topkek.libutil:createObject('ImageLabel', { | |
2120 | ||
2121 | Parent = parent; | |
2122 | ||
2123 | BackgroundTransparency = 1; | |
2124 | ||
2125 | Position = UDim2.new(0, 2, 0, 0); | |
2126 | ||
2127 | Size = UDim2.new(0, sz, 0, sz); | |
2128 | ||
2129 | Image = img; | |
2130 | ||
2131 | }) | |
2132 | ||
2133 | end | |
2134 | ||
2135 | function topkek.libgui:hookContainer(o, sepr, stt) | |
2136 | ||
2137 | if not o:IsA("ScrollingFrame") then | |
2138 | ||
2139 | return nil | |
2140 | ||
2141 | end | |
2142 | ||
2143 | ||
2144 | ||
2145 | local self = {} | |
2146 | ||
2147 | self.main = o | |
2148 | ||
2149 | self.drawX = 0 | |
2150 | ||
2151 | self.drawY = stt or topkek.libgui.seperation/2 | |
2152 | ||
2153 | self.drawHeight = 0 | |
2154 | ||
2155 | self.sepr = sepr or topkek.libgui.seperation | |
2156 | ||
2157 | ||
2158 | ||
2159 | function self:drawButton(sz, txt, func, ysz, cbgd) | |
2160 | ||
2161 | local xposOffset = 0 | |
2162 | ||
2163 | local xposScale = self.drawX | |
2164 | ||
2165 | local xszOffset = 0 | |
2166 | ||
2167 | local xszScale = sz | |
2168 | ||
2169 | if not (self.drawX == 0) then | |
2170 | ||
2171 | xszOffset = -4 | |
2172 | ||
2173 | if sz + self.drawX > 0.998 then | |
2174 | ||
2175 | xszOffset = -11 | |
2176 | ||
2177 | end | |
2178 | ||
2179 | elseif sz == 1 then | |
2180 | ||
2181 | xszOffset = -(self.sepr) - 5 | |
2182 | ||
2183 | xposOffset = self.sepr/2 | |
2184 | ||
2185 | else | |
2186 | ||
2187 | xszOffset = -4 + -(self.sepr/2) | |
2188 | ||
2189 | xposOffset = self.sepr/2 | |
2190 | ||
2191 | end | |
2192 | ||
2193 | if not ysz then ysz = 20 end | |
2194 | ||
2195 | local obj = topkek.libutil:createObject("TextButton", { | |
2196 | ||
2197 | Parent = self.main; | |
2198 | ||
2199 | BackgroundColor3 = cbgd or color3(15, 23, 30); | |
2200 | ||
2201 | BorderColor3 = color3(27, 42, 53); | |
2202 | ||
2203 | Position = UDim2.new(xposScale, xposOffset, 0, self.drawY); | |
2204 | ||
2205 | Size = UDim2.new(xszScale, xszOffset, 0, ysz); | |
2206 | ||
2207 | Font = 'SourceSans'; | |
2208 | ||
2209 | FontSize = 'Size14'; | |
2210 | ||
2211 | Text = txt; | |
2212 | ||
2213 | TextSize = 14; | |
2214 | ||
2215 | TextColor3 = color3(199, 199, 199); | |
2216 | ||
2217 | TextStrokeTransparency = 0.5; | |
2218 | ||
2219 | }) | |
2220 | ||
2221 | obj.MouseButton1Down:connect(function() | |
2222 | ||
2223 | func() | |
2224 | ||
2225 | end) | |
2226 | ||
2227 | if ysz > self.drawHeight then | |
2228 | ||
2229 | self.drawHeight = ysz | |
2230 | ||
2231 | end | |
2232 | ||
2233 | self.drawX = self.drawX + sz | |
2234 | ||
2235 | if self.drawX > 0.998 then | |
2236 | ||
2237 | self.drawY = self.drawY + 3 + self.drawHeight | |
2238 | ||
2239 | self.drawX = 0 | |
2240 | ||
2241 | self.drawHeight = 0 | |
2242 | ||
2243 | self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5) | |
2244 | ||
2245 | end | |
2246 | ||
2247 | return obj | |
2248 | ||
2249 | end | |
2250 | ||
2251 | ||
2252 | ||
2253 | function self:GetChildren() | |
2254 | ||
2255 | return self.main:GetChildren() | |
2256 | ||
2257 | end | |
2258 | ||
2259 | ||
2260 | ||
2261 | function self:getDrawY() | |
2262 | ||
2263 | return self.drawY | |
2264 | ||
2265 | end | |
2266 | ||
2267 | ||
2268 | ||
2269 | function self:setDrawY(y) | |
2270 | ||
2271 | self.drawY = y | |
2272 | ||
2273 | end | |
2274 | ||
2275 | ||
2276 | ||
2277 | function self:drawTextBox(sz, txt, ysz, cbgd) | |
2278 | ||
2279 | local xposOffset = 0 | |
2280 | ||
2281 | local xposScale = self.drawX | |
2282 | ||
2283 | local xszOffset = 0 | |
2284 | ||
2285 | local xszScale = sz | |
2286 | ||
2287 | if not (self.drawX == 0) then | |
2288 | ||
2289 | xszOffset = -4 | |
2290 | ||
2291 | if sz + self.drawX > 0.998 then | |
2292 | ||
2293 | xszOffset = -11 | |
2294 | ||
2295 | end | |
2296 | ||
2297 | elseif sz == 1 then | |
2298 | ||
2299 | xszOffset = -(self.sepr) - 5 | |
2300 | ||
2301 | xposOffset = self.sepr/2 | |
2302 | ||
2303 | else | |
2304 | ||
2305 | xszOffset = -4 + -(self.sepr/2) | |
2306 | ||
2307 | xposOffset = self.sepr/2 | |
2308 | ||
2309 | end | |
2310 | ||
2311 | if not ysz then ysz = 20 end | |
2312 | ||
2313 | local obj = topkek.libutil:createObject("TextBox", { | |
2314 | ||
2315 | Parent = self.main; | |
2316 | ||
2317 | BackgroundColor3 = cbgd or color3(5, 8, 11); | |
2318 | ||
2319 | BorderColor3 = color3(27, 42, 53); | |
2320 | ||
2321 | Position = UDim2.new(xposScale, xposOffset, 0, self.drawY); | |
2322 | ||
2323 | Size = UDim2.new(xszScale, xszOffset, 0, ysz); | |
2324 | ||
2325 | Font = 'SourceSans'; | |
2326 | ||
2327 | FontSize = 'Size14'; | |
2328 | ||
2329 | Text = txt; | |
2330 | ||
2331 | TextSize = 14; | |
2332 | ||
2333 | TextColor3 = color3(199, 199, 199); | |
2334 | ||
2335 | }) | |
2336 | ||
2337 | if ysz > self.drawHeight then | |
2338 | ||
2339 | self.drawHeight = ysz | |
2340 | ||
2341 | end | |
2342 | ||
2343 | self.drawX = self.drawX + sz | |
2344 | ||
2345 | if self.drawX > 0.998 then | |
2346 | ||
2347 | self.drawY = self.drawY + 3 + self.drawHeight | |
2348 | ||
2349 | self.drawX = 0 | |
2350 | ||
2351 | self.drawHeight = 0 | |
2352 | ||
2353 | self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5) | |
2354 | ||
2355 | end | |
2356 | ||
2357 | return obj | |
2358 | ||
2359 | end | |
2360 | ||
2361 | ||
2362 | ||
2363 | function self:drawScrollingContainer(ysz) | |
2364 | ||
2365 | local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz) | |
2366 | ||
2367 | local pos = UDim2.new(0, self.sepr/2, 0, self.drawY) | |
2368 | ||
2369 | local obj = topkek.libutil:createObject("ScrollingFrame", { | |
2370 | ||
2371 | Parent = self.main; | |
2372 | ||
2373 | BackgroundColor3 = color3(7, 11, 15); | |
2374 | ||
2375 | BorderColor3 = color3(27, 42, 53); | |
2376 | ||
2377 | Position = pos; | |
2378 | ||
2379 | Size = sz; | |
2380 | ||
2381 | BottomImage = 'rbxassetid://573102620'; | |
2382 | ||
2383 | MidImage = 'rbxassetid://573102620'; | |
2384 | ||
2385 | TopImage = 'rbxassetid://573102620'; | |
2386 | ||
2387 | ScrollBarThickness = 5; | |
2388 | ||
2389 | }) | |
2390 | ||
2391 | self.drawY = self.drawY + 5 + ysz | |
2392 | ||
2393 | self.drawX = 0 | |
2394 | ||
2395 | self.drawHeight = 0 | |
2396 | ||
2397 | self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5) | |
2398 | ||
2399 | return topkek.libgui:hookContainer(obj, 12, 5) | |
2400 | ||
2401 | end | |
2402 | ||
2403 | -- THIS IS FUCKING BAIT OKAY, THIS IS JUST TOPK3K 3.0 BUT EDITED TO SAY 4.0. LOL | |
2404 | ||
2405 | function self:drawContainer(xsz, ysz) | |
2406 | ||
2407 | local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz) | |
2408 | ||
2409 | local pos = UDim2.new(0, self.sepr/2, 0, self.drawY) | |
2410 | ||
2411 | local obj = topkek.libutil:createObject("ScrollingFrame", { | |
2412 | ||
2413 | Parent = self.main; | |
2414 | ||
2415 | BackgroundTransparency = 1; | |
2416 | ||
2417 | Position = pos; | |
2418 | ||
2419 | Size = sz; | |
2420 | ||
2421 | }) | |
2422 | ||
2423 | self.drawY = self.drawY + 5 + ysz | |
2424 | ||
2425 | self.drawX = 0 | |
2426 | ||
2427 | self.drawHeight = 0 | |
2428 | ||
2429 | self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5) | |
2430 | ||
2431 | return topkek.libgui:hookContainer(obj, 12, 5) | |
2432 | ||
2433 | end | |
2434 | ||
2435 | ||
2436 | ||
2437 | function self:addSpacing() | |
2438 | ||
2439 | self.drawY = self.drawY + 3 | |
2440 | ||
2441 | end | |
2442 | ||
2443 | ||
2444 | ||
2445 | function self:center() | |
2446 | ||
2447 | local a,c,b= | |
2448 | ||
2449 | self.main.Position.X.Scale, | |
2450 | ||
2451 | self.main.Position.X.Offset,self.main.Size.Y.Offset | |
2452 | ||
2453 | self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2)) | |
2454 | ||
2455 | end | |
2456 | ||
2457 | ||
2458 | ||
2459 | return self | |
2460 | ||
2461 | end | |
2462 | ||
2463 | ||
2464 | ||
2465 | --[[ windows ]]-- | |
2466 | ||
2467 | topkek.libwindows.windows = {} | |
2468 | ||
2469 | function topkek.libwindows:registerWindow(w) | |
2470 | ||
2471 | table.insert(topkek.libwindows.windows, w) | |
2472 | ||
2473 | end | |
2474 | ||
2475 | function topkek.libwindows:switchWindow(w, x) | |
2476 | ||
2477 | for _, k in pairs(topkek.libwindows.windows) do | |
2478 | ||
2479 | if k.Name == w then | |
2480 | ||
2481 | k.Visible = true | |
2482 | ||
2483 | else | |
2484 | ||
2485 | k.Visible = false | |
2486 | ||
2487 | end | |
2488 | ||
2489 | end | |
2490 | ||
2491 | if w == 'HomeContainer' then | |
2492 | ||
2493 | base.Navigator.Visible = false | |
2494 | ||
2495 | else | |
2496 | ||
2497 | base.Navigator.Visible = true | |
2498 | ||
2499 | end | |
2500 | ||
2501 | base.Top.Location.Text = x | |
2502 | ||
2503 | end | |
2504 | ||
2505 | function topkek.libwindows:initiateNavigator() | |
2506 | ||
2507 | local nav = base.Navigator | |
2508 | ||
2509 | local template = nav.Item:Clone(); nav.Item:Destroy(); | |
2510 | ||
2511 | local wins = topkek.libsettings:getSetting('windows') | |
2512 | ||
2513 | local y = 5 | |
2514 | ||
2515 | for _, k in pairs(wins) do | |
2516 | ||
2517 | local o = template:Clone() | |
2518 | ||
2519 | o.Parent = nav | |
2520 | ||
2521 | o.Position = UDim2.new(0, 5, 0, y) | |
2522 | ||
2523 | o.Text = k | |
2524 | ||
2525 | o.MouseButton1Down:connect(function() | |
2526 | ||
2527 | topkek.libwindows:switchWindow(k .. 'Container', k) | |
2528 | ||
2529 | end) | |
2530 | ||
2531 | y = y + 25 | |
2532 | ||
2533 | end | |
2534 | ||
2535 | nav.CanvasSize = UDim2.new(0, 0, 0, y) | |
2536 | ||
2537 | end | |
2538 | ||
2539 | function topkek.libwindows:initiateHome() | |
2540 | ||
2541 | local home = base.HomeContainer | |
2542 | ||
2543 | home.LocalPlayer.Mask.MouseButton1Down:connect(function() | |
2544 | ||
2545 | topkek.libwindows:switchWindow('LocalPlayerContainer', 'LocalPlayer') | |
2546 | ||
2547 | end) | |
2548 | ||
2549 | home.Server.Mask.MouseButton1Down:connect(function() | |
2550 | ||
2551 | topkek.libwindows:switchWindow('ServerContainer', 'Server') | |
2552 | ||
2553 | end) | |
2554 | ||
2555 | home.Scripts.Mask.MouseButton1Down:connect(function() | |
2556 | ||
2557 | topkek.libwindows:switchWindow('ScriptsContainer', 'Scripts') | |
2558 | ||
2559 | end) | |
2560 | ||
2561 | home.Miscellaneous.Mask.MouseButton1Down:connect(function() | |
2562 | ||
2563 | topkek.libwindows:switchWindow('MiscellaneousContainer', 'Miscellaneous') | |
2564 | ||
2565 | end) | |
2566 | ||
2567 | home.Players.Mask.MouseButton1Down:connect(function() | |
2568 | ||
2569 | topkek.libwindows:switchWindow('PlayersContainer', 'Players') | |
2570 | ||
2571 | end) | |
2572 | ||
2573 | home.Settings.Mask.MouseButton1Down:connect(function() | |
2574 | ||
2575 | topkek.libwindows:switchWindow('SettingsContainer', 'Settings') | |
2576 | ||
2577 | end) | |
2578 | ||
2579 | end | |
2580 | ||
2581 | --[[ defines ]]-- | |
2582 | ||
2583 | topkek.libsettings:setSetting('version', '1.0.0') | |
2584 | ||
2585 | topkek.libsettings:setSetting('bans', {}) | |
2586 | ||
2587 | topkek.libsettings:setSetting('admins', {}) | |
2588 | ||
2589 | topkek.libsettings:setSetting('windows', { | |
2590 | ||
2591 | 'Home'; | |
2592 | ||
2593 | 'Server'; | |
2594 | ||
2595 | 'LocalPlayer'; | |
2596 | ||
2597 | 'Players'; | |
2598 | ||
2599 | 'Scripts'; | |
2600 | ||
2601 | 'Miscellaneous'; | |
2602 | ||
2603 | 'Settings'; | |
2604 | ||
2605 | 'Explorer'; | |
2606 | ||
2607 | 'Gear'; | |
2608 | ||
2609 | 'Hats'; | |
2610 | ||
2611 | 'Music'; | |
2612 | ||
2613 | 'Effects'; | |
2614 | ||
2615 | 'Filtering'; | |
2616 | ||
2617 | 'Commands'; | |
2618 | ||
2619 | }) | |
2620 | ||
2621 | topkek.libsettings:setSetting('misc', { | |
2622 | ||
2623 | 'Explorer'; | |
2624 | ||
2625 | 'Gear'; | |
2626 | ||
2627 | 'Hats'; | |
2628 | ||
2629 | 'Music'; | |
2630 | ||
2631 | 'Effects'; | |
2632 | ||
2633 | 'Filtering'; | |
2634 | ||
2635 | 'Commands'; | |
2636 | ||
2637 | }) | |
2638 | ||
2639 | topkek.store.gui = ScreenGui; gui = topkek.store.gui -- change later | |
2640 | ||
2641 | topkek.store.base = topkek.store.gui['Base']; base = topkek.store.base | |
2642 | ||
2643 | -- [[ server ]] -- | |
2644 | ||
2645 | --sz, txt, func, ysz, cbgd | |
2646 | ||
2647 | local servwin = topkek.libgui:hookContainer(base['ServerContainer']) | |
2648 | ||
2649 | local decalList, decalImp = servwin:drawScrollingContainer(100) | |
2650 | ||
2651 | local decalAct = servwin:drawButton(2/3,'Spam Decal',function() | |
2652 | ||
2653 | topkek.libutil:recurseDecal(decalImp.Text)end) | |
2654 | ||
2655 | decalImp = servwin:drawTextBox(1/3,'573896613') | |
2656 | ||
2657 | servwin:drawButton(1,'Rollback Spam',function() | |
2658 | ||
2659 | topkek.libutil:recurseRemove('ParticleEmitter') | |
2660 | ||
2661 | topkek.libutil:recurseRemove('Decal') | |
2662 | ||
2663 | end) | |
2664 | ||
2665 | local decs = { | |
2666 | ||
2667 | {'Cerberus', '573896613'}, | |
2668 | ||
2669 | {'Rain', '574772793'}, | |
2670 | ||
2671 | {'Robbie', '574773630'}, | |
2672 | ||
2673 | {'Pepe', '244905904'}, | |
2674 | ||
2675 | {'Troll Face', '48308661'}, | |
2676 | ||
2677 | {'Jeff', '109129888'}, | |
2678 | ||
2679 | {'Shrek', '170539018'}, | |
2680 | ||
2681 | {'Doge', '133720697'}, | |
2682 | ||
2683 | {'Dat Boi', '409578848'}, | |
2684 | ||
2685 | } | |
2686 | ||
2687 | for _, v in pairs(decs) do | |
2688 | ||
2689 | local b = decalList:drawButton(1, v[1], function()decalImp.Text=v[2]end,20,color3(5,8,11)) | |
2690 | ||
2691 | topkek.libgui:addLeftIcon(b,'rbxassetid://'..v[2],20) | |
2692 | ||
2693 | end | |
2694 | ||
2695 | servwin:addSpacing() | |
2696 | ||
2697 | -- [[lighting]] -- | |
2698 | ||
2699 | -- <<time>> -- | |
2700 | ||
2701 | local timeInp | |
2702 | ||
2703 | servwin:drawButton(2/3,'Set Time',function() | |
2704 | ||
2705 | game:GetService('Lighting').TimeOfDay = timeImp.Text .. ":00:00" | |
2706 | ||
2707 | end) | |
2708 | ||
2709 | timeImp = servwin:drawTextBox(1/3,'14') | |
2710 | ||
2711 | -- <<fog> -- | |
2712 | ||
2713 | local fogInp | |
2714 | ||
2715 | servwin:drawButton(2/3,'Set FogEnd',function() | |
2716 | ||
2717 | if not tonumber(fogInp.Text) then return end | |
2718 | ||
2719 | game:GetService('Lighting').FogEnd = tonumber(fogInp.Text) | |
2720 | ||
2721 | end) | |
2722 | ||
2723 | fogInp = servwin:drawTextBox(1/3,'100000') | |
2724 | ||
2725 | -- <<brightness>> -- | |
2726 | ||
2727 | local brightInp | |
2728 | ||
2729 | servwin:drawButton(2/3,'Set Brightness',function() | |
2730 | ||
2731 | if not tonumber(brightInp.Text) then return end | |
2732 | ||
2733 | game:GetService('Lighting').Brightness = tonumber(brightInp.Text) | |
2734 | ||
2735 | end) | |
2736 | ||
2737 | brightInp = servwin:drawTextBox(1/3,'1') | |
2738 | ||
2739 | -- <<reset>> -- | |
2740 | ||
2741 | servwin:drawButton(1,'Reset Lighting',function() | |
2742 | ||
2743 | local l = game:service'Lighting' | |
2744 | ||
2745 | l.Ambient = Color3.new(0, 0, 0) | |
2746 | ||
2747 | l.Brightness = 1 | |
2748 | ||
2749 | l.GlobalShadows = true | |
2750 | ||
2751 | l.Outlines = true | |
2752 | ||
2753 | l.FogEnd = 100000 | |
2754 | ||
2755 | l.FogStart = 0 | |
2756 | ||
2757 | l:SetMinutesAfterMidnight(12*60) | |
2758 | ||
2759 | end) | |
2760 | ||
2761 | -- [[ fixing ]] -- | |
2762 | ||
2763 | servwin:addSpacing() | |
2764 | ||
2765 | servwin:drawButton(1/2,'Clear Server',function() | |
2766 | ||
2767 | for i,v in pairs(game:service'Workspace':GetChildren()) do | |
2768 | ||
2769 | if (not v:IsA("Terrain"))and(v.Name~="Camera") then | |
2770 | ||
2771 | v:Destroy() | |
2772 | ||
2773 | end | |
2774 | ||
2775 | end | |
2776 | ||
2777 | end) | |
2778 | ||
2779 | servwin:drawButton(1/2,'Shutdown',function() | |
2780 | ||
2781 | for i,v in pairs(game:GetService('Players')) do | |
2782 | ||
2783 | v.Parent = nil | |
2784 | ||
2785 | end | |
2786 | ||
2787 | end) | |
2788 | ||
2789 | servwin:drawButton(1/2,'Remove Sound',function() | |
2790 | ||
2791 | topkek.libutil:recurseRemove('Sound') | |
2792 | ||
2793 | end) | |
2794 | ||
2795 | servwin:drawButton(1/2,'Baseplate',function() | |
2796 | ||
2797 | for X = -2500, 2500, 512 do | |
2798 | ||
2799 | for Z = -2500, 2500, 512 do | |
2800 | ||
2801 | local P = Instance.new("Part") | |
2802 | ||
2803 | P.Anchored = true | |
2804 | ||
2805 | P.Locked = true | |
2806 | ||
2807 | P.Size = Vector3.new(512,3,512) | |
2808 | ||
2809 | P.CFrame = CFrame.new(X,0,Z) | |
2810 | ||
2811 | P.BrickColor = BrickColor.Green() | |
2812 | ||
2813 | P.Parent = game:service'Workspace' | |
2814 | ||
2815 | end | |
2816 | ||
2817 | end | |
2818 | ||
2819 | end) | |
2820 | ||
2821 | --[[ destruction ]]-- | |
2822 | ||
2823 | servwin:addSpacing() | |
2824 | ||
2825 | servwin:drawButton(1/2,'Clear Terrain',function() | |
2826 | ||
2827 | game:service'Workspace'.Terrain:Clear() | |
2828 | ||
2829 | end) | |
2830 | ||
2831 | servwin:drawButton(1/2,'Flood',function() | |
2832 | ||
2833 | game:service'Workspace'.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") | |
2834 | ||
2835 | end) | |
2836 | ||
2837 | servwin:drawButton(1/2,'Reflectancy',function() | |
2838 | ||
2839 | topkek.libutil:recurseSet('BasePart','Reflectance',1) | |
2840 | ||
2841 | end) | |
2842 | ||
2843 | servwin:drawButton(1/2,'Transparency',function() | |
2844 | ||
2845 | topkek.libutil:recurseSet('BasePart','Transparency',1) | |
2846 | ||
2847 | end) | |
2848 | ||
2849 | servwin:drawButton(1/2,'666',function() | |
2850 | ||
2851 | for i,v in next,workspace:children''do | |
2852 | ||
2853 | if(v:IsA'BasePart')then | |
2854 | ||
2855 | me=v; | |
2856 | ||
2857 | bbg=Instance.new('BillboardGui',me); | |
2858 | ||
2859 | bbg.Name='stuf'; | |
2860 | ||
2861 | bbg.Adornee=me; | |
2862 | ||
2863 | bbg.Size=UDim2.new(2.5,0,2.5,0) | |
2864 | ||
2865 | --bbg.StudsOffset=Vector3.new(0,2,0) | |
2866 | ||
2867 | tlb=Instance.new'TextLabel'; | |
2868 | ||
2869 | tlb.Text='666 666 666 666 666 666'; | |
2870 | ||
2871 | tlb.Font='SourceSansBold'; | |
2872 | ||
2873 | tlb.FontSize='Size48'; | |
2874 | ||
2875 | tlb.TextColor3=Color3.new(1,0,0); | |
2876 | ||
2877 | tlb.Size=UDim2.new(1.25,0,1.25,0); | |
2878 | ||
2879 | tlb.Position=UDim2.new(-0.125,-22,-1.1,0); | |
2880 | ||
2881 | tlb.BackgroundTransparency=1; | |
2882 | ||
2883 | tlb.Parent=bbg; | |
2884 | ||
2885 | end;end; | |
2886 | ||
2887 | --coroutine.wrap(function()while wait''do | |
2888 | ||
2889 | s=Instance.new'Sound'; | |
2890 | ||
2891 | s.Parent=workspace; | |
2892 | ||
2893 | s.SoundId='rbxassetid://152840862'; | |
2894 | ||
2895 | s.Pitch=1; | |
2896 | ||
2897 | s.Volume=1; | |
2898 | ||
2899 | s.Looped=true; | |
2900 | ||
2901 | s:play(); | |
2902 | ||
2903 | --end;end)(); | |
2904 | ||
2905 | function xds(dd) | |
2906 | ||
2907 | for i,v in next,dd:children''do | |
2908 | ||
2909 | if(v:IsA'BasePart')then | |
2910 | ||
2911 | v.BrickColor=BrickColor.new'Really black'; | |
2912 | ||
2913 | v.TopSurface='Smooth'; | |
2914 | ||
2915 | v.BottomSurface='Smooth'; | |
2916 | ||
2917 | s=Instance.new('SelectionBox',v); | |
2918 | ||
2919 | s.Adornee=v; | |
2920 | ||
2921 | s.Color=BrickColor.new'Really red'; | |
2922 | ||
2923 | a=Instance.new('PointLight',v); | |
2924 | ||
2925 | a.Color=Color3.new(1,0,0); | |
2926 | ||
2927 | a.Range=15; | |
2928 | ||
2929 | a.Brightness=5; | |
2930 | ||
2931 | f=Instance.new('Fire',v); | |
2932 | ||
2933 | f.Size=19; | |
2934 | ||
2935 | f.Heat=22; | |
2936 | ||
2937 | end; | |
2938 | ||
2939 | game.Lighting.TimeOfDay=0; | |
2940 | ||
2941 | game.Lighting.Brightness=0; | |
2942 | ||
2943 | game.Lighting.ShadowColor=Color3.new(0,0,0); | |
2944 | ||
2945 | game.Lighting.Ambient=Color3.new(1,0,0); | |
2946 | ||
2947 | game.Lighting.FogEnd=200; | |
2948 | ||
2949 | game.Lighting.FogColor=Color3.new(0,0,0); | |
2950 | ||
2951 | local dec = 'http://www.roblox.com/asset/?id=19399245'; | |
2952 | ||
2953 | local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'} | |
2954 | ||
2955 | --coroutine.wrap(function() | |
2956 | ||
2957 | --for _,__ in pairs(fac) do | |
2958 | ||
2959 | --local ddec = Instance.new("Decal", v) | |
2960 | ||
2961 | --ddec.Face = __ | |
2962 | ||
2963 | --ddec.Texture = dec | |
2964 | ||
2965 | --end end)() | |
2966 | ||
2967 | if #(v:GetChildren())>0 then | |
2968 | ||
2969 | xds(v) | |
2970 | ||
2971 | end | |
2972 | ||
2973 | end | |
2974 | ||
2975 | end | |
2976 | ||
2977 | xds(game.Workspace) | |
2978 | ||
2979 | end) | |
2980 | ||
2981 | servwin:drawButton(1/2,'Troll',function() | |
2982 | ||
2983 | topkek.libutil:recurseDecal('48308661') | |
2984 | ||
2985 | topkek.libutil:Play(154664102) | |
2986 | ||
2987 | end) | |
2988 | ||
2989 | servwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked | |
2990 | ||
2991 | local materiallist = | |
2992 | ||
2993 | {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal, | |
2994 | ||
2995 | Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass, | |
2996 | ||
2997 | Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick, | |
2998 | ||
2999 | Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand, | |
3000 | ||
3001 | Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone} | |
3002 | ||
3003 | local function r(where) | |
3004 | ||
3005 | for _,v in pairs (where:GetChildren()) do | |
3006 | ||
3007 | if v:IsA("BasePart") then | |
3008 | ||
3009 | spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace) | |
3010 | ||
3011 | end) | |
3012 | ||
3013 | servwin:drawButton(1/2,'Materialize',function() | |
3014 | ||
3015 | local function r(where) | |
3016 | ||
3017 | for _,v in pairs (where:GetChildren()) do | |
3018 | ||
3019 | if v:IsA("BasePart") then | |
3020 | ||
3021 | spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace) | |
3022 | ||
3023 | end) | |
3024 | ||
3025 | servwin:drawButton(1/2,'Meshify',function() | |
3026 | ||
3027 | local enums={ | |
3028 | ||
3029 | Enum.MeshType.Head; | |
3030 | ||
3031 | Enum.MeshType.Torso; | |
3032 | ||
3033 | Enum.MeshType.Wedge; | |
3034 | ||
3035 | Enum.MeshType.Brick; | |
3036 | ||
3037 | Enum.MeshType.Sphere; | |
3038 | ||
3039 | Enum.MeshType.Cylinder; | |
3040 | ||
3041 | } | |
3042 | ||
3043 | topkek.libutil:recurseFunc('BasePart',function(o) | |
3044 | ||
3045 | local mesh = Instance.new('SpecialMesh', o) | |
3046 | ||
3047 | mesh.MeshType = enums[math.random(1,#enums)] | |
3048 | ||
3049 | end) | |
3050 | ||
3051 | end) | |
3052 | ||
3053 | servwin:drawButton(1/2,'Loop-Meshify',function() | |
3054 | ||
3055 | coroutine.wrap(function() | |
3056 | ||
3057 | while true do | |
3058 | ||
3059 | local enums={ | |
3060 | ||
3061 | Enum.MeshType.Head; | |
3062 | ||
3063 | Enum.MeshType.Torso; | |
3064 | ||
3065 | Enum.MeshType.Wedge; | |
3066 | ||
3067 | Enum.MeshType.Brick; | |
3068 | ||
3069 | Enum.MeshType.Sphere; | |
3070 | ||
3071 | Enum.MeshType.Cylinder; | |
3072 | ||
3073 | } | |
3074 | ||
3075 | topkek.libutil:recurseFunc('BasePart',function(o) | |
3076 | ||
3077 | if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end | |
3078 | ||
3079 | local mesh = Instance.new('SpecialMesh', o) | |
3080 | ||
3081 | mesh.MeshType = enums[math.random(1,#enums)] | |
3082 | ||
3083 | end) | |
3084 | ||
3085 | wait(0.5) | |
3086 | ||
3087 | end | |
3088 | ||
3089 | end)() | |
3090 | ||
3091 | end) | |
3092 | ||
3093 | --<<<< END OF SERVER MENU >>>>-- | |
3094 | ||
3095 | plrwin = topkek.libgui:hookContainer(base['PlayersContainer']) | |
3096 | ||
3097 | local plrDrop = plrwin:drawButton(1,'test-dropdown',function()end) | |
3098 | ||
3099 | plrDrop = dropdown.new(plrDrop,topkek.libutil:GetPlayerList(),'Everybody') | |
3100 | ||
3101 | game:GetService('Players').PlayerAdded:connect(function() | |
3102 | ||
3103 | plrDrop.update(topkek.libutil:GetPlayerList()) | |
3104 | ||
3105 | end) | |
3106 | ||
3107 | game:GetService('Players').PlayerRemoving:connect(function() | |
3108 | ||
3109 | plrDrop.update(topkek.libutil:GetPlayerList()) | |
3110 | ||
3111 | end) | |
3112 | ||
3113 | plrwin:addSpacing() | |
3114 | ||
3115 | local actions = plrwin --plrwin:drawScrollingContainer(163) [[lole]] | |
3116 | ||
3117 | actions:drawButton(1/3, 'Kill', function() | |
3118 | ||
3119 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3120 | ||
3121 | if z.Character:FindFirstChild('Humanoid') then | |
3122 | ||
3123 | z.Character.Humanoid.Health = 0 | |
3124 | ||
3125 | end | |
3126 | ||
3127 | end) | |
3128 | ||
3129 | end) | |
3130 | ||
3131 | actions:drawButton(1/3, 'Freeze', function() | |
3132 | ||
3133 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3134 | ||
3135 | if z.Character:FindFirstChild('Humanoid') then | |
3136 | ||
3137 | topkek.libutil:getTorso(z).Anchored = true | |
3138 | ||
3139 | end | |
3140 | ||
3141 | end) | |
3142 | ||
3143 | end) | |
3144 | ||
3145 | actions:drawButton(1/3, 'Thaw', function() | |
3146 | ||
3147 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3148 | ||
3149 | if z.Character:FindFirstChild('Humanoid') then | |
3150 | ||
3151 | topkek.libutil:getTorso(z).Anchored = false | |
3152 | ||
3153 | end | |
3154 | ||
3155 | end) | |
3156 | ||
3157 | end) | |
3158 | ||
3159 | actions:drawButton(1/3, 'Fire', function() | |
3160 | ||
3161 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3162 | ||
3163 | if z.Character then | |
3164 | ||
3165 | Instance.new("Fire", topkek.libutil:getTorso(z)) | |
3166 | ||
3167 | end | |
3168 | ||
3169 | end) | |
3170 | ||
3171 | end) | |
3172 | ||
3173 | actions:drawButton(1/3, 'Sparkles', function() | |
3174 | ||
3175 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3176 | ||
3177 | if z.Character then | |
3178 | ||
3179 | Instance.new("Sparkles", topkek.libutil:getTorso(z)) | |
3180 | ||
3181 | end | |
3182 | ||
3183 | end) | |
3184 | ||
3185 | end) | |
3186 | ||
3187 | actions:drawButton(1/3, 'Smoke', function() | |
3188 | ||
3189 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3190 | ||
3191 | if z.Character then | |
3192 | ||
3193 | Instance.new("Smoke", topkek.libutil:getTorso(z)) | |
3194 | ||
3195 | end | |
3196 | ||
3197 | end) | |
3198 | ||
3199 | end) | |
3200 | ||
3201 | actions:drawButton(1/3, 'BTools', function() | |
3202 | ||
3203 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3204 | ||
3205 | local a = Instance.new("HopperBin") | |
3206 | ||
3207 | a.BinType = "GameTool" | |
3208 | ||
3209 | a.Parent = z.Backpack | |
3210 | ||
3211 | local a = Instance.new("HopperBin") | |
3212 | ||
3213 | a.BinType = "Clone" | |
3214 | ||
3215 | a.Parent = z.Backpack | |
3216 | ||
3217 | local a = Instance.new("HopperBin") | |
3218 | ||
3219 | a.BinType = "Hammer" | |
3220 | ||
3221 | a.Parent = z.Backpack | |
3222 | ||
3223 | end) | |
3224 | ||
3225 | end) | |
3226 | ||
3227 | actions:drawButton(1/3, 'Kick', function() | |
3228 | ||
3229 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3230 | ||
3231 | local function doKick() | |
3232 | ||
3233 | if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then | |
3234 | ||
3235 | z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000) | |
3236 | ||
3237 | local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1 | |
3238 | ||
3239 | spawn(function() | |
3240 | ||
3241 | repeat wait() | |
3242 | ||
3243 | if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then | |
3244 | ||
3245 | SP.Position = z.Character.HumanoidRootPart.Position | |
3246 | ||
3247 | end | |
3248 | ||
3249 | until not game:GetService('Players'):FindFirstChild(z.Name) | |
3250 | ||
3251 | end) | |
3252 | ||
3253 | z.Character.Torso.Anchored = true | |
3254 | ||
3255 | end | |
3256 | ||
3257 | end | |
3258 | ||
3259 | repeat | |
3260 | ||
3261 | doKick() | |
3262 | ||
3263 | wait() | |
3264 | ||
3265 | until not z | |
3266 | ||
3267 | end) | |
3268 | ||
3269 | end) | |
3270 | ||
3271 | actions:drawButton(1/3, 'Nil', function() | |
3272 | ||
3273 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3274 | ||
3275 | z.Parent = nil | |
3276 | ||
3277 | end) | |
3278 | ||
3279 | end) | |
3280 | ||
3281 | actions:drawButton(1/3, 'Bring', function() | |
3282 | ||
3283 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3284 | ||
3285 | if z.Character then | |
3286 | ||
3287 | z.Character.HumanoidRootPart.CFrame = | |
3288 | ||
3289 | game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1) | |
3290 | ||
3291 | end | |
3292 | ||
3293 | end) | |
3294 | ||
3295 | end) | |
3296 | ||
3297 | actions:drawButton(1/3, 'Goto', function() | |
3298 | ||
3299 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3300 | ||
3301 | if z.Character then | |
3302 | ||
3303 | game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = | |
3304 | ||
3305 | z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1) | |
3306 | ||
3307 | end | |
3308 | ||
3309 | end) | |
3310 | ||
3311 | end) | |
3312 | ||
3313 | actions:drawButton(1/3, 'Freefall', function() | |
3314 | ||
3315 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3316 | ||
3317 | if z.Character then | |
3318 | ||
3319 | z.Character.HumanoidRootPart.CFrame = z.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0) | |
3320 | ||
3321 | end | |
3322 | ||
3323 | end) | |
3324 | ||
3325 | end) | |
3326 | ||
3327 | actions:drawButton(1/3, 'Sword', function() | |
3328 | ||
3329 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3330 | ||
3331 | insert(125013769).Parent = z.Backpack | |
3332 | ||
3333 | end) | |
3334 | ||
3335 | end) | |
3336 | ||
3337 | actions:drawButton(1/3, 'Guns', function() | |
3338 | ||
3339 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3340 | ||
3341 | insert(130113146).Parent = z.Backpack | |
3342 | ||
3343 | insert(67747912).Parent = z.Backpack | |
3344 | ||
3345 | insert(95354288).Parent = z.Backpack | |
3346 | ||
3347 | end) | |
3348 | ||
3349 | end) | |
3350 | ||
3351 | actions:drawButton(1/3, 'Knife', function() | |
3352 | ||
3353 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3354 | ||
3355 | insert(170897263).Parent = z.Backpack | |
3356 | ||
3357 | end) | |
3358 | ||
3359 | end) | |
3360 | ||
3361 | ||
3362 | ||
3363 | actions:drawButton(1/3, 'Stun', function() | |
3364 | ||
3365 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3366 | ||
3367 | if not z.Character:FindFirstChild('UpperTorso') then | |
3368 | ||
3369 | z.Character.Torso.CFrame = z.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0) | |
3370 | ||
3371 | end | |
3372 | ||
3373 | z.Character.Humanoid.PlatformStand = true | |
3374 | ||
3375 | end) | |
3376 | ||
3377 | end) | |
3378 | ||
3379 | actions:drawButton(1/3, 'Invisible', function() | |
3380 | ||
3381 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3382 | ||
3383 | if z.Character then | |
3384 | ||
3385 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 1) | |
3386 | ||
3387 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1) | |
3388 | ||
3389 | end | |
3390 | ||
3391 | end) | |
3392 | ||
3393 | end) | |
3394 | ||
3395 | actions:drawButton(1/3, 'Visible', function() | |
3396 | ||
3397 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3398 | ||
3399 | if z.Character then | |
3400 | ||
3401 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 0) | |
3402 | ||
3403 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1) | |
3404 | ||
3405 | end | |
3406 | ||
3407 | end) | |
3408 | ||
3409 | end) | |
3410 | ||
3411 | actions:drawButton(1/3, 'God', function() | |
3412 | ||
3413 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3414 | ||
3415 | if z.Character:FindFirstChild('Humanoid') then | |
3416 | ||
3417 | z.Character.Humanoid.MaxHealth = math.huge | |
3418 | ||
3419 | z.Character.Humanoid.Health = math.huge | |
3420 | ||
3421 | end | |
3422 | ||
3423 | end) | |
3424 | ||
3425 | end) | |
3426 | ||
3427 | ||
3428 | ||
3429 | actions:drawButton(1/3, 'Semigod', function() | |
3430 | ||
3431 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3432 | ||
3433 | if z.Character:FindFirstChild('Humanoid') then | |
3434 | ||
3435 | z.Character.Humanoid.MaxHealth = 9999999999 | |
3436 | ||
3437 | z.Character.Humanoid.Health = 9999999999 | |
3438 | ||
3439 | end | |
3440 | ||
3441 | end) | |
3442 | ||
3443 | end) | |
3444 | ||
3445 | actions:drawButton(1/3, 'Nuke', function() | |
3446 | ||
3447 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3448 | ||
3449 | local torso = topkek.libutil:getTorso(z) | |
3450 | ||
3451 | local nuke = Instance.new("Part", game.Workspace) | |
3452 | ||
3453 | local opos = torso.CFrame | |
3454 | ||
3455 | nuke.BrickColor = BrickColor.new("Bright yellow") | |
3456 | ||
3457 | nuke.TopSurface = Enum.SurfaceType.Smooth | |
3458 | ||
3459 | nuke.BottomSurface = Enum.SurfaceType.Smooth | |
3460 | ||
3461 | nuke.Anchored = true | |
3462 | ||
3463 | nuke.CanCollide = false | |
3464 | ||
3465 | nuke.Shape = "Ball" | |
3466 | ||
3467 | nuke.Transparency = 0.5 | |
3468 | ||
3469 | nuke.CFrame = torso.CFrame | |
3470 | ||
3471 | nuke.Size = Vector3.new(1, 1, 1) | |
3472 | ||
3473 | nuke.Touched:connect(function(p) | |
3474 | ||
3475 | local expl = Instance.new("Explosion", p) | |
3476 | ||
3477 | expl.BlastPressure = 50000 | |
3478 | ||
3479 | expl.BlastRadius = 50 | |
3480 | ||
3481 | expl.Position = p.Position | |
3482 | ||
3483 | p.Material = Enum.Material.CorrodedMetal | |
3484 | ||
3485 | p:BreakJoints() | |
3486 | ||
3487 | end) | |
3488 | ||
3489 | for i = 1, 150 do | |
3490 | ||
3491 | nuke.Size = Vector3.new(i, i, i) | |
3492 | ||
3493 | nuke.CFrame = opos | |
3494 | ||
3495 | wait(0.08) | |
3496 | ||
3497 | end | |
3498 | ||
3499 | nuke:Destroy() | |
3500 | ||
3501 | end) | |
3502 | ||
3503 | end) | |
3504 | ||
3505 | actions:drawButton(1/3, 'Confuse', function() | |
3506 | ||
3507 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3508 | ||
3509 | if z.Character:FindFirstChild('Humanoid') then | |
3510 | ||
3511 | z.Character.Humanoid.WalkSpeed = -16 | |
3512 | ||
3513 | end | |
3514 | ||
3515 | end) | |
3516 | ||
3517 | end) | |
3518 | ||
3519 | actions:drawButton(1/3, 'Goldify', function() | |
3520 | ||
3521 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3522 | ||
3523 | if z.Character then | |
3524 | ||
3525 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Marble') | |
3526 | ||
3527 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Marble') | |
3528 | ||
3529 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow')) | |
3530 | ||
3531 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow')) | |
3532 | ||
3533 | end | |
3534 | ||
3535 | end) | |
3536 | ||
3537 | end) | |
3538 | ||
3539 | actions:drawButton(1/3, 'Neon', function() | |
3540 | ||
3541 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3542 | ||
3543 | if z.Character then | |
3544 | ||
3545 | topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Neon') | |
3546 | ||
3547 | topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Neon') | |
3548 | ||
3549 | end | |
3550 | ||
3551 | end) | |
3552 | ||
3553 | end) | |
3554 | ||
3555 | actions:drawButton(1/3, 'Insane', function() | |
3556 | ||
3557 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3558 | ||
3559 | if z.Character then | |
3560 | ||
3561 | for i,v in pairs(topkek.libutil:getTorso(z):GetChildren()) do | |
3562 | ||
3563 | if v:IsA("Motor6D") then | |
3564 | ||
3565 | coroutine.wrap(function() | |
3566 | ||
3567 | while v do | |
3568 | ||
3569 | v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180)) | |
3570 | ||
3571 | wait() | |
3572 | ||
3573 | end | |
3574 | ||
3575 | end)() | |
3576 | ||
3577 | end | |
3578 | ||
3579 | end | |
3580 | ||
3581 | end | |
3582 | ||
3583 | end) | |
3584 | ||
3585 | end) | |
3586 | ||
3587 | actions:drawButton(1/3, 'Quicksand', function() | |
3588 | ||
3589 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3590 | ||
3591 | if z.Character then | |
3592 | ||
3593 | if z.Character:FindFirstChild('Humanoid') then | |
3594 | ||
3595 | local tor = topkek.libutil:getTorso(z) | |
3596 | ||
3597 | local hole = Instance.new("Part", z.Character) | |
3598 | ||
3599 | hole.Anchored = true | |
3600 | ||
3601 | hole.Name = "Hole" | |
3602 | ||
3603 | hole.FormFactor = Enum.FormFactor.Custom | |
3604 | ||
3605 | hole.Size = Vector3.new(7, 1, 7) | |
3606 | ||
3607 | hole.CanCollide = false | |
3608 | ||
3609 | hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0) | |
3610 | ||
3611 | hole.BrickColor = BrickColor.new("Cool yellow") | |
3612 | ||
3613 | hole.Material = Enum.Material.Sand | |
3614 | ||
3615 | local hm = Instance.new("CylinderMesh", hole) | |
3616 | ||
3617 | tor.Anchored = true | |
3618 | ||
3619 | if z.Character:FindFirstChild("Humanoid") then | |
3620 | ||
3621 | z.Character.Humanoid.Jump = true | |
3622 | ||
3623 | end | |
3624 | ||
3625 | for x,m in pairs(z.Character:GetChildren()) do | |
3626 | ||
3627 | if m:IsA("BasePart") or m:IsA("MeshPart") then | |
3628 | ||
3629 | m.CanCollide = false | |
3630 | ||
3631 | end | |
3632 | ||
3633 | end | |
3634 | ||
3635 | for i=1,75 do | |
3636 | ||
3637 | tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0) | |
3638 | ||
3639 | wait(0.06) | |
3640 | ||
3641 | end | |
3642 | ||
3643 | tor.CFrame=tor.CFrame*CFrame.new(0, | |
3644 | ||
3645 | -500,0 | |
3646 | ||
3647 | ) | |
3648 | ||
3649 | z.Character.Humanoid.Health = 0 | |
3650 | ||
3651 | end | |
3652 | ||
3653 | end | |
3654 | ||
3655 | end) | |
3656 | ||
3657 | end) | |
3658 | ||
3659 | actions:drawButton(1/3, 'Duck', function() | |
3660 | ||
3661 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3662 | ||
3663 | if z.Character then | |
3664 | ||
3665 | local pchar = z.Character | |
3666 | ||
3667 | -- for i,v in pairs(pchar.Torso:GetChildren()) do | |
3668 | ||
3669 | -- if v:IsA("Decal") then | |
3670 | ||
3671 | -- v:Destroy() | |
3672 | ||
3673 | -- end | |
3674 | ||
3675 | -- end | |
3676 | ||
3677 | for i,v in pairs(pchar:GetChildren()) do | |
3678 | ||
3679 | if v:IsA("Hat") or v:IsA("Accessory") then | |
3680 | ||
3681 | v:Destroy() | |
3682 | ||
3683 | end | |
3684 | ||
3685 | end | |
3686 | ||
3687 | local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart) | |
3688 | ||
3689 | duck.MeshType = "FileMesh" | |
3690 | ||
3691 | duck.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
3692 | ||
3693 | duck.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
3694 | ||
3695 | duck.Scale = Vector3.new(5, 5, 5) | |
3696 | ||
3697 | topkek.libutil:recurseSetObj(z.Character, 'Instance', 'Transparency', 1) | |
3698 | ||
3699 | z.Character.HumanoidRootPart.Transparency = 0 | |
3700 | ||
3701 | end | |
3702 | ||
3703 | end) | |
3704 | ||
3705 | end) | |
3706 | ||
3707 | actions:drawButton(1/3, 'Shrek', function() | |
3708 | ||
3709 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3710 | ||
3711 | if z.Character then | |
3712 | ||
3713 | local pchar = z.Character | |
3714 | ||
3715 | for i,v in pairs(pchar:GetChildren()) do | |
3716 | ||
3717 | if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then | |
3718 | ||
3719 | v:Destroy() | |
3720 | ||
3721 | end | |
3722 | ||
3723 | end | |
3724 | ||
3725 | for i,v in pairs(pchar.Head:GetChildren()) do | |
3726 | ||
3727 | if v:IsA("Decal") or v:IsA("SpecialMesh") then | |
3728 | ||
3729 | v:Destroy() | |
3730 | ||
3731 | end | |
3732 | ||
3733 | end | |
3734 | ||
3735 | ||
3736 | ||
3737 | local mesh = Instance.new("SpecialMesh", pchar.Head) | |
3738 | ||
3739 | mesh.MeshType = "FileMesh" | |
3740 | ||
3741 | pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257" | |
3742 | ||
3743 | pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0) | |
3744 | ||
3745 | pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869" | |
3746 | ||
3747 | ||
3748 | ||
3749 | local Shirt = Instance.new("Shirt", z.Character) | |
3750 | ||
3751 | local Pants = Instance.new("Pants", z.Character) | |
3752 | ||
3753 | ||
3754 | ||
3755 | Shirt.ShirtTemplate = "rbxassetid://133078194" | |
3756 | ||
3757 | Pants.PantsTemplate = "rbxassetid://133078204" | |
3758 | ||
3759 | end | |
3760 | ||
3761 | end) | |
3762 | ||
3763 | end) | |
3764 | ||
3765 | actions:drawButton(1/3, 'Bighead', function() | |
3766 | ||
3767 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3768 | ||
3769 | if z.Character then | |
3770 | ||
3771 | if z.Character:FindFirstChild('Head') then | |
3772 | ||
3773 | z.Character.Head.Mesh.Scale=Vector3.new(5,5,5) | |
3774 | ||
3775 | end | |
3776 | ||
3777 | end | |
3778 | ||
3779 | end) | |
3780 | ||
3781 | end) | |
3782 | ||
3783 | actions:drawButton(1/3, 'Hotdog', function() | |
3784 | ||
3785 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3786 | ||
3787 | if z.Character then | |
3788 | ||
3789 | if z.Character:FindFirstChild('Head') then | |
3790 | ||
3791 | topkek.libutil:weiner(z) | |
3792 | ||
3793 | end | |
3794 | ||
3795 | end | |
3796 | ||
3797 | end) | |
3798 | ||
3799 | end) | |
3800 | ||
3801 | actions:drawButton(1/3, 'Dwarf [R6]', function() | |
3802 | ||
3803 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3804 | ||
3805 | if z.Character then | |
3806 | ||
3807 | topkek.libutil:scalePlayer(z, 0.5) | |
3808 | ||
3809 | end | |
3810 | ||
3811 | end) | |
3812 | ||
3813 | end) | |
3814 | ||
3815 | actions:drawButton(1/3, 'Giant [R6]', function() | |
3816 | ||
3817 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3818 | ||
3819 | if z.Character then | |
3820 | ||
3821 | topkek.libutil:scalePlayer(z, 5) | |
3822 | ||
3823 | end | |
3824 | ||
3825 | end) | |
3826 | ||
3827 | end) | |
3828 | ||
3829 | actions:drawButton(1/3, 'Giraffe [R6]', function() | |
3830 | ||
3831 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3832 | ||
3833 | if z.Character then | |
3834 | ||
3835 | local char=z.Character | |
3836 | ||
3837 | local h=char.Head | |
3838 | ||
3839 | local tor=char:FindFirstChild("Torso") | |
3840 | ||
3841 | if not tor then return end | |
3842 | ||
3843 | tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5) | |
3844 | ||
3845 | local fn=Instance.new("Part",char) | |
3846 | ||
3847 | fn.Size=Vector3.new(1,5.5,1) | |
3848 | ||
3849 | fn.Name="FakeNeck" | |
3850 | ||
3851 | fn.Anchored=false | |
3852 | ||
3853 | fn.CanCollide=false | |
3854 | ||
3855 | if char:FindFirstChild("Body Colors") then | |
3856 | ||
3857 | fn.BrickColor=char["Body Colors"].HeadColor | |
3858 | ||
3859 | end | |
3860 | ||
3861 | local cm=Instance.new("CylinderMesh",fn) | |
3862 | ||
3863 | local we=Instance.new("Weld",h) | |
3864 | ||
3865 | we.Part0=h | |
3866 | ||
3867 | we.Part1=fn | |
3868 | ||
3869 | we.C1=we.C1*CFrame.new(0,2.6,0) | |
3870 | ||
3871 | end | |
3872 | ||
3873 | end) | |
3874 | ||
3875 | end) | |
3876 | ||
3877 | actions:drawButton(1/3, 'Select', function() | |
3878 | ||
3879 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3880 | ||
3881 | if z.Character then | |
3882 | ||
3883 | Instance.new("SelectionBox", z.Character).Adornee = z.Character | |
3884 | ||
3885 | end | |
3886 | ||
3887 | end) | |
3888 | ||
3889 | end) | |
3890 | ||
3891 | actions:drawButton(1/3, 'Sphere', function() | |
3892 | ||
3893 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3894 | ||
3895 | if z.Character then | |
3896 | ||
3897 | Instance.new("SelectionSphere", z.Character).Adornee = z.Character | |
3898 | ||
3899 | end | |
3900 | ||
3901 | end) | |
3902 | ||
3903 | end) | |
3904 | ||
3905 | actions:drawButton(1/3, 'Sit', function() | |
3906 | ||
3907 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3908 | ||
3909 | if z.Character:FindFirstChild("Humanoid") then | |
3910 | ||
3911 | z.Character.Humanoid.Sit = true | |
3912 | ||
3913 | end | |
3914 | ||
3915 | end) | |
3916 | ||
3917 | end) | |
3918 | ||
3919 | actions:drawButton(1/3, 'Jump', function() | |
3920 | ||
3921 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3922 | ||
3923 | if z.Character:FindFirstChild("Humanoid") then | |
3924 | ||
3925 | z.Character.Humanoid.Jump = true | |
3926 | ||
3927 | end | |
3928 | ||
3929 | end) | |
3930 | ||
3931 | end) | |
3932 | ||
3933 | actions:drawButton(1/3, 'No Tools', function() | |
3934 | ||
3935 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3936 | ||
3937 | for _, t in pairs(z.Backpack:GetChildren()) do | |
3938 | ||
3939 | t:Destroy() | |
3940 | ||
3941 | end | |
3942 | ||
3943 | end) | |
3944 | ||
3945 | end) | |
3946 | ||
3947 | actions:drawButton(1/3, 'Take Tools', function() | |
3948 | ||
3949 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3950 | ||
3951 | for _, t in pairs(z.Backpack:GetChildren()) do | |
3952 | ||
3953 | t.Parent = game:service'Players'.LocalPlayer.Backpack | |
3954 | ||
3955 | end | |
3956 | ||
3957 | end) | |
3958 | ||
3959 | end) | |
3960 | ||
3961 | actions:drawButton(1/3, 'Disable', function() | |
3962 | ||
3963 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3964 | ||
3965 | if z.Character:FindFirstChild("Humanoid") then | |
3966 | ||
3967 | z.Character.Humanoid.Parent = nil | |
3968 | ||
3969 | end | |
3970 | ||
3971 | end) | |
3972 | ||
3973 | end) | |
3974 | ||
3975 | actions:drawButton(1/3, 'Fast', function() | |
3976 | ||
3977 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3978 | ||
3979 | if z.Character:FindFirstChild("Humanoid") then | |
3980 | ||
3981 | z.Character.Humanoid.WalkSpeed = 50 | |
3982 | ||
3983 | end | |
3984 | ||
3985 | end) | |
3986 | ||
3987 | end) | |
3988 | ||
3989 | actions:drawButton(1/3, 'Slow', function() | |
3990 | ||
3991 | topkek.libutil:doPlayers(plrDrop, function(z) | |
3992 | ||
3993 | if z.Character:FindFirstChild("Humanoid") then | |
3994 | ||
3995 | z.Character.Humanoid.WalkSpeed = 8 | |
3996 | ||
3997 | end | |
3998 | ||
3999 | end) | |
4000 | ||
4001 | end) | |
4002 | ||
4003 | actions:drawButton(1/3,'Explode', function() | |
4004 | ||
4005 | topkek.libtil:doPlayers(plrDrop, function(z) | |
4006 | ||
4007 | local explosion = Instance.new("Explosion") | |
4008 | ||
4009 | explosion.Position = topkek.libutil:getTorso(z).Position | |
4010 | ||
4011 | explosion.Parent = game.Workspace | |
4012 | ||
4013 | end) | |
4014 | ||
4015 | end) | |
4016 | ||
4017 | local Follow | |
4018 | ||
4019 | actions:drawButton(1/3,'Annoy', function() | |
4020 | ||
4021 | if Follow == true then | |
4022 | ||
4023 | Follow = false; return | |
4024 | ||
4025 | else Follow = true end | |
4026 | ||
4027 | topkek.libutil:doPlayers(plrDrop, function(z) | |
4028 | ||
4029 | while Follow == true do | |
4030 | ||
4031 | game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame= | |
4032 | ||
4033 | z.Character.HumanoidRootPart.CFrame | |
4034 | ||
4035 | wait() | |
4036 | ||
4037 | end | |
4038 | ||
4039 | end) | |
4040 | ||
4041 | end) | |
4042 | ||
4043 | actions:drawButton(1/3,'ForceField', function() | |
4044 | ||
4045 | topkek.libutil:doPlayers(plrDrop, function(z) | |
4046 | ||
4047 | if z.Character then | |
4048 | ||
4049 | Instance.new("ForceField", z.Character) | |
4050 | ||
4051 | end | |
4052 | ||
4053 | end) | |
4054 | ||
4055 | end) | |
4056 | ||
4057 | actions:drawButton(1/3,'Friendlag', function() | |
4058 | ||
4059 | topkek.libutil:doPlayers(plrDrop, function(z) | |
4060 | ||
4061 | for i = 1, 10 do | |
4062 | ||
4063 | spawn(function() | |
4064 | ||
4065 | while wait() do | |
4066 | ||
4067 | game.Players.LocalPlayer:RequestFriendship(z) | |
4068 | ||
4069 | game.Players.LocalPlayer:RevokeFriendship(z) | |
4070 | ||
4071 | end | |
4072 | ||
4073 | end) | |
4074 | ||
4075 | end | |
4076 | ||
4077 | end) | |
4078 | ||
4079 | end) | |
4080 | ||
4081 | actions:drawButton(1/3,'Force Follow', function() | |
4082 | ||
4083 | topkek.libutil:doPlayers(plrDrop, function(z) | |
4084 | ||
4085 | game:GetService("RunService"):BindToRenderStep("_", 0, function() | |
4086 | ||
4087 | z.Character.Humanoid:MoveTo(game.Players.LocalPlayer.Character.Head.Position) | |
4088 | ||
4089 | end) | |
4090 | ||
4091 | end) | |
4092 | ||
4093 | end) | |
4094 | ||
4095 | actions:drawButton(1/3,'Dab', function() | |
4096 | ||
4097 | topkek.libutil:doPlayers(plrDrop, function(z) | |
4098 | ||
4099 | if z.Character and z.Character:FindFirstChild("Torso") then | |
4100 | ||
4101 | local chr = z.Character | |
4102 | ||
4103 | chr.Animate.Disabled = true | |
4104 | ||
4105 | chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346) | |
4106 | ||
4107 | chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008) | |
4108 | ||
4109 | chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124) | |
4110 | ||
4111 | end | |
4112 | ||
4113 | end) | |
4114 | ||
4115 | end) | |
4116 | ||
4117 | actions:addSpacing() | |
4118 | ||
4119 | local chatInp | |
4120 | ||
4121 | actions:drawButton(1/2, 'Make Chat', function() | |
4122 | ||
4123 | topkek.libutil:doPlayers(plrDrop, function(z) | |
4124 | ||
4125 | game:GetService('Chat'):Chat(z.Character, chatInp.Text) | |
4126 | ||
4127 | end) | |
4128 | ||
4129 | end) | |
4130 | ||
4131 | chatInp = actions:drawTextBox(1/2, '') | |
4132 | ||
4133 | local insertInp | |
4134 | ||
4135 | actions:drawButton(1/2, 'Insert Into', function() | |
4136 | ||
4137 | if not tonumber(insertInp.Text) then return end | |
4138 | ||
4139 | local item = insert(insertInp.Text) | |
4140 | ||
4141 | if not item then return end | |
4142 | ||
4143 | topkek.libutil:doPlayers(plrDrop, function(z) | |
4144 | ||
4145 | item:Clone().Parent = z.Backpack | |
4146 | ||
4147 | end) | |
4148 | ||
4149 | end) | |
4150 | ||
4151 | insertInp = actions:drawTextBox(1/2, '') | |
4152 | ||
4153 | local speedInp | |
4154 | ||
4155 | actions:drawButton(1/2, 'Set Speed', function() | |
4156 | ||
4157 | if not tonumber(speedInp.Text) then return end | |
4158 | ||
4159 | topkek.libutil:doPlayers(plrDrop, function(z) | |
4160 | ||
4161 | if z.Character:FindFirstChild('Humanoid') then | |
4162 | ||
4163 | z.Character.Humanoid.WalkSpeed = tonumber(speedInp.Text) | |
4164 | ||
4165 | end | |
4166 | ||
4167 | end) | |
4168 | ||
4169 | end) | |
4170 | ||
4171 | speedInp = actions:drawTextBox(1/2, '') | |
4172 | ||
4173 | local nameInp | |
4174 | ||
4175 | actions:drawButton(1/2, 'Set Name', function() | |
4176 | ||
4177 | topkek.libutil:doPlayers(plrDrop, function(z) | |
4178 | ||
4179 | local Character = z.Character | |
4180 | ||
4181 | local newName = Instance.new("Model", z.Character) | |
4182 | ||
4183 | newName.Name = nameInp.Text | |
4184 | ||
4185 | local cl = Character:WaitForChild("Head"):Clone() | |
4186 | ||
4187 | cl.Parent = newName | |
4188 | ||
4189 | cl:WaitForChild("face"):Destroy() | |
4190 | ||
4191 | local hum = Instance.new("Humanoid", newName) | |
4192 | ||
4193 | hum.Name = "NameTag" | |
4194 | ||
4195 | hum.MaxHealth = 0 | |
4196 | ||
4197 | hum.Health = 0 | |
4198 | ||
4199 | local weld = Instance.new("Weld", cl) | |
4200 | ||
4201 | weld.Part0 = cl | |
4202 | ||
4203 | weld.Part1 = Character:WaitForChild("Head") | |
4204 | ||
4205 | Character:WaitForChild("Head").Transparency = 1 | |
4206 | ||
4207 | Wait(.5) | |
4208 | ||
4209 | cl.BrickColor = Character:WaitForChild("Head").BrickColo | |
4210 | ||
4211 | end) | |
4212 | ||
4213 | end) | |
4214 | ||
4215 | nameInp = actions:drawTextBox(1/2, '') | |
4216 | ||
4217 | --[[ localplayer ]]-- | |
4218 | ||
4219 | local lp = game:GetService('Players').LocalPlayer | |
4220 | ||
4221 | local localwin = topkek.libgui:hookContainer(base['LocalPlayerContainer']) | |
4222 | ||
4223 | local appearInp | |
4224 | ||
4225 | localwin:drawButton(1/2, 'Set Appearance', function() | |
4226 | ||
4227 | local id = 0 | |
4228 | ||
4229 | if not tonumber(appearInp.Text) then | |
4230 | ||
4231 | id = tonumber(appearInp.Text) | |
4232 | ||
4233 | else | |
4234 | ||
4235 | id = game:GetService('Players'):GetUserIdFromNameAsync(appearInp.Text) | |
4236 | ||
4237 | end | |
4238 | ||
4239 | lp.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id) | |
4240 | ||
4241 | end) | |
4242 | ||
4243 | appearInp = localwin:drawTextBox(1/2, '') | |
4244 | ||
4245 | localwin:drawButton(1/2, 'Set TeamColor', function() | |
4246 | ||
4247 | if teamInp.Text == 'Neutral' then | |
4248 | ||
4249 | lp.Neutral = true | |
4250 | ||
4251 | return | |
4252 | ||
4253 | end | |
4254 | ||
4255 | local clr = BrickColor.new(teamInp.Text) | |
4256 | ||
4257 | lp.TeamColor = clr | |
4258 | ||
4259 | end) | |
4260 | ||
4261 | teamInp = localwin:drawTextBox(1/2, 'Neutral') | |
4262 | ||
4263 | localwin:drawButton(1, 'Reset Camera', function() | |
4264 | ||
4265 | game.Workspace.CurrentCamera:remove() | |
4266 | ||
4267 | wait(.1) | |
4268 | ||
4269 | game.Workspace.CurrentCamera.CameraSubject = lp.Character.Humanoid or | |
4270 | ||
4271 | game.Workspace[lp.Name].Humanoid | |
4272 | ||
4273 | game.Workspace.CurrentCamera.CameraType = "Custom" | |
4274 | ||
4275 | end) | |
4276 | ||
4277 | localwin:drawButton(1, 'Respawn', function() | |
4278 | ||
4279 | local a1 = Instance.new("Model", game:service'Workspace') | |
4280 | ||
4281 | local a2 = Instance.new("Part", game:service'Workspace') | |
4282 | ||
4283 | a2.CanCollide = true | |
4284 | ||
4285 | a2.Anchored = true | |
4286 | ||
4287 | a2.CFrame = CFrame.new(10000, 10000, 10000) | |
4288 | ||
4289 | a2.Name = "Torso" | |
4290 | ||
4291 | local a3 = Instance.new("Humanoid", a1) | |
4292 | ||
4293 | a3.MaxHealth=100;a3.Health=100 | |
4294 | ||
4295 | lp.Character = a1 | |
4296 | ||
4297 | a3.Health=0 | |
4298 | ||
4299 | end) | |
4300 | ||
4301 | localwin:addSpacing() | |
4302 | ||
4303 | local Lev, Clip, Fly | |
4304 | ||
4305 | localwin:drawButton(1/2, 'Levitate', function() | |
4306 | ||
4307 | if Lev == true then | |
4308 | ||
4309 | Lev = false | |
4310 | ||
4311 | return | |
4312 | ||
4313 | end | |
4314 | ||
4315 | Lev = true | |
4316 | ||
4317 | repeat | |
4318 | ||
4319 | lp.Character.Humanoid:ChangeState(10) | |
4320 | ||
4321 | wait(0) | |
4322 | ||
4323 | until Lev == false | |
4324 | ||
4325 | end) | |
4326 | ||
4327 | localwin:drawButton(1/2, 'Noclip', function() | |
4328 | ||
4329 | if Clip == true then | |
4330 | ||
4331 | Clip = false | |
4332 | ||
4333 | return | |
4334 | ||
4335 | end | |
4336 | ||
4337 | Clip = true | |
4338 | ||
4339 | game:GetService("RunService").Stepped:connect(function() | |
4340 | ||
4341 | topkek.libutil:getTorso(lp).CanCollide = not Clip | |
4342 | ||
4343 | lp.Character.Head.CanCollide = not Clip | |
4344 | ||
4345 | lp.Character.HumanoidRootPart.CanCollide = not Clip | |
4346 | ||
4347 | if lp.Character.UpperTorso then | |
4348 | ||
4349 | lp.Character.LowerTorso.CanCollide = not Clip | |
4350 | ||
4351 | end | |
4352 | ||
4353 | end) | |
4354 | ||
4355 | lp.Character.HumanoidRootPart.Changed:connect(function() | |
4356 | ||
4357 | topkek.libutil:getTorso(lp).CanCollide = not Clip | |
4358 | ||
4359 | lp.Character.Head.CanCollide = not Clip | |
4360 | ||
4361 | lp.Character.HumanoidRootPart.CanCollide = not Clip | |
4362 | ||
4363 | if lp.Character.UpperTorso then | |
4364 | ||
4365 | lp.Character.LowerTorso.CanCollide = not Clip | |
4366 | ||
4367 | end | |
4368 | ||
4369 | end) | |
4370 | ||
4371 | end) | |
4372 | ||
4373 | localwin:drawButton(1/2, 'Fly', function() | |
4374 | ||
4375 | if Fly == true then | |
4376 | ||
4377 | Fly = false | |
4378 | ||
4379 | return | |
4380 | ||
4381 | end | |
4382 | ||
4383 | Fly = true | |
4384 | ||
4385 | local mouse=game.Players.LocalPlayer:GetMouse'' | |
4386 | ||
4387 | localplayer=game.Players.LocalPlayer | |
4388 | ||
4389 | game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart") | |
4390 | ||
4391 | local torso = game.Players.LocalPlayer.Character.HumanoidRootPart | |
4392 | ||
4393 | local speed=0 | |
4394 | ||
4395 | local keys={a=false,d=false,w=false,s=false} | |
4396 | ||
4397 | local e1 | |
4398 | ||
4399 | local e2 | |
4400 | ||
4401 | local function start() | |
4402 | ||
4403 | local pos = Instance.new("BodyPosition",torso) | |
4404 | ||
4405 | local gyro = Instance.new("BodyGyro",torso) | |
4406 | ||
4407 | pos.Name="EPIXPOS" | |
4408 | ||
4409 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
4410 | ||
4411 | pos.position = torso.Position | |
4412 | ||
4413 | gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9) | |
4414 | ||
4415 | gyro.cframe = torso.CFrame | |
4416 | ||
4417 | repeat | |
4418 | ||
4419 | wait() | |
4420 | ||
4421 | localplayer.Character.Humanoid.PlatformStand=true | |
4422 | ||
4423 | local new=gyro.cframe - gyro.cframe.p + pos.position | |
4424 | ||
4425 | if not keys.w and not keys.s and not keys.a and not keys.d then | |
4426 | ||
4427 | speed=1 | |
4428 | ||
4429 | end | |
4430 | ||
4431 | if keys.w then | |
4432 | ||
4433 | new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed | |
4434 | ||
4435 | speed=speed+0.01 | |
4436 | ||
4437 | end | |
4438 | ||
4439 | if keys.s then | |
4440 | ||
4441 | new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed | |
4442 | ||
4443 | speed=speed+0.01 | |
4444 | ||
4445 | end | |
4446 | ||
4447 | if keys.d then | |
4448 | ||
4449 | new = new * CFrame.new(speed,0,0) | |
4450 | ||
4451 | speed=speed+0.01 | |
4452 | ||
4453 | end | |
4454 | ||
4455 | if keys.a then | |
4456 | ||
4457 | new = new * CFrame.new(-speed,0,0) | |
4458 | ||
4459 | speed=speed+0.01 | |
4460 | ||
4461 | end | |
4462 | ||
4463 | if speed>5 then | |
4464 | ||
4465 | speed=5 | |
4466 | ||
4467 | end | |
4468 | ||
4469 | pos.position=new.p | |
4470 | ||
4471 | if keys.w then | |
4472 | ||
4473 | gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0) | |
4474 | ||
4475 | elseif keys.s then | |
4476 | ||
4477 | gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0) | |
4478 | ||
4479 | else | |
4480 | ||
4481 | gyro.cframe = workspace.CurrentCamera.CoordinateFrame | |
4482 | ||
4483 | end | |
4484 | ||
4485 | until not Fly | |
4486 | ||
4487 | if gyro then gyro:Destroy() end | |
4488 | ||
4489 | if pos then pos:Destroy() end | |
4490 | ||
4491 | flying=false | |
4492 | ||
4493 | localplayer.Character.Humanoid.PlatformStand=false | |
4494 | ||
4495 | speed=0 | |
4496 | ||
4497 | end | |
4498 | ||
4499 | e1=mouse.KeyDown:connect(function(key) | |
4500 | ||
4501 | if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end | |
4502 | ||
4503 | if key=="w" then | |
4504 | ||
4505 | keys.w=true | |
4506 | ||
4507 | elseif key=="s" then | |
4508 | ||
4509 | keys.s=true | |
4510 | ||
4511 | elseif key=="a" then | |
4512 | ||
4513 | keys.a=true | |
4514 | ||
4515 | elseif key=="d" then | |
4516 | ||
4517 | keys.d=true | |
4518 | ||
4519 | end | |
4520 | ||
4521 | end) | |
4522 | ||
4523 | e2=mouse.KeyUp:connect(function(key) | |
4524 | ||
4525 | if key=="w" then | |
4526 | ||
4527 | keys.w=false | |
4528 | ||
4529 | elseif key=="s" then | |
4530 | ||
4531 | keys.s=false | |
4532 | ||
4533 | elseif key=="a" then | |
4534 | ||
4535 | keys.a=false | |
4536 | ||
4537 | elseif key=="d" then | |
4538 | ||
4539 | keys.d=false | |
4540 | ||
4541 | end | |
4542 | ||
4543 | end) | |
4544 | ||
4545 | start() | |
4546 | ||
4547 | end) | |
4548 | ||
4549 | localwin:drawButton(1/2, 'Highjump', function() | |
4550 | ||
4551 | local thrust = Instance.new("BodyVelocity") | |
4552 | ||
4553 | game:GetService('UserInputService').InputBegan:connect(function(i, b) | |
4554 | ||
4555 | if i.KeyCode == Enum.KeyCode.Space then | |
4556 | ||
4557 | print("Got jump") | |
4558 | ||
4559 | coroutine.resume(coroutine.create(function() | |
4560 | ||
4561 | thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart | |
4562 | ||
4563 | thrust.velocity = Vector3.new(0,50,0) | |
4564 | ||
4565 | thrust.maxForce = Vector3.new(0,4e+050,0) | |
4566 | ||
4567 | wait(0.2) | |
4568 | ||
4569 | thrust.Parent = nil | |
4570 | ||
4571 | end)) | |
4572 | ||
4573 | end | |
4574 | ||
4575 | end) | |
4576 | ||
4577 | end) | |
4578 | ||
4579 | localwin:addSpacing() | |
4580 | ||
4581 | localwin:drawButton(1/2, 'Freecam', function() | |
4582 | ||
4583 | local cam = game.Workspace.CurrentCamera | |
4584 | ||
4585 | cam.CameraType = "Fixed" | |
4586 | ||
4587 | cam.CameraSubject = nil | |
4588 | ||
4589 | lp.Character = nil | |
4590 | ||
4591 | end) | |
4592 | ||
4593 | localwin:drawButton(1/2, 'Nil Orb', function() | |
4594 | ||
4595 | game.Players.LocalPlayer.Character = nil | |
4596 | ||
4597 | --lp:Destroy() | |
4598 | ||
4599 | local cam = game.Workspace.CurrentCamera | |
4600 | ||
4601 | local m = Instance.new("Model", game.Workspace) | |
4602 | ||
4603 | m.Name = game.Players.LocalPlayer.Name | |
4604 | ||
4605 | local hum = Instance.new("Humanoid", m) | |
4606 | ||
4607 | hum.Health = 0 | |
4608 | ||
4609 | hum.MaxHealth = 0 | |
4610 | ||
4611 | local orb = Instance.new("Part", m) | |
4612 | ||
4613 | orb.Size = Vector3.new(1, 1, 1) | |
4614 | ||
4615 | orb.Shape = "Ball" | |
4616 | ||
4617 | orb.Name = "Head" | |
4618 | ||
4619 | orb.Anchored = true | |
4620 | ||
4621 | orb.CanCollide = true | |
4622 | ||
4623 | orb.BottomSurface = Enum.SurfaceType.Smooth | |
4624 | ||
4625 | orb.TopSurface = Enum.SurfaceType.Smooth | |
4626 | ||
4627 | orb.Transparency = 0 | |
4628 | ||
4629 | cam.CameraSubject = orb | |
4630 | ||
4631 | cam.CameraType = Enum.CameraType.Fixed | |
4632 | ||
4633 | game:GetService("RunService").RenderStepped:connect(function() | |
4634 | ||
4635 | orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6) | |
4636 | ||
4637 | end) | |
4638 | ||
4639 | game.Players.LocalPlayer.Chatted:connect(function(a) | |
4640 | ||
4641 | game:GetService("Chat"):Chat(orb, a) | |
4642 | ||
4643 | end) | |
4644 | ||
4645 | end) | |
4646 | ||
4647 | localwin:drawButton(1/2, 'God', function() | |
4648 | ||
4649 | lp.Character.Humanoid.MaxHealth = math.huge | |
4650 | ||
4651 | lp.Character.Humanoid.Health = math.huge | |
4652 | ||
4653 | end) | |
4654 | ||
4655 | localwin:drawButton(1/2, 'NoGrav', function() | |
4656 | ||
4657 | if lp.Character then | |
4658 | ||
4659 | for x,m in pairs(lp.Character:GetChildren()) do | |
4660 | ||
4661 | if m:IsA("BasePart") then | |
4662 | ||
4663 | local bf = Instance.new("BodyForce", m) | |
4664 | ||
4665 | bf.force = Vector3.new(0, 192.25, 0) * m:GetMass() | |
4666 | ||
4667 | end | |
4668 | ||
4669 | if m:IsA("Hat") or m:IsA("Accessory") then | |
4670 | ||
4671 | if m:findFirstChild("Handle") then | |
4672 | ||
4673 | local bf = Instance.new("BodyForce", m.Handle) | |
4674 | ||
4675 | bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass() | |
4676 | ||
4677 | end | |
4678 | ||
4679 | end | |
4680 | ||
4681 | end | |
4682 | ||
4683 | end | |
4684 | ||
4685 | end) | |
4686 | ||
4687 | localwin:drawButton(1/2, 'Rainbow Name', function() | |
4688 | ||
4689 | lp.Neutral = false | |
4690 | ||
4691 | repeat | |
4692 | ||
4693 | wait() | |
4694 | ||
4695 | lp.TeamColor = BrickColor.Random() | |
4696 | ||
4697 | until not lp.Character.Humanoid | |
4698 | ||
4699 | end) | |
4700 | ||
4701 | localwin:drawButton(1/2, 'Random Fedora', function() | |
4702 | ||
4703 | local hats={ | |
4704 | ||
4705 | 98346834, | |
4706 | ||
4707 | 215751161, | |
4708 | ||
4709 | 119916949, | |
4710 | ||
4711 | 72082328, | |
4712 | ||
4713 | 147180077, | |
4714 | ||
4715 | 100929604, | |
4716 | ||
4717 | 63043890, | |
4718 | ||
4719 | 1285307, | |
4720 | ||
4721 | 1029025, | |
4722 | ||
4723 | 334663683, | |
4724 | ||
4725 | 259423244 | |
4726 | ||
4727 | } | |
4728 | ||
4729 | game:GetService("InsertService"):LoadAsset(hats[math.random(1,#hats)]):GetChildren()[1].Parent = lp.Character | |
4730 | ||
4731 | end) | |
4732 | ||
4733 | localwin:drawButton(1/2, 'Clear Appearance', function() | |
4734 | ||
4735 | lp:ClearCharacterAppearance() | |
4736 | ||
4737 | end) | |
4738 | ||
4739 | localwin:drawButton(1/2, 'Disguise', function() | |
4740 | ||
4741 | local p = lp.Character | |
4742 | ||
4743 | if p:FindFirstChild("topkek") then | |
4744 | ||
4745 | p.topkek:Destroy() | |
4746 | ||
4747 | end | |
4748 | ||
4749 | p.Name = "" | |
4750 | ||
4751 | p.Head.Transparency = 1 | |
4752 | ||
4753 | local mo = Instance.new("Model", p) | |
4754 | ||
4755 | mo.Name = "" | |
4756 | ||
4757 | local hu = Instance.new("Humanoid", mo) | |
4758 | ||
4759 | hu.Name = "distag" | |
4760 | ||
4761 | hu.Health = 100 | |
4762 | ||
4763 | hu.MaxHealth = 100 | |
4764 | ||
4765 | local fh = p.Head:Clone() | |
4766 | ||
4767 | fh.Parent = mo | |
4768 | ||
4769 | fh.Transparency = 0 | |
4770 | ||
4771 | local we = Instance.new("Weld", fh) | |
4772 | ||
4773 | we.Part0 = p.Head | |
4774 | ||
4775 | we.Part1 = mo | |
4776 | ||
4777 | lp:ClearCharacterAppearance() | |
4778 | ||
4779 | pcall(function() p["Body Colors"]:Destroy() end) | |
4780 | ||
4781 | Instance.new("BodyColors", p) | |
4782 | ||
4783 | end) | |
4784 | ||
4785 | localwin:drawButton(1, 'Dick Shooter', function() | |
4786 | ||
4787 | topkek.libutil:dickShooter() | |
4788 | ||
4789 | end) | |
4790 | ||
4791 | localwin:addSpacing() | |
4792 | ||
4793 | local hackerInp | |
4794 | ||
4795 | localwin:drawButton(1/2, 'Set Tag', function() | |
4796 | ||
4797 | local len = 10 | |
4798 | ||
4799 | local bb = Instance.new("BillboardGui") | |
4800 | ||
4801 | bb.Parent = lp.Character.Head | |
4802 | ||
4803 | bb.Adornee = lp.Character.Head | |
4804 | ||
4805 | bb.AlwaysOnTop = true | |
4806 | ||
4807 | bb.Enabled = true | |
4808 | ||
4809 | bb.Size = UDim2.new(len, 0, 1.5, 0) | |
4810 | ||
4811 | bb.Name = "tag" | |
4812 | ||
4813 | bb.StudsOffset = Vector3.new(0, 3, 0) | |
4814 | ||
4815 | --local fr = Instance.new("Frame") | |
4816 | ||
4817 | --fr.Parent = bb | |
4818 | ||
4819 | --fr.Size = UDim2.new(1, 0, 1, 0) | |
4820 | ||
4821 | --fr.Style = Enum.FrameStyle.RobloxRound | |
4822 | ||
4823 | local tl = Instance.new("TextLabel") | |
4824 | ||
4825 | tl.Parent = bb | |
4826 | ||
4827 | tl.Font = Enum.Font.Code | |
4828 | ||
4829 | tl.BackgroundTransparency = 1 | |
4830 | ||
4831 | tl.TextScaled = true | |
4832 | ||
4833 | tl.TextColor3 = Color3.new(15/255, 15/255, 15/255) | |
4834 | ||
4835 | tl.Size = UDim2.new(1, 0, 1, 0) | |
4836 | ||
4837 | tl.Text = hackerInp.Text | |
4838 | ||
4839 | tl.Name = "trutag" | |
4840 | ||
4841 | tl.Visible = true | |
4842 | ||
4843 | tl.ZIndex = 2 | |
4844 | ||
4845 | end) | |
4846 | ||
4847 | hackerInp = localwin:drawTextBox(1/2, 'Hacker') | |
4848 | ||
4849 | --[[ scripts ]]-- | |
4850 | ||
4851 | -- excuse my disgusting code :v | |
4852 | ||
4853 | local scriptwin = topkek.libgui:hookContainer(base['ScriptsContainer']) | |
4854 | ||
4855 | local search = scriptwin:drawTextBox(1,'') | |
4856 | ||
4857 | local origy = scriptwin:getDrawY() | |
4858 | ||
4859 | scriptwin:addSpacing() | |
4860 | ||
4861 | scriptwin:addSpacing() | |
4862 | ||
4863 | local a = Instance.new("LocalScript");a.Name='script 1' | |
4864 | ||
4865 | local b = Instance.new("LocalScript");b.Name='script 2' | |
4866 | ||
4867 | local c = Instance.new("LocalScript");c.Name='script 3' | |
4868 | ||
4869 | local scripts = {a,b,c} | |
4870 | ||
4871 | local container = {} | |
4872 | ||
4873 | function MakeList(condition) | |
4874 | ||
4875 | for i,v in pairs(scriptwin:GetChildren()) do | |
4876 | ||
4877 | if v.Name == "Script" then | |
4878 | ||
4879 | v:Destroy() | |
4880 | ||
4881 | end | |
4882 | ||
4883 | end | |
4884 | ||
4885 | scriptwin:setDrawY(origy) | |
4886 | ||
4887 | for i, v in pairs(scripts) do | |
4888 | ||
4889 | if string.find(v.Name, condition) or (condition == "") or (condition == " ") then | |
4890 | ||
4891 | local scr = scriptwin:drawButton(1, v.Name, function() | |
4892 | ||
4893 | print('no loadstring lol') | |
4894 | ||
4895 | end, 25) | |
4896 | ||
4897 | scr.Name = 'Script' | |
4898 | ||
4899 | end | |
4900 | ||
4901 | end | |
4902 | ||
4903 | end | |
4904 | ||
4905 | game:GetService("UserInputService").InputChanged:connect(function(inp) | |
4906 | ||
4907 | if inp.UserInputType == Enum.UserInputType.TextInput then | |
4908 | ||
4909 | if search:IsFocused() then | |
4910 | ||
4911 | MakeList(search.Text) | |
4912 | ||
4913 | end | |
4914 | ||
4915 | end | |
4916 | ||
4917 | end) | |
4918 | ||
4919 | MakeList('') | |
4920 | ||
4921 | --[[ misc main ]]-- | |
4922 | ||
4923 | local miscwin = topkek.libgui:hookContainer(base['MiscellaneousContainer']) | |
4924 | ||
4925 | local scroll = miscwin:drawScrollingContainer(165) | |
4926 | ||
4927 | scroll:center() | |
4928 | ||
4929 | for i, v in pairs(topkek.libsettings:getSetting("misc")) do | |
4930 | ||
4931 | scroll:drawButton(1, v, function() | |
4932 | ||
4933 | topkek.libwindows:switchWindow(v .. 'Container', v) | |
4934 | ||
4935 | end) | |
4936 | ||
4937 | end | |
4938 | ||
4939 | scroll.main.CanvasSize = scroll.main.CanvasSize - UDim2.new(0, 0, 0, 3) | |
4940 | ||
4941 | --[[ initiation ]]-- | |
4942 | ||
4943 | topkek.libwindows:registerWindow(base['HomeContainer']) | |
4944 | ||
4945 | topkek.libwindows:registerWindow(base['ServerContainer']) | |
4946 | ||
4947 | topkek.libwindows:registerWindow(base['PlayersContainer']) | |
4948 | ||
4949 | topkek.libwindows:registerWindow(base['LocalPlayerContainer']) | |
4950 | ||
4951 | topkek.libwindows:registerWindow(base['ScriptsContainer']) | |
4952 | ||
4953 | topkek.libwindows:registerWindow(base['MiscellaneousContainer']) | |
4954 | ||
4955 | topkek.libwindows:initiateNavigator() | |
4956 | ||
4957 | topkek.libwindows:initiateHome() |