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