Advertisement
memberhero

War Pheonix

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