PasterXIV

Untitled

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