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