View difference between Paste ID: 0erkpHbS and UXnE7Cit
SHOW: | | - or go back to the newest paste.
1
-- Created ggrelior333 --
2-
-- The Angel --
2+
-- The best Angel --
3-
-- A higher being.. Here to smite you evil-doers! --
3+
-- A higher being.. Here to smite you evil-doers!
4-
-- Discord: Nebula the Zorua#6969
4+
5-
-- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
5+
6
--// Initializing \\--
7
local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
8
local Plrs = S.Players
9
local Plr = Plrs.LocalPlayer
10
local Char = Plr.Character
11
local Hum = Char:FindFirstChildOfClass'Humanoid'
12
local RArm = Char["Right Arm"]
13
local LArm = Char["Left Arm"]
14
local RLeg = Char["Right Leg"]
15
local LLeg = Char["Left Leg"]	
16
local Root = Char:FindFirstChild'HumanoidRootPart'
17
local Torso = Char.Torso
18
local Head = Char.Head
19
local NeutralAnims = true
20
local Attack = false
21
local BloodPuddles = {}
22
local Effects = {}
23
local Debounces = {Debounces={}}
24
local Mouse = Plr:GetMouse()
25
local Hit = {}
26
local Sine = 0
27
local Change = 1
28
local PulseTime = 0
29
local DustTime = 0
30
31
local Rooted = false
32
--// Debounce System \\--
33
34
function Debounces:New(name,cooldown)
35
	local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
36
	setmetatable(aaaaa,{__index = Debounces})
37
	Debounces.Debounces[name] = aaaaa
38
	return aaaaa
39
end
40
41
function Debounces:Use(overrideUsable)
42
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
43
	if(self.Usable or overrideUsable)then
44
		self.Usable = false
45
		self.CoolingDown = true
46
		local LastUse = time()
47
		self.LastUse = LastUse
48
		delay(self.Cooldown or 2,function()
49
			if(self.LastUse == LastUse)then
50
				self.CoolingDown = false
51
				self.Usable = true
52
			end
53
		end)
54
	end
55
end
56
57
function Debounces:Get(name)
58
	assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
59
	for i,v in next, Debounces.Debounces do
60
		if(i == name)then
61
			return v;
62
		end
63
	end
64
end
65
66
function Debounces:GetProgressPercentage()
67
	assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
68
	if(self.CoolingDown and not self.Usable)then
69
		return math.max(
70
			math.floor(
71
				(
72
					(time()-self.LastUse)/self.Cooldown or 2
73
				)*100
74
			)
75
		)
76
	else
77
		return 100
78
	end
79
end
80
81
--// Shortcut Variables \\--
82
local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
83
local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
84
local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
85
local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG = function(min,max,div) return math.random(min,max)/(div or 1) end,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
86
local R3 = {N=Region3.new}
87
local De = S.Debris
88
local WS = workspace
89
local Lght = S.Lighting
90
local RepS = S.ReplicatedStorage
91
local IN = Instance.new
92
--// Instance Creation Functions \\--
93
94
function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
95
	local Sound = IN("Sound")
96
	Sound.SoundId = "rbxassetid://".. tostring(id or 0)
97
	Sound.Pitch = pitch or 1
98
	Sound.Volume = volume or 1
99
	Sound.Looped = looped or false
100
	if(autoPlay)then
101
		coroutine.wrap(function()
102
			repeat wait() until Sound.IsLoaded
103
			Sound.Playing = autoPlay or false
104
		end)()
105
	end
106
	if(not looped and effect)then
107
		Sound.Stopped:connect(function()
108
			Sound.Volume = 0
109
			Sound:destroy()
110
		end)
111
	elseif(effect)then
112
		warn("Sound can't be looped and a sound effect!")
113
	end
114
	Sound.Parent =parent or Torso
115
	return Sound
116
end
117
function Part(parent,color,material,size,cframe,anchored,cancollide)
118
	local part = IN("Part")
119
	part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(1,1,1)
120
	part.Material = material or Enum.Material.SmoothPlastic
121
	part.TopSurface,part.BottomSurface=10,10
122
	part.Size = size or V3.N(1,1,1)
123
	part.CFrame = cframe or CF.N(0,0,0)
124
	part.Anchored = anchored or true
125
	part.CanCollide = cancollide or false
126
	part.Parent = parent or Char
127
	return part
128
end
129
function Mesh(parent,meshtype,meshid,textid,scale,offset)
130
	local class = "SpecialMesh"
131
	if(meshtype == Enum.MeshType.Brick)then class = 'BlockMesh' end
132
	 
133
	local part = IN(class)
134
	if(class == "SpecialMesh")then
135
		part.MeshId = meshid or ""
136
		part.TextureId = textid or ""
137
		part.MeshType = meshtype or Enum.MeshType.Sphere
138
	end
139
	part.Scale = scale or V3.N(1,1,1)
140
	part.Offset = offset or V3.N(0,0,0)
141
	
142
	part.Parent = parent
143
	return part
144
end
145
146
NewInstance = function(instance,parent,properties)
147
	local inst = Instance.new(instance,parent)
148
	if(properties)then
149
		for i,v in next, properties do
150
			pcall(function() inst[i] = v end)
151
		end
152
	end
153
	return inst;
154
end
155
156
157
158
--// Extended ROBLOX tables \\--
159
local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
160
--// Customization \\--
161
162
local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
163
local Remove_Hats = true
164
local Remove_Clothing = true
165
local PlayerSize = 1
166
local DamageColor = BrickColor.new'Cyan'
167
local MusicID = 2521392429
168-
local DamageColor = BrickColor.new'Really black'
168+
169-
local MusicID = 835120625
169+
170
171
if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
172
if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
173
 Instance.ClearChildrenOfClass(Char,"Decal",true)
174
local Effects = IN("Folder",Char)
175
Effects.Name = "Effects"
176
177
local Halo = IN("Model",Char)
178
Halo.Name = "Halo"
179
180
local Wings = IN("Model",Char)
181
Wings.Name = "Wings"
182
183
Hum.DisplayDistanceType = 'None'
184
185
local naeeym2 = IN("BillboardGui",Char)
186
naeeym2.AlwaysOnTop = true
187
naeeym2.Size = UDim2.new(5,35,2,15)
188
naeeym2.StudsOffset = V3.N(0,2.5,0)
189
naeeym2.Adornee = Char.Head
190
naeeym2.Name = "Name"
191
naeeym2.PlayerToHideFrom = Plr
192
local tecks2 = IN("TextLabel",naeeym2)
193
tecks2.BackgroundTransparency = 1
194
tecks2.TextScaled = true
195
tecks2.BorderSizePixel = 0
196
tecks2.Text = "The Angel"
197
tecks2.Font = Enum.Font.Bodoni
198
tecks2.TextSize = 30
199
tecks2.TextStrokeTransparency = 0
200
tecks2.TextColor3 = C3.N(0,0,0)
201
tecks2.TextStrokeColor3 = C3.N(1,1,0)
202
tecks2.Size = UDim2.new(1,0,0.5,0)
203
tecks2.Parent = naeeym2
204
205
pcall(function()
206
	Char.LeftWing:destroy()
207
	Char.ReaperShadowHead:destroy()
208
end)
209
210
for _,v in next, Char:children() do
211
	if(v:IsA'BasePart' and v.Transparency < 1 and v ~= Head)then
212
		NewInstance("SelectionBox",v,{Adornee=v,LineThickness=.01,Color3=C3.N(0,0,0)})
213
		if(v ~= Head)then IN("BlockMesh",v) end
214
	end
215
end
216
217
local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
218
local WingHandle = NewInstance("Part",Wings,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
219
220
for i = 1, 360,5 do
221
	local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"Institutional White",Material=Enum.Material.Neon,Size=V3.N(0.69,0.1,0.3),Anchored=false,CanCollide=false,Locked=true,Transparency=.6})
222
	local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-.6)})
223
end
224
225
if(PlayerSize ~= 1)then
226
	for _,v in next, Char:GetDescendats() do
227
		if(v:IsA'BasePart')then
228
			v.Size = v.Size * PlayerSize
229
		end
230
	end
231
end
232
233
local Music = Sound(Char,MusicID,1,3,true,false,true)
234
Music.Name = 'Music'
235
236
-- Wing Creation
237
local FeatherWelds = {{},{}}
238
local inc = 1
239
for aa = 1, 4 do
240
	local lastFeather;
241
	FeatherWelds[1][aa] = {}
242
	for i = 1, 4+inc do
243
		local feather = NewInstance("Part",Wings,{CustomPhysicalProperties=PhysicalProperties.new(0,0,0,0,0),TopSurface=10,BottomSurface=10,Size=V3.N(2,.5,.75),CanCollide=false,Color=C3.N(1,1,1)})
244
		NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
245
		if(lastFeather)then
246
			table.insert(FeatherWelds[1][aa],NewInstance("Weld",feather,{Part0=lastFeather,Part1=feather,C0=CF.N(.5,.25,0)*CF.A(0,0,M.R(-5))}))
247
		else
248
			table.insert(FeatherWelds[1][aa],NewInstance("Weld",feather,{Part0=feather,Part1=WingHandle,C0=CF.N(-2,aa/4,0)*CF.A(0,0,M.R(-5))}))
249
		end
250
		lastFeather = feather
251
	end
252
	inc = inc + 1
253
end
254
255
local inc = 1
256
for aa = 1, 4 do
257
	local lastFeather;
258
	FeatherWelds[2][aa] = {}
259
	for i = 1, 4+inc do
260
		local feather = NewInstance("Part",Wings,{CustomPhysicalProperties=PhysicalProperties.new(0,0,0,0,0),TopSurface=10,BottomSurface=10,Size=V3.N(2,.5,.75),CanCollide=false,Color=C3.N(1,1,1)})
261
		NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
262
		if(lastFeather)then
263
			table.insert(FeatherWelds[2][aa],NewInstance("Weld",feather,{Part0=lastFeather,Part1=feather,C0=CF.N(-.5,.25,0)*CF.A(0,0,M.R(5))}))
264
		else
265
			table.insert(FeatherWelds[2][aa],NewInstance("Weld",feather,{Part0=feather,Part1=WingHandle,C0=CF.N(2,aa/4,0)*CF.A(0,0,M.R(5))}))
266
		end
267
		lastFeather = feather
268
	end
269
	inc = inc + 1
270
end
271
272
--// Stop animations \\--
273
for _,v in next, Hum:GetPlayingAnimationTracks() do
274
	v:Stop();
275
end
276
277
pcall(game.Destroy,Char:FindFirstChild'Animate')
278
pcall(game.Destroy,Hum:FindFirstChild'Animator')
279
280
--// Joints \\--
281
282
local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
283
local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
284
local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
285
local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
286
local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
287
local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
288
local HW = NewInstance('Motor',Char,{Part0=Head,Part1=HaloHandle,C0=CF.N(0,2,0)}) 
289
local WW = NewInstance('Motor',Char,{Part0=Torso,Part1=WingHandle,C0=CF.N(0,1.5,1.5)}) 
290
291
local LSC0 = LS.C0
292
local RSC0 = RS.C0
293
local NKC0 = NK.C0
294
local LHC0 = LH.C0
295
local RHC0 = RH.C0
296
local RJC0 = RJ.C0
297
298
--// Artificial HB \\--
299
300
local ArtificialHB = IN("BindableEvent", script)
301
ArtificialHB.Name = "Heartbeat"
302
303
script:WaitForChild("Heartbeat")
304
305
local tf = 0
306
local allowframeloss = false
307
local tossremainder = false
308
local lastframe = tick()
309
local frame = 1/Frame_Speed
310
ArtificialHB:Fire()
311
312
game:GetService("RunService").Heartbeat:connect(function(s, p)
313
	tf = tf + s
314
	if tf >= frame then
315
		if allowframeloss then
316
			script.Heartbeat:Fire()
317
			lastframe = tick()
318
		else
319
			for i = 1, math.floor(tf / frame) do
320
				ArtificialHB:Fire()
321
			end
322
			lastframe = tick()
323
		end
324
		if tossremainder then
325
			tf = 0
326
		else
327
			tf = tf - frame * math.floor(tf / frame)
328
		end
329
	end
330
end)
331
332
function swait(num)
333
	if num == 0 or num == nil then
334
		ArtificialHB.Event:wait()
335
	else
336
		for i = 0, num do
337
			ArtificialHB.Event:wait()
338
		end
339
	end
340
end
341
342
343
--// Effect Function(s) \\--
344
345
346
function Chat(text)
347
	--if(game.PlaceId ~= 843468296)then
348
		coroutine.wrap(function()
349
			if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
350
			local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
351
			local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=C3.N(1,1,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=30,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
352
			local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true)
353
			for i = 1, #text do
354
				delay(i/25, function()
355
					SND.Pitch = M.RNG(9,11)/10
356
					SND.Volume = 3
357
					SND.Parent = Effects
358
					SND:Play()
359
					Txt.Text = text:sub(1,i)
360
				end)
361
			end
362
			delay((#text/25)+2, function()
363
				Txt.Text = ""
364
				for i = 1, #text do
365
					Txt.Text = Txt.Text.. string.char(M.RNG(0,126))
366
				end
367
			end)
368
			delay((#text/25)+3, function()
369
				BBG:destroy()
370
				SND:destroy()
371
			end)
372
		end)()
373
	--else
374
	--	Chat2(text)
375
	--end
376
end
377
378
function Chat2(text)
379
	coroutine.wrap(function()
380
		if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
381
		local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
382
		local offset = 0;
383
		local xsize = 0;
384
		for i = 1, #text do
385
			offset = offset - 16
386
			xsize = xsize + 32 	
387
			delay(i/25, function()
388
				local Txt = NewInstance("TextLabel",BBG,{Text = text:sub(i,i),Position=UDim2.new(0,offset,0,0),BackgroundTransparency=1,TextColor3=C3.N(1,1,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=40,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
389
				offset = offset + 32
390
				while Txt and Txt.Parent do
391
					Txt.Rotation = M.RNG(-15,15)
392
					swait()
393
				end
394
			end)
395
		end
396
		BBG.Size = UDim2.new(0,xsize,0,40)
397
		delay((#text/25)+3, function()
398
			for _,v in next, BBG:children() do
399
				pcall(function() v.Text = string.char(M.RNG(0,126)) end)
400
			end
401
		end)
402
		delay((#text/25)+4, function()
403
			BBG:destroy()
404
		end)
405
	end)()
406
end
407
408
409
function Transparency(trans)
410
	for _,v in next, Char:children() do
411
		if(v:IsA'BasePart' and v ~= Root and v ~= HaloHandle and v ~= WingHandle)then
412
			v.Transparency = trans
413
			local sbox = v:findFirstChild'SelectionBox'
414
			if(sbox)then sbox.Transparency=trans end
415
		elseif(v:IsA'Accessory' and v:FindFirstChild'Handle')then
416
			v.Handle.Transparency=trans
417
		end
418
	end	
419
	for _,v in next, Wings:children() do
420
		if(v:IsA'BasePart' and v ~= WingHandle)then
421
			v.Transparency = trans
422
			local sbox = v:findFirstChild'SelectionBox'
423
			if(sbox)then sbox.Transparency=trans end
424
		end
425
	end	
426
	for _,v in next, Halo:children() do
427
		if(v:IsA'BasePart' and v ~= HaloHandle)then
428
			v.Transparency = trans
429
			local sbox = v:findFirstChild'SelectionBox'
430
			if(sbox)then sbox.Transparency=trans end
431
		end
432
	end	
433
end
434
435
local FXTable = {}
436
437
function Bezier(startpos, pos2, pos3, endpos, t)
438
	local A = startpos:lerp(pos2, t)
439
	local B  = pos2:lerp(pos3, t)
440
	local C = pos3:lerp(endpos, t)
441
	local lerp1 = A:lerp(B, t)
442
	local lerp2 = B:lerp(C, t)
443
	local cubic = lerp1:lerp(lerp2, t)
444
	return cubic
445
end
446
447
function Tween(obj,props,time,easing,direction,repeats,backwards)
448
	local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
449
	local tween = S.TweenService:Create(obj, info, props)
450
	
451
	tween:Play()
452
end
453
454
coroutine.resume(coroutine.create(function()
455
	while true do
456
		for i = 1, #FXTable do
457
			local data = FXTable[i]
458
			if(data)then
459
				local Frame = data.Frame
460
				local FX = data.Effect or 'ResizeAndFade'
461
				local Parent = data.Parent or Effects
462
				local Color = data.Color or C3.N(0,0,0)
463
				local Size = data.Size or V3.N(1,1,1)
464
				local MoveDir = data.MoveDirection or nil
465
				local MeshData = data.Mesh or nil
466
				local SndData = data.Sound or nil
467
				local Frames = data.Frames or 45
468
				local CFra = data.CFrame or Torso.CFrame
469
				local Settings = data.FXSettings or {}
470
				local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
471
				local grow = data.Grow
472
				
473
				local MoveSpeed = nil;
474
				if(MoveDir)then
475
					MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
476
				end
477
				if(FX ~= 'Arc')then
478
					Frame = Frame + 1
479
					if(FX == "Fade")then
480
						Prt.Transparency  = (Frame/Frames)
481
					elseif(FX == "Resize")then
482
						if(not Settings.EndSize)then
483
							Settings.EndSize = V3.N(0,0,0)
484
						end
485
						if(Settings.EndIsIncrement)then
486
							if(Msh)then
487
								Msh.Scale = Msh.Scale + Settings.EndSize
488
							else
489
								Prt.Size = Prt.Size + Settings.EndSize
490
							end					
491
						else
492
							if(Msh)then
493
								Msh.Scale = Msh.Scale - grow/Frames
494
							else
495
								Prt.Size = Prt.Size - grow/Frames
496
							end
497
						end 
498
					elseif(FX == "ResizeAndFade")then
499
						if(not Settings.EndSize)then
500
							Settings.EndSize = V3.N(0,0,0)
501
						end
502
						if(Settings.EndIsIncrement)then
503
							if(Msh)then
504
								Msh.Scale = Msh.Scale + Settings.EndSize
505
							else
506
								Prt.Size = Prt.Size + Settings.EndSize
507
							end					
508
						else
509
							if(Msh)then
510
								Msh.Scale = Msh.Scale - grow/Frames
511
							else
512
								Prt.Size = Prt.Size - grow/Frames
513
							end
514
						end 
515
						Prt.Transparency = (Frame/Frames)
516
					end
517
					if(Settings.RandomizeCFrame)then
518
						Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
519
					end
520
					if(MoveDir and MoveSpeed)then
521
						local Orientation = Prt.Orientation
522
						Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
523
						Prt.Orientation = Orientation
524
					end
525
					if(Prt.Transparency >= 1 or Frame >= Frames)then
526
						Prt:destroy()
527
						table.remove(FXTable,i)
528
					else
529
						data.Frame = Frame
530
					end
531
				else
532
					local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
533
					if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
534
					if(start and endP)then
535
						local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
536
						local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
537
						Frame = Frame + Settings.Speed or 0.01
538
						if(Settings.Home)then
539
							endP = Settings.Home.CFrame
540
						end
541
						Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
542
						if(Prt.Transparency >= 1 or Frame >= Frames)then
543
							if(Settings.RemoveOnGoal)then
544
								Prt:destroy()
545
							end
546
						end
547
					else
548
					
549
					end
550
				end
551
			end
552
		end
553
		swait()
554
	end
555
end))
556
557
function Effect(data)
558
	local FX = data.Effect or 'ResizeAndFade'
559
	local Parent = data.Parent or Effects
560
	local Color = data.Color or C3.N(0,0,0)
561
	local Size = data.Size or V3.N(1,1,1)
562
	local MoveDir = data.MoveDirection or nil
563
	local MeshData = data.Mesh or nil
564
	local SndData = data.Sound or nil
565
	local Frames = data.Frames or 45
566
	local Manual = data.Manual or nil
567
	local Material = data.Material or nil
568
	local CFra = data.CFrame or Torso.CFrame
569
	local Settings = data.FXSettings or {}
570
	local Shape = data.Shape or Enum.PartType.Block
571
	local Snd,Prt,Msh;
572
	if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
573
		Prt = Manual
574
	else
575
		Prt = Part(Parent,Color,Material,Size,CFra,true,false)
576
		Prt.Shape = Shape
577
	end
578
	if(typeof(MeshData) == 'table')then
579
		Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
580
	elseif(typeof(MeshData) == 'Instance')then
581
		Msh = MeshData:Clone()
582
		Msh.Parent = Prt
583
	elseif(Shape == Enum.PartType.Block)then
584
		Msh = Mesh(Prt,Enum.MeshType.Brick)
585
	end
586
	if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
587
		Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
588
	end
589
	if(Snd)then
590
		repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
591
		data.Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
592
	end
593
	data.Part = Prt
594
	data.Mesh = Msh
595
	data.Sound = Snd
596
	data.Frame = 0
597
	data.Size = (Msh and Msh.Scale or Size)
598
	Size = (Msh and Msh.Scale or Size)
599
	data.Grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
600
	table.insert(FXTable,data)
601
	return Prt,Msh,Snd
602
end
603
604
function Zap(data)
605
	local sCF,eCF = data.StartCFrame,data.EndCFrame
606
	assert(sCF,"You need a start CFrame!")
607
	assert(eCF,"You need an end CFrame!")
608
	local parts = data.PartCount or 15
609
	local zapRot = data.ZapRotation or {-5,5}
610
	local startThick = data.StartSize or 3;
611
	local endThick = data.EndSize or startThick/2;
612
	local color = data.Color or BrickColor.new'Cyan'
613
	local delay = data.Delay or 35
614-
	local color = data.Color or BrickColor.new'Really black'
614+
615
	local lastLightning;
616
	local MagZ = (sCF.p - eCF.p).magnitude
617
	local thick = startThick
618
	local inc = (startThick/parts)-(endThick/parts)
619
	
620
	for i = 1, parts do
621
		local pos = sCF.p
622
		if(lastLightning)then
623
			pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
624
		end
625
		delay = delay + delayInc
626
		local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
627
		local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
628
		if(parts == i)then
629
			local MagZ = (pos-eCF.p).magnitude
630
			zapPart.Size = V3.N(endThick,endThick,MagZ)
631
			zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
632
			Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
633
		else
634
			zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
635
		end
636
		
637
		lastLightning = zapPart
638
		Effect{Effect='Fade',Manual=zapPart,Frames=delay}
639
		
640
		thick=thick-inc
641
		
642
	end
643
end
644
645
646
function SoulSteal(whom)
647
	local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
648
	if(torso and torso:IsA'BasePart')then
649
		local Model = Instance.new("Model",Effects)
650
		Model.Name = whom.Name.."'s Soul"
651
		whom:BreakJoints()
652
		local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
653
		Soul.Name = 'Head'
654
		NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
655
		Effect{
656
			Effect="Arc",
657
			Manual = Soul,
658
			FXSettings={
659
				Start=torso.CFrame,
660
				Home = Torso,
661
				RemoveOnGoal = true,
662
			}
663
		}
664
		local lastPoint = Soul.CFrame.p
665
	
666
		for i = 0, 1, 0.01 do 
667
				local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
668
				local mag = (lastPoint - Soul.Position).magnitude
669
				Effect{
670
					Effect = "Fade",
671
					CFrame = point * CF.N(0, mag/2, 0),
672
					Size = V3.N(.5,mag+.5,.5),
673
					Color = Soul.BrickColor
674
				}
675
				lastPoint = Soul.CFrame.p
676
			swait()
677
		end
678
		for i = 1, 5 do
679
			Effect{
680
				Effect="Fade",
681
				Color = BrickColor.new'Really red',
682
				MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
683
			}	
684
		end
685
	end
686
end
687
688
--// Other Functions \\ --
689
690
function getRegion(point,range,ignore)
691
    return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
692
end
693
694
function CastRay(startPos,endPos,range,ignoreList)
695
	local ray = Ray.new(startPos,(endPos-startPos).unit*range)
696
	local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
697
	return part,pos,norm,(pos and (startPos-pos).magnitude)
698
end
699
700
701
function WingFlutter(Alpha)
702
	Alpha = Alpha or .1
703
	for x = 1, 4 do
704
		if(FeatherWelds[1][x][1])then
705
			FeatherWelds[1][x][1].C0 = FeatherWelds[1][x][1].C0:lerp(CF.N(-2-.5*M.C(Sine/24),x/4,0-.2*-M.S(Sine/24)),Alpha)
706
		end
707
		for i = 2, #FeatherWelds[1][x] do
708
			FeatherWelds[1][x][i].C0 = FeatherWelds[1][x][i].C0:lerp(CF.N(.5,.25,0)*CF.A(0,0,M.R(-5+2*M.C(Sine/12))),Alpha)
709
		end
710
	end
711
	for x = 1, 4 do
712
		if(FeatherWelds[2][x][1])then
713
			FeatherWelds[2][x][1].C0 = FeatherWelds[2][x][1].C0:lerp(CF.N(2+.5*M.C(Sine/24),x/4,0-.4*M.S(Sine/24)),Alpha)
714
		end
715
		for i = 2, #FeatherWelds[2][x] do
716
			FeatherWelds[2][x][i].C0 = FeatherWelds[2][x][i].C0:lerp(CF.N(-.5,.25,0)*CF.A(0,0,M.R(5-2*M.C(Sine/12))),Alpha)
717
		end
718
	end
719
end
720
721
function clerp(startCF,endCF,alpha)
722
	return startCF:lerp(endCF, alpha)
723
end
724
725
function GetTorso(char)
726
	return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
727
end
728
729
function ShowDamage(Pos, Text, Time, Color)
730
	local Rate = (1 / 30)
731
	local Pos = (Pos or Vector3.new(0, 0, 0))
732
	local Text = (Text or "")
733
	local Time = (Time or 2)
734
	local Color = (Color or Color3.new(1, 0, 1))
735
	local EffectPart = NewInstance("Part",Effects,{
736
		Material=Enum.Material.SmoothPlastic,
737
		Reflectance = 0,
738
		Transparency = 1,
739
		BrickColor = BrickColor.new(Color),
740
		Name = "Effect",
741
		Size = Vector3.new(0,0,0),
742
		Anchored = true
743
	})
744
	local BillboardGui = NewInstance("BillboardGui",EffectPart,{
745
		Size = UDim2.new(1.25, 0, 1.25, 0),
746
		Adornee = EffectPart,
747
	})
748
	local TextLabel = NewInstance("TextLabel",BillboardGui,{
749
		BackgroundTransparency = 1,
750
		Size = UDim2.new(1, 0, 1, 0),
751
		Text = Text,
752
		Font = "Arial",
753
		TextColor3 = Color,
754
		TextStrokeColor3 = Color3.new(0,0,0),
755
		TextStrokeTransparency=0,
756
		TextScaled = true,
757
	})
758
	game.Debris:AddItem(EffectPart, (Time))
759
	EffectPart.Parent = game:GetService("Workspace")
760
	delay(0, function()
761
		local Frames = (Time / Rate)
762
		for Frame = 1, Frames do
763
			wait(Rate)
764
			local Percent = (Frame / Frames)
765
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
766
			TextLabel.TextTransparency = Percent
767
			TextLabel.TextStrokeTransparency = Percent
768
		end
769
		if EffectPart and EffectPart.Parent then
770
			EffectPart:Destroy()
771
		end
772
	end)
773
end
774
775
776
function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
777
	if(who)then
778
		local hum = who:FindFirstChildOfClass'Humanoid'
779
		local Damage = M.RNG(minDam,maxDam)
780
		local canHit = true
781
		if(hum)then
782
			for _, p in pairs(Hit) do
783
				if p[1] == hum then
784
					if(time() - p[2] < 0.1) then
785
						canHit = false
786
					else
787
						Hit[_] = nil
788
					end
789
				end
790
			end
791
			if(canHit)then
792
				table.insert(Hit,{hum,time()})
793
				if(hum.Health >= math.huge)then
794
					who:BreakJoints()
795
					if(who:FindFirstChild'Head' and hum.Health > 0)then
796
						ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, C3.N(1,0,0))
797
					end
798
				else
799
					local player = S.Players:GetPlayerFromCharacter(who)
800
					if(Type == "Fire")then
801
						--idk..
802
					else
803
						local  c = Instance.new("ObjectValue",hum)
804
						c.Name = "creator"
805
						c.Value = Plr
806
						game:service'Debris':AddItem(c,0.35)
807
						if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
808
							if(who:FindFirstChild'Head' and hum.Health > 0)then
809
								ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'Institutional white'.Color)
810
							end
811
							hum.Health = hum.Health - Damage*(critMult or 2)
812
						else
813
							if(who:FindFirstChild'Head' and hum.Health > 0)then
814
								ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), Damage, 1.5, DamageColor.Color)
815
							end
816
							hum.Health = hum.Health - Damage
817
						end
818
						if(Type == 'Knockback' and GetTorso(who))then
819
							local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
820
							local body = NewInstance('BodyVelocity',GetTorso(who),{
821
								P = 500,
822
								maxForce = V3.N(math.huge,0,math.huge),
823
								velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
824
							})
825
							game:service'Debris':AddItem(body,.5)
826
						elseif(Type == "Electric")then
827
							if(M.RNG(1,100) >= critChance)then
828
								if(who:FindFirstChild'Head' and hum.Health > 0)then
829
									ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"Cyan".Color)
830
								end
831-
									ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"Really black".Color)
831+
832
								hum.WalkSpeed = asd
833
								local paralyzed = true
834
								coroutine.wrap(function()
835
									while paralyzed do
836
										swait(25)
837
										if(M.RNG(1,25) == 1)then
838
											if(who:FindFirstChild'Head' and hum.Health > 0)then
839
												ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"Cyan".Color)
840
											end
841-
												ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"Really black".Color)
841+
842
										end
843
									end
844
								end)()
845
								delay(4, function()
846
									paralyzed = false
847
									hum.WalkSpeed = hum.WalkSpeed + asd
848
								end)
849
							end
850
							
851
						elseif(Type == 'Knockdown' and GetTorso(who))then
852
							local rek = GetTorso(who)
853
							hum.PlatformStand = true
854
							delay(1,function()
855
								hum.PlatformStand = false
856
							end)
857
							local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
858
							local bodvol = NewInstance("BodyVelocity",rek,{
859
								velocity = angle * Knock,
860
								P = 5000,
861
								maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
862
							})
863
							local rl = NewInstance("BodyAngularVelocity",rek,{
864
								P = 3000,
865
								maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
866
								angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
867
							})
868
							game:GetService("Debris"):AddItem(bodvol, .5)
869
							game:GetService("Debris"):AddItem(rl, .5)
870
						end
871
					end
872
				end
873
			end
874
		end
875
	end
876
end
877
878
function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
879
	for _,v in next, getRegion(where,range,{Char}) do
880
		if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
881
			DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
882
		end
883
	end
884
end
885
function AOEHeal(where,range,amount)
886
	local healed = {}
887
	for _,v in next, getRegion(where,range,{Char}) do
888
		local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
889
		if(hum and not healed[hum])then
890
			hum.Health = hum.Health + amount
891
			if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
892
				ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Reeally black'.Color)
893
			end
894
		end
895
	end
896
end
897
898
899
--// Attack Functions \\--
900
901
function Smite()
902
	Zap{
903
		StartCFrame=CF.N(Mouse.Hit.p)*CF.N(0,500,0),
904
		EndCFrame=CF.N(Mouse.Hit.p),
905
		ZapRotation = {-5,5},
906
		StartSize = 5,
907
		EndSize = 1,
908
		Delay=5,
909
		DelayInc=1,
910
	}
911
	AOEDamage(Mouse.Hit.p,3,15,35,false,"Electric",75,1)
912
end
913
914
function LightningStorm()
915
	Attack = true
916
	Rooted = true
917
	NeutralAnims = false
918
	Hum.AutoRotate = false
919
	repeat swait()
920
		Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
921
		local Alpha = .3
922
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
923
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
924
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
925
		LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
926
		RS.C0 = clerp(RS.C0,CFrame.new(1.17289495, 0.616719723+.1*M.C(Sine/12), 0.011598235, -0.52721566, -0.849588335, 0.0156120034, 0.849726856, -0.527186096, 0.00628500059, 0.0028907666, 0.0165794864, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
927
		NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
928
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
929
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
930
		WingFlutter()
931
	until not S.UserInputService:IsKeyDown(Enum.KeyCode.C)
932
	local where = Mouse.Hit.p
933
	for i = 0, 6, .1 do
934
		swait()
935
		local Alpha = .3
936
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
937
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
938
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
939
		LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
940
		RS.C0 = clerp(RS.C0,CFrame.new(1.17289495, 0.616719723+.1*M.C(Sine/12), 0.011598235, -0.52721566, -0.849588335, 0.0156120034, 0.849726856, -0.527186096, 0.00628500059, 0.0028907666, 0.0165794864, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
941
		NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
942
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
943
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
944
		WingFlutter()
945
	end
946
	for i = 0, 1.4, .1 do
947
		swait()
948
		local Alpha = .3
949
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
950
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
951
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
952
		LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
953
		RS.C0 = clerp(RS.C0,CFrame.new(1.39888549, 0.921575725+.1*M.C(Sine/12), 0.00929622632, -0.917422354, -0.397608638, 0.0156120034, 0.397739291, -0.917477012, 0.00628500059, 0.0118246814, 0.0119755063, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
954
		NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
955
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
956
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
957
		WingFlutter()
958
	end
959
	for i = 0, .8, .1 do
960
		swait()
961
		local Alpha = .3
962
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
963
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
964
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
965
		LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
966
		RS.C0 = clerp(RS.C0,CFrame.new(1.39452517, 0.577189744, 0.0083861379, 0.913589835, -0.406337589, 0.0156120034, 0.406289399, 0.913722992, 0.00628500059, -0.0168188754, 0.000601077918, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
967
		NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
968
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
969
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
970
		WingFlutter()
971
	end
972
	
973
	for i = 0, 6, .1 do
974
		pcall(function() Sound(Torso,481719045,1,1,false,true,true) end)
975
		local pos = CF.N(where)*CF.N(M.RNG(-1000,1000,100),0,M.RNG(-1000,1000,100))
976
		local part,rayPos,norm,dist = CastRay(pos*CF.N(0,500,0).p,pos.p,1500)
977
		Zap{
978
			StartCFrame=pos*CF.N(0,500,0),
979
			EndCFrame=CF.N(rayPos),
980
			ZapRotation = {-5,5},
981
			StartSize = 1,
982
			EndSize = .5,
983
			Delay=10,
984
			DelayInc=2,
985
		}
986
		AOEDamage(rayPos,5,45,65,0,'Electric',25,2)
987
		swait()
988
		local Alpha = .3
989
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
990
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
991
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
992
		LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
993
		RS.C0 = clerp(RS.C0,CFrame.new(1.39452517, 0.577189744, 0.0083861379, 0.913589835, -0.406337589, 0.0156120034, 0.406289399, 0.913722992, 0.00628500059, -0.0168188754, 0.000601077918, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
994
		NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
995
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
996
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
997
		WingFlutter()
998
	end
999
	Hum.AutoRotate = true
1000
	Attack = false
1001
	NeutralAnims = true
1002
	Rooted = false
1003
end
1004
1005
1006
function HolyBomb()
1007
	Attack = true
1008
	Chat2("It's time to cleanse this world!")
1009
	swait(60)
1010
	Rooted = true
1011
	NeutralAnims = false
1012
	for i = 0, 6, 0.1 do
1013
		swait()
1014
		local Alpha = .05
1015
		Zap{
1016
			StartCFrame=CF.N(Root.CFrame.p)*CF.N(0,0,0),
1017
			EndCFrame=CF.N(Root.CFrame.p),
1018
			ZapRotation = {-15,15},
1019
			Color=C3.N(0,0,0),
1020
			StartSize = 1,
1021
			EndSize = 1,
1022
			Delay=5,
1023
			DelayInc=1,
1024
		}
1025
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20455468e-13, 0.00629198179, 1.40559132e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
1026
		LH.C0 = clerp(LH.C0,CFrame.new(-0.507250547, -0.110386491, -0.672860861, 0.999877751, -0.00782374945, 0.013510122, -9.81397825e-05, 0.862201095, 0.506566346, -0.0156116877, -0.506505728, 0.862094939),Alpha)
1027
		RH.C0 = clerp(RH.C0,CFrame.new(0.487759113, -0.105839849, -0.680253506, 0.999877751, -0.00782374945, 0.013510122, -9.81397825e-05, 0.862201095, 0.506566346, -0.0156116877, -0.506505728, 0.862094939),Alpha)
1028
		LS.C0 = clerp(LS.C0,CFrame.new(-1.04961777, 0.162827805, -0.367515624, 0.65209949, -0.758071303, 0.00966797117, 0.478066534, 0.401272744, -0.781301916, 0.588403046, 0.514108539, 0.624078274),Alpha)
1029
		RS.C0 = clerp(RS.C0,CFrame.new(1.01012444, 0.107069746, -0.463154793, 0.633318067, 0.773830771, 0.00966686849, -0.478192717, 0.401122361, -0.781301916, -0.608473003, 0.490190029, 0.624078274),Alpha)
1030
		NK.C0 = clerp(NK.C0,CFrame.new(6.11957148e-06, 1.44927096, -0.405988753, 0.999999583, 7.24568963e-07, -6.8731606e-07, 6.33735908e-09, 0.684226215, 0.729269981, 1.00024045e-06, -0.729269683, 0.684225917),Alpha)
1031
		WingFlutter()
1032
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),.3)
1033
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),.3)
1034
	end
1035
	for i = 0, .8, 0.1 do
1036
		swait()
1037
		local Alpha = .3
1038
		RJ.C0 = clerp(RJ.C0,CFrame.new(0.00439098151, 0.0666924566, 0.281248361, 0.999959052, 0.00860917568, -0.00265517179, -0.0086270012, 0.830053985, -0.557616353, -0.00259668194, 0.557616353, 0.830094337),Alpha)
1039
		LH.C0 = clerp(LH.C0,CFrame.new(-0.497570813, -0.936474979, -0.0477344394, 0.999878109, -0.00782567263, 0.0135120051, -9.73803981e-05, 0.862202823, 0.506563246, -0.0156142879, -0.506502926, 0.862096965),Alpha)
1040
		RH.C0 = clerp(RH.C0,CFrame.new(0.497439325, -0.931922615, -0.0551193655, 0.999878109, -0.00782567263, 0.0135120051, -9.73803981e-05, 0.862202823, 0.506563246, -0.0156142879, -0.506502926, 0.862096965),Alpha)
1041
		LS.C0 = clerp(LS.C0,CFrame.new(-1.30848432, 0.518583834, 0.0627421439, 0.758070946, 0.652100444, 0.0096699167, -0.401271075, 0.478066146, -0.781302929, -0.514110804, 0.588402867, 0.624077141),Alpha)
1042
		RS.C0 = clerp(RS.C0,CFrame.new(1.42235136, 0.462758094, -0.0433900952, 0.77383244, -0.633316636, 0.00966930948, 0.401121885, 0.478191316, -0.781302929, 0.49018833, 0.608476162, 0.624077141),Alpha)
1043
		NK.C0 = clerp(NK.C0,CFrame.new(0.00874680094, 1.45278561, 0.153901845, 0.999851108, 0.0168225225, 0.00386164617, -0.014445669, 0.938051641, -0.346193999, -0.00944628194, 0.346086651, 0.938155115),Alpha)
1044
	end
1045
	delay(1, function()
1046
		NeutralAnims = true
1047
		Rooted = false
1048
	end)
1049
	local start = NewInstance("Part",Effects,{Anchored=true,CanCollide=false,Transparency=1,CFrame=Root.CFrame})
1050
	Sound(Char,579687077,.5,2,false,true,true)
1051
	Sound(Char,239000203,.75,2,false,true,true)
1052
	for i = 1, 140 do
1053
		AOEDamage(start.CFrame.p,95,1000,1000,0,'Normal',100,5)
1054
		Effect{
1055
			Effect='ResizeAndFade',
1056
			Mesh={MeshType=Enum.MeshType.Sphere},
1057
			Color=C3.N(0,0,0),
1058
			Material=Enum.Material.Neon,
1059
			CFrame=CF.N(start.CFrame.p)*CF.N(M.RNG(-75,75),M.RNG(-75,75),M.RNG(-75,75)),
1060
			Frames=60,
1061
			FXSettings={
1062
				EndIsIncrement=true,
1063
				EndSize=V3.N(.6,.6,.6)
1064
			}
1065
		}
1066
		swait(1)
1067
	end
1068
	Attack = false
1069
end
1070
1071
function Lazor()
1072
	Rooted = true
1073
	Attack = true
1074
	Hum.AutoRotate=false
1075
	NeutralAnims = false
1076
	Chat2("Begone, sinner.")
1077
	--Effect{Effect='Resize',Mesh={MeshType=Enum.MeshType.FileMesh},Size=V3.N(1,1,1),CFrame=,Frames=60,FXSettings={EndSize=V3.N(0,0,0)}}
1078
	local snd = Sound(Torso,705787045,1,1,true,false,false)
1079
	for i = 0, 6, .1 do
1080
		Effect{
1081
			Effect='Fade',
1082
			Color=BrickColor.new'Cyan',
1083
			Size=V3.N((i/2),(i/2),(i/2)),
1084-
			Color=BrickColor.new'Really black',
1084+
1085
			Mesh={MeshType=Enum.MeshType.Sphere},
1086
			Frames=15,
1087
			CFrame=RArm.CFrame*CF.N(0,-1.5,0),
1088
			Sound=false
1089
		}
1090
		swait()
1091
		Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
1092
		local Alpha = .1
1093
		Change = .5
1094
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
1095
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1096
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
1097
		LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1098
		RS.C0 = clerp(RS.C0,CFrame.new(1.46309233, 0.634022355+.1*M.C(Sine/12), 0.0835287869, -0.816918671, -0.539614618, 0.203615591, -0.392316222, 0.261119068, -0.881989181, 0.422766358, -0.800395131, -0.425012559),Alpha)
1099
		NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1100
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
1101
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
1102
		WingFlutter()
1103
	end
1104
	snd:Play()
1105
	for i = 0, 24, .1 do
1106
		swait()
1107
		Effect{
1108
			Effect='Fade',
1109
			Color=BrickColor.new'Cyan',
1110
			Size=V3.N(3,3,3),
1111-
			Color=BrickColor.new'Really black',
1111+
1112
			Mesh={MeshType=Enum.MeshType.Sphere},
1113
			Frames=15,
1114
			CFrame=RArm.CFrame*CF.N(0,-1.5,0),
1115
		}
1116
		if(Mouse.Target)then
1117
			Zap{
1118
				StartCFrame=RArm.CFrame*CF.N(0,-1.5,0),
1119
				EndCFrame=Mouse.Hit,
1120
				ZapRotation = {-5,5},
1121
				PartCount=10,
1122
				StartSize = .5,
1123
				EndSize = .5,
1124
				Color = C3.N(0,0,0),
1125
				DelayInc=0,
1126
				Delay =5,
1127
			}
1128
		end
1129
		AOEDamage(Mouse.Hit.p,3,10,15,false,"Electric",25,2)
1130
		Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
1131
		local Alpha = .1
1132
		Change = .5
1133
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
1134
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1135
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
1136
		LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1137
		RS.C0 = clerp(RS.C0,CFrame.new(1.42641699, 0.76597631+.1*M.C(Sine/12), -0.207831383, 0.954205394, 0.219142094, 0.203637421, 0.275958538, -0.38200587, -0.881996989, -0.115491927, 0.897801638, -0.424986154),Alpha)
1138
		NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1139
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
1140
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
1141
		WingFlutter()
1142
	end
1143
	coroutine.wrap(function()
1144
		for i = 1, 0,-.05 do
1145
			snd.Volume = i
1146
			swait()
1147
		end
1148
		snd:destroy()
1149
	end)()
1150
	Rooted = false
1151
	Attack = false
1152
	Hum.AutoRotate=true
1153
	NeutralAnims = true
1154
end
1155
1156
function Teleport()
1157
	Rooted = true
1158
	Attack = true
1159
	Hum.AutoRotate=false
1160
	NeutralAnims = false
1161
	repeat swait() 
1162
		Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
1163
		local Alpha = .1
1164
		Change = .5
1165
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
1166
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1167
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
1168
		LS.C0 = clerp(LS.C0,CFrame.new(-1.30013025, 0.503248096+.1*M.C(Sine/12), -0.596688211, 0.828000546, -0.560713708, -6.38549547e-10, 0.003524723, 0.00520492578, -0.999980271, 0.560702682, 0.827984214, 0.00628613681),Alpha)
1169
		RS.C0 = clerp(RS.C0,CFrame.new(1.27528536, 0.496638358+.1*M.C(Sine/12), -0.579756379, 0.810091436, 0.586290658, -1.40121659e-09, -0.00368550443, 0.00509234518, -0.999980271, -0.586279035, 0.810075462, 0.00628613681),Alpha)
1170
		NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1171
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
1172
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
1173
		WingFlutter()
1174
	until not S.UserInputService:IsKeyDown(Enum.KeyCode.Q)
1175
	local p = Mouse.Hit.p
1176
1177
	--
1178
	local circle = NewInstance("Part",Effects,{CFrame=Root.CFrame*CF.N(0,0,-2),Size=V3.N(.05,.05,.05),Transparency=1,Anchored=true,CanCollide=false})
1179
	local decalF = NewInstance("Decal",circle,{Name='Front',Texture="rbxassetid://524002938",Color3=C3.N(0,0,0),Face=Enum.NormalId.Front,Transparency = 1})
1180
	local decalB = NewInstance("Decal",circle,{Name='Back',Texture="rbxassetid://524002938",Color3=C3.N(0,0,0),Face=Enum.NormalId.Back,Transparency=1})
1181
	local asd = CF.N(p,Root.Position)
1182
	local circle2=circle:Clone()
1183
	circle2.Parent = Effects
1184
	circle2.CFrame = asd*CF.N(0,4,0)
1185
	Root.Anchored = true
1186
	for i = 0, 3, .1 do
1187
		swait() 
1188
		local Alpha = .1
1189
		Change = .5
1190
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
1191
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1192
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
1193
		LS.C0 = clerp(LS.C0,CFrame.new(-1.21875513, 0.506383479+.1*M.C(Sine/12), -0.0979118943, 0.810091376, 0.586290598, 2.45534384e-08, -0.00368548767, 0.0050923666, -0.999980271, -0.586278975, 0.810075402, 0.00628614426),Alpha)
1194
		RS.C0 = clerp(RS.C0,CFrame.new(1.20952582, 0.499788254+.1*M.C(Sine/12), -0.0786797404, 0.828000546, -0.560713649, -2.55837147e-08, 0.0035247067, 0.00520494673, -0.999980271, 0.560702622, 0.827984214, 0.00628614519),Alpha)
1195
		NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1196
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
1197
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
1198
		WingFlutter()
1199
		circle.Size = circle.Size + V3.N(.2,.2,0)
1200
		circle2.Size = circle2.Size + V3.N(.2,.2,0)
1201
		circle.Front.Transparency=1-(i/3)
1202
		circle.Back.Transparency=1-(i/3)
1203
		circle2.Front.Transparency=1-(i/3)
1204
		circle2.Back.Transparency=1-(i/3)
1205
		
1206
		circle.CFrame=circle.CFrame*CF.A(0,0,M.R(5))
1207
		circle2.CFrame=circle2.CFrame*CF.A(0,0,M.R(5))
1208
	end
1209
	Root.Anchored = true
1210
	for i = 1, 3,.1 do
1211
		Root.Anchored = true
1212
		swait()
1213
		local Alpha = .1
1214
		Change = .5
1215
		RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
1216
		LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1217
		RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
1218
		LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1219
		RS.C0 = clerp(RS.C0,CFrame.new(1.38953996, 0.579314649+.1*M.C(Sine/12), 0.00156672322, 0.963396549, -0.267624378, 0.0156119959, 0.267557263, 0.9635216, 0.0062854127, -0.0167246256, -0.0018782462, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1220
		NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1221
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
1222
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
1223
		WingFlutter()
1224
	end
1225
	for i = 0, 2, .1 do
1226
		swait()
1227
		local Alpha = .1
1228
		Change = .5
1229
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00288401172, -0.186870754+.25*M.C(Sine/12), -0.184415281, 0.999970019, -0.00748212682, -0.00185852405, 0.00747100171, 0.880958676, 0.473134309, -0.00190276653, -0.473133981, 0.880988002)*CF.A(-M.R(10+5*M.S(Sine/12)),0,0),Alpha)
1230
		LH.C0 = clerp(LH.C0,CFrame.new(-0.455414772, -0.964986682, 0.0489092469, 0.999094486, 0.0300228745, 0.0301540364, -0.0396850631, 0.913133621, 0.405724436, -0.0153536471, -0.406553656, 0.913497925)*CF.A(0,M.R(2+7*M.C(Sine/12)),-M.R(2+7*M.C(Sine/12))),Alpha)
1231
		RH.C0 = clerp(RH.C0,CFrame.new(0.544458926, -0.964868069, 0.0333667099, 0.999092519, 0.0301021822, 0.0301397741, -0.0397526845, 0.913105845, 0.405780286, -0.015305927, -0.406610161, 0.913473606)*CF.A(0,-M.R(2+7*M.C(Sine/12)),M.R(2+7*M.C(Sine/12))),Alpha)
1232
		LS.C0 = clerp(LS.C0,CFrame.new(-1.36389351, 0.578486085+.1*M.C(Sine/12), 0.180077106, -0.966345549, 0.257006437, -0.0111429691, 0.189922124, 0.683552086, -0.704759717, -0.173510939, -0.683157504, -0.709358692)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1233
		RS.C0 = clerp(RS.C0,CFrame.new(1.36815977, 0.578247666+.1*M.C(Sine/12), 0.13745755, 0.960469842, -0.278161407, 0.0111425305, 0.189813495, 0.683640122, 0.704703569, -0.203638792, -0.674731433, 0.709414363)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1234
		NK.C0 = clerp(NK.C0,CFrame.new(0.00204973482, 1.42796898, 0.117728591, 0.999878228, 0.00747100171, 0.0137089603, -9.46668442e-05, 0.880958676, -0.473193318, -0.0156122521, 0.473134309, 0.880851984),Alpha)
1235
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
1236
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
1237
		WingFlutter()
1238
		Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
1239
		Transparency(i/2)
1240
	end
1241
	Zap{
1242
		StartCFrame=Root.CFrame,
1243
		EndCFrame=asd*CF.N(0,4,0),
1244
		ZapRotation = {-5,5},
1245
		PartCount=10,
1246
		StartSize = 4,
1247
		EndSize = .5,
1248
		Color = C3.N(0,0,0),
1249
		DelayInc=5,
1250
		Delay = 15,
1251
	}
1252
	Root.CFrame = asd*CF.N(0,4,0)
1253
	Root.Anchored = true
1254
1255
	for i = 0, 2, .1 do
1256
		Root.Anchored = true
1257
		swait()
1258
		local Alpha = .1
1259
		Change = .5
1260
		RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00288401172, -0.186870754+.25*M.C(Sine/12), -0.184415281, 0.999970019, -0.00748212682, -0.00185852405, 0.00747100171, 0.880958676, 0.473134309, -0.00190276653, -0.473133981, 0.880988002)*CF.A(-M.R(10+5*M.S(Sine/12)),0,0),Alpha)
1261
		LH.C0 = clerp(LH.C0,CFrame.new(-0.455414772, -0.964986682, 0.0489092469, 0.999094486, 0.0300228745, 0.0301540364, -0.0396850631, 0.913133621, 0.405724436, -0.0153536471, -0.406553656, 0.913497925)*CF.A(0,M.R(2+7*M.C(Sine/12)),-M.R(2+7*M.C(Sine/12))),Alpha)
1262
		RH.C0 = clerp(RH.C0,CFrame.new(0.544458926, -0.964868069, 0.0333667099, 0.999092519, 0.0301021822, 0.0301397741, -0.0397526845, 0.913105845, 0.405780286, -0.015305927, -0.406610161, 0.913473606)*CF.A(0,-M.R(2+7*M.C(Sine/12)),M.R(2+7*M.C(Sine/12))),Alpha)
1263
		LS.C0 = clerp(LS.C0,CFrame.new(-1.36389351, 0.578486085+.1*M.C(Sine/12), 0.180077106, -0.966345549, 0.257006437, -0.0111429691, 0.189922124, 0.683552086, -0.704759717, -0.173510939, -0.683157504, -0.709358692)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1264
		RS.C0 = clerp(RS.C0,CFrame.new(1.36815977, 0.578247666+.1*M.C(Sine/12), 0.13745755, 0.960469842, -0.278161407, 0.0111425305, 0.189813495, 0.683640122, 0.704703569, -0.203638792, -0.674731433, 0.709414363)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1265
		NK.C0 = clerp(NK.C0,CFrame.new(0.00204973482, 1.42796898, 0.117728591, 0.999878228, 0.00747100171, 0.0137089603, -9.46668442e-05, 0.880958676, -0.473193318, -0.0156122521, 0.473134309, 0.880851984),Alpha)
1266
		HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
1267
		WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
1268
		WingFlutter()
1269
		Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
1270
		Transparency(1-(i/2))
1271
	end
1272
	
1273
	
1274
	Transparency(0)
1275
	coroutine.wrap(function()
1276
		for i = 0, 3, .1 do
1277
			swait() 
1278
			local Alpha = .1
1279
			Change = .5
1280
			circle.Size = circle.Size - V3.N(.2,.2,0)
1281
			circle2.Size = circle2.Size - V3.N(.2,.2,0)
1282
			circle.Front.Transparency=(i/3)
1283
			circle.Back.Transparency=(i/3)
1284
			circle2.Front.Transparency=(i/3)
1285
			circle2.Back.Transparency=(i/3)
1286
			
1287
			circle.CFrame=circle.CFrame*CF.A(0,0,-M.R(5))
1288
			circle2.CFrame=circle2.CFrame*CF.A(0,0,-M.R(5))
1289
		end
1290
	end)()
1291
	Hum.AutoRotate = true
1292
	Root.Anchored = false
1293
	Rooted = false
1294
	Attack = false
1295
	NeutralAnims = true
1296
end
1297
1298
Mouse.KeyDown:connect(function(k)
1299
	if(Attack)then return end
1300
	if(k == 'q')then Teleport() end
1301
	if(k == 'z')then Lazor() end
1302
	if(k == 'x')then Smite() end
1303
	if(k == 'v')then HolyBomb() end
1304
	if(k == 'c')then LightningStorm() end
1305
end)
1306
1307
	
1308
--// Wrap it all up \\--
1309
while true do
1310
	swait()
1311
	Sine = Sine + Change
1312
	
1313
	if(not Music or not Music.Parent)then
1314
		local a = Music.TimePosition
1315
		Music = Sound(Char,MusicID,1,3,true,false,true)
1316
		Music.Name = 'Music'
1317
		Music.TimePosition = a
1318
	end
1319
	Music.Playing = true
1320
	Torso.Color = C3.N(255,255,255)
1321
	RArm.Color = C3.N(255,255,255)
1322
	LArm.Color = C3.N(255,255,255)
1323
	RLeg.Color = C3.N(255,255,255)
1324
	LLeg.Color = C3.N(255,255,255)
1325
	Head.Color = C3.N(255,255,255)
1326
	Music.Volume = 5
1327
	Music.Pitch = 1
1328
	Music.Playing = true
1329
	Hum.HipHeight = 2
1330
	Sine = Sine + Change
1331
	local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
1332
	local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
1333
	local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or Walking and "Walk" or "Idle")
1334
	if(time()-PulseTime > .05)then
1335
		PulseTime = time()
1336
		if(hitfloor)then
1337
			local angles = CF.A(M.RRNG(-15,15),M.RRNG(-45,45),M.RRNG(-45,45))
1338
			Effect{
1339
				Effect='ResizeAndFade',
1340
				Color=hitfloor.Color,
1341
				Material=hitfloor.Material,
1342
				Frames=60,
1343
				Mesh={MeshType=Enum.MeshType.FileMesh,MeshId="rbxassetid://662586858",Scale=V3.N(.01,.01,.01)},
1344
				CFrame=CF.N(posfloor)*angles,
1345
				MoveDirection=CF.N(posfloor)*angles*CF.N(0,6,0).p,
1346
				FXSettings = {
1347
					EndSize=V3.N(.0005,.0005,.0005),
1348
					EndIsIncrement=true
1349
				}
1350
			}
1351
		end
1352
		local pos = CF.N(Torso.CFrame.p)*CF.N(0,-2,0)*CF.A(0,M.RRNG(-180,180),0)*CF.N(0,0,M.RNG(-15,-5))
1353
		local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
1354
		
1355
		if(hitfloor2)then
1356
			pos = CF.N(posfloor2)
1357
			Effect{
1358
				Effect='ResizeAndFade',
1359
				Color=BrickColor.new'Institutional white',
1360
				Size=V3.N(2,2,2),
1361
				Material=Enum.Material.Neon,
1362
				Mesh={MeshType=Enum.MeshType.Sphere},
1363
				Frames=45,
1364
				CFrame=pos,
1365
				FXSettings = {
1366
					EndSize = V3.N(-.01,.25,-.01),
1367
					EndIsIncrement = true
1368
				}
1369
			}
1370
		else
1371
			Effect{
1372
				Effect='ResizeAndFade',
1373
				Color=BrickColor.new'Institutional white',
1374
				Size=V3.N(2,2,2),
1375
				Material=Enum.Material.Neon,
1376
				Mesh={MeshType=Enum.MeshType.Sphere},
1377
				Frames=45,
1378
				CFrame=pos,
1379
				FXSettings = {
1380
					EndSize = V3.N(-.01,.25,-.01),
1381
					EndIsIncrement = true
1382
				}
1383
			}
1384
		end
1385
	end
1386
	Hum.Name = math.random()*100000
1387
	Hum.MaxHealth = 1e100
1388
	Hum.Health = 1e100
1389
	if(M.RNG(1,50) == 1)then
1390
		local pos = CF.N(Torso.CFrame.p)*CF.N(0,-2,0)*CF.A(0,M.RRNG(-180,180),0)*CF.N(0,0,M.RNG(-30,-15))
1391
		local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
1392
		
1393
		if(hitfloor2)then
1394
			pos = CF.N(posfloor2)
1395
		end
1396
		Zap{
1397
			StartCFrame=Torso.CFrame,
1398
			EndCFrame=pos,
1399
			ZapRotation = {-2,2},
1400
			PartCount=5,
1401
			StartSize = .5,
1402
			EndSize = 0,
1403
			Color = C3.N(0,0,0),
1404
			DelayInc=5,
1405
			Delay = 15,
1406
			Sound=false
1407
		}
1408
	end
1409
	if(Rooted == false)then
1410
		Hum.WalkSpeed = 32
1411
		Hum.JumpPower = 75
1412
	else
1413
		Hum.WalkSpeed = 0
1414
		Hum.JumpPower = 0
1415
	end
1416
	if(not Effects or not Effects.Parent)then
1417
		Effects = IN("Model",Char)
1418
		Effects.Name = "Effects"
1419
	end
1420
	if(NeutralAnims)then	
1421
		if(State == 'Idle')then
1422
			local Alpha = .1
1423
			Change = .5
1424
			RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
1425
			LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1426
			RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
1427
			LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1428
			RS.C0 = clerp(RS.C0,CFrame.new(1.38953996, 0.579314649+.1*M.C(Sine/12), 0.00156672322, 0.963396549, -0.267624378, 0.0156119959, 0.267557263, 0.9635216, 0.0062854127, -0.0167246256, -0.0018782462, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1429
			NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
1430
			HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
1431
			WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
1432
			WingFlutter()
1433
1434
		elseif(State == 'Walk')then
1435
			local Alpha = .1
1436
			Change = .5
1437
			RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00288401172, -0.186870754+.25*M.C(Sine/12), -0.184415281, 0.999970019, -0.00748212682, -0.00185852405, 0.00747100171, 0.880958676, 0.473134309, -0.00190276653, -0.473133981, 0.880988002)*CF.A(-M.R(10+5*M.S(Sine/12)),0,0),Alpha)
1438
			LH.C0 = clerp(LH.C0,CFrame.new(-0.455414772, -0.964986682, 0.0489092469, 0.999094486, 0.0300228745, 0.0301540364, -0.0396850631, 0.913133621, 0.405724436, -0.0153536471, -0.406553656, 0.913497925)*CF.A(0,M.R(2+7*M.C(Sine/12)),-M.R(2+7*M.C(Sine/12))),Alpha)
1439
			RH.C0 = clerp(RH.C0,CFrame.new(0.544458926, -0.964868069, 0.0333667099, 0.999092519, 0.0301021822, 0.0301397741, -0.0397526845, 0.913105845, 0.405780286, -0.015305927, -0.406610161, 0.913473606)*CF.A(0,-M.R(2+7*M.C(Sine/12)),M.R(2+7*M.C(Sine/12))),Alpha)
1440
			LS.C0 = clerp(LS.C0,CFrame.new(-1.36389351, 0.578486085+.1*M.C(Sine/12), 0.180077106, -0.966345549, 0.257006437, -0.0111429691, 0.189922124, 0.683552086, -0.704759717, -0.173510939, -0.683157504, -0.709358692)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1441
			RS.C0 = clerp(RS.C0,CFrame.new(1.36815977, 0.578247666+.1*M.C(Sine/12), 0.13745755, 0.960469842, -0.278161407, 0.0111425305, 0.189813495, 0.683640122, 0.704703569, -0.203638792, -0.674731433, 0.709414363)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
1442
			NK.C0 = clerp(NK.C0,CFrame.new(0.00204973482, 1.42796898, 0.117728591, 0.999878228, 0.00747100171, 0.0137089603, -9.46668442e-05, 0.880958676, -0.473193318, -0.0156122521, 0.473134309, 0.880851984),Alpha)
1443
			HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
1444
			WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
1445
			WingFlutter()
1446
		elseif(State == 'Paralyzed')then
1447
			-- paralyzed
1448
		elseif(State == 'Sit')then
1449
			-- sit
1450
		end
1451
	end
1452
end