View difference between Paste ID: gA9QQ8uM and K0fY6JsP
SHOW: | | - or go back to the newest paste.
1
-----------------------
2
--[[ Name : Blight ]]--
3
-------------------------------------------------------
4
--A script By makhail07
5
6
--Discord Creterisk#2958 
7
8
--NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
9
--IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
10
--DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
11
--YOU FUCKING SKIDS,
12
--For Those who log/decompile this, If you sell or trade this,
13
--and I find out who you are, i will take massive action.
14
15
-------------------------------------------------------
16
17
local FavIDs = {
18
	340106355, --Nefl Crystals
19
	927529620, --Dimension
20
	876981900, --Fantasy
21
	398987889, --Ordinary Days
22
	1117396305, --Oh wait, it's you.
23
	885996042, --Action Winter Journey
24
	919231299, --Sprawling Idiot Effigy
25
	743466274, --Good Day Sunshine
26
	727411183, --Knife Fight
27
	1402748531, --The Earth Is Counting On You!
28
	595230126 --Robot Language
29
	}
30
31
32
33
--The reality of my life isn't real but a Universe -makhail07
34
wait()
35
local plr = game:service'Players'.LocalPlayer
36
print('Local User is '..plr.Name)
37
print('Blight Loaded')
38
print('Let justice be done, though the heavens fall.')
39
local char = plr.Character
40
local hum = char.Humanoid
41
local hed = char.Head
42
local root = char.HumanoidRootPart
43
local rootj = root.RootJoint
44
local tors = char.Torso
45
local ra = char["Right Arm"]
46
local la = char["Left Arm"]
47
local rl = char["Right Leg"]
48
local ll = char["Left Leg"]
49
local neck = tors["Neck"]
50
local mouse = plr:GetMouse()
51
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
52
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
53
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
54
local maincolor = BrickColor.new("Really black")
55
56
-------------------------------------------------------
57
--Start Good Stuff--
58
-------------------------------------------------------
59
cam = game.Workspace.CurrentCamera
60
CF = CFrame.new
61
angles = CFrame.Angles
62
attack = false
63
Euler = CFrame.fromEulerAnglesXYZ
64
Rad = math.rad
65
IT = Instance.new
66
BrickC = BrickColor.new
67
Cos = math.cos
68
Acos = math.acos
69
Sin = math.sin
70
Asin = math.asin
71
Abs = math.abs
72
Mrandom = math.random
73
Floor = math.floor
74
-------------------------------------------------------
75
--End Good Stuff--
76
-------------------------------------------------------
77
necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
78
RSH, LSH = nil, nil 
79
RW = Instance.new("Weld") 
80
LW = Instance.new("Weld")
81
RH = tors["Right Hip"]
82
LH = tors["Left Hip"]
83
RSH = tors["Right Shoulder"] 
84
LSH = tors["Left Shoulder"] 
85
RSH.Parent = nil 
86
LSH.Parent = nil 
87
RW.Name = "RW"
88
RW.Part0 = tors 
89
RW.C0 = CF(1.5, 0.5, 0)
90
RW.C1 = CF(0, 0.5, 0) 
91
RW.Part1 = ra
92
RW.Parent = tors 
93
LW.Name = "LW"
94
LW.Part0 = tors 
95
LW.C0 = CF(-1.5, 0.5, 0)
96
LW.C1 = CF(0, 0.5, 0) 
97
LW.Part1 = la
98
LW.Parent = tors
99
Effects = {}
100
-------------------------------------------------------
101
--Start HeartBeat--
102
-------------------------------------------------------
103
ArtificialHB = Instance.new("BindableEvent", script)
104
ArtificialHB.Name = "Heartbeat"
105
script:WaitForChild("Heartbeat")
106
107
frame = 1 / 60
108
tf = 0
109
allowframeloss = false
110
tossremainder = false
111
112
113
lastframe = tick()
114
script.Heartbeat:Fire()
115
116
117
game:GetService("RunService").Heartbeat:connect(function(s, p)
118
	tf = tf + s
119
	if tf >= frame then
120
		if allowframeloss then
121
			script.Heartbeat:Fire()
122
			lastframe = tick()
123
		else
124
			for i = 1, math.floor(tf / frame) do
125
				script.Heartbeat:Fire()
126
			end
127
			lastframe = tick()
128
		end
129
		if tossremainder then
130
			tf = 0
131
		else
132
			tf = tf - frame * math.floor(tf / frame)
133
		end
134
	end
135
end)
136
-------------------------------------------------------
137
--End HeartBeat--
138
-------------------------------------------------------
139
140
-------------------------------------------------------
141
--Start Important Functions--
142
-------------------------------------------------------
143
function swait(num)
144
	if num == 0 or num == nil then
145
		game:service("RunService").Stepped:wait(0)
146
	else
147
		for i = 0, num do
148
			game:service("RunService").Stepped:wait(0)
149
		end
150
	end
151
end
152
function thread(f)
153
	coroutine.resume(coroutine.create(f))
154
end
155
function clerp(a, b, t)
156
	local qa = {
157
		QuaternionFromCFrame(a)
158
	}
159
	local qb = {
160
		QuaternionFromCFrame(b)
161
	}
162
	local ax, ay, az = a.x, a.y, a.z
163
	local bx, by, bz = b.x, b.y, b.z
164
	local _t = 1 - t
165
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
166
end
167
function QuaternionFromCFrame(cf)
168
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
169
	local trace = m00 + m11 + m22
170
	if trace > 0 then
171
		local s = math.sqrt(1 + trace)
172
		local recip = 0.5 / s
173
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
174
	else
175
		local i = 0
176
		if m00 < m11 then
177
			i = 1
178
		end
179
		if m22 > (i == 0 and m00 or m11) then
180
			i = 2
181
		end
182
		if i == 0 then
183
			local s = math.sqrt(m00 - m11 - m22 + 1)
184
			local recip = 0.5 / s
185
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
186
		elseif i == 1 then
187
			local s = math.sqrt(m11 - m22 - m00 + 1)
188
			local recip = 0.5 / s
189
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
190
		elseif i == 2 then
191
			local s = math.sqrt(m22 - m00 - m11 + 1)
192
			local recip = 0.5 / s
193
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
194
		end
195
	end
196
end
197
function QuaternionToCFrame(px, py, pz, x, y, z, w)
198
	local xs, ys, zs = x + x, y + y, z + z
199
	local wx, wy, wz = w * xs, w * ys, w * zs
200
	local xx = x * xs
201
	local xy = x * ys
202
	local xz = x * zs
203
	local yy = y * ys
204
	local yz = y * zs
205
	local zz = z * zs
206
	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))
207
end
208
function QuaternionSlerp(a, b, t)
209
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
210
	local startInterp, finishInterp
211
	if cosTheta >= 1.0E-4 then
212
		if 1 - cosTheta > 1.0E-4 then
213
			local theta = math.acos(cosTheta)
214
			local invSinTheta = 1 / Sin(theta)
215
			startInterp = Sin((1 - t) * theta) * invSinTheta
216
			finishInterp = Sin(t * theta) * invSinTheta
217
		else
218
			startInterp = 1 - t
219
			finishInterp = t
220
		end
221
	elseif 1 + cosTheta > 1.0E-4 then
222
		local theta = math.acos(-cosTheta)
223
		local invSinTheta = 1 / Sin(theta)
224
		startInterp = Sin((t - 1) * theta) * invSinTheta
225
		finishInterp = Sin(t * theta) * invSinTheta
226
	else
227
		startInterp = t - 1
228
		finishInterp = t
229
	end
230
	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
231
end
232
function rayCast(Position, Direction, Range, Ignore)
233
	return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
234
end
235
local RbxUtility = LoadLibrary("RbxUtility")
236
local Create = RbxUtility.Create
237
238
-------------------------------------------------------
239
--Start Damage Function--
240
-------------------------------------------------------
241
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
242
	if hit.Parent == nil then
243
		return
244
	end
245
	local h = hit.Parent:FindFirstChildOfClass("Humanoid")
246
	for _, v in pairs(hit.Parent:children()) do
247
		if v:IsA("Humanoid") then
248
			h = v
249
		end
250
	end
251
         if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
252
	
253
         hit.Parent:FindFirstChild("Head"):BreakJoints()
254
         end
255
256
	if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
257
		if hit.Parent:findFirstChild("DebounceHit") ~= nil then
258
			if hit.Parent.DebounceHit.Value == true then
259
				return
260
			end
261
		end
262
         if insta == true then
263
         hit.Parent:FindFirstChild("Head"):BreakJoints()
264
         end
265
		local c = Create("ObjectValue"){
266
			Name = "creator",
267
			Value = game:service("Players").LocalPlayer,
268
			Parent = h,
269
		}
270
		game:GetService("Debris"):AddItem(c, .5)
271
		if HitSound ~= nil and HitPitch ~= nil then
272
			CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) 
273
		end
274
		local Damage = math.random(minim, maxim)
275
		local blocked = false
276
		local block = hit.Parent:findFirstChild("Block")
277
		if block ~= nil then
278
			if block.className == "IntValue" then
279
				if block.Value > 0 then
280
					blocked = true
281
					block.Value = block.Value - 1
282
					print(block.Value)
283
				end
284
			end
285
		end
286
		if blocked == false then
287
			h.Health = h.Health - Damage
288
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
289
		else
290
			h.Health = h.Health - (Damage / 2)
291
			ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
292
		end
293
		if Type == "Knockdown" then
294
			local hum = hit.Parent.Humanoid
295
			hum.PlatformStand = true
296
			coroutine.resume(coroutine.create(function(HHumanoid)
297
				swait(1)
298
				HHumanoid.PlatformStand = false
299
			end), hum)
300
			local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
301
			local bodvol = Create("BodyVelocity"){
302
				velocity = angle * knockback,
303
				P = 5000,
304
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
305
				Parent = hit,
306
			}
307
			local rl = Create("BodyAngularVelocity"){
308
				P = 3000,
309
				maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
310
				angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
311
				Parent = hit,
312
			}
313
			game:GetService("Debris"):AddItem(bodvol, .5)
314
			game:GetService("Debris"):AddItem(rl, .5)
315
		elseif Type == "Normal" then
316
			local vp = Create("BodyVelocity"){
317
				P = 500,
318
				maxForce = Vector3.new(math.huge, 0, math.huge),
319
				velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
320
			}
321
			if knockback > 0 then
322
				vp.Parent = hit.Parent.Torso
323
			end
324
			game:GetService("Debris"):AddItem(vp, .5)
325
		elseif Type == "Up" then
326
			local bodyVelocity = Create("BodyVelocity"){
327
				velocity = Vector3.new(0, 20, 0),
328
				P = 5000,
329
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
330
				Parent = hit,
331
			}
332
			game:GetService("Debris"):AddItem(bodyVelocity, .5)
333
		elseif Type == "DarkUp" then
334
			coroutine.resume(coroutine.create(function()
335
				for i = 0, 1, 0.1 do
336
					swait()
337
					Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
338
				end
339
			end))
340
			local bodyVelocity = Create("BodyVelocity"){
341
				velocity = Vector3.new(0, 20, 0),
342
				P = 5000,
343
				maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
344
				Parent = hit,
345
			}
346
			game:GetService("Debris"):AddItem(bodyVelocity, 1)
347
		elseif Type == "Snare" then
348
			local bp = Create("BodyPosition"){
349
				P = 2000,
350
				D = 100,
351
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
352
				position = hit.Parent.Torso.Position,
353
				Parent = hit.Parent.Torso,
354
			}
355
			game:GetService("Debris"):AddItem(bp, 1)
356
		elseif Type == "Freeze" then
357
			local BodPos = Create("BodyPosition"){
358
				P = 50000,
359
				D = 1000,
360
				maxForce = Vector3.new(math.huge, math.huge, math.huge),
361
				position = hit.Parent.Torso.Position,
362
				Parent = hit.Parent.Torso,
363
			}
364
			local BodGy = Create("BodyGyro") {
365
				maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
366
				P = 20e+003,
367
				Parent = hit.Parent.Torso,
368
				cframe = hit.Parent.Torso.CFrame,
369
			}
370
			hit.Parent.Torso.Anchored = true
371
			coroutine.resume(coroutine.create(function(Part) 
372
				swait(1.5)
373
				Part.Anchored = false
374
			end), hit.Parent.Torso)
375
			game:GetService("Debris"):AddItem(BodPos, 3)
376
			game:GetService("Debris"):AddItem(BodGy, 3)
377
		end
378
		local debounce = Create("BoolValue"){
379
			Name = "DebounceHit",
380
			Parent = hit.Parent,
381
			Value = true,
382
		}
383
		game:GetService("Debris"):AddItem(debounce, Delay)
384
		c = Create("ObjectValue"){
385
			Name = "creator",
386
			Value = Player,
387
			Parent = h,
388
		}
389
		game:GetService("Debris"):AddItem(c, .5)
390
	end
391
end
392
-------------------------------------------------------
393
--End Damage Function--
394
-------------------------------------------------------
395
396
-------------------------------------------------------
397
--Start Damage Function Customization--
398
-------------------------------------------------------
399
function ShowDamage(Pos, Text, Time, Color)
400
	local Rate = (1 / 30)
401
	local Pos = (Pos or Vector3.new(0, 0, 0))
402
	local Text = (Text or "")
403
	local Time = (Time or 2)
404
	local Color = (Color or Color3.new(1, 0, 1))
405
	local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
406
	EffectPart.Anchored = true
407
	local BillboardGui = Create("BillboardGui"){
408
		Size = UDim2.new(3, 0, 3, 0),
409
		Adornee = EffectPart,
410
		Parent = EffectPart,
411
	}
412
	local TextLabel = Create("TextLabel"){
413
		BackgroundTransparency = 1,
414
		Size = UDim2.new(1, 0, 1, 0),
415
		Text = Text,
416
		Font = "Bodoni",
417
		TextColor3 = Color,
418
		TextScaled = true,
419
		TextStrokeColor3 = Color3.fromRGB(0,0,0),
420
		Parent = BillboardGui,
421
	}
422
	game.Debris:AddItem(EffectPart, (Time))
423
	EffectPart.Parent = game:GetService("Workspace")
424
	delay(0, function()
425
		local Frames = (Time / Rate)
426
		for Frame = 1, Frames do
427
			wait(Rate)
428
			local Percent = (Frame / Frames)
429
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
430
			TextLabel.TextTransparency = Percent
431
		end
432
		if EffectPart and EffectPart.Parent then
433
			EffectPart:Destroy()
434
		end
435
	end)
436
end
437
-------------------------------------------------------
438
--End Damage Function Customization--
439
-------------------------------------------------------
440
441
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
442
  for _, c in pairs(workspace:children()) do
443
    local hum = c:findFirstChild("Humanoid")
444
    if hum ~= nil then
445
      local head = c:findFirstChild("Head")
446
      if head ~= nil then
447
        local targ = head.Position - Part.Position
448
        local mag = targ.magnitude
449
        if magni >= mag and c.Name ~= plr.Name then
450
          Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
451
        end
452
      end
453
    end
454
  end
455
end
456
457
458
CFuncs = {
459
	Part = {
460
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
461
			local Part = Create("Part")({
462
				Parent = Parent,
463
				Reflectance = Reflectance,
464
				Transparency = Transparency,
465
				CanCollide = false,
466
				Locked = true,
467
				BrickColor = BrickColor.new(tostring(BColor)),
468
				Name = Name,
469
				Size = Size,
470
				Material = Material
471
			})
472
			RemoveOutlines(Part)
473
			return Part
474
		end
475
	},
476
	Mesh = {
477
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
478
			local Msh = Create(Mesh)({
479
				Parent = Part,
480
				Offset = OffSet,
481
				Scale = Scale
482
			})
483
			if Mesh == "SpecialMesh" then
484
				Msh.MeshType = MeshType
485
				Msh.MeshId = MeshId
486
			end
487
			return Msh
488
		end
489
	},
490
	Mesh = {
491
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
492
			local Msh = Create(Mesh)({
493
				Parent = Part,
494
				Offset = OffSet,
495
				Scale = Scale
496
			})
497
			if Mesh == "SpecialMesh" then
498
				Msh.MeshType = MeshType
499
				Msh.MeshId = MeshId
500
			end
501
			return Msh
502
		end
503
	},
504
	Weld = {
505
		Create = function(Parent, Part0, Part1, C0, C1)
506
			local Weld = Create("Weld")({
507
				Parent = Parent,
508
				Part0 = Part0,
509
				Part1 = Part1,
510
				C0 = C0,
511
				C1 = C1
512
			})
513
			return Weld
514
		end
515
	},
516
	Sound = {
517
		Create = function(id, par, vol, pit)
518
			coroutine.resume(coroutine.create(function()
519
				local S = Create("Sound")({
520
					Volume = vol,
521
					Pitch = pit or 1,
522
					SoundId = id,
523
					Parent = par or workspace
524
				})
525
				wait()
526
				S:play()
527
				game:GetService("Debris"):AddItem(S, 6)
528
			end))
529
		end
530
	},
531
	ParticleEmitter = {
532
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
533
			local fp = Create("ParticleEmitter")({
534
				Parent = Parent,
535
				Color = ColorSequence.new(Color1, Color2),
536
				LightEmission = LightEmission,
537
				Size = Size,
538
				Texture = Texture,
539
				Transparency = Transparency,
540
				ZOffset = ZOffset,
541
				Acceleration = Accel,
542
				Drag = Drag,
543
				LockedToPart = LockedToPart,
544
				VelocityInheritance = VelocityInheritance,
545
				EmissionDirection = EmissionDirection,
546
				Enabled = Enabled,
547
				Lifetime = LifeTime,
548
				Rate = Rate,
549
				Rotation = Rotation,
550
				RotSpeed = RotSpeed,
551
				Speed = Speed,
552
				VelocitySpread = VelocitySpread
553
			})
554
			return fp
555
		end
556
	}
557
}
558
function RemoveOutlines(part)
559
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
560
end
561
function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
562
	local Part = Create("Part")({
563
		formFactor = FormFactor,
564
		Parent = Parent,
565
		Reflectance = Reflectance,
566
		Transparency = Transparency,
567
		CanCollide = false,
568
		Locked = true,
569
		BrickColor = BrickColor.new(tostring(BColor)),
570
		Name = Name,
571
		Size = Size,
572
		Material = Material
573
	})
574
	RemoveOutlines(Part)
575
	return Part
576
end
577
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
578
	local Msh = Create(Mesh)({
579
		Parent = Part,
580
		Offset = OffSet,
581
		Scale = Scale
582
	})
583
	if Mesh == "SpecialMesh" then
584
		Msh.MeshType = MeshType
585
		Msh.MeshId = MeshId
586
	end
587
	return Msh
588
end
589
function CreateWeld(Parent, Part0, Part1, C0, C1)
590
	local Weld = Create("Weld")({
591
		Parent = Parent,
592
		Part0 = Part0,
593
		Part1 = Part1,
594
		C0 = C0,
595
		C1 = C1
596
	})
597
	return Weld
598
end
599
600
601
-------------------------------------------------------
602
--Start Effect Function--
603
-------------------------------------------------------
604
EffectModel = Instance.new("Model", char)
605
Effects = {
606
  Block = {
607
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
608
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
609
      prt.Anchored = true
610
      prt.CFrame = cframe
611
      local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
612
      game:GetService("Debris"):AddItem(prt, 10)
613
      if Type == 1 or Type == nil then
614
        table.insert(Effects, {
615
          prt,
616
          "Block1",
617
          delay,
618
          x3,
619
          y3,
620
          z3,
621
          msh
622
        })
623
      elseif Type == 2 then
624
        table.insert(Effects, {
625
          prt,
626
          "Block2",
627
          delay,
628
          x3,
629
          y3,
630
          z3,
631
          msh
632
        })
633
      else
634
        table.insert(Effects, {
635
          prt,
636
          "Block3",
637
          delay,
638
          x3,
639
          y3,
640
          z3,
641
          msh
642
        })
643
      end
644
    end
645
  },
646
  Sphere = {
647
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
648
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
649
      prt.Anchored = true
650
      prt.CFrame = cframe
651
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
652
      game:GetService("Debris"):AddItem(prt, 10)
653
      table.insert(Effects, {
654
        prt,
655
        "Cylinder",
656
        delay,
657
        x3,
658
        y3,
659
        z3,
660
        msh
661
      })
662
    end
663
  },
664
  Cylinder = {
665
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
666
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
667
      prt.Anchored = true
668
      prt.CFrame = cframe
669
      local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
670
      game:GetService("Debris"):AddItem(prt, 10)
671
      table.insert(Effects, {
672
        prt,
673
        "Cylinder",
674
        delay,
675
        x3,
676
        y3,
677
        z3,
678
        msh
679
      })
680
    end
681
  },
682
  Wave = {
683
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
684
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
685
      prt.Anchored = true
686
      prt.CFrame = cframe
687
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
688
      game:GetService("Debris"):AddItem(prt, 10)
689
      table.insert(Effects, {
690
        prt,
691
        "Cylinder",
692
        delay,
693
        x3 / 60,
694
        y3 / 60,
695
        z3 / 60,
696
        msh
697
      })
698
    end
699
  },
700
  Ring = {
701
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
702
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
703
      prt.Anchored = true
704
      prt.CFrame = cframe
705
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
706
      game:GetService("Debris"):AddItem(prt, 10)
707
      table.insert(Effects, {
708
        prt,
709
        "Cylinder",
710
        delay,
711
        x3,
712
        y3,
713
        z3,
714
        msh
715
      })
716
    end
717
  },
718
  Break = {
719
    Create = function(brickcolor, cframe, x1, y1, z1)
720
      local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
721
      prt.Anchored = true
722
      prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
723
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
724
      local num = math.random(10, 50) / 1000
725
      game:GetService("Debris"):AddItem(prt, 10)
726
      table.insert(Effects, {
727
        prt,
728
        "Shatter",
729
        num,
730
        prt.CFrame,
731
        math.random() - math.random(),
732
        0,
733
        math.random(50, 100) / 100
734
      })
735
    end
736
  },
737
Spiral = {
738
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
739
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
740
      prt.Anchored = true
741
      prt.CFrame = cframe
742
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
743
      game:GetService("Debris"):AddItem(prt, 10)
744
      table.insert(Effects, {
745
        prt,
746
        "Cylinder",
747
        delay,
748
        x3,
749
        y3,
750
        z3,
751
        msh
752
      })
753
    end
754
  },
755
Push = {
756
    Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
757
      local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
758
      prt.Anchored = true
759
      prt.CFrame = cframe
760
      local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
761
      game:GetService("Debris"):AddItem(prt, 10)
762
      table.insert(Effects, {
763
        prt,
764
        "Cylinder",
765
        delay,
766
        x3,
767
        y3,
768
        z3,
769
        msh
770
      })
771
    end
772
  }
773
}
774
function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
775
	local fp = IT("Part")
776
	fp.formFactor = formfactor 
777
	fp.Parent = parent
778
	fp.Reflectance = reflectance
779
	fp.Transparency = transparency
780
	fp.CanCollide = false 
781
	fp.Locked = true
782
	fp.BrickColor = brickcolor
783
	fp.Name = name
784
	fp.Size = size
785
	fp.Position = tors.Position 
786
	RemoveOutlines(fp)
787
	fp.Material = "SmoothPlastic"
788
	fp:BreakJoints()
789
	return fp 
790
end 
791
 
792
function mesh(Mesh,part,meshtype,meshid,offset,scale)
793
	local mesh = IT(Mesh) 
794
	mesh.Parent = part
795
	if Mesh == "SpecialMesh" then
796
		mesh.MeshType = meshtype
797
	if meshid ~= "nil" then
798
		mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
799
		end
800
	end
801
	mesh.Offset = offset
802
	mesh.Scale = scale
803
	return mesh
804
end
805
806
function Magic(bonuspeed, type, pos, scale, value, color, MType)
807
	local type = type
808
	local rng = Instance.new("Part", char)
809
	rng.Anchored = true
810
	rng.BrickColor = color
811
	rng.CanCollide = false
812
	rng.FormFactor = 3
813
	rng.Name = "Ring"
814
	rng.Material = "Neon"
815
	rng.Size = Vector3.new(1, 1, 1)
816
	rng.Transparency = 0
817
	rng.TopSurface = 0
818
	rng.BottomSurface = 0
819
	rng.CFrame = pos
820
	local rngm = Instance.new("SpecialMesh", rng)
821
	rngm.MeshType = MType
822
	rngm.Scale = scale
823
	local scaler2 = 1
824
	if type == "Add" then
825
		scaler2 = 1 * value
826
	elseif type == "Divide" then
827
		scaler2 = 1 / value
828
	end
829
	coroutine.resume(coroutine.create(function()
830
		for i = 0, 10 / bonuspeed, 0.1 do
831
			swait()
832
			if type == "Add" then
833
				scaler2 = scaler2 - 0.01 * value / bonuspeed
834
			elseif type == "Divide" then
835
				scaler2 = scaler2 - 0.01 / value * bonuspeed
836
			end
837
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
838
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
839
		end
840
		rng:Destroy()
841
	end))
842
end
843
844
function Eviscerate(dude)
845
	if dude.Name ~= char then
846
		local bgf = IT("BodyGyro", dude.Head)
847
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
848
		local val = IT("BoolValue", dude)
849
		val.Name = "IsHit"
850
		local ds = coroutine.wrap(function()
851
			dude:WaitForChild("Head"):BreakJoints()
852
			wait(0.5)
853
			target = nil
854
			coroutine.resume(coroutine.create(function()
855
				for i, v in pairs(dude:GetChildren()) do
856
					if v:IsA("Accessory") then
857
						v:Destroy()
858
					end
859
					if v:IsA("Humanoid") then
860
						v:Destroy()
861
					end
862
					if v:IsA("CharacterMesh") then
863
						v:Destroy()
864
					end
865
					if v:IsA("Model") then
866
						v:Destroy()
867
					end
868
					if v:IsA("Part") or v:IsA("MeshPart") then
869
						for x, o in pairs(v:GetChildren()) do
870
							if o:IsA("Decal") then
871
								o:Destroy()
872
							end
873
						end
874
						coroutine.resume(coroutine.create(function()
875
							v.Material = "Neon"
876
							v.CanCollide = false
877
							local PartEmmit1 = IT("ParticleEmitter", v)
878
							PartEmmit1.LightEmission = 1
879
							PartEmmit1.Texture = "rbxassetid://1523916715"
880
							PartEmmit1.Color = ColorSequence.new(Color3.new(0, 0, 0))
881
							PartEmmit1.Rate = 150
882
							PartEmmit1.Lifetime = NumberRange.new(1)
883
							PartEmmit1.Size = NumberSequence.new({
884
								NumberSequenceKeypoint.new(0, 0.75, 0),
885
								NumberSequenceKeypoint.new(1, 0, 0)
886
							})
887
							PartEmmit1.Transparency = NumberSequence.new({
888
								NumberSequenceKeypoint.new(0, 0, 0),
889
								NumberSequenceKeypoint.new(1, 1, 0)
890
							})
891
							PartEmmit1.Speed = NumberRange.new(0, 0)
892
							PartEmmit1.VelocitySpread = 30000
893
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
894
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
895
							local BodPoss = IT("BodyPosition", v)
896
							BodPoss.P = 3000
897
							BodPoss.D = 1000
898
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
899
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
900
							v.Color = maincolor.Color
901
							coroutine.resume(coroutine.create(function()
902
								for i = 0, 49 do
903
									swait(1)
904
									v.Transparency = v.Transparency + 0.08
905
								end
906
								wait(0.5)
907
								PartEmmit1.Enabled = false
908
								wait(3)
909
								v:Destroy()
910
								dude:Destroy()
911
							end))
912
						end))
913
					end
914
				end
915
			end))
916
		end)
917
		ds()
918
	end
919
end
920
921
function FindNearestHead(Position, Distance, SinglePlayer)
922
	if SinglePlayer then
923
		return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
924
	end
925
	local List = {}
926
	for i, v in pairs(workspace:GetChildren()) do
927
		if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
928
			table.insert(List, v)
929
		end
930
	end
931
	return List
932
end
933
934
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
935
	local type = type
936
	local rng = Instance.new("Part", char)
937
	rng.Anchored = true
938
	rng.BrickColor = color
939
	rng.CanCollide = false
940
	rng.FormFactor = 3
941
	rng.Name = "Ring"
942
	rng.Material = "Neon"
943
	rng.Size = Vector3.new(1, 1, 1)
944
	rng.Transparency = 0
945
	rng.TopSurface = 0
946
	rng.BottomSurface = 0
947
	rng.CFrame = pos
948
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
949
	local rngm = Instance.new("SpecialMesh", rng)
950
	rngm.MeshType = MType
951
	rngm.Scale = Vector3.new(x1, y1, z1)
952
	local scaler2 = 1
953
	local speeder = FastSpeed
954
	if type == "Add" then
955
		scaler2 = 1 * value
956
	elseif type == "Divide" then
957
		scaler2 = 1 / value
958
	end
959
	coroutine.resume(coroutine.create(function()
960
		for i = 0, 10 / bonuspeed, 0.1 do
961
			swait()
962
			if type == "Add" then
963
				scaler2 = scaler2 - 0.01 * value / bonuspeed
964
			elseif type == "Divide" then
965
				scaler2 = scaler2 - 0.01 / value * bonuspeed
966
			end
967
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
968
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
969
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
970
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
971
		end
972
		rng:Destroy()
973
	end))
974
end
975
976
function SoulSteal(dude)
977
if dude.Name ~= char then
978
local bgf = IT("BodyGyro", dude.Head)
979
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
980
local val = IT("BoolValue", dude)
981
val.Name = "IsHit"
982
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
983
local soulst = coroutine.wrap(function()
984
local soul = Instance.new("Part",dude)
985
soul.Size = Vector3.new(1,1,1)
986
soul.CanCollide = false
987
soul.Anchored = false
988
soul.Position = torso.Position
989
soul.Transparency = 1
990
local PartEmmit1 = IT("ParticleEmitter", soul)
991
PartEmmit1.LightEmission = 1
992
PartEmmit1.Texture = "rbxassetid://569507414"
993
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
994
PartEmmit1.Rate = 250
995
PartEmmit1.Lifetime = NumberRange.new(1.6)
996
PartEmmit1.Size = NumberSequence.new({
997
	NumberSequenceKeypoint.new(0, 1, 0),
998
	NumberSequenceKeypoint.new(1, 0, 0)
999
})
1000
PartEmmit1.Transparency = NumberSequence.new({
1001
	NumberSequenceKeypoint.new(0, 0, 0),
1002
	NumberSequenceKeypoint.new(1, 1, 0)
1003
})
1004
PartEmmit1.Speed = NumberRange.new(0, 0)
1005
PartEmmit1.VelocitySpread = 30000
1006
PartEmmit1.Rotation = NumberRange.new(-360, 360)
1007
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
1008
local BodPoss = IT("BodyPosition", soul)
1009
BodPoss.P = 3000
1010
BodPoss.D = 1000
1011
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
1012
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
1013
wait(1.6)
1014
soul.Touched:connect(function(hit)
1015
	if hit.Parent == char then
1016
	soul:Destroy()
1017
	end
1018
end)
1019
wait(1.2)
1020
while soul do
1021
	swait()
1022
	PartEmmit1.Color = ColorSequence.new(maincolor.Color)
1023
	BodPoss.Position = tors.Position
1024
end
1025
end)
1026
	soulst()
1027
	end
1028
end
1029
function FaceMouse()
1030
local	Cam = workspace.CurrentCamera
1031
	return {
1032
		CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
1033
		Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
1034
	}
1035
end
1036
-------------------------------------------------------
1037
--End Effect Function--
1038
-------------------------------------------------------
1039
function Cso(ID, PARENT, VOLUME, PITCH)
1040
	local NSound = nil
1041
	coroutine.resume(coroutine.create(function()
1042
		NSound = IT("Sound", PARENT)
1043
		NSound.Volume = VOLUME
1044
		NSound.Pitch = PITCH
1045
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
1046
		swait()
1047
		NSound:play()
1048
		game:GetService("Debris"):AddItem(NSound, 10)
1049
	end))
1050
	return NSound
1051
end
1052
function CameraEnshaking(Length, Intensity)
1053
	coroutine.resume(coroutine.create(function()
1054
		local intensity = 1 * Intensity
1055
		local rotM = 0.01 * Intensity
1056
		for i = 0, Length, 0.1 do
1057
			swait()
1058
			intensity = intensity - 0.05 * Intensity / Length
1059
			rotM = rotM - 5.0E-4 * Intensity / Length
1060
			hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
1061
			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)
1062
		end
1063
		hum.CameraOffset = Vector3.new(0, 0, 0)
1064
	end))
1065
end
1066
1067
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
1068
	local NEWMESH = Instance.new(MESH)
1069
	if MESH == "SpecialMesh" then
1070
		NEWMESH.MeshType = MESHTYPE
1071
		if MESHID ~= "nil" and MESHID ~= "" then
1072
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
1073
		end
1074
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
1075
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
1076
		end
1077
	end
1078
	NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
1079
	NEWMESH.Scale = SCALE
1080
	NEWMESH.Parent = PARENT
1081
	return NEWMESH
1082
end
1083
1084
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1085
	local NEWPART = Instance.new("Part")
1086
	NEWPART.formFactor = FORMFACTOR
1087
	NEWPART.Reflectance = REFLECTANCE
1088
	NEWPART.Transparency = TRANSPARENCY
1089
	NEWPART.CanCollide = false
1090
	NEWPART.Locked = true
1091
	NEWPART.Anchored = true
1092
	if ANCHOR == false then
1093
		NEWPART.Anchored = false
1094
	end
1095
	NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
1096
	NEWPART.Name = NAME
1097
	NEWPART.Size = SIZE
1098
	NEWPART.Position = tors.Position
1099
	NEWPART.Material = MATERIAL
1100
	NEWPART:BreakJoints()
1101
	NEWPART.Parent = PARENT
1102
	return NEWPART
1103
end
1104
1105
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
1106
	local frame = IT("Frame")
1107
	frame.BackgroundTransparency = TRANSPARENCY
1108
	frame.BorderSizePixel = BORDERSIZEPIXEL
1109
	frame.Position = POSITION
1110
	frame.Size = SIZE
1111
	frame.BackgroundColor3 = COLOR
1112
	frame.BorderColor3 = BORDERCOLOR
1113
	frame.Name = NAME
1114
	frame.Parent = PARENT
1115
	return frame
1116
end
1117
1118
UD2 = UDim2.new
1119
1120
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
1121
	local label = IT("TextLabel")
1122
	label.BackgroundTransparency = 1
1123
	label.Size = UD2(1, 0, 1, 0)
1124
	label.Position = UD2(0, 0, 0, 0)
1125
	label.TextColor3 = TEXTCOLOR
1126
	label.TextStrokeTransparency = STROKETRANSPARENCY
1127
	label.TextTransparency = TRANSPARENCY
1128
	label.FontSize = TEXTFONTSIZE
1129
	label.Font = TEXTFONT
1130
	label.BorderSizePixel = BORDERSIZEPIXEL
1131
	label.TextScaled = false
1132
	label.Text = TEXT
1133
	label.Name = NAME
1134
	label.Parent = PARENT
1135
	return label
1136
end
1137
1138
local Particle = IT("ParticleEmitter",nil)
1139
Particle.Enabled = false
1140
Particle.LightEmission = 0.2
1141
Particle.Rate = 150
1142
Particle.ZOffset = 1
1143
Particle.Rotation = NumberRange.new(-180, 180)
1144
1145
function ParticleEmitter(Table)
1146
	local PRTCL = Particle:Clone()
1147
	local Color1 = Table.Color1 or Color3.new(1,1,1)
1148
	local Color2 = Table.Color2 or Color3.new(1,1,1)
1149
	local Speed = Table.Speed or 5
1150
	local Drag = Table.Drag or 0
1151
	local Size1 = Table.Size1 or 1
1152
	local Size2 = Table.Size2 or 5
1153
	local Lifetime1 = Table.Lifetime1 or 1
1154
	local Lifetime2 = Table.Lifetime2 or 1.5
1155
	local Parent = Table.Parent or tors
1156
	local Emit = Table.Emit or 100
1157
	local Offset = Table.Offset or 360
1158
	local Acel = Table.Acel or Vector3.new(0,0,0)
1159
	local Enabled = Table.Enabled or false
1160
	local Texture = Table.Texture or "281983280"
1161
	local RotS = Table.RotSpeed or NumberRange.new(-15, 15)
1162
	local Trans1 = Table.Transparency1 or 0
1163
	local Trans2 = Table.Transparency2 or 0
1164
	PRTCL.Parent = Parent
1165
	PRTCL.RotSpeed = RotS
1166
	PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
1167
	PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture
1168
	PRTCL.Color = ColorSequence.new(Color1,Color2)
1169
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1170
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1171
	PRTCL.Speed = NumberRange.new(Speed)
1172
	PRTCL.VelocitySpread = Offset
1173
	PRTCL.Drag = Drag
1174
	PRTCL.Acceleration = Acel
1175
	if Enabled == false then
1176
		PRTCL:Emit(Emit)
1177
		game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
1178
	else
1179
		PRTCL.Enabled = true
1180
	end
1181
	return PRTCL
1182
end
1183
-------------------------------------------------------
1184
--End Important Functions--
1185
-------------------------------------------------------
1186
1187
1188
-------------------------------------------------------
1189
--Start Customization--
1190
-------------------------------------------------------
1191
local Player_Size = 1.4
1192
if Player_Size ~= 1 then
1193
root.Size = root.Size * Player_Size
1194
tors.Size = tors.Size * Player_Size
1195
hed.Size = hed.Size * Player_Size
1196
ra.Size = ra.Size * Player_Size
1197
la.Size = la.Size * Player_Size
1198
rl.Size = rl.Size * Player_Size
1199
ll.Size = ll.Size * Player_Size
1200
----------------------------------------------------------------------------------
1201
rootj.Parent = root
1202
neck.Parent = tors
1203
RW.Parent = tors
1204
LW.Parent = tors
1205
RH.Parent = tors
1206
LH.Parent = tors
1207
----------------------------------------------------------------------------------
1208
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1209
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
1210
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
1211
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
1212
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
1213
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
1214
----------------------------------------------------------------------------------
1215
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1216
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1217
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1218
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
1219
--hat.Parent = Character
1220
end
1221
----------------------------------------------------------------------------------
1222
local SONG = 1066344174
1223
local SONG2 = 0
1224
local Music = Instance.new("Sound",tors)
1225
Music.Volume = 2.5
1226
Music.Looped = true
1227
Music.Pitch = 1 --Pitcher
1228
----------------------------------------------------------------------------------
1229
local equipped = false
1230
local idle = 0
1231
local change = 1
1232
local val = 0
1233
local toim = 0
1234
local idleanim = 0.4
1235
local sine = 0
1236
local Sit = 1
1237
local VALUE1 = false
1238
local VALUE2 = false
1239
local HOLD = false
1240
local KEYHOLD = false
1241
----------------------------------------------------------------------------------
1242
hum.WalkSpeed = 18
1243
hum.JumpPower = 130
1244
hum.Animator.Parent = nil
1245
----------------------------------------------------------------------------------
1246
local naeeym2 = IT("BillboardGui",char)
1247
naeeym2.AlwaysOnTop = true
1248
naeeym2.Size = UDim2.new(5,35,2,15)
1249
naeeym2.StudsOffset = Vector3.new(0,2,0)
1250
naeeym2.MaxDistance = 75
1251
naeeym2.Adornee = hed
1252
naeeym2.Name = "Name"
1253
--naeeym2.PlayerToHideFrom = Player
1254
local tecks2 = IT("TextLabel",naeeym2)
1255
tecks2.BackgroundTransparency = 1
1256
tecks2.TextScaled = true
1257
tecks2.BorderSizePixel = 0
1258
tecks2.Text = "Blight"
1259
tecks2.Font = "Fantasy"
1260
tecks2.TextSize = 30
1261
tecks2.TextStrokeTransparency = 0
1262
tecks2.TextColor3 = Color3.fromRGB(0, 0, 0)
1263
tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
1264
tecks2.Size = UDim2.new(1,0,0.5,0)
1265
tecks2.Parent = naeeym2
1266
local top = Instance.new("Shirt")
1267
top.ShirtTemplate = "rbxassetid://228794266"
1268
top.Parent = char
1269
top.Name = "Cloth"
1270
local bottom = Instance.new("Pants")
1271
bottom.PantsTemplate = "rbxassetid://228794877"
1272
bottom.Parent = char
1273
bottom.Name = "Cloth"
1274
Reaper = IT("Model")
1275
Reaper.Parent = char
1276
Reaper.Name = "Reaper"
1277
RHe = IT("Part")
1278
RHe.Parent = Reaper
1279
RHe.BrickColor = BrickColor.new("Really black")
1280
RHe.Locked = true
1281
RHe.CanCollide = false
1282
RHe.Transparency = 0
1283
PMesh = IT("SpecialMesh")
1284
RHe.formFactor =  "Symmetric"
1285
PMesh.MeshType = "FileMesh"
1286
PMesh.MeshId = "rbxassetid://124631026"
1287
PMesh.TextureId = "rbxassetid://151576107"
1288
PMesh.Scale = Vector3.new(3.01, 3.01, 3.01)
1289
PMesh.Parent = RHe
1290
local RWeld = IT("Weld")
1291
RWeld.Parent = RHe
1292
RWeld.Part0 = RHe
1293
RWeld.Part1 = hed
1294
RWeld.C0 = CF(0, 1.5, 0) * angles(0, 0, 0)
1295
hed.face:Remove()
1296
----------------------------------------------------------------------------------
1297
PlayerGui = plr.PlayerGui
1298
local WEAPONGUI = IT("ScreenGui", PlayerGui)
1299
WEAPONGUI.Name = "Weapon GUI"
1300
1301
local SKILLTEXTCOLOR = Color3.new(0,0,0)
1302
local SKILLFONT = "Antique"
1303
local SKILLTEXTSIZE = 6
1304
1305
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 1 Frame")
1306
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 2 Frame")
1307
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 3 Frame")
1308
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 4 Frame")
1309
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 5 Frame")
1310
1311
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Shadow's Victory", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
1312
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Eruption", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
1313
--local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chaos", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
1314
--local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Death's Wish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4")
1315
--local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Shadows Whisper", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5")
1316
-------------------------------------------------------
1317
--End Customization--
1318
-------------------------------------------------------
1319
1320
1321
-------------------------------------------------------
1322
--Start Attacks N Stuff--
1323
-------------------------------------------------------
1324
function Shadom_Circle()
1325
	
1326
end
1327
function Flame_Burst()
1328
	local target = nil
1329
	local targettorso = nil
1330
	if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
1331
		if mouse.Target.Parent.Humanoid.PlatformStand == false then
1332
			target = mouse.Target.Parent.Humanoid
1333
			target2 = mouse.Target.Parent
1334
			targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
1335
		end
1336
	end
1337
	if target ~= nil then
1338
		attack = true
1339
		hum.WalkSpeed = 0
1340
		for i = 0, 3.4, 0.1 do
1341
			swait()
1342
			hum.WalkSpeed = 0
1343
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1)
1344
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1)
1345
			RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1346
			LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1347
			RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(-15), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
1348
			LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
1349
		end
1350
		--ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
1351
		--targettorso:BreakJoints()
1352
		for i = 0, 3.4, 0.1 do
1353
			swait()
1354
			hum.WalkSpeed = 0
1355
			ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = Vector3.new(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = targettorso, Emit = 300, Offset = 360, Enabled = false, Color1 = Color3.new(0,0,0), Color2 = Color3.new(0,0,0), Texture = "1523916715"})
1356
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(45)), 0.1)
1357
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15), Rad(0), Rad(-45)), 0.1)
1358
			RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1359
			LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1360
			RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(135), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
1361
			LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
1362
		end
1363
		for i, v in pairs(target2:GetChildren()) do
1364
			if(not char:IsAncestorOf(v))then
1365
				local hum = (v and v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')
1366
				local hedder = (v and v.Parent and v.Parent:FindFirstChild'Head')
1367
				if(hum and hedder and hum.Health > 0)then
1368
				Eviscerate(v.Parent)
1369
			end
1370
			end
1371
		end
1372
		attack = false
1373
		hum.WalkSpeed = 18
1374
	end
1375
end
1376
function Ritual()
1377
	attack = true
1378
	hum.WalkSpeed = 0
1379
	VALUE2 = true
1380
	repeat
1381
		---Pose1
1382
		for i = 0, 2.6, 0.1 do
1383
			swait()
1384
			hum.WalkSpeed = 0
1385
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -0.7 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
1386
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45), Rad(0), Rad(0)), 0.1)
1387
			RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -.5 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.2 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1388
			LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -.5 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.2 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1389
			RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
1390
			LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 12))), 0.1)
1391
		end
1392
		for i = 0, 3.4, 0.1 do
1393
			swait()
1394
			hum.WalkSpeed = 0
1395
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(8 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
1396
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
1397
			RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1.3 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1398
			LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1399
			RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
1400
			LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
1401
		end
1402
		---Pose2
1403
		for i = 0, 2.6, 0.1 do
1404
			swait()
1405
			hum.WalkSpeed = 0
1406
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -0.7 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
1407
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45), Rad(0), Rad(0)), 0.1)
1408
			RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -.5 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.2 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1409
			LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -.5 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.2 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1410
			RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
1411
			LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 12))), 0.1)
1412
		end
1413
		for i = 0, 3.4, 0.1 do
1414
			swait()
1415
			hum.WalkSpeed = 0
1416
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-8 - 2.5 * Sin(sine / 24)), Rad(0)), 0.1)
1417
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
1418
			RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1419
			LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1.3 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.1)
1420
			RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(46 + 4.5 * Sin(sine / 12))), 0.1)
1421
			LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-.6), Rad(-46 - 4.5 * Sin(sine / 12))), 0.1)
1422
		end
1423
	until VALUE2 == false
1424
	attack = false
1425
	hum.WalkSpeed = 18
1426
end
1427
-------------------------------------------------------
1428
--End Attacks N Stuff--
1429
-------------------------------------------------------
1430
mouse.KeyDown:connect(function(key)
1431
	if (VALUE1 == false and attack == false) or VALUE2 == true then
1432
		if key == "q" then
1433
			if VALUE2 == false then
1434
				Ritual()
1435
			elseif VALUE2 == true then
1436
				VALUE2 = false
1437
			end
1438
		end
1439
	end
1440
	if attack == false then
1441
		if key == 't' then
1442
			Cso("907332040", hed, 10, 1.1)
1443
		elseif key == 'z' then
1444
			Shadom_Circle()
1445
		elseif key == 'b' then
1446
			Flame_Burst()
1447
		end
1448
	end
1449
end)
1450
1451
mouse.KeyDown:connect(function(key)
1452
    if string.byte(key) == 48 then
1453
        Swing = 2
1454
        hum.WalkSpeed = 38.82
1455
	end
1456
end)
1457
mouse.KeyUp:connect(function(key)
1458
    if string.byte(key) == 48 then
1459
        Swing = 1
1460
        hum.WalkSpeed = 18
1461
	end
1462
end)
1463
1464
1465
1466
1467
1468
1469
-------------------------------------------------------
1470
--Start Animations--
1471
-------------------------------------------------------
1472
while true do
1473
	swait()
1474
	sine = sine + change
1475
	local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
1476
	local velderp = root.Velocity.y
1477
	hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
1478
	if equipped == true or equipped == false then
1479
		if attack == false then
1480
			idle = idle + 1
1481
		else
1482
			idle = 0
1483
		end
1484
		if 1 < root.Velocity.y and hitfloor == nil then
1485
			Anim = "Jump"
1486
			if attack == false then
1487
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
1488
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1489
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1490
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
1491
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
1492
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
1493
			end
1494
		elseif -1 > root.Velocity.y and hitfloor == nil then
1495
			Anim = "Fall"
1496
			if attack == false then
1497
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-24), Rad(0), Rad(0)), 0.15)
1498
				neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
1499
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(50)), 0.15)
1500
				LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(40)), 0.15)
1501
				RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(75 + 4.5 * Sin(sine / 20))), 0.1)
1502
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-75 - 4.5 * Sin(sine / 20))), 0.1)
1503
			end
1504
		elseif torvel < 1 and hitfloor ~= nil then
1505
			Anim = "Idle"
1506
			change = 1
1507
			if attack == false then
1508
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
1509
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 12.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.3)
1510
				RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
1511
				LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06  - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
1512
				RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(43 + 4.5 * Sin(sine / 12))), 0.1)
1513
				LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-.6), Rad(-43 - 4.5 * Sin(sine / 12))), 0.1)
1514
			end
1515
		elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
1516
			Anim = "Walk"
1517
			change = 1
1518
			if attack == false then
1519
				rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
1520
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
1521
				RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.5 * Player_Size * Cos(sine / 7) / 2 * Player_Size, 0.6 * Player_Size * Cos(sine / 7) / 2 * Player_Size)  * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1522
         		LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -0.8 * Player_Size + 0.5 * Player_Size * Cos(sine / 7) / 2 * Player_Size, -0.6 * Player_Size * Cos(sine / 7) / 2 * Player_Size) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1523
				RW.C0 = clerp(RW.C0, CF(1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(65) * Cos(sine / 7), Rad(-.6), Rad(15 + 4.5 * Sin(sine / 12))), 0.1)
1524
				LW.C0 = clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-65) * Cos(sine / 7), Rad(-.6), Rad(-15 - 4.5 * Sin(sine / 12))), 0.1)
1525
			end
1526
		elseif torvel >= 25 and hitfloor ~= nil then
1527
			Anim = "Sprint"
1528
			change = 1.35
1529
			if attack == false then
1530
			rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
1531
			tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
1532
			RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1533
         	LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
1534
			RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110)  * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
1535
			LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110)  * Cos(sine / 7) , Rad(0) ,	Rad(-13) + la.RotVelocity.Y / 75), 0.15)
1536
			end
1537
		end
1538
	end
1539
	for _, c in pairs(char:GetChildren()) do
1540
		if c.ClassName == "Part" and c.Name ~= "Detail" and c.Name ~= "Add-ons" then
1541
			c.Material = "Fabric"
1542
			if c:FindFirstChildOfClass("ParticleEmitter") then
1543
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
1544
			end
1545
			if c ~= hed then
1546
				c.Color = Color3.new(0, 0, 0)
1547
			else
1548
				c.Color = Color3.new(0, 0, 0)
1549
			end
1550
		elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
1551
			c:remove()
1552
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
1553
			c:remove()
1554
		end
1555
	end
1556
	Music.SoundId = "rbxassetid://"..SONG
1557
	Music.Looped = true
1558
	Music.Pitch = 1
1559
	Music.Volume = 5
1560
	Music.Parent = tors
1561
	Music:Resume()
1562
	if 0 < #Effects then
1563
		for e = 1, #Effects do
1564
			if Effects[e] ~= nil then
1565
				local Thing = Effects[e]
1566
				if Thing ~= nil then
1567
					local Part = Thing[1]
1568
					local Mode = Thing[2]
1569
					local Delay = Thing[3]
1570
					local IncX = Thing[4]
1571
					local IncY = Thing[5]
1572
					local IncZ = Thing[6]
1573
					if 1 >= Thing[1].Transparency then
1574
						if Thing[2] == "Block1" then
1575
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1576
							local Mesh = Thing[1].Mesh
1577
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1578
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1579
						elseif Thing[2] == "Block2" then
1580
							Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1581
							local Mesh = Thing[7]
1582
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1583
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1584
						elseif Thing[2] == "Block3" then
1585
							Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
1586
							local Mesh = Thing[7]
1587
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1588
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1589
						elseif Thing[2] == "Cylinder" then
1590
							local Mesh = Thing[1].Mesh
1591
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1592
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1593
						elseif Thing[2] == "Blood" then
1594
							local Mesh = Thing[7]
1595
							Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1596
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1597
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1598
						elseif Thing[2] == "Elec" then
1599
							local Mesh = Thing[1].Mesh
1600
							Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1601
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1602
						elseif Thing[2] == "Disappear" then
1603
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1604
						elseif Thing[2] == "Shatter" then
1605
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1606
							Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1607
							Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1608
							Thing[6] = Thing[6] + Thing[5]
1609
						end
1610
					else
1611
						Part.Parent = nil
1612
						table.remove(Effects, e)
1613
					end
1614
				end
1615
			end
1616
		end
1617
	end
1618
end
1619
-------------------------------------------------------
1620
--End Animations And Script--
1621
-------------------------------------------------------