Advertisement
DefaltedDED

Untitled

May 27th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.51 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Character)
  28.  
  29. IT = Instance.new
  30. CF = CFrame.new
  31. VT = Vector3.new
  32. RAD = math.rad
  33. C3 = Color3.new
  34. UD2 = UDim2.new
  35. BRICKC = BrickColor.new
  36. ANGLES = CFrame.Angles
  37. EULER = CFrame.fromEulerAnglesXYZ
  38. COS = math.cos
  39. ACOS = math.acos
  40. SIN = math.sin
  41. ASIN = math.asin
  42. ABS = math.abs
  43. MRANDOM = math.random
  44. FLOOR = math.floor
  45.  
  46. --//=================================\\
  47. --|| USEFUL VALUES
  48. --\\=================================//
  49.  
  50. Animation_Speed = 3
  51. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  52. local Speed = 16
  53. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  56. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  57. local DAMAGEMULTIPLIER = 1
  58. local ANIM = "Idle"
  59. local ATTACK = false
  60. local EQUIPPED = false
  61. local HOLD = false
  62. local COMBO = 1
  63. local Rooted = false
  64. local SINE = 0
  65. local KEYHOLD = false
  66. local CHANGE = 2 / Animation_Speed
  67. local WALKINGANIM = false
  68. local VALUE1 = false
  69. local VALUE2 = false
  70. local ROBLOXIDLEANIMATION = IT("Animation")
  71. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  72. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  73. --ROBLOXIDLEANIMATION.Parent = Humanoid
  74. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  75. WEAPONGUI.Name = "Weapon GUI"
  76. local Effects = IT("Folder", Character)
  77. Effects.Name = "Effects"
  78. local ANIMATOR = Humanoid.Animator
  79. local ANIMATE = Character.Animate
  80. local UNANCHOR = true
  81. local FLIGHT = false
  82. local BODYPOS = nil
  83. local GYRO = nil
  84. local FLIGHTRING = nil
  85. local PARTICLES = false
  86. local WINGS = false
  87. local APPLYGYRO = true
  88. local DIRECTTURN = false
  89.  
  90. local PHEONIXCOLOR = C3(0.9,0.9,0.9)
  91.  
  92. --//=================================\\
  93. --\\=================================//
  94.  
  95.  
  96. --//=================================\\
  97. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  98. --\\=================================//
  99.  
  100. ArtificialHB = Instance.new("BindableEvent", script)
  101. ArtificialHB.Name = "ArtificialHB"
  102.  
  103. script:WaitForChild("ArtificialHB")
  104.  
  105. frame = Frame_Speed
  106. tf = 0
  107. allowframeloss = false
  108. tossremainder = false
  109. lastframe = tick()
  110. script.ArtificialHB:Fire()
  111.  
  112. game:GetService("RunService").Heartbeat:connect(function(s, p)
  113. tf = tf + s
  114. if tf >= frame then
  115. if allowframeloss then
  116. script.ArtificialHB:Fire()
  117. lastframe = tick()
  118. else
  119. for i = 1, math.floor(tf / frame) do
  120. script.ArtificialHB:Fire()
  121. end
  122. lastframe = tick()
  123. end
  124. if tossremainder then
  125. tf = 0
  126. else
  127. tf = tf - frame * math.floor(tf / frame)
  128. end
  129. end
  130. end)
  131.  
  132. --//=================================\\
  133. --\\=================================//
  134.  
  135. --//=================================\\
  136. --|| SOME FUNCTIONS
  137. --\\=================================//
  138.  
  139. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  140. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  141. end
  142.  
  143. function PositiveAngle(NUMBER)
  144. if NUMBER >= 0 then
  145. NUMBER = 0
  146. end
  147. return NUMBER
  148. end
  149.  
  150. function NegativeAngle(NUMBER)
  151. if NUMBER <= 0 then
  152. NUMBER = 0
  153. end
  154. return NUMBER
  155. end
  156.  
  157. function Swait(NUMBER)
  158. if NUMBER == 0 or NUMBER == nil then
  159. ArtificialHB.Event:wait()
  160. else
  161. for i = 1, NUMBER do
  162. ArtificialHB.Event:wait()
  163. end
  164. end
  165. end
  166.  
  167. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  168. local NEWMESH = IT(MESH)
  169. if MESH == "SpecialMesh" then
  170. NEWMESH.MeshType = MESHTYPE
  171. if MESHID ~= "nil" and MESHID ~= "" then
  172. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  173. end
  174. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  175. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  176. end
  177. end
  178. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  179. NEWMESH.Scale = SCALE
  180. NEWMESH.Parent = PARENT
  181. return NEWMESH
  182. end
  183.  
  184. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  185. local NEWPART = IT("Part")
  186. NEWPART.formFactor = FORMFACTOR
  187. NEWPART.Reflectance = REFLECTANCE
  188. NEWPART.Transparency = TRANSPARENCY
  189. NEWPART.CanCollide = false
  190. NEWPART.Locked = true
  191. NEWPART.Anchored = true
  192. if ANCHOR == false then
  193. NEWPART.Anchored = false
  194. end
  195. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  196. NEWPART.Name = NAME
  197. NEWPART.Size = SIZE
  198. NEWPART.Position = Torso.Position
  199. NEWPART.Material = MATERIAL
  200. NEWPART:BreakJoints()
  201. NEWPART.Parent = PARENT
  202. return NEWPART
  203. end
  204.  
  205. local function weldBetween(a, b)
  206. local weldd = Instance.new("ManualWeld")
  207. weldd.Part0 = a
  208. weldd.Part1 = b
  209. weldd.C0 = CFrame.new()
  210. weldd.C1 = b.CFrame:inverse() * a.CFrame
  211. weldd.Parent = a
  212. return weldd
  213. end
  214.  
  215.  
  216. function QuaternionFromCFrame(cf)
  217. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  218. local trace = m00 + m11 + m22
  219. if trace > 0 then
  220. local s = math.sqrt(1 + trace)
  221. local recip = 0.5 / s
  222. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  223. else
  224. local i = 0
  225. if m11 > m00 then
  226. i = 1
  227. end
  228. if m22 > (i == 0 and m00 or m11) then
  229. i = 2
  230. end
  231. if i == 0 then
  232. local s = math.sqrt(m00 - m11 - m22 + 1)
  233. local recip = 0.5 / s
  234. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  235. elseif i == 1 then
  236. local s = math.sqrt(m11 - m22 - m00 + 1)
  237. local recip = 0.5 / s
  238. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  239. elseif i == 2 then
  240. local s = math.sqrt(m22 - m00 - m11 + 1)
  241. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  242. end
  243. end
  244. end
  245.  
  246. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  247. local xs, ys, zs = x + x, y + y, z + z
  248. local wx, wy, wz = w * xs, w * ys, w * zs
  249. local xx = x * xs
  250. local xy = x * ys
  251. local xz = x * zs
  252. local yy = y * ys
  253. local yz = y * zs
  254. local zz = z * zs
  255. 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))
  256. end
  257.  
  258. function QuaternionSlerp(a, b, t)
  259. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  260. local startInterp, finishInterp;
  261. if cosTheta >= 0.0001 then
  262. if (1 - cosTheta) > 0.0001 then
  263. local theta = ACOS(cosTheta)
  264. local invSinTheta = 1 / SIN(theta)
  265. startInterp = SIN((1 - t) * theta) * invSinTheta
  266. finishInterp = SIN(t * theta) * invSinTheta
  267. else
  268. startInterp = 1 - t
  269. finishInterp = t
  270. end
  271. else
  272. if (1 + cosTheta) > 0.0001 then
  273. local theta = ACOS(-cosTheta)
  274. local invSinTheta = 1 / SIN(theta)
  275. startInterp = SIN((t - 1) * theta) * invSinTheta
  276. finishInterp = SIN(t * theta) * invSinTheta
  277. else
  278. startInterp = t - 1
  279. finishInterp = t
  280. end
  281. end
  282. 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
  283. end
  284.  
  285. function Clerp(a, b, t)
  286. local qa = {QuaternionFromCFrame(a)}
  287. local qb = {QuaternionFromCFrame(b)}
  288. local ax, ay, az = a.x, a.y, a.z
  289. local bx, by, bz = b.x, b.y, b.z
  290. local _t = 1 - t
  291. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  292. end
  293.  
  294. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  295. local frame = IT("Frame")
  296. frame.BackgroundTransparency = TRANSPARENCY
  297. frame.BorderSizePixel = BORDERSIZEPIXEL
  298. frame.Position = POSITION
  299. frame.Size = SIZE
  300. frame.BackgroundColor3 = COLOR
  301. frame.BorderColor3 = BORDERCOLOR
  302. frame.Name = NAME
  303. frame.Parent = PARENT
  304. return frame
  305. end
  306.  
  307. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  308. local label = IT("TextLabel")
  309. label.BackgroundTransparency = 1
  310. label.Size = UD2(1, 0, 1, 0)
  311. label.Position = UD2(0, 0, 0, 0)
  312. label.TextColor3 = TEXTCOLOR
  313. label.TextStrokeTransparency = STROKETRANSPARENCY
  314. label.TextTransparency = TRANSPARENCY
  315. label.FontSize = TEXTFONTSIZE
  316. label.Font = TEXTFONT
  317. label.BorderSizePixel = BORDERSIZEPIXEL
  318. label.TextScaled = false
  319. label.Text = TEXT
  320. label.Name = NAME
  321. label.Parent = PARENT
  322. return label
  323. end
  324.  
  325. function NoOutlines(PART)
  326. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  327. end
  328.  
  329. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  330. local NEWWELD = IT(TYPE)
  331. NEWWELD.Part0 = PART0
  332. NEWWELD.Part1 = PART1
  333. NEWWELD.C0 = C0
  334. NEWWELD.C1 = C1
  335. NEWWELD.Parent = PARENT
  336. return NEWWELD
  337. end
  338.  
  339. local S = IT("Sound")
  340. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  341. local NEWSOUND = nil
  342. coroutine.resume(coroutine.create(function()
  343. NEWSOUND = S:Clone()
  344. NEWSOUND.Parent = PARENT
  345. NEWSOUND.Volume = VOLUME
  346. NEWSOUND.Pitch = PITCH
  347. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  348. NEWSOUND:play()
  349. if DOESLOOP == true then
  350. NEWSOUND.Looped = true
  351. else
  352. repeat wait(1) until NEWSOUND.Playing == false
  353. NEWSOUND:remove()
  354. end
  355. end))
  356. return NEWSOUND
  357. end
  358.  
  359. function CFrameFromTopBack(at, top, back)
  360. local right = top:Cross(back)
  361. 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)
  362. end
  363.  
  364. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  365. function WACKYEFFECT(Table)
  366. local TYPE = (Table.EffectType or "Sphere")
  367. local SIZE = (Table.Size or VT(1,1,1))
  368. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  369. local TRANSPARENCY = (Table.Transparency or 0)
  370. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  371. local CFRAME = (Table.CFrame or Torso.CFrame)
  372. local MOVEDIRECTION = (Table.MoveToPos or nil)
  373. local ROTATION1 = (Table.RotationX or 0)
  374. local ROTATION2 = (Table.RotationY or 0)
  375. local ROTATION3 = (Table.RotationZ or 0)
  376. local MATERIAL = (Table.Material or "Neon")
  377. local COLOR = (Table.Color or C3(1,1,1))
  378. local TIME = (Table.Time or 45)
  379. local SOUNDID = (Table.SoundID or nil)
  380. local SOUNDPITCH = (Table.SoundPitch or nil)
  381. local SOUNDVOLUME = (Table.SoundVolume or nil)
  382. coroutine.resume(coroutine.create(function()
  383. local PLAYSSOUND = false
  384. local SOUND = nil
  385. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  386. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  387. PLAYSSOUND = true
  388. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  389. end
  390. EFFECT.Color = COLOR
  391. local MSH = nil
  392. if TYPE == "Sphere" then
  393. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  394. elseif TYPE == "Block" then
  395. MSH = IT("BlockMesh",EFFECT)
  396. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  397. elseif TYPE == "Wave" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  399. elseif TYPE == "Ring" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  401. elseif TYPE == "Slash" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  403. elseif TYPE == "Round Slash" then
  404. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  405. elseif TYPE == "Swirl" then
  406. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  407. elseif TYPE == "Skull" then
  408. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  409. elseif TYPE == "Crystal" then
  410. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  411. end
  412. if MSH ~= nil then
  413. local MOVESPEED = nil
  414. if MOVEDIRECTION ~= nil then
  415. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  416. end
  417. local GROWTH = SIZE - ENDSIZE
  418. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  419. if TYPE == "Block" then
  420. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  421. else
  422. EFFECT.CFrame = CFRAME
  423. end
  424. for LOOP = 1, TIME+1 do
  425. Swait()
  426. MSH.Scale = MSH.Scale - GROWTH/TIME
  427. if TYPE == "Wave" then
  428. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  429. end
  430. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  431. if TYPE == "Block" then
  432. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  433. else
  434. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  435. end
  436. if MOVEDIRECTION ~= nil then
  437. local ORI = EFFECT.Orientation
  438. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  439. EFFECT.Orientation = ORI
  440. end
  441. end
  442. if PLAYSSOUND == false then
  443. EFFECT:remove()
  444. else
  445. repeat Swait() until SOUND.Playing == false
  446. EFFECT:remove()
  447. end
  448. else
  449. if PLAYSSOUND == false then
  450. EFFECT:remove()
  451. else
  452. repeat Swait() until SOUND.Playing == false
  453. EFFECT:remove()
  454. end
  455. end
  456. end))
  457. end
  458.  
  459. function MakeForm(PART,TYPE)
  460. if TYPE == "Cyl" then
  461. local MSH = IT("CylinderMesh",PART)
  462. elseif TYPE == "Ball" then
  463. local MSH = IT("SpecialMesh",PART)
  464. MSH.MeshType = "Sphere"
  465. elseif TYPE == "Wedge" then
  466. local MSH = IT("SpecialMesh",PART)
  467. MSH.MeshType = "Wedge"
  468. end
  469. end
  470.  
  471. Debris = game:GetService("Debris")
  472.  
  473. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  474. local DIRECTION = CF(StartPos,EndPos).lookVector
  475. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  476. end
  477.  
  478. function turnto(position)
  479. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  480. end
  481.  
  482. local DECAL = IT("Decal",nil)
  483.  
  484. function MagicRing(PART,CFRAME,VARIANT)
  485. if VARIANT == "Pheonix" or VARIANT == "Sun" or VARIANT == "Fire" then
  486. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),false)
  487. local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  488. local MESH = IT("BlockMesh",RING)
  489. local BOTTOMTEXTURE = DECAL:Clone()
  490. BOTTOMTEXTURE.Parent = RING
  491. BOTTOMTEXTURE.Face = "Bottom"
  492. BOTTOMTEXTURE.Name = "BottomTexture"
  493. local TOPTEXTURE = DECAL:Clone()
  494. TOPTEXTURE.Parent = RING
  495. TOPTEXTURE.Face = "Top"
  496. TOPTEXTURE.Name = "TopTexture"
  497. local T = script.RingEmit:Clone()
  498. T.Parent = RING
  499. local LIGHT = IT("PointLight",RING)
  500. if VARIANT == "Pheonix" then
  501. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617574752"
  502. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617575377"
  503. T.Color = ColorSequence.new(PHEONIXCOLOR)
  504. CreateSound(462809305,RING,5,1,false)
  505. elseif VARIANT == "Sun" then
  506. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217786509"
  507. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217788749"
  508. T.Color = ColorSequence.new(BRICKC"Bright orange".Color)
  509. CreateSound(462809305,RING,5,1,false)
  510. LIGHT.Color = BRICKC"Bright orange".Color
  511. elseif VARIANT == "Fire" then
  512. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222222911"
  513. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222223218"
  514. T.Color = ColorSequence.new(BRICKC"Bright orange".Color)
  515. CreateSound(343211019,RING,5,1,false)
  516. LIGHT.Color = C3(1,85/255,0)
  517. end
  518. T.LightEmission = 1
  519. T:Emit(5)
  520. Debris:AddItem(T,5)
  521. return RING,WELD,MESH
  522. end
  523. end
  524.  
  525. function AddChildrenToTable(FROM,PARENT,DIST,TABLE)
  526. for _, c in pairs(PARENT:GetDescendants()) do
  527. if c.ClassName == "Model" then
  528. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  529. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  530. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  531. if (TORSO.Position - FROM).Magnitude < DIST then
  532. table.insert(TABLE,c)
  533. end
  534. end
  535. end
  536. end
  537. end
  538.  
  539. --//=================================\\
  540. --|| WEAPON CREATION
  541. --\\=================================//
  542.  
  543. GUI.Parent = RootPart
  544. GUI.PlayerToHideFrom = Player
  545. GUI.PlayerName.Text = Player.Name
  546.  
  547. local BACKATTACHMENT1 = IT("Attachment",Torso)
  548. BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
  549. local BACKATTACHMENT2 = IT("Attachment",Torso)
  550. BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
  551. local WINGS2 = script.Wing2
  552. local WINGS2B = script.Wing2B
  553. WINGS1.Parent = BACKATTACHMENT1
  554. WINGS1B.Parent = BACKATTACHMENT1
  555. WINGS2.Parent = BACKATTACHMENT2
  556. WINGS2B.Parent = BACKATTACHMENT2
  557. local FACEATTACHMENT = IT("Attachment",Head)
  558. FACEATTACHMENT.Position = VT(0.167, 0.272, -0.5)
  559. FACEATTACHMENT.Orientation = VT(0, 35, 0)
  560. local EYE = script.Eye1
  561. EYE.Parent = FACEATTACHMENT
  562. local EYE2 = script.Eye2
  563. EYE2.Parent = FACEATTACHMENT
  564.  
  565. Humanoid.Died:connect(function()
  566. ATTACK = true
  567. end)
  568.  
  569. --//=================================\\
  570. --|| DAMAGING
  571. --\\=================================//
  572.  
  573. function ApplyDamage(Humanoid,Damage,TorsoPart,Time,AfterBurn,Variant)
  574. local defence = Instance.new("BoolValue",Humanoid.Parent)
  575. defence.Name = ("HitBy"..Player.Name)
  576. game:GetService("Debris"):AddItem(defence, 0.001)
  577. Damage = Damage * DAMAGEMULTIPLIER
  578. if Humanoid.Health ~= 0 then
  579. local CritChance = MRANDOM(1,100)
  580. if Damage > Humanoid.Health then
  581. Damage = math.ceil(Humanoid.Health)
  582. if Damage == 0 then
  583. Damage = 0.1
  584. end
  585. end
  586. Humanoid.Health = Humanoid.Health - Damage
  587. if AfterBurn == true then
  588. Afterburn(Humanoid,Time,Damage/5,Variant)
  589. end
  590. end
  591. end
  592.  
  593. function Afterburn(Human,Time,Damage,Variant)
  594. coroutine.resume(coroutine.create(function()
  595. if Human then
  596. if Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso") then
  597. local Torso = Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")
  598. local FIRE = nil
  599. if Variant == "Pheonix" then
  600. FIRE = script.PheonixBurn:Clone()
  601. FIRE.Parent = Torso
  602. FIRE.Enabled = true
  603. elseif Variant == "Sun" then
  604. FIRE = script.SunBurn:Clone()
  605. FIRE.Parent = Torso
  606. FIRE.Enabled = true
  607. elseif Variant == "Fire" then
  608. FIRE = script.Burn:Clone()
  609. FIRE.Parent = Torso
  610. FIRE.Enabled = true
  611. end
  612. for i = 1, Time do
  613. wait(0.5)
  614. Human.Health = Human.Health - Damage
  615. end
  616. wait(0.25)
  617. FIRE.Enabled = false
  618. Debris:AddItem(FIRE,1.5)
  619. end
  620. end
  621. end))
  622. end
  623.  
  624. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,AFTERBURN,TIME,VARIANT,DOESCAMSHAKE,CAMVALUES)
  625. local CHILDREN = workspace:GetDescendants()
  626. for index, CHILD in pairs(CHILDREN) do
  627. if CHILD.ClassName == "Model" and CHILD ~= Character then
  628. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  629. if HUM then
  630. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  631. if TORSO then
  632. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  633. local DMG = MRANDOM(MINDMG,MAXDMG)
  634. ApplyDamage(HUM,DMG,TORSO,TIME,AFTERBURN,VARIANT)
  635. if HUM.MaxHealth == math.huge then
  636. CHILD:BreakJoints()
  637. end
  638. if DOESCAMSHAKE == true then
  639. local CAMSHAKER = script.CamShake:Clone()
  640. CAMSHAKER.Shake.Value = CAMVALUES.SHAKE
  641. CAMSHAKER.Timer.Value = CAMVALUES.TIMER
  642. CAMSHAKER.DoesFade.Value = CAMVALUES.DOESFADE
  643. CAMSHAKER.Parent = CHILD
  644. CAMSHAKER.Disabled = false
  645. end
  646. if FLING > 0 then
  647. for _, c in pairs(CHILD:GetChildren()) do
  648. if c:IsA("BasePart") then
  649. local bv = Instance.new("BodyVelocity")
  650. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  651. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  652. bv.Parent = c
  653. Debris:AddItem(bv,0.05)
  654. end
  655. end
  656. end
  657. end
  658. end
  659. end
  660. end
  661. end
  662. end
  663.  
  664. --//=================================\\
  665. --|| LAND ATTACKS
  666. --\\=================================//
  667.  
  668. function ShootingStar()
  669. ATTACK = true
  670. Rooted = false
  671. local GYRO = IT("BodyGyro",RootPart)
  672. GYRO.D = 20
  673. GYRO.P = 4000
  674. GYRO.MaxTorque = VT(0,40000,0)
  675. local RING,WELD,MESH = MagicRing(RightArm,CF(0,-1.2,0),"Sun")
  676. coroutine.resume(coroutine.create(function()
  677. for i = 1, 35 do
  678. Swait()
  679. MESH.Scale = MESH.Scale + VT(2.6,0,2.6)
  680. end
  681. end))
  682. for i=0, 1.8, 0.1 / Animation_Speed do
  683. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  684. Swait()
  685. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  686. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  687. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  688. 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)
  689. 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)
  690. 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)
  691. end
  692. coroutine.resume(coroutine.create(function()
  693. local POSITION = Mouse.Hit.p
  694. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3,3,3))
  695. FIREBALL.CFrame = RightArm.CFrame*CF(0,-3,0)
  696. local FIRE = script.SunFireball:Clone()
  697. FIRE.Parent = FIREBALL
  698. FIRE.Enabled = true
  699. local EXPLOSION = script.SunExplosion:Clone()
  700. EXPLOSION.Parent = FIREBALL
  701. CreateSound(463598785,FIREBALL,5,1,false)
  702. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  703. 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)
  704. for i = 1, 75 do
  705. Swait()
  706. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  707. end
  708. FIREBALL.CFrame = CF(FIREBALL.Position,POSITION)
  709. for i = 1, 300 do
  710. Swait()
  711. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  712. local HITFLOOR,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  713. if HITFLOOR ~= nil then
  714. FIRE.Enabled = false
  715. EXPLOSION:Emit(500)
  716. CreateSound(416328540,FIREBALL,5,1,false)
  717. ApplyAoE(FIREBALL.Position,75,25,35,65,true,MRANDOM(5,15),"Sun",true,{SHAKE = 1, TIMER = 6, DOESFADE = true})
  718. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  719. wait(5)
  720. break
  721. end
  722. end
  723. FIREBALL:remove()
  724. end))
  725. GYRO:remove()
  726. RING.Anchored = true
  727. WELD:remove()
  728. coroutine.resume(coroutine.create(function()
  729. for i = 1, 35 do
  730. Swait()
  731. MESH.Scale = MESH.Scale - VT(2.6,0,2.6)
  732. end
  733. RING:remove()
  734. end))
  735. ATTACK = false
  736. Rooted = false
  737. end
  738.  
  739. function PheonixRage()
  740. ATTACK = true
  741. Rooted = true
  742. local A = false
  743. local B = false
  744. local RING,WELD,MESH = MagicRing(RootPart,CF(0,-3,0),"Pheonix")
  745. WELD:remove()
  746. RING.Anchored = true
  747. coroutine.resume(coroutine.create(function()
  748. for i = 1, 45 do
  749. Swait()
  750. MESH.Scale = MESH.Scale + VT(15,0,15)
  751. end
  752. end))
  753. coroutine.resume(coroutine.create(function()
  754. repeat
  755. Swait()
  756. 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)
  757. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  758. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  759. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  760. 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)
  761. 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)
  762. until A == true
  763. repeat
  764. Swait()
  765. 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)
  766. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  767. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  768. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  769. 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)
  770. 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)
  771. until B == true
  772. for i = 1, 45 do
  773. Swait()
  774. MESH.Scale = MESH.Scale - VT(15,0,15)
  775. end
  776. RING:remove()
  777. end))
  778. wait(1)
  779. for i = 1, 4 do
  780. WACKYEFFECT({EffectType = "Sphere", Size = VT(45,45,45), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.8, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  781. wait(0.5)
  782. end
  783. A = true
  784. ApplyAoE(Torso.Position,80,45,50,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  785. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(40,40,40), Size2 = VT(140,140,140), Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  786. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(150,150,150), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 0.8, SoundVolume = 6})
  787. local EXPLOSION = script.PheonixExplosion1:Clone()
  788. EXPLOSION.Parent = Torso
  789. EXPLOSION.Enabled = true
  790. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  791. EXPLOSION2.Parent = Torso
  792. EXPLOSION2.Enabled = true
  793. wait(0.3)
  794. EXPLOSION.Enabled = false
  795. EXPLOSION2.Enabled = false
  796. Debris:AddItem(EXPLOSION,5)
  797. Debris:AddItem(EXPLOSION2,5)
  798. wait(1)
  799. B = true
  800. ATTACK = false
  801. Rooted = false
  802. end
  803.  
  804. function Breath()
  805. ATTACK = true
  806. local POSITION = IT("BodyPosition",RootPart)
  807. POSITION.Position = RootPart.CFrame*CF(0,35,35).p
  808. POSITION.D = 1250
  809. POSITION.P = 40000
  810. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  811. WINGS = true
  812. local RING,WELD,MESH = MagicRing(Torso,CF(0,0.5,0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)),"Pheonix")
  813. coroutine.resume(coroutine.create(function()
  814. for i = 1, 20 do
  815. Swait()
  816. MESH.Scale = MESH.Scale + VT(4,0,4)
  817. end
  818. end))
  819. for i = 1, 25 do
  820. Swait()
  821. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-14.4 * i), RAD(0), RAD(0)), 1 / Animation_Speed)
  822. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  823. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  824. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  825. 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)
  826. 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)
  827. end
  828. local GYRO = IT("BodyGyro",RootPart)
  829. GYRO.D = 20
  830. GYRO.P = 4000
  831. GYRO.MaxTorque = VT(0,40000,0)
  832. coroutine.resume(coroutine.create(function()
  833. repeat
  834. Swait()
  835. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  836. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  837. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  838. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  839. 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)
  840. 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)
  841. 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)
  842. until ATTACK == false
  843. POSITION:remove()
  844. GYRO:remove()
  845. for i = 1, 20 do
  846. Swait()
  847. MESH.Scale = MESH.Scale - VT(4,0,4)
  848. end
  849. RING:remove()
  850. end))
  851. local RING,WELD,MESH = MagicRing(RightArm,CF(0,-1.2,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Pheonix")
  852. for i = 1, 35 do
  853. Swait()
  854. MESH.Scale = MESH.Scale + VT(2.6,0,2.6)
  855. end
  856. wait(0.3)
  857. coroutine.resume(coroutine.create(function()
  858. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5,5,5))
  859. FIREBALL.CFrame = CF(RING.Position,Mouse.Hit.p)
  860. local PARTICLES1 = script.PheonixFireball1:Clone()
  861. PARTICLES1.Parent = FIREBALL
  862. PARTICLES1.Enabled = true
  863. local PARTICLES2 = script.PheonixFireball2:Clone()
  864. PARTICLES2.Parent = FIREBALL
  865. PARTICLES2.Enabled = true
  866. CreateSound(463593339,FIREBALL,6,1,false)
  867. for i = 1, 250 do
  868. Swait()
  869. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  870. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
  871. if HIT then
  872. ApplyAoE(FIREBALL.Position,50,45,50,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  873. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(100,100,100), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  874. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1, SoundVolume = 6})
  875. PARTICLES1.Enabled = false
  876. PARTICLES2.Enabled = false
  877. local EXPLOSION = script.PheonixExplosion1:Clone()
  878. EXPLOSION.Parent = FIREBALL
  879. EXPLOSION.Enabled = true
  880. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  881. EXPLOSION2.Parent = FIREBALL
  882. EXPLOSION2.Enabled = true
  883. wait(0.3)
  884. EXPLOSION.Enabled = false
  885. EXPLOSION2.Enabled = false
  886. break
  887. end
  888. end
  889. PARTICLES1.Enabled = false
  890. PARTICLES2.Enabled = false
  891. Debris:AddItem(FIREBALL,7)
  892. end))
  893. wait(0.3)
  894. coroutine.resume(coroutine.create(function()
  895. WELD:remove()
  896. RING.Anchored = true
  897. for i = 1, 35 do
  898. Swait()
  899. MESH.Scale = MESH.Scale - VT(2.6,0,2.6)
  900. end
  901. RING:remove()
  902. end))
  903. WINGS = false
  904. ATTACK = false
  905. end
  906.  
  907. --//=================================\\
  908. --|| MIDFLIGHT ATTACKS
  909. --\\=================================//
  910.  
  911. function ThreeShootingStars()
  912. ATTACK = true
  913. Rooted = false
  914. local POS1 = nil
  915. local POS2 = nil
  916. local POS3 = nil
  917. local RING,WELD,MESH = MagicRing(RightArm,CF(0,-1.2,0),"Sun")
  918. coroutine.resume(coroutine.create(function()
  919. for i = 1, 35 do
  920. Swait()
  921. MESH.Scale = MESH.Scale + VT(2.6,0,2.6)
  922. end
  923. end))
  924. coroutine.resume(coroutine.create(function()
  925. repeat
  926. Swait()
  927. if POS1 then
  928. coroutine.resume(coroutine.create(function()
  929. local POSITION = POS1
  930. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3,3,3))
  931. FIREBALL.CFrame = RightArm.CFrame*CF(0,-3,0)
  932. local FIRE = script.SunFireball:Clone()
  933. FIRE.Parent = FIREBALL
  934. FIRE.Enabled = true
  935. local EXPLOSION = script.SunExplosion:Clone()
  936. EXPLOSION.Parent = FIREBALL
  937. CreateSound(463598785,FIREBALL,5,1,false)
  938. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  939. 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)
  940. for i = 1, 75 do
  941. Swait()
  942. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  943. end
  944. FIREBALL.CFrame = CF(FIREBALL.Position,POSITION)
  945. for i = 1, 300 do
  946. Swait()
  947. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  948. local HITFLOOR,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  949. if HITFLOOR ~= nil then
  950. FIRE.Enabled = false
  951. EXPLOSION:Emit(500)
  952. CreateSound(416328540,FIREBALL,5,1,false)
  953. ApplyAoE(FIREBALL.Position,75,25,35,65,true,MRANDOM(5,15),"Sun",true,{SHAKE = 1, TIMER = 6, DOESFADE = true})
  954. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  955. wait(5)
  956. break
  957. end
  958. end
  959. FIREBALL:remove()
  960. end))
  961. POS1 = nil
  962. end
  963. if POS2 then
  964. coroutine.resume(coroutine.create(function()
  965. local POSITION = POS2
  966. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3,3,3))
  967. FIREBALL.CFrame = RightArm.CFrame*CF(0,-3,0)
  968. local FIRE = script.SunFireball:Clone()
  969. FIRE.Parent = FIREBALL
  970. FIRE.Enabled = true
  971. local EXPLOSION = script.SunExplosion:Clone()
  972. EXPLOSION.Parent = FIREBALL
  973. CreateSound(463598785,FIREBALL,5,1,false)
  974. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  975. 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)
  976. for i = 1, 75 do
  977. Swait()
  978. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  979. end
  980. FIREBALL.CFrame = CF(FIREBALL.Position,POSITION)
  981. for i = 1, 300 do
  982. Swait()
  983. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  984. local HITFLOOR,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  985. if HITFLOOR ~= nil then
  986. FIRE.Enabled = false
  987. EXPLOSION:Emit(500)
  988. CreateSound(416328540,FIREBALL,5,1,false)
  989. ApplyAoE(FIREBALL.Position,75,25,35,65,true,MRANDOM(5,15),"Sun",true,{SHAKE = 1, TIMER = 6, DOESFADE = true})
  990. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  991. wait(5)
  992. break
  993. end
  994. end
  995. FIREBALL:remove()
  996. end))
  997. POS2 = nil
  998. end
  999. if POS3 then
  1000. coroutine.resume(coroutine.create(function()
  1001. local POSITION = POS3
  1002. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3,3,3))
  1003. FIREBALL.CFrame = RightArm.CFrame*CF(0,-3,0)
  1004. local FIRE = script.SunFireball:Clone()
  1005. FIRE.Parent = FIREBALL
  1006. FIRE.Enabled = true
  1007. local EXPLOSION = script.SunExplosion:Clone()
  1008. EXPLOSION.Parent = FIREBALL
  1009. CreateSound(463598785,FIREBALL,5,1,false)
  1010. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  1011. 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)
  1012. for i = 1, 75 do
  1013. Swait()
  1014. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  1015. end
  1016. FIREBALL.CFrame = CF(FIREBALL.Position,POSITION)
  1017. for i = 1, 300 do
  1018. Swait()
  1019. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  1020. local HITFLOOR,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  1021. if HITFLOOR ~= nil then
  1022. FIRE.Enabled = false
  1023. EXPLOSION:Emit(500)
  1024. CreateSound(416328540,FIREBALL,5,1,false)
  1025. ApplyAoE(FIREBALL.Position,75,25,35,65,true,MRANDOM(5,15),"Sun",true,{SHAKE = 1, TIMER = 6, DOESFADE = true})
  1026. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1027. wait(5)
  1028. break
  1029. end
  1030. end
  1031. FIREBALL:remove()
  1032. end))
  1033. POS3 = nil
  1034. end
  1035. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  1036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  1037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1038. 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)
  1039. 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)
  1040. 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)
  1041. until ATTACK == false
  1042. end))
  1043. wait(0.4)
  1044. POS1 = Mouse.Hit.p
  1045. wait(0.5)
  1046. POS2 = Mouse.Hit.p
  1047. wait(0.6)
  1048. POS3 = Mouse.Hit.p
  1049. wait(0.3)
  1050. RING.Anchored = true
  1051. WELD:remove()
  1052. coroutine.resume(coroutine.create(function()
  1053. for i = 1, 35 do
  1054. Swait()
  1055. MESH.Scale = MESH.Scale - VT(2.6,0,2.6)
  1056. end
  1057. RING:remove()
  1058. end))
  1059. ATTACK = false
  1060. Rooted = false
  1061. end
  1062.  
  1063. function PheonixFlare()
  1064. ATTACK = true
  1065. Rooted = false
  1066. PARTICLES = true
  1067. coroutine.resume(coroutine.create(function()
  1068. repeat
  1069. Swait()
  1070. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1071. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1072. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1073. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1074. 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)
  1075. 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)
  1076. until ATTACK == false
  1077. end))
  1078. CreateSound(462676772,Torso,7,1,false)
  1079. WINGS1.Acceleration = VT(9,0,-12)
  1080. WINGS1B.Acceleration = VT(9,0,-12)
  1081. WINGS2.Acceleration = VT(-9,0,-12)
  1082. WINGS2B.Acceleration = VT(-9,0,-12)
  1083. wait(0.25)
  1084. coroutine.resume(coroutine.create(function()
  1085. local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(0,0,0))
  1086. WIND.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1087. local PARTICLES = script.Gale:Clone()
  1088. PARTICLES.Parent = WIND
  1089. PARTICLES.Enabled = true
  1090. CreateSound(376218535,WIND,6,1,false)
  1091. for i = 1, 250 do
  1092. Swait()
  1093. local HIT,HITPOS = Raycast(WIND.Position, WIND.CFrame.lookVector, 3, Character)
  1094. WIND.CFrame = WIND.CFrame*CF(0,0,-2)
  1095. if HIT then
  1096. ApplyAoE(WIND.Position,45,10,30,135,false,MRANDOM(12,16),"Nul",true,{SHAKE = 3, TIMER = 7, DOESFADE = true})
  1097. CreateSound(260430117,WIND,3,1,false)
  1098. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(20,0,20), Size2 = VT(60,8,60), Transparency = 0.9, Transparency2 = 1, CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.8,0.8,0.8), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1099. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(20,0,20), Size2 = VT(60,8,60), Transparency = 0.9, Transparency2 = 1, CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.8,0.8,0.8), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1100. break
  1101. end
  1102. end
  1103. PARTICLES.Enabled = false
  1104. Debris:AddItem(WIND,7)
  1105. end))
  1106. wait(1)
  1107. CreateSound(462676772,Torso,7,1,false)
  1108. WINGS1.Acceleration = VT(9,1,4)
  1109. WINGS1B.Acceleration = VT(9,1,4)
  1110. WINGS2.Acceleration = VT(-9,1,4)
  1111. WINGS2B.Acceleration = VT(-9,1,4)
  1112. wait(0.25)
  1113. coroutine.resume(coroutine.create(function()
  1114. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5,5,5))
  1115. FIREBALL.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1116. local PARTICLES1 = script.PheonixFireball1:Clone()
  1117. PARTICLES1.Parent = FIREBALL
  1118. PARTICLES1.Enabled = true
  1119. local PARTICLES2 = script.PheonixFireball2:Clone()
  1120. PARTICLES2.Parent = FIREBALL
  1121. PARTICLES2.Enabled = true
  1122. CreateSound(463593339,FIREBALL,6,1,false)
  1123. for i = 1, 250 do
  1124. Swait()
  1125. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  1126. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
  1127. if HIT then
  1128. ApplyAoE(FIREBALL.Position,70,45,50,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1129. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1130. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(140,140,140), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1, SoundVolume = 6})
  1131. PARTICLES1.Enabled = false
  1132. PARTICLES2.Enabled = false
  1133. local EXPLOSION = script.PheonixExplosion1:Clone()
  1134. EXPLOSION.Parent = FIREBALL
  1135. EXPLOSION.Enabled = true
  1136. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1137. EXPLOSION2.Parent = FIREBALL
  1138. EXPLOSION2.Enabled = true
  1139. wait(0.3)
  1140. EXPLOSION.Enabled = false
  1141. EXPLOSION2.Enabled = false
  1142. break
  1143. end
  1144. end
  1145. PARTICLES1.Enabled = false
  1146. PARTICLES2.Enabled = false
  1147. Debris:AddItem(FIREBALL,7)
  1148. end))
  1149. wait(0.5)
  1150. PARTICLES = false
  1151. ATTACK = false
  1152. Rooted = false
  1153. end
  1154.  
  1155. function PheonixFireballs()
  1156. ATTACK = true
  1157. local POWER = 1
  1158. DIRECTTURN = true
  1159. coroutine.resume(coroutine.create(function()
  1160. repeat
  1161. Swait()
  1162. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1163. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1164. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1165. 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)
  1166. 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)
  1167. 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)
  1168. until ATTACK == false
  1169. end))
  1170. local RING1,WELD1,MESH1 = MagicRing(RightArm,CF(0,-1.2,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Pheonix")
  1171. local RING2,WELD2,MESH2 = MagicRing(RightArm,CF(0,-1.6,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Pheonix")
  1172. for i = 1, 35 do
  1173. Swait()
  1174. MESH1.Scale = MESH1.Scale + VT(6,0,6)
  1175. MESH2.Scale = MESH2.Scale + VT(3,0,3)
  1176. end
  1177. repeat wait() POWER = POWER + 1 until KEYHOLD == false
  1178. if POWER <= 30 then
  1179. for i = 1, 15 do
  1180. wait(0.1)
  1181. coroutine.resume(coroutine.create(function()
  1182. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2,2,2))
  1183. FIREBALL.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1184. local PARTICLES1 = script.PheonixFireball1:Clone()
  1185. PARTICLES1.Parent = FIREBALL
  1186. PARTICLES1.Enabled = true
  1187. local PARTICLES2 = script.PheonixFireball2:Clone()
  1188. PARTICLES2.Parent = FIREBALL
  1189. PARTICLES2.Enabled = true
  1190. PARTICLES1.Size = NumberSequence.new(3,0)
  1191. PARTICLES2.Size = NumberSequence.new(3,0)
  1192. CreateSound(463593339,FIREBALL,6,1,false)
  1193. for i = 1, 250 do
  1194. Swait()
  1195. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.5, Character)
  1196. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  1197. if HIT then
  1198. ApplyAoE(FIREBALL.Position,25,5,15,5,true,MRANDOM(5,6),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1199. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1200. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(60,60,60), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1, SoundVolume = 6})
  1201. PARTICLES1.Enabled = false
  1202. PARTICLES2.Enabled = false
  1203. local EXPLOSION = script.PheonixExplosion1:Clone()
  1204. EXPLOSION.Parent = FIREBALL
  1205. EXPLOSION.Enabled = true
  1206. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1207. EXPLOSION2.Parent = FIREBALL
  1208. EXPLOSION2.Enabled = true
  1209. wait(0.3)
  1210. EXPLOSION.Enabled = false
  1211. EXPLOSION2.Enabled = false
  1212. break
  1213. end
  1214. end
  1215. PARTICLES1.Enabled = false
  1216. PARTICLES2.Enabled = false
  1217. Debris:AddItem(FIREBALL,7)
  1218. end))
  1219. end
  1220. else
  1221. for E = 1, 5 do
  1222. local OFFSET = ANGLES(RAD((360/5)*E),RAD((360/5)*E),RAD(0))*CF(0,0,75)
  1223. coroutine.resume(coroutine.create(function()
  1224. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5,5,5))
  1225. FIREBALL.CFrame = CF(RootPart.Position,CF(Mouse.Hit.p,RootPart.Position)*OFFSET.p)
  1226. local PARTICLES1 = script.PheonixFireball1:Clone()
  1227. PARTICLES1.Parent = FIREBALL
  1228. PARTICLES1.Enabled = true
  1229. local PARTICLES2 = script.PheonixFireball2:Clone()
  1230. PARTICLES2.Parent = FIREBALL
  1231. PARTICLES2.Enabled = true
  1232. CreateSound(463593339,FIREBALL,6,1,false)
  1233. for i = 1, 650 do
  1234. Swait()
  1235. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  1236. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
  1237. if HIT then
  1238. ApplyAoE(FIREBALL.Position,70,45,50,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1239. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1240. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(140,140,140), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1, SoundVolume = 6})
  1241. PARTICLES1.Enabled = false
  1242. PARTICLES2.Enabled = false
  1243. local EXPLOSION = script.PheonixExplosion1:Clone()
  1244. EXPLOSION.Parent = FIREBALL
  1245. EXPLOSION.Enabled = true
  1246. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1247. EXPLOSION2.Parent = FIREBALL
  1248. EXPLOSION2.Enabled = true
  1249. wait(0.3)
  1250. EXPLOSION.Enabled = false
  1251. EXPLOSION2.Enabled = false
  1252. break
  1253. end
  1254. end
  1255. PARTICLES1.Enabled = false
  1256. PARTICLES2.Enabled = false
  1257. Debris:AddItem(FIREBALL,7)
  1258. end))
  1259. end
  1260. end
  1261. wait(0.5)
  1262. WELD1:remove()
  1263. WELD2:remove()
  1264. RING1.Anchored = true
  1265. RING2.Anchored = true
  1266. coroutine.resume(coroutine.create(function()
  1267. for i = 1, 35 do
  1268. Swait()
  1269. MESH1.Scale = MESH1.Scale - VT(6,0,6)
  1270. MESH2.Scale = MESH2.Scale - VT(3,0,3)
  1271. end
  1272. RING1:remove()
  1273. RING2:remove()
  1274. end))
  1275. DIRECTTURN = false
  1276. ATTACK = false
  1277. end
  1278.  
  1279. function PheonixJump()
  1280. local DONE = false
  1281. local STRENGTH = 10
  1282. local UP = 5
  1283. ATTACK = true
  1284. DIRECTTURN = true
  1285. local RING,WELD,MESH = MagicRing(RootPart,CF(0,-3.5,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Pheonix")
  1286. for i = 1, 30 do
  1287. Swait()
  1288. MESH.Scale = MESH.Scale + VT(12,0,12)
  1289. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  1290. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1291. 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)
  1292. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1293. 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)
  1294. 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)
  1295. end
  1296. local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
  1297. if NEWKEY == "w" and VALUE2 == false then
  1298. coroutine.resume(coroutine.create(function()
  1299. ApplyAoE(RING.Position,35,15,20,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 15, DOESFADE = true})
  1300. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(RING.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1301. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(70,70,70), Transparency = 0.5, Transparency2 = 1, CFrame = CF(RING.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1.2, SoundVolume = 6})
  1302. local EXPLOSION = script.PheonixExplosion1:Clone()
  1303. EXPLOSION.Parent = RING
  1304. EXPLOSION.Enabled = true
  1305. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1306. EXPLOSION2.Parent = RING
  1307. EXPLOSION2.Enabled = true
  1308. wait(0.3)
  1309. EXPLOSION.Enabled = false
  1310. EXPLOSION2.Enabled = false
  1311. Debris:AddItem(RING,3)
  1312. end))
  1313. CreateSound(462676772,Torso,8,1,false)
  1314. coroutine.resume(coroutine.create(function()
  1315. for i = 1, 25 do
  1316. Swait()
  1317. ApplyAoE(Torso.Position,15,15,20,75,true,MRANDOM(4,5),"Pheonix",false,{SHAKE = 4, TIMER = 5, DOESFADE = true})
  1318. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(45,5,45)/3, Size2 = VT(35,200,35)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1319. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(55,5,55)/3, Size2 = VT(45,200,45)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1320. 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)
  1321. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1322. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1323. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1324. 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)
  1325. 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)
  1326. end
  1327. ATTACK = false
  1328. end))
  1329. repeat
  1330. VALUE2 = true
  1331. Swait()
  1332. BODYPOS.Position = RootPart.CFrame*CF(0,UP,-STRENGTH).p
  1333. if STRENGTH > 4 then
  1334. STRENGTH = STRENGTH - 0.1
  1335. else
  1336. STRENGTH = 4
  1337. end
  1338. if UP > 0 then
  1339. UP = UP - 0.15
  1340. else
  1341. UP = 0
  1342. end
  1343. until KEYHOLD == false and STRENGTH < 5 and ATTACK == false
  1344. DONE = true
  1345. end
  1346. end)
  1347. repeat
  1348. Swait()
  1349. if STRENGTH < 40 then
  1350. STRENGTH = STRENGTH + 0.15
  1351. MESH.Scale = MESH.Scale + VT(0.5,0,0.5)
  1352. end
  1353. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  1354. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1355. 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)
  1356. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1357. 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)
  1358. 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)
  1359. until VALUE2 == true
  1360. DIRECTTURN = false
  1361. WELD:remove()
  1362. RING.Anchored = true
  1363. local SIZE = MESH.Scale.X
  1364. coroutine.resume(coroutine.create(function()
  1365. for i = 1, 30 do
  1366. Swait()
  1367. MESH.Scale = MESH.Scale - VT(SIZE,0,SIZE)/30
  1368. end
  1369. RING:remove()
  1370. end))
  1371. repeat wait() until DONE == true
  1372. KEYDOWN:disconnect()
  1373. VALUE2 = false
  1374. end
  1375.  
  1376. function DragonFirePillar()
  1377. ATTACK = true
  1378. local POS = Mouse.Hit.p
  1379. APPLYGYRO = false
  1380. local RING,WELD,MESH = MagicRing(RightArm,CF(0,-1.2,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Fire")
  1381. coroutine.resume(coroutine.create(function()
  1382. repeat
  1383. Swait()
  1384. GYRO.CFrame = CF(RootPart.Position,POS)
  1385. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1386. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1387. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1388. 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)
  1389. 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)
  1390. 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)
  1391. until ATTACK == false
  1392. end))
  1393. for i = 1, 40 do
  1394. MESH.Scale = MESH.Scale + VT(4,0,4)
  1395. Swait()
  1396. end
  1397. for i = 1, 6 do
  1398. WACKYEFFECT({EffectType = "Sphere", Size = VT(35,35,35), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.5, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1399. wait(1)
  1400. end
  1401. coroutine.resume(coroutine.create(function()
  1402. coroutine.resume(coroutine.create(function()
  1403. for i = 1, 30 do
  1404. Swait()
  1405. MESH.Scale = MESH.Scale - VT(4,0,4)
  1406. end
  1407. RING:remove()
  1408. end))
  1409. WACKYEFFECT({Time = 640, EffectType = "Sphere", Size = VT(15,500,15), Size2 = VT(10,700,10), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1410. for i = 1, 15 do
  1411. ApplyAoE(POS,35,20,30,15,true,MRANDOM(3,4),"Fire",true,{SHAKE = 5, TIMER = 6, DOESFADE = true})
  1412. WACKYEFFECT({Time = 125, EffectType = "Wave", Size = VT(0,5,0), Size2 = VT(250,35,250), Transparency = 0.4, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-5,5)*2, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 4})
  1413. WACKYEFFECT({Time = 75, EffectType = "Swirl", Size = VT(20,20,20), Size2 = VT(65,500,65), Transparency = 0.4, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-5,5)*6, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 4})
  1414. WACKYEFFECT({Time = 75, EffectType = "Swirl", Size = VT(20,20,20), Size2 = VT(45,600,45), Transparency = 0.4, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-5,5)*6, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = 304529688, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 4})
  1415. wait(0.6)
  1416. end
  1417. end))
  1418. APPLYGYRO = true
  1419. ATTACK = false
  1420. end
  1421.  
  1422. function PheonixTornado()
  1423. ATTACK = true
  1424. local BUILDUP = true
  1425. local HITS = {}
  1426. PARTICLES = true
  1427. coroutine.resume(coroutine.create(function()
  1428. repeat
  1429. Swait()
  1430. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1431. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1432. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1433. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1434. 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)
  1435. 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)
  1436. until BUILDUP == false
  1437. end))
  1438. WINGS1.Acceleration = VT(9,0,-12)
  1439. WINGS1B.Acceleration = VT(9,0,-12)
  1440. WINGS2.Acceleration = VT(-9,0,-12)
  1441. WINGS2B.Acceleration = VT(-9,0,-12)
  1442. wait(1)
  1443. CreateSound(462676772,Torso,7,1,false)
  1444. WINGS1.Acceleration = VT(9,1,4)
  1445. WINGS1B.Acceleration = VT(9,1,4)
  1446. WINGS2.Acceleration = VT(-9,1,4)
  1447. WINGS2B.Acceleration = VT(-9,1,4)
  1448. wait(0.25)
  1449. AddChildrenToTable(Torso.Position,workspace,35,HITS)
  1450. WACKYEFFECT({Time = 40, EffectType = "Swirl", Size = VT(50,5,50), Size2 = VT(50,60,50), Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0.8,0.8,0.8), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1451. BUILDUP = false
  1452. PARTICLES = false
  1453. if #HITS > 0 then
  1454. local BODIES = {}
  1455. if #HITS == 1 then
  1456. for i = 1, #HITS do
  1457. local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  1458. local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  1459. if HUM and TORSO then
  1460. if HUM.Health > 0 then
  1461. local POSITION = IT("BodyPosition",TORSO)
  1462. POSITION.Position = RootPart.CFrame*CF(0,45,-35).p
  1463. POSITION.D = 15
  1464. POSITION.P = 4000000
  1465. table.insert(BODIES,POSITION)
  1466. end
  1467. end
  1468. end
  1469. else
  1470. for i = 1, #HITS do
  1471. local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  1472. local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  1473. if HUM and TORSO then
  1474. if HUM.Health > 0 then
  1475. local POSITION = IT("BodyPosition",TORSO)
  1476. POSITION.Position = RootPart.CFrame*CF(0,35,-35) * ANGLES(RAD(0), RAD((360/#HITS)*i), RAD(0)) * CF(0,0,10).p
  1477. POSITION.D = 450
  1478. POSITION.P = 40000
  1479. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1480. table.insert(BODIES,POSITION)
  1481. end
  1482. end
  1483. end
  1484. end
  1485. local POS = RootPart.CFrame*CF(0,35,-35).p
  1486. wait(1.75)
  1487. BODYPOS.D = 450
  1488. BODYPOS.Position = POS
  1489. wait(0.5)
  1490. APPLYGYRO = false
  1491. local E = 0
  1492. CreateSound(1417056081,RootPart,10,0.5,false)
  1493. for i = 1, 50 do
  1494. Swait()
  1495. E = E + 1
  1496. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(45,5,45)/3, Size2 = VT(35,200,35)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1497. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(55,5,55)/3, Size2 = VT(45,200,45)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1498. 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)
  1499. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1500. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1501. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1502. 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)
  1503. 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)
  1504. end
  1505. local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Tornado", VT(0,0,0))
  1506. TORNADO.CFrame = CF(POS)
  1507. local MESH = CreateMesh("SpecialMesh", TORNADO, "FileMesh", "102638417", "", VT(25,25,25), VT(0,0,0))
  1508. local DECAL = IT("Decal",TORNADO)
  1509. DECAL.Texture = "rbxassetid://559849514"
  1510. DECAL.Transparency = 1
  1511. DECAL.Color3 = BRICKC"Deep orange".Color
  1512. local LOOP = 0
  1513. for i = 1, 250 do
  1514. Swait()
  1515. E = E + 1
  1516. LOOP = LOOP + 1
  1517. if LOOP == 10 then
  1518. LOOP = 0
  1519. ApplyAoE(TORNADO.Position,35,2,2,0,true,MRANDOM(3,4),"Pheonix",true,{SHAKE = 2, TIMER = 4, DOESFADE = true})
  1520. end
  1521. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E*10), RAD(0))
  1522. DECAL.Transparency = DECAL.Transparency - 1/500
  1523. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(45,5,45)/3, Size2 = VT(35,200,35)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1524. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(55,5,55)/3, Size2 = VT(45,200,45)/5, Transparency = 0.9, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1525. 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)
  1526. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1528. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1529. 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)
  1530. 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)
  1531. end
  1532. for i = 1, #BODIES do
  1533. BODIES[i]:remove()
  1534. end
  1535. coroutine.resume(coroutine.create(function()
  1536. for i = 1, 25 do
  1537. Swait()
  1538. DECAL.Transparency = DECAL.Transparency + 1/50
  1539. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E*10), RAD(0))
  1540. end
  1541. TORNADO:remove()
  1542. end))
  1543. for i = 1, 75 do
  1544. Swait()
  1545. E = E + 1
  1546. LOOP = LOOP + 1
  1547. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E*15), RAD(0))
  1548. DECAL.Transparency = DECAL.Transparency - 1/500
  1549. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(45,5,45)/3, Size2 = VT(35,200,35)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1550. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(55,5,55)/3, Size2 = VT(45,200,45)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1551. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E*10)) * CF(45-((45/75)*i),0,0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
  1552. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1553. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1554. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1555. 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)
  1556. 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)
  1557. end
  1558. BODYPOS.D = 75
  1559. end
  1560. APPLYGYRO = true
  1561. ATTACK = false
  1562. end
  1563.  
  1564. function PheonixNuke()
  1565. if Mouse.Target ~= nil then
  1566. ATTACK = true
  1567. Rooted = false
  1568. BODYPOS.Position = Mouse.Hit.p+VT(0,6,0)
  1569. BODYPOS.D = 700
  1570. coroutine.resume(coroutine.create(function()
  1571. repeat
  1572. Swait()
  1573. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1574. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1575. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1576. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1577. 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)
  1578. 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)
  1579. until ATTACK == false
  1580. end))
  1581. wait(1.5)
  1582. for i = 1, 4 do
  1583. WACKYEFFECT({EffectType = "Sphere", Size = VT(125,125,125), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.8, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1584. wait(0.7)
  1585. end
  1586. PARTICLES = true
  1587. WINGS1.Acceleration = VT(9,3,4)
  1588. WINGS1B.Acceleration = VT(9,3,4)
  1589. WINGS2.Acceleration = VT(-9,3,4)
  1590. WINGS2B.Acceleration = VT(-9,3,4)
  1591. wait(2)
  1592. CreateSound(462676772,Torso,8,1,false)
  1593. WINGS1.Acceleration = VT(9,-2,-12)
  1594. WINGS1B.Acceleration = VT(9,-2,-12)
  1595. WINGS2.Acceleration = VT(-9,-2,-12)
  1596. WINGS2B.Acceleration = VT(-9,-2,-12)
  1597. wait(1)
  1598. for i = 1, 5 do
  1599. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25, Character)
  1600. ApplyAoE(Torso.Position,240,25,30,165,true,MRANDOM(5,7),"Pheonix",true,{SHAKE = 8, TIMER = 25, DOESFADE = true})
  1601. for i = 1, 5 do
  1602. WACKYEFFECT({Time = 120, EffectType = "Swirl", Size = VT(20,20,20), Size2 = (VT(180,180,180)+(VT(50,50,50)*i))*2, Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 6+i, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1603. end
  1604. WACKYEFFECT({Time = 80, EffectType = "Sphere", Size = VT(40,40,40), Size2 = VT(240,240,240)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = 1, SoundVolume = 8})
  1605. WACKYEFFECT({Time = 80, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(250,250,250)*2, Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = 0.7, SoundVolume = 10})
  1606. local EXPLOSION = script.PheonixExplosion1:Clone()
  1607. EXPLOSION.Parent = Torso
  1608. EXPLOSION.Enabled = true
  1609. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1610. EXPLOSION2.Parent = Torso
  1611. EXPLOSION2.Enabled = true
  1612. EXPLOSION.Drag = -5
  1613. EXPLOSION2.Drag = -5
  1614. EXPLOSION:Emit(100)
  1615. EXPLOSION2:Emit(100)
  1616. CreateSound(462692971,Effects,2,1,false)
  1617. for i = 1, 5 do
  1618. wait()
  1619. WACKYEFFECT({Time = 40, EffectType = "Wave", Size = VT(20,0,20), Size2 = (VT(160,6,160)+(VT(50,4,50)*i))*2, Transparency = 0.8, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -12+i, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1620. WACKYEFFECT({Time = 40, EffectType = "Wave", Size = VT(20,0,20), Size2 = (VT(180,6,180)+(VT(50,5,50)*i))*2, Transparency = 0.8, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -12+i, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1621. end
  1622. EXPLOSION.Enabled = false
  1623. EXPLOSION2.Enabled = false
  1624. Debris:AddItem(EXPLOSION,5)
  1625. Debris:AddItem(EXPLOSION2,5)
  1626. wait(0.4)
  1627. end
  1628. wait(0.6)
  1629. PARTICLES = false
  1630. BODYPOS.D = 75
  1631. ATTACK = false
  1632. Rooted = false
  1633. end
  1634. end
  1635.  
  1636. --//=================================\\
  1637. --|| ASSIGN THINGS TO KEYS
  1638. --\\=================================//
  1639.  
  1640. function MouseDown(Mouse)
  1641. if ATTACK == false then
  1642. end
  1643. end
  1644.  
  1645. function MouseUp(Mouse)
  1646. HOLD = false
  1647. end
  1648.  
  1649. function KeyDown(Key)
  1650. KEYHOLD = true
  1651. if EQUIPPED == true then
  1652. if FLIGHT == false then
  1653. if Key == "z" and ATTACK == false then
  1654. ShootingStar()
  1655. end
  1656.  
  1657. if Key == "b" and ATTACK == false then
  1658. Breath()
  1659. end
  1660.  
  1661. if Key == "c" and ATTACK == false then
  1662. PheonixRage()
  1663. end
  1664.  
  1665. if Key == "q" and ATTACK == false then
  1666. FLIGHT = true
  1667. GYRO = IT("BodyGyro",RootPart)
  1668. GYRO.D = 75
  1669. GYRO.P = 40000
  1670. GYRO.MaxTorque = VT(40000,40000,40000)
  1671. GYRO.cframe = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-1).p)
  1672. BODYPOS = Instance.new("BodyPosition",RootPart)
  1673. BODYPOS.D = 100
  1674. BODYPOS.P = 20000
  1675. BODYPOS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1676. BODYPOS.position = RootPart.Position+VT(0,3,0)
  1677. local RING,WELD,MESH = MagicRing(Torso,CF(0,0.5,1)* ANGLES(RAD(-90), RAD(0), RAD(0)),"Pheonix")
  1678. FLIGHTRING = RING
  1679. coroutine.resume(coroutine.create(function()
  1680. for i = 1, 40 do
  1681. Swait()
  1682. MESH.Scale = MESH.Scale + VT(4,0,4)
  1683. end
  1684. end))
  1685. PheonixJump()
  1686. end
  1687. elseif FLIGHT == true then
  1688. if Key == "z" and ATTACK == false and VALUE2 == false then
  1689. ThreeShootingStars()
  1690. end
  1691.  
  1692. if Key == "b" and ATTACK == false and VALUE2 == false then
  1693. PheonixFlare()
  1694. end
  1695.  
  1696. if Key == "g" and ATTACK == false and VALUE2 == false then
  1697. DragonFirePillar()
  1698. end
  1699.  
  1700. if Key == "v" and ATTACK == false and VALUE2 == false then
  1701. PheonixTornado()
  1702. end
  1703.  
  1704. if Key == "x" and ATTACK == false and VALUE2 == false then
  1705. PheonixNuke()
  1706. end
  1707.  
  1708. if Key == "q" and ATTACK == false and VALUE2 == false then
  1709. FLIGHT = false
  1710. coroutine.resume(coroutine.create(function()
  1711. if FLIGHTRING then
  1712. local MSH = FLIGHTRING.Mesh
  1713. local RING = FLIGHTRING
  1714. for i = 1, 40 do
  1715. Swait()
  1716. MSH.Scale = MSH.Scale - VT(4,0,4)
  1717. end
  1718. RING:remove()
  1719. end
  1720. end))
  1721. end
  1722.  
  1723. if Key == "c" and ATTACK == false and VALUE2 == false then
  1724. PheonixJump()
  1725. end
  1726.  
  1727. if Key == "e" and ATTACK == false and VALUE2 == false then
  1728. PheonixFireballs()()
  1729. end
  1730.  
  1731. if Key == "w" and ATTACK == false and VALUE2 == false then
  1732. repeat
  1733. VALUE2 = true
  1734. Swait()
  1735. BODYPOS.Position = RootPart.CFrame*CF(0,0,-2.5).p
  1736. until KEYHOLD == false
  1737. VALUE2 = false
  1738. end
  1739. end
  1740. end
  1741.  
  1742. if Key == "f" and ATTACK == false and FLIGHT == false then
  1743. if EQUIPPED == false then
  1744. EQUIPPED = true
  1745. EYE.Enabled = true
  1746. EYE2.Enabled = true
  1747. sick:Play()
  1748. else
  1749. EQUIPPED = false
  1750. FLIGHT = false
  1751. EYE.Enabled = false
  1752. EYE2.Enabled = false
  1753. end
  1754. end
  1755.  
  1756. if string.byte(Key) == 50 and ATTACK == false then
  1757. if Speed == 16 then
  1758. Speed = 45
  1759. elseif Speed == 45 then
  1760. Speed = 16
  1761. end
  1762. end
  1763. end
  1764.  
  1765. function KeyUp(Key)
  1766. KEYHOLD = false
  1767. end
  1768.  
  1769. Mouse.Button1Down:connect(function(NEWKEY)
  1770. MouseDown(NEWKEY)
  1771. end)
  1772. Mouse.Button1Up:connect(function(NEWKEY)
  1773. MouseUp(NEWKEY)
  1774. end)
  1775. Mouse.KeyDown:connect(function(NEWKEY)
  1776. KeyDown(NEWKEY)
  1777. end)
  1778. Mouse.KeyUp:connect(function(NEWKEY)
  1779. KeyUp(NEWKEY)
  1780. end)
  1781.  
  1782. --//=================================\\
  1783. --\\=================================//
  1784.  
  1785.  
  1786. function unanchor()
  1787. if UNANCHOR == true then
  1788. g = Character:GetChildren()
  1789. for i = 1, #g do
  1790. if g[i].ClassName == "Part" then
  1791. g[i].Anchored = false
  1792. end
  1793. end
  1794. end
  1795. end
  1796.  
  1797.  
  1798. --//=================================\\
  1799. --|| WRAP THE WHOLE SCRIPT UP
  1800. --\\=================================//
  1801.  
  1802. Humanoid.Changed:connect(function(Jump)
  1803. if Jump == "Jump" and (Disable_Jump == true) then
  1804. Humanoid.Jump = false
  1805. end
  1806. end)
  1807.  
  1808. local LOOP = 0
  1809. local TWIST = true
  1810. while true do
  1811. Swait()
  1812. script.Parent = WEAPONGUI
  1813. ANIMATE.Parent = nil
  1814. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1815. v:Stop();
  1816. end
  1817. SINE = SINE + CHANGE
  1818. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1819. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1820. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1821. local WALKSPEEDVALUE = 5
  1822. if ANIM == "Walk" and TORSOVELOCITY > 1 and FLIGHT == false then
  1823. if Humanoid.WalkSpeed <= 20 then
  1824. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * 1 / Animation_Speed)
  1825. 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)
  1826. 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)
  1827. 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)
  1828. else
  1829. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / (2*1.3)))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
  1830. 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*1.3)))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1831. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), -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)
  1832. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), 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)
  1833. end
  1834. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or FLIGHT == true then
  1835. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1836. 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)
  1837. 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)
  1838. 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)
  1839. end
  1840. if FLIGHT == false then
  1841. if GYRO ~= nil then
  1842. GYRO:remove()
  1843. end
  1844. if BODYPOS ~= nil then
  1845. BODYPOS:remove()
  1846. end
  1847. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1848. ANIM = "Jump"
  1849. if ATTACK == false then
  1850. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1851. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1852. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1853. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1854. 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)
  1855. 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)
  1856. end
  1857. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1858. ANIM = "Fall"
  1859. if ATTACK == false then
  1860. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1861. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1862. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1863. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1864. 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)
  1865. 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)
  1866. end
  1867. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1868. ANIM = "Idle"
  1869. if ATTACK == false then
  1870. 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)
  1871. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1872. 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)
  1873. 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)
  1874. 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)
  1875. 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)
  1876. end
  1877. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1878. ANIM = "Walk"
  1879. if ATTACK == false then
  1880. if Humanoid.WalkSpeed <= 30 then
  1881. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1882. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1883. 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)
  1884. 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)
  1885. 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)
  1886. 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)
  1887. elseif Humanoid.WalkSpeed > 30 then
  1888. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1889. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1890. 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)
  1891. 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)
  1892. 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)
  1893. 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)
  1894. end
  1895. end
  1896. end
  1897. elseif FLIGHT == true then
  1898. if APPLYGYRO == true then
  1899. if VALUE2 == false and DIRECTTURN == false then
  1900. if GYRO ~= nil then
  1901. GYRO.MaxTorque = VT(0,40000,0)
  1902. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1903. end
  1904. else
  1905. if GYRO ~= nil then
  1906. GYRO.MaxTorque = VT(40000,40000,40000)
  1907. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1908. end
  1909. end
  1910. end
  1911. if VALUE2 == false and ATTACK == false then
  1912. ANIM = "IdleFlight"
  1913. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1914. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1915. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1916. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1917. 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)
  1918. 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)
  1919. elseif VALUE2 == true and ATTACK == false then
  1920. ANIM = "Flight"
  1921. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  1922. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1923. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1924. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1925. 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)
  1926. 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)
  1927. end
  1928. end
  1929. local ACCEL1 = VT(10,2-(6*COS(SINE / 24)),-4-(2*COS(SINE / 24)))
  1930. local ACCEL2 = VT(-10,2-(6*COS(SINE / 24)),-4-(2*COS(SINE / 24)))
  1931. if PARTICLES == false then
  1932. WINGS1.Acceleration = ACCEL1
  1933. WINGS1B.Acceleration = ACCEL1
  1934. WINGS2.Acceleration = ACCEL2
  1935. WINGS2B.Acceleration = ACCEL2
  1936. end
  1937. if FLIGHT == true or WINGS == true then
  1938. WINGS1.Enabled = true
  1939. WINGS1B.Enabled = true
  1940. WINGS2.Enabled = true
  1941. WINGS2B.Enabled = true
  1942. else
  1943. WINGS1.Enabled = false
  1944. WINGS1B.Enabled = false
  1945. WINGS2.Enabled = false
  1946. WINGS2B.Enabled = false
  1947. end
  1948. unanchor()
  1949. Humanoid.MaxHealth = "inf"
  1950. Humanoid.Health = "inf"
  1951. if Rooted == false and FLIGHT == false then
  1952. Disable_Jump = false
  1953. Humanoid.WalkSpeed = Speed
  1954. elseif Rooted == true or FLIGHT == true then
  1955. Disable_Jump = true
  1956. Humanoid.WalkSpeed = 0
  1957. end
  1958. sick.SoundId = "rbxassetid://1604456093"
  1959. sick.EmitterSize = 50
  1960. sick.Looped = true
  1961. if FLIGHT == true then
  1962. sick.Pitch = 1
  1963. sick.Volume = 1.5
  1964. LOOP = LOOP + 1
  1965. if LOOP >= 10 then
  1966. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1967. if HITFLOOR then
  1968. local DISTANCE = (RootPart.Position - HITPOS).Magnitude
  1969. local SIZE = (26-DISTANCE)*2
  1970. if TWIST == true then
  1971. TWIST = false
  1972. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(SIZE/2,0,SIZE/2), Size2 = VT(SIZE,6,SIZE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(0), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,(205+35*SIN(SINE / 24))/255,(0.5+0.5*SIN(SINE / 24))), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1973. else
  1974. TWIST = true
  1975. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(SIZE/2,0,SIZE/2), Size2 = VT(SIZE,6,SIZE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(0), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,(205+35*SIN(SINE / 24))/255,(0.5+0.5*SIN(SINE / 24))), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1976. end
  1977. LOOP = 0
  1978. end
  1979. end
  1980. else
  1981. sick.Pitch = 0.95
  1982. sick.Volume = 1
  1983. end
  1984. sick.Playing = EQUIPPED
  1985. sick.Parent = Character
  1986. Humanoid.Name = "WarPheonix"
  1987. Humanoid.DisplayDistanceType = "None"
  1988. end
  1989.  
  1990. --//=================================\\
  1991. --\\=================================//
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997. --//====================================================\\--
  1998. --|| END OF SCRIPT
  1999. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement