Advertisement
AxeuerAlt

Theos Death Fixed

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