DogeLiker

war poenix (FE)

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