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