hecknes

War Pheonix

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