View difference between Paste ID: Dpp3cKyD and EG6HP814
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
6
7
--Converted with ttyyuu12345's model to script plugin v4
8
function sandbox(var,func)
9
	local env = getfenv(func)
10
	local newenv = setmetatable({},{
11
		__index = function(self,k)
12
			if k=="script" then
13
				return var
14
			else
15
				return env[k]
16
			end
17
		end,
18
	})
19
	setfenv(func,newenv)
20
	return func
21
end
22
cors = {}
23
mas = Instance.new("Model",game:GetService("Lighting"))
24
LocalScript0 = Instance.new("LocalScript")
25
ParticleEmitter1 = Instance.new("ParticleEmitter")
26
ParticleEmitter2 = Instance.new("ParticleEmitter")
27
ParticleEmitter3 = Instance.new("ParticleEmitter")
28
ParticleEmitter4 = Instance.new("ParticleEmitter")
29
ParticleEmitter5 = Instance.new("ParticleEmitter")
30
ParticleEmitter6 = Instance.new("ParticleEmitter")
31
ParticleEmitter7 = Instance.new("ParticleEmitter")
32
ParticleEmitter8 = Instance.new("ParticleEmitter")
33
LocalScript9 = Instance.new("LocalScript")
34
NumberValue10 = Instance.new("NumberValue")
35
NumberValue11 = Instance.new("NumberValue")
36
BoolValue12 = Instance.new("BoolValue")
37
ParticleEmitter13 = Instance.new("ParticleEmitter")
38
ParticleEmitter14 = Instance.new("ParticleEmitter")
39
ParticleEmitter15 = Instance.new("ParticleEmitter")
40
ParticleEmitter16 = Instance.new("ParticleEmitter")
41
ParticleEmitter17 = Instance.new("ParticleEmitter")
42
ParticleEmitter18 = Instance.new("ParticleEmitter")
43
ParticleEmitter19 = Instance.new("ParticleEmitter")
44
ParticleEmitter20 = Instance.new("ParticleEmitter")
45
ParticleEmitter21 = Instance.new("ParticleEmitter")
46
ParticleEmitter22 = Instance.new("ParticleEmitter")
47-
LocalScript0.Name = "WarPheonix"
47+
LocalScript0.Name = "WarShadowAether"
48
LocalScript0.Parent = mas
49
table.insert(cors,sandbox(LocalScript0,function()
50
51
wait(0.2)
52
Player = game:GetService("Players").LocalPlayer
53
PlayerGui = Player.PlayerGui
54
Cam = workspace.CurrentCamera
55
Backpack = Player.Backpack
56
Character = Player.Character
57
Humanoid = Character.Humanoid
58
Mouse = Player:GetMouse()
59
RootPart = Character.HumanoidRootPart
60
Torso = Character.Torso
61
Head = Character.Head
62
RightArm = Character["Right Arm"]
63
LeftArm = Character["Left Arm"]
64
RightLeg = Character["Right Leg"]
65
LeftLeg = Character["Left Leg"]
66
RootJoint = RootPart.RootJoint
67
Neck = Torso.Neck
68
RightShoulder = Torso["Right Shoulder"]
69
LeftShoulder = Torso["Left Shoulder"]
70
RightHip = Torso["Right Hip"]
71
LeftHip = Torso["Left Hip"]
72
local sick = Instance.new("Sound", Character)
73
	sick.SoundId = "rbxassetid://1604456093"
74
	sick.Looped = true
75
IT = Instance.new
76
CF = CFrame.new
77
VT = Vector3.new
78
RAD = math.rad
79
C3 = Color3.new
80
UD2 = UDim2.new
81
BRICKC = BrickColor.new
82
ANGLES = CFrame.Angles
83
EULER = CFrame.fromEulerAnglesXYZ
84
COS = math.cos
85
ACOS = math.acos
86
SIN = math.sin
87
ASIN = math.asin
88
ABS = math.abs
89
MRANDOM = math.random
90
FLOOR = math.floor
91
92
local naeeym2 = Instance.new("BillboardGui",Character)
93
naeeym2.AlwaysOnTop = true
94
naeeym2.Size = UDim2.new(5,35,2,35)
95
naeeym2.StudsOffset = Vector3.new(0,4.5,0)
96
naeeym2.Adornee = Character.Head
97
naeeym2.Name = "Name"
98
naeeym2.MaxDistance = 200
99
local tecks2 = Instance.new("TextLabel",naeeym2)
100
tecks2.BackgroundTransparency = 1
101
tecks2.TextScaled = true
102
tecks2.BorderSizePixel = 0
103-
tecks2.Text = "The War Phoenix"
103+
tecks2.Text = "The Shadow Lighting"
104
tecks2.Font = "Fantasy"
105
tecks2.TextSize = 48
106
tecks2.TextStrokeTransparency = 0
107-
tecks2.TextColor3 = Color3.new(255,255,255)
107+
tecks2.TextColor3 = Color3.new(0,0,0)
108-
tecks2.TextStrokeColor3 = Color3.new(188/255, 155/255, 93/255)
108+
tecks2.TextStrokeColor3 = Color3.new(0/255, 0/255, 0/255)
109
tecks2.Size = UDim2.new(1,0,0.5,0)
110
tecks2.Parent = naeeym2
111
112
local naeeym3 = Instance.new("BillboardGui",Character)
113
naeeym3.AlwaysOnTop = true
114
naeeym3.Size = UDim2.new(5,35,2,35)
115
naeeym3.StudsOffset = Vector3.new(0,3,0)
116
naeeym3.Adornee = Character.Head
117
naeeym3.Name = "Name"
118
naeeym3.MaxDistance = 200
119
local tecks3 = Instance.new("TextLabel",naeeym2)
120
tecks3.BackgroundTransparency = 1
121
tecks3.TextScaled = true
122
tecks3.BorderSizePixel = 0
123
tecks3.Text = Player.Name
124
tecks3.Font = "Fantasy"
125
tecks3.TextSize = 32
126
tecks3.TextStrokeTransparency = 1
127
tecks3.TextColor3 = Color3.new(125/255,125/255,125/255)
128
tecks3.TextStrokeColor3 = Color3.new(125/255,125/255,125/255)
129
tecks3.Size = UDim2.new(1,0,0.5,0)
130
tecks3.Parent = naeeym3
131
132
133
Animation_Speed = 3
134
Frame_Speed = 0.016666666666666666
135
local Speed = 16
136
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
137
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
138
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
139
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
140
local DAMAGEMULTIPLIER = 1
141
local ANIM = "Idle"
142
local ATTACK = false
143
local EQUIPPED = false
144
local HOLD = false
145
local COMBO = 1
146
local Rooted = false
147
local SINE = 0
148
local KEYHOLD = false
149
local CHANGE = 2 / Animation_Speed
150
local WALKINGANIM = false
151
local VALUE1 = false
152
local VALUE2 = false
153
local ROBLOXIDLEANIMATION = IT("Animation")
154
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
155
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
156
local WEAPONGUI = IT("ScreenGui", PlayerGui)
157
WEAPONGUI.Name = "Weapon GUI"
158
local Effects = IT("Folder", Character)
159
Effects.Name = "Effects"
160
local ANIMATOR = Humanoid.Animator
161
local ANIMATE = Character.Animate
162
local UNANCHOR = true
163
local FLIGHT = false
164
local BODYPOS, GYRO, FLIGHTRING
165
local PARTICLES = false
166
local WINGS = false
167
local APPLYGYRO = true
168
local DIRECTTURN = false
169-
local PHEONIXCOLOR = C3(0.9, 0.9, 0.9)
169+
local ShadowAetherCOLOR = C3(0, 0, 0)
170
ArtificialHB = Instance.new("BindableEvent", script)
171
ArtificialHB.Name = "ArtificialHB"
172
script:WaitForChild("ArtificialHB")
173
frame = Frame_Speed
174
tf = 0
175
allowframeloss = false
176
tossremainder = false
177
lastframe = tick()
178
script.ArtificialHB:Fire()
179
game:GetService("RunService").Heartbeat:connect(function(s, p)
180
	tf = tf + s
181
	if tf >= frame then
182
		if allowframeloss then
183
			script.ArtificialHB:Fire()
184
			lastframe = tick()
185
		else
186
			for i = 1, math.floor(tf / frame) do
187
				script.ArtificialHB:Fire()
188
			end
189
			lastframe = tick()
190
		end
191
		if tossremainder then
192
			tf = 0
193
		else
194
			tf = tf - frame * math.floor(tf / frame)
195
		end
196
	end
197
end)
198
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
199
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
200
end
201
function PositiveAngle(NUMBER)
202
	if NUMBER >= 0 then
203
		NUMBER = 0
204
	end
205
	return NUMBER
206
end
207
function NegativeAngle(NUMBER)
208
	if NUMBER <= 0 then
209
		NUMBER = 0
210
	end
211
	return NUMBER
212
end
213
function Swait(NUMBER)
214
	if NUMBER == 0 or NUMBER == nil then
215
		ArtificialHB.Event:wait()
216
	else
217
		for i = 1, NUMBER do
218
			ArtificialHB.Event:wait()
219
		end
220
	end
221
end
222
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
223
	local NEWMESH = IT(MESH)
224
	if MESH == "SpecialMesh" then
225
		NEWMESH.MeshType = MESHTYPE
226
		if MESHID ~= "nil" and MESHID ~= "" then
227
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
228
		end
229
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
230
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
231
		end
232
	end
233
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
234
	NEWMESH.Scale = SCALE
235
	NEWMESH.Parent = PARENT
236
	return NEWMESH
237
end
238
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
239
	local NEWPART = IT("Part")
240
	NEWPART.formFactor = FORMFACTOR
241
	NEWPART.Reflectance = REFLECTANCE
242
	NEWPART.Transparency = TRANSPARENCY
243
	NEWPART.CanCollide = false
244
	NEWPART.Locked = true
245
	NEWPART.Anchored = true
246
	if ANCHOR == false then
247
		NEWPART.Anchored = false
248
	end
249
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
250
	NEWPART.Name = NAME
251
	NEWPART.Size = SIZE
252
	NEWPART.Position = Torso.Position
253
	NEWPART.Material = MATERIAL
254
	NEWPART:BreakJoints()
255
	NEWPART.Parent = PARENT
256
	return NEWPART
257
end
258
local weldBetween = function(a, b)
259
	local weldd = Instance.new("ManualWeld")
260
	weldd.Part0 = a
261
	weldd.Part1 = b
262
	weldd.C0 = CFrame.new()
263
	weldd.C1 = b.CFrame:inverse() * a.CFrame
264
	weldd.Parent = a
265
	return weldd
266
end
267
function QuaternionFromCFrame(cf)
268
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
269
	local trace = m00 + m11 + m22
270
	if trace > 0 then
271
		local s = math.sqrt(1 + trace)
272
		local recip = 0.5 / s
273
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
274
	else
275
		local i = 0
276
		if m00 < m11 then
277
			i = 1
278
		end
279
		if m22 > (i == 0 and m00 or m11) then
280
			i = 2
281
		end
282
		if i == 0 then
283
			local s = math.sqrt(m00 - m11 - m22 + 1)
284
			local recip = 0.5 / s
285
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
286
		elseif i == 1 then
287
			local s = math.sqrt(m11 - m22 - m00 + 1)
288
			local recip = 0.5 / s
289
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
290
		elseif i == 2 then
291
			local s = math.sqrt(m22 - m00 - m11 + 1)
292
			local recip = 0.5 / s
293
			return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
294
		end
295
	end
296
end
297
function QuaternionToCFrame(px, py, pz, x, y, z, w)
298
	local xs, ys, zs = x + x, y + y, z + z
299
	local wx, wy, wz = w * xs, w * ys, w * zs
300
	local xx = x * xs
301
	local xy = x * ys
302
	local xz = x * zs
303
	local yy = y * ys
304
	local yz = y * zs
305
	local zz = z * zs
306
	return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
307
end
308
function QuaternionSlerp(a, b, t)
309
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
310
	local startInterp, finishInterp
311
	if cosTheta >= 1.0E-4 then
312
		if 1 - cosTheta > 1.0E-4 then
313
			local theta = ACOS(cosTheta)
314
			local invSinTheta = 1 / SIN(theta)
315
			startInterp = SIN((1 - t) * theta) * invSinTheta
316
			finishInterp = SIN(t * theta) * invSinTheta
317
		else
318
			startInterp = 1 - t
319
			finishInterp = t
320
		end
321
	elseif 1 + cosTheta > 1.0E-4 then
322
		local theta = ACOS(-cosTheta)
323
		local invSinTheta = 1 / SIN(theta)
324
		startInterp = SIN((t - 1) * theta) * invSinTheta
325
		finishInterp = SIN(t * theta) * invSinTheta
326
	else
327
		startInterp = t - 1
328
		finishInterp = t
329
	end
330
	return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
331
end
332
function Clerp(a, b, t)
333
	local qa = {
334
		QuaternionFromCFrame(a)
335
	}
336
	local qb = {
337
		QuaternionFromCFrame(b)
338
	}
339
	local ax, ay, az = a.x, a.y, a.z
340
	local bx, by, bz = b.x, b.y, b.z
341
	local _t = 1 - t
342
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
343
end
344
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
345
	local frame = IT("Frame")
346
	frame.BackgroundTransparency = TRANSPARENCY
347
	frame.BorderSizePixel = BORDERSIZEPIXEL
348
	frame.Position = POSITION
349
	frame.Size = SIZE
350
	frame.BackgroundColor3 = COLOR
351
	frame.BorderColor3 = BORDERCOLOR
352
	frame.Name = NAME
353
	frame.Parent = PARENT
354
	return frame
355
end
356
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
357
	local label = IT("TextLabel")
358
	label.BackgroundTransparency = 1
359
	label.Size = UD2(1, 0, 1, 0)
360
	label.Position = UD2(0, 0, 0, 0)
361
	label.TextColor3 = TEXTCOLOR
362
	label.TextStrokeTransparency = STROKETRANSPARENCY
363
	label.TextTransparency = TRANSPARENCY
364
	label.FontSize = TEXTFONTSIZE
365
	label.Font = TEXTFONT
366
	label.BorderSizePixel = BORDERSIZEPIXEL
367
	label.TextScaled = false
368
	label.Text = TEXT
369
	label.Name = NAME
370
	label.Parent = PARENT
371
	return label
372
end
373
function NoOutlines(PART)
374
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
375
end
376
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
377
	local NEWWELD = IT(TYPE)
378
	NEWWELD.Part0 = PART0
379
	NEWWELD.Part1 = PART1
380
	NEWWELD.C0 = C0
381
	NEWWELD.C1 = C1
382
	NEWWELD.Parent = PARENT
383
	return NEWWELD
384
end
385
local S = IT("Sound")
386
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
387
	local NEWSOUND
388
	coroutine.resume(coroutine.create(function()
389
		NEWSOUND = S:Clone()
390
		NEWSOUND.Parent = PARENT
391
		NEWSOUND.Volume = VOLUME
392
		NEWSOUND.Pitch = PITCH
393
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
394
		NEWSOUND:play()
395
		if DOESLOOP == true then
396
			NEWSOUND.Looped = true
397
		else
398
			repeat
399
				wait(1)
400
			until NEWSOUND.Playing == false
401
			NEWSOUND:remove()
402
		end
403
	end))
404
	return NEWSOUND
405
end
406
function CFrameFromTopBack(at, top, back)
407
	local right = top:Cross(back)
408
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
409
end
410
function WACKYEFFECT(Table)
411
	local TYPE = Table.EffectType or "Sphere"
412
	local SIZE = Table.Size or VT(1, 1, 1)
413
	local ENDSIZE = Table.Size2 or VT(0, 0, 0)
414
	local TRANSPARENCY = Table.Transparency or 0
415
	local ENDTRANSPARENCY = Table.Transparency2 or 1
416
	local CFRAME = Table.CFrame or Torso.CFrame
417
	local MOVEDIRECTION = Table.MoveToPos or nil
418
	local ROTATION1 = Table.RotationX or 0
419
	local ROTATION2 = Table.RotationY or 0
420
	local ROTATION3 = Table.RotationZ or 0
421
	local MATERIAL = Table.Material or "Neon"
422
	local COLOR = Table.Color or C3(1, 1, 1)
423
	local TIME = Table.Time or 45
424
	local SOUNDID = Table.SoundID or nil
425
	local SOUNDPITCH = Table.SoundPitch or nil
426
	local SOUNDVOLUME = Table.SoundVolume or nil
427
	coroutine.resume(coroutine.create(function()
428
		local PLAYSSOUND = false
429
		local SOUND
430
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
431
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
432
			PLAYSSOUND = true
433
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
434
		end
435
		EFFECT.Color = COLOR
436
		local MSH
437
		if TYPE == "Sphere" then
438
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
439
		elseif TYPE == "Block" then
440
			MSH = IT("BlockMesh", EFFECT)
441
			MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
442
		elseif TYPE == "Wave" then
443
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
444
		elseif TYPE == "Ring" then
445
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
446
		elseif TYPE == "Slash" then
447
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
448
		elseif TYPE == "Round Slash" then
449
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
450
		elseif TYPE == "Swirl" then
451
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
452
		elseif TYPE == "Skull" then
453
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
454
		elseif TYPE == "Crystal" then
455
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
456
		end
457
		if MSH ~= nil then
458
			local MOVESPEED
459
			if MOVEDIRECTION ~= nil then
460
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
461
			end
462
			local GROWTH = SIZE - ENDSIZE
463
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
464
			if TYPE == "Block" then
465
				EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
466
			else
467
				EFFECT.CFrame = CFRAME
468
			end
469
			for LOOP = 1, TIME + 1 do
470
				Swait()
471
				MSH.Scale = MSH.Scale - GROWTH / TIME
472
				if TYPE == "Wave" then
473
					MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
474
				end
475
				EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
476
				if TYPE == "Block" then
477
					EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
478
				else
479
					EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
480
				end
481
				if MOVEDIRECTION ~= nil then
482
					local ORI = EFFECT.Orientation
483
					EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
484
					EFFECT.Orientation = ORI
485
				end
486
			end
487
			if PLAYSSOUND == false then
488
				EFFECT:remove()
489
			else
490
				repeat
491
					Swait()
492
				until SOUND.Playing == false
493
				EFFECT:remove()
494
			end
495
		elseif PLAYSSOUND == false then
496
			EFFECT:remove()
497
		else
498
			repeat
499
				Swait()
500
			until SOUND.Playing == false
501
			EFFECT:remove()
502
		end
503
	end))
504
end
505
function MakeForm(PART, TYPE)
506
	if TYPE == "Cyl" then
507
		local MSH = IT("CylinderMesh", PART)
508
	elseif TYPE == "Ball" then
509
		local MSH = IT("SpecialMesh", PART)
510
		MSH.MeshType = "Sphere"
511
	elseif TYPE == "Wedge" then
512
		local MSH = IT("SpecialMesh", PART)
513
		MSH.MeshType = "Wedge"
514
	end
515
end
516
Debris = game:GetService("Debris")
517
function CastProperRay(StartPos, EndPos, Distance, Ignore)
518
	local DIRECTION = CF(StartPos, EndPos).lookVector
519
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
520
end
521
function turnto(position)
522
	RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
523
end
524
local DECAL = IT("Decal", nil)
525
function MagicRing(PART, CFRAME, VARIANT)
526-
	if VARIANT == "Pheonix" or VARIANT == "Sun" or VARIANT == "Fire" then
526+
	if VARIANT == "ShadowAether" or VARIANT == "Aether" or VARIANT == "Shadow" then
527-
		local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0, 0, 0), false)
527+
		local RING = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "MagicRing", VT(0, 0, 0), false)
528
		local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
529
		local MESH = IT("BlockMesh", RING)
530
		local BOTTOMTEXTURE = DECAL:Clone()
531
		BOTTOMTEXTURE.Parent = RING
532
		BOTTOMTEXTURE.Face = "Bottom"
533
		BOTTOMTEXTURE.Name = "BottomTexture"
534
		local TOPTEXTURE = DECAL:Clone()
535
		TOPTEXTURE.Parent = RING
536
		TOPTEXTURE.Face = "Top"
537
		TOPTEXTURE.Name = "TopTexture"
538
		local T = script.RingEmit:Clone()
539
		T.Parent = RING
540
		local LIGHT = IT("PointLight", RING)
541-
		if VARIANT == "Pheonix" then
541+
		if VARIANT == "ShadowAether" then
542-
			BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617574752"
542+
			BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=2106073706"
543-
			TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617575377"
543+
			TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=2106073706"
544-
			T.Color = ColorSequence.new(PHEONIXCOLOR)
544+
            BOTTOMTEXTURE.Color3 = C3(0, 0, 0)
545
            TOPTEXTURE.Color3 = C3(0, 0, 0)
546-
		elseif VARIANT == "Sun" then
546+
			T.Color = ColorSequence.new(ShadowAetherCOLOR)
547-
			BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217786509"
547+
548-
			TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217788749"
548+
		elseif VARIANT == "Aether" then
549-
			T.Color = ColorSequence.new(BRICKC("Bright orange").Color)
549+
			BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=2106073706"
550
			TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=2106073706"
551-
			LIGHT.Color = BRICKC("Bright orange").Color
551+
			T.Color = ColorSequence.new(BRICKC("Teal").Color)
552-
		elseif VARIANT == "Fire" then
552+
553-
			BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222222911"
553+
			LIGHT.Color = BRICKC("Teal").Color
554-
			TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222223218"
554+
		elseif VARIANT == "Shadow" then
555-
			T.Color = ColorSequence.new(BRICKC("Bright orange").Color)
555+
			BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=2106129987"
556
			TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=2106129987"
557
			T.Color = ColorSequence.new(BRICKC("Black").Color)
558
			CreateSound(343211019, RING, 5, 1, false)
559
			LIGHT.Color = C3(1, 0.3333333333333333, 0)
560
		end
561
		T.LightEmission = 1
562
		T:Emit(5)
563
		Debris:AddItem(T, 5)
564
		return RING, WELD, MESH
565
	end
566
end
567
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
568
	for _, c in pairs(PARENT:GetDescendants()) do
569
		if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
570
			local HUMANOID = c:FindFirstChildOfClass("Humanoid")
571
			local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
572
			if DIST > (TORSO.Position - FROM).Magnitude then
573
				table.insert(TABLE, c)
574
			end
575
		end
576
	end
577
end
578
local BACKATTACHMENT1 = IT("Attachment", Torso)
579
BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
580
local BACKATTACHMENT2 = IT("Attachment", Torso)
581
BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
582
local WINGS1 = script.Wing1
583
WINGS1.EmissionDirection="Right"
584
WINGS1.Size=NumberSequence.new(2)
585
local WINGS1B = script.Wing1B
586
WINGS1B.EmissionDirection="Right"
587
WINGS1B.Size=NumberSequence.new(2)
588
local WINGS2 = script.Wing2
589
WINGS2.EmissionDirection="Left"
590
WINGS2.Size=NumberSequence.new(2)
591
local WINGS2B = script.Wing2B
592
WINGS2B.EmissionDirection="Left"
593
WINGS2B.Size=NumberSequence.new(2)
594
WINGS1.Parent = BACKATTACHMENT1
595
WINGS1.LockedToPart=true
596
WINGS1B.Parent = BACKATTACHMENT1
597
WINGS1B.LockedToPart=true
598
WINGS2.Parent = BACKATTACHMENT2
599
WINGS2.LockedToPart=true
600
WINGS2B.Parent = BACKATTACHMENT2
601
WINGS2B.LockedToPart=true
602
local FACEATTACHMENT = IT("Attachment", Head)
603
FACEATTACHMENT.Position = VT(0.167, 0.272, -0.5)
604
FACEATTACHMENT.Orientation = VT(0, 35, 0)
605
local EYE = script.Eye1
606
EYE.LockedToPart=true
607
EYE.Parent = FACEATTACHMENT
608
local EYE2 = script.Eye2
609-
local TRAIL1 = script.PheonixTrail:Clone()
609+
610
EYE2.LockedToPart=true
611
local TRAIL1 = script.ShadowAetherTrail:Clone()
612
TRAIL1.LockedToPart=true
613-
local TRAIL2 = script.PheonixTrail:Clone()
613+
614
TRAIL1.Parent = BACKATTACHMENT1
615
local TRAIL2 = script.ShadowAetherTrail:Clone()
616
TRAIL2.LockedToPart=true
617
TRAIL2.Parent = BACKATTACHMENT2
618
TRAIL2.Size=NumberSequence.new(.01)
619
local LIGHT = IT("PointLight", FACEATTACHMENT)
620
LIGHT.Enabled = false
621
LIGHT.Brightness = 5
622
LIGHT.Range = 6
623
Humanoid.Died:connect(function()
624
	ATTACK = true
625
end)
626
function ApplyDamage(Humanoid, Damage, TorsoPart, Time, AfterBurn, Variant)
627
	local defence = Instance.new("BoolValue", Humanoid.Parent)
628
	defence.Name = "HitBy" .. Player.Name
629
	game:GetService("Debris"):AddItem(defence, 0.001)
630
	Damage = Damage * DAMAGEMULTIPLIER
631
	if Humanoid.Health ~= 0 then
632
		local CritChance = MRANDOM(1, 100)
633
		if Damage > Humanoid.Health then
634
			Damage = math.ceil(Humanoid.Health)
635
			if Damage == 0 then
636
				Damage = 0.1
637
			end
638
		end
639
		Humanoid.Health = Humanoid.Health - Damage
640
		if AfterBurn == true then
641
			Afterburn(Humanoid, Time, Damage / 5, Variant)
642
		end
643
	end
644
end
645
function Afterburn(Human, Time, Damage, Variant)
646
	coroutine.resume(coroutine.create(function()
647
		if Human and (Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")) then
648-
			if Variant == "Pheonix" then
648+
649-
				FIRE = script.PheonixBurn:Clone()
649+
650
			if Variant == "ShadowAether" then
651
				FIRE = script.ShadowAetherBurn:Clone()
652-
			elseif Variant == "Sun" then
652+
653-
				FIRE = script.SunBurn:Clone()
653+
654
			elseif Variant == "Aether" then
655
				FIRE = script.AetherBurn:Clone()
656-
			elseif Variant == "Fire" then
656+
657
				FIRE.Enabled = true
658
			elseif Variant == "Shadow" then
659
				FIRE = script.Burn:Clone()
660
				FIRE.Parent = Torso
661
				FIRE.Enabled = true
662
			end
663
			for i = 1, Time do
664
				wait(0.5)
665
				Human.Health = Human.Health - Damage
666
			end
667
			wait(0.25)
668
			FIRE.Enabled = false
669
			Debris:AddItem(FIRE, 1.5)
670
		end
671
	end))
672
end
673
function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, AFTERBURN, TIME, VARIANT, DOESCAMSHAKE, CAMVALUES)
674
	local CHILDREN = workspace:GetChildren()
675
	for index, CHILD in pairs(CHILDREN) do
676
		if CHILD.ClassName == "Model" and CHILD ~= Character then
677
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
678
			if HUM then
679
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
680
				if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
681
					local DMG = MRANDOM(MINDMG, MAXDMG)
682
					ApplyDamage(HUM, DMG, TORSO, TIME, AFTERBURN, VARIANT)
683
					if HUM.MaxHealth == math.huge then
684
						CHILD:BreakJoints()
685
					end
686
					if DOESCAMSHAKE == true then
687
						local CAMSHAKER = script.CamShake:Clone()
688
						CAMSHAKER.Shake.Value = CAMVALUES.SHAKE
689
						CAMSHAKER.Timer.Value = CAMVALUES.TIMER
690
						CAMSHAKER.DoesFade.Value = CAMVALUES.DOESFADE
691
						CAMSHAKER.Parent = CHILD
692
						CAMSHAKER.Disabled = false
693
					end
694
					if FLING > 0 then
695
						for _, c in pairs(CHILD:GetChildren()) do
696
							if c:IsA("BasePart") then
697
								local bv = Instance.new("BodyVelocity")
698
								bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
699
								bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
700
								bv.Parent = c
701
								Debris:AddItem(bv, 0.05)
702
							end
703
						end
704
					end
705
				end
706
			end
707
		end
708
	end
709
end
710
function ShootingStar()
711
	ATTACK = true
712
	Rooted = false
713
	local GYRO = IT("BodyGyro", RootPart)
714
	GYRO.D = 20
715-
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
715+
716
	GYRO.MaxTorque = VT(0, 40000, 0)
717
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Aether")
718
	coroutine.resume(coroutine.create(function()
719
		for i = 1, 35 do
720
			Swait()
721
			MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
722
		end
723
	end))
724
	for i = 0, 1.8, 0.1 / Animation_Speed do
725
		GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
726
		Swait()
727
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
728
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
729
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
730
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
731
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
732
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
733
	end
734
	coroutine.resume(coroutine.create(function()
735
		local POSITION = Mouse.Hit.p
736-
		local FIRE = script.SunFireball:Clone()
736+
737
		FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
738
		local FIRE = script.AetherFireball:Clone()
739-
		local EXPLOSION = script.SunExplosion:Clone()
739+
740
		FIRE.Enabled = true
741
		local EXPLOSION = script.AetherExplosion:Clone()
742
		EXPLOSION.Parent = FIREBALL
743
		CreateSound(463598785, FIREBALL, 5, 1, false)
744
		local DISTANCE = (RootPart.Position - POSITION).Magnitude
745
		local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 145, 0)) * CF(0, 0, -DISTANCE / 2)
746
		for i = 1, 75 do
747
			Swait()
748
			FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
749
		end
750
		FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
751
		for i = 1, 300 do
752
			Swait()
753
			FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
754
			local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
755
			if HITFLOOR ~= nil then
756
				FIRE.Enabled = false
757-
				ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
757+
758
				CreateSound(416328540, FIREBALL, 5, 1, false)
759
				ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Aether", true, {
760
					SHAKE = 1,
761
					TIMER = 6,
762
					DOESFADE = true
763
				})
764
				WACKYEFFECT({
765
					EffectType = "Sphere",
766
					Size = VT(0, 0, 0),
767
					Size2 = VT(150, 150, 150),
768
					Transparency = 0,
769
					Transparency2 = 1,
770
					CFrame = CF(FIREBALL.Position),
771
					MoveToPos = nil,
772
					RotationX = 0,
773
					RotationY = 0,
774-
					Color = C3(1, 0.6666666666666666, 0),
774+
775
					Material = "Neon",
776
					Color = C3(0, 0, 0),
777
					SoundID = nil,
778
					SoundPitch = nil,
779
					SoundVolume = nil
780
				})
781
				wait(5)
782
				break
783
			end
784
		end
785
		FIREBALL:remove()
786
	end))
787
	GYRO:remove()
788
	RING.Anchored = true
789
	WELD:remove()
790
	coroutine.resume(coroutine.create(function()
791
		for i = 1, 35 do
792
			Swait()
793
			MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
794
		end
795
		RING:remove()
796
	end))
797
	ATTACK = false
798-
function PheonixRage()
798+
799
end
800
function ShadowAetherRage()
801
	ATTACK = true
802
	Rooted = true
803-
	local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3, 0), "Pheonix")
803+
804
	local B = false
805
	local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3, 0), "ShadowAether")
806
	WELD:remove()
807
	RING.Anchored = true
808
	coroutine.resume(coroutine.create(function()
809
		for i = 1, 45 do
810
			Swait()
811
			MESH.Scale = MESH.Scale + VT(15, 0, 15)
812
		end
813
	end))
814
	coroutine.resume(coroutine.create(function()
815
		repeat
816
			Swait()
817
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
818
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
819
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
820
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
821
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
822
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
823
		until A == true
824
		repeat
825
			Swait()
826
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
827
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
828
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
829
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
830
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-35), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
831
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-35), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
832
		until B == true
833
		for i = 1, 45 do
834
			Swait()
835
			MESH.Scale = MESH.Scale - VT(15, 0, 15)
836
		end
837
		RING:remove()
838
	end))
839
	wait(1)
840
	for i = 1, 4 do
841
		WACKYEFFECT({
842
			EffectType = "Sphere",
843
			Size = VT(45, 45, 45),
844
			Size2 = VT(0, 0, 0),
845
			Transparency = 1,
846
			Transparency2 = 0.8,
847
			CFrame = CF(Torso.Position),
848
			MoveToPos = nil,
849
			RotationX = 0,
850
			RotationY = 0,
851-
			Color = PHEONIXCOLOR,
851+
852
			Material = "Neon",
853
			Color = ShadowAetherCOLOR,
854
			SoundID = nil,
855
			SoundPitch = nil,
856
			SoundVolume = nil
857
		})
858
		wait(0.5)
859-
	ApplyAoE(Torso.Position, 80, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
859+
860
	A = true
861
	ApplyAoE(Torso.Position, 80, 45, 50, 35, true, MRANDOM(12, 16), "ShadowAether", true, {
862
		SHAKE = 2,
863
		TIMER = 25,
864
		DOESFADE = true
865
	})
866
	WACKYEFFECT({
867
		Time = 60,
868
		EffectType = "Sphere",
869
		Size = VT(40, 40, 40),
870
		Size2 = VT(140, 140, 140),
871
		Transparency = 0,
872
		Transparency2 = 1,
873
		CFrame = CF(Torso.Position),
874
		MoveToPos = nil,
875
		RotationX = 0,
876
		RotationY = 0,
877-
		Color = C3(1, 0.6666666666666666, 0),
877+
878
		Material = "Neon",
879
		Color = C3(0, 0, 0),
880
		SoundID = nil,
881
		SoundPitch = nil,
882
		SoundVolume = nil
883
	})
884
	WACKYEFFECT({
885
		Time = 60,
886
		EffectType = "Sphere",
887
		Size = VT(50, 50, 50),
888
		Size2 = VT(150, 150, 150),
889
		Transparency = 0.5,
890
		Transparency2 = 1,
891
		CFrame = CF(Torso.Position),
892
		MoveToPos = nil,
893
		RotationX = 0,
894
		RotationY = 0,
895-
		Color = PHEONIXCOLOR,
895+
896
		Material = "Neon",
897
		Color = ShadowAetherCOLOR,
898
		SoundID = 462692971,
899
		SoundPitch = 0.8,
900-
	local EXPLOSION = script.PheonixExplosion1:Clone()
900+
901
	})
902
	local EXPLOSION = script.ShadowAetherExplosion1:Clone()
903-
	local EXPLOSION2 = script.PheonixExplosion2:Clone()
903+
904
	EXPLOSION.Enabled = true
905
	local EXPLOSION2 = script.ShadowAetherExplosion2:Clone()
906
	EXPLOSION2.Parent = Torso
907
	EXPLOSION2.Enabled = true
908
	wait(0.3)
909
	EXPLOSION.Enabled = false
910
	EXPLOSION2.Enabled = false
911
	Debris:AddItem(EXPLOSION, 5)
912
	Debris:AddItem(EXPLOSION2, 5)
913
	wait(1)
914
	B = true
915
	ATTACK = false
916
	Rooted = false
917
end
918
function Breath()
919
	ATTACK = true
920
	local POSITION = IT("BodyPosition", RootPart)
921
	POSITION.Position = RootPart.CFrame * CF(0, 35, 35).p
922
	POSITION.D = 1250
923
	POSITION.P = 40000
924-
	local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
924+
925
	WINGS = true
926
	local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)), "ShadowAether")
927
	coroutine.resume(coroutine.create(function()
928
		for i = 1, 20 do
929
			Swait()
930
			MESH.Scale = MESH.Scale + VT(4, 0, 4)
931
		end
932
	end))
933
	for i = 1, 25 do
934
		Swait()
935
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-14.4 * i), RAD(0), RAD(0)), 1 / Animation_Speed)
936
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
937
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
938
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
939
		RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
940
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
941
	end
942
	local GYRO = IT("BodyGyro", RootPart)
943
	GYRO.D = 20
944
	GYRO.P = 4000
945
	GYRO.MaxTorque = VT(0, 40000, 0)
946
	coroutine.resume(coroutine.create(function()
947
		repeat
948
			Swait()
949
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
950
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
951
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
952
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
953
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
954
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
955
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
956
		until ATTACK == false
957
		POSITION:remove()
958
		GYRO:remove()
959
		for i = 1, 20 do
960
			Swait()
961
			MESH.Scale = MESH.Scale - VT(4, 0, 4)
962
		end
963-
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
963+
964
	end))
965
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "ShadowAether")
966
	for i = 1, 35 do
967
		Swait()
968
		MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
969
	end
970-
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
970+
971
	coroutine.resume(coroutine.create(function()
972-
		local PARTICLES1 = script.PheonixFireball1:Clone()
972+
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Flight", VT(5, 5, 5))
973
		FIREBALL.CFrame = CF(RING.Position, Mouse.Hit.p)
974
		local PARTICLES1 = script.ShadowAetherFireball1:Clone()
975-
		local PARTICLES2 = script.PheonixFireball2:Clone()
975+
976
		PARTICLES1.Enabled = true
977
		local PARTICLES2 = script.ShadowAetherFireball2:Clone()
978
		PARTICLES2.Parent = FIREBALL
979
		PARTICLES2.Enabled = true
980
		CreateSound(463593339, FIREBALL, 6, 1, false)
981
		for i = 1, 250 do
982
			Swait()
983
			local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
984-
				ApplyAoE(FIREBALL.Position, 50, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
984+
985
			if HIT then
986
				ApplyAoE(FIREBALL.Position, 50, 45, 50, 35, true, MRANDOM(12, 16), "ShadowAether", true, {
987
					SHAKE = 2,
988
					TIMER = 25,
989
					DOESFADE = true
990
				})
991
				WACKYEFFECT({
992
					Time = 60,
993
					EffectType = "Sphere",
994
					Size = VT(0, 0, 0),
995
					Size2 = VT(100, 100, 100),
996
					Transparency = 0,
997
					Transparency2 = 1,
998
					CFrame = CF(FIREBALL.Position),
999
					MoveToPos = nil,
1000
					RotationX = 0,
1001
					RotationY = 0,
1002-
					Color = C3(1, 0.6666666666666666, 0),
1002+
1003
					Material = "Neon",
1004
					Color = C3(0, 0, 0),
1005
					SoundID = nil,
1006
					SoundPitch = nil,
1007
					SoundVolume = nil
1008
				})
1009
				WACKYEFFECT({
1010
					Time = 60,
1011
					EffectType = "Sphere",
1012
					Size = VT(0, 0, 0),
1013
					Size2 = VT(120, 120, 120),
1014
					Transparency = 0.5,
1015
					Transparency2 = 1,
1016
					CFrame = CF(FIREBALL.Position),
1017
					MoveToPos = nil,
1018
					RotationX = 0,
1019
					RotationY = 0,
1020-
					Color = PHEONIXCOLOR,
1020+
1021
					Material = "Neon",
1022
					Color = ShadowAetherCOLOR,
1023
					SoundID = 462692971,
1024
					SoundPitch = 1,
1025
					SoundVolume = 6
1026
				})
1027-
				local EXPLOSION = script.PheonixExplosion1:Clone()
1027+
1028
				PARTICLES2.Enabled = false
1029
				local EXPLOSION = script.ShadowAetherExplosion1:Clone()
1030-
				local EXPLOSION2 = script.PheonixExplosion2:Clone()
1030+
1031
				EXPLOSION.Enabled = true
1032
				local EXPLOSION2 = script.ShadowAetherExplosion2:Clone()
1033
				EXPLOSION2.Parent = FIREBALL
1034
				EXPLOSION2.Enabled = true
1035
				wait(0.3)
1036
				EXPLOSION.Enabled = false
1037
				EXPLOSION2.Enabled = false
1038
				break
1039
			end
1040
		end
1041
		PARTICLES1.Enabled = false
1042
		PARTICLES2.Enabled = false
1043
		Debris:AddItem(FIREBALL, 7)
1044
	end))
1045
	wait(0.3)
1046
	coroutine.resume(coroutine.create(function()
1047
		WELD:remove()
1048
		RING.Anchored = true
1049
		for i = 1, 35 do
1050
			Swait()
1051
			MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
1052
		end
1053
		RING:remove()
1054
	end))
1055
	WINGS = false
1056
	ATTACK = false
1057
end
1058
function ThreeShootingStars()
1059
	ATTACK = true
1060-
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
1060+
1061
	local POS1, POS2, POS3
1062
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Aether")
1063
	coroutine.resume(coroutine.create(function()
1064
		for i = 1, 35 do
1065
			Swait()
1066
			MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
1067
		end
1068
	end))
1069
	coroutine.resume(coroutine.create(function()
1070
		repeat
1071
			Swait()
1072
			if POS1 then
1073
				coroutine.resume(coroutine.create(function()
1074
					local POSITION = POS1
1075-
					local FIRE = script.SunFireball:Clone()
1075+
1076
					FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
1077
					local FIRE = script.AetherFireball:Clone()
1078-
					local EXPLOSION = script.SunExplosion:Clone()
1078+
1079
					FIRE.Enabled = true
1080
					local EXPLOSION = script.AetherExplosion:Clone()
1081
					EXPLOSION.Parent = FIREBALL
1082
					CreateSound(463598785, FIREBALL, 5, 1, false)
1083
					local DISTANCE = (RootPart.Position - POSITION).Magnitude
1084
					local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 45, 0)) * CF(0, 0, -DISTANCE / 2)
1085
					for i = 1, 75 do
1086
						Swait()
1087
						FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
1088
					end
1089
					FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
1090
					for i = 1, 300 do
1091
						Swait()
1092
						FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
1093
						local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
1094
						if HITFLOOR ~= nil then
1095
							FIRE.Enabled = false
1096-
							ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
1096+
1097
							CreateSound(416328540, FIREBALL, 5, 1, false)
1098
							ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Aether", true, {
1099
								SHAKE = 1,
1100
								TIMER = 6,
1101
								DOESFADE = true
1102
							})
1103
							WACKYEFFECT({
1104
								EffectType = "Sphere",
1105
								Size = VT(0, 0, 0),
1106
								Size2 = VT(150, 150, 150),
1107
								Transparency = 0,
1108
								Transparency2 = 1,
1109
								CFrame = CF(FIREBALL.Position),
1110
								MoveToPos = nil,
1111
								RotationX = 0,
1112
								RotationY = 0,
1113-
								Color = C3(1, 0.6666666666666666, 0),
1113+
1114
								Material = "Neon",
1115
								Color = C3(0, 0, 0),
1116
								SoundID = nil,
1117
								SoundPitch = nil,
1118
								SoundVolume = nil
1119
							})
1120
							wait(5)
1121
							break
1122
						end
1123
					end
1124
					FIREBALL:remove()
1125
				end))
1126
				POS1 = nil
1127
			end
1128
			if POS2 then
1129
				coroutine.resume(coroutine.create(function()
1130
					local POSITION = POS2
1131-
					local FIRE = script.SunFireball:Clone()
1131+
1132
					FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
1133
					local FIRE = script.AetherFireball:Clone()
1134-
					local EXPLOSION = script.SunExplosion:Clone()
1134+
1135
					FIRE.Enabled = true
1136
					local EXPLOSION = script.AetherExplosion:Clone()
1137
					EXPLOSION.Parent = FIREBALL
1138
					CreateSound(463598785, FIREBALL, 5, 1, false)
1139
					local DISTANCE = (RootPart.Position - POSITION).Magnitude
1140
					local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 45, 0)) * CF(0, 0, -DISTANCE / 2)
1141
					for i = 1, 75 do
1142
						Swait()
1143
						FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
1144
					end
1145
					FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
1146
					for i = 1, 300 do
1147
						Swait()
1148
						FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
1149
						local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
1150
						if HITFLOOR ~= nil then
1151
							FIRE.Enabled = false
1152-
							ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
1152+
1153
							CreateSound(416328540, FIREBALL, 5, 1, false)
1154
							ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Aether", true, {
1155
								SHAKE = 1,
1156
								TIMER = 6,
1157
								DOESFADE = true
1158
							})
1159
							WACKYEFFECT({
1160
								EffectType = "Sphere",
1161
								Size = VT(0, 0, 0),
1162
								Size2 = VT(150, 150, 150),
1163
								Transparency = 0,
1164
								Transparency2 = 1,
1165
								CFrame = CF(FIREBALL.Position),
1166
								MoveToPos = nil,
1167
								RotationX = 0,
1168
								RotationY = 0,
1169-
								Color = C3(1, 0.6666666666666666, 0),
1169+
1170
								Material = "Neon",
1171
								Color = C3(0, 0, 0),
1172
								SoundID = nil,
1173
								SoundPitch = nil,
1174
								SoundVolume = nil
1175
							})
1176
							wait(5)
1177
							break
1178
						end
1179
					end
1180
					FIREBALL:remove()
1181
				end))
1182
				POS2 = nil
1183
			end
1184
			if POS3 then
1185
				coroutine.resume(coroutine.create(function()
1186
					local POSITION = POS3
1187-
					local FIRE = script.SunFireball:Clone()
1187+
1188
					FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
1189
					local FIRE = script.AetherFireball:Clone()
1190-
					local EXPLOSION = script.SunExplosion:Clone()
1190+
1191
					FIRE.Enabled = true
1192
					local EXPLOSION = script.AetherExplosion:Clone()
1193
					EXPLOSION.Parent = FIREBALL
1194
					CreateSound(463598785, FIREBALL, 5, 1, false)
1195
					local DISTANCE = (RootPart.Position - POSITION).Magnitude
1196
					local FRAME = CF(VT(POSITION.X + MRANDOM(-45, 45) / 3, RootPart.Position.Y, POSITION.Z + MRANDOM(-45, 45) / 3), RootPart.Position + VT(0, 45, 0)) * CF(0, 0, -DISTANCE / 2)
1197
					for i = 1, 75 do
1198
						Swait()
1199
						FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
1200
					end
1201
					FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
1202
					for i = 1, 300 do
1203
						Swait()
1204
						FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
1205
						local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
1206
						if HITFLOOR ~= nil then
1207
							FIRE.Enabled = false
1208-
							ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
1208+
1209
							CreateSound(416328540, FIREBALL, 5, 1, false)
1210
							ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Aether", true, {
1211
								SHAKE = 1,
1212
								TIMER = 6,
1213
								DOESFADE = true
1214
							})
1215
							WACKYEFFECT({
1216
								EffectType = "Sphere",
1217
								Size = VT(0, 0, 0),
1218
								Size2 = VT(150, 150, 150),
1219
								Transparency = 0,
1220
								Transparency2 = 1,
1221
								CFrame = CF(FIREBALL.Position),
1222
								MoveToPos = nil,
1223
								RotationX = 0,
1224
								RotationY = 0,
1225-
								Color = C3(1, 0.6666666666666666, 0),
1225+
1226
								Material = "Neon",
1227
								Color = C3(0, 0, 0),
1228
								SoundID = nil,
1229
								SoundPitch = nil,
1230
								SoundVolume = nil
1231
							})
1232
							wait(5)
1233
							break
1234
						end
1235
					end
1236
					FIREBALL:remove()
1237
				end))
1238
				POS3 = nil
1239
			end
1240
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
1241
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
1242
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1243
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1244
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1245
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1246
		until ATTACK == false
1247
	end))
1248
	wait(0.4)
1249
	POS1 = Mouse.Hit.p
1250
	wait(0.5)
1251
	POS2 = Mouse.Hit.p
1252
	wait(0.6)
1253
	POS3 = Mouse.Hit.p
1254
	wait(0.3)
1255
	RING.Anchored = true
1256
	WELD:remove()
1257
	coroutine.resume(coroutine.create(function()
1258
		for i = 1, 35 do
1259
			Swait()
1260
			MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
1261
		end
1262
		RING:remove()
1263
	end))
1264
	ATTACK = false
1265-
function PheonixFlare()
1265+
1266
end
1267
function ShadowAetherFlare()
1268
	ATTACK = true
1269
	Rooted = false
1270
	PARTICLES = true
1271
	coroutine.resume(coroutine.create(function()
1272
		repeat
1273
			Swait()
1274
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1275
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
1276
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1277
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1278
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1279
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1280
		until ATTACK == false
1281
	end))
1282
	CreateSound(462676772, Torso, 7, 1, false)
1283
	WINGS1.Acceleration = VT(9, 0, -12)
1284
	WINGS1B.Acceleration = VT(9, 0, -12)
1285
	WINGS2.Acceleration = VT(-9, 0, -12)
1286
	WINGS2B.Acceleration = VT(-9, 0, -12)
1287-
		local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(0, 0, 0))
1287+
1288
	coroutine.resume(coroutine.create(function()
1289
		local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Flight", VT(0, 0, 0))
1290
		WIND.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1291
		local PARTICLES = script.Gale:Clone()
1292
		PARTICLES.Parent = WIND
1293
		PARTICLES.Enabled = true
1294
		CreateSound(376218535, WIND, 6, 1, false)
1295
		for i = 1, 250 do
1296
			Swait()
1297
			local HIT, HITPOS = Raycast(WIND.Position, WIND.CFrame.lookVector, 3, Character)
1298
			WIND.CFrame = WIND.CFrame * CF(0, 0, -2)
1299
			if HIT then
1300
				ApplyAoE(WIND.Position, 45, 10, 30, 135, false, MRANDOM(12, 16), "Nul", true, {
1301
					SHAKE = 3,
1302
					TIMER = 7,
1303
					DOESFADE = true
1304
				})
1305
				CreateSound(260430117, WIND, 3, 1, false)
1306
				WACKYEFFECT({
1307
					Time = 25,
1308
					EffectType = "Wave",
1309
					Size = VT(20, 0, 20),
1310
					Size2 = VT(60, 8, 60),
1311
					Transparency = 0.9,
1312
					Transparency2 = 1,
1313
					CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)),
1314
					MoveToPos = nil,
1315
					RotationX = 0,
1316
					RotationY = 0,
1317
					RotationZ = 0,
1318
					Material = "Neon",
1319
					Color = C3(0.8, 0.8, 0.8),
1320
					SoundID = nil,
1321
					SoundPitch = nil,
1322
					SoundVolume = nil
1323
				})
1324
				WACKYEFFECT({
1325
					Time = 25,
1326
					EffectType = "Wave",
1327
					Size = VT(20, 0, 20),
1328
					Size2 = VT(60, 8, 60),
1329
					Transparency = 0.9,
1330
					Transparency2 = 1,
1331
					CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)),
1332
					MoveToPos = nil,
1333
					RotationX = 0,
1334
					RotationY = 0,
1335
					RotationZ = 0,
1336
					Material = "Neon",
1337
					Color = C3(0.8, 0.8, 0.8),
1338
					SoundID = nil,
1339
					SoundPitch = nil,
1340
					SoundVolume = nil
1341
				})
1342
				break
1343
			end
1344
		end
1345
		PARTICLES.Enabled = false
1346
		Debris:AddItem(WIND, 7)
1347
	end))
1348
	wait(1)
1349
	CreateSound(462676772, Torso, 7, 1, false)
1350
	WINGS1.Acceleration = VT(9, 1, 4)
1351
	WINGS1B.Acceleration = VT(9, 1, 4)
1352
	WINGS2.Acceleration = VT(-9, 1, 4)
1353
	WINGS2B.Acceleration = VT(-9, 1, 4)
1354-
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
1354+
1355
	coroutine.resume(coroutine.create(function()
1356-
		local PARTICLES1 = script.PheonixFireball1:Clone()
1356+
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Flight", VT(5, 5, 5))
1357
		FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1358
		local PARTICLES1 = script.ShadowAetherFireball1:Clone()
1359-
		local PARTICLES2 = script.PheonixFireball2:Clone()
1359+
1360
		PARTICLES1.Enabled = true
1361
		local PARTICLES2 = script.ShadowAetherFireball2:Clone()
1362
		PARTICLES2.Parent = FIREBALL
1363
		PARTICLES2.Enabled = true
1364
		CreateSound(463593339, FIREBALL, 6, 1, false)
1365
		for i = 1, 250 do
1366
			Swait()
1367
			local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
1368-
				ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
1368+
1369
			if HIT then
1370
				ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "ShadowAether", true, {
1371
					SHAKE = 2,
1372
					TIMER = 25,
1373
					DOESFADE = true
1374
				})
1375
				WACKYEFFECT({
1376
					Time = 60,
1377
					EffectType = "Sphere",
1378
					Size = VT(0, 0, 0),
1379
					Size2 = VT(120, 120, 120),
1380
					Transparency = 0,
1381
					Transparency2 = 1,
1382
					CFrame = CF(FIREBALL.Position),
1383
					MoveToPos = nil,
1384
					RotationX = 0,
1385
					RotationY = 0,
1386-
					Color = C3(1, 0.6666666666666666, 0),
1386+
1387
					Material = "Neon",
1388
					Color = C3(0, 0, 0),
1389
					SoundID = nil,
1390
					SoundPitch = nil,
1391
					SoundVolume = nil
1392
				})
1393
				WACKYEFFECT({
1394
					Time = 60,
1395
					EffectType = "Sphere",
1396
					Size = VT(0, 0, 0),
1397
					Size2 = VT(140, 140, 140),
1398
					Transparency = 0.5,
1399
					Transparency2 = 1,
1400
					CFrame = CF(FIREBALL.Position),
1401
					MoveToPos = nil,
1402
					RotationX = 0,
1403
					RotationY = 0,
1404-
					Color = PHEONIXCOLOR,
1404+
1405
					Material = "Neon",
1406
					Color = ShadowAetherCOLOR,
1407
					SoundID = 462692971,
1408
					SoundPitch = 1,
1409
					SoundVolume = 6
1410
				})
1411-
				local EXPLOSION = script.PheonixExplosion1:Clone()
1411+
1412
				PARTICLES2.Enabled = false
1413
				local EXPLOSION = script.ShadowAetherExplosion1:Clone()
1414-
				local EXPLOSION2 = script.PheonixExplosion2:Clone()
1414+
1415
				EXPLOSION.Enabled = true
1416
				local EXPLOSION2 = script.ShadowAetherExplosion2:Clone()
1417
				EXPLOSION2.Parent = FIREBALL
1418
				EXPLOSION2.Enabled = true
1419
				wait(0.3)
1420
				EXPLOSION.Enabled = false
1421
				EXPLOSION2.Enabled = false
1422
				break
1423
			end
1424
		end
1425
		PARTICLES1.Enabled = false
1426
		PARTICLES2.Enabled = false
1427
		Debris:AddItem(FIREBALL, 7)
1428
	end))
1429
	wait(0.5)
1430
	PARTICLES = false
1431
	ATTACK = false
1432-
function PheonixFireballs()
1432+
1433
end
1434
function ShadowAetherFireballs()
1435
	ATTACK = true
1436
	local POWER = 1
1437
	DIRECTTURN = true
1438
	coroutine.resume(coroutine.create(function()
1439
		repeat
1440
			Swait()
1441
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1442
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1443
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1444
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1445
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1446
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1447-
	local RING1, WELD1, MESH1 = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
1447+
1448-
	local RING2, WELD2, MESH2 = MagicRing(RightArm, CF(0, -1.6, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
1448+
1449
	local RING1, WELD1, MESH1 = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "ShadowAether")
1450
	local RING2, WELD2, MESH2 = MagicRing(RightArm, CF(0, -1.6, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "ShadowAether")
1451
	for i = 1, 35 do
1452
		Swait()
1453
		MESH1.Scale = MESH1.Scale + VT(6, 0, 6)
1454
		MESH2.Scale = MESH2.Scale + VT(3, 0, 3)
1455
	end
1456
	repeat
1457
		wait()
1458
		POWER = POWER + 1
1459
	until KEYHOLD == false
1460
	if POWER <= 30 then
1461
		for i = 1, 15 do
1462-
				local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2, 2, 2))
1462+
1463
			coroutine.resume(coroutine.create(function()
1464-
				local PARTICLES1 = script.PheonixFireball1:Clone()
1464+
				local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Flight", VT(2, 2, 2))
1465
				FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
1466
				local PARTICLES1 = script.ShadowAetherFireball1:Clone()
1467-
				local PARTICLES2 = script.PheonixFireball2:Clone()
1467+
1468
				PARTICLES1.Enabled = true
1469
				local PARTICLES2 = script.ShadowAetherFireball2:Clone()
1470
				PARTICLES2.Parent = FIREBALL
1471
				PARTICLES2.Enabled = true
1472
				PARTICLES1.Size = NumberSequence.new(3, 0)
1473
				PARTICLES2.Size = NumberSequence.new(3, 0)
1474
				CreateSound(463593339, FIREBALL, 6, 1, false)
1475
				for i = 1, 250 do
1476
					Swait()
1477
					local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.5, Character)
1478-
						ApplyAoE(FIREBALL.Position, 25, 5, 15, 5, true, MRANDOM(5, 6), "Pheonix", true, {
1478+
1479
					if HIT then
1480
						ApplyAoE(FIREBALL.Position, 25, 5, 15, 5, true, MRANDOM(5, 6), "ShadowAether", true, {
1481
							SHAKE = 2,
1482
							TIMER = 25,
1483
							DOESFADE = true
1484
						})
1485
						WACKYEFFECT({
1486
							Time = 60,
1487
							EffectType = "Sphere",
1488
							Size = VT(0, 0, 0),
1489
							Size2 = VT(50, 50, 50),
1490
							Transparency = 0,
1491
							Transparency2 = 1,
1492
							CFrame = CF(FIREBALL.Position),
1493
							MoveToPos = nil,
1494
							RotationX = 0,
1495
							RotationY = 0,
1496-
							Color = C3(1, 0.6666666666666666, 0),
1496+
1497
							Material = "Neon",
1498
							Color = C3(0, 0, 0),
1499
							SoundID = nil,
1500
							SoundPitch = nil,
1501
							SoundVolume = nil
1502
						})
1503
						WACKYEFFECT({
1504
							Time = 60,
1505
							EffectType = "Sphere",
1506
							Size = VT(0, 0, 0),
1507
							Size2 = VT(60, 60, 60),
1508
							Transparency = 0.5,
1509
							Transparency2 = 1,
1510
							CFrame = CF(FIREBALL.Position),
1511
							MoveToPos = nil,
1512
							RotationX = 0,
1513
							RotationY = 0,
1514-
							Color = PHEONIXCOLOR,
1514+
1515
							Material = "Neon",
1516
							Color = ShadowAetherCOLOR,
1517
							SoundID = 462692971,
1518
							SoundPitch = 1,
1519
							SoundVolume = 6
1520
						})
1521-
						local EXPLOSION = script.PheonixExplosion1:Clone()
1521+
1522
						PARTICLES2.Enabled = false
1523
						local EXPLOSION = script.ShadowAetherExplosion1:Clone()
1524-
						local EXPLOSION2 = script.PheonixExplosion2:Clone()
1524+
1525
						EXPLOSION.Enabled = true
1526
						local EXPLOSION2 = script.ShadowAetherExplosion2:Clone()
1527
						EXPLOSION2.Parent = FIREBALL
1528
						EXPLOSION2.Enabled = true
1529
						wait(0.3)
1530
						EXPLOSION.Enabled = false
1531
						EXPLOSION2.Enabled = false
1532
						break
1533
					end
1534
				end
1535
				PARTICLES1.Enabled = false
1536
				PARTICLES2.Enabled = false
1537
				Debris:AddItem(FIREBALL, 7)
1538
			end))
1539
		end
1540
	else
1541
		for E = 1, 5 do
1542
			do
1543-
					local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
1543+
1544
				coroutine.resume(coroutine.create(function()
1545-
					local PARTICLES1 = script.PheonixFireball1:Clone()
1545+
					local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Flight", VT(5, 5, 5))
1546
					FIREBALL.CFrame = CF(RootPart.Position, CF(Mouse.Hit.p, RootPart.Position) * OFFSET.p)
1547
					local PARTICLES1 = script.ShadowAetherFireball1:Clone()
1548-
					local PARTICLES2 = script.PheonixFireball2:Clone()
1548+
1549
					PARTICLES1.Enabled = true
1550
					local PARTICLES2 = script.ShadowAetherFireball2:Clone()
1551
					PARTICLES2.Parent = FIREBALL
1552
					PARTICLES2.Enabled = true
1553
					CreateSound(463593339, FIREBALL, 6, 1, false)
1554
					for i = 1, 650 do
1555
						Swait()
1556
						local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
1557-
							ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
1557+
1558
						if HIT then
1559
							ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "ShadowAether", true, {
1560
								SHAKE = 2,
1561
								TIMER = 25,
1562
								DOESFADE = true
1563
							})
1564
							WACKYEFFECT({
1565
								Time = 60,
1566
								EffectType = "Sphere",
1567
								Size = VT(0, 0, 0),
1568
								Size2 = VT(120, 120, 120),
1569
								Transparency = 0,
1570
								Transparency2 = 1,
1571
								CFrame = CF(FIREBALL.Position),
1572
								MoveToPos = nil,
1573
								RotationX = 0,
1574
								RotationY = 0,
1575-
								Color = C3(1, 0.6666666666666666, 0),
1575+
1576
								Material = "Neon",
1577
								Color = C3(0, 0, 0),
1578
								SoundID = nil,
1579
								SoundPitch = nil,
1580
								SoundVolume = nil
1581
							})
1582
							WACKYEFFECT({
1583
								Time = 60,
1584
								EffectType = "Sphere",
1585
								Size = VT(0, 0, 0),
1586
								Size2 = VT(140, 140, 140),
1587
								Transparency = 0.5,
1588
								Transparency2 = 1,
1589
								CFrame = CF(FIREBALL.Position),
1590
								MoveToPos = nil,
1591
								RotationX = 0,
1592
								RotationY = 0,
1593-
								Color = PHEONIXCOLOR,
1593+
1594
								Material = "Neon",
1595
								Color = ShadowAetherCOLOR,
1596
								SoundID = 462692971,
1597
								SoundPitch = 1,
1598
								SoundVolume = 6
1599
							})
1600-
							local EXPLOSION = script.PheonixExplosion1:Clone()
1600+
1601
							PARTICLES2.Enabled = false
1602
							local EXPLOSION = script.ShadowAetherExplosion1:Clone()
1603-
							local EXPLOSION2 = script.PheonixExplosion2:Clone()
1603+
1604
							EXPLOSION.Enabled = true
1605
							local EXPLOSION2 = script.ShadowAetherExplosion2:Clone()
1606
							EXPLOSION2.Parent = FIREBALL
1607
							EXPLOSION2.Enabled = true
1608
							wait(0.3)
1609
							EXPLOSION.Enabled = false
1610
							EXPLOSION2.Enabled = false
1611
							break
1612
						end
1613
					end
1614
					PARTICLES1.Enabled = false
1615
					PARTICLES2.Enabled = false
1616
					Debris:AddItem(FIREBALL, 7)
1617
				end))
1618
			end
1619
		end
1620
	end
1621
	wait(0.5)
1622
	WELD1:remove()
1623
	WELD2:remove()
1624
	RING1.Anchored = true
1625
	RING2.Anchored = true
1626
	coroutine.resume(coroutine.create(function()
1627
		for i = 1, 35 do
1628
			Swait()
1629
			MESH1.Scale = MESH1.Scale - VT(6, 0, 6)
1630
			MESH2.Scale = MESH2.Scale - VT(3, 0, 3)
1631
		end
1632
		RING1:remove()
1633
		RING2:remove()
1634
	end))
1635
	DIRECTTURN = false
1636-
function PheonixJump()
1636+
1637
end
1638
function ShadowAetherJump()
1639
	local DONE = false
1640
	local STRENGTH = 15
1641
	local UP = 5
1642-
	local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3.5, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
1642+
1643
	DIRECTTURN = true
1644
	local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3.5, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "ShadowAether")
1645
	for i = 1, 30 do
1646
		Swait()
1647
		MESH.Scale = MESH.Scale + VT(12, 0, 12)
1648
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
1649
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
1650
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1651
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1652
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1653
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
1654
	end
1655
	local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
1656-
				ApplyAoE(RING.Position, 35, 15, 20, 35, true, MRANDOM(12, 16), "Pheonix", true, {
1656+
1657
			coroutine.resume(coroutine.create(function()
1658
				ApplyAoE(RING.Position, 35, 15, 20, 35, true, MRANDOM(12, 16), "ShadowAether", true, {
1659
					SHAKE = 2,
1660
					TIMER = 15,
1661
					DOESFADE = true
1662
				})
1663
				WACKYEFFECT({
1664
					EffectType = "Sphere",
1665
					Size = VT(0, 0, 0),
1666
					Size2 = VT(50, 50, 50),
1667
					Transparency = 0,
1668
					Transparency2 = 1,
1669
					CFrame = CF(RING.Position),
1670
					MoveToPos = nil,
1671
					RotationX = 0,
1672
					RotationY = 0,
1673-
					Color = C3(1, 0.6666666666666666, 0),
1673+
1674
					Material = "Neon",
1675
					Color = C3(0, 0, 0),
1676
					SoundID = nil,
1677
					SoundPitch = nil,
1678
					SoundVolume = nil
1679
				})
1680
				WACKYEFFECT({
1681
					EffectType = "Sphere",
1682
					Size = VT(0, 0, 0),
1683
					Size2 = VT(70, 70, 70),
1684
					Transparency = 0.5,
1685
					Transparency2 = 1,
1686
					CFrame = CF(RING.Position),
1687
					MoveToPos = nil,
1688
					RotationX = 0,
1689
					RotationY = 0,
1690-
					Color = PHEONIXCOLOR,
1690+
1691
					Material = "Neon",
1692
					Color = ShadowAetherCOLOR,
1693
					SoundID = 462692971,
1694
					SoundPitch = 1.2,
1695-
				local EXPLOSION = script.PheonixExplosion1:Clone()
1695+
1696
				})
1697
				local EXPLOSION = script.ShadowAetherExplosion1:Clone()
1698-
				local EXPLOSION2 = script.PheonixExplosion2:Clone()
1698+
1699
				EXPLOSION.Enabled = true
1700
				local EXPLOSION2 = script.ShadowAetherExplosion2:Clone()
1701
				EXPLOSION2.Parent = RING
1702
				EXPLOSION2.Enabled = true
1703
				wait(0.3)
1704
				EXPLOSION.Enabled = false
1705
				EXPLOSION2.Enabled = false
1706
				Debris:AddItem(RING, 3)
1707
			end))
1708
			CreateSound(462676772, Torso, 8, 1, false)
1709
			coroutine.resume(coroutine.create(function()
1710-
					ApplyAoE(Torso.Position, 15, 15, 20, 75, true, MRANDOM(4, 5), "Pheonix", false, {
1710+
1711
					Swait()
1712
					ApplyAoE(Torso.Position, 15, 15, 20, 75, true, MRANDOM(4, 5), "ShadowAether", false, {
1713
						SHAKE = 4,
1714
						TIMER = 5,
1715
						DOESFADE = true
1716
					})
1717
					WACKYEFFECT({
1718
						Time = 10,
1719
						EffectType = "Wave",
1720
						Size = VT(45, 5, 45) / 3,
1721
						Size2 = VT(35, 200, 35) / 5,
1722
						Transparency = 0.8,
1723
						Transparency2 = 1,
1724
						CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
1725
						MoveToPos = nil,
1726
						RotationX = 0,
1727
						RotationY = 5,
1728-
						Color = C3(1, 0.6666666666666666, 0),
1728+
1729
						Material = "Neon",
1730
						Color = C3(0, 0, 0),
1731
						SoundID = nil,
1732
						SoundPitch = nil,
1733
						SoundVolume = nil
1734
					})
1735
					WACKYEFFECT({
1736
						Time = 10,
1737
						EffectType = "Wave",
1738
						Size = VT(55, 5, 55) / 3,
1739
						Size2 = VT(45, 200, 45) / 5,
1740
						Transparency = 0.8,
1741
						Transparency2 = 1,
1742
						CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
1743
						MoveToPos = nil,
1744
						RotationX = 0,
1745
						RotationY = -5,
1746-
						Color = PHEONIXCOLOR,
1746+
1747
						Material = "Neon",
1748
						Color = ShadowAetherCOLOR,
1749
						SoundID = nil,
1750
						SoundPitch = nil,
1751
						SoundVolume = nil
1752
					})
1753
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(28.8 * i)), 2 / Animation_Speed)
1754
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
1755
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1756
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1757
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1758
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
1759
				end
1760
				ATTACK = false
1761
			end))
1762
			repeat
1763
				VALUE2 = true
1764
				Swait()
1765
				BODYPOS.Position = RootPart.CFrame * CF(0, UP, -STRENGTH).p
1766
				if STRENGTH > 2.5 then
1767
					STRENGTH = STRENGTH - 0.1
1768
				else
1769
					STRENGTH = 2.5
1770
				end
1771
				if UP > 0 then
1772
					UP = UP - 0.15
1773
				else
1774
					UP = 0
1775
				end
1776
			until KEYHOLD == false and STRENGTH < 5 and ATTACK == false
1777
			DONE = true
1778
		end
1779
	end)
1780
	repeat
1781
		Swait()
1782
		if STRENGTH < 50 then
1783
			STRENGTH = STRENGTH + 0.15
1784
			MESH.Scale = MESH.Scale + VT(0.5, 0, 0.5)
1785
		end
1786
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
1787
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
1788
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1789
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1790
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
1791
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
1792
	until VALUE2 == true
1793
	DIRECTTURN = false
1794
	WELD:remove()
1795
	RING.Anchored = true
1796
	local SIZE = MESH.Scale.X
1797
	coroutine.resume(coroutine.create(function()
1798
		for i = 1, 30 do
1799
			Swait()
1800
			MESH.Scale = MESH.Scale - VT(SIZE, 0, SIZE) / 30
1801
		end
1802
		RING:remove()
1803
	end))
1804
	repeat
1805
		wait()
1806
	until DONE == true
1807
	KEYDOWN:disconnect()
1808
	VALUE2 = false
1809
end
1810
function DragonFirePillar()
1811
	ATTACK = true
1812
	local POS = Mouse.Hit.p
1813
	APPLYGYRO = false
1814
	local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Fire")
1815
	coroutine.resume(coroutine.create(function()
1816
		repeat
1817
			Swait()
1818
			GYRO.CFrame = CF(RootPart.Position, POS)
1819
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1820
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1821
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1822
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1823
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1824
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1825
		until ATTACK == false
1826
	end))
1827
	for i = 1, 40 do
1828
		MESH.Scale = MESH.Scale + VT(4, 0, 4)
1829
		Swait()
1830
	end
1831
	for i = 1, 6 do
1832
		WACKYEFFECT({
1833
			EffectType = "Sphere",
1834
			Size = VT(35, 35, 35),
1835
			Size2 = VT(0, 0, 0),
1836
			Transparency = 1,
1837
			Transparency2 = 0.5,
1838
			CFrame = CF(POS),
1839
			MoveToPos = nil,
1840
			RotationX = 0,
1841
			RotationY = 0,
1842
			RotationZ = 0,
1843
			Material = "Neon",
1844
			Color = C3(1, 0.3333333333333333, 0),
1845
			SoundID = nil,
1846
			SoundPitch = nil,
1847
			SoundVolume = nil
1848
		})
1849
		wait(1)
1850
	end
1851
	coroutine.resume(coroutine.create(function()
1852
		coroutine.resume(coroutine.create(function()
1853
			for i = 1, 30 do
1854
				Swait()
1855
				MESH.Scale = MESH.Scale - VT(4, 0, 4)
1856
			end
1857
			RING:remove()
1858
		end))
1859
		WACKYEFFECT({
1860
			Time = 640,
1861
			EffectType = "Sphere",
1862
			Size = VT(15, 500, 15),
1863
			Size2 = VT(10, 700, 10),
1864
			Transparency = 0,
1865
			Transparency2 = 1,
1866
			CFrame = CF(POS),
1867
			MoveToPos = nil,
1868
			RotationX = 0,
1869
			RotationY = 0,
1870
			RotationZ = 0,
1871
			Material = "Neon",
1872
			Color = C3(1, 0.3333333333333333, 0),
1873
			SoundID = nil,
1874
			SoundPitch = nil,
1875
			SoundVolume = nil
1876
		})
1877
		for i = 1, 15 do
1878
			ApplyAoE(POS, 35, 20, 30, 15, true, MRANDOM(3, 4), "Fire", true, {
1879
				SHAKE = 5,
1880
				TIMER = 6,
1881
				DOESFADE = true
1882
			})
1883
			WACKYEFFECT({
1884
				Time = 125,
1885
				EffectType = "Wave",
1886
				Size = VT(0, 5, 0),
1887
				Size2 = VT(250, 35, 250),
1888
				Transparency = 0.4,
1889
				Transparency2 = 1,
1890
				CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1891
				MoveToPos = nil,
1892
				RotationX = 0,
1893
				RotationY = MRANDOM(-5, 5) * 2,
1894
				RotationZ = 0,
1895
				Material = "Neon",
1896
				Color = C3(1, 0.3333333333333333, 0),
1897
				SoundID = nil,
1898
				SoundPitch = MRANDOM(9, 11) / 10,
1899
				SoundVolume = 4
1900
			})
1901
			WACKYEFFECT({
1902
				Time = 75,
1903
				EffectType = "Swirl",
1904
				Size = VT(20, 20, 20),
1905
				Size2 = VT(65, 500, 65),
1906
				Transparency = 0.4,
1907
				Transparency2 = 1,
1908
				CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1909
				MoveToPos = nil,
1910
				RotationX = 0,
1911
				RotationY = MRANDOM(-5, 5) * 6,
1912
				RotationZ = 0,
1913
				Material = "Neon",
1914
				Color = C3(1, 0.3333333333333333, 0),
1915
				SoundID = nil,
1916
				SoundPitch = MRANDOM(9, 11) / 10,
1917
				SoundVolume = 4
1918
			})
1919
			WACKYEFFECT({
1920
				Time = 75,
1921
				EffectType = "Swirl",
1922
				Size = VT(20, 20, 20),
1923
				Size2 = VT(45, 600, 45),
1924
				Transparency = 0.4,
1925
				Transparency2 = 1,
1926
				CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
1927
				MoveToPos = nil,
1928
				RotationX = 0,
1929
				RotationY = MRANDOM(-5, 5) * 6,
1930
				RotationZ = 0,
1931
				Material = "Neon",
1932
				Color = C3(1, 0.3333333333333333, 0),
1933
				SoundID = 304529688,
1934
				SoundPitch = MRANDOM(9, 11) / 10,
1935
				SoundVolume = 4
1936
			})
1937
			wait(0.6)
1938
		end
1939
	end))
1940
	APPLYGYRO = true
1941-
function PheonixTornado()
1941+
1942
end
1943
function ShadowAetherTornado()
1944
	ATTACK = true
1945
	local BUILDUP = true
1946
	local HITS = {}
1947
	PARTICLES = true
1948
	coroutine.resume(coroutine.create(function()
1949
		repeat
1950
			Swait()
1951
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
1952
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
1953
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1954
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1955
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1956
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1957
		until BUILDUP == false
1958
	end))
1959
	WINGS1.Acceleration = VT(9, 0, -12)
1960
	WINGS1B.Acceleration = VT(9, 0, -12)
1961
	WINGS2.Acceleration = VT(-9, 0, -12)
1962
	WINGS2B.Acceleration = VT(-9, 0, -12)
1963
	wait(1)
1964
	CreateSound(462676772, Torso, 7, 1, false)
1965
	WINGS1.Acceleration = VT(9, 1, 4)
1966
	WINGS1B.Acceleration = VT(9, 1, 4)
1967
	WINGS2.Acceleration = VT(-9, 1, 4)
1968
	WINGS2B.Acceleration = VT(-9, 1, 4)
1969
	wait(0.25)
1970
	AddChildrenToTable(Torso.Position, workspace, 35, HITS)
1971
	WACKYEFFECT({
1972
		Time = 40,
1973
		EffectType = "Swirl",
1974
		Size = VT(50, 5, 50),
1975
		Size2 = VT(50, 60, 50),
1976
		Transparency = 0.8,
1977
		Transparency2 = 1,
1978
		CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
1979
		MoveToPos = nil,
1980
		RotationX = 0,
1981
		RotationY = -5,
1982
		RotationZ = 0,
1983
		Material = "Neon",
1984
		Color = C3(0.8, 0.8, 0.8),
1985
		SoundID = nil,
1986
		SoundPitch = nil,
1987
		SoundVolume = nil
1988
	})
1989
	BUILDUP = false
1990
	PARTICLES = false
1991
	if #HITS > 0 then
1992
		do
1993
			local BODIES = {}
1994
			if #HITS == 1 then
1995
				for i = 1, #HITS do
1996
					local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
1997
					local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
1998
					if HUM and TORSO and 0 < HUM.Health then
1999
						local POSITION = IT("BodyPosition", TORSO)
2000
						POSITION.Position = RootPart.CFrame * CF(0, 45, -35).p
2001
						POSITION.D = 15
2002
						POSITION.P = 4000000
2003
						table.insert(BODIES, POSITION)
2004
					end
2005
				end
2006
			else
2007
				for i = 1, #HITS do
2008
					local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
2009
					local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
2010
					if HUM and TORSO and 0 < HUM.Health then
2011
						local POSITION = IT("BodyPosition", TORSO)
2012
						POSITION.Position = RootPart.CFrame * CF(0, 35, -35) * ANGLES(RAD(0), RAD(360 / #HITS * i), RAD(0)) * CF(0, 0, 10).p
2013
						POSITION.D = 450
2014
						POSITION.P = 40000
2015
						POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
2016
						table.insert(BODIES, POSITION)
2017
					end
2018
				end
2019
			end
2020
			local POS = RootPart.CFrame * CF(0, 35, -35).p
2021
			wait(1.75)
2022
			BODYPOS.D = 450
2023
			BODYPOS.Position = POS
2024
			wait(0.5)
2025
			APPLYGYRO = false
2026
			local E = 0
2027
			CreateSound(1417056081, RootPart, 10, 0.5, false)
2028
			for i = 1, 50 do
2029
				Swait()
2030
				E = E + 1
2031
				WACKYEFFECT({
2032
					Time = 25,
2033
					EffectType = "Wave",
2034
					Size = VT(45, 5, 45) / 3,
2035
					Size2 = VT(35, 200, 35) / 5,
2036
					Transparency = 0.8,
2037
					Transparency2 = 1,
2038
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2039
					MoveToPos = nil,
2040
					RotationX = 0,
2041
					RotationY = 5,
2042-
					Color = C3(1, 0.6666666666666666, 0),
2042+
2043
					Material = "Neon",
2044
					Color = C3(0, 0, 0),
2045
					SoundID = nil,
2046
					SoundPitch = nil,
2047
					SoundVolume = nil
2048
				})
2049
				WACKYEFFECT({
2050
					Time = 25,
2051
					EffectType = "Wave",
2052
					Size = VT(55, 5, 55) / 3,
2053
					Size2 = VT(45, 200, 45) / 5,
2054
					Transparency = 0.8,
2055
					Transparency2 = 1,
2056
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2057
					MoveToPos = nil,
2058
					RotationX = 0,
2059
					RotationY = -5,
2060-
					Color = PHEONIXCOLOR,
2060+
2061
					Material = "Neon",
2062
					Color = ShadowAetherCOLOR,
2063
					SoundID = nil,
2064
					SoundPitch = nil,
2065
					SoundVolume = nil
2066
				})
2067
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E * 10)) * CF(45, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
2068
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2069
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2070
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2071
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2072-
			local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Tornado", VT(0, 0, 0))
2072+
2073
			end
2074
			local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Tornado", VT(0, 0, 0))
2075
			TORNADO.CFrame = CF(POS)
2076
			local MESH = CreateMesh("SpecialMesh", TORNADO, "FileMesh", "102638417", "", VT(25, 25, 25), VT(0, 0, 0))
2077
			local DECAL = IT("Decal", TORNADO)
2078-
			DECAL.Color3 = BRICKC("Deep orange").Color
2078+
2079
			DECAL.Transparency = 1
2080
			DECAL.Color3 = BRICKC("Really black").Color
2081
			local LOOP = 0
2082
			for i = 1, 250 do
2083
				Swait()
2084
				E = E + 1
2085
				LOOP = LOOP + 1
2086-
					ApplyAoE(TORNADO.Position, 35, 2, 2, 0, true, MRANDOM(3, 4), "Pheonix", true, {
2086+
2087
					LOOP = 0
2088
					ApplyAoE(TORNADO.Position, 35, 2, 2, 0, true, MRANDOM(3, 4), "ShadowAether", true, {
2089
						SHAKE = 2,
2090
						TIMER = 4,
2091
						DOESFADE = true
2092
					})
2093
				end
2094
				TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
2095
				DECAL.Transparency = DECAL.Transparency - 0.002
2096
				WACKYEFFECT({
2097
					Time = 25,
2098
					EffectType = "Wave",
2099
					Size = VT(45, 5, 45) / 3,
2100
					Size2 = VT(35, 200, 35) / 5,
2101
					Transparency = 0.8,
2102
					Transparency2 = 1,
2103
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2104
					MoveToPos = nil,
2105
					RotationX = 0,
2106
					RotationY = 5,
2107-
					Color = C3(1, 0.6666666666666666, 0),
2107+
2108
					Material = "Neon",
2109
					Color = C3(0, 0, 0),
2110
					SoundID = nil,
2111
					SoundPitch = nil,
2112
					SoundVolume = nil
2113
				})
2114
				WACKYEFFECT({
2115
					Time = 25,
2116
					EffectType = "Wave",
2117
					Size = VT(55, 5, 55) / 3,
2118
					Size2 = VT(45, 200, 45) / 5,
2119
					Transparency = 0.9,
2120
					Transparency2 = 1,
2121
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2122
					MoveToPos = nil,
2123
					RotationX = 0,
2124
					RotationY = -5,
2125-
					Color = PHEONIXCOLOR,
2125+
2126
					Material = "Neon",
2127
					Color = ShadowAetherCOLOR,
2128
					SoundID = nil,
2129
					SoundPitch = nil,
2130
					SoundVolume = nil
2131
				})
2132
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E * 10)) * CF(45, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
2133
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2134
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2135
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2136
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2137
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2138
			end
2139
			for i = 1, #BODIES do
2140
				BODIES[i]:remove()
2141
			end
2142
			coroutine.resume(coroutine.create(function()
2143
				for i = 1, 25 do
2144
					Swait()
2145
					DECAL.Transparency = DECAL.Transparency + 0.02
2146
					TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
2147
				end
2148
				TORNADO:remove()
2149
			end))
2150
			for i = 1, 75 do
2151
				Swait()
2152
				E = E + 1
2153
				LOOP = LOOP + 1
2154
				TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 15), RAD(0))
2155
				DECAL.Transparency = DECAL.Transparency - 0.002
2156
				WACKYEFFECT({
2157
					Time = 25,
2158
					EffectType = "Wave",
2159
					Size = VT(45, 5, 45) / 3,
2160
					Size2 = VT(35, 200, 35) / 5,
2161
					Transparency = 0.8,
2162
					Transparency2 = 1,
2163
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2164
					MoveToPos = nil,
2165
					RotationX = 0,
2166
					RotationY = 5,
2167-
					Color = C3(1, 0.6666666666666666, 0),
2167+
2168
					Material = "Neon",
2169
					Color = C3(0, 0, 0),
2170
					SoundID = nil,
2171
					SoundPitch = nil,
2172
					SoundVolume = nil
2173
				})
2174
				WACKYEFFECT({
2175
					Time = 25,
2176
					EffectType = "Wave",
2177
					Size = VT(55, 5, 55) / 3,
2178
					Size2 = VT(45, 200, 45) / 5,
2179
					Transparency = 0.8,
2180
					Transparency2 = 1,
2181
					CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
2182
					MoveToPos = nil,
2183
					RotationX = 0,
2184
					RotationY = -5,
2185-
					Color = PHEONIXCOLOR,
2185+
2186
					Material = "Neon",
2187
					Color = ShadowAetherCOLOR,
2188
					SoundID = nil,
2189
					SoundPitch = nil,
2190
					SoundVolume = nil
2191
				})
2192
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E * 10)) * CF(45 - 0.6 * i, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
2193
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2194
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2195
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2196
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2197
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2198
			end
2199
			BODYPOS.D = 75
2200
		end
2201
	end
2202
	APPLYGYRO = true
2203-
function PheonixNuke()
2203+
2204
end
2205
function ShadowAetherNuke()
2206
	if Mouse.Target ~= nil then
2207
		ATTACK = true
2208
		Rooted = false
2209
		BODYPOS.Position = Mouse.Hit.p + VT(0, 6, 0)
2210
		BODYPOS.D = 700
2211
		coroutine.resume(coroutine.create(function()
2212
			repeat
2213
				Swait()
2214
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2215
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2216
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2217
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2218
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2219
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2220
			until ATTACK == false
2221
		end))
2222
		wait(1.5)
2223
		for i = 1, 4 do
2224
			WACKYEFFECT({
2225
				EffectType = "Sphere",
2226
				Size = VT(125, 125, 125),
2227
				Size2 = VT(0, 0, 0),
2228
				Transparency = 1,
2229
				Transparency2 = 0.8,
2230
				CFrame = CF(Torso.Position),
2231
				MoveToPos = nil,
2232
				RotationX = 0,
2233
				RotationY = 0,
2234-
				Color = PHEONIXCOLOR,
2234+
2235
				Material = "Neon",
2236
				Color = ShadowAetherCOLOR,
2237
				SoundID = nil,
2238
				SoundPitch = nil,
2239
				SoundVolume = nil
2240
			})
2241
			wait(0.7)
2242
		end
2243
		PARTICLES = true
2244
		WINGS1.Acceleration = VT(9, 3, 4)
2245
		WINGS1B.Acceleration = VT(9, 3, 4)
2246
		WINGS2.Acceleration = VT(-9, 3, 4)
2247
		WINGS2B.Acceleration = VT(-9, 3, 4)
2248
		wait(2)
2249
		CreateSound(462676772, Torso, 8, 1, false)
2250
		WINGS1.Acceleration = VT(9, -2, -12)
2251
		WINGS1B.Acceleration = VT(9, -2, -12)
2252
		WINGS2.Acceleration = VT(-9, -2, -12)
2253
		WINGS2B.Acceleration = VT(-9, -2, -12)
2254
		wait(1)
2255-
			ApplyAoE(Torso.Position, 240, 25, 30, 165, true, MRANDOM(5, 7), "Pheonix", true, {
2255+
2256
			local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
2257
			ApplyAoE(Torso.Position, 240, 25, 30, 165, true, MRANDOM(5, 7), "ShadowAether", true, {
2258
				SHAKE = 8,
2259
				TIMER = 25,
2260
				DOESFADE = true
2261
			})
2262
			for i = 1, 5 do
2263
				WACKYEFFECT({
2264
					Time = 120,
2265
					EffectType = "Swirl",
2266
					Size = VT(20, 20, 20),
2267
					Size2 = (VT(180, 180, 180) + VT(50, 50, 50) * i) * 2,
2268
					Transparency = 0.8,
2269
					Transparency2 = 1,
2270
					CFrame = CF(Torso.Position) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
2271
					MoveToPos = nil,
2272
					RotationX = 0,
2273
					RotationY = 6 + i,
2274-
					Color = PHEONIXCOLOR,
2274+
2275
					Material = "Neon",
2276
					Color = ShadowAetherCOLOR,
2277
					SoundID = nil,
2278
					SoundPitch = nil,
2279
					SoundVolume = nil
2280
				})
2281
			end
2282
			WACKYEFFECT({
2283
				Time = 80,
2284
				EffectType = "Sphere",
2285
				Size = VT(40, 40, 40),
2286
				Size2 = VT(240, 240, 240) * 2,
2287
				Transparency = 0,
2288
				Transparency2 = 1,
2289
				CFrame = CF(Torso.Position),
2290
				MoveToPos = nil,
2291
				RotationX = 0,
2292
				RotationY = 0,
2293-
				Color = C3(1, 0.6666666666666666, 0),
2293+
2294
				Material = "Neon",
2295
				Color = C3(0, 0, 0),
2296
				SoundID = nil,
2297
				SoundPitch = 1,
2298
				SoundVolume = 8
2299
			})
2300
			WACKYEFFECT({
2301
				Time = 80,
2302
				EffectType = "Sphere",
2303
				Size = VT(50, 50, 50),
2304
				Size2 = VT(250, 250, 250) * 2,
2305
				Transparency = 0.5,
2306
				Transparency2 = 1,
2307
				CFrame = CF(Torso.Position),
2308
				MoveToPos = nil,
2309
				RotationX = 0,
2310
				RotationY = 0,
2311-
				Color = PHEONIXCOLOR,
2311+
2312
				Material = "Neon",
2313
				Color = ShadowAetherCOLOR,
2314
				SoundID = nil,
2315
				SoundPitch = 0.7,
2316-
			local EXPLOSION = script.PheonixExplosion1:Clone()
2316+
2317
			})
2318
			local EXPLOSION = script.ShadowAetherExplosion1:Clone()
2319-
			local EXPLOSION2 = script.PheonixExplosion2:Clone()
2319+
2320
			EXPLOSION.Enabled = true
2321
			local EXPLOSION2 = script.ShadowAetherExplosion2:Clone()
2322
			EXPLOSION2.Parent = Torso
2323
			EXPLOSION2.Enabled = true
2324
			EXPLOSION.Drag = -5
2325
			EXPLOSION2.Drag = -5
2326
			EXPLOSION:Emit(100)
2327
			EXPLOSION2:Emit(100)
2328
			CreateSound(462692971, Effects, 2, 1, false)
2329
			for i = 1, 5 do
2330
				wait()
2331
				WACKYEFFECT({
2332
					Time = 40,
2333
					EffectType = "Wave",
2334
					Size = VT(20, 0, 20),
2335
					Size2 = (VT(160, 6, 160) + VT(50, 4, 50) * i) * 2,
2336
					Transparency = 0.8,
2337
					Transparency2 = 1,
2338
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
2339
					MoveToPos = nil,
2340
					RotationX = 0,
2341
					RotationY = -12 + i,
2342-
					Color = C3(1, 0.6666666666666666, 0),
2342+
2343
					Material = "Neon",
2344
					Color = C3(0, 0, 0),
2345
					SoundID = nil,
2346
					SoundPitch = nil,
2347
					SoundVolume = nil
2348
				})
2349
				WACKYEFFECT({
2350
					Time = 40,
2351
					EffectType = "Wave",
2352
					Size = VT(20, 0, 20),
2353
					Size2 = (VT(180, 6, 180) + VT(50, 5, 50) * i) * 2,
2354
					Transparency = 0.8,
2355
					Transparency2 = 1,
2356
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
2357
					MoveToPos = nil,
2358
					RotationX = 0,
2359
					RotationY = -12 + i,
2360-
					Color = PHEONIXCOLOR,
2360+
2361
					Material = "Neon",
2362
					Color = ShadowAetherCOLOR,
2363
					SoundID = nil,
2364
					SoundPitch = nil,
2365
					SoundVolume = nil
2366
				})
2367
			end
2368
			EXPLOSION.Enabled = false
2369
			EXPLOSION2.Enabled = false
2370
			Debris:AddItem(EXPLOSION, 5)
2371
			Debris:AddItem(EXPLOSION2, 5)
2372
			wait(0.4)
2373
		end
2374
		wait(0.6)
2375
		PARTICLES = false
2376
		BODYPOS.D = 75
2377
		ATTACK = false
2378
		Rooted = false
2379
	end
2380
end
2381
function MouseDown(Mouse)
2382
	if ATTACK == false then
2383
	end
2384
end
2385
function MouseUp(Mouse)
2386
	HOLD = false
2387
end
2388
function KeyDown(Key)
2389
	KEYHOLD = true
2390
	if EQUIPPED == true then
2391
		if FLIGHT == false then
2392
			if Key == "z" and ATTACK == false then
2393
				ShootingStar()
2394
			end
2395
			if Key == "b" and ATTACK == false then
2396
				Breath()
2397-
				PheonixRage()
2397+
2398
			if Key == "c" and ATTACK == false then
2399
				ShadowAetherRage()
2400
			end
2401
			if Key == "q" and ATTACK == false then
2402
				FLIGHT = true
2403
				GYRO = IT("BodyGyro", RootPart)
2404
				GYRO.D = 75
2405
				GYRO.P = 40000
2406
				GYRO.MaxTorque = VT(40000, 40000, 40000)
2407
				GYRO.cframe = CF(RootPart.Position, RootPart.CFrame * CF(0, 0, -1).p)
2408
				BODYPOS = Instance.new("BodyPosition", RootPart)
2409
				BODYPOS.D = 100
2410
				BODYPOS.P = 20000
2411
				BODYPOS.maxForce = Vector3.new(math.huge, math.huge, math.huge)
2412-
					local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 1) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
2412+
2413
				do
2414
					local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 1) * ANGLES(RAD(-90), RAD(0), RAD(0)), "ShadowAether")
2415
					FLIGHTRING = RING
2416
					coroutine.resume(coroutine.create(function()
2417
						for i = 1, 40 do
2418
							Swait()
2419
							MESH.Scale = MESH.Scale + VT(4, 0, 4)
2420-
					PheonixJump()
2420+
2421
					end))
2422
					ShadowAetherJump()
2423
				end
2424
			end
2425
		elseif FLIGHT == true then
2426
			if Key == "z" and ATTACK == false and VALUE2 == false then
2427
				ThreeShootingStars()
2428-
				PheonixFlare()
2428+
2429
			if Key == "b" and ATTACK == false and VALUE2 == false then
2430
				ShadowAetherFlare()
2431
			end
2432
			if Key == "g" and ATTACK == false and VALUE2 == false then
2433
				DragonFirePillar()
2434-
				PheonixTornado()
2434+
2435
			if Key == "v" and ATTACK == false and VALUE2 == false then
2436
				ShadowAetherTornado()
2437-
				PheonixNuke()
2437+
2438
			if Key == "x" and ATTACK == false and VALUE2 == false then
2439
				ShadowAetherNuke()
2440
			end
2441
			if Key == "q" and ATTACK == false and VALUE2 == false then
2442
				FLIGHT = false
2443
				coroutine.resume(coroutine.create(function()
2444
					if FLIGHTRING then
2445
						local MSH = FLIGHTRING.Mesh
2446
						local RING = FLIGHTRING
2447
						for i = 1, 40 do
2448
							Swait()
2449
							MSH.Scale = MSH.Scale - VT(4, 0, 4)
2450
						end
2451
						RING:remove()
2452
					end
2453
				end))
2454-
				PheonixJump()
2454+
2455
			if Key == "c" and ATTACK == false and VALUE2 == false then
2456
				ShadowAetherJump()
2457-
				PheonixFireballs()()
2457+
2458
			if Key == "e" and ATTACK == false and VALUE2 == false then
2459
				ShadowAetherFireballs()()
2460
			end
2461
			if Key == "w" and ATTACK == false and VALUE2 == false then
2462
				repeat
2463
					VALUE2 = true
2464
					Swait()
2465
					BODYPOS.Position = RootPart.CFrame * CF(0, 0, -2.5).p
2466
				until KEYHOLD == false
2467
				VALUE2 = false
2468
			end
2469
		end
2470
	end
2471
	if Key == "f" and ATTACK == false and FLIGHT == false then
2472
		if EQUIPPED == false then
2473
			EQUIPPED = true
2474
			EYE.Enabled = true
2475
			EYE2.Enabled = true
2476
			sick:Play()
2477
		sick.Pitch = 0.95
2478
		sick.Volume = .1
2479
2480
		else
2481
			EQUIPPED = false
2482
			FLIGHT = false
2483
			EYE.Enabled = false
2484
			EYE2.Enabled = false
2485
			sick:Stop()
2486
		end
2487
	end
2488
	if string.byte(Key) == 50 and ATTACK == false then
2489
		if Speed == 16 then
2490
			Speed = 45
2491
		elseif Speed == 45 then
2492
			Speed = 16
2493
		end
2494
	end
2495
end
2496
function KeyUp(Key)
2497
	KEYHOLD = false
2498
end
2499
Mouse.Button1Down:connect(function(NEWKEY)
2500
	MouseDown(NEWKEY)
2501
end)
2502
Mouse.Button1Up:connect(function(NEWKEY)
2503
	MouseUp(NEWKEY)
2504
end)
2505
Mouse.KeyDown:connect(function(NEWKEY)
2506
	KeyDown(NEWKEY)
2507
end)
2508
Mouse.KeyUp:connect(function(NEWKEY)
2509
	KeyUp(NEWKEY)
2510
end)
2511
function unanchor()
2512
	if UNANCHOR == true then
2513
		g = Character:GetChildren()
2514
		for i = 1, #g do
2515
			if g[i].ClassName == "Part" then
2516
				g[i].Anchored = false
2517
			end
2518
		end
2519
	end
2520
end
2521
Humanoid.Changed:connect(function(Jump)
2522
	if Jump == "Jump" and Disable_Jump == true then
2523
		Humanoid.Jump = false
2524
	end
2525
end)
2526
local LOOP = 0
2527
local TWIST = true
2528
while true do
2529
	Swait()
2530
	script.Parent = WEAPONGUI
2531
	ANIMATE.Parent = nil
2532
	for _, v in next, Humanoid:GetPlayingAnimationTracks() do
2533
		v:Stop()
2534
	end
2535
	SINE = SINE + CHANGE
2536
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2537
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2538
	local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character)
2539
	local WALKSPEEDVALUE = 5
2540
	if ANIM == "Walk" and TORSOVELOCITY > 1 and FLIGHT == false then
2541
		if Humanoid.WalkSpeed <= 20 then
2542
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2543
			Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2544
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE * 2), -0.125 * COS(SINE / WALKSPEEDVALUE) + 0.2 + 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
2545
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE * 2), 0.125 * COS(SINE / WALKSPEEDVALUE) + 0.2 + -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
2546
		else
2547
			RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2.6))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 / Animation_Speed)
2548
			Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2.6))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2549
			RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE * 1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2.6), -0.125 * COS(SINE / WALKSPEEDVALUE * 1.3) + 0.2 + 0.2 * COS(SINE / WALKSPEEDVALUE * 1.3)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE * 1.3))), 0.5 / Animation_Speed)
2550
			LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE * 1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2.6), 0.125 * COS(SINE / WALKSPEEDVALUE * 1.3) + 0.2 + -0.2 * COS(SINE / WALKSPEEDVALUE * 1.3)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE * 1.3))), 0.5 / Animation_Speed)
2551
		end
2552
	elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 or FLIGHT == true then
2553
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2554
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2555
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2556
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2557
	end
2558
	if FLIGHT == false then
2559
		if GYRO ~= nil then
2560
			GYRO:remove()
2561
		end
2562
		if BODYPOS ~= nil then
2563
			BODYPOS:remove()
2564
		end
2565
		if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2566
			ANIM = "Jump"
2567
			if ATTACK == false then
2568
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2569
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2570
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2571
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2572
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
2573
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2574
			end
2575
		elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2576
			ANIM = "Fall"
2577
			if ATTACK == false then
2578
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2579
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2580
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2581
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2582
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2583
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2584
			end
2585
		elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2586
			ANIM = "Idle"
2587
			if ATTACK == false then
2588
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2589
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2590
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2591
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2592
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2593
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2594
			end
2595
		elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2596
			ANIM = "Walk"
2597
			if ATTACK == false then
2598
				if Humanoid.WalkSpeed <= 30 then
2599
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2600
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2601
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.85 / Animation_Speed)
2602
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.85 / Animation_Speed)
2603
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2604
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2605
				elseif Humanoid.WalkSpeed > 30 then
2606
					RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
2607
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
2608
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE * 1.3)), RAD(0), RAD(2)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2609
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(-35), RAD(0)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE * 1.3)), RAD(0), RAD(-2)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2610
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(6)), 2 / Animation_Speed)
2611
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-6)), 2 / Animation_Speed)
2612
				end
2613
			end
2614
		end
2615
	elseif FLIGHT == true then
2616
		if APPLYGYRO == true then
2617
			if VALUE2 == false and DIRECTTURN == false then
2618
				if GYRO ~= nil then
2619
					GYRO.MaxTorque = VT(0, 40000, 0)
2620
					GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2621
				end
2622
			elseif GYRO ~= nil then
2623
				GYRO.MaxTorque = VT(40000, 40000, 40000)
2624
				GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2625
			end
2626
		end
2627
		if VALUE2 == false and ATTACK == false then
2628
			ANIM = "IdleFlight"
2629
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2630
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2631
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2632
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2633
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2634
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2635
		elseif VALUE2 == true and ATTACK == false then
2636
			ANIM = "Flight"
2637
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
2638
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2639
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2640
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2641
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2642
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2643
		end
2644
	end
2645
	local ACCEL1 = VT(10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
2646
	local ACCEL2 = VT(-10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
2647
	if PARTICLES == false then
2648
		WINGS1.Acceleration = ACCEL1
2649
		WINGS1B.Acceleration = ACCEL1
2650
		WINGS2.Acceleration = ACCEL2
2651
		WINGS2B.Acceleration = ACCEL2
2652
	end
2653
	if FLIGHT == true or WINGS == true then
2654
		WINGS1.Enabled = true
2655
		WINGS1B.Enabled = true
2656
		WINGS2.Enabled = true
2657
		WINGS2B.Enabled = true
2658
	else
2659
		WINGS1.Enabled = false
2660
		WINGS1B.Enabled = false
2661
		WINGS2.Enabled = false
2662
		WINGS2B.Enabled = false
2663
	end
2664
	unanchor()
2665
	TRAIL1.Enabled = FLIGHT
2666
	TRAIL2.Enabled = FLIGHT
2667
	LIGHT.Enabled = EQUIPPED
2668
	Humanoid.MaxHealth = "inf"
2669
	Humanoid.Health = "inf"
2670
	if Rooted == false and FLIGHT == false then
2671
		Disable_Jump = false
2672
		Humanoid.WalkSpeed = Speed
2673
	elseif Rooted == true or FLIGHT == true then
2674
		Disable_Jump = true
2675
		Humanoid.WalkSpeed = 0
2676
	end
2677
2678
	if FLIGHT == true then
2679
		sick.Pitch = 1
2680
		sick.Volume = 1.5
2681
		LOOP = LOOP + 1
2682
		if LOOP >= 10 then
2683
			local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
2684
			if HITFLOOR then
2685
				local DISTANCE = (RootPart.Position - HITPOS).Magnitude
2686
				local SIZE = (26 - DISTANCE) * 2
2687
				if TWIST == true then
2688
					TWIST = false
2689
					WACKYEFFECT({
2690
						Time = 25,
2691
						EffectType = "Wave",
2692
						Size = VT(SIZE / 2, 0, SIZE / 2),
2693
						Size2 = VT(SIZE, 6, SIZE),
2694
						Transparency = 0.6,
2695
						Transparency2 = 1,
2696
						CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
2697
						MoveToPos = nil,
2698
						RotationX = 0,
2699
						RotationY = 15,
2700
						RotationZ = 0,
2701
						Material = "Neon",
2702
						Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
2703
						SoundID = nil,
2704
						SoundPitch = nil,
2705
						SoundVolume = nil
2706
					})
2707
				else
2708
					TWIST = true
2709
					WACKYEFFECT({
2710
						Time = 25,
2711
						EffectType = "Wave",
2712
						Size = VT(SIZE / 2, 0, SIZE / 2),
2713
						Size2 = VT(SIZE, 6, SIZE),
2714
						Transparency = 0.6,
2715
						Transparency2 = 1,
2716
						CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
2717
						MoveToPos = nil,
2718
						RotationX = 0,
2719
						RotationY = -15,
2720
						RotationZ = 0,
2721
						Material = "Neon",
2722
						Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
2723
						SoundID = nil,
2724
						SoundPitch = nil,
2725
						SoundVolume = nil
2726
					})
2727
				end
2728
				LOOP = 0
2729
			end
2730
		end
2731
	else
2732-
	Humanoid.Name = "WarPheonix"
2732+
2733
	sick.Parent = Character
2734
	Humanoid.Name = "WarShadowAether"
2735
end
2736
2737
end))
2738
ParticleEmitter1.Name = "RingEmit"
2739
ParticleEmitter1.Parent = LocalScript0
2740
ParticleEmitter1.Transparency = NumberSequence.new(1,0.12568306922913,0,0,0.41530054807663,1)
2741
ParticleEmitter1.Rotation = NumberRange.new(0, 360)
2742
ParticleEmitter1.Size = NumberSequence.new(0,6.2841534614563,5.027322769165,2.8961749076843,0)
2743
ParticleEmitter1.Enabled = false
2744
ParticleEmitter1.LightEmission = 1
2745
ParticleEmitter1.Texture = "rbxassetid://1493478120"
2746
ParticleEmitter1.ZOffset = 1
2747
ParticleEmitter1.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
2748
ParticleEmitter1.Rate = 5
2749
ParticleEmitter1.Speed = NumberRange.new(0, 0)
2750
ParticleEmitter2.Name = "Wing1"
2751
ParticleEmitter2.Parent = LocalScript0
2752
ParticleEmitter2.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
2753
ParticleEmitter2.Rotation = NumberRange.new(0, 360)
2754
ParticleEmitter2.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
2755
ParticleEmitter2.Enabled = false
2756
ParticleEmitter2.LightEmission = 1
2757
ParticleEmitter2.Texture = "rbxassetid://296874871"
2758
ParticleEmitter2.Acceleration = Vector3.new(5, 4, -4)
2759
ParticleEmitter2.Lifetime = NumberRange.new(2, 2)
2760
ParticleEmitter2.Rate = 300
2761
ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
2762-
ParticleEmitter3.Name = "SunFireball"
2762+
2763
ParticleEmitter2.VelocitySpread = 35
2764
ParticleEmitter3.Name = "AetherFireball"
2765
ParticleEmitter3.Parent = LocalScript0
2766
ParticleEmitter3.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2767-
ParticleEmitter3.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2767+
2768
ParticleEmitter3.Size = NumberSequence.new(10,8.125,5.6875,1.1250001192093,0)
2769
ParticleEmitter3.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2770
ParticleEmitter3.Enabled = false
2771
ParticleEmitter3.LightEmission = 0.75
2772
ParticleEmitter3.Texture = "rbxassetid://296874871"
2773
ParticleEmitter3.ZOffset = 0.20000000298023
2774
ParticleEmitter3.Acceleration = Vector3.new(0, 5, 0)
2775
ParticleEmitter3.Lifetime = NumberRange.new(1, 1)
2776
ParticleEmitter3.Rate = 300
2777
ParticleEmitter3.RotSpeed = NumberRange.new(-56, 56)
2778-
ParticleEmitter3.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2778+
2779-
ParticleEmitter4.Name = "SunExplosion"
2779+
2780
ParticleEmitter3.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2781
ParticleEmitter4.Name = "AetherExplosion"
2782
ParticleEmitter4.Parent = LocalScript0
2783
ParticleEmitter4.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2784-
ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2784+
2785
ParticleEmitter4.Size = NumberSequence.new(5,7.875,7.875,5.3125,0)
2786
ParticleEmitter4.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2787
ParticleEmitter4.Enabled = false
2788
ParticleEmitter4.LightEmission = 0.75
2789
ParticleEmitter4.Texture = "rbxassetid://296874871"
2790
ParticleEmitter4.ZOffset = 0.20000000298023
2791
ParticleEmitter4.Acceleration = Vector3.new(0, 5, 0)
2792
ParticleEmitter4.Lifetime = NumberRange.new(0, 3)
2793
ParticleEmitter4.Rate = 300
2794
ParticleEmitter4.RotSpeed = NumberRange.new(-56, 56)
2795-
ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2795+
2796-
ParticleEmitter5.Name = "SunBurn"
2796+
2797
ParticleEmitter4.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2798
ParticleEmitter5.Name = "AetherBurn"
2799
ParticleEmitter5.Parent = LocalScript0
2800
ParticleEmitter5.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2801-
ParticleEmitter5.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2801+
2802
ParticleEmitter5.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
2803
ParticleEmitter5.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2804
ParticleEmitter5.Enabled = false
2805
ParticleEmitter5.LightEmission = 0.75
2806
ParticleEmitter5.Texture = "rbxassetid://296874871"
2807
ParticleEmitter5.ZOffset = 0.5
2808
ParticleEmitter5.Acceleration = Vector3.new(0, 5, 0)
2809
ParticleEmitter5.Lifetime = NumberRange.new(1, 1)
2810
ParticleEmitter5.Rate = 300
2811
ParticleEmitter5.RotSpeed = NumberRange.new(-56, 56)
2812-
ParticleEmitter5.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2812+
2813-
ParticleEmitter6.Name = "PheonixBurn"
2813+
2814
ParticleEmitter5.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2815
ParticleEmitter6.Name = "ShadowAetherBurn"
2816
ParticleEmitter6.Parent = LocalScript0
2817
ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2818
ParticleEmitter6.Rotation = NumberRange.new(0, 360)
2819
ParticleEmitter6.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
2820
ParticleEmitter6.Enabled = false
2821
ParticleEmitter6.LightEmission = 1
2822
ParticleEmitter6.Texture = "rbxassetid://296874871"
2823
ParticleEmitter6.ZOffset = 0.5
2824
ParticleEmitter6.Acceleration = Vector3.new(0, 8, 0)
2825
ParticleEmitter6.Lifetime = NumberRange.new(1, 1)
2826
ParticleEmitter6.Rate = 300
2827
ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
2828-
ParticleEmitter7.Name = "PheonixExplosion1"
2828+
2829
ParticleEmitter6.VelocitySpread = 360
2830
ParticleEmitter7.Name = "ShadowAetherExplosion1"
2831
ParticleEmitter7.Parent = LocalScript0
2832
ParticleEmitter7.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2833
ParticleEmitter7.Rotation = NumberRange.new(0, 360)
2834
ParticleEmitter7.Size = NumberSequence.new(1.3124996423721,4.8125,5.6875,3.4999995231628,0)
2835
ParticleEmitter7.Enabled = false
2836
ParticleEmitter7.LightEmission = 1
2837
ParticleEmitter7.Texture = "rbxassetid://296874871"
2838
ParticleEmitter7.ZOffset = 0.20000000298023
2839
ParticleEmitter7.Acceleration = Vector3.new(0, 5, 0)
2840
ParticleEmitter7.Lifetime = NumberRange.new(0, 3)
2841
ParticleEmitter7.Rate = 600
2842
ParticleEmitter7.RotSpeed = NumberRange.new(-56, 56)
2843-
ParticleEmitter8.Name = "PheonixExplosion2"
2843+
2844
ParticleEmitter7.VelocitySpread = 360
2845
ParticleEmitter8.Name = "ShadowAetherExplosion2"
2846
ParticleEmitter8.Parent = LocalScript0
2847
ParticleEmitter8.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2848-
ParticleEmitter8.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2848+
2849
ParticleEmitter8.Size = NumberSequence.new(4,4)
2850
ParticleEmitter8.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2851
ParticleEmitter8.Enabled = false
2852
ParticleEmitter8.LightEmission = 0.69999998807907
2853
ParticleEmitter8.ZOffset = 0.20000000298023
2854
ParticleEmitter8.Acceleration = Vector3.new(0, 5, 0)
2855
ParticleEmitter8.Lifetime = NumberRange.new(0, 3)
2856
ParticleEmitter8.Rate = 300
2857
ParticleEmitter8.RotSpeed = NumberRange.new(-56, 56)
2858-
ParticleEmitter8.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2858+
2859
ParticleEmitter8.VelocitySpread = 360
2860
ParticleEmitter8.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2861
LocalScript9.Name = "CamShake"
2862
LocalScript9.Parent = LocalScript0
2863
LocalScript9.Disabled = true
2864
NumberValue10.Name = "Timer"
2865
NumberValue10.Parent = LocalScript9
2866
NumberValue10.Value = 35
2867
NumberValue11.Name = "Shake"
2868
NumberValue11.Parent = LocalScript9
2869
NumberValue11.Value = 5
2870
BoolValue12.Name = "DoesFade"
2871
BoolValue12.Parent = LocalScript9
2872
ParticleEmitter13.Name = "Gale"
2873
ParticleEmitter13.Parent = LocalScript0
2874
ParticleEmitter13.Transparency = NumberSequence.new(1,0.91256833076477,0.83606559038162,0.81967210769653,1)
2875
ParticleEmitter13.Rotation = NumberRange.new(0, 360)
2876
ParticleEmitter13.Size = NumberSequence.new(8,6)
2877
ParticleEmitter13.Enabled = false
2878
ParticleEmitter13.Texture = "rbxassetid://1614893149"
2879
ParticleEmitter13.Lifetime = NumberRange.new(1, 1)
2880-
ParticleEmitter14.Name = "PheonixFireball1"
2880+
2881
ParticleEmitter13.Speed = NumberRange.new(0, 0)
2882
ParticleEmitter14.Name = "ShadowAetherFireball1"
2883
ParticleEmitter14.Parent = LocalScript0
2884
ParticleEmitter14.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2885
ParticleEmitter14.Rotation = NumberRange.new(0, 360)
2886
ParticleEmitter14.Size = NumberSequence.new(6.625,4.625,3.4375,1.3124996423721,0)
2887
ParticleEmitter14.Enabled = false
2888
ParticleEmitter14.LightEmission = 1
2889
ParticleEmitter14.Texture = "rbxassetid://296874871"
2890
ParticleEmitter14.ZOffset = 0.5
2891
ParticleEmitter14.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
2892
ParticleEmitter14.Rate = 1000
2893
ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
2894-
ParticleEmitter15.Name = "PheonixFireball2"
2894+
2895
ParticleEmitter14.VelocitySpread = 360
2896
ParticleEmitter15.Name = "ShadowAetherFireball2"
2897
ParticleEmitter15.Parent = LocalScript0
2898
ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2899-
ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2899+
2900
ParticleEmitter15.Size = NumberSequence.new(4.3125,4.1530055999756,2.8961749076843,1.1475414037704,0)
2901
ParticleEmitter15.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2902
ParticleEmitter15.Enabled = false
2903
ParticleEmitter15.LightEmission = 0.69999998807907
2904
ParticleEmitter15.ZOffset = 1
2905
ParticleEmitter15.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
2906
ParticleEmitter15.Rate = 300
2907
ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
2908-
ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2908+
2909
ParticleEmitter15.VelocitySpread = 360
2910
ParticleEmitter15.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2911
ParticleEmitter16.Name = "Wing2"
2912
ParticleEmitter16.Parent = LocalScript0
2913
ParticleEmitter16.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
2914
ParticleEmitter16.Rotation = NumberRange.new(0, 360)
2915
ParticleEmitter16.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
2916
ParticleEmitter16.Enabled = false
2917
ParticleEmitter16.LightEmission = 1
2918
ParticleEmitter16.Texture = "rbxassetid://296874871"
2919
ParticleEmitter16.Acceleration = Vector3.new(-5, 4, -4)
2920
ParticleEmitter16.Lifetime = NumberRange.new(2, 2)
2921
ParticleEmitter16.Rate = 300
2922
ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
2923
ParticleEmitter16.Speed = NumberRange.new(4, 4)
2924
ParticleEmitter16.VelocitySpread = 35
2925
ParticleEmitter17.Name = "Wing1B"
2926
ParticleEmitter17.Parent = LocalScript0
2927
ParticleEmitter17.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
2928-
ParticleEmitter17.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2928+
2929
ParticleEmitter17.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
2930
ParticleEmitter17.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2931
ParticleEmitter17.Enabled = false
2932
ParticleEmitter17.LightEmission = 0.69999998807907
2933
ParticleEmitter17.ZOffset = 0.20000000298023
2934
ParticleEmitter17.Acceleration = Vector3.new(5, 4, -4)
2935
ParticleEmitter17.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
2936
ParticleEmitter17.Rate = 150
2937
ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
2938-
ParticleEmitter17.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2938+
2939
ParticleEmitter17.VelocitySpread = 35
2940
ParticleEmitter17.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2941
ParticleEmitter18.Name = "Eye1"
2942
ParticleEmitter18.EmissionDirection="Right"
2943
ParticleEmitter18.Parent = LocalScript0
2944
ParticleEmitter18.Transparency = NumberSequence.new(0.55737709999084,0.37704920768738,0.4426229596138,0.62841534614563,1)
2945
ParticleEmitter18.Rotation = NumberRange.new(0, 360)
2946
ParticleEmitter18.Size = NumberSequence.new(0.40000000596046,0.12499988079071,0)
2947
ParticleEmitter18.Enabled = false
2948
ParticleEmitter18.LightEmission = 0.75
2949
ParticleEmitter18.Texture = "rbxassetid://296874871"
2950
ParticleEmitter18.ZOffset = 0.20000000298023
2951
ParticleEmitter18.Acceleration = Vector3.new(0, 5, 6)
2952
ParticleEmitter18.Lifetime = NumberRange.new(1, 1)
2953
ParticleEmitter18.Rate = 300
2954
ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
2955
ParticleEmitter18.VelocitySpread = 5
2956
ParticleEmitter19.Name = "Eye2"
2957
ParticleEmitter19.Parent = LocalScript0
2958
ParticleEmitter19.EmissionDirection="Right"
2959
ParticleEmitter19.Transparency = NumberSequence.new(0.71584701538086,0.68306010961533,0.37704920768738,0.4426229596138,0.62841534614563,1)
2960-
ParticleEmitter19.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2960+
2961
ParticleEmitter19.Size = NumberSequence.new(0.65573811531067,0.2732241153717,0)
2962
ParticleEmitter19.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2963
ParticleEmitter19.Enabled = false
2964
ParticleEmitter19.LightEmission = 0.75
2965
ParticleEmitter19.ZOffset = 0.30000001192093
2966
ParticleEmitter19.Acceleration = Vector3.new(0, 5, 6)
2967
ParticleEmitter19.Lifetime = NumberRange.new(0.5, 0.5)
2968
ParticleEmitter19.Rate = 300
2969-
ParticleEmitter19.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2969+
2970
ParticleEmitter19.VelocitySpread = 5
2971
ParticleEmitter19.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2972
ParticleEmitter20.Name = "Wing2B"
2973
ParticleEmitter20.Parent = LocalScript0
2974
ParticleEmitter20.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
2975-
ParticleEmitter20.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2975+
2976
ParticleEmitter20.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
2977
ParticleEmitter20.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2978
ParticleEmitter20.Enabled = false
2979
ParticleEmitter20.LightEmission = 0.69999998807907
2980
ParticleEmitter20.ZOffset = 0.20000000298023
2981
ParticleEmitter20.Acceleration = Vector3.new(-5, 4, -4)
2982
ParticleEmitter20.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
2983
ParticleEmitter20.Rate = 150
2984
ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
2985-
ParticleEmitter20.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
2985+
2986
ParticleEmitter20.VelocitySpread = 35
2987
ParticleEmitter20.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
2988
ParticleEmitter21.Name = "Burn"
2989
ParticleEmitter21.Parent = LocalScript0
2990
ParticleEmitter21.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
2991
ParticleEmitter21.Rotation = NumberRange.new(0, 360)
2992
ParticleEmitter21.Size = NumberSequence.new(0.98360657691956,0.32786905765533,0)
2993
ParticleEmitter21.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
2994
ParticleEmitter21.Enabled = false
2995
ParticleEmitter21.LightEmission = 0.75
2996
ParticleEmitter21.Texture = "rbxassetid://296874871"
2997
ParticleEmitter21.ZOffset = 0.5
2998
ParticleEmitter21.Acceleration = Vector3.new(0, 5, 0)
2999
ParticleEmitter21.Lifetime = NumberRange.new(1, 1)
3000
ParticleEmitter21.Rate = 300
3001
ParticleEmitter21.RotSpeed = NumberRange.new(-56, 56)
3002
ParticleEmitter21.Speed = NumberRange.new(1, 1)
3003-
ParticleEmitter22.Name = "PheonixTrail"
3003+
3004
ParticleEmitter21.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
3005
ParticleEmitter22.Name = "ShadowAetherTrail"
3006
ParticleEmitter22.Parent = LocalScript0
3007
ParticleEmitter22.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3008
ParticleEmitter22.Rotation = NumberRange.new(0, 360)
3009
ParticleEmitter22.Size = NumberSequence.new(0.49180328845978,0.4371589422226,0)
3010
ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
3011
ParticleEmitter22.Enabled = false
3012
ParticleEmitter22.LightEmission = 0.75
3013
ParticleEmitter22.Texture = "rbxassetid://296874871"
3014
ParticleEmitter22.ZOffset = 0.5
3015
ParticleEmitter22.Lifetime = NumberRange.new(1, 1)
3016
ParticleEmitter22.Rate = 300
3017
ParticleEmitter22.RotSpeed = NumberRange.new(-56, 56)
3018
ParticleEmitter22.Speed = NumberRange.new(0, 0)
3019
ParticleEmitter22.VelocitySpread = 360
3020
ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
3021
for i,v in pairs(mas:GetChildren()) do
3022
	v.Parent = game:GetService("Lighting")
3023
	pcall(function() v:MakeJoints() end)
3024
end
3025
mas:Destroy()
3026
for i,v in pairs(cors) do
3027
	spawn(function()
3028
		pcall(v)
3029
	end)
3030
end