-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathdiscord
3247 lines (2872 loc) · 118 KB
/
discord
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
local DiscordLib = {}
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local LocalPlayer = game:GetService("Players").LocalPlayer
local Mouse = LocalPlayer:GetMouse()
local HttpService = game:GetService("HttpService")
local pfp
local user
local tag
local userinfo = {}
pcall(function()
userinfo = HttpService:JSONDecode(readfile("discordlibinfo.txt"));
end)
pfp = userinfo["pfp"] or "https://www.roblox.com/headshot-thumbnail/image?userId=".. game.Players.LocalPlayer.UserId .."&width=420&height=420&format=png"
user = userinfo["user"] or game.Players.LocalPlayer.Name
tag = userinfo["tag"] or tostring(math.random(1000,9999))
local function SaveInfo()
userinfo["pfp"] = pfp
userinfo["user"] = user
userinfo["tag"] = tag
writefile("discordlibinfo.txt", HttpService:JSONEncode(userinfo));
end
local function MakeDraggable(topbarobject, object)
local Dragging = nil
local DragInput = nil
local DragStart = nil
local StartPosition = nil
local function Update(input)
local Delta = input.Position - DragStart
local pos =
UDim2.new(
StartPosition.X.Scale,
StartPosition.X.Offset + Delta.X,
StartPosition.Y.Scale,
StartPosition.Y.Offset + Delta.Y
)
object.Position = pos
end
topbarobject.InputBegan:Connect(
function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
Dragging = true
DragStart = input.Position
StartPosition = object.Position
input.Changed:Connect(
function()
if input.UserInputState == Enum.UserInputState.End then
Dragging = false
end
end
)
end
end
)
topbarobject.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
)
end
local Discord = Instance.new("ScreenGui")
Discord.Name = "Discord"
Discord.Parent = game.CoreGui
Discord.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
function DiscordLib:Window(text)
local currentservertoggled = ""
local minimized = false
local fs = false
local settingsopened = false
local MainFrame = Instance.new("Frame")
local TopFrame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local CloseBtn = Instance.new("TextButton")
local CloseIcon = Instance.new("ImageLabel")
local MinimizeBtn = Instance.new("TextButton")
local MinimizeIcon = Instance.new("ImageLabel")
local ServersHolder = Instance.new("Folder")
local Userpad = Instance.new("Frame")
local UserIcon = Instance.new("Frame")
local UserIconCorner = Instance.new("UICorner")
local UserImage = Instance.new("ImageLabel")
local UserCircleImage = Instance.new("ImageLabel")
local UserName = Instance.new("TextLabel")
local UserTag = Instance.new("TextLabel")
local ServersHoldFrame = Instance.new("Frame")
local ServersHold = Instance.new("ScrollingFrame")
local ServersHoldLayout = Instance.new("UIListLayout")
local ServersHoldPadding = Instance.new("UIPadding")
local TopFrameHolder = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Parent = Discord
MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
MainFrame.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
MainFrame.BorderSizePixel = 0
MainFrame.ClipsDescendants = true
MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
MainFrame.Size = UDim2.new(0, 681, 0, 396)
TopFrame.Name = "TopFrame"
TopFrame.Parent = MainFrame
TopFrame.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
TopFrame.BackgroundTransparency = 1.000
TopFrame.BorderSizePixel = 0
TopFrame.Position = UDim2.new(-0.000658480625, 0, 0, 0)
TopFrame.Size = UDim2.new(0, 681, 0, 22)
TopFrameHolder.Name = "TopFrameHolder"
TopFrameHolder.Parent = TopFrame
TopFrameHolder.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
TopFrameHolder.BackgroundTransparency = 1.000
TopFrameHolder.BorderSizePixel = 0
TopFrameHolder.Position = UDim2.new(-0.000658480625, 0, 0, 0)
TopFrameHolder.Size = UDim2.new(0, 681, 0, 22)
Title.Name = "Title"
Title.Parent = TopFrame
Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Title.BackgroundTransparency = 1.000
Title.Position = UDim2.new(0.0102790017, 0, 0, 0)
Title.Size = UDim2.new(0, 192, 0, 23)
Title.Font = Enum.Font.Gotham
Title.Text = text
Title.TextColor3 = Color3.fromRGB(99, 102, 109)
Title.TextSize = 13.000
Title.TextXAlignment = Enum.TextXAlignment.Left
CloseBtn.Name = "CloseBtn"
CloseBtn.Parent = TopFrame
CloseBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
CloseBtn.BackgroundTransparency = 0
CloseBtn.Position = UDim2.new(0.959063113, 0, -0.0169996787, 0)
CloseBtn.Size = UDim2.new(0, 28, 0, 22)
CloseBtn.Font = Enum.Font.Gotham
CloseBtn.Text = ""
CloseBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseBtn.TextSize = 14.000
CloseBtn.BorderSizePixel = 0
CloseBtn.AutoButtonColor = false
CloseIcon.Name = "CloseIcon"
CloseIcon.Parent = CloseBtn
CloseIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CloseIcon.BackgroundTransparency = 1.000
CloseIcon.Position = UDim2.new(0.189182192, 0, 0.128935531, 0)
CloseIcon.Size = UDim2.new(0, 17, 0, 17)
CloseIcon.Image = "http://www.roblox.com/asset/?id=6035047409"
CloseIcon.ImageColor3 = Color3.fromRGB(220, 221, 222)
MinimizeBtn.Name = "MinimizeButton"
MinimizeBtn.Parent = TopFrame
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
MinimizeBtn.BackgroundTransparency = 0
MinimizeBtn.Position = UDim2.new(0.917947114, 0, -0.0169996787, 0)
MinimizeBtn.Size = UDim2.new(0, 28, 0, 22)
MinimizeBtn.Font = Enum.Font.Gotham
MinimizeBtn.Text = ""
MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeBtn.TextSize = 14.000
MinimizeBtn.BorderSizePixel = 0
MinimizeBtn.AutoButtonColor = false
MinimizeIcon.Name = "MinimizeLabel"
MinimizeIcon.Parent = MinimizeBtn
MinimizeIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
MinimizeIcon.BackgroundTransparency = 1.000
MinimizeIcon.Position = UDim2.new(0.189182192, 0, 0.128935531, 0)
MinimizeIcon.Size = UDim2.new(0, 17, 0, 17)
MinimizeIcon.Image = "http://www.roblox.com/asset/?id=6035067836"
MinimizeIcon.ImageColor3 = Color3.fromRGB(220, 221, 222)
ServersHolder.Name = "ServersHolder"
ServersHolder.Parent = TopFrameHolder
Userpad.Name = "Userpad"
Userpad.Parent = TopFrameHolder
Userpad.BackgroundColor3 = Color3.fromRGB(41, 43, 47)
Userpad.BorderSizePixel = 0
Userpad.Position = UDim2.new(0.106243297, 0, 15.9807148, 0)
Userpad.Size = UDim2.new(0, 179, 0, 43)
UserIcon.Name = "UserIcon"
UserIcon.Parent = Userpad
UserIcon.BackgroundColor3 = Color3.fromRGB(31, 33, 36)
UserIcon.BorderSizePixel = 0
UserIcon.Position = UDim2.new(0.0340000018, 0, 0.123999998, 0)
UserIcon.Size = UDim2.new(0, 32, 0, 32)
UserIconCorner.CornerRadius = UDim.new(1, 8)
UserIconCorner.Name = "UserIconCorner"
UserIconCorner.Parent = UserIcon
UserImage.Name = "UserImage"
UserImage.Parent = UserIcon
UserImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UserImage.BackgroundTransparency = 1.000
UserImage.Size = UDim2.new(0, 32, 0, 32)
UserImage.Image = pfp
UserCircleImage.Name = "UserImage"
UserCircleImage.Parent = UserImage
UserCircleImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UserCircleImage.BackgroundTransparency = 1.000
UserCircleImage.Size = UDim2.new(0, 32, 0, 32)
UserCircleImage.Image = "rbxassetid://4031889928"
UserCircleImage.ImageColor3 = Color3.fromRGB(41, 43, 47)
UserName.Name = "UserName"
UserName.Parent = Userpad
UserName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UserName.BackgroundTransparency = 1.000
UserName.BorderSizePixel = 0
UserName.Position = UDim2.new(0.230000004, 0, 0.115999997, 0)
UserName.Size = UDim2.new(0, 98, 0, 17)
UserName.Font = Enum.Font.GothamSemibold
UserName.TextColor3 = Color3.fromRGB(255, 255, 255)
UserName.TextSize = 13.000
UserName.TextXAlignment = Enum.TextXAlignment.Left
UserName.ClipsDescendants = true
UserTag.Name = "UserTag"
UserTag.Parent = Userpad
UserTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UserTag.BackgroundTransparency = 1.000
UserTag.BorderSizePixel = 0
UserTag.Position = UDim2.new(0.230000004, 0, 0.455000013, 0)
UserTag.Size = UDim2.new(0, 95, 0, 17)
UserTag.Font = Enum.Font.Gotham
UserTag.TextColor3 = Color3.fromRGB(255, 255, 255)
UserTag.TextSize = 13.000
UserTag.TextTransparency = 0.300
UserTag.TextXAlignment = Enum.TextXAlignment.Left
UserName.Text = user
UserTag.Text = "#" .. tag
ServersHoldFrame.Name = "ServersHoldFrame"
ServersHoldFrame.Parent = MainFrame
ServersHoldFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ServersHoldFrame.BackgroundTransparency = 1.000
ServersHoldFrame.BorderColor3 = Color3.fromRGB(27, 42, 53)
ServersHoldFrame.Size = UDim2.new(0, 71, 0, 396)
ServersHold.Name = "ServersHold"
ServersHold.Parent = ServersHoldFrame
ServersHold.Active = true
ServersHold.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ServersHold.BackgroundTransparency = 1.000
ServersHold.BorderSizePixel = 0
ServersHold.Position = UDim2.new(-0.000359333731, 0, 0.0580808073, 0)
ServersHold.Size = UDim2.new(0, 71, 0, 373)
ServersHold.ScrollBarThickness = 1
ServersHold.ScrollBarImageTransparency = 1
ServersHold.CanvasSize = UDim2.new(0, 0, 0, 0)
ServersHoldLayout.Name = "ServersHoldLayout"
ServersHoldLayout.Parent = ServersHold
ServersHoldLayout.SortOrder = Enum.SortOrder.LayoutOrder
ServersHoldLayout.Padding = UDim.new(0, 7)
ServersHoldPadding.Name = "ServersHoldPadding"
ServersHoldPadding.Parent = ServersHold
CloseBtn.MouseButton1Click:Connect(
function()
MainFrame:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
end
)
CloseBtn.MouseEnter:Connect(
function()
CloseBtn.BackgroundColor3 = Color3.fromRGB(240, 71, 71)
end
)
CloseBtn.MouseLeave:Connect(
function()
CloseBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
end
)
MinimizeBtn.MouseEnter:Connect(
function()
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(40, 43, 46)
end
)
MinimizeBtn.MouseLeave:Connect(
function()
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(32, 34, 37)
end
)
MinimizeBtn.MouseButton1Click:Connect(
function()
if minimized == false then
MainFrame:TweenSize(
UDim2.new(0, 681, 0, 22),
Enum.EasingDirection.Out,
Enum.EasingStyle.Quart,
.3,
true
)
else
MainFrame:TweenSize(
UDim2.new(0, 681, 0, 396),
Enum.EasingDirection.Out,
Enum.EasingStyle.Quart,
.3,
true
)
end
minimized = not minimized
end
)
local SettingsOpenBtn = Instance.new("TextButton")
local SettingsOpenBtnIco = Instance.new("ImageLabel")
SettingsOpenBtn.Name = "SettingsOpenBtn"
SettingsOpenBtn.Parent = Userpad
SettingsOpenBtn.BackgroundColor3 = Color3.fromRGB(53, 56, 62)
SettingsOpenBtn.BackgroundTransparency = 1.000
SettingsOpenBtn.Position = UDim2.new(0.849161983, 0, 0.279069781, 0)
SettingsOpenBtn.Size = UDim2.new(0, 18, 0, 18)
SettingsOpenBtn.Font = Enum.Font.SourceSans
SettingsOpenBtn.Text = ""
SettingsOpenBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
SettingsOpenBtn.TextSize = 14.000
SettingsOpenBtnIco.Name = "SettingsOpenBtnIco"
SettingsOpenBtnIco.Parent = SettingsOpenBtn
SettingsOpenBtnIco.BackgroundColor3 = Color3.fromRGB(220, 220, 220)
SettingsOpenBtnIco.BackgroundTransparency = 1.000
SettingsOpenBtnIco.Size = UDim2.new(0, 18, 0, 18)
SettingsOpenBtnIco.Image = "http://www.roblox.com/asset/?id=6031280882"
SettingsOpenBtnIco.ImageColor3 = Color3.fromRGB(220, 220, 220)
local SettingsFrame = Instance.new("Frame")
local Settings = Instance.new("Frame")
local SettingsHolder = Instance.new("Frame")
local CloseSettingsBtn = Instance.new("TextButton")
local CloseSettingsBtnCorner = Instance.new("UICorner")
local CloseSettingsBtnCircle = Instance.new("Frame")
local CloseSettingsBtnCircleCorner = Instance.new("UICorner")
local CloseSettingsBtnIcon = Instance.new("ImageLabel")
local TextLabel = Instance.new("TextLabel")
local UserPanel = Instance.new("Frame")
local UserSettingsPad = Instance.new("Frame")
local UserSettingsPadCorner = Instance.new("UICorner")
local UsernameText = Instance.new("TextLabel")
local UserSettingsPadUserTag = Instance.new("Frame")
local UserSettingsPadUser = Instance.new("TextLabel")
local UserSettingsPadUserTagLayout = Instance.new("UIListLayout")
local UserSettingsPadTag = Instance.new("TextLabel")
local EditBtn = Instance.new("TextButton")
local EditBtnCorner = Instance.new("UICorner")
local UserPanelUserIcon = Instance.new("TextButton")
local UserPanelUserImage = Instance.new("ImageLabel")
local UserPanelUserCircle = Instance.new("ImageLabel")
local BlackFrame = Instance.new("Frame")
local BlackFrameCorner = Instance.new("UICorner")
local ChangeAvatarText = Instance.new("TextLabel")
local SearchIcoFrame = Instance.new("Frame")
local SearchIcoFrameCorner = Instance.new("UICorner")
local SearchIco = Instance.new("ImageLabel")
local UserPanelUserTag = Instance.new("Frame")
local UserPanelUser = Instance.new("TextLabel")
local UserPanelUserTagLayout = Instance.new("UIListLayout")
local UserPanelTag = Instance.new("TextLabel")
local UserPanelCorner = Instance.new("UICorner")
local LeftFrame = Instance.new("Frame")
local MyAccountBtn = Instance.new("TextButton")
local MyAccountBtnCorner = Instance.new("UICorner")
local MyAccountBtnTitle = Instance.new("TextLabel")
local SettingsTitle = Instance.new("TextLabel")
local DiscordInfo = Instance.new("TextLabel")
local CurrentSettingOpen = Instance.new("TextLabel")
SettingsFrame.Name = "SettingsFrame"
SettingsFrame.Parent = MainFrame
SettingsFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
SettingsFrame.BackgroundTransparency = 1.000
SettingsFrame.Size = UDim2.new(0, 681, 0, 396)
SettingsFrame.Visible = false
Settings.Name = "Settings"
Settings.Parent = SettingsFrame
Settings.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
Settings.BorderSizePixel = 0
Settings.Position = UDim2.new(0, 0, 0.0530303046, 0)
Settings.Size = UDim2.new(0, 681, 0, 375)
SettingsHolder.Name = "SettingsHolder"
SettingsHolder.Parent = Settings
SettingsHolder.AnchorPoint = Vector2.new(0.5, 0.5)
SettingsHolder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SettingsHolder.BackgroundTransparency = 1.000
SettingsHolder.ClipsDescendants = true
SettingsHolder.Position = UDim2.new(0.49926579, 0, 0.498666674, 0)
SettingsHolder.Size = UDim2.new(0, 0, 0, 0)
CloseSettingsBtn.Name = "CloseSettingsBtn"
CloseSettingsBtn.Parent = SettingsHolder
CloseSettingsBtn.AnchorPoint = Vector2.new(0.5, 0.5)
CloseSettingsBtn.BackgroundColor3 = Color3.fromRGB(113, 117, 123)
CloseSettingsBtn.Position = UDim2.new(0.952967286, 0, 0.0853333324, 0)
CloseSettingsBtn.Selectable = false
CloseSettingsBtn.Size = UDim2.new(0, 30, 0, 30)
CloseSettingsBtn.AutoButtonColor = false
CloseSettingsBtn.Font = Enum.Font.SourceSans
CloseSettingsBtn.Text = ""
CloseSettingsBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
CloseSettingsBtn.TextSize = 14.000
CloseSettingsBtnCorner.CornerRadius = UDim.new(1, 0)
CloseSettingsBtnCorner.Name = "CloseSettingsBtnCorner"
CloseSettingsBtnCorner.Parent = CloseSettingsBtn
CloseSettingsBtnCircle.Name = "CloseSettingsBtnCircle"
CloseSettingsBtnCircle.Parent = CloseSettingsBtn
CloseSettingsBtnCircle.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
CloseSettingsBtnCircle.Position = UDim2.new(0.0879999995, 0, 0.118000001, 0)
CloseSettingsBtnCircle.Size = UDim2.new(0, 24, 0, 24)
CloseSettingsBtnCircleCorner.CornerRadius = UDim.new(1, 0)
CloseSettingsBtnCircleCorner.Name = "CloseSettingsBtnCircleCorner"
CloseSettingsBtnCircleCorner.Parent = CloseSettingsBtnCircle
CloseSettingsBtnIcon.Name = "CloseSettingsBtnIcon"
CloseSettingsBtnIcon.Parent = CloseSettingsBtnCircle
CloseSettingsBtnIcon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CloseSettingsBtnIcon.BackgroundTransparency = 1.000
CloseSettingsBtnIcon.Position = UDim2.new(0, 2, 0, 2)
CloseSettingsBtnIcon.Size = UDim2.new(0, 19, 0, 19)
CloseSettingsBtnIcon.Image = "http://www.roblox.com/asset/?id=6035047409"
CloseSettingsBtnIcon.ImageColor3 = Color3.fromRGB(222, 222, 222)
CloseSettingsBtn.MouseButton1Click:Connect(function()
settingsopened = false
TopFrameHolder.Visible = true
ServersHoldFrame.Visible = true
SettingsHolder:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
TweenService:Create(
Settings,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
for i,v in next, SettingsHolder:GetChildren() do
TweenService:Create(
v,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
end
wait(.3)
SettingsFrame.Visible = false
end)
CloseSettingsBtn.MouseEnter:Connect(function()
CloseSettingsBtnCircle.BackgroundColor3 = Color3.fromRGB(72,76,82)
end)
CloseSettingsBtn.MouseLeave:Connect(function()
CloseSettingsBtnCircle.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
end)
UserInputService.InputBegan:Connect(
function(io, p)
if io.KeyCode == Enum.KeyCode.RightControl then
if settingsopened == true then
settingsopened = false
TopFrameHolder.Visible = true
ServersHoldFrame.Visible = true
SettingsHolder:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .3, true)
TweenService:Create(
Settings,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
for i,v in next, SettingsHolder:GetChildren() do
TweenService:Create(
v,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
end
wait(.3)
SettingsFrame.Visible = false
end
end
end
)
TextLabel.Parent = CloseSettingsBtn
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(-0.0666666701, 0, 1.06666672, 0)
TextLabel.Size = UDim2.new(0, 34, 0, 22)
TextLabel.Font = Enum.Font.GothamSemibold
TextLabel.Text = "rightctrl"
TextLabel.TextColor3 = Color3.fromRGB(113, 117, 123)
TextLabel.TextSize = 11.000
UserPanel.Name = "UserPanel"
UserPanel.Parent = SettingsHolder
UserPanel.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
UserPanel.Position = UDim2.new(0.365638763, 0, 0.130666673, 0)
UserPanel.Size = UDim2.new(0, 362, 0, 164)
UserSettingsPad.Name = "UserSettingsPad"
UserSettingsPad.Parent = UserPanel
UserSettingsPad.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
UserSettingsPad.Position = UDim2.new(0.0331491716, 0, 0.568140388, 0)
UserSettingsPad.Size = UDim2.new(0, 337, 0, 56)
UserSettingsPadCorner.Name = "UserSettingsPadCorner"
UserSettingsPadCorner.Parent = UserSettingsPad
UsernameText.Name = "UsernameText"
UsernameText.Parent = UserSettingsPad
UsernameText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UsernameText.BackgroundTransparency = 1.000
UsernameText.Position = UDim2.new(0.0419999994, 0, 0.154714286, 0)
UsernameText.Size = UDim2.new(0, 65, 0, 19)
UsernameText.Font = Enum.Font.GothamBold
UsernameText.Text = "USERNAME"
UsernameText.TextColor3 = Color3.fromRGB(126, 130, 136)
UsernameText.TextSize = 11.000
UsernameText.TextXAlignment = Enum.TextXAlignment.Left
UserSettingsPadUserTag.Name = "UserSettingsPadUserTag"
UserSettingsPadUserTag.Parent = UserSettingsPad
UserSettingsPadUserTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UserSettingsPadUserTag.BackgroundTransparency = 1.000
UserSettingsPadUserTag.Position = UDim2.new(0.0419999994, 0, 0.493999988, 0)
UserSettingsPadUserTag.Size = UDim2.new(0, 65, 0, 19)
UserSettingsPadUser.Name = "UserSettingsPadUser"
UserSettingsPadUser.Parent = UserSettingsPadUserTag
UserSettingsPadUser.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UserSettingsPadUser.BackgroundTransparency = 1.000
UserSettingsPadUser.Font = Enum.Font.Gotham
UserSettingsPadUser.TextColor3 = Color3.fromRGB(255, 255, 255)
UserSettingsPadUser.TextSize = 13.000
UserSettingsPadUser.TextXAlignment = Enum.TextXAlignment.Left
UserSettingsPadUser.Text = user
UserSettingsPadUser.Size = UDim2.new(0, UserSettingsPadUser.TextBounds.X + 2, 0, 19)
UserSettingsPadUserTagLayout.Name = "UserSettingsPadUserTagLayout"
UserSettingsPadUserTagLayout.Parent = UserSettingsPadUserTag
UserSettingsPadUserTagLayout.FillDirection = Enum.FillDirection.Horizontal
UserSettingsPadUserTagLayout.SortOrder = Enum.SortOrder.LayoutOrder
UserSettingsPadTag.Name = "UserSettingsPadTag"
UserSettingsPadTag.Parent = UserSettingsPadUserTag
UserSettingsPadTag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UserSettingsPadTag.BackgroundTransparency = 1.000
UserSettingsPadTag.Position = UDim2.new(0.0419999994, 0, 0.493999988, 0)
UserSettingsPadTag.Size = UDim2.new(0, 65, 0, 19)
UserSettingsPadTag.Font = Enum.Font.Gotham
UserSettingsPadTag.Text = "#" .. tag
UserSettingsPadTag.TextColor3 = Color3.fromRGB(184, 186, 189)
UserSettingsPadTag.TextSize = 13.000
UserSettingsPadTag.TextXAlignment = Enum.TextXAlignment.Left
EditBtn.Name = "EditBtn"
EditBtn.Parent = UserSettingsPad
EditBtn.BackgroundColor3 = Color3.fromRGB(116, 127, 141)
EditBtn.Position = UDim2.new(0.797671914, 0, 0.232142866, 0)
EditBtn.Size = UDim2.new(0, 55, 0, 30)
EditBtn.Font = Enum.Font.Gotham
EditBtn.Text = "Edit"
EditBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
EditBtn.TextSize = 14.000
EditBtn.AutoButtonColor = false
EditBtn.MouseEnter:Connect(function()
TweenService:Create(
EditBtn,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(104,114,127)}
):Play()
end)
EditBtn.MouseLeave:Connect(function()
TweenService:Create(
EditBtn,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(116, 127, 141)}
):Play()
end)
EditBtnCorner.CornerRadius = UDim.new(0, 3)
EditBtnCorner.Name = "EditBtnCorner"
EditBtnCorner.Parent = EditBtn
UserPanelUserIcon.Name = "UserPanelUserIcon"
UserPanelUserIcon.Parent = UserPanel
UserPanelUserIcon.BackgroundColor3 = Color3.fromRGB(31, 33, 36)
UserPanelUserIcon.BorderSizePixel = 0
UserPanelUserIcon.Position = UDim2.new(0.0340000018, 0, 0.074000001, 0)
UserPanelUserIcon.Size = UDim2.new(0, 71, 0, 71)
UserPanelUserIcon.AutoButtonColor = false
UserPanelUserIcon.Text = ""
UserPanelUserImage.Name = "UserPanelUserImage"
UserPanelUserImage.Parent = UserPanelUserIcon
UserPanelUserImage.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UserPanelUserImage.BackgroundTransparency = 1.000
UserPanelUserImage.Size = UDim2.new(0, 71, 0, 71)
UserPanelUserImage.Image = pfp
UserPanelUserCircle.Name = "UserPanelUserCircle"
UserPanelUserCircle.Parent = UserPanelUserImage
UserPanelUserCircle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
UserPanelUserCircle.BackgroundTransparency = 1.000
UserPanelUserCircle.Size = UDim2.new(0, 71, 0, 71)
UserPanelUserCircle.Image = "rbxassetid://4031889928"
UserPanelUserCircle.ImageColor3 = Color3.fromRGB(47, 49, 54)
BlackFrame.Name = "BlackFrame"
BlackFrame.Parent = UserPanelUserIcon
BlackFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
BlackFrame.BackgroundTransparency = 0.400
BlackFrame.BorderSizePixel = 0
BlackFrame.Size = UDim2.new(0, 71, 0, 71)
BlackFrame.Visible = false
BlackFrameCorner.CornerRadius = UDim.new(1, 8)
BlackFrameCorner.Name = "BlackFrameCorner"
BlackFrameCorner.Parent = BlackFrame
ChangeAvatarText.Name = "ChangeAvatarText"
ChangeAvatarText.Parent = BlackFrame
ChangeAvatarText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ChangeAvatarText.BackgroundTransparency = 1.000
ChangeAvatarText.Size = UDim2.new(0, 71, 0, 71)
ChangeAvatarText.Font = Enum.Font.GothamBold
ChangeAvatarText.Text = "CHAGNE AVATAR"
ChangeAvatarText.TextColor3 = Color3.fromRGB(255, 255, 255)
ChangeAvatarText.TextSize = 11.000
ChangeAvatarText.TextWrapped = true
SearchIcoFrame.Name = "SearchIcoFrame"
SearchIcoFrame.Parent = UserPanelUserIcon
SearchIcoFrame.BackgroundColor3 = Color3.fromRGB(222, 222, 222)
SearchIcoFrame.Position = UDim2.new(0.657999992, 0, 0, 0)
SearchIcoFrame.Size = UDim2.new(0, 20, 0, 20)
SearchIcoFrameCorner.CornerRadius = UDim.new(1, 8)
SearchIcoFrameCorner.Name = "SearchIcoFrameCorner"
SearchIcoFrameCorner.Parent = SearchIcoFrame
SearchIco.Name = "SearchIco"
SearchIco.Parent = SearchIcoFrame
SearchIco.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SearchIco.BackgroundTransparency = 1.000
SearchIco.Position = UDim2.new(0.150000006, 0, 0.100000001, 0)
SearchIco.Size = UDim2.new(0, 15, 0, 15)
SearchIco.Image = "http://www.roblox.com/asset/?id=6034407084"
SearchIco.ImageColor3 = Color3.fromRGB(114, 118, 125)
UserPanelUserIcon.MouseEnter:Connect(function()
BlackFrame.Visible = true
end)
UserPanelUserIcon.MouseLeave:Connect(function()
BlackFrame.Visible = false
end)
UserPanelUserIcon.MouseButton1Click:Connect(function()
local NotificationHolder = Instance.new("TextButton")
NotificationHolder.Name = "NotificationHolder"
NotificationHolder.Parent = SettingsHolder
NotificationHolder.BackgroundColor3 = Color3.fromRGB(22,22,22)
NotificationHolder.Position = UDim2.new(-0.00881057233, 0, -0.00266666664, 0)
NotificationHolder.Size = UDim2.new(0, 687, 0, 375)
NotificationHolder.AutoButtonColor = false
NotificationHolder.Font = Enum.Font.SourceSans
NotificationHolder.Text = ""
NotificationHolder.TextColor3 = Color3.fromRGB(0, 0, 0)
NotificationHolder.TextSize = 14.000
NotificationHolder.BackgroundTransparency = 1
NotificationHolder.Visible = true
TweenService:Create(
NotificationHolder,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 0.2}
):Play()
local AvatarChange = Instance.new("Frame")
local UserChangeCorner = Instance.new("UICorner")
local UnderBar = Instance.new("Frame")
local UnderBarCorner = Instance.new("UICorner")
local UnderBarFrame = Instance.new("Frame")
local Text1 = Instance.new("TextLabel")
local Text2 = Instance.new("TextLabel")
local TextBoxFrame = Instance.new("Frame")
local TextBoxFrameCorner = Instance.new("UICorner")
local TextBoxFrame1 = Instance.new("Frame")
local TextBoxFrame1Corner = Instance.new("UICorner")
local AvatarTextbox = Instance.new("TextBox")
local ChangeBtn = Instance.new("TextButton")
local ChangeCorner = Instance.new("UICorner")
local CloseBtn2 = Instance.new("TextButton")
local Close2Icon = Instance.new("ImageLabel")
local CloseBtn1 = Instance.new("TextButton")
local CloseBtn1Corner = Instance.new("UICorner")
local ResetBtn = Instance.new("TextButton")
local ResetCorner = Instance.new("UICorner")
AvatarChange.Name = "AvatarChange"
AvatarChange.Parent = NotificationHolder
AvatarChange.AnchorPoint = Vector2.new(0.5, 0.5)
AvatarChange.BackgroundColor3 = Color3.fromRGB(54, 57, 63)
AvatarChange.ClipsDescendants = true
AvatarChange.Position = UDim2.new(0.513071597, 0, 0.4746176, 0)
AvatarChange.Size = UDim2.new(0, 0, 0, 0)
AvatarChange.BackgroundTransparency = 1
AvatarChange:TweenSize(UDim2.new(0, 346, 0, 198), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
TweenService:Create(
AvatarChange,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 0}
):Play()
UserChangeCorner.CornerRadius = UDim.new(0, 5)
UserChangeCorner.Name = "UserChangeCorner"
UserChangeCorner.Parent = AvatarChange
UnderBar.Name = "UnderBar"
UnderBar.Parent = AvatarChange
UnderBar.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
UnderBar.Position = UDim2.new(-0.000297061284, 0, 0.945048928, 0)
UnderBar.Size = UDim2.new(0, 346, 0, 13)
UnderBarCorner.CornerRadius = UDim.new(0, 5)
UnderBarCorner.Name = "UnderBarCorner"
UnderBarCorner.Parent = UnderBar
UnderBarFrame.Name = "UnderBarFrame"
UnderBarFrame.Parent = UnderBar
UnderBarFrame.BackgroundColor3 = Color3.fromRGB(47, 49, 54)
UnderBarFrame.BorderSizePixel = 0
UnderBarFrame.Position = UDim2.new(-0.000297061284, 0, -2.53846145, 0)
UnderBarFrame.Size = UDim2.new(0, 346, 0, 39)
Text1.Name = "Text1"
Text1.Parent = AvatarChange
Text1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Text1.BackgroundTransparency = 1.000
Text1.Position = UDim2.new(-0.000594122568, 0, 0.0202020202, 0)
Text1.Size = UDim2.new(0, 346, 0, 68)
Text1.Font = Enum.Font.GothamSemibold
Text1.Text = "Change your avatar"
Text1.TextColor3 = Color3.fromRGB(255, 255, 255)
Text1.TextSize = 20.000
Text2.Name = "Text2"
Text2.Parent = AvatarChange
Text2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Text2.BackgroundTransparency = 1.000
Text2.Position = UDim2.new(-0.000594122568, 0, 0.141587839, 0)
Text2.Size = UDim2.new(0, 346, 0, 63)
Text2.Font = Enum.Font.Gotham
Text2.Text = "Enter your new profile in a Roblox decal link."
Text2.TextColor3 = Color3.fromRGB(171, 172, 176)
Text2.TextSize = 14.000
TextBoxFrame.Name = "TextBoxFrame"
TextBoxFrame.Parent = AvatarChange
TextBoxFrame.AnchorPoint = Vector2.new(0.5, 0.5)
TextBoxFrame.BackgroundColor3 = Color3.fromRGB(37, 40, 43)
TextBoxFrame.Position = UDim2.new(0.49710983, 0, 0.560606062, 0)
TextBoxFrame.Size = UDim2.new(0, 319, 0, 38)
TextBoxFrameCorner.CornerRadius = UDim.new(0, 3)
TextBoxFrameCorner.Name = "TextBoxFrameCorner"
TextBoxFrameCorner.Parent = TextBoxFrame
TextBoxFrame1.Name = "TextBoxFrame1"
TextBoxFrame1.Parent = TextBoxFrame
TextBoxFrame1.AnchorPoint = Vector2.new(0.5, 0.5)
TextBoxFrame1.BackgroundColor3 = Color3.fromRGB(48, 51, 57)
TextBoxFrame1.ClipsDescendants = true
TextBoxFrame1.Position = UDim2.new(0.5, 0, 0.5, 0)
TextBoxFrame1.Size = UDim2.new(0, 317, 0, 36)
TextBoxFrame1Corner.CornerRadius = UDim.new(0, 3)
TextBoxFrame1Corner.Name = "TextBoxFrame1Corner"
TextBoxFrame1Corner.Parent = TextBoxFrame1
AvatarTextbox.Name = "AvatarTextbox"
AvatarTextbox.Parent = TextBoxFrame1
AvatarTextbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
AvatarTextbox.BackgroundTransparency = 1.000
AvatarTextbox.Position = UDim2.new(0.0378548913, 0, 0, 0)
AvatarTextbox.Size = UDim2.new(0, 293, 0, 37)
AvatarTextbox.Font = Enum.Font.Gotham
AvatarTextbox.Text = ""
AvatarTextbox.TextColor3 = Color3.fromRGB(193, 195, 197)
AvatarTextbox.TextSize = 14.000
AvatarTextbox.TextXAlignment = Enum.TextXAlignment.Left
ChangeBtn.Name = "ChangeBtn"
ChangeBtn.Parent = AvatarChange
ChangeBtn.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
ChangeBtn.Position = UDim2.new(0.749670506, 0, 0.823232353, 0)
ChangeBtn.Size = UDim2.new(0, 76, 0, 27)
ChangeBtn.Font = Enum.Font.Gotham
ChangeBtn.Text = "Change"
ChangeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ChangeBtn.TextSize = 13.000
ChangeBtn.AutoButtonColor = false
ChangeBtn.MouseEnter:Connect(function()
TweenService:Create(
ChangeBtn,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(103,123,196)}
):Play()
end)
ChangeBtn.MouseLeave:Connect(function()
TweenService:Create(
ChangeBtn,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundColor3 = Color3.fromRGB(114, 137, 228)}
):Play()
end)
ChangeBtn.MouseButton1Click:Connect(function()
pfp = tostring(AvatarTextbox.Text)
UserImage.Image = pfp
UserPanelUserImage.Image = pfp
SaveInfo()
AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
TweenService:Create(
AvatarChange,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
TweenService:Create(
NotificationHolder,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
wait(.2)
NotificationHolder:Destroy()
end)
ChangeCorner.CornerRadius = UDim.new(0, 4)
ChangeCorner.Name = "ChangeCorner"
ChangeCorner.Parent = ChangeBtn
CloseBtn2.Name = "CloseBtn2"
CloseBtn2.Parent = AvatarChange
CloseBtn2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CloseBtn2.BackgroundTransparency = 1.000
CloseBtn2.Position = UDim2.new(0.898000002, 0, 0, 0)
CloseBtn2.Size = UDim2.new(0, 26, 0, 26)
CloseBtn2.Font = Enum.Font.Gotham
CloseBtn2.Text = ""
CloseBtn2.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseBtn2.TextSize = 14.000
Close2Icon.Name = "Close2Icon"
Close2Icon.Parent = CloseBtn2
Close2Icon.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Close2Icon.BackgroundTransparency = 1.000
Close2Icon.Position = UDim2.new(-0.0384615399, 0, 0.312910825, 0)
Close2Icon.Size = UDim2.new(0, 25, 0, 25)
Close2Icon.Image = "http://www.roblox.com/asset/?id=6035047409"
Close2Icon.ImageColor3 = Color3.fromRGB(119, 122, 127)
CloseBtn1.Name = "CloseBtn1"
CloseBtn1.Parent = AvatarChange
CloseBtn1.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
CloseBtn1.BackgroundTransparency = 1.000
CloseBtn1.Position = UDim2.new(0.495000005, 0, 0.823000014, 0)
CloseBtn1.Size = UDim2.new(0, 76, 0, 27)
CloseBtn1.Font = Enum.Font.Gotham
CloseBtn1.Text = "Close"
CloseBtn1.TextColor3 = Color3.fromRGB(255, 255, 255)
CloseBtn1.TextSize = 13.000
CloseBtn1Corner.CornerRadius = UDim.new(0, 4)
CloseBtn1Corner.Name = "CloseBtn1Corner"
CloseBtn1Corner.Parent = CloseBtn1
ResetBtn.Name = "ResetBtn"
ResetBtn.Parent = AvatarChange
ResetBtn.BackgroundColor3 = Color3.fromRGB(114, 137, 228)
ResetBtn.BackgroundTransparency = 1.000
ResetBtn.Position = UDim2.new(0.260895967, 0, 0.823000014, 0)
ResetBtn.Size = UDim2.new(0, 76, 0, 27)
ResetBtn.Font = Enum.Font.Gotham
ResetBtn.Text = "Reset"
ResetBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ResetBtn.TextSize = 13.000
ResetBtn.MouseButton1Click:Connect(function()
pfp = "https://www.roblox.com/headshot-thumbnail/image?userId=".. game.Players.LocalPlayer.UserId .."&width=420&height=420&format=png"
UserImage.Image = pfp
UserPanelUserImage.Image = pfp
SaveInfo()
AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
TweenService:Create(
AvatarChange,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
TweenService:Create(
NotificationHolder,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
wait(.2)
NotificationHolder:Destroy()
end)
ResetCorner.CornerRadius = UDim.new(0, 4)
ResetCorner.Name = "ResetCorner"
ResetCorner.Parent = ResetBtn
CloseBtn1.MouseButton1Click:Connect(function()
AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
TweenService:Create(
AvatarChange,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
TweenService:Create(
NotificationHolder,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
wait(.2)
NotificationHolder:Destroy()
end)
CloseBtn2.MouseButton1Click:Connect(function()
AvatarChange:TweenSize(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, .2, true)
TweenService:Create(
AvatarChange,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
TweenService:Create(
NotificationHolder,
TweenInfo.new(.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{BackgroundTransparency = 1}
):Play()
wait(.2)
NotificationHolder:Destroy()
end)
CloseBtn2.MouseEnter:Connect(function()
TweenService:Create(
Close2Icon,
TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
{ImageColor3 = Color3.fromRGB(210,210,210)}
):Play()
end)
CloseBtn2.MouseLeave:Connect(function()
TweenService:Create(