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