Repository navigation
Expand file tree
/
Copy pathtrimphasefixedrealedpatch.lua
More file actions
3372 lines (3354 loc) · 168 KB
/
Copy pathtrimphasefixedrealedpatch.lua
File metadata and controls
3372 lines (3354 loc) · 168 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.Parent = owner.PlayerGui
local Assets = LoadAssets(90966292963359)
table.foreach(Assets:Get("Assets"):GetChildren(), function(i,v)
local lol = v:Clone()
lol.Parent = script
end)
local removecamshakelol = NS([[
script.Parent.OnServerEvent:Connect(function(PLR)
script.Parent.Parent.Parent.CamShake:Destroy()
end)
]], script.Data.Scripts.CamShakeAssets.REmove)
removecamshakelol.Name = "Rem"
local require = function(f)
return function(...)
return f(...)
end
end
local function ModesM()
local math=setmetatable({random=function(Arg1,Arg2,DIV) DIV=DIV or 1 return math.random(Arg1*DIV,Arg2*DIV)/DIV end;CosSin=function(Arg) return (math.sin(Arg/2)*math.cos(Arg/2)) end;},{__index=math;})
local CFrame=setmetatable({Angles=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.Angles(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end;Angles=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.Angles(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end;},{__index=CFrame;})
local Instance=setmetatable({new = function(type,args) local instance = Instance.new(type) if args then if string.lower(typeof(args)) == "instance" then instance.Parent = args elseif string.lower(typeof(args)) == "table" then for i,v in pairs(args) do pcall(function() instance[i] = v end) end end end return instance end;Remove=function(Instance_,Time) if string.lower(typeof(Instance_))=="instance" then game:GetService("Debris"):AddItem(Instance_,Time or 0) elseif string.lower(typeof(Instance_))=="table" then table.foreach(Instance_,function(_,v) game:GetService("Debris"):AddItem(v,Time or 0) end) end end},{__index=Instance;})
--}{ Default Functions }{--
local ins=Instance.new
local v3=Vector3.new
local v2=Vector2.new
local cf=CFrame.new
local angles=CFrame.Angles
local ud=UDim.new
local ud2=UDim2.new
local c3=Color3.new
local rgb=Color3.fromRGB
local hsv=Color3.fromHSV
local bc=BrickColor.new
local bcRandom=BrickColor.Random
local palette=BrickColor.palette
local cs=ColorSequence.new
local ns=NumberSequence.new
local nsk=NumberSequenceKeypoint.new
local nr=NumberRange.new
local random=math.random
local rad=math.rad
local sin=math.sin
local cos=math.cos
local tan=math.tan
local cotan=math.CosSin
local floor=math.floor
local pi=math.pi
local abs=math.abs
local sqrt=math.sqrt
local clamp=math.clamp
local ray=Ray.new
local huge=math.huge
--
local DefWingCFs={
cf(-1,.5,0)*angles(-140,-90,0,true)*angles(-30,0,0,true),
cf(-.75,0,0)*angles(-100,-90,0,true)*angles(-20,10,0,true),
cf(-1.4,-.5,0)*angles(-80,-90,0,true)*angles(-50,0,0,true),
cf(1,.5,0)*angles(-140,-90,0,true)*angles(30,0,0,true),
cf(.75,0,0)*angles(-100,-90,0,true)*angles(20,-10,0,true),
cf(1.4,-.5,0)*angles(-80,-90,0,true)*angles(50,0,0,true),
}
--
return {
Q={
Colours={
Glow=BrickColor.new("Neon orange").Color,
GlowSec=BrickColor.new("Royal purple").Color,
Body=BrickColor.new("Really black").Color,
BodySec=BrickColor.new("Institutional white").Color,
Spikes=BrickColor.new("Royal purple").Color,
SpikesSec=BrickColor.new("Neon orange").Color
},
Music={
{Id=6829033172,Pitch=1,Volume=1.75}
},
Pose={
CFrame.Angles(math.rad(-3),math.rad(-15),math.rad(0)),
CFrame.new(0,0,0)*CFrame.Angles(math.rad(2),math.rad(15),math.rad(0)),
CFrame.new(-0.1,-0.1,0.05)*CFrame.Angles(math.rad(-3),math.rad(-10),math.rad(6)),
CFrame.new(0.3,-0.1,0.75)*CFrame.Angles(math.rad(-15),math.rad(-70),math.rad(10))*CFrame.Angles(math.rad(25),math.rad(0),math.rad(0)),
CFrame.new(0,0,-0.2)*CFrame.Angles(math.rad(-7.5),math.rad(-20),math.rad(3)),
CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(5),math.rad(-2.5)),
},
WingCFs=DefWingCFs,
ParticleType="SpikesUp"
},
E={
Colours={
Glow=BrickColor.new("Toothpaste").Color,
GlowSec=BrickColor.new("Baby blue").Color,
Body=BrickColor.new("Institutional white").Color,
BodySec=BrickColor.new("Light blue").Color,
Spikes=BrickColor.new("Baby blue").Color,
SpikesSec=BrickColor.new("Toothpaste").Color
},
Music={
{Id=998142984,Pitch=1,Volume=.5},
{Id=1670373906,Pitch=1,Volume=.4},
},
Pose={
CFrame.Angles(math.rad(-7),math.rad(5),math.rad(0)),
CFrame.new(0,0,0.1)*CFrame.Angles(math.rad(5),math.rad(-5),math.rad(0)),
CFrame.new(-0.45,-0.4,-0.1)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-70)),
CFrame.new(0.4,-0.5,-0.1)*CFrame.Angles(math.rad(110),math.rad(20),math.rad(80)),
CFrame.new(0,0,-0.05)*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(2)),
CFrame.new(0,0,0)*CFrame.Angles(math.rad(-3),math.rad(8),math.rad(-3)),
},
WingCFs={
cf(-1,.5,0)*angles(-140,-90,0,true)*angles(-30,0,0,true),
cf(-2,.3,.25)*angles(-105,-90,0,true)*angles(45,90,0,true),
cf(-1.4,-.5,0)*angles(-80,-90,0,true)*angles(-50,0,0,true),
cf(1,.5,0)*angles(-140,-90,0,true)*angles(30,0,0,true),
cf(2,.15,.25)*angles(-95,-90,0,true)*angles(-45,-90,0,true),
cf(1.4,-.5,0)*angles(-80,-90,0,true)*angles(50,0,0,true),
},
ParticleType="BackRing"
},
R={
Colours={
Glow=BrickColor.new("Maroon").Color,
GlowSec=BrickColor.new("Really black").Color,
Body=BrickColor.new("Really black").Color,
BodySec=BrickColor.new("Maroon").Color,
Spikes=BrickColor.new("Really black").Color,
SpikesSec=BrickColor.new("Maroon").Color
},
Music={
{Id=4755976868,Pitch=1,Volume=.5},
{Id=6872513446,Pitch=.846,Volume=.5},
},
Pose={
CFrame.Angles(math.rad(-15),math.rad(-20),math.rad(-10)),
CFrame.new(0.35,1,0.125)*CFrame.Angles(math.rad(10),math.rad(20),math.rad(-10)),
CFrame.new(-0.1,-0.35,-0.1)*CFrame.Angles(math.rad(20),math.rad(20),math.rad(25)),
CFrame.new(0.1,0.3,-0.3)*CFrame.Angles(math.rad(170),math.rad(-30),math.rad(-10)),
CFrame.new(0.1,0.8,-0.65)*CFrame.Angles(math.rad(-15),math.rad(-30),math.rad(5)),
CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(10),math.rad(-5))
},
WingCFs={
cf(-1,.5,0)*angles(-140,-90,0,true)*angles(-30,0,0,true),
cf(-2,8,-1.5),
cf(-1.4,-.5,0)*angles(-80,-90,0,true)*angles(-50,0,0,true),
cf(1,.5,0)*angles(-140,-90,0,true)*angles(30,0,0,true),
cf(1,6,-1.4)*angles(0,0,-80,true),
cf(1.4,-.5,0)*angles(-80,-90,0,true)*angles(50,0,0,true),
},
Shaky=true,
ParticleType="Hang"
},
T={
Colours={
Glow=rgb(154,229,154),
GlowSec=rgb(201,153,255),
Body=BrickColor.new("Institutional white").Color,
BodySec=rgb(154,229,154),
Spikes=rgb(201,153,255),
SpikesSec=BrickColor.new("Institutional white").Color
},
Music={
{Id=1409668861,Pitch=1,Volume=.5},
{Id=6977533012,Pitch=1,Volume=.5},
},
Pose={
CFrame.Angles(math.rad(-8),math.rad(15),math.rad(0)),
CFrame.new(0.125,-0.05,0)*CFrame.Angles(math.rad(-5),math.rad(-15),math.rad(-5)),
CFrame.new(-0.75,0,-0.2)*CFrame.Angles(math.rad(20),math.rad(15),math.rad(-20)),
CFrame.new(0.75,0,-0.15)*CFrame.Angles(math.rad(30),math.rad(-10),math.rad(35)),
CFrame.new(0.2,0.125,-0.35)*CFrame.Angles(math.rad(-10),math.rad(-35),math.rad(-10)),
CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(5),math.rad(2)),
},
WingCFs={
cf(-1,.5,0)*angles(-140,-90,0,true)*angles(-30,0,0,true),
cf(-.75,0,-.5)*angles(-100,-90,0,true)*angles(-80,50,-10,true),
cf(-1.4,-.5,0)*angles(-80,-90,0,true)*angles(-50,0,0,true),
cf(1,.5,0)*angles(-140,-90,0,true)*angles(30,0,0,true),
cf(.75,0,-.5)*angles(-100,-90,0,true)*angles(80,-50,10,true),
cf(1.4,-.5,0)*angles(-80,-90,0,true)*angles(50,0,0,true),
},
ParticleType="PhaseIn"
},
}
--[[
Left Shoulder:
C0: CFrame.new(-1,.5,0)*CFrame.new(0.75,0,-0.15)*CFrame.Angles(math.rad(30),math.rad(-10),math.rad(35))
C1: CFrame.new(.5,.5,0)
Right Shoulder:
C0: CFrame.new(1,.5,0)*CFrame.new(-0.75,0,-0.2)*CFrame.Angles(math.rad(20),math.rad(15),math.rad(-20))
C1: CFrame.new(-.5,.5,0)
Neck:
C0: CFrame.new(0,1,0)*CFrame.Angles(math.rad(-8),math.rad(15),math.rad(0))
C1: CFrame.new(0,-.5,0)
Right Hip:
C0: CFrame.new(0.5,-1,0)*CFrame.new(0.2,0.125,-0.35)*CFrame.Angles(math.rad(-10),math.rad(-35),math.rad(-10))
C1: CFrame.new(0,1,0)
Left Hip:
C0: CFrame.new(-0.5,-1,0)*CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(5),math.rad(2))
C1: CFrame.new(0,1,0)
RootJoint:
C0: CFrame.new(0.125,-0.05,0)*CFrame.Angles(math.rad(-5),math.rad(-15),math.rad(-5))
C1:
]]--
end
local function JointsM(...)
local v3=Vector3.new
return{
["R6"]={
["Neck"]={
["Att0Rotation"]=v3(0,-90,90),
["Att1Rotation"]=v3(0,-90,90),
["Position0"]=v3(0,.5,0),
["Position1"]=v3(0,-.5,0),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=90,
TwistLowerAngle=-90,
TwistUpperAngle=90
}
},
["Right Shoulder"]={
["Att0Rotation"]=v3(0,0,0),
["Att1Rotation"]=v3(0,0,-90),
["Position0"]=v3(.75,.333,0),
["Position1"]=v3(0,.333,0),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=165,
TwistLowerAngle=-135,
TwistUpperAngle=135
}
},
["Left Shoulder"]={
["Att0Rotation"]=v3(0,0,0),
["Att1Rotation"]=v3(0,0,90),
["Position0"]=v3(-.75,.333,0),
["Position1"]=v3(0,.333,0),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=165,
TwistLowerAngle=-135,
TwistUpperAngle=135
}
},
["Right Hip"]={
["Att0Rotation"]=v3(0,-90,-90),
["Att1Rotation"]=v3(0,-90,-90),
["Position0"]=v3(.25,-.5,0),
["Position1"]=v3(0,.5,0),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=100,
TwistLowerAngle=-45,
TwistUpperAngle=45
}
},
["Left Hip"]={
["Att0Rotation"]=v3(0,-90,-90),
["Att1Rotation"]=v3(0,-90,-90),
["Position0"]=v3(-.25,-.5,0),
["Position1"]=v3(0,.5,0),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=100,
TwistLowerAngle=-45,
TwistUpperAngle=45
}
}
},
["R15"]={
["Neck"]={
["Att0Rotation"]=v3(0,-90,90),
["Att1Rotation"]=v3(0,-90,90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=80,
TwistLowerAngle=-75,
TwistUpperAngle=75
}
},
["Waist"]={
["Att0Rotation"]=v3(0,-90,90),
["Att1Rotation"]=v3(0,-90,90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=25,
TwistLowerAngle=-30,
TwistUpperAngle=30
}
},
["RightShoulder"]={
["Att0Rotation"]=v3(0,0,0),
["Att1Rotation"]=v3(0,0,-90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=105,
TwistLowerAngle=-115,
TwistUpperAngle=115
}
},
["LeftShoulder"]={
["Att0Rotation"]=v3(0,0,0),
["Att1Rotation"]=v3(0,0,90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=105,
TwistLowerAngle=-115,
TwistUpperAngle=115
}
},
["RightHip"]={
["Att0Rotation"]=v3(0,-90,-90),
["Att1Rotation"]=v3(0,-90,-90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=80,
TwistLowerAngle=-35,
TwistUpperAngle=35
}
},
["LeftHip"]={
["Att0Rotation"]=v3(0,-90,-90),
["Att1Rotation"]=v3(0,-90,-90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=80,
TwistLowerAngle=-35,
TwistUpperAngle=35
}
},
["RightElbow"]={
["Att0Rotation"]=v3(0,0,0),
["Att1Rotation"]=v3(0,0,0),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=0,
TwistLowerAngle=105,
TwistUpperAngle=0
}
},
["LeftElbow"]={
["Att0Rotation"]=v3(0,0,0),
["Att1Rotation"]=v3(0,0,0),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=0,
TwistLowerAngle=105,
TwistUpperAngle=0
}
},
["RightKnee"]={
["Att0Rotation"]=v3(0,0,0),
["Att1Rotation"]=v3(0,0,0),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=0,
TwistLowerAngle=0,
TwistUpperAngle=-105
}
},
["LeftKnee"]={
["Att0Rotation"]=v3(0,0,0),
["Att1Rotation"]=v3(0,0,0),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=0,
TwistLowerAngle=0,
TwistUpperAngle=-105
}
},
["RightWrist"]={
["Att0Rotation"]=v3(0,-90,-90),
["Att1Rotation"]=v3(0,-90,-90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=10,
TwistLowerAngle=-35,
TwistUpperAngle=35
}
},
["LeftWrist"]={
["Att0Rotation"]=v3(0,-90,-90),
["Att1Rotation"]=v3(0,-90,-90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=10,
TwistLowerAngle=-35,
TwistUpperAngle=35
}
},
["RightAnkle"]={
["Att0Rotation"]=v3(0,-90,-90),
["Att1Rotation"]=v3(0,-90,-90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=10,
TwistLowerAngle=-35,
TwistUpperAngle=35
}
},
["LeftAnkle"]={
["Att0Rotation"]=v3(0,-90,-90),
["Att1Rotation"]=v3(0,-90,-90),
["BallSocketProps"]={
LimitsEnabled=true,
TwistLimitsEnabled=true,
UpperAngle=10,
TwistLowerAngle=-35,
TwistUpperAngle=35
}
}
}
}
end
local function RagdollM(...)
local ORIGCF=CFrame.new
local math=setmetatable({random=function(Arg1,Arg2,DIV) DIV=DIV or 1 return math.random(Arg1*DIV,Arg2*DIV)/DIV end;CosSin=function(Arg) return (math.sin(Arg/2)*math.cos(Arg/2)) end;},{__index=math;})
local CFrame=setmetatable({new=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.new(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end;},{__index=CFrame;})
local Instance=setmetatable({new=function(type,args) local instance=Instance.new(type) pcall(function() if args then if string.lower(typeof(args))=="instance" then instance.Parent=args elseif string.lower(typeof(args))=="table" then for i,v in pairs(args) do pcall(function() instance[i]=v end) end end end end) return instance end;Remove=function(Instance_,Time) if string.lower(typeof(Instance_))=="instance" then game:GetService("Debris"):AddItem(Instance_,Time or 0) elseif string.lower(typeof(Instance_))=="table" then table.foreach(Instance_,function(_,v) game:GetService("Debris"):AddItem(v,Time or 0) end) end end},{__index=Instance;})
local ins=Instance.new
local cf=ORIGCF
local cfn=CFrame.new
local v3=Vector3.new
local Ragdoll={}
local Joints=require(JointsM)
function Ragdoll:Ragdollify(who,kill_)
if who and not who:FindFirstChild("urdedxdxdxddxdxdxxddxd") then
local Data={Joints={};HRP=nil;RDParts={};STATUS=kill_ and "Dead" or "Stunned";}
if kill_ then
ins("StringValue",{Name="urdedxdxdxddxdxdxxddxd",Parent=who})
else
ins("StringValue",{Name="urstunnddxdxdxddxdxdxxddxd",Parent=who})
end
local head
local human=who:FindFirstChildOfClass("Humanoid")
if human then
human.PlatformStand=true
end
if kill_ then
for i,v in pairs(who:GetDescendants()) do
if v.Name=="RagdollHB" then
Instance.Remove(v)
end
end
end
for i,v in pairs(who:GetDescendants()) do
if v:IsA("Motor6D") or v:IsA("Weld") then
for _,r in pairs(Joints) do
for w,j in pairs(r) do
if v.Name==w then
local att0=ins("Attachment",{Position=v.C0.Position,Orientation=j["Att0Rotation"],Parent=v.Part0})
local att1=ins("Attachment",{Position=v.C1.Position,Orientation=j["Att1Rotation"],Parent=v.Part1})
if j["Position0"] then
att0.Position=v.Part0.Size*j["Position0"]
end
if j["Position1"] then
att1.Position=v.Part1.Size*j["Position1"]
if not kill_ then
local p=ins("Part",{Name="RagdollHB",Locked=true,Massless=true,Anchored=false,CanCollide=true,Transparency=1,Size=v.Part1.Size*v3(.75,.75,.75),Parent=v.Part1})
local w=ins("Weld",{Parent=v.Part1;Part0=v.Part1;Part1=p;})
table.insert(Data.RDParts,p)
table.insert(Data.RDParts,w)
if string.find(v.Part1.Name,"Arm") or string.find(v.Part1.Name,"Leg") then
w.C0=cf(0,(-v.Part1.Size.Y/2)+p.Size.Y/2,0)
end
end
else
if not kill_ then
local p=ins("Part",{Name="RagdollHB",Locked=true,Massless=true,Anchored=false,CanCollide=true,Transparency=1,Size=v.Part1.Size*v3(.5,.3,.5),Parent=v.Part1})
local w=ins("Weld",{Parent=v.Part1;Part0=v.Part1;Part1=p;})
table.insert(Data.RDParts,p)
table.insert(Data.RDParts,w)
elseif v.Part1.Name=="Head" then
local p=ins("Part",{Name="RagdollHB",Locked=true,Massless=true,Anchored=false,CanCollide=true,Transparency=1,Size=v.Part1.Size*v3(.5,.3,.5),Parent=v.Part1})
local w=ins("Weld",{Parent=v.Part1;Part0=v.Part1;Part1=p;})
table.insert(Data.RDParts,p)
table.insert(Data.RDParts,w)
end
end
local NC=ins("NoCollisionConstraint",{Part0=v.Part0,Part1=v.Part1,Parent=v.Part0})
local socket=ins("BallSocketConstraint",{Attachment0=att0,Attachment1=att1,Name=w,Parent=att0})
table.insert(Data.RDParts,socket)
table.insert(Data.RDParts,NC)
for i,v in pairs(j["BallSocketProps"]) do
socket[i]=v
end
table.insert(Data.Joints,{v;v.Parent;v.Part0;v.Part1})
v.Parent=nil
end
end
end
end
if v:IsA("BasePart") and v.Name~="RagdollHB" then
v.Anchored=false
v.TopSurface,v.BottomSurface=10,10
v.CanCollide=false
if kill_ then
Instance.Remove(v,10)
end
if v.Name=="Head" then
head=v
end
elseif v:IsA("Decal") then
if kill_ then
Instance.Remove(v,10)
end
end
end
if who:FindFirstChild("HumanoidRootPart") then
Data.HRP={who:FindFirstChild("HumanoidRootPart");who:FindFirstChild("HumanoidRootPart").Parent}
who:FindFirstChild("HumanoidRootPart").Parent=nil
end
if kill_ then
Instance.Remove(who,10)
end
if human then
if kill_ then
human.BreakJointsOnDeath=false
human.Health=0
end
human.PlatformStand=true
end
local Funcs={}
function Funcs:Undo(Time)
if Data.STATUS~="Stunned" then return end;
if Time then
coroutine.wrap(function()
wait(Time)
Data.HRP[1].Parent=Data.HRP[2]
for i,v in pairs(Data.Joints) do
v[1].Parent=v[2]
v[1].Part0=v[3]
v[1].Part1=v[4]
end
for i,v in pairs(Data.RDParts) do
if v.Name~="Neck" then
Instance.Remove(v)
end
end
if human then
human.PlatformStand=false
end
Data.STATUS="None"
end)()
else
Data.HRP[1].Parent=Data.HRP[2]
for i,v in pairs(Data.Joints) do
v[1].Parent=v[2]
end
for i,v in pairs(Data.RDParts) do
Instance.Remove(v)
end
if human then
human.PlatformStand=false
end
Data.STATUS="None"
end
end
function Funcs:Finish(Time)
if Data.STATUS~="Stunned" then return end;
if Time then
coroutine.wrap(function()
wait(Time)
Ragdoll:Ragdollify(who,true)
Data.STATUS="Dead"
end)()
else
Ragdoll:Ragdollify(who,true)
Data.STATUS="Dead"
end
end
return Funcs,head
end
end
return Ragdoll
end
local function DamageM(...)
--[[
> Made by v_Sado(formerly vlad20020), 2020 < badyear
position size damage damage spread knockback knockback spread ignore list
Damage.new(Vector3.new(0,0,0),Vector3.new(5,5,5),10, 5, 15, 5, {char})
D.new():Check(1,nil or 0,function) > checks only once with a little delay after, sets local OnHit function(args: part instance), returns hit characters
D.new():Check(5,0,function) > checks 5 times with delay regarding the server performance, sets local OnHit function(args: part instance), returns hit characters
D.new():Check(5,.1,function) > checks 5 times with delay of 0.1 seconds, sets local OnHit function(args: part instance), returns hit characters
Damage:SetDeathEffectFunction(function) > args: char, instakill effect
Damage:SetDamageDisplayFunction(function) > args: cframe, text, text lifetime
Damage:SetOnFunction(function) > args: part instance
Damage:SetMaxHealth(num) > sets max life before instakill
--]]
local Damage={}
local SData={}
Damage.__index=Damage
local function CheckForElement(Table,Value)
for i,v in next,Table do
if v==Value then return false end
end
return true
end
Damage.new=function(pos,size,damage,damr,knockback,kbr,ignore)
assert(pos,"arg 1 'position' lacking")
assert(typeof(pos)=="Vector3" or typeof(pos)=="CFrame","position must be a Vector3 value either or CFrame value")
assert(typeof(size)=="number" or typeof(size)=="Vector3" or typeof(size)=="CFrame","arg 2 'size' isn't number, CFrame or Vector3")
size=size or 1
damage=damage or 10
knockback=knockback or 5
damr=damr or 5
kbr=kbr or 5
ignore=ignore or {}
if typeof(pos)=="CFrame" then pos=pos.Position end
if typeof(size)=="number" then size=Vector3.new(1,1,1)*size elseif typeof(size)=="CFrame" then size=size.Position end
local CurrentData={
Position=pos,
Size=size,
Damage=damage,
DamageSpread=damr,
Knockback=knockback,
KnockbackSpread=kbr,
IgnoreList=ignore
}
CurrentData.Region=Region3.new(CurrentData.Position-CurrentData.Size/2,CurrentData.Position+CurrentData.Size/2)
return setmetatable(CurrentData,Damage)
end
Damage.Damage=function(hum,t,pos,dam,dr,kb,kbr,oh,CurrentData)
if hum and not hum:FindFirstChild("dеb") then
local Deb=Instance.new("Glue",hum) Deb.Name="dеb" coroutine.wrap(function() game:GetService("RunService").Heartbeat:Wait() Deb:Destroy() end)()
local df,sdf,ohf=(CurrentData and CurrentData.DeathEffect) or SData.DeathEffect,(CurrentData and CurrentData.DamageDisplay) or SData.DamageDisplay,oh or (CurrentData and CurrentData.OnHit) or SData.OnHit
local Dir=CFrame.new(pos,t.Position).LookVector
local Damage=math.clamp(dam+math.random(-dr,dr),1 and not dr or 0,math.huge)
local Knockback=math.clamp(kb+math.random(-kbr,kbr),0,math.huge)
local DeathEffect,DamageDisplay=df,sdf
ohf(t)
if Damage<1 then return end
local Health=hum.Health
local Mul=Damage+(Damage*(hum.MaxHealth/95)/10)
if hum.MaxHealth>SData.MaxHealth then df(hum.Parent,true) sdf(t.CFrame,"-NULL",2.5) end
hum.Health=hum.Health-math.floor(Mul)
sdf(t.CFrame,-(Health-hum.Health),2)
if Knockback >0 then local KB=Instance.new("BodyVelocity",t) KB.MaxForce=Vector3.new(25000,25000,25000) KB.Velocity=Dir*Knockback game:GetService("Debris"):AddItem(KB,.125) end
if hum.Health<.1 and not hum:FindFirstChild("Dead") then Instance.new("BoolValue",hum).Name="Dead" df(hum.Parent,false) end
end
end
Damage.Check=function(self,times,delay,oh)
local CurrentData=self
local Characters={}
if not times then
for i,v in next,workspace:FindPartsInRegion3WithIgnoreList(CurrentData.Region,CurrentData.IgnoreList,600) do
if v.Parent then
local Hum=v.Parent:FindFirstChildOfClass("Humanoid")
if Hum then
local Char=Hum.Parent
local T=Char:FindFirstChild("Torso") or Char:FindFirstChild("UpperTorso") or Char:FindFirstChild("LowerTorso")
if T and Char and CheckForElement(Characters,Char) then
table.insert(Characters,Char)
Damage.Damage(Hum,T,CurrentData.Position,CurrentData.Damage,CurrentData.DamageSpread,CurrentData.Knockback,CurrentData.KnockbackSpread,oh,CurrentData)
end
end
end
end
else
coroutine.wrap(function()
for i=1,times do
for i,v in next,workspace:FindPartsInRegion3WithIgnoreList(CurrentData.Region,CurrentData.IgnoreList,600) do
if v.Parent then
local Hum=v.Parent:FindFirstChildOfClass("Humanoid") or (v.Parent and v.Parent.Parent) and v.Parent.Parent:FindFirstChildOfClass("Humanoid")
if Hum then
local Char=Hum.Parent
local T=Char:FindFirstChild("Torso") or Char:FindFirstChild("UpperTorso") or Char:FindFirstChild("LowerTorso")
if T and Char and CheckForElement(Characters,Char) then
table.insert(Characters,Char)
Damage.Damage(Hum,T,CurrentData.Position,CurrentData.Damage,CurrentData.DamageSpread,CurrentData.Knockback,CurrentData.KnockbackSpread,oh,CurrentData)
end
end
end
end
if not delay or delay==0 then
game:GetService("RunService").Heartbeat:Wait()
else
wait(delay)
end
end
end)()
end
return Characters
end
Damage.SetDeathEffectFunction=function(self,func)
assert(func,"arg 1 'func' lacking")
assert(typeof(func)=="function","arg 1 'func' must be a function")
Damage.DeathEffect=func
return Damage.DeathEffect
end
Damage.SetDamageDisplayFunction=function(self,func)
assert(func,"arg 1 'func' lacking")
assert(typeof(func)=="function","arg 1 'func' must be a function")
Damage.DamageDisplay=func
return Damage.DamageDisplay
end
Damage.SetOnHitFunction=function(self,func)
assert(func,"arg 1 'func' lacking")
assert(typeof(func)=="function","arg 1 'func' must be a function")
Damage.OnHit=func
return Damage.OnHit
end
Damage.SetMaxHealth=function(self,num)
assert(num,"arg 1 'num' lacking")
assert(typeof(num)=="number","arg 1 'num' must be a number")
Damage.MaxHealth=num
return Damage.MaxHealth
end
Damage.SetGlobalDeathEffectFunction=function(self,func)
assert(func,"arg 1 'func' lacking")
assert(typeof(func)=="function","arg 1 'func' must be a function")
SData.DeathEffect=func
return SData.DeathEffect
end
Damage.SetGlobalDamageDisplayFunction=function(self,func)
assert(func,"arg 1 'func' lacking")
assert(typeof(func)=="function","arg 1 'func' must be a function")
SData.DamageDisplay=func
return SData.DamageDisplay
end
Damage.SetGlobalOnHitFunction=function(self,func)
assert(func,"arg 1 'func' lacking")
assert(typeof(func)=="function","arg 1 'func' must be a function")
SData.OnHit=func
return SData.OnHit
end
Damage.SetGlobalMaxHealth=function(self,num)
assert(num,"arg 1 'num' lacking")
assert(typeof(num)=="number","arg 1 'num' must be a number")
SData.MaxHealth=num
return SData.MaxHealth
end
Damage:SetGlobalDeathEffectFunction(function()end)
Damage:SetGlobalDamageDisplayFunction(function()end)
Damage:SetGlobalOnHitFunction(function()end)
Damage:SetGlobalMaxHealth(5000000)
return Damage
end
local function DeathsM()
local math=setmetatable({random=function(Arg1,Arg2,DIV) DIV=DIV or 1 return math.random(Arg1*DIV,Arg2*DIV)/DIV end;CosSin=function(Arg) return (math.sin(Arg/2)*math.cos(Arg/2)) end;},{__index=math;})
local CFrame=setmetatable({Angles=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.Angles(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end;Angles=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.Angles(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end;},{__index=CFrame;})
local Instance=setmetatable({new = function(type,args) local instance = Instance.new(type) if args then if string.lower(typeof(args)) == "instance" then instance.Parent = args elseif string.lower(typeof(args)) == "table" then for i,v in pairs(args) do pcall(function() instance[i] = v end) end end end return instance end;Remove=function(Instance_,Time) if string.lower(typeof(Instance_))=="instance" then game:GetService("Debris"):AddItem(Instance_,Time or 0) elseif string.lower(typeof(Instance_))=="table" then table.foreach(Instance_,function(_,v) game:GetService("Debris"):AddItem(v,Time or 0) end) end end},{__index=Instance;})
--
local ins=Instance.new
local v3=Vector3.new
local v2=Vector2.new
local cf=CFrame.new
local angles=CFrame.Angles
local ud=UDim.new
local ud2=UDim2.new
local c3=Color3.new
local rgb=Color3.fromRGB
local hsv=Color3.fromHSV
local bc=BrickColor.new
local bcRandom=BrickColor.Random
local palette=BrickColor.palette
local cs=ColorSequence.new
local ns=NumberSequence.new
local nsk=NumberSequenceKeypoint.new
local nr=NumberRange.new
local random=math.random
local rad=math.rad
local sin=math.sin
local cos=math.cos
local tan=math.tan
local cotan=math.CosSin
local floor=math.floor
local pi=math.pi
local abs=math.abs
local sqrt=math.sqrt
local clamp=math.clamp
local ray=Ray.new
local huge=math.huge
--
function Tween(Object,Args,Info)
if Object and Args then
Info = Info or TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
if typeof(Info) == "table" then Info = TweenInfo.new(unpack(Info)) end
game:GetService("TweenService"):Create(Object,Info,Args):Play()
end
end
function Sound(Id,Volume,Pitch,Parent,MaxDistance,EmitterSize,Looped)
local S=ins("Sound",{Volume=Volume or 1;Pitch=Pitch or 1;MaxDistance=MaxDistance or 500;EmitterSize=EmitterSize or 5;Looped=Looped or false;SoundId="rbxassetid://"..Id,Parent=Parent})
S:Play()
coroutine.wrap(function()
if S.Looped then return end
if S.IsLoaded then
Instance.Remove(S,S.TimeLength/S.Pitch)
else
S.Loaded:Connect(function()
Instance.Remove(S,S.TimeLength/S.Pitch)
end)
end
end)()
return S
end
function Raycast(Origin,Direction,Blacklist,MaxDistance,IgnoreWater)
return workspace:FindPartOnRayWithIgnoreList(ray(Origin,Direction.Unit*MaxDistance),Blacklist or {},false,IgnoreWater)
end
function Lerp(a,b,t)
return a+(b-a)*t
end
--
local Models,Scripts=script.Data.Scripts.Deaths.Models,script.Data.Scripts.Deaths.Scripts
local Ragdoll=require(RagdollM)
local AttHolder=Models.AttHolder
Models.Parent=nil
--
return {
BasicDisent=function(Char,Colour)
local Hum=Char:FindFirstChildOfClass("Humanoid")
coroutine.wrap(function()
wait(random(.5,1,100))
local Dir=v3(random(-25,25,10),random(0,15,100),random(-25,25,10))
for i,v in pairs(Char:GetChildren()) do
if v:IsA("BasePart") then
local Col=Colour
v:ClearAllChildren()
v.Transparency=1
v.Size=v3()
local Vap=Models.CrackVap:Clone()
local L=ins("PointLight",{Range=15,Brightness=.75,Shadows=false,Color=Col,Parent=v})
Tween(L,{Brightness=0},{2,Enum.EasingStyle.Circular,Enum.EasingDirection.Out,0,false,0})
Vap.Acceleration=Dir
Vap.VelocityInheritance=random(.1,.25,100)
Vap.Color=cs(Col)
Vap.Parent=v
Vap:Emit(random(5,7))
Instance.Remove(v,2)
Sound(3264923,.7,random(.8,1.1,100),v,150,5)
wait(random(.03,.1,1000))
else
Instance.Remove(v)
end
end
end)()
Ragdoll:Ragdollify(Char,true)
end,
DissipateImpale=function(Char,Colour)
Ragdoll:Ragdollify(Char,true)
local Float=false
for i,v in pairs(Char:GetChildren()) do
if v:IsA("BasePart") then
if not Float then
Sound(({1842491592,1842491943})[random(1,2)],2.5,random(.9,1.1,100),v,100,5)
Float=true
ins("BodyPosition",{MaxForce=v3(huge,huge,huge),D=2500,Position=v.Position+v3(random(-5,5,10),random(5,15,10),random(-5,5,10)),Parent=v})
end
coroutine.wrap(function()
local Colour=typeof(Colour)=="table" and Colour[random(1,#Colour)] or Colour
wait(random(1,1.5,100))
v.Name,v.Anchored,v.CanCollide,v.Massless="):",false,false,true
v:BreakJoints()
local Time=random(.5,1.5,100)
local BDist=random(15,45)
local Holder=ins("Part",{Size=v3(0,0,0),CanCollide=false,Anchored=false,Transparency=1,CFrame=v.CFrame,Parent=workspace.Terrain})
local Base=AttHolder.Base:Clone()
local B1,B2,B,S,H,HS=Base.B1,Base.B1.B2,Base.B1.Beam,Base.Sound,Base.Hit,Base.HitSparks
B.Color,H.Color,HS.Color=cs(Colour),cs(Colour),cs(Colour)
Base.Parent,Base.CFrame=Holder,angles(random(-180,180,10),random(-180,180,10),random(-180,180,10),true)
B1.CFrame,B2.CFrame=cf(0,0,0),cf()--cf(random(-25,25,10),random(-25,25,10),random(-25,25,10))
Tween(B,{CurveSize0=random(-35,35,10),CurveSize1=random(-35,35,10)},{Time/4,Enum.EasingStyle.Circular,Enum.EasingDirection.In,0,true,0})
Tween(B1,{CFrame=cf(0,BDist,0)},{Time/2,Enum.EasingStyle.Circular,Enum.EasingDirection.In,0,false,0})
Tween(B2,{CFrame=cf(0,-BDist-5,0)},{Time/2,Enum.EasingStyle.Circular,Enum.EasingDirection.In,0,false,0})
Tween(Base,{CFrame=angles(random(-180,180,10),random(-180,180,10),random(-180,180,10),true)},{Time/2,Enum.EasingStyle.Circular,Enum.EasingDirection.In,0,false,0})
wait(Time/2)
Sound(({1835333619,1843115997})[random(1,1)],1,random(.9,1.1,100),Base,100,5)
H:Emit(random(5,20)) HS:Emit(random(5,20))
v:ClearAllChildren()
Holder.CFrame=v.CFrame
Tween(B,{CurveSize0=random(-35,35,10),CurveSize1=random(-35,35,10)},{Time/4,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,true,0})
Tween(B2,{CFrame=cf(0,0,0)},{Time/2,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,false,0})
Tween(B1,{CFrame=B1.CFrame*angles(0,-360,360,0)},{Time/2,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,false,0})
Tween(v,{Transparency=1,CFrame=cf(B1.WorldPosition)*angles(random(-180,180,10),random(-180,180,10),random(-180,180,10),true)},{Time/2,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0,false,0})
Instance.Remove({v,Holder},Time/2+1)
end)()
elseif not v:IsA("BasePart") and not v:IsA("Shirt") and not v:IsA("Pants") then
Instance.Remove(v)
end
end
end,
}
end
local math=setmetatable({random=function(Arg1,Arg2,DIV) DIV=DIV or 1 return math.random(Arg1*DIV,Arg2*DIV)/DIV end;CosSin=function(Arg) return (math.sin(Arg/2)*math.cos(Arg/2)) end;},{__index=math;})
local CFrame=setmetatable({Angles=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.Angles(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end;Angles=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.Angles(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end;},{__index=CFrame;})
local Instance=setmetatable({new = function(type,args) local instance = Instance.new(type) if args then if string.lower(typeof(args)) == "instance" then instance.Parent = args elseif string.lower(typeof(args)) == "table" then for i,v in pairs(args) do pcall(function() instance[i] = v end) end end end return instance end;Remove=function(Instance_,Time) if string.lower(typeof(Instance_))=="instance" then game:GetService("Debris"):AddItem(Instance_,Time or 0) elseif string.lower(typeof(Instance_))=="table" then table.foreach(Instance_,function(_,v) game:GetService("Debris"):AddItem(v,Time or 0) end) end end},{__index=Instance;})
local Player,UIS,Mouse,CrossClient=script.Parent.ClassName=="PlayerGui" and game:GetService("Players")[script.Parent.Parent.Name] or script.Parent.ClassName=="Model" and game:GetService("Players")[script.Parent.Name],nil,nil,nil
local Client=NLS([==[
local require = function(f)
return function(...)
return f(...)
end
end
local function ModesM(...)
local math=setmetatable({random=function(Arg1,Arg2,DIV) DIV=DIV or 1 return math.random(Arg1*DIV,Arg2*DIV)/DIV end;CosSin=function(Arg) return (math.sin(Arg/2)*math.cos(Arg/2)) end;},{__index=math;})
local CFrame=setmetatable({Angles=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.Angles(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end;Angles=function(Arg1,Arg2,Arg3,Angles) if not Angles then return CFrame.Angles(Arg1,Arg2,Arg3) else return CFrame.Angles(math.rad(Arg1),math.rad(Arg2),math.rad(Arg3)) end end;},{__index=CFrame;})
local Instance=setmetatable({new = function(type,args) local instance = Instance.new(type) if args then if string.lower(typeof(args)) == "instance" then instance.Parent = args elseif string.lower(typeof(args)) == "table" then for i,v in pairs(args) do pcall(function() instance[i] = v end) end end end return instance end;Remove=function(Instance_,Time) if string.lower(typeof(Instance_))=="instance" then game:GetService("Debris"):AddItem(Instance_,Time or 0) elseif string.lower(typeof(Instance_))=="table" then table.foreach(Instance_,function(_,v) game:GetService("Debris"):AddItem(v,Time or 0) end) end end},{__index=Instance;})
--}{ Default Functions }{--
local ins=Instance.new
local v3=Vector3.new
local v2=Vector2.new
local cf=CFrame.new
local angles=CFrame.Angles
local ud=UDim.new
local ud2=UDim2.new
local c3=Color3.new
local rgb=Color3.fromRGB
local hsv=Color3.fromHSV
local bc=BrickColor.new
local bcRandom=BrickColor.Random
local palette=BrickColor.palette
local cs=ColorSequence.new
local ns=NumberSequence.new
local nsk=NumberSequenceKeypoint.new
local nr=NumberRange.new
local random=math.random
local rad=math.rad
local sin=math.sin
local cos=math.cos
local tan=math.tan
local cotan=math.CosSin
local floor=math.floor
local pi=math.pi
local abs=math.abs
local sqrt=math.sqrt
local clamp=math.clamp
local ray=Ray.new
local huge=math.huge
--
local DefWingCFs={
cf(-1,.5,0)*angles(-140,-90,0,true)*angles(-30,0,0,true),
cf(-.75,0,0)*angles(-100,-90,0,true)*angles(-20,10,0,true),
cf(-1.4,-.5,0)*angles(-80,-90,0,true)*angles(-50,0,0,true),
cf(1,.5,0)*angles(-140,-90,0,true)*angles(30,0,0,true),
cf(.75,0,0)*angles(-100,-90,0,true)*angles(20,-10,0,true),
cf(1.4,-.5,0)*angles(-80,-90,0,true)*angles(50,0,0,true),
}
--
return {
Q={
Colours={
Glow=BrickColor.new("Neon orange").Color,
GlowSec=BrickColor.new("Royal purple").Color,
Body=BrickColor.new("Really black").Color,
BodySec=BrickColor.new("Institutional white").Color,
Spikes=BrickColor.new("Royal purple").Color,
SpikesSec=BrickColor.new("Neon orange").Color
},
Music={
{Id=6829033172,Pitch=1,Volume=1.75}
},
Pose={
CFrame.Angles(math.rad(-3),math.rad(-15),math.rad(0)),
CFrame.new(0,0,0)*CFrame.Angles(math.rad(2),math.rad(15),math.rad(0)),
CFrame.new(-0.1,-0.1,0.05)*CFrame.Angles(math.rad(-3),math.rad(-10),math.rad(6)),
CFrame.new(0.3,-0.1,0.75)*CFrame.Angles(math.rad(-15),math.rad(-70),math.rad(10))*CFrame.Angles(math.rad(25),math.rad(0),math.rad(0)),
CFrame.new(0,0,-0.2)*CFrame.Angles(math.rad(-7.5),math.rad(-20),math.rad(3)),
CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(5),math.rad(-2.5)),
},
WingCFs=DefWingCFs,
ParticleType="SpikesUp"
},
E={
Colours={
Glow=BrickColor.new("Toothpaste").Color,
GlowSec=BrickColor.new("Baby blue").Color,
Body=BrickColor.new("Institutional white").Color,
BodySec=BrickColor.new("Light blue").Color,
Spikes=BrickColor.new("Baby blue").Color,
SpikesSec=BrickColor.new("Toothpaste").Color
},
Music={
{Id=998142984,Pitch=1,Volume=.5},
{Id=1670373906,Pitch=1,Volume=.4},