View difference between Paste ID: uhdzahVZ and hf8KqnZm
SHOW: | | - or go back to the newest paste.
1
HumanDied = false
2
local CountSCIFIMOVIELOL = 1
3
function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
4
	local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
5
	AlignPos.ApplyAtCenterOfMass = true;
6
	AlignPos.MaxForce = 5772000--67752;
7
	AlignPos.MaxVelocity = math.huge/9e110;
8
	AlignPos.ReactionForceEnabled = false;
9
	AlignPos.Responsiveness = 200;
10
	AlignPos.RigidityEnabled = false;
11
	local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
12
	AlignOri.MaxAngularVelocity = math.huge/9e110;
13
	AlignOri.MaxTorque = 5772000
14
	AlignOri.PrimaryAxisOnly = false;
15
	AlignOri.ReactionTorqueEnabled = false;
16
	AlignOri.Responsiveness = 200;
17
	AlignOri.RigidityEnabled = false;
18
	local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "Ath_"..CountSCIFIMOVIELOL
19
	local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "Ath_"..CountSCIFIMOVIELOL
20
	AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
21
	AttachmentA.Position = Position or Vector3.new(0,0,0)
22
	AlignPos.Attachment1 = AttachmentA;
23
	AlignPos.Attachment0 = AttachmentB;
24
	AlignOri.Attachment1 = AttachmentA;
25
	AlignOri.Attachment0 = AttachmentB;
26
	CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
27
	return {AlignPos,AlignOri,AttachmentA,AttachmentB}
28
end
29
30
if _G.netted ~= true then
31
	_G.netted = true
32
	coroutine.wrap(function()
33
		settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
34
		settings().Physics.AllowSleep = false
35
		game:GetService("RunService").RenderStepped:Connect(function()
36
			game:FindFirstChildOfClass("Players").LocalPlayer.MaximumSimulationRadius=math.pow(math.huge,math.huge)
37
			sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadius",math.huge*math.huge)
38
		end)
39
	end)()
40
end
41
42
game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
43
local hatnameclone = {}
44
for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
45
	if v:IsA("Accessory") then
46
		if hatnameclone[v.Name] then
47
			if hatnameclone[v.Name] == "s" then
48
				hatnameclone[v.Name] = {}
49
			end
50
			table.insert(hatnameclone[v.Name],v)
51
		else
52
			hatnameclone[v.Name] = "s"
53
		end
54
	end
55
end
56
for _,v in pairs(hatnameclone) do
57
	if type(v) == "table" then
58
		local num = 1
59
		for _,w in pairs(v) do
60
			w.Name = w.Name..num
61
			num = num + 1
62
		end
63
	end
64
end
65
hatnameclone = nil
66
67
local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
68
69
local fldr = Instance.new("Folder",game:FindFirstChildOfClass("Players").LocalPlayer["Character"])
70
fldr.Name = "DMYF"
71
local CloneChar = DeadChar:Clone()
72
local ANIMATIONHERE
73
if CloneChar:FindFirstChild("Animate") then
74
	ANIMATIONHERE = CloneChar:FindFirstChild("Animate"):Clone()
75
	CloneChar:FindFirstChild("Animate"):Destroy()
76
end
77
if CloneChar:FindFirstChildOfClass("Folder") then CloneChar:FindFirstChildOfClass("Folder"):Destroy() end
78
if CloneChar.Torso:FindFirstChild("Neck") then
79
	local Clonessss = CloneChar.Torso:FindFirstChild("Neck"):Clone()
80
	Clonessss.Part0 = nil
81
	Clonessss.Part1 = DeadChar.Head
82
	Clonessss.Parent = DeadChar.Torso
83
end
84
CloneChar.Parent = fldr
85
CloneChar.HumanoidRootPart.CFrame = DeadChar.HumanoidRootPart.CFrame
86
CloneChar.Humanoid.BreakJointsOnDeath = false
87
CloneChar.Name = "non"
88
CloneChar.Humanoid.DisplayDistanceType = "None"
89
90
for _,v in next, DeadChar:GetChildren() do
91
	if v:IsA("Accessory") then
92
		local topacc = false
93
		if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
94
		v.Handle.Massless = true
95
		v.Handle.CanCollide = false
96
		if v.Handle:FindFirstChildOfClass("Attachment") then
97
			local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
98
			if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
99
				topacc = ath__.Name
100
			end
101
		end
102
        local bv = Instance.new("BodyVelocity",v.Handle)
103
		bv.Velocity = Vector3.new(0,0,0)
104
		coroutine.wrap(function()
105
			if topacc then
106
				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))
107
				local normaltop = allthings[1].Attachment1
108
				local alipos = allthings[1]
109
				local alirot = allthings[2]
110
				local p0 = v.Handle
111
				local p1 = DeadChar.Head
112
				alipos.Parent = CloneChar:FindFirstChild(v.Name).Handle
113
				alirot.Parent = CloneChar:FindFirstChild(v.Name).Handle
114
				while true do
115
					game:GetService("RunService").RenderStepped:wait()
116
					if HumanDied then break end
117
					coroutine.wrap(function()
118
						if alipos.Attachment1 == normaltop then
119
							p0.CFrame = p0.CFrame:lerp((((DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse()),1)
120
						else
121
							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)
122
						end
123
					end)()
124
				end
125
			else
126
				SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
127
			end
128
		end)()
129
    end
130
end
131
132
local a = DeadChar.Torso
133
local b = DeadChar.HumanoidRootPart
134
local c = DeadChar.Humanoid
135
a.Parent = game:FindFirstChildOfClass("Workspace")
136
c.Parent = game:FindFirstChildOfClass("Workspace")
137
local told = a:Clone()
138
local told1 = c:Clone()
139
b["RootJoint"].Part0 = told
140
b["RootJoint"].Part1 = DeadChar.Head
141
a.Name = "torso"
142
a.Neck:Destroy()
143
c.Name = "Mizt Hub Best"
144
told.Parent = DeadChar
145
told1.Parent = DeadChar
146
DeadChar.PrimaryPart = told
147
told1.Health = 0
148
b:Destroy()
149
a.Parent = DeadChar
150
c.Parent = DeadChar
151
told:Destroy()
152
told1:Destroy()
153
a.Name = "Torso"
154
155
if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
156
if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
157
158
local Collider
159
function UnCollide()
160
    if HumanDied then Collider:Disconnect(); return end
161
    --[[for _,Parts in next, CloneChar:GetChildren() do
162
        if Parts:IsA("BasePart") then
163
            Parts.CanCollide = false 
164
        end 
165
    end]]
166
    for _,Parts in next, DeadChar:GetChildren() do
167
        if Parts:IsA("BasePart") then
168
        Parts.CanCollide = false
169
        end 
170
    end 
171
end
172
Collider = game:GetService("RunService").Stepped:Connect(UnCollide)
173
174
local resetBindable = Instance.new("BindableEvent")
175
resetBindable.Event:connect(function()
176
    game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
177
	resetBindable:Destroy()
178
	HumanDied = true
179
    pcall(function()
180
		game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
181
		DeadChar.Head:Destroy()
182
		DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
183
		game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
184
		if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
185
	end)
186
end)
187
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
188
189
coroutine.wrap(function()
190
    while true do
191
        game:GetService("RunService").RenderStepped:wait()
192
        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 
193
            HumanDied = true
194
            pcall(function()
195
				game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
196
				DeadChar.Head:Destroy()
197
				DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
198
				game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
199
				if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
200
			end)
201
            if resetBindable then
202
                game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
203
                resetBindable:Destroy()
204
            end
205
            break
206
        end		
207
    end
208
end)()
209
210
211
SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"])
212
SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"])
213
SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"])
214
SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"])
215
SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"])
216
SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"])
217
218
for _,v in pairs(DeadChar:GetChildren()) do
219
	if v:IsA("BasePart") and v.Name ~= "Head" then
220
		--[[local bv = Instance.new("BodyVelocity",v)
221
		bv.Velocity = Vector3.new(0,0,0)
222
		coroutine.wrap(function()
223
			while true do
224
				game:GetService("RunService").RenderStepped:wait()
225
				if HumanDied then break end
226
				v.CFrame = CloneChar[v.Name].CFrame
227
			end
228
		end)()]]
229
	elseif v:IsA("BasePart") and v.Name == "Head" then
230
		local bv = Instance.new("BodyVelocity",v)
231
		bv.Velocity = Vector3.new(0,0,0)
232
		coroutine.wrap(function()
233
			while true do
234
				game:GetService("RunService").RenderStepped:wait()
235
				if HumanDied then break end
236
				v.CFrame = DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)
237
			end
238
		end)()
239
	end
240
end
241
242
for _,BodyParts in next, CloneChar:GetDescendants() do
243
if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
244
BodyParts.Transparency = 1 end end
245
game:GetService("RunService").RenderStepped:wait()
246
game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
247
game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubject = CloneChar.Humanoid
248
249
for _,v in next, DeadChar:GetChildren() do
250
	if v:IsA("Accessory") then
251
		if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
252
	end
253
end
254
255
if ANIMATIONHERE then ANIMATIONHERE.Parent = CloneChar end
256
257
--//===================================================\\
258
--||      			EDIT BY WITHEROWER
259
--\\===================================================//
260
261
local script = game:GetObjects("rbxassetid://5487673576")[1]
262
263
do
264
local NEVER_BREAK_JOINTS = false
265
266
local function CallOnChildren(Instance, FunctionToCall)
267
    FunctionToCall(Instance)
268
269
    for _, Child in next, Instance:GetChildren() do
270
        CallOnChildren(Child, FunctionToCall)
271
    end
272
end
273
274
local function GetBricks(StartInstance)
275
    local List = {}
276
    CallOnChildren(StartInstance, function(Item)
277
        if Item:IsA("BasePart") then
278
            List[#List+1] = Item;
279
        end
280
    end)
281
282
    return List
283
end
284
285
local function Modify(Instance, Values)
286
    assert(type(Values) == "table", "Values is not a table");
287
288
    for Index, Value in next, Values do
289
        if type(Index) == "number" then
290
            Value.Parent = Instance
291
        else
292
            Instance[Index] = Value
293
        end
294
    end
295
    return Instance
296
end
297
298
local function Make(ClassType, Properties)
299
    return Modify(Instance.new(ClassType), Properties)
300
end
301
302
local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
303
local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
304
305
local function HasWheelJoint(Part)
306
    for _, SurfaceName in pairs(Surfaces) do
307
        for _, HingSurfaceName in pairs(HingSurfaces) do
308
            if Part[SurfaceName].Name == HingSurfaceName then
309
                return true
310
            end
311
        end
312
    end
313
    
314
    return false
315
end
316
317
local function ShouldBreakJoints(Part)
318
    if NEVER_BREAK_JOINTS then
319
        return false
320
    end
321
    
322
    if HasWheelJoint(Part) then
323
        return false
324
    end
325
    
326
    local Connected = Part:GetConnectedParts()
327
    
328
    if #Connected == 1 then
329
        return false
330
    end
331
    
332
    for _, Item in pairs(Connected) do
333
        if HasWheelJoint(Item) then
334
            return false
335
        elseif not Item:IsDescendantOf(script.Parent) then
336
            return false
337
        end
338
    end
339
    
340
    return true
341
end
342
343
local function WeldTogether(Part0, Part1, JointType, WeldParent)
344
345
    JointType = JointType or "Weld"
346
    local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
347
    
348
    local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
349
    Modify(NewWeld, {
350
        Name = "qCFrameWeldThingy";
351
        Part0  = Part0;
352
        Part1  = Part1;
353
        C0     = CFrame.new();--Part0.CFrame:inverse();
354
        C1     = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
355
        Parent = Part1;
356
    })
357
358
    if not RelativeValue then
359
        RelativeValue = Make("CFrameValue", {
360
            Parent     = Part1;
361
            Name       = "qRelativeCFrameWeldValue";
362
            Archivable = true;
363
            Value      = NewWeld.C1;
364
        })
365
    end
366
367
    return NewWeld
368
end
369
370
local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
371
372
    for _, Part in pairs(Parts) do
373
        if ShouldBreakJoints(Part) then
374
            Part:BreakJoints()
375
        end
376
    end
377
    
378
    for _, Part in pairs(Parts) do
379
        if Part ~= MainPart then
380
            WeldTogether(MainPart, Part, JointType, MainPart)
381
        end
382
    end
383
384
    if not DoNotUnanchor then
385
        for _, Part in pairs(Parts) do
386
            Part.Anchored = false
387
        end
388
        MainPart.Anchored = false
389
    end
390
end
391
392
local function PerfectionWeld()	
393
    local Parts = GetBricks(script.YCSI)
394
    WeldParts(Parts, script.YCSI:FindFirstChild("main thing"), "Weld", false)
395
end
396
PerfectionWeld()
397
end
398
399
local Player = game:GetService("Players").LocalPlayer
400
local lplr = Player
401
Mouse = Player:GetMouse()
402
PlayerGui = Player.PlayerGui
403
Character = Player.Character
404
Cam = workspace.CurrentCamera
405
Backpack = Player.Backpack
406
Humanoid = Character.Humanoid
407
RootPart = Character["HumanoidRootPart"]
408
Torso = Character["Torso"]
409
Head = Character["Head"]
410
RightArm = Character["Right Arm"]
411
LeftArm = Character["Left Arm"]
412
RightLeg = Character["Right Leg"]
413
LeftLeg = Character["Left Leg"]
414
RootJoint = RootPart["RootJoint"]
415
Neck = Torso["Neck"]
416
RightShoulder = Torso["Right Shoulder"]
417
LeftShoulder = Torso["Left Shoulder"]
418
RightHip = Torso["Right Hip"]
419
LeftHip = Torso["Left Hip"]
420
local TIME = 0
421
422
local sick = Instance.new("Sound",Head)
423
424
local NORMALFACE = Head:FindFirstChildWhichIsA("Decal").Texture
425
426
IT = Instance.new
427
CF = CFrame.new
428
VT = Vector3.new
429
RAD = math.rad
430
C3 = Color3.new
431
UD2 = UDim2.new
432
BRICKC = BrickColor.new
433
ANGLES = CFrame.Angles
434
EULER = CFrame.fromEulerAnglesXYZ
435
COS = math.cos
436
ACOS = math.acos
437
SIN = math.sin
438
ASIN = math.asin
439
ABS = math.abs
440
MRANDOM = math.random
441
FLOOR = math.floor
442
443
--//=================================\\
444
--|| 	      USEFUL VALUES
445
--\\=================================//
446
447
Animation_Speed = 1.5
448
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
449
local Speed = 12
450
local SIZE = 1
451
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
452
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
453
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
454
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
455
local DAMAGEMULTIPLIER = 1
456
local ANIM = "Idle"
457
local ATTACK = false
458
local EQUIPPED = false
459
local HOLD = false
460
local COMBO = 1
461
local Rooted = false
462
local SINE = 0
463
local sine = 0
464
local vissine = 0
465
local KEYHOLD = false
466
local CHANGE = 2 / Animation_Speed
467
local WALKINGANIM = false
468
local VALUE1 = false
469
local VALUE2 = false
470
local ROBLOXIDLEANIMATION = IT("Animation")
471
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
472
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
473
local Weapon = IT("Model")
474
local Effects = IT("Folder", Weapon)
475
Effects.Name = "Effects"
476
local UNANCHOR = true
477
local TOBANISH = {}
478
local TOBAN = {}
479
local TAIL = {}
480
local VSONGS = {322621962,569026863,502771070,408862087,1471935327,236336857,2280063143,334259331,344685843,1479420512,297754476,591661590,1571736139,2988953773,130768805,2516100492,580535766,213546066,555947343,394236634,195822354,224584376,1576288222,199265353}
481
local NK = {271068069,247967952,265024602,252591491,252591097,316039490,1222970152,1222970152}
482
local Hue = 0
483
AntiBullet = true
484
local PLAYANIMS = true
485
local HITFLOOR, HITPOS = nil
486
local WEAPONEQUIPPED = false
487
local INTRODONE = false
488
local inf = 99999999999999999999999999999
489
490
local Player_Size = SIZE
491
local Animation_Speed2 = 5
492
local SCALE = 2
493
494
local RunService = game:GetService("RunService")
495
local COLORSHIFT = C3(0,0,0)
496
local MODE = 1
497
498
local FONTS = {
499
	Enum.Font.Antique,
500
	Enum.Font.Arcade,
501
	Enum.Font.Arial,
502
	Enum.Font.ArialBold,
503
	Enum.Font.Bodoni,
504
	Enum.Font.Cartoon,
505
	Enum.Font.Code,
506
	Enum.Font.Fantasy,
507
	Enum.Font.Garamond,
508
	Enum.Font.Highway,
509
	Enum.Font.Legacy,
510
	Enum.Font.SciFi,
511
	Enum.Font.SourceSans,
512
	Enum.Font.SourceSansBold,
513
	Enum.Font.SourceSansItalic,
514
	Enum.Font.SourceSansLight,
515
	Enum.Font.SourceSansSemibold
516
}
517
518
local MATERIALS = {
519
	Enum.Material.Brick,
520
	Enum.Material.Cobblestone,
521
	Enum.Material.Concrete,
522
	Enum.Material.CorrodedMetal,
523
	Enum.Material.DiamondPlate,
524
	Enum.Material.Fabric,
525
	Enum.Material.Foil,
526
	Enum.Material.ForceField,
527
	Enum.Material.Glass,
528
	Enum.Material.Granite,
529
	Enum.Material.Grass,
530
	Enum.Material.Ice,
531
	Enum.Material.Marble,
532
	Enum.Material.Metal,
533
	Enum.Material.Neon,
534
	Enum.Material.Pebble,
535
	Enum.Material.Plastic,
536
	Enum.Material.Sand,
537
	Enum.Material.Slate,
538
	Enum.Material.SmoothPlastic,
539
	Enum.Material.Wood,
540
	Enum.Material.WoodPlanks
541
}
542
543
544
--//=================================\\
545
--|| 	      SOME FUNCTIONS
546
--\\=================================//
547
548
local outer = IT("Part")
549
outer.Locked = true
550
outer.CanCollide = false
551
outer.Shape = Enum.PartType.Cylinder
552
outer.Size = VT(0.1, 1, 1)
553
outer.Material = Enum.Material.Neon
554
outer.Color = C3(0, 0, 0)
555
outer.Parent = Character
556
557
local outerm = IT("SpecialMesh")
558
outerm.MeshType = Enum.MeshType.Cylinder
559
outerm.Parent = outer
560
561
local weld1 = Instance.new("Weld")
562
weld1.Part0 = outer
563
weld1.Part1 = Character["HumanoidRootPart"]
564
weld1.Parent = outer
565
weld1.C0 = CF(-2.95, 0, 0) * ANGLES(0, 0, 1.571)
566
567
568
function Swait(NUMBER)
569
	if NUMBER == 0 or NUMBER == nil then
570
		game:GetService("RunService").RenderStepped:wait()
571
	else
572
		for i = 1, NUMBER do
573
			game:GetService("RunService").RenderStepped:wait()
574
		end
575
	end
576
end
577
578
coroutine.wrap(function()
579
	while true do wait()
580
		outer.Color = Color3.fromRGB(0+25*sick.PlaybackLoudness/100,0,0)
581
	end
582
end)()
583
coroutine.resume(coroutine.create(function()
584
	while true do
585
		Swait()
586
		outerm.Scale = VT(0, sick.PlaybackLoudness / 20, sick.PlaybackLoudness / 20)
587
	end
588
end))
589
590
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
591
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
592
end
593
594
function PositiveAngle(NUMBER)
595
	if NUMBER >= 0 then
596
		NUMBER = 0
597
	end
598
	return NUMBER
599
end
600
601
function ShakeCam(Length,Intensity)
602
	coroutine.resume(coroutine.create(function()
603
		local intensity = 1 * Intensity
604
		local rotM = 0.01 * Intensity
605
		for i = 0, Length, 0.1 do
606
			Swait()
607
			intensity = intensity - 0.05 * Intensity / Length
608
			rotM = rotM - 5.0E-4 * Intensity / Length
609
			Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
610
			Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
611
		end
612
		Humanoid.CameraOffset = Vector3.new(0, 0, 0)
613
	end))
614
end
615
616
function NegativeAngle(NUMBER)
617
	if NUMBER <= 0 then
618
		NUMBER = 0
619
	end
620
	return NUMBER
621
end
622
623
function R_RANDOM(CFRAME,DIST)
624
	return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
625
end
626
627
function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
628
	coroutine.resume(coroutine.create(function()
629
		local FADE = IT("Model",Effects)
630
		if PARENT ~= nil then
631
			FADE.Parent = PARENT
632
		end
633
		FADE.Name = "FadingEffect"
634
		for _, c in pairs(Character:GetChildren()) do
635
			if c.ClassName == "Part" then
636
				c.CanCollide = false
637
				local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
638
				FADER.CFrame = c.CFrame
639
				if FADER.Name == "Head" then
640
					Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
641
				elseif FADER.Name == "HumanoidRootPart" then
642
					FADE.PrimaryPart = FADER
643
					FADER.Transparency = 1
644
				end
645
			end
646
		end
647
		local TRANS = 0.25/TIMER
648
		local DIST = nil
649
		if MOVEDIRECTION ~= nil then
650
			DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
651
		end
652
		for i = 1, TIMER do
653
			Swait()
654
			for _, c in pairs(FADE:GetChildren()) do
655
				if c.ClassName == "Part" then
656
					c.Transparency = c.Transparency + TRANS
657
				end
658
			end
659
			if MOVEDIRECTION ~= nil then
660
				local ORI = FADE.PrimaryPart.Orientation
661
				FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
662
			end
663
		end
664
		FADE:remove()
665
	end))
666
end
667
668
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
669
	local NEWMESH = IT(MESH)
670
	if MESH == "SpecialMesh" then
671
		NEWMESH.MeshType = MESHTYPE
672
		if MESHID ~= "nil" and MESHID ~= "" then
673
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
674
		end
675
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
676
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
677
		end
678
	end
679
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
680
	NEWMESH.Scale = SCALE
681
	NEWMESH.Parent = PARENT
682
	return NEWMESH
683
end
684
685
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
686
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
687
	local mesh = IT("SpecialMesh",wave)
688
	mesh.MeshType = "FileMesh"
689
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
690
	mesh.Scale = SIZE
691
	mesh.Offset = VT(0,0,0)
692
	wave.CFrame = CFRAME
693
	wave.Color = C3(1,0,0)
694
	coroutine.resume(coroutine.create(function(PART)
695
		for i = 1, WAIT do
696
			Swait()
697
			mesh.Scale = mesh.Scale + GROW
698
			local val = MRANDOM(1,255)
699
			wave.Color = Color3.fromRGB(val,val,val)
700
			if DOESROT == true then
701
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
702
			end
703
			wave.Transparency = wave.Transparency + (0.5/WAIT)
704
			if wave.Transparency > 0.99 then
705
				wave:remove()
706
			end
707
		end
708
	end))
709
end
710
711
function AdvancedChatfunc(Text, Timer, Delay, ChatterSound)
712
	local chat = coroutine.wrap(function()
713
		if Character:FindFirstChild("SpeechBoard") ~= nil then
714
			Character:FindFirstChild("SpeechBoard"):destroy()
715
		end
716
		local naeeym2 = IT("BillboardGui", Character)
717
		naeeym2.Size = UD2(80, 35, 3, 15)
718
		naeeym2.StudsOffset = VT(0, 2, 0)
719
		naeeym2.Adornee = Head
720
		naeeym2.Name = "SpeechBoard"
721
		naeeym2.AlwaysOnTop = true
722
		local tecks2 = IT("TextLabel", naeeym2)
723
		tecks2.BackgroundTransparency = 1
724
		tecks2.BorderSizePixel = 0
725
		tecks2.Text = ""
726
		tecks2.Font = FONTS[MRANDOM(1,#FONTS)]
727
		tecks2.TextSize = 35
728
		tecks2.TextStrokeTransparency = 0.3
729
		tecks2.TextColor3 = COLORSHIFT
730
		tecks2.TextStrokeColor3 = COLORSHIFT
731
		tecks2.Size = UDim2.new(1, 0, 0.5, 0)
732
		local FINISHED = false
733
		local DONE = false
734
		coroutine.wrap(function()
735
			while wait() do
736
				tecks2.Font = FONTS[MRANDOM(1,#FONTS)]
737
				tecks2.TextColor3 = COLORSHIFT
738
				tecks2.TextStrokeColor3 = COLORSHIFT
739
				if DONE == true then
740
					break
741
				end
742
			end
743
		end)()
744
		coroutine.resume(coroutine.create(function()
745
			for i = 1, string.len(Text) do
746
				if naeeym2.Parent ~= Character then
747
					FINISHED = true
748
				end
749
				if ChatterSound ~= false and naeeym2.Parent == Character then
750
					CreateSound(265970978, Head, 7, MRANDOM(-6,12)/4, false)
751
				end
752
				tecks2.Text = string.sub(Text, 1, i)
753
				Swait(Timer)
754
			end
755
			FINISHED = true
756
		end))
757
		repeat
758
			wait()
759
		until FINISHED == true
760
		wait(Delay)
761
		naeeym2.Name = "FadingDialogue"
762
		if Character:FindFirstChild("SpeechBoard") == nil then
763
			coroutine.resume(coroutine.create(function()
764
				for i = 1, 35 do
765
					Swait()
766
				end
767
			end))
768
		end
769
		for i = 1, 45 do
770
			Swait()
771
			naeeym2.StudsOffset = naeeym2.StudsOffset + VT(0, (2 - 0.044444444444444446 * i) / 45, 0)
772
			tecks2.TextTransparency = tecks2.TextTransparency + 0.022222222222222223
773
			tecks2.TextStrokeTransparency = tecks2.TextTransparency
774
		end
775
		naeeym2:Destroy()
776
		DONE = true
777
	end)
778
	chat()
779
end
780
781
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
782
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
783
	local mesh = IT("SpecialMesh",wave)
784
	mesh.MeshType = "Sphere"
785
	mesh.Scale = SIZE
786
	mesh.Offset = VT(0,0,0)
787
	wave.CFrame = CFRAME
788
	coroutine.resume(coroutine.create(function(PART)
789
		for i = 1, WAIT do
790
			Swait()
791
			mesh.Scale = mesh.Scale + GROW
792
			wave.Transparency = wave.Transparency + (1/WAIT)
793
			wave.Color = C3(0,0,0)
794
			if wave.Transparency > 0.99 then
795
				wave:remove()
796
			end
797
		end
798
	end))
799
end
800
801
function GetRoot(MODEL, ROOT)
802
	if ROOT == true then
803
		return MODEL:FindFirstChild("HumanoidRootPart") or MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
804
	else
805
		return MODEL:FindFirstChild("Torso") or MODEL:FindFirstChild("UpperTorso")
806
	end
807
end
808
809
function SpecialSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
810
    local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Eye", VT(1,1,1), true)
811
    wave.Color = COLOR
812
    local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
813
    wave.CFrame = CFRAME
814
    coroutine.resume(coroutine.create(function(PART)
815
        for i = 1, WAIT do
816
            Swait()
817
            mesh.Scale = mesh.Scale + GROW
818
            wave.Transparency = wave.Transparency + (1/WAIT)
819
            if wave.Transparency > 0.99 then
820
                wave:remove()
821
            end
822
        end
823
    end))
824
end
825
826
function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
827
    local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really red"), "Effect", VT(1,1,1), true)
828
    local mesh = nil
829
    if KIND == "Base" then
830
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
831
    elseif KIND == "Thin" then
832
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
833
    elseif KIND == "Round" then
834
        mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
835
    end
836
    wave.CFrame = CFRAME
837
    coroutine.resume(coroutine.create(function(PART)
838
        for i = 1, WAIT do
839
            Swait()
840
            mesh.Scale = mesh.Scale + GROW/10
841
            wave.Transparency = wave.Transparency + (0.5/WAIT)
842
            if wave.Transparency > 0.99 then
843
                wave:remove()
844
            end
845
        end
846
    end))
847
end
848
849
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
850
	local NEWPART = IT("Part")
851
	NEWPART.formFactor = FORMFACTOR
852
	NEWPART.Reflectance = REFLECTANCE
853
	NEWPART.Transparency = TRANSPARENCY
854
	NEWPART.CanCollide = false
855
	NEWPART.Locked = true
856
	NEWPART.Anchored = true
857
	if ANCHOR == false then
858
		NEWPART.Anchored = false
859
	end
860
	NEWPART.Color = COLORSHIFT
861
	NEWPART.Name = NAME
862
	NEWPART.Size = SIZE
863
	NEWPART.Position = Torso.Position
864
	NEWPART.Material = "Neon"
865
	NEWPART:BreakJoints()
866
	NEWPART.Parent = PARENT
867
	return NEWPART
868
end
869
870
	local function weldBetween(a, b)
871
	    local weldd = Instance.new("ManualWeld")
872
	    weldd.Part0 = a
873
	    weldd.Part1 = b
874
	    weldd.C0 = CFrame.new()
875
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
876
	    weldd.Parent = a
877
	    return weldd
878
	end
879
880
881
function QuaternionFromCFrame(cf)
882
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
883
	local trace = m00 + m11 + m22
884
	if trace > 0 then 
885
		local s = math.sqrt(1 + trace)
886
		local recip = 0.5 / s
887
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
888
	else
889
		local i = 0
890
		if m11 > m00 then
891
			i = 1
892
		end
893
		if m22 > (i == 0 and m00 or m11) then
894
			i = 2
895
		end
896
		if i == 0 then
897
			local s = math.sqrt(m00 - m11 - m22 + 1)
898
			local recip = 0.5 / s
899
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
900
		elseif i == 1 then
901
			local s = math.sqrt(m11 - m22 - m00 + 1)
902
			local recip = 0.5 / s
903
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
904
		elseif i == 2 then
905
			local s = math.sqrt(m22 - m00 - m11 + 1)
906
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
907
		end
908
	end
909
end
910
 
911
function QuaternionToCFrame(px, py, pz, x, y, z, w)
912
	local xs, ys, zs = x + x, y + y, z + z
913
	local wx, wy, wz = w * xs, w * ys, w * zs
914
	local xx = x * xs
915
	local xy = x * ys
916
	local xz = x * zs
917
	local yy = y * ys
918
	local yz = y * zs
919
	local zz = z * zs
920
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
921
end
922
 
923
function QuaternionSlerp(a, b, t)
924
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
925
	local startInterp, finishInterp;
926
	if cosTheta >= 0.0001 then
927
		if (1 - cosTheta) > 0.0001 then
928
			local theta = ACOS(cosTheta)
929
			local invSinTheta = 1 / SIN(theta)
930
			startInterp = SIN((1 - t) * theta) * invSinTheta
931
			finishInterp = SIN(t * theta) * invSinTheta
932
		else
933
			startInterp = 1 - t
934
			finishInterp = t
935
		end
936
	else
937
		if (1 + cosTheta) > 0.0001 then
938
			local theta = ACOS(-cosTheta)
939
			local invSinTheta = 1 / SIN(theta)
940
			startInterp = SIN((t - 1) * theta) * invSinTheta
941
			finishInterp = SIN(t * theta) * invSinTheta
942
		else
943
			startInterp = t - 1
944
			finishInterp = t
945
		end
946
	end
947
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
948
end
949
950
function Clerp(a, b, t)
951
	local qa = {QuaternionFromCFrame(a)}
952
	local qb = {QuaternionFromCFrame(b)}
953
	local ax, ay, az = a.x, a.y, a.z
954
	local bx, by, bz = b.x, b.y, b.z
955
	local _t = 1 - t
956
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
957
end
958
959
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
960
	local frame = IT("Frame")
961
	frame.BackgroundTransparency = TRANSPARENCY
962
	frame.BorderSizePixel = BORDERSIZEPIXEL
963
	frame.Position = POSITION
964
	frame.Size = SIZE
965
	frame.BackgroundColor3 = COLOR
966
	frame.BorderColor3 = BORDERCOLOR
967
	frame.Name = NAME
968
	frame.Parent = PARENT
969
	return frame
970
end
971
972
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
973
	local label = IT("TextLabel")
974
	label.BackgroundTransparency = 1
975
	label.Size = UD2(1, 0, 1, 0)
976
	label.Position = UD2(0, 0, 0, 0)
977
	label.TextColor3 = TEXTCOLOR
978
	label.TextStrokeTransparency = STROKETRANSPARENCY
979
	label.TextTransparency = TRANSPARENCY
980
	label.FontSize = TEXTFONTSIZE
981
	label.Font = TEXTFONT
982
	label.BorderSizePixel = BORDERSIZEPIXEL
983
	label.TextScaled = false
984
	label.Text = TEXT
985
	label.Name = NAME
986
	label.Parent = PARENT
987
	return label
988
end
989
990
function NoOutlines(PART)
991
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
992
end
993
994
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
995
	local NEWWELD = IT(TYPE)
996
	NEWWELD.Part0 = PART0
997
	NEWWELD.Part1 = PART1
998
	NEWWELD.C0 = C0
999
	NEWWELD.C1 = C1
1000
	NEWWELD.Parent = PARENT
1001
	return NEWWELD
1002
end
1003
1004
local S = IT("Sound")
1005
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
1006
	local NEWSOUND = nil
1007
	coroutine.resume(coroutine.create(function()
1008
		NEWSOUND = S:Clone()
1009
		NEWSOUND.Parent = PARENT
1010
		NEWSOUND.Volume = 10
1011
		NEWSOUND.Pitch = PITCH
1012
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
1013
		NEWSOUND:play()
1014
		if DOESLOOP == true then
1015
			NEWSOUND.Looped = true
1016
		else
1017
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
1018
			NEWSOUND:remove()
1019
		end
1020
	end))
1021
	return NEWSOUND
1022
end
1023
1024
function CFrameFromTopBack(at, top, back)
1025
	local right = top:Cross(back)
1026
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
1027
end
1028
1029
	function nooutline(part)
1030
		part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
1031
	end
1032
	
1033
	function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
1034
		local fp=it("Part")
1035
		fp.formFactor=formfactor
1036
		fp.Parent=parent
1037
		fp.Reflectance=reflectance
1038
		fp.Transparency=transparency
1039
		fp.CanCollide=false
1040
		fp.Locked=true
1041
		fp.BrickColor=BrickColor.new(tostring(brickcolor))
1042
		fp.Name=name
1043
		fp.Size=size
1044
		fp.Position=Character.Torso.Position
1045
		nooutline(fp)
1046
		fp.Material=material
1047
		fp:BreakJoints()
1048
		return fp
1049
	end
1050
	
1051
	function mesh(Mesh,part,meshtype,meshid,offset,scale)
1052
		local mesh=it(Mesh)
1053
		mesh.Parent=part
1054
		if Mesh=="SpecialMesh" then
1055
			mesh.MeshType=meshtype
1056
			mesh.MeshId=meshid
1057
		end
1058
		mesh.Offset=offset
1059
		mesh.Scale=scale
1060
		return mesh
1061
	end
1062
	
1063
	function weld(parent,part0,part1,c0,c1)
1064
		local weld=it("Weld")
1065
		weld.Parent=parent
1066
		weld.Part0=part0
1067
		weld.Part1=part1
1068
		weld.C0=c0
1069
		weld.C1=c1
1070
		return weld
1071
	end
1072
1073
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1074
function WACKYEFFECT(Table)
1075
	local TYPE = (Table.EffectType or "Sphere")
1076
	local SIZE = (Table.Size or VT(1,1,1))
1077
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
1078
	local TRANSPARENCY = (Table.Transparency or 0)
1079
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1080
	local CFRAME = (Table.CFrame or Torso.CFrame)
1081
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1082
	local ROTATION1 = (Table.RotationX or 0)
1083
	local ROTATION2 = (Table.RotationY or 0)
1084
	local ROTATION3 = (Table.RotationZ or 0)
1085
	local MATERIAL = (Table.Material or "Neon")
1086
	local COLOR = (Table.Color or C3(1,1,1))
1087
	local TIME = (Table.Time or 45)
1088
	local SOUNDID = (Table.SoundID or nil)
1089
	local SOUNDPITCH = (Table.SoundPitch or nil)
1090
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1091
	coroutine.resume(coroutine.create(function()
1092
		local PLAYSSOUND = false
1093
		local SOUND = nil
1094
		local EFFECT = CreatePart(3, Effects, "Neon", 0, 0, C3(0,0,0), "Effect", VT(1,1,1), true)
1095
		EFFECT.Color = COLORSHIFT
1096
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1097
			PLAYSSOUND = true
1098
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1099
		end
1100
		local MSH = nil
1101
		if TYPE == "Sphere" then
1102
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1103
		elseif TYPE == "Block" then
1104
			MSH = IT("BlockMesh",EFFECT)
1105
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1106
		elseif TYPE == "Wave" then
1107
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1108
		elseif TYPE == "Ring" then
1109
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1110
		elseif TYPE == "Slash" then
1111
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1112
		elseif TYPE == "Round Slash" then
1113
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1114
		elseif TYPE == "Swirl" then
1115
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1116
		elseif TYPE == "Skull" then
1117
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1118
		elseif TYPE == "Crystal" then
1119
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1120
		end
1121
		if MSH ~= nil then
1122
			local MOVESPEED = nil
1123
			if MOVEDIRECTION ~= nil then
1124
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1125
			end
1126
			local GROWTH = SIZE - ENDSIZE
1127
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1128
			if TYPE == "Block" then
1129
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1130
			else
1131
				EFFECT.CFrame = CFRAME
1132
			end
1133
			for LOOP = 1, TIME+1 do
1134
				Swait()
1135
				MSH.Scale = MSH.Scale - GROWTH/TIME
1136
				if TYPE == "Wave" then
1137
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1138
				end
1139
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1140
				if TYPE == "Block" then
1141
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1142
				else
1143
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1144
				end
1145
				if MOVEDIRECTION ~= nil then
1146
					local ORI = EFFECT.Orientation
1147
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1148
					EFFECT.Orientation = ORI
1149
				end
1150
			end
1151
			if PLAYSSOUND == false then
1152
				EFFECT:remove()
1153
			else
1154
				SOUND.Stopped:Connect(function()
1155
					EFFECT:remove()
1156
				end)
1157
			end
1158
		else
1159
			if PLAYSSOUND == false then
1160
				EFFECT:remove()
1161
			else
1162
				repeat Swait() until SOUND.Playing == false
1163
				EFFECT:remove()
1164
			end
1165
		end
1166
	end))
1167
end
1168
1169
function WACKYEFFECT2(Table)
1170
	local TYPE = Table.EffectType or "Sphere"
1171
	local SIZE = Table.Size or VT(1, 1, 1)
1172
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
1173
	local TRANSPARENCY = Table.Transparency or 0
1174
	local ENDTRANSPARENCY = Table.Transparency2 or 1
1175
	local CFRAME = Table.CFrame or Torso.CFrame
1176
	local MOVEDIRECTION = Table.MoveToPos or nil
1177
	local ROTATION1 = Table.RotationX or 0
1178
	local ROTATION2 = Table.RotationY or 0
1179
	local ROTATION3 = Table.RotationZ or 0
1180
	local MATERIAL = Table.Material --or "Neon"
1181
	local COLOR = Table.Color or C3(1, 1, 1)
1182
	local TIME = Table.Time or 45
1183
	local SOUNDID = Table.SoundID or nil
1184
	local SOUNDPITCH = Table.SoundPitch or nil
1185
	local SOUNDVOLUME = Table.SoundVolume or nil
1186
	local USEBOOMERANGMATH = Table.UseBoomerangMath or false
1187
	local BOOMERANG = Table.Boomerang or 0
1188
	local SIZEBOOMERANG = Table.SizeBoomerang or 0
1189
	coroutine.resume(coroutine.create(function()
1190
		local PLAYSSOUND = false
1191
		local SOUND = nil
1192
		local EFFECT = CreatePart(3, Effects, "Neon", 0, 0, C3(0,0,0), "Effect", VT(1,1,1), true)
1193
		EFFECT.Color = COLORSHIFT
1194
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1195
			PLAYSSOUND = true
1196
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1197
		end
1198
		local MSH
1199
		if TYPE == "Sphere" then
1200
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
1201
		elseif TYPE == "Block" or TYPE == "Box" then
1202
			MSH = IT("BlockMesh", EFFECT)
1203
			MSH.Scale = SIZE
1204
		elseif TYPE == "Wave" then
1205
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
1206
		elseif TYPE == "Ring" then
1207
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
1208
		elseif TYPE == "Slash" then
1209
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
1210
		elseif TYPE == "Round Slash" then
1211
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
1212
		elseif TYPE == "Swirl" then
1213
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0, 0, 0))
1214
		elseif TYPE == "Skull" then
1215
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
1216
		elseif TYPE == "Star" then 
1217
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "2760116123", "", SIZE, VT(0,0,0))   	
1218
		elseif TYPE == "Crystal" then
1219
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "450656451", "", SIZE, VT(0, 0, 0))
1220
		end
1221
		coroutine.resume(coroutine.create(function()
1222
			if MSH ~= nil then
1223
				local BOOMR1 = 1 + BOOMERANG / 50
1224
				local BOOMR2 = 1 + SIZEBOOMERANG / 50
1225
				local MOVESPEED = nil
1226
			if MOVEDIRECTION ~= nil then
1227
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1228
			end
1229
				local GROWTH
1230
				if USEBOOMERANGMATH == true then
1231
					GROWTH = (SIZE - ENDSIZE) * (BOOMR2 + 1)
1232
				else
1233
					GROWTH = SIZE - ENDSIZE
1234
				end
1235
				local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1236
				if TYPE == "Block" then
1237
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
1238
				else
1239
					EFFECT.CFrame = CFRAME
1240
				end
1241
				if USEBOOMERANGMATH == true then
1242
					for LOOP = 1, TIME + 1 do
1243
						Swait()
1244
						MSH.Scale = MSH.Scale - VT(GROWTH.X * (1 - LOOP / TIME * BOOMR2), GROWTH.Y * (1 - LOOP / TIME * BOOMR2), GROWTH.Z * (1 - LOOP / TIME * BOOMR2)) * BOOMR2 / TIME
1245
						if TYPE == "Wave" then
1246
							MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
1247
						end
1248
						EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
1249
						if TYPE == "Block" then
1250
							EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
1251
						else
1252
							EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
1253
						end
1254
						if MOVEDIRECTION ~= nil then
1255
							local ORI = EFFECT.Orientation
1256
							EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED * (1 - LOOP / TIME * BOOMR1))
1257
							EFFECT.Orientation = ORI
1258
						end
1259
					end
1260
				else
1261
					for LOOP = 1, TIME + 1 do
1262
						Swait()
1263
						MSH.Scale = MSH.Scale - GROWTH / TIME
1264
						if TYPE == "Wave" then
1265
							MSH.Offset = VT(0, 0, -MSH.Scale.Z / 8)
1266
						end
1267
						EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
1268
						if TYPE == "Block" then
1269
							EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
1270
						else
1271
							EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
1272
						end
1273
						if MOVEDIRECTION ~= nil then
1274
					local ORI = EFFECT.Orientation
1275
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1276
					EFFECT.Orientation = ORI
1277
				end
1278
			end
1279
				end
1280
				EFFECT.Transparency = 1
1281
				if PLAYSSOUND == false then
1282
					EFFECT:remove()
1283
				else
1284
					repeat
1285
						Swait()
1286
					until EFFECT:FindFirstChildOfClass("Sound") == nil
1287
					EFFECT:remove()
1288
				end
1289
			elseif PLAYSSOUND == false then
1290
				EFFECT:remove()
1291
			else
1292
				repeat
1293
					Swait()
1294
				until EFFECT:FindFirstChildOfClass("Sound") == nil
1295
				EFFECT:remove()
1296
			end
1297
		end))
1298
		return EFFECT
1299
	end))
1300
end   
1301
1302
function MakeForm(PART,TYPE)
1303
	if TYPE == "Cyl" then
1304
		local MSH = IT("CylinderMesh",PART)
1305
	elseif TYPE == "Ball" then
1306
		local MSH = IT("SpecialMesh",PART)
1307
		MSH.MeshType = "Sphere"
1308
	elseif TYPE == "Wedge" then
1309
		local MSH = IT("SpecialMesh",PART)
1310
		MSH.MeshType = "Wedge"
1311
	end
1312
end
1313
1314
function SpawnTrail(FROM,TO,BIG)
1315
local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Trail", VT(45,45,45))           
1316
MakeForm(TRAIL,"Cyl")
1317
	local DIST = (FROM - TO).Magnitude
1318
	if BIG == true then
1319
		TRAIL.Size = VT(2,DIST,5)
1320
	else
1321
		TRAIL.Size = VT(2,DIST,5)
1322
	end
1323
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1324
	coroutine.resume(coroutine.create(function()
1325
		for i = 1, 55 do
1326
			Swait()
1327
			TRAIL.Transparency = TRAIL.Transparency + 0.03
1328
		end
1329
		TRAIL:remove()
1330
	end))
1331
end
1332
1333
Debris = game:GetService("Debris")
1334
1335
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1336
	local DIRECTION = CF(StartPos,EndPos).lookVector
1337
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1338
end
1339
1340
function turnto(position)
1341
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1342
end
1343
1344
local asd = Instance.new("ParticleEmitter")
1345
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.1, 0, 0))
1346
asd.LightEmission = .1
1347
asd.Size = NumberSequence.new(0.2)
1348
asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
1349
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1350
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1351
asd.Transparency = bbb
1352
asd.Size = aaa
1353
asd.ZOffset = .9
1354
asd.Acceleration = Vector3.new(0, -5, 0)
1355
asd.LockedToPart = false
1356
asd.EmissionDirection = "Back"
1357
asd.Lifetime = NumberRange.new(1, 2)
1358
asd.Rotation = NumberRange.new(-100, 100)
1359
asd.RotSpeed = NumberRange.new(-100, 100)
1360
asd.Speed = NumberRange.new(2)
1361
asd.Enabled = false
1362
asd.VelocitySpread = 10000
1363
1364
function getbloody(victim,amount)
1365
	local prtcl = asd:Clone()
1366
	prtcl.Parent = victim
1367
	prtcl:Emit(amount)
1368
end
1369
1370
local TORSOVELOCITY = 0
1371
1372
function Ragdoll(Character2,CharTorso)
1373
	local svch = Character2
1374
	local hum = Character2:findFirstChild("Humanoid")
1375
	local q = Character2:GetChildren()
1376
	local CLONE = IT("Model",Effects)
1377
	local DummyHead = nil
1378
	for i = 1,#q do
1379
		if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
1380
			q[i].Parent = CLONE
1381
			if q[i].Name == "Head" then
1382
				DummyHead = CLONE.Head:Clone()
1383
				q[i]:ClearAllChildren()
1384
				q[i].Transparency = 1
1385
			end
1386
		else
1387
			if q[i].ClassName ~= "Humanoid" then
1388
				q[i]:remove()
1389
			end
1390
		end
1391
	end
1392
	local chrclone = CLONE
1393
1394
	for _, c in pairs(Character2:GetChildren()) do
1395
		if c.ClassName == "Accessory" then
1396
			c:remove()
1397
		end
1398
	end
1399
1400
	local ch = chrclone:GetChildren()
1401
	local i
1402
	for i = 1,#ch do
1403
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
1404
			ch[i]:remove()
1405
		end
1406
	end
1407
	local function Scan(ch)
1408
		local e
1409
		for e = 1,#ch do
1410
			Scan(ch[e]:GetChildren())
1411
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
1412
				ch[e]:remove()
1413
			end
1414
		end
1415
	end
1416
	Scan(chrclone:GetChildren())
1417
1418
	local ch = Character2:GetChildren()
1419
	local i
1420
	for i = 1,#ch do
1421
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1422
			ch[i]:remove()
1423
		end
1424
	end
1425
1426
	local ch = Character2:GetChildren()
1427
	local i
1428
	for i = 1,#ch do
1429
		if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1430
			ch[i]:remove()
1431
		end
1432
	end
1433
	Character2 = chrclone
1434
	local Torso2 = Character2.Torso
1435
	local movevector = Vector3.new()
1436
1437
	if Torso2 then
1438
		movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
1439
		local Head = Character2:FindFirstChild("Head")
1440
		if Head then
1441
			local Neck = Instance.new("Weld")
1442
			Neck.Name = "Neck"
1443
			Neck.Part0 = Torso2
1444
			Neck.Part1 = Head
1445
			Neck.C0 = CFrame.new(0, 1.5, 0)
1446
			Neck.C1 = CFrame.new()
1447
			Neck.Parent = Torso2
1448
			Head:ClearAllChildren()
1449
			Head.Transparency = 1
1450
1451
		end
1452
		local Limb = Character2:FindFirstChild("Right Arm")
1453
		if Limb then
1454
1455
			Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
1456
			local Joint = Instance.new("Glue")
1457
			Joint.Name = "RightShoulder"
1458
			Joint.Part0 = Torso2
1459
			Joint.Part1 = Limb
1460
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1461
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1462
			Joint.Parent = Torso2
1463
1464
			local B = Instance.new("Part")
1465
			B.TopSurface = 0
1466
			B.BottomSurface = 0
1467
			B.formFactor = "Symmetric"
1468
			B.Size = Vector3.new(1, 1, 1)
1469
			B.Transparency = 1
1470
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1471
			B.Parent = Character2
1472
			local W = Instance.new("Weld")
1473
			W.Part0 = Limb
1474
			W.Part1 = B
1475
			W.C0 = CFrame.new(0, -0.5, 0)
1476
			W.Parent = Limb
1477
1478
		end
1479
		local Limb = Character2:FindFirstChild("Left Arm")
1480
		if Limb then
1481
1482
			Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1483
			local Joint = Instance.new("Glue")
1484
			Joint.Name = "LeftShoulder"
1485
			Joint.Part0 = Torso2
1486
			Joint.Part1 = Limb
1487
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1488
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1489
			Joint.Parent = Torso2
1490
1491
			local B = Instance.new("Part")
1492
			B.TopSurface = 0
1493
			B.BottomSurface = 0
1494
			B.formFactor = "Symmetric"
1495
			B.Size = Vector3.new(1, 1, 1)
1496
			B.Transparency = 1
1497
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1498
			B.Parent = Character2
1499
			local W = Instance.new("Weld")
1500
			W.Part0 = Limb
1501
			W.Part1 = B
1502
			W.C0 = CFrame.new(0, -0.5, 0)
1503
			W.Parent = Limb
1504
1505
		end
1506
		local Limb = Character2:FindFirstChild("Right Leg")
1507
		if Limb then
1508
1509
			Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1510
			local Joint = Instance.new("Glue")
1511
			Joint.Name = "RightHip"
1512
			Joint.Part0 = Torso2
1513
			Joint.Part1 = Limb
1514
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1515
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1516
			Joint.Parent = Torso2
1517
1518
			local B = Instance.new("Part")
1519
			B.TopSurface = 0
1520
			B.BottomSurface = 0
1521
			B.formFactor = "Symmetric"
1522
			B.Size = Vector3.new(1, 1, 1)
1523
			B.Transparency = 1
1524
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1525
			B.Parent = Character2
1526
			local W = Instance.new("Weld")
1527
			W.Part0 = Limb
1528
			W.Part1 = B
1529
			W.C0 = CFrame.new(0, -0.5, 0)
1530
			W.Parent = Limb
1531
1532
		end
1533
		local Limb = Character2:FindFirstChild("Left Leg")
1534
		if Limb then
1535
1536
			Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1537
			local Joint = Instance.new("Glue")
1538
			Joint.Name = "LeftHip"
1539
			Joint.Part0 = Torso2
1540
			Joint.Part1 = Limb
1541
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1542
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1543
			Joint.Parent = Torso2
1544
1545
			local B = Instance.new("Part")
1546
			B.TopSurface = 0
1547
			B.BottomSurface = 0
1548
			B.formFactor = "Symmetric"
1549
			B.Size = Vector3.new(1, 1, 1)
1550
			B.Transparency = 1
1551
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1552
			B.Parent = Character2
1553
			local W = Instance.new("Weld")
1554
			W.Part0 = Limb
1555
			W.Part1 = B
1556
			W.C0 = CFrame.new(0, -0.5, 0)
1557
			W.Parent = Limb
1558
1559
		end
1560
		--[
1561
		local Bar = Instance.new("Part")
1562
		Bar.TopSurface = 0
1563
		Bar.BottomSurface = 0
1564
		Bar.formFactor = "Symmetric"
1565
		Bar.Size = Vector3.new(1, 1, 1)
1566
		Bar.Transparency = 1
1567
		Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1568
		Bar.Parent = Character2
1569
		local Weld = Instance.new("Weld")
1570
		Weld.Part0 = Torso2
1571
		Weld.Part1 = Bar
1572
		Weld.C0 = CFrame.new(0, 0.5, 0)
1573
		Weld.Parent = Torso2
1574
		--]]
1575
	end
1576
	Character2.Parent = Weapon
1577
	if movevector ~= Vector3.new() then
1578
		for i = 1,10 do
1579
			Torso2.Velocity = movevector * 30
1580
		end
1581
	end
1582
	DummyHead.Name = "FakeHead"
1583
	DummyHead.Parent = CLONE
1584
	local BLOOD = CreatePart(3, DummyHead, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.25,0.65),false)
1585
	BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0)
1586
	MakeForm(BLOOD,"Cyl")
1587
	weldBetween(DummyHead,BLOOD)
1588
	local BLOOD = CreatePart(3, Torso2, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.2,0.65),false)
1589
	BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0)
1590
	MakeForm(BLOOD,"Cyl")
1591
	weldBetween(Torso2,BLOOD)
1592
	Character2.Name = "Corpse"
1593
	local hum2 = svch:findFirstChild("Humanoid")
1594
1595
	return Character2,Torso2,DummyHead
1596
end
1597
1598
function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
1599
	local HITFLOOR, HITPOS = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
1600
	if HITFLOOR ~= nil then
1601
		if HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
1602
			if HITFLOOR.Name == "BloodPuddle" then
1603
				local DIST = (Position - HITFLOOR.Position).Magnitude
1604
				if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
1605
					HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
1606
				end
1607
			else
1608
				if HITFLOOR.Anchored == true then
1609
					local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1,0,1))
1610
					BLOOD.CFrame = CF(HITPOS)
1611
					MakeForm(BLOOD,"Cyl")
1612
					coroutine.resume(coroutine.create(function()
1613
						Swait(75)
1614
						while true do
1615
							Swait()
1616
							BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
1617
							if BLOOD.Size.Z < 0.051 then
1618
								BLOOD:remove()
1619
								break
1620
							end
1621
						end
1622
					end))
1623
				end
1624
			end
1625
		end
1626
	end
1627
end
1628
1629
function SprayBlood(POSITION,DIRECTION,BloodSize)
1630
	local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
1631
	BLOOD.CFrame = CF(POSITION)
1632
	MakeForm(BLOOD,"Ball")
1633
	local bv = Instance.new("BodyVelocity",BLOOD) 
1634
	bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1635
	bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3)/30,MRANDOM(-3,3)/30,MRANDOM(-3,3)/30)).lookVector*15
1636
	bv.Name = "MOVE"
1637
	Debris:AddItem(bv,0.05)
1638
	coroutine.resume(coroutine.create(function()
1639
		local HASTOUCHEDGROUND = false
1640
		local HIT = BLOOD.Touched:Connect(function(hit)
1641
			if hit.Anchored == true then
1642
				HASTOUCHEDGROUND = true
1643
				PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
1644
			end
1645
		end)
1646
		for i = 1, 50 do
1647
			Swait()
1648
			if HASTOUCHEDGROUND == true then
1649
				break
1650
			end
1651
			BLOOD.Size = BLOOD.Size * 0.9
1652
		end
1653
		BLOOD:remove()
1654
	end))
1655
end
1656
1657
function DESTROYAHAHAHAHAH(Target)
1658
	if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
1659
		local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
1660
		local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso)
1661
		getbloody(DummyHead,45)
1662
		if TORS2 ~= nil then
1663
			CreateSound("185688060", TORS2, 10, (math.random(8,12)/10))
1664
			CreateSound("337800380", DummyHead, 5, (math.random(8,18)/10))
1665
			local HUM = IT("Humanoid")
1666
			HUM.MaxHealth = 0
1667
			HUM.Health = 0
1668
			HUM.Name = "CorpseHumanoid"
1669
			HUM.PlatformStand = true
1670
			HUM.Parent = CLONE
1671
			TORS2.CFrame = CFRAME
1672
			coroutine.resume(coroutine.create(function()
1673
				for i = 1, 450 do
1674
					wait()
1675
					SprayBlood(DummyHead.CFrame*CF(0,-0.25,0).p,DummyHead.CFrame*CF(0,-0.7,0).p,5)
1676
					SprayBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,TORS2.CFrame*CF(0,TORS2.Size.Y,0).p,10)
1677
					--PuddleOfBlood(DummyHead.CFrame*CF(0,-0.25,0).p,4,CLONE,3)
1678
					--PuddleOfBlood(TORS2.CFrame*CF(0,TORS2.Size.Y/2,0).p,8,CLONE,6)
1679
				end
1680
				CLONE:Remove()
1681
			end))
1682
		end
1683
	end
1684
end
1685
1686
--//=================================\\
1687
--||	     WEAPON CREATION
1688
--\\=================================//
1689
1690
local YCSI = script:FindFirstChild("YCSI")
1691
1692
local Blade = YCSI:Clone()
1693
Blade.Parent = Character
1694
local BladeGrip = CreateWeldOrSnapOrMotor("Weld", Blade.Handle, RightArm, Blade.Handle, CF(0, -1, 0)*ANGLES(RAD(90),RAD(0),RAD(0)), CF(0, 0, 0))
1695
1696
local BackBlade = YCSI:Clone()
1697
Blade.Parent = Character
1698
CreateWeldOrSnapOrMotor("Weld", BackBlade.REDB, Torso, BackBlade.REDB, CF(1, -0.5, 0.5)*ANGLES(RAD(0),RAD(0),RAD(-45)), CF(0, 0, 0))
1699
1700
local WEAPONGUI = IT("ScreenGui")
1701
1702
local SKILLTEXTCOLOR = Color3.fromRGB(100,0,0)
1703
local SKILLFONT = Enum.Font.Antique
1704
local SKILLTEXTSIZE = 7.5
1705
1706
local ATTACKS = {"Mouse","Q","E","T","F","Z","X","C","V","B"}
1707
local ATTACKSFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
1708
local TEXT = CreateLabel(ATTACKSFRAME, "[BANISH]", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0.5, "Skill text")
1709
1710
for i = 1, #ATTACKS do
1711
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
1712
	local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Skill text")
1713
end
1714
1715
coroutine.wrap(function()
1716
	while wait() do
1717
		WEAPONGUI.Parent = PlayerGui
1718
		if MODE == 1 then
1719
			TEXT.Text = "[BANISH]"
1720
		elseif MODE == 2 then
1721
			TEXT.Text = "[KICK]"
1722
		else
1723
			TEXT.Text = "[BAN]"
1724
		end
1725
	end
1726
end)()
1727
1728
local CreationFolder = IT("Folder",Character)
1729
CreationFolder.Name = "CreationFolder"
1730
1731
local LASTPART = Head
1732
for i = 1, 15 do
1733
	local MATH = (1-(i/16))
1734
	if LASTPART == Head then
1735
		local Horn = CreatePart(3, CreationFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
1736
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(5), RAD(-25)), CF(0, 0, 0))
1737
		LASTPART = Horn
1738
		Horn.Color = C3((i/15),0,0)
1739
		local MSH = IT("BlockMesh",Horn)
1740
		MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
1741
	else
1742
		local Horn = CreatePart(3, CreationFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
1743
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2.1, 0) * ANGLES(RAD(25), RAD(5), RAD(0)), CF(0, -Horn.Size.Y/2.2, 0))
1744
		LASTPART = Horn
1745
		Horn.Color = C3((i/15),0,0)
1746
		local MSH = IT("BlockMesh",Horn)
1747
		MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
1748
	end
1749
end
1750
local LASTPART = Head
1751
for i = 1, 15 do
1752
	local MATH = (1-(i/16))
1753
	if LASTPART == Head then
1754
		local Horn = CreatePart(3, CreationFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
1755
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(-5), RAD(25)), CF(0, 0, 0))
1756
		LASTPART = Horn
1757
		Horn.Color = C3((i/15),0,0)
1758
		local MSH = IT("BlockMesh",Horn)
1759
		MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
1760
	else
1761
		local Horn = CreatePart(3, CreationFolder, "Neon", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
1762
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2.1, 0) * ANGLES(RAD(25), RAD(-5), RAD(0)), CF(0, -Horn.Size.Y/2.2, 0))
1763
		LASTPART = Horn
1764
		Horn.Color = C3((i/15),0,0)
1765
		local MSH = IT("BlockMesh",Horn)
1766
		MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
1767
	end
1768
end
1769
1770
Humanoid:SetStateEnabled("Dead",false)
1771
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
1772
1773
Humanoid:SetStateEnabled("GettingUp",true)
1774
Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
1775
Humanoid:SetStateEnabled("Ragdoll",false)
1776
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
1777
1778
local PlayerSize = 1
1779
local FT,FRA,FLA,FRL,FLL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
1780
FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
1781
FRA.MeshId,FRA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
1782
FLA.MeshId,FLA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
1783
FRL.MeshId,FRL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
1784
FLL.MeshId,FLL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
1785
1786
1787
--//=================================\\
1788
--||			DAMAGING
1789
--\\=================================//
1790
1791
function Kill(MODEL)
1792
	local HUM = MODEL:FindFirstChildOfClass("Humanoid")
1793
	if MODE == 1 then
1794
		return true		
1795
	end
1796
	if MODE == 2 then
1797
		return true	
1798
	end
1799
	if MODE == 3 then
1800
		return true	
1801
	end
1802
	if HUM then
1803
		for index, CHILD in pairs(MODEL:GetChildren()) do
1804
			if CHILD:IsA("BasePart") then
1805
				if CHILD.Name == "Head" then
1806
					WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/3, Size2 = (VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/3)*MRANDOM(7,14)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Granite", Color = C3(.75,0,0), SoundID = nil, SoundPitch = .8, SoundVolume = 4, UseBoomerangMath = true, Boomerang = 100, SizeBoomerang = 3})
1807
					WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/2, Size2 = (VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/2)*MRANDOM(7,14)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Granite", Color = C3(.5,0,0), SoundID = nil, SoundPitch = .7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 100, SizeBoomerang = 3})
1808
					WACKYEFFECT2({Time = MRANDOM(10,30)*12, EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z), Size2 = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z), Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-360,360)/1.5,MRANDOM(-360,360)/1.5,0), MRANDOM(-360,360)/35, RotationX = MRANDOM(-360,360)/35, RotationY = MRANDOM(-360,360)/35, RotationZ = MRANDOM(-360,360)/35, Material = "Granite", Color = C3(.35,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, SizeBoomerang = 0, Boomerang = 50})
1809
				elseif CHILD.Name ~= "HumanoidRootPart" then
1810
					WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/3, Size2 = (VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/3)*MRANDOM(7,14)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Granite", Color = C3(.75,0,0), SoundID = nil, SoundPitch = .8, SoundVolume = 4, UseBoomerangMath = true, Boomerang = 100, SizeBoomerang = 3})
1811
					WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/2, Size2 = (VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/2)*MRANDOM(7,14)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Granite", Color = C3(.5,0,0), SoundID = nil, SoundPitch = .7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 100, SizeBoomerang = 3})
1812
					WACKYEFFECT2({Time = MRANDOM(10,30)*6, EffectType = "Box", Size = CHILD.Size, Size2 = CHILD.Size, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(MRANDOM(-50,100)/1.5,MRANDOM(-50,100)/35,MRANDOM(-50,100)/35), MRANDOM(-50,100)/35, RotationX = MRANDOM(-50,100)/35, RotationY = MRANDOM(-50,100)/35, RotationZ = MRANDOM(-50,100)/35, Material = "Granite", Color = C3(.35,0,0), SoundID = nil, SoundPitch = .7, SoundVolume = 6, UseBoomerangMath = true, SizeBoomerang = 100, Boomerang = 35})
1813
				end
1814
				if CHILD.Name == "Torso" or CHILD.Name == "UpperTorso" then
1815
					WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/3, Size2 = (VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/3)*MRANDOM(7,14)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Granite", Color = C3(.75,0,0), SoundID = 130113415, SoundPitch = MRANDOM(0.9,1.1), SoundVolume = 10, UseBoomerangMath = true, Boomerang = 100, SizeBoomerang = 3})
1816
					WACKYEFFECT2({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/2, Size2 = (VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)/2)*MRANDOM(7,14)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = CHILD.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Granite", Color = C3(.5,0,0), SoundID = nil, SoundPitch = .7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 100, SizeBoomerang = 3})
1817
					WACKYEFFECT2({Time = 50, EffectType = "Box", Size = VT(0.2,0.2,0.2)*CHILD.Size.Magnitude * 3, Size2 = VT(5,5,5)*CHILD.Size.Magnitude, Transparency = 0.8, Transparency2 = 1, CFrame = CF(CHILD.Position), MoveToPos = CHILD.Position+VT(MRANDOM(-50,100)/35,MRANDOM(-50,100)/35,MRANDOM(-50,100)/35), MRANDOM(-50,100)/35, RotationX = MRANDOM(-50,100)/35, RotationY = MRANDOM(-50,100)/35, RotationZ = MRANDOM(-50,100)/35, Material = "Granite", Color = C3(.35,0,0), SoundID = nil, SoundPitch = .7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 100, SizeBoomerang = 35})
1818
				end
1819
			end
1820
		end
1821
	end
1822
end
1823
1824
function ApplyAoE(POSITION,RANGE)
1825
	for index, CHILD in pairs(workspace:GetDescendants()) do
1826
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1827
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1828
			if HUM then
1829
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1830
				if TORSO then
1831
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1832
						Kill(CHILD)
1833
					end
1834
				end
1835
			end
1836
		end
1837
	end
1838
end
1839
1840
--//=================================\\
1841
--||	ATTACK FUNCTIONS AND STUFF
1842
--\\=================================//
1843
1844
function BladeCombo()
1845
	ATTACK = true
1846
	Rooted = false
1847
	local savespeed = Speed
1848
	Speed = 5
1849
	EQUIPPED = true
1850
	local HIT2 = function()
1851
		local HITS2 = {}
1852
		local TOUCH2 = LeftArm.Touched:Connect(function(hit)
1853
			if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
1854
				local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
1855
				local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1856
				if TORSO and HUM.Health > 0 then
1857
					local PASS = true
1858
					for i = 1, #HITS2 do
1859
						if HITS2[i] == hit.Parent then
1860
							PASS = false
1861
						end
1862
					end
1863
					table.insert(HITS2,hit.Parent)
1864
						if PASS == true then
1865
						Kill(HUM.Parent)
1866
					end
1867
				end
1868
			end
1869
		end)
1870
		return TOUCH2
1871
	end
1872
	local HIT = function()
1873
		local HITS = {}
1874
		local TOUCH = Blade.REDB.Touched:Connect(function(hit)
1875
			if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
1876
				local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
1877
				local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
1878
				if TORSO and HUM.Health > 0 then
1879
					local PASS = true
1880
					for i = 1, #HITS do
1881
						if HITS[i] == hit.Parent then
1882
							PASS = false
1883
						end
1884
					end
1885
					table.insert(HITS,hit.Parent)
1886
						if PASS == true then
1887
						Kill(HUM.Parent)
1888
					end
1889
				end
1890
			end
1891
		end)
1892
		return TOUCH
1893
	end
1894
	if COMBO == 1 then
1895
		Blade.REDB.Trail.Enabled = true
1896
		for i=0, 0.35, 0.1 / 3 do
1897
			Swait()
1898
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(5)), 3 / 3)
1899
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / 3)
1900
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / 3)
1901
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 3)  
1902
           if ANIM=="Walk" then
1903
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / 3)
1904
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / 3)
1905
			else
1906
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
1907
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
1908
         end
1909
		end
1910
		CreateSound(1489705211,RightArm,MRANDOM(7,8),MRANDOM(8,13)/12,false)
1911
		local TOUCHED = HIT()
1912
		for i=0, 0.5, 0.1 / 3 do
1913
			Swait()
1914
			WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1915
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-35)), 3 / 3)
1916
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / 3)
1917
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.8, 0.5, -0.7) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(15), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.6 / 3)
1918
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 3)
1919
           if ANIM=="Walk" then
1920
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / 3)
1921
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / 3)
1922
			else
1923
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
1924
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
1925
         end
1926
		end
1927
		TOUCHED:Disconnect()
1928
		COMBO = 2
1929
		Blade.REDB.Trail.Enabled = false
1930
	elseif COMBO == 2 then
1931
		for i=0, 0.35, 0.1 / 3 do
1932
			Swait()
1933
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(5)), 3 / 3)
1934
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / 3)
1935
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / 3)
1936
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 3)
1937
           if ANIM=="Walk" then
1938
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / 3)
1939
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / 3)
1940
			else
1941
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
1942
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
1943
         end
1944
		end
1945
		CreateSound(1489705211,LeftArm,MRANDOM(7,8),MRANDOM(8,13)/12,false)
1946
		local TOUCHED = HIT2()
1947
		for i=0, 0.5, 0.1 / 3 do
1948
			Swait()
1949
			WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1950
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 3 / 3)
1951
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-55)), 1 / 3)
1952
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.6 / 3)
1953
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-105)) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / 3)
1954
           if ANIM=="Walk" then
1955
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / 3)
1956
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / 3)
1957
			else
1958
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
1959
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 3)
1960
         end
1961
		end
1962
		TOUCHED:Disconnect()
1963
		COMBO = 1
1964
	end
1965
	coroutine.resume(coroutine.create(function()
1966
		for i = 1, 50 do
1967
			Swait()
1968
			if ATTACK == true then
1969
				break
1970
			end
1971
		end
1972
		if ATTACK == false then
1973
			COMBO = 1
1974
		end
1975
	end))
1976
	Speed = savespeed
1977
	ATTACK = false
1978
	Rooted = false
1979
	EQUIPPED = false
1980
end
1981
1982
function Warp()
1983
	local POS = Mouse.Hit.p+VT(0,4,0)
1984
	local ORI = RootPart.Orientation
1985
	RootPart.CFrame = CF(POS)
1986
	RootPart.Orientation = ORI
1987
	CreateSound("424195979",RootPart,7,2,false)
1988
	ShakeCam(1,25)
1989
	for i = 1,4.5,.15 do 
1990
		SpecialSphere(VT(2,10,2)/6,35,CF(POS,RootPart.Position)*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))*CF(0,MRANDOM(4,8),0),Color3.new(0,0,0),VT(0,0,0))	
1991
		SpecialSphere(VT(2,10,2)/6,35,CF(POS,RootPart.Position)*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))*CF(0,MRANDOM(4,8),0),Color3.new(0,0,0),VT(0,0,0))	
1992
		WACKYEFFECT({Time=20,EffectType = "Sphere", Size = VT(4*i,65*(1-i/4.5),4*i)*SCALE, Size2 = VT(5*i,0,5*i)*SCALE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS)*ANGLES(0,360*math.rad(i),0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1993
		WACKYEFFECT({Time=20,EffectType = "Sphere", Size = VT(4*i,65*(1-i/4.5),4*i)*SCALE, Size2 = VT(5*i,0,5*i)*SCALE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS)*ANGLES(0,360*math.rad(i),0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1994
		ApplyAoE(POS,20)
1995
	end
1996
end
1997
1998
function Stomp()
1999
	ATTACK = true
2000
	Rooted = false
2001
	PLAYANIMS = false
2002
	Speed = 5
2003
	for i=0, 1, 0.1 / Animation_Speed do
2004
		Swait()
2005
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed)
2006
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed)
2007
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2008
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2009
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.4*SIZE, -0.6*SIZE) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
2010
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE /12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2011
	end
2012
	CreateSound(3923230963,Torso,10,1,false)
2013
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(50,10,50)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/1000,100/1000), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 3923230963, SoundPitch = MRANDOM(1,1.1), SoundVolume = 10})
2014
	WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(50,50,50)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/1000,100/1000), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 3923230963, SoundPitch = MRANDOM(1,1.1), SoundVolume = 10})
2015
	WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(1,0.01,1), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/1000,100/1000), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 3923230963, SoundPitch = MRANDOM(1,1.1), SoundVolume = 10})
2016
	WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(1,0.01,1), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/1000,100/1000), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 3923230963, SoundPitch = MRANDOM(1,1.1), SoundVolume = 10})
2017
	WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(1,0.01,1), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/1000,100/1000), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 3923230963, SoundPitch = MRANDOM(1,1.1), SoundVolume = 10})
2018
	ApplyAoE(RootPart.Position,25)
2019
	ShakeCam(3,25)
2020
	for i=0, 1, 0.1 / Animation_Speed do
2021
		Swait()
2022
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
2023
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-180), RAD(-5)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
2024
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE /12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2025
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
2026
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE /12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2027
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE /12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2028
	end
2029
	Speed = 15
2030
	PLAYANIMS = true
2031
	ATTACK = false
2032
	Rooted = false
2033
	Humanoid.CameraOffset = VT(0,0,0)
2034
end
2035
2036
function Slash()
2037
	ATTACK = true
2038
	Rooted = true
2039
	PLAYANIMS = false
2040
	local STOPPP = false
2041
	MagicSphere(VT(0,0,0),15,RootPart.CFrame,"Really black",VT(2,2,2))
2042
	coroutine.wrap(function()
2043
		while wait() do
2044
			WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,5,1), Size2 = VT(1,25,1), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,0,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2045
			if STOPPP == true then
2046
				break
2047
			end
2048
		end
2049
	end)()
2050
	for i=0, 1, 0.1 / Animation_Speed do
2051
		Swait()
2052
		CreateRing(VT(0,0,0),false,0,5,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(1,1,0))
2053
		turnto(Mouse.Hit.p)
2054
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.5*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed)
2055
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed)
2056
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2057
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2058
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE, -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2059
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2060
	end
2061
	for i=0,0.1, 0.1 / Animation_Speed do
2062
		Swait()
2063
		turnto(Mouse.Hit.p)
2064
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
2065
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
2066
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.5)
2067
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
2068
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
2069
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
2070
	end
2071
	local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", Torso, 5, 0.6)
2072
	SOUND.SoundId = "rbxasset://sounds/swordlunge.wav"
2073
	CreateSound(62339698, Torso, 10, 0.4)
2074
	ApplyAoE(RootPart.Position,55)
2075
	ShakeCam(3,25)
2076
	WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(100,100,100)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/1000,100/1000), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 3923230963, SoundPitch = MRANDOM(1,1.1), SoundVolume = 10})
2077
	WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(1,0,1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-4,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2078
	WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(1,0,1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-4,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2079
	WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(1,0,1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-4,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2080
	STOPPP = true
2081
	for i=0, 1, 0.1 / Animation_Speed do
2082
		Swait()
2083
		turnto(Mouse.Hit.p)
2084
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5)
2085
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5)
2086
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 0.5)
2087
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5)
2088
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
2089
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5)
2090
	end
2091
	PLAYANIMS = true
2092
	ATTACK = false
2093
	Rooted = false
2094
end
2095
2096
function Grab()
2097
	local TARGET = Mouse.Target
2098
	if TARGET ~= nil and TARGET.Parent:FindFirstChildOfClass("Humanoid") then
2099
		do
2100
			local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
2101
			local ROOT = GetRoot(HUM.Parent, true)
2102
			local FOE = ROOT.Parent
2103
			local HED = FOE:FindFirstChild("Head")
2104
			local TORS = FOE:FindFirstChild("Torso") or FOE:FindFirstChild("UpperTorso")
2105
			Rooted = true
2106
			turnto(TORS.Position)
2107
			if ROOT and HUM.Health > 0 then   
2108
				ATTACK = true	
2109
				coroutine.resume(coroutine.create(function()
2110
					repeat
2111
						Swait()
2112
						WACKYEFFECT2({
2113
							Time = 12,
2114
							EffectType = "Sphere",
2115
							Size = VT(5, 5, 5)/10,
2116
							Size2 = VT(0, 0, 250)/10,
2117
							Transparency = 0,
2118
							Transparency2 = 1,
2119
							CFrame = CF(ROOT.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2120
							MoveToPos = nil,
2121
							RotationX = 0,
2122
							RotationY = 0,
2123
							RotationZ = 0,
2124
							Material = "Neon",
2125
							Color = C3(1,0,0),
2126
							SoundID = 220834019,
2127
							SoundPitch = 2,
2128
							SoundVolume = .5,
2129
							UseBoomerangMath = true,
2130
							Boomerang = 50,
2131
							SizeBoomerang = 100
2132
						})
2133
						WACKYEFFECT2({Time = 25, EffectType = "Box", Size = VT(2,0,2)/3, Size2 = VT(6,7.5,6)/3, Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame * ANGLES(RAD(MRANDOM(-360,360)), RAD(MRANDOM(-360,360)), RAD(MRANDOM(-360,360))), MoveToPos = RightArm.CFrame*CF(0,-1,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2134
						WACKYEFFECT2({
2135
							Time = 15,
2136
							EffectType = "Box",
2137
							Size = TORS.Size * 1.2,
2138
							Size2 = TORS.Size * 1.2,
2139
							Transparency = 0.4,
2140
							Transparency2 = 1,
2141
							CFrame = TORS.CFrame,
2142
							MoveToPos = nil,
2143
							RotationX = 0,
2144
							RotationY = 0,
2145
							RotationZ = 0,
2146
							Material = "Neon",
2147
							Color = C3(1, 0, 0),
2148
							SoundID = nil,
2149
							SoundPitch = nil,
2150
							SoundVolume = nil,
2151
							UseBoomerangMath = false,
2152
							Boomerang = 0,
2153
							SizeBoomerang = 0
2154
						})
2155
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2156
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-2), RAD(-5), RAD(-85)) * ANGLES(RAD(0), RAD(0), RAD(-22 - 2.5 * SIN(SINE / 13))), 1 / Animation_Speed)
2157
           			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 1, 0) * ANGLES(RAD(120), RAD(0), RAD(90))* RIGHTSHOULDERC0, 0.15 / 3)
2158
            		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.85, .5, 0) * ANGLES(RAD(0),RAD(0),RAD(-50)) * ANGLES(RAD(0),RAD(0),RAD(MRANDOM(-10,40))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2159
           			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2160
            		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2161
					until ATTACK == false
2162
				end))
2163
				local POS = ROOT.Position + VT(0, 15 * ROOT.Size.Z, 0)
2164
				local grav = Instance.new("BodyPosition", ROOT)
2165
				grav.D = 850
2166
				grav.P = 4000
2167
				grav.maxForce = VT(inf,inf,inf)
2168
				grav.Position = POS
2169
				wait(2)
2170
				Kill(TARGET.Parent)
2171
				ShakeCam(1,25)
2172
				ATTACK = false
2173
				Rooted = false
2174
                Humanoid.CameraOffset = VT(0,0,0)
2175
                grav:Destroy()
2176
			end
2177
		end	
2178
	end
2179
end
2180
2181
function Nightmare_Is_Coming()
2182
	ATTACK = true
2183
	CreateSound("459523898",RootPart,10,1,false)
2184
	CreateSound("459523898",RootPart,10,1,false)
2185
	CreateSound("223103466",RootPart,3,.8,false)
2186
	CreateSound("3651185476",RootPart,10,1,false)
2187
	CreateSound("3651185476",RootPart,10,1,false)
2188
	CreateSound("3651185476",RootPart,10,1,false)
2189
	CreateSound("3651185476",RootPart,10,1,false)
2190
	local SCOLOR = Instance.new("ColorCorrectionEffect")
2191
	SCOLOR.Brightness = 0
2192
	SCOLOR.Contrast = 0
2193
	SCOLOR.Saturation = 0
2194
	SCOLOR.Name = "SpookyColor"
2195
	SCOLOR.Parent = game:GetService('Lighting')
2196
	for i=0, 11.5, 0.1 / Animation_Speed2 do
2197
			Swait()
2198
			Humanoid.CameraOffset = VT(MRANDOM(-500,500)/2.5,MRANDOM(-50,50)/2.5,MRANDOM(-500,500)/2.5)/30
2199
			ApplyAoE(RootPart.Position,1e9)
2200
			WACKYEFFECT2({
2201
			Time = 12,
2202
			EffectType = "Sphere",
2203
			Size = VT(5, 5, 5)/10 * 25,
2204
			Size2 = VT(0, 0, 250)/10 * 25,
2205
			Transparency = 0,
2206
			Transparency2 = 1,
2207
			CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2208
			MoveToPos = nil,
2209
			RotationX = 0,
2210
			RotationY = 0,
2211
			RotationZ = 0,
2212
			Material = "Neon",
2213
			Color = C3(0,0,0),
2214
			SoundID = nil,
2215
			SoundPitch = 1,
2216
			SoundVolume = 6,
2217
			UseBoomerangMath = true,
2218
			Boomerang = 0,
2219
			SizeBoomerang = 0
2220
			})
2221
			WACKYEFFECT2({
2222
			Time = 75 - i * 4,
2223
			EffectType = "Box",
2224
			Size = VT(0, 0, 0),
2225
			Size2 = VT(5, 5, 5) + VT(i, i, i) * 55,
2226
			Transparency = 0,
2227
			Transparency2 = 1,
2228
			CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2229
			MoveToPos = nil,
2230
			RotationX = 360,
2231
			RotationY = 360,
2232
			RotationZ = 360,
2233
			Material = "Neon",
2234
			Color = C3(0,0,0),
2235
			SoundID = nil,
2236
			SoundPitch = MRANDOM(8, 20) / 10,
2237
			SoundVolume = 2,
2238
			UseBoomerangMath = true,
2239
			Boomerang = 25,
2240
			SizeBoomerang = 100
2241
		})
2242
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2243
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-7), RAD(-10), RAD(27 - 2.5 * SIN(SINE / 13))) * ANGLES(RAD(0), RAD(0), RAD(-22 - 2.5 * SIN(SINE / 13))), 1 / Animation_Speed)
2244
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, .5, 0) * ANGLES(RAD(0), RAD(0), RAD(15))* RIGHTSHOULDERC0, 0.15 / 3)
2245
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, .5, 0) *ANGLES(RAD(0),RAD(0 + .5 * COS(SINE / 12)),RAD(MRANDOM(-40,10))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2246
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2247
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2248
	end
2249
	CreateSound("168513088",RootPart,10,1,false)
2250
	CreateSound("168513088",RootPart,10,1,false)
2251
	CreateSound("168513088",RootPart,10,1,false)
2252
	CreateSound("168513088",RootPart,10,1,false)
2253
	--
2254
	CreateSound("231917744",RootPart,10,1,false)
2255
	CreateSound("231917744",RootPart,10,1,false)
2256
	CreateSound("231917744",RootPart,10,1,false)
2257
	CreateSound("231917744",RootPart,10,1,false)
2258
	game.Lighting.Brightness = 0
2259
	game.Lighting.OutdoorAmbient = Color3.new(0,0,0)
2260
	game.Lighting.ClockTime = 0
2261
	Humanoid.HipHeight = 10
2262
	local BLUR = Instance.new("BlurEffect")
2263
	BLUR.Size = 0
2264
	BLUR.Name = "Wasted"
2265
	BLUR.Parent = game:GetService('Lighting')
2266
	for i = 1,350 do
2267
			Swait()
2268
		SCOLOR.Brightness = 5-((i/10)*5)
2269
		SCOLOR.Contrast = 4-((i/10)*4)
2270
		SCOLOR.Saturation = 3-((i/10)*3)
2271
			BLUR.Size = (i/30)*10
2272
			ApplyAoE(RootPart.Position,1e9999)
2273
			WACKYEFFECT2({
2274
			Time = 75 - i * 4,
2275
			EffectType = "Box",
2276
			Size = VT(0, 0, 0),
2277
			Size2 = VT(5, 5, 5) + VT(i, i, i) * 100,
2278
			Transparency = 0,
2279
			Transparency2 = 1,
2280
			CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
2281
			MoveToPos = nil,
2282
			RotationX = 360,
2283
			RotationY = 360,
2284
			RotationZ = 360,
2285
			Material = "Neon",
2286
			Color = C3(0,0,0),
2287
			SoundID = 231917744,
2288
			SoundPitch = MRANDOM(8, 20) / 10,
2289
			SoundVolume = 3,
2290
			UseBoomerangMath = true,
2291
			Boomerang = 25,
2292
			SizeBoomerang = 100
2293
		})
2294
			WACKYEFFECT2({EffectType = "Wave", Size = VT(0,5,0), Size2 = VT(i*12,5,i*12), Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0.1, RotationY = 1, RotationZ = -0.1, Material = "Slate", Color = C3(0,0,0), SoundID = 528589382, SoundPitch = MRANDOM(5,15)/10, SoundVolume = 3, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
2295
		WACKYEFFECT2({EffectType = "Sphere", Size = VT(0,5,0), Size2 = VT(i*12,5,i*12), Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0.1, RotationY = 1, RotationZ = -0.1, Material = "Neon", Color = C3(1,0,0), SoundID = 528589382, SoundPitch = MRANDOM(5,15)/10, SoundVolume = 3, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
2296
		WACKYEFFECT2({EffectType = "Slash", Size = VT(0,5,0), Size2 = VT(i*12,5,i*12), Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0.1, RotationY = 1, RotationZ = -0.1, Material = "Neon", Color = C3(1,0,0), SoundID = 528589382, SoundPitch = MRANDOM(5,15)/10, SoundVolume = 3, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
2297
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2298
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-7), RAD(-10), RAD(27 - 2.5 * SIN(SINE / 13))) * ANGLES(RAD(0), RAD(0), RAD(-22 - 2.5 * SIN(SINE / 13))), 1 / Animation_Speed)
2299
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, .5, 0) * ANGLES(RAD(0), RAD(0), RAD(15))* RIGHTSHOULDERC0, 0.15 / 3)
2300
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, .5, 0) *ANGLES(RAD(0),RAD(0 + .5 * COS(SINE / 12)),RAD(MRANDOM(-40,10))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2301
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2302
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.01, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2303
	end
2304
	local SCOLORE = game:GetService('Lighting'):FindFirstChild("SpookyColor")
2305
		if SCOLORE then
2306
			spawn(function()
2307
				for i = 1,20 do
2308
					SCOLORE.Brightness = 0
2309
					SCOLORE.Contrast = 0
2310
					SCOLORE.Saturation = 0
2311
				end
2312
				SCOLORE:Destroy()
2313
				SCOLOR:Destroy()  
2314
			end)
2315
		end	
2316
	local BLURA = game:GetService('Lighting'):FindFirstChild("Wasted")
2317
		if BLURA then
2318
			spawn(function()
2319
				for i = 1, 20 do
2320
					BLURA.Size = 5-((i/30)*5)
2321
					swait()
2322
				end
2323
				BLUR:Destroy()
2324
				BLURA:Destroy() 
2325
			end)
2326
		end
2327
	Humanoid.HipHeight = 0
2328
	game.Lighting.ClockTime = 14
2329
	game.Lighting.Brightness = 2
2330
	ATTACK = false
2331
	Humanoid.CameraOffset = VT(0,0,0)
2332
end
2333
2334
function ToggleBlade()
2335
	WACKYEFFECT({Time = 25,EffectType = "Block", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = 260435136, SoundPitch = 0.9, SoundVolume = 10})
2336
    WACKYEFFECT({Time = 12.5,EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.25,0,0.25), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2337
	WACKYEFFECT({Time = 12.5,EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(1.25,2.5,2.5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2338
	WACKYEFFECT({Time = 12.5,EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,0,25), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2339
	if WEAPONEQUIPPED == false then
2340
		WEAPONEQUIPPED = true
2341
	else
2342
		WEAPONEQUIPPED = false
2343
	end
2344
end
2345
2346
function draw()
2347
	repeat Swait()
2348
	local a = Instance.new("Part",Effects)
2349
	a.Name = "d r a w"
2350
	a.Size = Vector3.new(2.5,0.01,2.5)
2351
	a.CFrame = CFrame.new(Mouse.Hit.Position)
2352
	a.Locked = true
2353
	a.Anchored = true
2354
	a.CanCollide = false
2355
	a.Material = "Neon"
2356
	until KEYHOLD == false
2357
end
2358
2359
function Combo()
2360
	ATTACK = true
2361
	Rooted = false
2362
	local savespeed = Speed
2363
	Speed = 12
2364
	EQUIPPED = true
2365
	local HIT2 = function()
2366
		local HITS2 = {}
2367
		local TOUCH2 = LeftArm.Touched:Connect(function(hit)
2368
			if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
2369
				local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
2370
				local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
2371
				if TORSO and HUM.Health > 0 then
2372
					local PASS = true
2373
					for i = 1, #HITS2 do
2374
						if HITS2[i] == hit.Parent then
2375
							PASS = false
2376
						end
2377
					end
2378
					table.insert(HITS2,hit.Parent)
2379
						if PASS == true then
2380
						Kill(HUM.Parent)
2381
					end
2382
				end
2383
			end
2384
		end)
2385
		return TOUCH2
2386
	end
2387
	local HIT = function()
2388
		local HITS = {}
2389
		local TOUCH = RightArm.Touched:Connect(function(hit)
2390
			if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
2391
				local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
2392
				local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
2393
				if TORSO and HUM.Health > 0 then
2394
					local PASS = true
2395
					for i = 1, #HITS do
2396
						if HITS[i] == hit.Parent then
2397
							PASS = false
2398
						end
2399
					end
2400
					table.insert(HITS,hit.Parent)
2401
						if PASS == true then
2402
						Kill(HUM.Parent)
2403
					end
2404
				end
2405
			end
2406
		end)
2407
		return TOUCH
2408
	end
2409
	if COMBO == 1 then
2410
		for i=0, 0.35, 0.1 / Animation_Speed do
2411
			Swait()
2412
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(5)), 3 / 3)
2413
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
2414
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2415
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)  
2416
           if ANIM=="Walk" then
2417
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2418
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2419
			else
2420
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2421
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2422
         end
2423
		end
2424
		CreateSound(1489705211,RightArm,MRANDOM(7,8),MRANDOM(8,13)/12,false)
2425
		local TOUCHED = HIT()
2426
		for i=0, 0.5, 0.1 / Animation_Speed do
2427
			Swait()
2428
			WACKYEFFECT2({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2429
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-35)), 3 / 3)
2430
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
2431
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.8, 0.5, -0.7) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(15), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
2432
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2433
           if ANIM=="Walk" then
2434
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2435
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2436
			else
2437
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2438
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2439
         end
2440
		end
2441
		TOUCHED:Disconnect()
2442
		COMBO = 2
2443
	elseif COMBO == 2 then
2444
		for i=0, 0.35, 0.1 / Animation_Speed do
2445
			Swait()
2446
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(5)), 3 / 3)
2447
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
2448
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2449
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2450
           if ANIM=="Walk" then
2451
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2452
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2453
			else
2454
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2455
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2456
         end
2457
		end
2458
		CreateSound(1489705211,LeftArm,MRANDOM(7,8),MRANDOM(8,13)/12,false)
2459
		local TOUCHED = HIT2()
2460
		for i=0, 0.5, 0.1 / Animation_Speed do
2461
			Swait()
2462
			WACKYEFFECT2({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2463
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 3 / 3)
2464
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-55)), 1 / Animation_Speed)
2465
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
2466
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-105)) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2467
           if ANIM=="Walk" then
2468
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2469
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2470
			else
2471
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2472
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2473
         end
2474
		end
2475
		TOUCHED:Disconnect()
2476
		COMBO = 3
2477
	elseif COMBO == 3 then
2478
		for i=0, 0.35, 0.1 / Animation_Speed do
2479
			Swait()
2480
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / 3)
2481
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.25, -0.2) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
2482
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2483
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2484
           if ANIM=="Walk" then
2485
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2486
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2487
			else
2488
		   RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-25), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2489
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2490
         end
2491
		end
2492
		CreateSound(1489705211,LeftArm,MRANDOM(7,8),MRANDOM(8,13)/12,false)
2493
		local TOUCHED = HIT2()
2494
		local TOUCHED2 = HIT()
2495
		for i=0, 0.5, 0.1 / Animation_Speed do
2496
			Swait()
2497
			WACKYEFFECT2({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2498
			WACKYEFFECT2({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2499
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 3 / 3)
2500
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.2) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed)
2501
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-30)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
2502
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2503
           if ANIM=="Walk" then
2504
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2505
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2506
			else
2507
		   RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(30), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2508
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(30), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2509
         end
2510
		end
2511
		TOUCHED:Disconnect()
2512
		TOUCHED2:Disconnect()
2513
		COMBO = 4
2514
	elseif COMBO == 4 then
2515
		for i=0, 0.5, 0.1 / Animation_Speed do
2516
			Swait()
2517
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 3 / 3)
2518
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.2) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed)
2519
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2, 0.5, -0.5) * ANGLES(RAD(75), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
2520
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2, 0.5, -0.5) * ANGLES(RAD(75), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2521
	           if ANIM=="Walk" then
2522
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2523
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2524
			else
2525
		   RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(30), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2526
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(30), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2527
         end
2528
		end	
2529
        WACKYEFFECT({Time = 40,EffectType = "Block", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-0.5), MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = 260435136, SoundPitch = 0.9, SoundVolume = 10})
2530
        WACKYEFFECT({Time = 25,EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.5,0,0.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-0.5), MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2531
		WACKYEFFECT({Time = 25,EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(1,3,3), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-0.5), MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2532
		WACKYEFFECT({Time = 25,EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,0,25), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-0.5), MoveToPos = nil, RotationX = MRANDOM(1,360), RotationY = MRANDOM(1,360), RotationZ = MRANDOM(1,360), Material = "Neon", Color = C3(0.5,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2533
		ShakeCam(3,10)
2534
        ApplyAoE(RootPart.Position,25)
2535
		for i=0, 0.5, 0.1 / Animation_Speed do
2536
			Swait()
2537
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / 3)
2538
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.25, -0.2) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
2539
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2540
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2541
           if ANIM=="Walk" then
2542
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2543
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5 + 50 * SIN(SINE / 12))), 1 / Animation_Speed)
2544
			else
2545
		   RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-25), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2546
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-25), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2547
         end
2548
		end	
2549
		COMBO = 1
2550
	end
2551
	coroutine.resume(coroutine.create(function()
2552
		for i = 1, 50 do
2553
			Swait()
2554
			if ATTACK == true then
2555
				break
2556
			end
2557
		end
2558
		if ATTACK == false then
2559
			COMBO = 1
2560
		end
2561
	end))
2562
	Speed = savespeed
2563
	ATTACK = false
2564
	Rooted = false
2565
	EQUIPPED = false
2566
end
2567
2568
--//=================================\\
2569
--||	  ASSIGN THINGS TO KEYS
2570
--\\=================================//
2571
2572
AdvancedChatfunc(Player.Name.." Has Arrived",2,2,false)
2573
2574
function MouseDown(Mouse)
2575
	HOLD = true
2576
	if ATTACK == false then
2577
		if WEAPONEQUIPPED == false then
2578
			Combo()
2579
		else
2580
			BladeCombo()
2581
		end
2582
	end
2583
end
2584
2585
function MouseUp(Mouse)
2586
HOLD = false
2587
end
2588
2589
function KeyDown(Key)
2590
	KEYHOLD = true
2591
	if Key == "m" then
2592
		sick:remove()
2593
	end
2594
	if Key == "n" then
2595
		Effects:ClearAllChildren()
2596
	end
2597
	if Key == "3" then
2598
		draw()
2599
	end
2600
	if Key == "p" then
2601
		ATTACK = false
2602
		Rooted = false
2603
	end
2604
	if Key == "q" and ATTACK == false and MODE >1 then
2605
		MODE = MODE -1
2606
	end
2607
	if Key == "e" and ATTACK == false and MODE <3 then
2608
		MODE = MODE +1
2609
	end
2610
	if Key == "t" then
2611
		TOBANISH = {}
2612
		TOBAN = {}
2613
	end
2614
	if Key == "f" and ATTACK == false then
2615
		ToggleBlade()
2616
	end
2617
	if Key == "z" and ATTACK == false then
2618
		Warp()
2619
	end
2620
	if Key == "x" and ATTACK == false then
2621
		Stomp()
2622
	end
2623
	if Key == "c" and ATTACK == false then
2624
		Slash()
2625
	end
2626
	if Key == "v" and ATTACK == false then
2627
		Grab()
2628
	end
2629
	if Key == "b" and ATTACK == false then
2630
		Nightmare_Is_Coming()
2631
	end
2632
end
2633
function KeyUp(Key)
2634
	KEYHOLD = false
2635
end
2636
2637
Mouse.Button1Down:connect(function(NEWKEY)
2638
	MouseDown(NEWKEY)
2639
end)
2640
Mouse.Button1Up:connect(function(NEWKEY)
2641
	MouseUp(NEWKEY)
2642
end)
2643
Mouse.KeyDown:connect(function(NEWKEY)
2644
	KeyDown(NEWKEY)
2645
end)
2646
Mouse.KeyUp:connect(function(NEWKEY)
2647
	KeyUp(NEWKEY)
2648
end)
2649
2650
--//=================================\\
2651
--\\=================================//
2652
2653
2654
2655
function unanchor()
2656
	if UNANCHOR == true then
2657
		g = Character:GetChildren()
2658
		for i = 1, #g do
2659
			if g[i].ClassName == "Part" then
2660
				g[i].Anchored = false
2661
			end
2662
		end
2663
	end
2664
end
2665
2666
2667
--//=================================\\
2668
--||	WRAP THE WHOLE SCRIPT UP
2669
--\\=================================//
2670
2671
Humanoid.Changed:connect(function(Jump)
2672
	if Jump == "Jump" and (Disable_Jump == true) then
2673
		Humanoid.Jump = false
2674
	elseif Jump == "Jump" and (Disable_Jump == false) then
2675
		wait(0.1)
2676
	end
2677
end)
2678
2679
coroutine.wrap(function()
2680
	while wait() do
2681
		if Effects:FindFirstChild("Effect") then
2682
			local effect = Effects:FindFirstChild("Effect")
2683
			wait(2.5)
2684
			if effect ~= nil then
2685
				effect:remove()
2686
			end
2687
		end
2688
	end
2689
end)()
2690
2691
while true do
2692
	Swait()
2693
	for T = 1, #TAIL do
2694
		if TAIL[T] ~= nil then
2695
			TAIL[T].C1 = Clerp(TAIL[T].C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(3.5 * SIN(SINE / 12))), 1 / 5)
2696
		end
2697
	end
2698
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2699
	    v:Stop();
2700
	end
2701
	SINE = SINE + CHANGE
2702
	vissine = vissine + CHANGE * sick.PlaybackLoudness/150
2703
	sine = sine + CHANGE
2704
	Hue = Hue + 1
2705
	if (Hue>360) then Hue = 0 end
2706
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2707
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2708
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
2709
	local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
2710
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2711
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2712
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2713
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2714
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2715
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2716
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2717
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2718
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2719
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2720
	end
2721
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil and ATTACK == false then
2722
		ANIM = "Jump"
2723
		if WEAPONEQUIPPED == false then
2724
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / 5)
2725
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE , 0*SIZE + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / 5)
2726
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / 5)
2727
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / 5)
2728
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.4*SIZE, -0.6*SIZE) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / 5)
2729
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / 5)
2730
		else
2731
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / 5)
2732
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / 5)
2733
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(15 + 5 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / 5)
2734
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / 5)
2735
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / 5)
2736
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / 5)
2737
		end
2738
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and ATTACK == false then
2739
		ANIM = "Fall"
2740
		if WEAPONEQUIPPED == false then
2741
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / 5)
2742
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE , 0 + ((1) - 1*SIZE)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / 5)
2743
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / 5)
2744
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / 5)
2745
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.3*SIZE, -0.7*SIZE) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / 5)
2746
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE, -0.3*SIZE) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / 5)
2747
		else
2748
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / 5)
2749
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / 5)
2750
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180 - 4 * COS(SINE / 6)), RAD(0), RAD(15 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / 5)
2751
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / 5)
2752
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / 5)
2753
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / 5)
2754
		end
2755
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil and ATTACK == false then
2756
		ANIM = "Idle"
2757
		DOUBLED = false
2758
		READYTODOUBLE = false
2759
		if WEAPONEQUIPPED == false then
2760
 			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , -0.2 + 0.2*COS(SINE / 13) ) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.35 / Animation_Speed)
2761
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20+MRANDOM(-15-sick.PlaybackLoudness/200,15+sick.PlaybackLoudness/200)), RAD(0+MRANDOM(-15-sick.PlaybackLoudness/200,15+sick.PlaybackLoudness/200)), RAD(0+MRANDOM(-15-sick.PlaybackLoudness/200,15+sick.PlaybackLoudness/200))), 0.35 / Animation_Speed)
2762
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+ 0.2*COS(SINE / 13), 0) * ANGLES(RAD(-20+MRANDOM(-15-sick.PlaybackLoudness/200,15+sick.PlaybackLoudness/200)), RAD(0+MRANDOM(-15-sick.PlaybackLoudness/200,15+sick.PlaybackLoudness/200)), RAD(0+MRANDOM(-15-sick.PlaybackLoudness/200,15+sick.PlaybackLoudness/200)))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
2763
		    LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5+ 0.2*COS(SINE / 13), 0) * ANGLES(RAD(-20+MRANDOM(-15-sick.PlaybackLoudness/200,15+sick.PlaybackLoudness/200)), RAD(0+MRANDOM(-15-sick.PlaybackLoudness/200,15+sick.PlaybackLoudness/200)), RAD(0+MRANDOM(-15-sick.PlaybackLoudness/200,15+sick.PlaybackLoudness/200))) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2764
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1- 0.2*COS(SINE / 13), 0) * ANGLES(RAD(-20), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
2765
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1- 0.2*COS(SINE / 13) , 0) * ANGLES(RAD(-20), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
2766
		else
2767
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0+MRANDOM(-25,25)), RAD(0+MRANDOM(-25,25)), RAD(0+MRANDOM(-25,25))), 0.35 / Animation_Speed)
2768
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-180), RAD(-5)) * LEFTSHOULDERC0, 0.8 / 10)
2769
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE /12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / 25)
2770
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(0),RAD(0 + .5 * COS(SINE / 12)),RAD(MRANDOM(-40,10))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2771
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE /12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.8 / 10)
2772
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE /12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.8 / 10)
2773
		end	
2774
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and ATTACK == false then
2775
		ANIM = "Walk"
2776
		DOUBLED = false
2777
		READYTODOUBLE = false
2778
		if WEAPONEQUIPPED == false then
2779
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2780
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15))), 0.35 / Animation_Speed)
2781
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
2782
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2783
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2784
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2785
		else
2786
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0+MRANDOM(-25,25)), RAD(0+MRANDOM(-25,25)), RAD(0+MRANDOM(-25,25))), 0.35 / Animation_Speed)
2787
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-180), RAD(-5)) * LEFTSHOULDERC0, 0.8 / 10)
2788
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) *ANGLES(RAD(90),RAD(0 + .5 * COS(SINE / WALKSPEEDVALUE)),RAD(MRANDOM(-40,10))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2789
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2790
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2791
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2792
		end
2793
	end
2794
	if MRANDOM(1,55) == 1 and WEAPONEQUIPPED == true then
2795
		coroutine.resume(coroutine.create(function()
2796
			VALUE1 = true
2797
			for i=1,25 do
2798
				Swait()
2799
				FT.Parent = Torso
2800
				FRA.Parent = RightArm
2801
				FLA.Parent = LeftArm
2802
				FRL.Parent = RightLeg
2803
				FLL.Parent = LeftLeg
2804
				local oof = Instance.new("FlangeSoundEffect",sick)
2805
				for _,v in next, Character:GetDescendants() do
2806
					if(v:IsA'DataModelMesh')then
2807
						v.Offset = VT(math.random(-50,50)/100,math.random(-50,50)/100,math.random(-50,50)/100)
2808
					end
2809
				end
2810
			end
2811
			VALUE1 = false
2812
			FT.Parent = nil
2813
			FRA.Parent = nil
2814
			FLA.Parent = nil
2815
			FRL.Parent = nil
2816
			FLL.Parent = nil
2817
			for _,v in next, Character:GetDescendants() do
2818
				if(v:IsA'DataModelMesh')then
2819
					v.Offset = VT(0,0,0)
2820
				end
2821
			end
2822
			sick:ClearAllChildren()
2823
		end))
2824
	end
2825
	for _, c in pairs(WEAPONGUI:GetChildren()) do
2826
		if c:FindFirstChildWhichIsA("TextLabel") then
2827
			c:FindFirstChildWhichIsA("TextLabel").TextColor3 = COLORSHIFT
2828
			c:FindFirstChildWhichIsA("TextLabel").TextStrokeColor3 = COLORSHIFT
2829
			c:FindFirstChildWhichIsA("TextLabel").Font = FONTS[MRANDOM(1,#FONTS)]
2830
		end
2831
	end
2832
	COLORSHIFT = outer.Color
2833
	for _, c in pairs(Effects:GetChildren()) do
2834
		if c:IsA("Part") or c:IsA("MeshPart") then
2835
			c.Color = COLORSHIFT
2836
		end
2837
	end
2838
	for _, c in pairs(CreationFolder:GetChildren()) do
2839
		if c:IsA("Part") or c:IsA("MeshPart") then
2840
			c.Color = COLORSHIFT
2841
		end
2842
	end
2843
	unanchor()
2844
	Humanoid.MaxHealth = "inf"
2845
	Humanoid.Health = "inf"
2846
	Humanoid.DisplayDistanceType = "None"
2847
	if Rooted == false then
2848
		Disable_Jump = false
2849
		Humanoid.WalkSpeed = Speed
2850
	elseif Rooted == true then
2851
		Disable_Jump = true
2852
		Humanoid.WalkSpeed = 0
2853
	end
2854
	if sick then
2855
		sick.Name = "epic music aint it"
2856
		sick.SoundId = "rbxassetid://573736432"
2857
		sick.MaxDistance = inf
2858
		sick.Volume = inf
2859
		sick.Looped = true
2860
		if sick.IsPlaying == false then
2861
			sick:Play()
2862
		end
2863
		sick.Parent = Torso
2864
	else
2865
		local sick = Instance.new("Sound")
2866
		sick.Name = "epic music aint it"
2867
		sick.SoundId = "rbxassetid://573736432"
2868
		sick.MaxDistance = inf
2869
		sick.Volume = inf
2870
		sick.Looped = true
2871
		if sick.IsPlaying == false then
2872
			sick:Play()
2873
		end
2874
		sick.Parent = Torso
2875
	end
2876
	if HITFLOOR ~= nil then
2877
		outer.Parent = Character
2878
		WACKYEFFECT({Time = 25, EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1,0,0.1)*MRANDOM(1000/1000,1750/1000), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3.25,0)*ANGLES(RAD(MRANDOM(-5,5)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-100/100,100/100), RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2879
		WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(0.5,0,0.5), Size2 = VT(0.1,6,0.1), Transparency = 0.3, Transparency2 = 1, CFrame = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(1,10)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-1,1)*5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), UseBoomerangMath = true, SizeBoomerang = 50, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2880
	else
2881
		outer.Parent = nil
2882
	end
2883
	if WEAPONEQUIPPED == false then
2884
		Blade.Parent = nil
2885
		BackBlade.Parent = Character
2886
		sick.PlaybackSpeed = 1
2887
	else
2888
		Blade.Parent = Character
2889
		BackBlade.Parent = nil
2890
		sick.PlaybackSpeed = .8
2891
	end
2892
	if Blade.Parent == Character then
2893
		WEAPONEQUIPPED = true
2894
	else
2895
		WEAPONEQUIPPED = false
2896
	end
2897
	if BackBlade.Parent == Character then
2898
		WEAPONEQUIPPED = false
2899
	else
2900
		WEAPONEQUIPPED = true
2901
	end
2902
	for _, c in pairs(Blade:GetChildren()) do
2903
		if c.Name == "RED" or c.Name == "REDB" then
2904
			c.Color = COLORSHIFT
2905
		end
2906
	end
2907
	for _, c in pairs(BackBlade:GetChildren()) do
2908
		if c.Name == "RED" or c.Name == "REDB" then
2909
			c.Color = COLORSHIFT
2910
		end
2911
	end
2912
end
2913