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