-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathRevenant
1148 lines (968 loc) · 41.5 KB
/
Revenant
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--https://v3rmillion.net/showthread.php?tid=1182163
local library = {}
library.Flags = {}
library.DefaultColor = Color3.fromRGB(56, 207, 154)
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Mouse = Player:GetMouse()
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local Blacklist = {Enum.KeyCode.Unknown, Enum.KeyCode.CapsLock, Enum.KeyCode.Escape, Enum.KeyCode.Tab, Enum.KeyCode.Return, Enum.KeyCode.Backspace, Enum.KeyCode.Space, Enum.KeyCode.W, Enum.KeyCode.A, Enum.KeyCode.S, Enum.KeyCode.D}
for _,v in pairs(game:GetService("CoreGui"):GetChildren()) do
if v.Name == "Revenant" then
v:Destroy()
end
end
function library:GetXY(GuiObject)
local Max, May = GuiObject.AbsoluteSize.X, GuiObject.AbsoluteSize.Y
local Px, Py = math.clamp(Mouse.X - GuiObject.AbsolutePosition.X, 0, Max), math.clamp(Mouse.Y - GuiObject.AbsolutePosition.Y, 0, May)
return Px/Max, Py/May
end
function library:Toggle()
for _,v in pairs(game:GetService("CoreGui"):GetChildren()) do
if v.Name == "Revenant" then
v.Enabled = not v.Enabled
end
end
end
if not game:GetService("CoreGui"):FindFirstChild("NotificationLibrary") then
local notificationLibrary = Instance.new("ScreenGui")
notificationLibrary.Name = "NotificationLibrary"
notificationLibrary.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
notificationLibrary.Parent = game:GetService("CoreGui")
local notificationHolder = Instance.new("Frame")
notificationHolder.Name = "NotificationHolder"
notificationHolder.AnchorPoint = Vector2.new(0, 0.5)
notificationHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
notificationHolder.BackgroundTransparency = 1
notificationHolder.Position = UDim2.fromScale(0, 0.5)
notificationHolder.Size = UDim2.fromScale(0.8, 1)
notificationHolder.Parent = notificationLibrary
local notificationUIListLayout = Instance.new("UIListLayout")
notificationUIListLayout.Name = "NotificationUIListLayout"
notificationUIListLayout.FillDirection = Enum.FillDirection.Vertical
notificationUIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
notificationUIListLayout.Padding = UDim.new(0, 4)
notificationUIListLayout.VerticalAlignment = Enum.VerticalAlignment.Bottom
notificationUIListLayout.Parent = notificationHolder
local notificationUIPadding = Instance.new("UIPadding")
notificationUIPadding.Name = "NotificationUIPadding"
notificationUIPadding.PaddingBottom = UDim.new(0, 9)
notificationUIPadding.PaddingLeft = UDim.new(0, 5)
notificationUIPadding.Parent = notificationHolder
end
local NotificationLib = game:GetService("CoreGui"):FindFirstChild("NotificationLibrary")
local Holder = NotificationLib:FindFirstChild("NotificationHolder")
function library:Notification(NotificationInfo)
NotificationInfo.Text = NotificationInfo.Text or "This is a notification."
NotificationInfo.Duration = NotificationInfo.Duration or 5
NotificationInfo.Color = NotificationInfo.Color or library.DefaultColor
local notificationText = Instance.new("TextLabel")
notificationText.Name = "NotificationText"
notificationText.ClipsDescendants = true
notificationText.Font = Enum.Font.GothamBold
notificationText.Text = NotificationInfo.Text
notificationText.TextColor3 = Color3.fromRGB(214, 214, 214)
notificationText.TextSize = 14
notificationText.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
notificationText.BorderSizePixel = 0
notificationText.Position = UDim2.fromScale(0, 0.954)
notificationText.Size = UDim2.fromOffset(0, 38)
notificationText.Parent = Holder
local outerFrame = Instance.new("Frame")
outerFrame.Name = "OuterFrame"
outerFrame.AnchorPoint = Vector2.new(0, 1)
outerFrame.BackgroundColor3 = NotificationInfo.Color
outerFrame.BorderSizePixel = 0
outerFrame.Position = UDim2.fromScale(0, 1)
outerFrame.Size = UDim2.new(1, 0, 0, 3)
outerFrame.ZIndex = 2
outerFrame.Parent = notificationText
local notificationUICorner = Instance.new("UICorner")
notificationUICorner.Name = "NotificationUICorner"
notificationUICorner.CornerRadius = UDim.new(0, 4)
notificationUICorner.Parent = notificationText
local innerFrame = Instance.new("Frame")
innerFrame.Name = "InnerFrame"
innerFrame.AnchorPoint = Vector2.new(0, 1)
innerFrame.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
innerFrame.BorderSizePixel = 0
innerFrame.Position = UDim2.fromScale(0, 1)
innerFrame.Size = UDim2.new(1, 0, 0, 3)
innerFrame.Parent = notificationText
local NotifText = notificationText
local TextBounds = NotifText.TextBounds
coroutine.wrap(function()
local InTween = TweenService:Create(NotifText, TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, TextBounds.X + 20, 0, 38)})
InTween:Play()
InTween.Completed:Wait()
local LineTween = TweenService:Create(outerFrame, TweenInfo.new(NotificationInfo.Duration, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {Size = UDim2.new(0, 0, 0, 3)})
LineTween:Play()
LineTween.Completed:Wait()
local OutTween = TweenService:Create(NotifText, TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Size = UDim2.new(0, 0, 0, 38)})
OutTween:Play()
OutTween.Completed:Wait()
notificationText:Destroy()
end)()
end
local Request = syn and syn.request or http and http.request or http_request or request or httprequest
local getcustomasset = getcustomasset or getsynasset
if not isfolder("Revenant") then
makefolder("Revenant")
local Circle = Request({
Url = "https://github.com/Rain-Design/Libraries/blob/main/Icon/Circle.png?raw=true",
Method = "GET"
})
writefile("Revenant/Circle.png", Circle.Body)
library:Notification({
Text = "Downloaded Toggle Asset.",
Duration = 3
})
end
function library:Window(Info)
Info.Text = Info.Text or "Revenant"
local Pos = 0.05
for _,v in pairs(game:GetService("CoreGui"):GetChildren()) do
if v.Name == "Revenant" then
Pos = Pos + 0.12
end
end
local insidewindow = {}
local revenant = Instance.new("ScreenGui")
revenant.Name = "Revenant"
revenant.Parent = game:GetService("CoreGui")
local WindowOpened = Instance.new("BoolValue", revenant)
WindowOpened.Value = true
local topbar = Instance.new("Frame")
topbar.Name = "Topbar"
topbar.BackgroundColor3 = Color3.fromRGB(29, 29, 29)
topbar.Position = UDim2.fromScale(Pos, 0.1)
topbar.Size = UDim2.fromOffset(225, 38)
topbar.Parent = revenant
local dragging
local dragInput
local dragStart
local startPos
local function update(input)
local delta = input.Position - dragStart
topbar.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
topbar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = topbar.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
topbar.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
local uICorner = Instance.new("UICorner")
uICorner.Name = "UICorner"
uICorner.CornerRadius = UDim.new(0, 4)
uICorner.Parent = topbar
local BackgroundSize = 0
local backgroundFrame = Instance.new("Frame")
backgroundFrame.Name = "BackgroundFrame"
backgroundFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
backgroundFrame.BorderSizePixel = 0
backgroundFrame.ClipsDescendants = false
backgroundFrame.Position = UDim2.fromScale(0, 1)
backgroundFrame.Size = UDim2.fromOffset(225, 0)
backgroundFrame.Parent = topbar
local uICorner1 = Instance.new("UICorner")
uICorner1.Name = "UICorner"
uICorner1.CornerRadius = UDim.new(0, 4)
uICorner1.Parent = backgroundFrame
local fixLine = Instance.new("Frame")
fixLine.Name = "FixLine"
fixLine.AnchorPoint = Vector2.new(0.5, 0)
fixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
fixLine.BorderSizePixel = 0
fixLine.Position = UDim2.fromScale(0.5, 0)
fixLine.Size = UDim2.fromOffset(225, 2)
fixLine.Parent = backgroundFrame
fixLine.ZIndex = 2
local itemContainer = Instance.new("Frame")
itemContainer.Name = "ItemContainer"
itemContainer.AnchorPoint = Vector2.new(0.5, 0)
itemContainer.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
itemContainer.BackgroundTransparency = 1
itemContainer.BorderSizePixel = 0
itemContainer.Position = UDim2.fromScale(0.5, 0)
itemContainer.Size = UDim2.fromOffset(225, 0) -- 38
itemContainer.Parent = backgroundFrame
itemContainer.ChildAdded:Connect(function(v)
if v.ClassName ~= "UIListLayout" then
backgroundFrame.Size = UDim2.new(0,225,0,itemContainer.Size.Y.Offset + 38)
itemContainer.Size = UDim2.new(0,225,0,itemContainer.Size.Y.Offset + 38)
BackgroundSize = BackgroundSize + 38
end
end)
itemContainer.ChildRemoved:Connect(function(v)
if v.ClassName ~= "UIListLayout" then
backgroundFrame.Size = UDim2.new(0,225,0,itemContainer.Size.Y.Offset - 38)
itemContainer.Size = UDim2.new(0,225,0,itemContainer.Size.Y.Offset - 38)
BackgroundSize = BackgroundSize - 38
end
end)
local uIListLayout = Instance.new("UIListLayout")
uIListLayout.Name = "UIListLayout"
uIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
uIListLayout.Parent = itemContainer
function insidewindow:Button(Info)
Info.Text = Info.Text or "Button"
Info.Callback = Info.Callback or function() end
local button = Instance.new("Frame")
button.Name = "Button"
button.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
button.Size = UDim2.fromOffset(225, 38)
button.Parent = itemContainer
local uICorner2 = Instance.new("UICorner")
uICorner2.Name = "UICorner"
uICorner2.CornerRadius = UDim.new(0, 4)
uICorner2.Parent = button
local fixLine1 = Instance.new("Frame")
fixLine1.Name = "FixLine"
fixLine1.AnchorPoint = Vector2.new(0.5, 1)
fixLine1.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
fixLine1.BorderSizePixel = 0
fixLine1.Position = UDim2.fromScale(0.5, 0.0526)
fixLine1.Size = UDim2.fromOffset(225, 4)
fixLine1.Parent = button
local buttonTextButton = Instance.new("TextButton")
buttonTextButton.Name = "ButtonTextButton"
buttonTextButton.Font = Enum.Font.GothamBold
buttonTextButton.Text = ""
buttonTextButton.TextColor3 = Color3.fromRGB(214, 214, 214)
buttonTextButton.TextSize = 13
buttonTextButton.AutoButtonColor = false
buttonTextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
buttonTextButton.BackgroundTransparency = 1
buttonTextButton.Size = UDim2.fromOffset(225, 38)
buttonTextButton.Parent = button
local buttonTextLabel = Instance.new("TextLabel")
buttonTextLabel.Name = "ButtonTextLabel"
buttonTextLabel.Font = Enum.Font.GothamBold
buttonTextLabel.Text = Info.Text
buttonTextLabel.TextColor3 = Color3.fromRGB(214, 214, 214)
buttonTextLabel.TextSize = 13
buttonTextLabel.TextXAlignment = Enum.TextXAlignment.Left
buttonTextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
buttonTextLabel.BackgroundTransparency = 1
buttonTextLabel.Position = UDim2.fromScale(0.0489, 0)
buttonTextLabel.Size = UDim2.fromOffset(214, 38)
buttonTextLabel.Parent = button
button.MouseEnter:Connect(function()
fixLine1.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
button.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
end)
button.MouseLeave:Connect(function()
fixLine1.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
button.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
end)
buttonTextButton.MouseButton1Click:Connect(function()
pcall(Info.Callback)
end)
end
function insidewindow:Prompt(Info)
Info.Text = Info.Text or "Prompt"
Info.OnConfirm = Info.OnConfirm or function() end
Info.OnCancel = Info.OnCancel or function() end
local prompt = Instance.new("Frame")
prompt.Name = "Prompt"
prompt.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
prompt.Size = UDim2.fromOffset(225, 38)
prompt.Parent = itemContainer
local promptUICorner = Instance.new("UICorner")
promptUICorner.Name = "PromptUICorner"
promptUICorner.CornerRadius = UDim.new(0, 4)
promptUICorner.Parent = prompt
local promptFixLine = Instance.new("Frame")
promptFixLine.Name = "PromptFixLine"
promptFixLine.AnchorPoint = Vector2.new(0.5, 1)
promptFixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
promptFixLine.BorderSizePixel = 0
promptFixLine.Position = UDim2.fromScale(0.5, 0.0526)
promptFixLine.Size = UDim2.fromOffset(225, 4)
promptFixLine.Parent = prompt
local promptTextLabel = Instance.new("TextLabel")
promptTextLabel.Name = "PromptTextLabel"
promptTextLabel.Font = Enum.Font.GothamBold
promptTextLabel.Text = Info.Text
promptTextLabel.TextColor3 = Color3.fromRGB(214, 214, 214)
promptTextLabel.TextSize = 13
promptTextLabel.TextXAlignment = Enum.TextXAlignment.Left
promptTextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
promptTextLabel.BackgroundTransparency = 1
promptTextLabel.Position = UDim2.fromScale(0.0489, 0)
promptTextLabel.Size = UDim2.fromOffset(214, 38)
promptTextLabel.Parent = prompt
local cancelPromptButton = Instance.new("ImageButton")
cancelPromptButton.Name = "CancelPromptButton"
cancelPromptButton.Image = "http://www.roblox.com/asset/?id=6031094678"
cancelPromptButton.ImageColor3 = Color3.fromRGB(214, 214, 214)
cancelPromptButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
cancelPromptButton.BackgroundTransparency = 1
cancelPromptButton.Position = UDim2.fromScale(0.862, 0.263)
cancelPromptButton.Size = UDim2.fromOffset(17, 17)
cancelPromptButton.Parent = prompt
local confirmPromptButton = Instance.new("ImageButton")
confirmPromptButton.Name = "ConfirmPromptButton"
confirmPromptButton.Image = "rbxassetid://7733715400"
confirmPromptButton.ImageColor3 = Color3.fromRGB(214, 214, 214)
confirmPromptButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
confirmPromptButton.BackgroundTransparency = 1
confirmPromptButton.Position = UDim2.fromScale(0.75, 0.263)
confirmPromptButton.Size = UDim2.fromOffset(17, 17)
confirmPromptButton.Parent = prompt
prompt.MouseEnter:Connect(function()
promptFixLine.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
prompt.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
end)
prompt.MouseLeave:Connect(function()
promptFixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
prompt.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
end)
cancelPromptButton.MouseButton1Click:Connect(function()
pcall(Info.OnCancel)
prompt:Destroy()
end)
confirmPromptButton.MouseButton1Click:Connect(function()
pcall(Info.OnConfirm)
prompt:Destroy()
end)
end
function insidewindow:Label(Info)
Info.Text = Info.Text or "Label"
Info.Color = Info.Color or Color3.fromRGB(214, 214, 214)
local insidelabel = {}
local label = Instance.new("Frame")
label.Name = "Label"
label.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
label.Size = UDim2.fromOffset(225, 38)
label.Parent = itemContainer
local labelUICorner = Instance.new("UICorner")
labelUICorner.Name = "LabelUICorner"
labelUICorner.CornerRadius = UDim.new(0, 4)
labelUICorner.Parent = label
local labelFixLine = Instance.new("Frame")
labelFixLine.Name = "LabelFixLine"
labelFixLine.AnchorPoint = Vector2.new(0.5, 1)
labelFixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
labelFixLine.BorderSizePixel = 0
labelFixLine.Position = UDim2.fromScale(0.5, 0.0526)
labelFixLine.Size = UDim2.fromOffset(225, 4)
labelFixLine.Parent = label
local labelTextLabel = Instance.new("TextLabel")
labelTextLabel.Name = "LabelTextLabel"
labelTextLabel.Text = Info.Text
labelTextLabel.Font = Enum.Font.GothamBold
labelTextLabel.TextColor3 = Info.Color
labelTextLabel.TextSize = 13
labelTextLabel.TextXAlignment = Enum.TextXAlignment.Left
labelTextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
labelTextLabel.BackgroundTransparency = 1
labelTextLabel.Position = UDim2.fromScale(0.0489, 0)
labelTextLabel.Size = UDim2.fromOffset(214, 38)
labelTextLabel.Parent = label
label.MouseEnter:Connect(function()
labelFixLine.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
label.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
end)
label.MouseLeave:Connect(function()
labelFixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
label.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
end)
function insidelabel:Set(InsideInfo)
InsideInfo.Text = InsideInfo.Text or labelTextLabel.Text
InsideInfo.Color = InsideInfo.Color or labelTextLabel.TextColor3
labelTextLabel.Text = InsideInfo.Text
labelTextLabel.TextColor3 = InsideInfo.Color
end
return insidelabel
end
function insidewindow:Toggle(Info)
Info.Text = Info.Text or "Toggle"
Info.Flag = Info.Flag or Info.Text
Info.Default = Info.Default or false
Info.Callback = Info.Callback or function() end
local insidetoggle = {}
library.Flags[Info.Flag] = Info.Default
local Toggled = false
local toggle = Instance.new("Frame")
toggle.Name = "Toggle"
toggle.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
toggle.Size = UDim2.fromOffset(225, 38)
toggle.Parent = itemContainer
local uICorner = Instance.new("UICorner")
uICorner.Name = "UICorner"
uICorner.CornerRadius = UDim.new(0, 4)
uICorner.Parent = toggle
local fixLineToggle = Instance.new("Frame")
fixLineToggle.Name = "FixLine"
fixLineToggle.AnchorPoint = Vector2.new(0.5, 1)
fixLineToggle.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
fixLineToggle.BorderSizePixel = 0
fixLineToggle.Position = UDim2.fromScale(0.5, 0.0526)
fixLineToggle.Size = UDim2.fromOffset(225, 4)
fixLineToggle.Parent = toggle
local toggleTextButton = Instance.new("TextButton")
toggleTextButton.Name = "ToggleTextButton"
toggleTextButton.Font = Enum.Font.GothamBold
toggleTextButton.Text = ""
toggleTextButton.TextColor3 = Color3.fromRGB(214, 214, 214)
toggleTextButton.TextSize = 13
toggleTextButton.AutoButtonColor = false
toggleTextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
toggleTextButton.BackgroundTransparency = 1
toggleTextButton.Size = UDim2.fromOffset(225, 38)
toggleTextButton.Parent = toggle
local toggleTextLabel = Instance.new("TextLabel")
toggleTextLabel.Name = "ToggleTextLabel"
toggleTextLabel.Font = Enum.Font.GothamBold
toggleTextLabel.Text = Info.Text
toggleTextLabel.TextColor3 = Color3.fromRGB(214, 214, 214)
toggleTextLabel.TextSize = 13
toggleTextLabel.TextXAlignment = Enum.TextXAlignment.Left
toggleTextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
toggleTextLabel.BackgroundTransparency = 1
toggleTextLabel.Position = UDim2.fromScale(0.0489, 0)
toggleTextLabel.Size = UDim2.fromOffset(214, 38)
toggleTextLabel.Parent = toggle
local outerFrame = Instance.new("Frame")
outerFrame.Name = "OuterFrame"
outerFrame.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
outerFrame.BorderSizePixel = 0
outerFrame.Position = UDim2.fromScale(0.782, 0.263)
outerFrame.Size = UDim2.fromOffset(38, 17)
outerFrame.Parent = toggle
local uICorner1 = Instance.new("UICorner")
uICorner1.Name = "UICorner"
uICorner1.CornerRadius = UDim.new(1, 0)
uICorner1.Parent = outerFrame
local innerFrame = Instance.new("ImageLabel")
innerFrame.Name = "InnerFrame"
innerFrame.Image = getcustomasset("Revenant/Circle.png")
innerFrame.ResampleMode = "Pixelated"
innerFrame.ImageColor3 = Color3.fromRGB(255, 255, 255)
innerFrame.BackgroundTransparency = 1
innerFrame.Position = UDim2.fromOffset(3, 2)
innerFrame.Size = UDim2.fromOffset(13, 13)
innerFrame.Parent = outerFrame
pcall(Info.Callback, Info.Default)
innerFrame.Position = Info.Default and UDim2.new(0, 22,0, 2) or UDim2.new(0, 3,0, 2)
outerFrame.BackgroundColor3 = Info.Default and library.DefaultColor or Color3.fromRGB(62, 62, 62)
toggle.MouseEnter:Connect(function()
fixLineToggle.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
toggle.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
end)
toggle.MouseLeave:Connect(function()
fixLineToggle.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
toggle.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
end)
function insidetoggle:Set(ToggleInfo)
ToggleInfo.Bool = ToggleInfo.Bool or false
Toggled = ToggleInfo.Bool
library.Flags[Info.Flag] = ToggleInfo.Bool
pcall(Info.Callback, ToggleInfo.Bool)
TweenService:Create(innerFrame, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut),{Position = ToggleInfo.Bool and UDim2.new(0, 22,0, 2) or UDim2.new(0, 3,0, 2)}):Play()
TweenService:Create(outerFrame, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut),{BackgroundColor3 = ToggleInfo.Bool and library.DefaultColor or Color3.fromRGB(62, 62, 62)}):Play()
end
toggleTextButton.MouseButton1Click:Connect(function()
Toggled = not Toggled
library.Flags[Info.Flag] = Toggled
pcall(Info.Callback, Toggled)
TweenService:Create(innerFrame, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut),{Position = Toggled and UDim2.new(0, 22,0, 2) or UDim2.new(0, 3,0, 2)}):Play()
TweenService:Create(outerFrame, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut),{BackgroundColor3 = Toggled and library.DefaultColor or Color3.fromRGB(62, 62, 62)}):Play()
end)
return insidetoggle
end
function insidewindow:Dropdown(Info)
Info.Text = Info.Text or "Dropdown"
Info.List = Info.List or {}
Info.Callback = Info.Callback or function() end
local insidedropdown = {}
local DropdownSize = 0
local dropdown = Instance.new("Frame")
dropdown.Name = "Dropdown"
dropdown.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
dropdown.Size = UDim2.fromOffset(225, 38)
dropdown.Parent = itemContainer
local dropdownUICorner = Instance.new("UICorner")
dropdownUICorner.Name = "DropdownUICorner"
dropdownUICorner.CornerRadius = UDim.new(0, 4)
dropdownUICorner.Parent = dropdown
local dropdownFixLine = Instance.new("Frame")
dropdownFixLine.Name = "DropdownFixLine"
dropdownFixLine.AnchorPoint = Vector2.new(0.5, 1)
dropdownFixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
dropdownFixLine.BorderSizePixel = 0
dropdownFixLine.Position = UDim2.fromScale(0.5, 0.04)
dropdownFixLine.ZIndex = 2
dropdownFixLine.Size = UDim2.fromOffset(225, 4)
dropdownFixLine.Parent = dropdown
local dropdownButton = Instance.new("TextButton")
dropdownButton.Name = "DropdownButton"
dropdownButton.Font = Enum.Font.GothamBold
dropdownButton.Text = ""
dropdownButton.TextColor3 = Color3.fromRGB(214, 214, 214)
dropdownButton.TextSize = 13
dropdownButton.AutoButtonColor = false
dropdownButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
dropdownButton.BackgroundTransparency = 1
dropdownButton.Size = UDim2.fromOffset(225, 38)
dropdownButton.Parent = dropdown
local dropdownText = Instance.new("TextLabel")
dropdownText.Name = "DropdownText"
dropdownText.Font = Enum.Font.GothamBold
dropdownText.Text = Info.Text
dropdownText.TextColor3 = Color3.fromRGB(214, 214, 214)
dropdownText.TextSize = 13
dropdownText.TextXAlignment = Enum.TextXAlignment.Left
dropdownText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
dropdownText.BackgroundTransparency = 1
dropdownText.Position = UDim2.fromScale(0.0489, 0)
dropdownText.Size = UDim2.fromOffset(214, 38)
dropdownText.Parent = dropdown
local dropdownContainerButton = Instance.new("ImageLabel")
dropdownContainerButton.Name = "DropdownContainerButton"
dropdownContainerButton.Image = "rbxassetid://7733717447"
dropdownContainerButton.ImageColor3 = Color3.fromRGB(129, 129, 129)
dropdownContainerButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
dropdownContainerButton.BackgroundTransparency = 1
dropdownContainerButton.Position = UDim2.fromScale(0.867, 0.263)
dropdownContainerButton.Size = UDim2.fromOffset(17, 17)
dropdownContainerButton.Parent = dropdown
local dropdownContainerBackground = Instance.new("Frame")
dropdownContainerBackground.Visible = true
dropdownContainerBackground.Name = "DropdownContainerBackground"
dropdownContainerBackground.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
dropdownContainerBackground.BorderSizePixel = 0
dropdownContainerBackground.Position = UDim2.fromScale(0, 1)
dropdownContainerBackground.Size = UDim2.fromOffset(225, 0)
dropdownContainerBackground.ClipsDescendants = true
dropdownContainerBackground.ZIndex = -1
dropdownContainerBackground.Parent = dropdown
local dropdownFixLine1 = Instance.new("Frame")
dropdownFixLine1.Name = "DropdownFixLine"
dropdownFixLine1.AnchorPoint = Vector2.new(0.5, 0)
dropdownFixLine1.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
dropdownFixLine1.BorderSizePixel = 0
dropdownFixLine1.Position = UDim2.new(0.5, 0, 0, -2)
dropdownFixLine1.Size = UDim2.fromOffset(225, 4)
dropdownFixLine1.ZIndex = 2
dropdownFixLine1.Visible = false
dropdownFixLine1.Parent = dropdownContainerBackground
local dropdownUICorner1 = Instance.new("UICorner")
dropdownUICorner1.Name = "DropdownUICorner"
dropdownUICorner1.CornerRadius = UDim.new(0, 4)
dropdownUICorner1.Parent = dropdownContainerBackground
local dropdownContainer = Instance.new("Frame")
dropdownContainer.Visible = true
dropdownContainer.Name = "DropdownContainer"
dropdownContainer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
dropdownContainer.BackgroundTransparency = 1
dropdownContainer.ClipsDescendants = true
dropdownContainer.Position = UDim2.fromScale(0, 0)
dropdownContainer.Size = UDim2.fromOffset(225, 0)
dropdownContainer.ZIndex = 2
dropdownContainer.Parent = dropdownContainerBackground
local dropdownUIListLayout = Instance.new("UIListLayout")
dropdownUIListLayout.Name = "DropdownUIListLayout"
dropdownUIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
dropdownUIListLayout.Parent = dropdownContainer
dropdown.MouseEnter:Connect(function()
dropdownFixLine.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
dropdown.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
end)
dropdown.MouseLeave:Connect(function()
dropdownFixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
dropdown.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
end)
local Opened = false
dropdownButton.MouseButton1Click:Connect(function()
Opened = not Opened
TweenService:Create(dropdownContainerButton, TweenInfo.new(.1, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {Rotation = Opened and 180 or 0}):Play()
backgroundFrame.ClipsDescendants = false
TweenService:Create(dropdownContainerBackground, TweenInfo.new(.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {Size = Opened and UDim2.new(0, 225,0,DropdownSize) or UDim2.new(0, 225, 0, 0)}):Play()
TweenService:Create(dropdownContainer, TweenInfo.new(.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {Size = Opened and UDim2.new(0, 225,0,DropdownSize) or UDim2.new(0, 225, 0, 0)}):Play()
dropdownFixLine1.Visible = Opened
end)
function insidedropdown:Button(Info2)
Info2.Text = Info2.Text or "Option"
local buttonDropdown = Instance.new("Frame")
buttonDropdown.Name = "ButtonDropdown"
buttonDropdown.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
buttonDropdown.Size = UDim2.fromOffset(225, 27)
buttonDropdown.ZIndex = 3
buttonDropdown.Parent = dropdownContainer
local dropdownButtonTextButton = Instance.new("TextButton")
dropdownButtonTextButton.Name = "DropdownButtonTextButton"
dropdownButtonTextButton.Font = Enum.Font.SourceSans
dropdownButtonTextButton.Text = ""
dropdownButtonTextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
dropdownButtonTextButton.TextSize = 14
dropdownButtonTextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
dropdownButtonTextButton.BackgroundTransparency = 1
dropdownButtonTextButton.Size = UDim2.fromOffset(225, 27)
dropdownButtonTextButton.ZIndex = 2
dropdownButtonTextButton.Parent = buttonDropdown
local dropdown2Text = Instance.new("TextLabel")
dropdown2Text.Name = "DropdownText"
dropdown2Text.Font = Enum.Font.GothamBold
dropdown2Text.Text = Info2.Text
dropdown2Text.TextColor3 = Color3.fromRGB(214, 214, 214)
dropdown2Text.TextSize = 12
dropdown2Text.TextXAlignment = Enum.TextXAlignment.Left
dropdown2Text.Active = true
dropdown2Text.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
dropdown2Text.BackgroundTransparency = 1
dropdown2Text.Position = UDim2.fromScale(0.0489, 0)
dropdown2Text.Size = UDim2.fromOffset(214, 27)
dropdown2Text.ZIndex = 3
dropdown2Text.Parent = buttonDropdown
local dropdownButtonUICorner = Instance.new("UICorner")
dropdownButtonUICorner.Name = "DropdownButtonUICorner"
dropdownButtonUICorner.CornerRadius = UDim.new(0, 4)
dropdownButtonUICorner.Parent = buttonDropdown
buttonDropdown.MouseEnter:Connect(function()
buttonDropdown.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
end)
buttonDropdown.MouseLeave:Connect(function()
buttonDropdown.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
end)
WindowOpened:GetPropertyChangedSignal("Value"):Connect(function()
if not WindowOpened.Value and dropdownContainerBackground.Visible then
Opened = false
dropdownContainerButton.Rotation = 0
dropdownContainerBackground.Size = UDim2.new(0,225,0,0)
dropdownContainer.Size = UDim2.new(0,225,0,0)
backgroundFrame.ClipsDescendants = false
dropdownFixLine1.Visible = false
end
end)
dropdownButtonTextButton.MouseButton1Click:Connect(function()
pcall(Info.Callback, Info2.Text)
dropdownText.Text = Info2.Text
Opened = false
TweenService:Create(dropdownContainerButton, TweenInfo.new(.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {Rotation = 0}):Play()
TweenService:Create(dropdownContainerBackground, TweenInfo.new(.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {Size = UDim2.new(0, 225, 0, 0)}):Play()
TweenService:Create(dropdownContainer, TweenInfo.new(.15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {Size = UDim2.new(0, 225, 0, 0)}):Play()
dropdownFixLine1.Visible = false
end)
end
dropdownContainer.ChildAdded:Connect(function(v)
if v.ClassName ~= "UIListLayout" then
DropdownSize = DropdownSize + 27
end
end)
for _,item in pairs(Info.List) do
insidedropdown:Button({
Text = item
})
end
return insidedropdown
end
function insidewindow:Keybind(Info)
Info.Text = Info.Text or "Keybind"
Info.Default = Info.Default or Enum.KeyCode.LeftAlt
Info.Callback = Info.Callback or function() end
local PressKey = Info.Default
local keybind = Instance.new("Frame")
keybind.Name = "Keybind"
keybind.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
keybind.Size = UDim2.fromOffset(225, 38)
keybind.Parent = itemContainer
local keybindUICorner = Instance.new("UICorner")
keybindUICorner.Name = "KeybindUICorner"
keybindUICorner.CornerRadius = UDim.new(0, 4)
keybindUICorner.Parent = keybind
local keybindFixLine = Instance.new("Frame")
keybindFixLine.Name = "KeybindFixLine"
keybindFixLine.AnchorPoint = Vector2.new(0.5, 1)
keybindFixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
keybindFixLine.BorderSizePixel = 0
keybindFixLine.Position = UDim2.fromScale(0.5, 0.0526)
keybindFixLine.Size = UDim2.fromOffset(225, 4)
keybindFixLine.Parent = keybind
local keybindButton = Instance.new("TextButton")
keybindButton.Name = "KeybindButton"
keybindButton.Font = Enum.Font.GothamBold
keybindButton.Text = ""
keybindButton.TextColor3 = Color3.fromRGB(214, 214, 214)
keybindButton.TextSize = 13
keybindButton.AutoButtonColor = false
keybindButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
keybindButton.BackgroundTransparency = 1
keybindButton.Size = UDim2.fromOffset(225, 38)
keybindButton.Parent = keybind
local keybindTextLabel = Instance.new("TextLabel")
keybindTextLabel.Name = "KeybindTextLabel"
keybindTextLabel.Font = Enum.Font.GothamBold
keybindTextLabel.Text = Info.Text
keybindTextLabel.TextColor3 = Color3.fromRGB(214, 214, 214)
keybindTextLabel.TextSize = 13
keybindTextLabel.TextXAlignment = Enum.TextXAlignment.Left
keybindTextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
keybindTextLabel.BackgroundTransparency = 1
keybindTextLabel.Position = UDim2.fromScale(0.0489, 0)
keybindTextLabel.Size = UDim2.fromOffset(214, 38)
keybindTextLabel.Parent = keybind
local keybindFixHolder = Instance.new("Frame")
keybindFixHolder.Name = "KeybindFixHolder"
keybindFixHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
keybindFixHolder.BackgroundTransparency = 1
keybindFixHolder.Position = UDim2.fromScale(0, 0.263)
keybindFixHolder.Size = UDim2.fromOffset(214, 17)
keybindFixHolder.Parent = keybind
local keybindHolder = Instance.new("Frame")
keybindHolder.Name = "KeybindHolder"
keybindHolder.AnchorPoint = Vector2.new(1, 0.5)
keybindHolder.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
keybindHolder.BorderSizePixel = 0
keybindHolder.Position = UDim2.fromScale(1, 0.5)
keybindHolder.Size = UDim2.fromOffset(38, 17)
keybindHolder.Parent = keybindFixHolder
local keybindHolderUICorner = Instance.new("UICorner")
keybindHolderUICorner.Name = "KeybindHolderUICorner"
keybindHolderUICorner.CornerRadius = UDim.new(0, 4)
keybindHolderUICorner.Parent = keybindHolder
local keybindText = Instance.new("TextLabel")
keybindText.Name = "KeybindText"
keybindText.Font = Enum.Font.GothamBold
keybindText.Text = PressKey.Name
keybindText.TextColor3 = Color3.fromRGB(214, 214, 214)
keybindText.TextSize = 12
keybindText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
keybindText.BackgroundTransparency = 1
keybindText.Size = UDim2.fromOffset(38, 17)
keybindText.Parent = keybindHolder
keybind.MouseEnter:Connect(function()
keybindFixLine.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
keybind.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
end)
keybind.MouseLeave:Connect(function()
keybindFixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
keybind.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
end)
local TextBounds = keybindText.TextBounds
keybindHolder.Size = UDim2.new(0, TextBounds.X + 15, 0, 17)
keybindText.Size = UDim2.new(0, TextBounds.X + 15, 0, 17)
keybindText:GetPropertyChangedSignal("Text"):Connect(function()
TextBounds = keybindText.TextBounds
keybindHolder.Size = UDim2.new(0, TextBounds.X + 15, 0, 17)
keybindText.Size = UDim2.new(0, TextBounds.X + 15, 0, 17)
end)
local KeybindConnection
local Changing = false
keybindButton.MouseButton1Click:Connect(function()
if KeybindConnection then KeybindConnection:Disconnect() end
Changing = true
keybindText.Text = "..."
KeybindConnection = UserInputService.InputBegan:Connect(function(Key, gameProcessed)
if not table.find(Blacklist, Key.KeyCode) and not gameProcessed then
KeybindConnection:Disconnect()
keybindText.Text = Key.KeyCode.Name
PressKey = Key.KeyCode
wait(.1)
Changing = false
end
end)
end)
UserInputService.InputBegan:Connect(function(Key, gameProcessed)
if not Changing and Key.KeyCode == PressKey and not gameProcessed then
pcall(Info.Callback)
end
end)
end
function insidewindow:Slider(Info)
Info.Text = Info.Text or "Slider"
Info.Flag = Info.Flag or Info.Text
Info.Postfix = Info.Postfix or ""
Info.Minimum = Info.Minimum or 1
Info.Default = Info.Default or 5
Info.Maximum = Info.Maximum or 100
Info.Callback = Info.Callback or function() end
if Info.Minimum > Info.Maximum then
local ValueBefore = Info.Minimum
Info.Minimum, Info.Maximum = Info.Maximum, ValueBefore
end
Info.Default = math.clamp(Info.Default, Info.Minimum, Info.Maximum)
local DefaultScale = (Info.Default - Info.Minimum) / (Info.Maximum - Info.Minimum)
local insideslider = {}
local slider = Instance.new("Frame")
slider.Name = "Slider"
slider.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
slider.Size = UDim2.fromOffset(225, 38)
slider.Parent = itemContainer
local sliderUICorner = Instance.new("UICorner")
sliderUICorner.Name = "SliderUICorner"
sliderUICorner.CornerRadius = UDim.new(0, 4)
sliderUICorner.Parent = slider
local sliderFixLine = Instance.new("Frame")
sliderFixLine.Name = "SliderFixLine"
sliderFixLine.AnchorPoint = Vector2.new(0.5, 1)
sliderFixLine.BackgroundColor3 = Color3.fromRGB(36, 36, 36)
sliderFixLine.BorderSizePixel = 0
sliderFixLine.Position = UDim2.fromScale(0.5, 0.0526)
sliderFixLine.Size = UDim2.fromOffset(225, 4)
sliderFixLine.Parent = slider
local sliderText = Instance.new("TextLabel")
sliderText.Name = "SliderText"
sliderText.Font = Enum.Font.GothamBold
sliderText.Text = Info.Text
sliderText.TextColor3 = Color3.fromRGB(214, 214, 214)
sliderText.TextSize = 13
sliderText.TextXAlignment = Enum.TextXAlignment.Left
sliderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
sliderText.BackgroundTransparency = 1
sliderText.Position = UDim2.fromScale(0.0489, 0)
sliderText.Size = UDim2.fromOffset(214, 19)
sliderText.Parent = slider
local sliderFrames = Instance.new("Frame")
sliderFrames.Name = "SliderFrames"
sliderFrames.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
sliderFrames.BackgroundTransparency = 1
sliderFrames.Position = UDim2.fromScale(0.0489, 0.5)
sliderFrames.Size = UDim2.fromOffset(199, 10)