Advertisement
sneakydodge123

sin

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