-
Notifications
You must be signed in to change notification settings - Fork 4
/
Achromatix
4035 lines (3617 loc) · 181 KB
/
Achromatix
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
--Achromatix <3--
-- Edit by Keanu Reeves#3227 --
--[[HATS
--MAIN--
https://www.roblox.com/catalog/4458601937/Frozen-Demonic-Greatsword
https://www.roblox.com/catalog/4794315940/Golden-Demonic-Greatsword
https://www.roblox.com/catalog/4506945409/Corrupt-Demonic-Greatsword
https://www.roblox.com/catalog/4315489767/Demonic-Greatsword
https://www.roblox.com/catalog/4820152700/Shadow-Blademasters-Blade
https://www.roblox.com/catalog/4524991457/Blademasters-Blade
--EXTRAS--
https://www.roblox.com/catalog/4773932088/Evil-Aura
https://www.roblox.com/catalog/4855847190/Northern-Star
https://www.roblox.com/catalog/4932541287/Sword-Halo
--]]
--Original Script by Golden Exploits V2--
--netless--
loadstring(game:HttpGet(('https://pastebin.com/raw/9y62Q1Pz'),true))()
--gui--
local ScreenGui = Instance.new("ScreenGui")
local Main = Instance.new("Frame")
local TagsAndshit = Instance.new("Frame")
local NAMESHITE = Instance.new("TextLabel")
local CUSTOMOOOOOOO = Instance.new("TextLabel")
local closethisshit = Instance.new("TextButton")
local WingAnimTextBox = Instance.new("TextBox")
local winganimbutton = Instance.new("TextButton")
local WinganimList = Instance.new("TextButton")
local Info = Instance.new("TextLabel")
local Cred = Instance.new("TextLabel")
local Invite = Instance.new("TextButton")
local NameButton = Instance.new("TextButton")
local kk = Instance.new("TextLabel")
--Properties:
warn("Sup. Welcome to Achromatix")
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
Main.Name = "Main"
Main.Parent = ScreenGui
Main.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Main.BorderSizePixel = 0
Main.Position = UDim2.new(0.193726942, 0, 0.318785578, 0)
Main.Size = UDim2.new(0, 434, 0, 152)
Main.Visible = true
TagsAndshit.Name = "TagsAndshit"
TagsAndshit.Parent = Main
TagsAndshit.BackgroundColor3 = Color3.fromRGB(26, 26, 26)
TagsAndshit.BorderSizePixel = 0
TagsAndshit.Size = UDim2.new(0, 419, 0, 27)
NAMESHITE.Name = "NAMESHITE"
NAMESHITE.Parent = TagsAndshit
NAMESHITE.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
NAMESHITE.BackgroundTransparency = 1.000
NAMESHITE.Position = UDim2.new(0.01, 0, 0.111111112, 0)
NAMESHITE.Size = UDim2.new(0, 125, 0, 21)
NAMESHITE.Font = Enum.Font.Michroma
NAMESHITE.Text = "Achromatix"
NAMESHITE.TextColor3 = Color3.fromRGB(255, 255, 255)
NAMESHITE.TextSize = 20.000
NAMESHITE.TextWrapped = true
CUSTOMOOOOOOO.Name = "CUSTOMOOOOOOO"
CUSTOMOOOOOOO.Parent = TagsAndshit
CUSTOMOOOOOOO.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
CUSTOMOOOOOOO.BackgroundTransparency = 1.000
CUSTOMOOOOOOO.Position = UDim2.new(0.265356123, 0, 0.111111112, 0)
CUSTOMOOOOOOO.Size = UDim2.new(0, 144, 0, 21)
CUSTOMOOOOOOO.Font = Enum.Font.FredokaOne
CUSTOMOOOOOOO.Text = "V6"
CUSTOMOOOOOOO.TextColor3 = Color3.fromRGB(255, 0, 0)
CUSTOMOOOOOOO.TextSize = 20.000
CUSTOMOOOOOOO.TextWrapped = true
closethisshit.Name = "closethisshit"
closethisshit.Parent = TagsAndshit
closethisshit.BackgroundColor3 = Color3.fromRGB(26, 26, 26)
closethisshit.BorderSizePixel = 0
closethisshit.Position = UDim2.new(0.930921018, 0, 0, 0)
closethisshit.Size = UDim2.new(0, 44, 0, 27)
closethisshit.AutoButtonColor = false
closethisshit.Font = Enum.Font.SourceSans
closethisshit.Text = " X"
closethisshit.TextColor3 = Color3.fromRGB(255, 0, 0)
closethisshit.TextSize = 20.000
closethisshit.TextYAlignment = Enum.TextYAlignment.Top
Info.Name = "Info"
Info.Parent = TagsAndshit
Info.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Info.BackgroundTransparency = 1.000
Info.Position = UDim2.new(0.14, 0, 1.2, 0)
Info.Size = UDim2.new(0, 320, 0, 30)
Info.Font = Enum.Font.FredokaOne
Info.Text = "To launch the script, click on the red X"
Info.TextColor3 = Color3.fromRGB(255, 255, 255)
Info.TextSize = 20.000
Info.TextWrapped = true
Cred.Name = "Credits"
Cred.Parent = TagsAndshit
Cred.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Cred.BackgroundTransparency = 1.000
Cred.Position = UDim2.new(-0.08, 0, 2, 0)
Cred.Size = UDim2.new(0, 500, 0, 30)
Cred.Font = Enum.Font.RobotoMono
Cred.Text = "Made by Keanu Reeves#3227 | Dreamz1019 on YT"
Cred.TextColor3 = Color3.fromRGB(255, 255, 255)
Cred.TextSize = 18.000
Cred.TextWrapped = true
kk.Name = "KK"
kk.Parent = TagsAndshit
kk.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
kk.BackgroundTransparency = 1.000
kk.Position = UDim2.new(-0.08, 0, 3.4, 0)
kk.Size = UDim2.new(0, 500, 0, 30)
kk.Font = Enum.Font.RobotoMono
kk.Text = "Credit to guard#0381 also for fixing attacks!"
kk.TextColor3 = Color3.fromRGB(255, 255, 255)
kk.TextSize = 13.000
kk.TextWrapped = true
WinganimList.Name = "WinganimList"
WinganimList.Parent = Main
WinganimList.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
WinganimList.BorderSizePixel = 0
WinganimList.Position = UDim2.new(0.74, 0, .8, 0)
WinganimList.Size = UDim2.new(0, 110, 0, 26)
WinganimList.Font = Enum.Font.SourceSansBold
WinganimList.Text = "Modes (press F9)"
WinganimList.TextColor3 = Color3.fromRGB(255, 255, 255)
WinganimList.TextSize = 17.000
WinganimList.MouseButton1Down:Connect(function()
print("MODES/KEYBINDS")
print("1 - Achromatix")
print("2 - Overlord")
print("3 - Jack of All Trades")
print("4 - Darkness")
print("5 - The Chosen One")
print("6 - Toublesome")
print("7 - V I B E R")
print("8 - +Nuclear+")
print("9 - Happy :)")
print("1 + T - Lost Soul")
print("3 + T - Destroyer-of-Worlds")
print("9 + T - ::Chill::")
print("5 + T - Godly")
print("Q - Legendary")
print("P - ---V a p o r w a v e---")
print("E - Spacetime")
print("Z - Rage")
print("X - Awakened")
print("C - Unholy")
print("V - pp ;)")
print("B - Hardbass")
print("U - Determination")
print("L - Unmerciful")
print("K - The True Ending")
print("G - The Big Black")
print("J - ~Funky~")
print("H - Eternal Demise")
print("Z + T - Pain")
print("X + T - Supercharged")
print("U + T - Murderous")
print("L + T - Elysian")
print("B + T - C a r")
end)
game.StarterGui:SetCore("SendNotification", {Title = "Achromatix <3", Text = "This script was made by Keanu Reeves#3227.", Icon = "http://www.roblox.com/asset/?id=6977874681", Duration = 3})
NameButton.Name = "NameButton"
NameButton.Parent = Main
NameButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
NameButton.BorderSizePixel = 0
NameButton.Position = UDim2.new(.01, 0, 0.8, 0)
NameButton.Size = UDim2.new(0, 125, 0, 26)
NameButton.Font = Enum.Font.SourceSansBold
NameButton.Text = "Copy Discord Invite"
NameButton.TextColor3 = Color3.fromRGB(255, 255, 255)
NameButton.TextSize = 17.000
NameButton.MouseButton1Down:Connect(function()
setclipboard("discord.gg/zrUBFKrqJW")
NameTextBox.Text = ""
end)
local function THARZS_fake_script() -- closethisshit.CLOSESCRIPTFUCK
local script = Instance.new('LocalScript', closethisshit)
script.Parent.MouseButton1Down:Connect(function()
script.Parent.Parent.Parent.Visible = false
end)
end
coroutine.wrap(THARZS_fake_script)()
local function LGKSURL_fake_script() -- Main.OOOH SMOOTH DRAG SO COOL
local script = Instance.new('LocalScript', Main)
local Frame = script.Parent
Frame.Draggable = true
local UIS = game:GetService("UserInputService")
local function dragify(Frame)
dragToggle = nil
local dragSpeed = 0.50
dragInput = nil
dragStart = nil
local dragPos = nil
function updateInput(input)
local Delta = input.Position - dragStart
local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.30), {Position = Position}):Play()
end
Frame.InputBegan:Connect(function(input)
if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
dragToggle = true
dragStart = input.Position
startPos = Frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragToggle = false
end
end)
end
end)
Frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
game:GetService("UserInputService").InputChanged:Connect(function(input)
if input == dragInput and dragToggle then
updateInput(input)
end
end)
end
dragify(script.Parent)
end
coroutine.wrap(LGKSURL_fake_script)()
closethisshit.MouseButton1Down:Connect(function()
wait (.1)
game.StarterGui:SetCore("SendNotification", {Title = "ALERT", Text = "DO NOT SPAM ATTACKS (It will break)", Duration = 1})
HumanDied = false
local CountSCIFIMOVIELOL = 1
function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
AlignPos.ApplyAtCenterOfMass = true;
AlignPos.MaxForce = 5772000-67752;
AlignPos.MaxVelocity = math.huge/9e110;
AlignPos.ReactionForceEnabled = false;
AlignPos.Responsiveness = 200;
AlignPos.RigidityEnabled = false;
local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
AlignOri.MaxAngularVelocity = math.huge/9e110;
AlignOri.MaxTorque = 5772000
AlignOri.PrimaryAxisOnly = false;
AlignOri.ReactionTorqueEnabled = false;
AlignOri.Responsiveness = 200;
AlignOri.RigidityEnabled = false;
local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "Ath_"..CountSCIFIMOVIELOL
local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "Ath_"..CountSCIFIMOVIELOL
AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
AttachmentA.Position = Position or Vector3.new(0,0,0)
AlignPos.Attachment1 = AttachmentA;
AlignPos.Attachment0 = AttachmentB;
AlignOri.Attachment1 = AttachmentA;
AlignOri.Attachment0 = AttachmentB;
CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
return {AlignPos,AlignOri,AttachmentA,AttachmentB}
end
game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
local hatnameclone = {}
for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
if v:IsA("Accessory") then
if hatnameclone[v.Name] then
if hatnameclone[v.Name] == "s" then
hatnameclone[v.Name] = {}
end
table.insert(hatnameclone[v.Name],v)
else
hatnameclone[v.Name] = "s"
end
end
end
for _,v in pairs(hatnameclone) do
if type(v) == "table" then
local num = 1
for _,w in pairs(v) do
w.Name = w.Name..num
num = num + 1
end
end
end
hatnameclone = nil
local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
local fldr = Instance.new("Folder",game:FindFirstChildOfClass("Players").LocalPlayer["Character"])
fldr.Name = "DMYF"
local CloneChar = DeadChar:Clone()
local ANIMATIONHERE
if CloneChar:FindFirstChild("Animate") then
ANIMATIONHERE = CloneChar:FindFirstChild("Animate"):Clone()
CloneChar:FindFirstChild("Animate"):Destroy()
end
if CloneChar:FindFirstChildOfClass("Folder") then CloneChar:FindFirstChildOfClass("Folder"):Destroy() end
if CloneChar.Torso:FindFirstChild("Neck") then
local Clonessss = CloneChar.Torso:FindFirstChild("Neck"):Clone()
Clonessss.Part0 = nil
Clonessss.Part1 = DeadChar.Head
Clonessss.Parent = DeadChar.Torso
end
CloneChar.Parent = fldr
CloneChar.HumanoidRootPart.CFrame = DeadChar.HumanoidRootPart.CFrame
CloneChar.Humanoid.BreakJointsOnDeath = false
CloneChar.Name = "non"
CloneChar.Humanoid.DisplayDistanceType = "None"
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
local topacc = false
if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
v.Handle.Massless = true
v.Handle.CanCollide = false
if v.Handle:FindFirstChildOfClass("Attachment") then
local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
topacc = ath__.Name
end
end
local bv = Instance.new("BodyVelocity",v.Handle)
bv.Velocity = Vector3.new(0,0,0)
coroutine.wrap(function()
if topacc then
local allthings = SCIFIMOVIELOL(v.Handle,DeadChar.Torso,Vector3.new(0,1.5,0)+ (DeadChar.Head[topacc].Position + (v.Handle[topacc].Position*-1)),Vector3.new(0,0,0))
local normaltop = allthings[1].Attachment1
local alipos = allthings[1]
local alirot = allthings[2]
local p0 = v.Handle
local p1 = DeadChar.Head
alipos.Parent = CloneChar:FindFirstChild(v.Name).Handle
alirot.Parent = CloneChar:FindFirstChild(v.Name).Handle
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
coroutine.wrap(function()
if alipos.Attachment1 == normaltop then
p0.CFrame = p0.CFrame:lerp((((DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse()),1)
else
v.Handle.CFrame = v.Handle.CFrame:lerp(alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alipos.Attachment1.Rotation.X),math.rad(alipos.Attachment1.Rotation.Y),math.rad(alipos.Attachment1.Rotation.Z)),1)
end
end)()
end
else
SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
end
end)()
end
end
local a = DeadChar.Torso
local b = DeadChar.HumanoidRootPart
local c = DeadChar.Humanoid
a.Parent = game:FindFirstChildOfClass("Workspace")
c.Parent = game:FindFirstChildOfClass("Workspace")
local told = a:Clone()
local told1 = c:Clone()
b["RootJoint"].Part0 = told
b["RootJoint"].Part1 = DeadChar.Head
a.Name = "torso"
a.Neck:Destroy()
c.Name = "Mizt Hub Best"
told.Parent = DeadChar
told1.Parent = DeadChar
DeadChar.PrimaryPart = told
told1.Health = 0
b:Destroy()
a.Parent = DeadChar
c.Parent = DeadChar
told:Destroy()
told1:Destroy()
a.Name = "Torso"
if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
local Collider
function UnCollide()
if HumanDied then Collider:Disconnect(); return end
--[[for _,Parts in next, CloneChar:GetChildren() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end]]
for _,Parts in next, DeadChar:GetChildren() do
if Parts:IsA("BasePart") then
Parts.CanCollide = false
end
end
end
Collider = game:GetService("RunService").Stepped:Connect(UnCollide)
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
HumanDied = true
pcall(function()
game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
DeadChar.Head:Destroy()
DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
end)
end)
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChildOfClass("Humanoid") or CloneChar:FindFirstChildOfClass("Humanoid").Health <= 0 and not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChildOfClass("Humanoid") or DeadChar:FindFirstChildOfClass("Humanoid").Health <= 0 then
HumanDied = true
pcall(function()
game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
DeadChar.Head:Destroy()
DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
end)
if resetBindable then
game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
resetBindable:Destroy()
end
break
end
end
end)()
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"])
SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"])
SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"])
SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"])
SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"])
SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"])
for _,v in pairs(DeadChar:GetChildren()) do
if v:IsA("BasePart") and v.Name ~= "Head" then
--[[local bv = Instance.new("BodyVelocity",v)
bv.Velocity = Vector3.new(0,0,0)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
v.CFrame = CloneChar[v.Name].CFrame
end
end)()--]]
elseif v:IsA("BasePart") and v.Name == "Head" then
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = Vector3.new(0,0,0)
coroutine.wrap(function()
while true do
game:GetService("RunService").RenderStepped:wait()
if HumanDied then break end
v.CFrame = DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)
end
end)()
end
end
for _,BodyParts in next, CloneChar:GetDescendants() do
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
BodyParts.Transparency = 1 end end
game:GetService("RunService").RenderStepped:wait()
game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubject = CloneChar.Humanoid
for _,v in next, DeadChar:GetChildren() do
if v:IsA("Accessory") then
if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
end
end
--if ANIMATIONHERE then ANIMATIONHERE.Parent = CloneChar end
wait()
local data = {}
local script = game:GetObjects("rbxassetid://5446036971")[1]
script.WingPiece.qPerfectionWeld:Destroy()
do
local NEVER_BREAK_JOINTS = false
local function CallOnChildren(Instance, FunctionToCall)
FunctionToCall(Instance)
for _, Child in next, Instance:GetChildren() do
CallOnChildren(Child, FunctionToCall)
end
end
local function GetBricks(StartInstance)
local List = {}
CallOnChildren(StartInstance, function(Item)
if Item:IsA("BasePart") then
List[#List+1] = Item;
end
end)
return List
end
local function Modify(Instance, Values)
assert(type(Values) == "table", "Values is not a table");
for Index, Value in next, Values do
if type(Index) == "number" then
Value.Parent = Instance
else
Instance[Index] = Value
end
end
return Instance
end
local function Make(ClassType, Properties)
return Modify(Instance.new(ClassType), Properties)
end
local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
local function HasWheelJoint(Part)
for _, SurfaceName in pairs(Surfaces) do
for _, HingSurfaceName in pairs(HingSurfaces) do
if Part[SurfaceName].Name == HingSurfaceName then
return true
end
end
end
return false
end
local function ShouldBreakJoints(Part)
if NEVER_BREAK_JOINTS then
return false
end
if HasWheelJoint(Part) then
return false
end
local Connected = Part:GetConnectedParts()
if #Connected == 1 then
return false
end
for _, Item in pairs(Connected) do
if HasWheelJoint(Item) then
return false
elseif not Item:IsDescendantOf(script.Parent) then
return false
end
end
return true
end
local function WeldTogether(Part0, Part1, JointType, WeldParent)
JointType = JointType or "Weld"
local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
Modify(NewWeld, {
Name = "qCFrameWeldThingy";
Part0 = Part0;
Part1 = Part1;
C0 = CFrame.new();--Part0.CFrame:inverse();
C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
Parent = Part1;
})
if not RelativeValue then
RelativeValue = Make("CFrameValue", {
Parent = Part1;
Name = "qRelativeCFrameWeldValue";
Archivable = true;
Value = NewWeld.C1;
})
end
return NewWeld
end
local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
for _, Part in pairs(Parts) do
if ShouldBreakJoints(Part) then
Part:BreakJoints()
end
end
for _, Part in pairs(Parts) do
if Part ~= MainPart then
WeldTogether(MainPart, Part, JointType, MainPart)
end
end
if not DoNotUnanchor then
for _, Part in pairs(Parts) do
Part.Anchored = false
end
MainPart.Anchored = false
end
end
local function PerfectionWeld()
local Parts = GetBricks(script.WingPiece)
WeldParts(Parts, script.WingPiece.Main, "Weld", false)
end
PerfectionWeld()
end
--// Shortcut Variables \\--
local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
local R3 = {N=Region3.new}
local De = S.Debris
local WS = workspace
local Lght = S.Lighting
local RepS = S.ReplicatedStorage
local IN = Instance.new
local Plrs = S.Players
local UIS = S.UserInputService
local Player = game.Players.LocalPlayer
local Char = Player.Character
local Mouse = Player:GetMouse()
local Hum = Char:FindFirstChildOfClass'Humanoid'
local Torso = Char.Torso
local RArm = Char["Right Arm"]
local LArm = Char["Left Arm"]
local RLeg = Char["Right Leg"]
local LLeg = Char["Left Leg"]
local Root = Char:FindFirstChild'HumanoidRootPart'
local Head = Char.Head
local Sine = 0;
local Change = 1
local Attack=false
local NeutralAnims=true
local timePos=30;
local walking=true;
local legAnims=true;
local movement = 8
local footsound=0;
local WalkSpeed=16;
local Combo=0;
local Mode='Achromatix'
local vaporwaveMode=false;
local WingAnim='Space'
local music;
local hue = 0;
local WingSine=0;
local MusicMode=1;
local visSong = 319138964;
local EffectFolder = script:WaitForChild'FXFolder'
local PrimaryColor = Color3.new(1,1,1)
local ClickTimer = 0;
local ClickAttack = 1;
local camera = workspace.CurrentCamera
local LastSphere = time();
local Frame_Speed = 60
local VaporwaveSongs={
2231500330;
654094806;
743334292;
334283059;
2082142910;
}
local WingPiece = script:WaitForChild'WingPiece'
WingPiece.Parent=nil
local WingAnims={}
local Playlist={
Default=1702473314;
ScrapBoy=1215691669;
Defeated=860594509;
Annihilate=2116461106;
DashAndDodge=2699922745;
ZenWavy=2231500330;
Beachwalk=334283059;
Pyrowalk=2082142910;
Vapor90s=654094806;
}
local modeInfo={
{Name="Achromatix",Walkspeed=20,moveVal=10,Font=Enum.Font.Arcade,StrokeColor=C3.N(.5,.5,.5);Music=0,LeftWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};WingAnim='Space'};
{Name="Overlord",Walkspeed=45,moveVal=6,Font=Enum.Font.Garamond,StrokeColor=C3.N(.2,.2,.2);Music=723652641,LeftWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};WingAnim='Sun'};
{Name="Jack of All Trades",Walkspeed=30,moveVal=8,Font=Enum.Font.Fantasy,StrokeColor=C3.N(.6,.0,.9);Music=4664334689,LeftWing={0,BrickColor.new'Alder'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Alder'.Color,Enum.Material.Neon};WingAnim='StarT'};
{Name="Darkness",Walkspeed=16,moveVal=8,Font=Enum.Font.Arcade,StrokeColor=C3.N(0,0,0);Music=4624419371,LeftWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};WingAnim='Eagle'};
{Name="The Chosen One",Walkspeed=14,moveVal=8,Font=Enum.Font.Garamond,StrokeColor=C3.N(.1,.1,.1);Music=1837185092,LeftWing={0,BrickColor.new'Maroon'.Color,Enum.Material.Glass};RightWing={0,BrickColor.new'Maroon'.Color,Enum.Material.Glass};WingAnim={'Lens',2}};
{Name="Troublesome",Walkspeed=25,moveVal=6,Font=Enum.Font.Gotham,StrokeColor=C3.RGB(0,190,190);Music=214902446,LeftWing={0,BrickColor.new'Pastel light blue'.Color,Enum.Material.Glass};RightWing={0,BrickColor.new'Pastel light blue'.Color,Enum.Material.Glass};WingAnim='Dagger'};
{Name="V I B E R",Walkspeed=16,moveVal=8,Font=Enum.Font.Arcade,StrokeColor=C3.N(.5,.5,.5);Music=2415462372,LeftWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};WingAnim='Poke'};
{Name="+Nuclear+",Walkspeed=50,moveVal=12,Font=Enum.Font.Gotham,StrokeColor=C3.RGB(98,37,209);Music=1145101566,LeftWing={0,BrickColor.new'Lime green'.Color,Enum.Material.DiamondPlate};RightWing={0,BrickColor.new'Royal purple'.Color,Enum.Material.DiamondPlate};WingAnim='Crazy'};
{Name="Happy :)",Walkspeed=14,moveVal=11,Font=Enum.Font.Arcade,StrokeColor=C3.RGB(255,152,220);Music=2185540266,LeftWing={0,BrickColor.new'Pink'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Pink'.Color,Enum.Material.Neon};WingAnim='Happy'};
{Name="Rage",Walkspeed=10,moveVal=6,Font=Enum.Font.Arcade,StrokeColor=C3.N(.5,.5,.5);Music=6059390355,LeftWing={0,BrickColor.new'Really red'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Maroon'.Color,Enum.Material.Neon};WingAnim='pe'};
{Name="---V a p o r w a v e---",Walkspeed=15,moveVal=5,Font=Enum.Font.Michroma,StrokeColor=C3.N(0,0,0);Music=654094806,LeftWing={0,BrickColor.new'Light pink'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Light pink'.Color,Enum.Material.Neon};WingAnim='Cool'};
{Name="Interstellar",Walkspeed=150,moveVal=12,Font=Enum.Font.Sarpanch,StrokeColor=C3.N(.5,.5,.5);Music=1074484884,LeftWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};WingAnim='Starp'};
{Name="Legendary",Walkspeed=25,moveVal=6,Font=Enum.Font.Gotham,StrokeColor=C3.RGB(0,0,0);Music=5113252741,LeftWing={0,BrickColor.new'Gold'.Color,Enum.Material.Glass};RightWing={0,BrickColor.new'Gold'.Color,Enum.Material.Glass};WingAnim='Sussy'};
{Name="Awakened",Walkspeed=115,moveVal=13,Font=Enum.Font.DenkOne,StrokeColor=C3.N(.5,.5,.5);Music=313175694,LeftWing={0,BrickColor.new'Tr. Flu. Blue'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Tr. Flu. Blue'.Color,Enum.Material.Neon};WingAnim='Awake'};
{Name="Unholy",Walkspeed=115,moveVal=13,Font=Enum.Font.Creepster,StrokeColor=C3.N(.5,.5,.5);Music=1280010741,LeftWing={0,BrickColor.new'Fire Yellow'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Fire Yellow'.Color,Enum.Material.Neon};WingAnim='pop'};
{Name="pp",Walkspeed=40,moveVal=9,Font=Enum.Font.SourceSansSemibold,StrokeColor=C3.N(.5,.5,.5);Music=6027922332,LeftWing={0,BrickColor.new'Eggplant'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Eggplant'.Color,Enum.Material.Neon};WingAnim='pepe'};
{Name="Hardbass",Walkspeed=20,moveVal=10,Font=Enum.Font.Bangers,StrokeColor=C3.N(0,0,0);Music=4468189089,LeftWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};WingAnim='RushB'};
{Name="Clarity",Walkspeed=120,moveVal=10,Font=Enum.Font.SourceSansSemibold,StrokeColor=C3.N(0,0,0);Music=568982684,LeftWing={0,BrickColor.new'Bright bluish violet'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Bright reddish lilac'.Color,Enum.Material.Neon};WingAnim='Kik'};
{Name="Determination",Walkspeed=200,moveVal=10,Font=Enum.Font.Oswald,StrokeColor=C3.N(255,255,255);Music=380890492,LeftWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Black'.Color,Enum.Material.Neon};WingAnim='Dem'};
{Name="Unmerciful",Walkspeed=90,moveVal=5,Font=Enum.Font.Arcade,StrokeColor=C3.N(.5,.5,.5);Music=610172332,LeftWing={0,BrickColor.new'Bright orange'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Bright orange'.Color,Enum.Material.Neon};WingAnim='Crazed'};
{Name="The True Ending",Walkspeed=120,moveVal=12,Font=Enum.Font.SourceSansBold,StrokeColor=C3.N(.5,.5,.5);Music=6664736867,LeftWing={0,BrickColor.new'Bright red'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Bright red'.Color,Enum.Material.Neon};WingAnim='Thing'};
{Name="The Big Black",Walkspeed=240,moveVal=15,Font=Enum.Font.Arcade,StrokeColor=C3.N(.45,0,0);Music=6949163822,LeftWing={0,BrickColor.new'Really black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Really black'.Color,Enum.Material.Neon};WingAnim='Big'};
{Name="~Funky~",Walkspeed=70,moveVal=25,Font=Enum.Font.Highway,StrokeColor=C3.N(0,0,0);Music=3137766655,LeftWing={0,BrickColor.new'Lime green'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Lime green'.Color,Enum.Material.Neon};WingAnim='BigMan'};
{Name="Eternal Demise",Walkspeed=140,moveVal=6,Font=Enum.Font.Arcade,StrokeColor=C3.N(.5,.5,.5);Music=4158401079,LeftWing={0,BrickColor.new'Burnt Sienna'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Deep orange'.Color,Enum.Material.Neon};WingAnim='Pal'};
--MAJORS--
{Name="Lost Soul",Walkspeed=75,moveVal=20,Font=Enum.Font.Arcade,StrokeColor=C3.N(.2,.2,.2);Music=6074204488,LeftWing={0,BrickColor.new'Really black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Dark stone grey'.Color,Enum.Material.Glass};WingAnim={'Lone',10}};
{Name="Destroyer-of-Worlds",Walkspeed=64,moveVal=10,Font=Enum.Font.Gotham,StrokeColor=C3.N(.4,.4,0);Music=5128935327,LeftWing={0,BrickColor.new'Gold'.Color,Enum.Material.Glass};RightWing={0,BrickColor.new'Gold'.Color,Enum.Material.Glass};WingAnim={'Swirl',10}};
{Name="::Chill::",Walkspeed=16,moveVal=4,Font=Enum.Font.Fantasy,StrokeColor=C3.N(1,0,1);Music=5934648877,LeftWing={0,BrickColor.new'Hot pink'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Hot pink'.Color,Enum.Material.Neon};WingAnim='Empty'};
{Name="Godly",Walkspeed=40,moveVal=10,Font=Enum.Font.Kalam,StrokeColor=C3.N(.7,.7,.7);Music=6689161680,LeftWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'White'.Color,Enum.Material.Glass};WingAnim={'God',10}};
{Name="[HIDDEN] pp",Walkspeed=40,moveVal=1,Font=Enum.Font.SourceSansSemibold,StrokeColor=C3.N(.5,.5,.5);Music=6027922332,LeftWing={0,BrickColor.new'Eggplant'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Eggplant'.Color,Enum.Material.Neon};WingAnim='pepe'};
{Name="Pain",Walkspeed=40,moveVal=10,Font=Enum.Font.Bodoni,StrokeColor=C3.N(.109, .110, .108);Music=4565857495,Pitch=.75,LeftWing={0,BrickColor.new'Maroon'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Really black'.Color,Enum.Material.Glass};WingAnim={'Ow',10}};
{Name="Murderous",Walkspeed=20,moveVal=10,Font=Enum.Font.Bodoni,StrokeColor=C3.N(.109, .110, .108);Music=407749940,LeftWing={0,BrickColor.new'Really black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Really black'.Color,Enum.Material.Glass};WingAnim={'Blood',10}};
{Name="Supercharged",Walkspeed=110,moveVal=10,Font=Enum.Font.Bodoni,StrokeColor=C3.N(2, 2, 0);Music=7015006077,LeftWing={0,BrickColor.new'Teal'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Fire Yellow'.Color,Enum.Material.Glass};WingAnim={'Charge',10}};
{Name="Elysian",Walkspeed=90,moveVal=10,Font=Enum.Font.Merriweather,StrokeColor=C3.N(1, 1, 0);Music=1327553658,LeftWing={0,BrickColor.new'White'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'White'.Color,Enum.Material.Glass};WingAnim={'Maye',10}};
{Name="C a r",Walkspeed=90,moveVal=10,Font=Enum.Font.Arcade,StrokeColor=C3.N(0, 0, 0);Music=6024775571,LeftWing={0,BrickColor.new'Really black'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Really black'.Color,Enum.Material.Glass};WingAnim={'Vehicle',10}};
{Name="Hacker",Walkspeed=70,moveVal=7,Font=Enum.Font.Ubuntu,StrokeColor=C3.N(.39, .70, .45);Music=1091263121,LeftWing={0,BrickColor.new'Lime green'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Lime green'.Color,Enum.Material.Grass};WingAnim={'Sex', 10}};
{Name="Ancient",Walkspeed=50,moveVal=10,Font=Enum.Font.GrenzeGotisch,StrokeColor=C3.N(0, 0, 0);Music=256251217,LeftWing={0,BrickColor.new'Tr. Flu. Yellow'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Tr. Flu. Yellow'.Color,Enum.Material.Grass};WingAnim={'Pyro', 10}};
{Name="Holy",Walkspeed=115,moveVal=13,Font=Enum.Font.Creepster,StrokeColor=C3.N(.5,.5,.5);Music=1280010741,LeftWing={0,BrickColor.new'Fire Yellow'.Color,Enum.Material.Neon};RightWing={0,BrickColor.new'Fire Yellow'.Color,Enum.Material.Neon};WingAnim='poop',10}};
NewInstance = function(instance,parent,properties)
local inst = Instance.new(instance)
inst.Parent = parent
if(properties)then
for i,v in next, properties do
pcall(function() inst[i] = v end)
end
end
return inst;
end
function newMotor(P0,P1,C0,C1)
return NewInstance('Motor',P0,{Part0=P0,Part1=P1,C0=C0,C1=C1})
end
local welds = {}
local WeldDefaults = {}
table.insert(welds,newMotor(Torso,Head,CF.N(0,1.5,0),CF.N()))
table.insert(welds,newMotor(Root,Torso,CF.N(),CF.N()))
table.insert(welds,newMotor(Torso,RLeg,CF.N(.5,-1,0),CF.N(0,1,0)))
table.insert(welds,newMotor(Torso,RArm,CF.N(1.5,.5,0),CF.N(0,.5,0)))
table.insert(welds,newMotor(Torso,LLeg,CF.N(-.5,-1,0),CF.N(0,1,0)))
table.insert(welds,newMotor(Torso,LArm,CF.N(-1.5,.5,0),CF.N(0,.5,0)))
WeldDefaults={}
for i = 1,#welds do
local v=welds[i]
WeldDefaults[i]=v.C0
end
local NK,RJ,RH,RS,LH,LS=unpack(welds)
local NKC0,RJC0,RHC0,RSC0,LHC0,LSC0=unpack(WeldDefaults)
function makeMusic(id,pit,timePos)
local sound = Torso:FindFirstChild(Player.Name.."song") or Char:FindFirstChild(Player.Name.."song")
local parent = (MusicMode==2 and Char or Torso)
if(not sound)then
sound = NewInstance("Sound",parent,{Name=Player.Name.."song",Volume=(MusicMode==3 and 0 or 5),Pitch=(pit or 1),Looped=true})
NewInstance("EqualizerSoundEffect",sound,{HighGain=0,MidGain=2,LowGain=10})
end
if(id=='stop')then
if(sound)then
sound:Stop()
end
else
local timePos = typeof(timePos)=='number' and timePos or sound.TimePosition
sound.Volume = (MusicMode==3 and 0 or 5)
sound.Name = Player.Name.."song"
sound.Looped=true
sound.SoundId = "rbxassetid://"..id
sound.Pitch=(pit or 1)
sound:Play()
sound.TimePosition = timePos
end
return sound;
end
function playMusic(id,pitch,timePos)
return makeMusic(id,pitch,timePos)
end
for _,v in next, Hum:GetPlayingAnimationTracks() do
v:Stop(0);
end
-- SCRIPT STUFF --
function swait(num)
if num == 0 or num == nil then
game:GetService("RunService").RenderStepped:wait()
else
for i = 0, num do
game:GetService("RunService").RenderStepped:wait()
end
end
end
--// Effects \\--
function Tween(obj,props,time,easing,direction,repeats,backwards)
local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
local tween = S.TweenService:Create(obj, info, props)
tween:Play()
end
function StartShake(Settings)
return true
end
function Camshake(shakedata)
StartShake(shakedata)
end
local Effects=NewInstance("Folder",Char)
Effects.Name=Player.Name..'Effects'
function ShowDamage(Pos, Text, Time, Color)
local Pos = Pos or V3.N(0, 0, 0)
local Text = tostring(Text or "")
local Time = Time or 2
local Color = Color or C3.N(1, 0, 1)
local EffectPart = Part(Effects,Color,Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CFrame.new(Pos),true,false)
EffectPart.Transparency=1
local BillboardGui = NewInstance("BillboardGui",EffectPart,{
Size = UDim2.new(3,0,3,0),
Adornee = EffectPart,
})
local TextLabel = NewInstance("TextLabel",BillboardGui,{
BackgroundTransparency = 1,
Size = UDim2.new(1, 0, 1, 0),
Text = Text,
TextColor3 = Color,
TextScaled = true,
Font = Enum.Font.ArialBold,
})
S.Debris:AddItem(EffectPart, Time+.5)
delay(0, function()
local rot=math.random(-10,10)/15
local raise=.2
local Frames = Time/Frame_Speed
for i=0,1.1,.02 do
swait()
TextLabel.Rotation=TextLabel.Rotation+rot
raise=raise-.008
EffectPart.Position = EffectPart.Position + Vector3.new(0, raise, 0)
TextLabel.TextTransparency=i
TextLabel.TextStrokeTransparency=i
end
if EffectPart and EffectPart.Parent then
EffectPart:Destroy()
end
end)
end
local baseSound = IN("Sound")
function Soond(parent,id,pitch,volume,looped,effect,autoPlay)
local Sound = baseSound:Clone()
Sound.SoundId = "rbxassetid://".. tostring(id or 0)
Sound.Pitch = pitch or 1
Sound.Volume = volume or 1
Sound.Looped = looped or false
if(autoPlay)then
coroutine.wrap(function()
repeat wait() until Sound.IsLoaded
Sound.Playing = autoPlay or false
end)()
end
if(not looped and effect)then
Sound.Stopped:connect(function()
Sound.Volume = 0
Sound:destroy()
end)
elseif(effect)then
warn("Sound can't be looped and a sound effect!")
end
Sound.Parent =parent or Torso
return Sound
end
function SoondPart(id,pitch,volume,looped,effect,autoPlay,cf)
local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
local Sound = IN("Sound")
Sound.SoundId = "rbxassetid://".. tostring(id or 0)
Sound.Pitch = pitch or 1
Sound.Volume = volume or 1
Sound.Looped = looped or false
if(autoPlay)then
coroutine.wrap(function()
repeat wait() until Sound.IsLoaded
Sound.Playing = autoPlay or false
end)()
end
if(not looped and effect)then
Sound.Stopped:connect(function()
Sound.Volume = 0
soundPart:destroy()
end)
elseif(effect)then
warn("Sound can't be looped and a sound effect!")
end
Sound.Parent = soundPart
return Sound,soundPart
end
function SoundPart(...)
return SoondPart(...)
end
function Sound(...)
return Soond(...)
end
function Part(parent,color,material,size,cframe,anchored,cancollide)
local part = IN("Part")
part.Parent = parent or Char
part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
part.Material = material or Enum.Material.SmoothPlastic
part.TopSurface,part.BottomSurface=10,10
part.Size = size or V3.N(1,1,1)
part.CFrame = cframe or CF.N(0,0,0)
part.CanCollide = cancollide or false
part.Anchored = anchored or false
return part
end
function Weld(part0,part1,c0,c1)
local weld = IN("Weld")
weld.Parent = part0
weld.Part0 = part0
weld.Part1 = part1
weld.C0 = c0 or CF.N()
weld.C1 = c1 or CF.N()