Advertisement
Sheckles

interplanetary

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