Repository navigation
Expand file tree
/
Copy pathEmotesfunctionality.lua
More file actions
2133 lines (1869 loc) · 63.6 KB
/
Copy pathEmotesfunctionality.lua
File metadata and controls
2133 lines (1869 loc) · 63.6 KB
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
-- Script Path: game:GetService("StarterGui").Emotes.EmotesFunctionality
-- Took 3.04s to decompile.
-- Decompiled with Topaz
-- Created by: Andrew and TouseefX
local tweenService = game:GetService("TweenService")
local replicatedStorage = game:GetService("ReplicatedStorage")
local players = game:GetService("Players")
local runService = game:GetService("RunService")
local localPlayer = players.LocalPlayer
local playerGui = localPlayer:WaitForChild("PlayerGui")
local uIService = require(replicatedStorage:WaitForChild("Modules"):WaitForChild("UIService"))
local limitedShop = require(replicatedStorage:WaitForChild("Modules"):WaitForChild("LimitedShop"))
local emote = replicatedStorage:WaitForChild("Remotes"):WaitForChild("Emote")
local buyGold = replicatedStorage:WaitForChild("Remotes"):WaitForChild("BuyGold")
local vIP = replicatedStorage:WaitForChild("Remotes"):WaitForChild("VIP")
local limitedShop2 = replicatedStorage:WaitForChild("Remotes"):WaitForChild("LimitedShop")
local clientCommunication = replicatedStorage:WaitForChild("ClientCommunication")
local emotes = replicatedStorage:WaitForChild("Assets"):WaitForChild("Parts"):WaitForChild("Emotes")
local vFX = workspace:WaitForChild("VFX")
local Parent = script.Parent
local containerFrame = Parent:WaitForChild("ContainerFrame")
local wheel = containerFrame:WaitForChild("Wheel")
local list = containerFrame:WaitForChild("List")
local slots = wheel:WaitForChild("Slots")
local normal = slots:WaitForChild("Normal")
local t_u1 = {
normal:WaitForChild("Slot1"),
normal:WaitForChild("Slot2"),
normal:WaitForChild("Slot3"),
normal:WaitForChild("Slot4"),
slots:WaitForChild("Slot5"),
slots:WaitForChild("Slot6"),
slots:WaitForChild("Slot7"),
slots:WaitForChild("Slot8")
}
local t2 = {}
for i = 1, 8 do
local button = t_u1[i].Button
-- aliased fastcall table.insert (called via local/upvalue)
table.insert(t2, button)
end
local price1 = wheel:WaitForChild("Purchase"):WaitForChild("Price1")
local balance = wheel:WaitForChild("Balance")
local holder = wheel:WaitForChild("LimitedsList"):WaitForChild("Holder")
local list2 = holder:WaitForChild("Background"):WaitForChild("CanvasGroup"):WaitForChild("List")
local videoPlayer = containerFrame:WaitForChild("VideoPlayer")
local close = videoPlayer:WaitForChild("Container"):WaitForChild("Close")
local preview = videoPlayer:WaitForChild("Container"):WaitForChild("Preview")
local discount = wheel:WaitForChild("Discount")
local leaving = wheel:WaitForChild("LimitedsList"):WaitForChild("Holder"):WaitForChild("Leaving")
local frame = Parent:WaitForChild("Gold"):WaitForChild("Gold"):WaitForChild("Frame")
local balance2 = balance:WaitForChild("Balance")
local obj = "Cosmetics"
local v3 = playerGui:WaitForChild(obj)
obj = "ContainerFrame"
local v4 = v3:WaitForChild(obj)
obj = "List"
local v5 = v4:WaitForChild(obj)
obj = "Texts"
local v6 = v5:WaitForChild(obj)
obj = "Balance"
local v7 = v6:WaitForChild(obj)
local obj2 = "Titles"
local v8 = playerGui:WaitForChild(obj2)
obj2 = "ContainerFrame"
local v9 = v8:WaitForChild(obj2)
obj2 = "Gold"
local v10 = v9:WaitForChild(obj2)
obj2 = "Balance"
local v11 = v10:WaitForChild(obj2)
obj2 = "Balance"
local v12 = v11:WaitForChild(obj2)
local s_u13 = "KillMessages"
obj = playerGui:WaitForChild(s_u13)
s_u13 = "UI"
obj = obj:WaitForChild(s_u13)
s_u13 = "Main"
obj = obj:WaitForChild(s_u13)
s_u13 = "Body"
obj = obj:WaitForChild(s_u13)
s_u13 = "Top"
obj = obj:WaitForChild(s_u13)
s_u13 = "Balance"
obj = obj:WaitForChild(s_u13)
s_u13 = "Balance"
obj = obj:WaitForChild(s_u13)
local s_u14 = "DailyReward"
obj2 = playerGui:WaitForChild(s_u14)
s_u14 = "Container"
obj2 = obj2:WaitForChild(s_u14)
s_u14 = "Holder"
obj2 = obj2:WaitForChild(s_u14)
s_u14 = "Balance"
obj2 = obj2:WaitForChild(s_u14)
s_u14 = "Balance"
local t_u15 = {
balance2,
v7,
v12,
obj,
obj2:WaitForChild(s_u14)
}
local listButton = script:WaitForChild("ListButton")
local v16 = script
obj = "ViewportDummy"
local v_u17 = v16:WaitForChild(obj)
local v18 = script
obj2 = "LimitedTemplate"
local v_u19 = v18:WaitForChild(obj2)
obj = nil
obj2 = nil
s_u13 = nil
s_u14 = nil
local t_u20 = {}
local v_u21 = nil
local v_u22 = nil
local instance = Instance.new("BindableEvent")
local t_u23 = {}
local t_u24 = {}
local t_u25 = {}
local t_u26 = {}
for i = 1, 8 do
local uITextSizeConstraint = t_u1[i].Text.UITextSizeConstraint
-- aliased fastcall table.insert (called via local/upvalue)
table.insert(t_u23, uITextSizeConstraint)
end
local v_u27 = Color3.fromRGB(255, 255, 255)
local v_u28 = Color3.fromRGB(185, 185, 185)
local v29 = Color3.fromRGB(150, 150, 150)
local v_u30 = Color3.fromRGB(0, 0, 0)
local v_u31 = Color3.fromRGB(180, 180, 180)
local v32 = Color3.fromRGB(130, 130, 130)
local uDim = UDim.new(0.16, 0)
UDim.new(0.26, 0)
UDim.new(0.2, 0)
local uDim2 = UDim2.new(1, 0, 1, 0)
local tweenInfo = TweenInfo.new(0.162, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
local tweenInfo2 = TweenInfo.new(0.325, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
local tweenInfo3 = TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
local t_u33 = {
["Dance Moves"] = "rbxassetid://132968099017211",
["Your Idol [V1]"] = "rbxassetid://94568941476069",
["Your Idol [V2]"] = "rbxassetid://126904333940585",
["Take The L"] = "rbxassetid://91333906129247",
["Peanut Butter Jelly Time"] = "rbxassetid://117930741428358",
Wave = "rbxassetid://121527941237000",
Death = "rbxassetid://74975620633722",
["No Fear"] = "rbxassetid://132915410879850",
["Bring It"] = "rbxassetid://83865418104865",
Sit = "rbxassetid://109982750614219",
Chill = "rbxassetid://116483644565730",
["Move It"] = "rbxassetid://75894727548811",
Rhythm = "rbxassetid://70952991142802",
Stretch = "rbxassetid://138194751582206",
Disappointed = "rbxassetid://89684494643092",
Point = "rbxassetid://104511042784240",
Crouch = "rbxassetid://114724804303060",
Cry = "rbxassetid://131079501995520",
["Best Mates"] = "rbxassetid://80557787061103",
Kickback = "rbxassetid://115383775623730",
Facepalm = "rbxassetid://87725068904325",
Clap = "rbxassetid://76639601846786",
["Shoulder Brush"] = "rbxassetid://131416154379211",
["Pool Dance"] = "rbxassetid://75446276730688",
Popcorn = "rbxassetid://113671892578291",
Goofball = "rbxassetid://109797931311009",
["Rock \'n\' Roll"] = "rbxassetid://121934688142868",
Soda = "rbxassetid://138226487797136",
Hakari = "rbxassetid://72965222630266",
Cinderella = "rbxassetid://89397713447311",
["Prince of Roblox"] = "rbxassetid://86217441242018",
Pico = "rbxassetid://135794499242353",
Burger = "rbxassetid://88158580257885",
Deadman = "rbxassetid://94572314640253",
Boogie = "rbxassetid://94572314640253",
Entranced = "rbxassetid://87216740263214",
Requiem = "rbxassetid://124630909350494",
["California Girls"] = "rbxassetid://71105840479670",
["Baja Tragedy"] = "rbxassetid://103646887254406",
Chair = "rbxassetid://72798798139648",
Starving = "rbxassetid://139356609266159",
Wait = "rbxassetid://77286957902690",
["Disgraced Stance"] = "rbxassetid://102480035420042",
["Vessel Stance"] = "rbxassetid://76988423584414",
["Honored Stance"] = "rbxassetid://122237287687331",
Selfie = "rbxassetid://104553607265969",
Arona = "rbxassetid://126112987834969",
Scared = "rbxassetid://117526358018859",
Fear = "rbxassetid://84780943545134",
Flex = "rbxassetid://121793698525526",
["Act Emote"] = "rbxassetid://108633146644508",
Three = "rbxassetid://104020592720750",
["YOU DON\'T KNOW ME"] = "rbxassetid://80356064013618",
Dansen = "rbxassetid://134422224316413",
Doodle = "rbxassetid://84676200143095",
Thriller = "rbxassetid://114519475724119",
["Update Delayed"] = "rbxassetid://130975220102932",
["Living Funeral"] = "rbxassetid://80527433537787",
Kang = "rbxassetid://127495089203246",
Judas = "rbxassetid://140257749774527",
Down = "rbxassetid://74647125081180",
Donuts = "rbxassetid://72956044437352",
["Nuh-Uh"] = "rbxassetid://92696985578195",
Snap = "rbxassetid://80978869022612",
["Bright Idea"] = "rbxassetid://77937049735306",
["Bizarre French"] = "rbxassetid://92484457267465",
["Emperor Pose"] = "rbxassetid://99262816028592",
Honored = "rbxassetid://97157269055429",
Geddan = "rbxassetid://138312421645112",
Laugh = "rbxassetid://129109650150354",
["Mangaka Pose"] = "rbxassetid://133687683783884",
["Rat Dance"] = "rbxassetid://102604384654548",
Sturdy = "rbxassetid://85974463761357",
["The Quiet"] = "rbxassetid://139220055196655",
Lobby = "rbxassetid://80664757219109",
["Jubi Slide"] = "rbxassetid://82857360502155",
["Chill Guy"] = "rbxassetid://122451596609090",
["Warm-Up"] = "rbxassetid://84475271824578",
["Gang Dance"] = "rbxassetid://70727403522030",
["Tweaking Out"] = "rbxassetid://136081097084426",
["Zombie Dance"] = "rbxassetid://115610505410628",
["Jumping Jacks"] = "rbxassetid://127722747276518",
Rambunctious = "rbxassetid://89263912611082",
["Much More"] = "rbxassetid://86042072428820",
["Mash Dance"] = "rbxassetid://78307229671178",
Geto = "rbxassetid://94045824655730",
["In My Head"] = "rbxassetid://78394351131917",
["Money Walk"] = "rbxassetid://127715484000994",
Mesmerizer = "rbxassetid://109091890212740",
Gangnam = "rbxassetid://78349885066874",
Shrug = "rbxassetid://97132903738127",
Smile = "rbxassetid://106159268856445",
["Hey, Check it Out!"] = "rbxassetid://128351545516559",
["Pillar of Light"] = "rbxassetid://104984551559503",
["Lost Woods"] = "rbxassetid://123423943247484",
["Atomic Bomb"] = "rbxassetid://85138248785831",
Obliteration = "rbxassetid://135226562155201",
["Soda Pop [V1]"] = "rbxassetid://134085538026539",
["Soda Pop [V2]"] = "rbxassetid://102436358584709",
Minecart = "rbxassetid://138037940882401",
["High Five"] = "rbxassetid://71505434375930",
Assumptions = "rbxassetid://135758301236770",
Distraction = "rbxassetid://81721111645043",
["Jay Walking"] = "rbxassetid://140379472390569",
["Swing Dance"] = "rbxassetid://134630002739055",
["I Love LBG"] = "rbxassetid://135106813351039",
["Laid Back Shuffle"] = "rbxassetid://86891803953282",
Caged = "rbxassetid://79019390471213",
["Fancy Feet"] = "rbxassetid://78815824811397",
Fresh = "rbxassetid://109868016029737",
["Lazer Blast"] = "rbxassetid://90782062922482",
["Silly Dance"] = "rbxassetid://102693527988559",
["Electro Swing"] = "rbxassetid://116876727111467",
["Savor the W"] = "rbxassetid://117305100822956",
["Break Down"] = "rbxassetid://88153345338872",
["Praise the Lord"] = "rbxassetid://130379793337192",
Thinker = "rbxassetid://115213121458160",
["Free Flow"] = "rbxassetid://128981904096127"
}
local function fn_u55(p34)
-- block 18
local v35 = p34 / 60
local v36 = math.floor(v35)
local v37 = p34 - v36 * 60
local v38 = v36 / 60
local v39 = math.floor(v38)
local v40 = v36 - v39 * 60
local v41 = v39 / 24
local v42 = math.floor(v41)
local v43 = v39 - v42 * 24
local v44
if v42 > 0 then
local v45 = math.round(v42)
v44 = tostring(v45) .. "d"
else
v44 = ""
end
local v46
if v43 > 0 then
if v44 == "" then
local v47 = math.round(v43)
v46 = tostring(v47) .. "h"
if v46 then
end
end
local v48 = math.round(v43)
v46 = v44 .. " " .. tostring(v48) .. "h"
if v40 > 0 then
end
-- block 1
return v50
end
v46 = v44
if v40 > 0 then
end
-- block 1
return v50
::l6::
local v49 = math.round(v37)
local v50 = v52 .. " " .. tostring(v49) .. "s"
return v50
if v40 > 0 then
end
-- block 1
return v50
goto l6
-- block 7
goto l11
-- block 8
if v46 == "" then
end
::l9::
if v37 > 0 then
end
-- block 10
local v51 = math.round(v40)
local v52 = tostring(v51) .. "m"
if v52 then
end
::l11::
local v53 = math.round(v40)
v52 = v46 .. " " .. tostring(v53) .. "m"
goto l6
-- block 13
if v52 == "" then
end
-- block 15
local v54 = math.round(v37)
v50 = tostring(v54) .. "s"
if v50 then
end
goto l6
-- block 20
goto l9
-- block 21
v52 = v46
-- block 22
goto l9
-- block 23
v50 = v52
goto l6
goto l6
-- block 26
goto l9
-- block 27
return v50
goto l6
goto l6
goto l6
goto l6
goto l6
goto l6
goto l6
goto l6
goto l6
goto l6
goto l6
goto l6
-- block 40
goto l6
end
local function fn_u62()
local x = Parent.AbsoluteSize.X
local v56 = x / 888 * 15
local v57 = math.clamp(v56, 1, 15)
local v58 = x / 1254 * 14
local v59 = math.clamp(v58, 1, 14)
for _, v60 in ipairs(t_u23) do
v60.MaxTextSize = v57
end
for _, v61 in ipairs(t_u24) do
if v61 and v61.Parent then
v61.MaxTextSize = v59
end
end
end
Parent:GetPropertyChangedSignal("AbsoluteSize"):Connect(fn_u62)
local function fn_u65()
wheel.Arrows.Right.Visible = false
wheel.Arrows.Left.Visible = false
if wheel:FindFirstChild("GamePass") then
wheel.GamePass.Buy.Visible = false
wheel.GamePass.Icon.Visible = false
wheel.GamePass.Image.Visible = false
wheel.GamePass.Price.Visible = false
wheel.GamePass.Text.Visible = false
end
frame.Visible = false
holder.Visible = false
balance.Visible = false
if discount and discount.Parent then
discount.Visible = false
end
wheel.Price.Icon.Visible = false
wheel.Price.Text.Visible = false
wheel.BuyPage.Visible = false
wheel.Purchase.Visible = false
wheel.PageName.Visible = false
for _, v63 in ipairs(slots:GetChildren()) do
if v63 ~= v_u21 and v63 ~= normal then
v63.Visible = false
end
end
for _, v64 in ipairs(normal:GetChildren()) do
if v64 ~= v_u21 then
v64.Visible = false
end
end
end
local function fn_u66()
wheel.Arrows.Right.Visible = true
wheel.Arrows.Left.Visible = true
if wheel:FindFirstChild("GamePass") then
wheel.GamePass.Buy.Visible = true
wheel.GamePass.Icon.Visible = true
wheel.GamePass.Image.Visible = true
wheel.GamePass.Price.Visible = true
wheel.GamePass.Text.Visible = true
end
frame.Visible = true
holder.Visible = true
balance.Visible = true
if discount and discount.Parent then
discount.Visible = true
end
wheel.Price.Icon.Visible = true
wheel.Price.Text.Visible = true
wheel.BuyPage.Visible = true
wheel.Purchase.Visible = true
wheel.PageName.Visible = true
t_u1[1].Visible = true
t_u1[2].Visible = true
t_u1[3].Visible = true
t_u1[4].Visible = true
if not v_u22 then
return
end
t_u1[5].Visible = true
t_u1[6].Visible = true
t_u1[7].Visible = true
t_u1[8].Visible = true
end
local v_u67 = tweenService:Create(wheel, tweenInfo3, {
Position = UDim2.new(0.325, 0, 0.5, 0)
})
local v_u68 = tweenService:Create(list, tweenInfo3, {
Position = UDim2.new(0.675, 0, 0.5, 0)
})
local t69 = {
Position = nil
}
local new = UDim2.new
local n_u70 = 0
t69.Position = new(0.5, 0, 0.5, n_u70)
local v_u71 = tweenService:Create(wheel, tweenInfo3, t69)
local function fn_u86(p72)
p72:WaitForChild("FakeHead")
local face = p72.Head:FindFirstChild("face")
local t73 = {
RightArm = nil,
LeftArm = nil,
RightLeg = nil,
LeftLeg = nil,
Torso = nil,
Head = nil
}
t73.RightArm = p72["Right Arm"]:FindFirstChild("Mesh")
t73.LeftArm = p72["Left Arm"]:FindFirstChild("Mesh")
t73.RightLeg = p72["Right Leg"]:FindFirstChild("Mesh")
t73.LeftLeg = p72["Left Leg"]:FindFirstChild("Mesh")
t73.Torso = p72.Torso:FindFirstChild("Mesh")
t73.Head = p72.Head:FindFirstChild("Mesh")
local t74 = {
RightArm = nil,
LeftArm = nil,
RightLeg = nil,
LeftLeg = nil,
Head = nil,
Torso = nil
}
t74.RightArm = p72["Right Arm"].Color
t74.LeftArm = p72["Left Arm"].Color
t74.RightLeg = p72["Right Leg"].Color
t74.LeftLeg = p72["Left Leg"].Color
t74.Head = p72.Head.Color
t74.Torso = p72.Torso.Color
local t75 = {}
for _, obj3 in ipairs(p72:GetChildren()) do
if obj3:IsA("Shirt") or (obj3:IsA("Pants") or obj3:IsA("CharacterMesh")) then
table.insert(t75, obj3:Clone())
end
end
for _, v76 in ipairs(p72.FakeHead:GetChildren()) do
if v76:IsA("Accessory") then
table.insert(t75, v76:Clone())
end
end
for _, obj4 in ipairs(Parent:GetDescendants()) do
if not obj4:IsA("Model") or obj4.Name ~= "ViewportDummy" then
continue
end
for _, obj5 in ipairs(obj4:GetChildren()) do
if obj5:IsA("Accessory") or (obj5:IsA("Shirt") or (obj5:IsA("Pants") or obj5:IsA("CharacterMesh"))) then
obj5:Destroy()
end
end
for _, v77 in ipairs({
"Head",
"Torso",
"Right Arm",
"Left Arm",
"Right Leg",
"Left Leg"
}) do
local obj6 = obj4:FindFirstChild(v77)
if not obj6 then
continue
end
if obj6:FindFirstChild("Mesh") then
obj6.Mesh:Destroy()
end
if v77 == "Head" and obj6:FindFirstChild("face") then
obj6.face:Destroy()
end
end
for _, v78 in ipairs({
"EnergyStanceRightFingers",
"RightFingers",
"EnergyStanceLeftFingers",
"LeftFingers"
}) do
local v79 = obj4:FindFirstChild(v78)
if not v79 then
continue
end
local v80 = v78:find("Left") and t74.LeftArm or t74.RightArm
for _, v81 in ipairs(v79:GetChildren()) do
if v81:IsA("MeshPart") then
v81.Color = v80
end
end
end
obj4["Right Arm"].Color = t74.RightArm
obj4["Left Arm"].Color = t74.LeftArm
obj4["Right Leg"].Color = t74.RightLeg
obj4["Left Leg"].Color = t74.LeftLeg
obj4.Head.Color = t74.Head
obj4.Torso.Color = t74.Torso
for _, v82 in ipairs(t75) do
local obj7 = v82:Clone()
if obj7:IsA("Accessory") and obj7:FindFirstChild("AccessoryWeld") then
local name = obj7.AccessoryWeld.Part1.Name
obj7.AccessoryWeld.Part0 = obj7.Handle
if obj4:FindFirstChild(name) then
obj7.AccessoryWeld.Part1 = obj4[name]
end
end
obj7.Parent = obj4
end
if face and face.Parent then
face:Clone().Parent = obj4.Head
end
for v83, v84 in pairs(t73) do
if not (v84 and v84.Parent) then
continue
end
local v85 = obj4:FindFirstChild(v83 == "RightArm" and "Right Arm" or (v83 == "LeftArm" and "Left Arm" or (v83 == "RightLeg" and "Right Leg" or (v83 == "LeftLeg" and "Left Leg" or v83))))
if v85 then
v84:Clone().Parent = v85
end
end
end
end
players.LocalPlayer.CharacterAppearanceLoaded:Connect(fn_u86)
local function fn_u103(p87, p88)
local world = p88.World
for _, v89 in ipairs(world:GetChildren()) do
v89:Destroy()
end
local v90 = v_u17:Clone()
v90.Parent = world
local instance2 = Instance.new("Camera")
instance2.CameraType = Enum.CameraType.Scriptable
instance2.CFrame = (v90.HumanoidRootPart.CFrame + v90.HumanoidRootPart.CFrame.LookVector * 4.5) * CFrame.Angles(0, 3.141592653589793, 0)
p88.CurrentCamera = instance2
local v91 = t_u33[p87]
if not v91 then
return
end
local instance3 = Instance.new("Animation")
instance3.AnimationId = v91
local v92 = v90.Humanoid.Animator:LoadAnimation(instance3)
instance3:Destroy()
v92.Looped = true
v92.Priority = Enum.AnimationPriority.Action4
if p87 == "Popcorn" then
local instance4 = Instance.new("Motor6D")
instance4.Name = "Popcorn"
instance4.Part0 = v90["Right Arm"]
instance4.C0 = CFrame.new(-0.16, -1.17, -0.67, -1, 0, 0, 0, 0, -1, 0, -1, 0) * CFrame.Angles(0, 3.141592653589793, 0)
instance4.Parent = v90["Right Arm"]
local popcorn = emotes:WaitForChild("Popcorn"):Clone()
popcorn.Parent = v90
instance4.Part1 = popcorn
elseif p87 == "Soda" then
local instance5 = Instance.new("Motor6D")
instance5.Name = "Cola"
instance5.Part0 = v90["Right Arm"]
instance5.C0 = CFrame.new(0.01, -0.91, -0.13, 1, 0, 0, 0, 0, 1, 0, -1, 0)
instance5.C1 = CFrame.new(0, 0, 0.1)
instance5.Parent = v90["Right Arm"]
local cola = emotes.Cola:Clone()
cola.Parent = v90
instance5.Part1 = cola
elseif p87 == "Burger" then
local burgerModel = emotes.BurgerModel:Clone()
burgerModel.Burger.Transparency = 0
burgerModel.BurgerMain.ParentPart.Part0 = v90.HumanoidRootPart
burgerModel.Parent = v90
elseif p87 == "Chair" then
local chair = emotes.Chair:Clone()
chair.PlasticChair.Transparency = 0
chair.ChairMain.ParentPart.Part0 = v90.HumanoidRootPart
chair.Parent = v90
elseif p87 == "Baja Tragedy" then
local baja = emotes.Baja:Clone()
baja.Liquid.Transparency = 0.1
baja.Spill.Transparency = 0.1
baja.Cup.Transparency = 0.5
baja.MainPartMotor.Part0 = v90.HumanoidRootPart
baja.SpillMotor.Part0 = v90.HumanoidRootPart
baja.Parent = v90
elseif p87 == "Donuts" then
local donuts = emotes.Donuts:Clone()
for _, v93 in ipairs(donuts:GetDescendants()) do
if v93:IsA("BasePart") and v93.Name ~= "MainPart" then
v93.Transparency = 0
end
end
donuts.Motor.Part0 = v90.HumanoidRootPart
donuts.Parent = v90
elseif p87 == "Selfie" then
local phone = emotes.Phone:Clone()
phone.PhoneMain.ParentPart.Part0 = v90["Right Arm"]
phone.Parent = v90
elseif p87 == "Money Walk" then
local handle = emotes.MoneyBag.Handle:Clone()
handle.Handle.Part0 = v90["Right Arm"]
handle.Parent = v90
elseif p87 == "Minecart" then
local mineCart = emotes.MineCart:Clone()
mineCart.MineCart.Part0 = v90.HumanoidRootPart
mineCart.Parent = v90
elseif p87 == "Atomic Bomb" or p87 == "Obliteration" then
local instance6 = Instance.new("Motor6D")
instance6.Name = "SwordHandle"
instance6.Part0 = v90["Right Arm"]
instance6.C0 = CFrame.new(-0.1, -1.03, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0)
instance6.C1 = CFrame.new(0, 1.5, 0)
instance6.Parent = v90["Right Arm"]
local swordHandle = emotes:WaitForChild("SwordHandle"):Clone()
swordHandle.Parent = v90
instance6.Part1 = swordHandle
elseif p87 == "Disgraced Stance" or (p87 == "Vessel Stance" or p87 == "Honored Stance") then
local energyStanceRightFingers = emotes.EnergyStanceRightFingers:Clone()
energyStanceRightFingers.Motor.Part0 = v90["Right Arm"]
local color = v90["Right Arm"].Color
for _, v94 in ipairs(energyStanceRightFingers:GetChildren()) do
if v94:IsA("MeshPart") then
v94.Color = color
end
end
energyStanceRightFingers.Parent = v90
local energyStanceLeftFingers = emotes.EnergyStanceLeftFingers:Clone()
energyStanceLeftFingers.Motor.Part0 = v90["Left Arm"]
local color2 = v90["Left Arm"].Color
for _, v95 in ipairs(energyStanceLeftFingers:GetChildren()) do
if v95:IsA("MeshPart") then
v95.Color = color2
end
end
energyStanceLeftFingers.Parent = v90
elseif p87 == "Nuh-Uh" or p87 == "Snap" then
local rightFingers = emotes.RightFingers:Clone()
rightFingers.Motor.Part0 = v90["Right Arm"]
local color3 = v90["Right Arm"].Color
for _, v96 in ipairs(rightFingers:GetChildren()) do
if v96:IsA("MeshPart") then
v96.Color = color3
end
end
rightFingers.Parent = v90
elseif p87 == "Bright Idea" then
local leftFingers = emotes.LeftFingers:Clone()
leftFingers.Motor.Part0 = v90["Left Arm"]
local color4 = v90["Left Arm"].Color
for _, v97 in ipairs(leftFingers:GetChildren()) do
if v97:IsA("MeshPart") then
v97.Color = color4
end
end
leftFingers.Parent = v90
elseif p87 == "Rock \'n\' Roll" then
local t98 = {
name = "Circle",
c0 = nil,
c1 = nil
}
t98.c0 = CFrame.new(0.04, -0.71, -1.73)
t98.c1 = CFrame.new(0.06, 0, 0)
local t99 = {
name = "Circle.001",
c0 = nil,
c1 = nil
}
t99.c0 = CFrame.new(-4.38, -0.17, 2.87)
t99.c1 = CFrame.new(0, 0.061, 0)
local t100 = {
name = "Circle.002",
c0 = nil,
c1 = nil
}
t100.c0 = CFrame.new(4.47, -0.17, 2.87)
t100.c1 = CFrame.new(0, 0.061, 0)
for _, v101 in ipairs({ t98, t99, t100 }) do
local instance7 = Instance.new("Motor6D")
instance7.Name = v101.name
instance7.Part0 = v90.HumanoidRootPart
instance7.C0 = v101.c0
instance7.C1 = v101.c1
instance7.Parent = v90.HumanoidRootPart
local v102 = emotes.RocknRoll[v101.name]:Clone()
v102.Parent = v90
instance7.Part1 = v102
end
end
v92:Play(0)
end
instance.Event:Connect(function(p104)
if p104.Request == "ViewportAnimation" then
fn_u103(p104.EmoteName, p104.Slot)
end
end)
local function fn_u122()
while true do
local v105 = obj
if typeof(v105) == "number" then
break
end
task.wait()
end
while true do
local v106 = obj2
if typeof(v106) == "table" then
break
end
task.wait()
end
while true do
local v107 = s_u13
if typeof(v107) == "table" then
break
end
task.wait()
end
while true do
local v108 = s_u14
if typeof(v108) == "table" then
break
end
task.wait()
end
while true do
local v109 = v_u22
if typeof(v109) == "boolean" then
break
end
task.wait()
end
local v110 = obj
local v111 = obj2["Page" .. tostring(v110)]
if typeof(v111) == "table" then
for v112, v113 in pairs(v111) do
if v112 == "Name" then
wheel.PageName.Text = v113
else
local num = tonumber(v112)
if not (num and t_u1[num]) then
continue
end
local v114 = t_u1[num]
local str = tostring(v113)
local v115 = s_u13[str]
if typeof(v115) == "string" then
local v116 = s_u13[str]
local v117 = s_u14[str][1]
local v118 = s_u14[str][2]
v114.Text.Text = v116
local subtext = v114.Subtext
local v119 = table.find(t_u25, subtext)
if v117 == "Kill Emote" then
if not v119 then
local v120 = t_u25
-- aliased fastcall table.insert (called via local/upvalue)
table.insert(v120, subtext)
end
elseif v119 then
table.remove(t_u25, v119)
end
subtext.Text = v117
subtext.TextColor3 = v118 or v_u27
instance:Fire({
Request = "ViewportAnimation",
EmoteName = v116,
Slot = v114
})
else
v114.Text.Text = "None"
local subtext2 = v114.Subtext
local v121 = table.find(t_u25, subtext2)
if v121 then
table.remove(t_u25, v121)
end
subtext2.Text = ""
instance:Fire({
Request = "ViewportAnimation",
EmoteName = "None",
Slot = v114
})
end
end
end
end
end
local function fn_u127()
for _, v123 in ipairs(list2:GetChildren()) do
if not v123:IsA("Frame") or v123:GetAttribute("o") then
continue
end
local v124 = v123:GetAttribute("ENUM")
if typeof(v124) ~= "string" or not table.find(t_u20, v124) then
continue
end
v123:SetAttribute("o", true)
local purchase = v123.Purchase
tweenService:Create(purchase, tweenInfo, {
BackgroundTransparency = 0.35
}):Play()
local price = purchase.Price
local v125 = table.find(t_u26, price)
if v125 then
table.remove(t_u26, v125)
end
price:SetAttribute("NormalPrice", nil)
price.Text = "[OWNED]"
price.UIStroke.Thickness = 1
price.UIStroke.Color = v_u30
local instance8 = Instance.new("Frame")
instance8.Size = uDim2
instance8.BorderSizePixel = 0
instance8.BackgroundColor3 = v_u27
local instance9 = Instance.new("UICorner")
instance9.CornerRadius = uDim
instance9.Parent = instance8
local v126 = tweenService:Create(instance8, tweenInfo2, {
BackgroundTransparency = 1
})
v126.Completed:Once(function()
if instance8 and instance8.Parent then
instance8:Destroy()
end
end)
instance8.Parent = purchase
v126:Play()
end
end
local function fn_u143(p_u128, p_u129, p_u130, p_u131)
local v132 = listButton:Clone()
local backgroundTransparency = v132.BackgroundTransparency