NASA960

Untitled

Feb 2nd, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.38 KB | None | 0 0
  1. local Player = game:GetService("Players").NASA960
  2. local Mouse,mouse,UserInputService,ContextActionService
  3. do
  4. script.Parent = Player.Character
  5. local CAS = {Actions={}}
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput_Event"
  8. Event.Parent = Player.Character
  9. local fakeEvent = function()
  10. local t = {_fakeEvent=true}
  11. t.Connect = function(self,f)self.Function=f end
  12. t.connect = t.Connect
  13. return t
  14. end
  15. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  16. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  17. function CAS:BindAction(name,fun,touch,...)
  18. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  19. end
  20. function CAS:UnbindAction(name)
  21. CAS.Actions[name] = nil
  22. end
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent and t.Function then
  26. t.Function(...)
  27. end
  28. end
  29. m.TrigEvent = te
  30. UIS.TrigEvent = te
  31. Event.OnServerEvent:Connect(function(plr,io)
  32. if plr~=Player then return end
  33. if io.isMouse then
  34. m.Target = io.Target
  35. m.Hit = io.Hit
  36. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  37. if io.UserInputState == Enum.UserInputState.Begin then
  38. m:TrigEvent("Button1Down")
  39. else
  40. m:TrigEvent("Button1Up")
  41. end
  42. else
  43. for n,t in pairs(CAS.Actions) do
  44. for _,k in pairs(t.Keys) do
  45. if k==io.KeyCode then
  46. t.Function(t.Name,io.UserInputState,io)
  47. end
  48. end
  49. end
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  52. UIS:TrigEvent("InputBegan",io,false)
  53. else
  54. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputEnded",io,false)
  56. end
  57. end
  58. end)
  59. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  60. end
  61. --[[Soul Phoenix by Injectioneer]]--
  62. wait(1 / 60)
  63. Effects = { }
  64. local Player = game.Players.NASA960
  65. local Character = Player.Character
  66. local Humanoid = Character.Humanoid
  67. local LeftArm = Character["Left Arm"]
  68. local RightArm = Character["Right Arm"]
  69. local LeftLeg = Character["Left Leg"]
  70. local RightLeg = Character["Right Leg"]
  71. local Head = Character.Head
  72. local Torso = Character.Torso
  73. local Camera = game.Workspace.CurrentCamera
  74. local RootPart = Character.HumanoidRootPart
  75. local RootJoint = RootPart.RootJoint
  76. local attack = false
  77. local Anim = 'Idle'
  78. local attacktype = 1
  79. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  80. local velocity = RootPart.Velocity.y
  81. local sine = 0
  82. local change = 1
  83. local Create = LoadLibrary("RbxUtility").Create
  84. local efc = 0
  85. local gothit = false
  86. Humanoid.MaxHealth = 100 + (1e19 * math.huge)
  87. Humanoid.Health = Humanoid.MaxHealth
  88.  
  89. Humanoid.DisplayDistanceType = 'None'
  90.  
  91. local naeeym2 = Instance.new("BillboardGui",Head)
  92. naeeym2.AlwaysOnTop = true
  93. naeeym2.Size = UDim2.new(5,35,2,15)
  94. naeeym2.StudsOffset = Vector3.new(0,15,0)
  95. naeeym2.Adornee = Head
  96. naeeym2.Name = "Name"
  97. local tecks2 = Instance.new("TextLabel",naeeym2)
  98. tecks2.BackgroundTransparency = 1
  99. tecks2.TextScaled = true
  100. tecks2.BorderSizePixel = 2
  101. tecks2.Text = "DARK PHOENIX"
  102. tecks2.Font = Enum.Font.Fantasy
  103. tecks2.TextSize = 14
  104. tecks2.TextStrokeTransparency = 0
  105. tecks2.TextColor3 = Color3.new(.5,.5,.5)
  106. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  107. tecks2.Size = UDim2.new(1,0,0.5,0)
  108. tecks2.Parent = naeeym2
  109.  
  110. local m = Create("Model"){
  111. Parent = Character,
  112. Name = "WeaponModel",
  113. }
  114.  
  115. local Phoenix_Theme = Create'Sound'{
  116. SoundId = 'rbxassetid://462506896',
  117. Parent = Character,
  118. Volume = 3,
  119. Pitch = 1,
  120. Looped = true
  121. }
  122. Phoenix_Theme:Play()
  123.  
  124. Humanoid.Animator.Parent = nil
  125. Character.Animate.Parent = nil
  126.  
  127. New = function(Object, Parent, Name, Data)
  128. local Object = Instance.new(Object)
  129. for Index, Value in pairs(Data or {}) do
  130. Object[Index] = Value
  131. end
  132. Object.Parent = Parent
  133. Object.Name = Name
  134. return Object
  135. end
  136.  
  137. function CameraShake(Intensity)
  138. coroutine.resume(coroutine.create(function()
  139. local Focus = (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude
  140. Focus = 100 / Intensity + Focus / 150
  141. for i = math.random(150, 250) / 100, 0, -0.05 do
  142. Camera.CFrame = CFrame.new.new(math.random(-30, 30) / 20 * (i * Focus), math.random(-30, 30) / 20 * (i * Focus), math.random(-30, 30) / 20 * (i * Focus))
  143. swait()
  144. end
  145. Camera.CFrame = CFrame.new(0, 0, 0)
  146. end))
  147. end
  148.  
  149. local newMotor = function(part0, part1, c0, c1)
  150. local w = Create('Motor'){
  151. Parent = part0,
  152. Part0 = part0,
  153. Part1 = part1,
  154. C0 = c0,
  155. C1 = c1,
  156. }
  157. return w
  158. end
  159.  
  160. function clerp(a, b, t)
  161. return a:lerp(b, t)
  162. end
  163.  
  164. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  165. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  166.  
  167. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  168. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  169. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  170. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  171. RootJoint.C1 = CFrame.new(0, 0, 0)
  172. RootJoint.C0 = CFrame.new(0, 0, 0)
  173. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  174. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  175.  
  176. local rarmc1 = RW.C1
  177. local larmc1 = LW.C1
  178. local rlegc1 = RH.C1
  179. local llegc1 = LH.C1
  180.  
  181. local resetc1 = false
  182.  
  183. function PlayAnimationFromTable(table, speed, bool)
  184. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  185. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  186. RW.C0 = clerp(RW.C0, table[3], speed)
  187. LW.C0 = clerp(LW.C0, table[4], speed)
  188. RH.C0 = clerp(RH.C0, table[5], speed)
  189. LH.C0 = clerp(LH.C0, table[6], speed)
  190. if bool == true then
  191. if resetc1 == false then
  192. resetc1 = true
  193. RootJoint.C1 = RootJoint.C1
  194. Torso.Neck.C1 = Torso.Neck.C1
  195. RW.C1 = rarmc1
  196. LW.C1 = larmc1
  197. RH.C1 = rlegc1
  198. LH.C1 = llegc1
  199. end
  200. end
  201. end
  202.  
  203. ArtificialHB = Create("BindableEvent", script){
  204. Parent = script,
  205. Name = "Heartbeat",
  206. }
  207.  
  208. script:WaitForChild("Heartbeat")
  209.  
  210. frame = 1 / 30
  211. tf = 0
  212. allowframeloss = false
  213. tossremainder = false
  214. lastframe = tick()
  215. script.Heartbeat:Fire()
  216.  
  217. game:GetService("RunService").Heartbeat:connect(function(s, p)
  218. tf = tf + s
  219. if tf >= frame then
  220. if allowframeloss then
  221. script.Heartbeat:Fire()
  222. lastframe = tick()
  223. else
  224. for i = 1, math.floor(tf / frame) do
  225. script.Heartbeat:Fire()
  226. end
  227. lastframe = tick()
  228. end
  229. if tossremainder then
  230. tf = 0
  231. else
  232. tf = tf - frame * math.floor(tf / frame)
  233. end
  234. end
  235. end)
  236.  
  237. function swait(num)
  238. if num == 0 or num == nil then
  239. ArtificialHB.Event:wait()
  240. else
  241. for i = 0, num do
  242. ArtificialHB.Event:wait()
  243. end
  244. end
  245. end
  246.  
  247. function RemoveOutlines(part)
  248. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  249. end
  250.  
  251. CFuncs = {
  252. ["Part"] = {
  253. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  254. local Part = Create("Part"){
  255. Parent = Parent,
  256. Reflectance = Reflectance,
  257. Transparency = Transparency,
  258. CanCollide = false,
  259. Locked = true,
  260. BrickColor = BrickColor.new(tostring(BColor)),
  261. Name = Name,
  262. Size = Size,
  263. Material = Enum.Material.Neon,
  264. }
  265. RemoveOutlines(Part)
  266. return Part
  267. end;
  268. };
  269.  
  270. ["Mesh"] = {
  271. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  272. local Msh = Create(Mesh){
  273. Parent = Part,
  274. Offset = OffSet,
  275. Scale = Scale,
  276. }
  277. if Mesh == "SpecialMesh" then
  278. Msh.MeshType = MeshType
  279. Msh.MeshId = MeshId
  280. end
  281. return Msh
  282. end;
  283. };
  284.  
  285. ["Mesh"] = {
  286. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  287. local Msh = Create(Mesh){
  288. Parent = Part,
  289. Offset = OffSet,
  290. Scale = Scale,
  291. }
  292. if Mesh == "SpecialMesh" then
  293. Msh.MeshType = MeshType
  294. Msh.MeshId = MeshId
  295. end
  296. return Msh
  297. end;
  298. };
  299.  
  300. ["Weld"] = {
  301. Create = function(Parent, Part0, Part1, C0, C1)
  302. local Weld = Create("Weld"){
  303. Parent = Parent,
  304. Part0 = Part0,
  305. Part1 = Part1,
  306. C0 = C0,
  307. C1 = C1,
  308. }
  309. return Weld
  310. end;
  311. };
  312.  
  313. ["Sound"] = {
  314. Create = function(id, par, vol, pit)
  315. coroutine.resume(coroutine.create(function()
  316. local S = Create("Sound"){
  317. Volume = vol,
  318. Pitch = pit or 1,
  319. SoundId = id,
  320. Parent = par or workspace,
  321. }
  322. wait()
  323. S:play()
  324. game:GetService("Debris"):AddItem(S, 25)
  325. end))
  326. end;
  327. };
  328.  
  329. ["ParticleEmitter"] = {
  330. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  331. local fp = Create("ParticleEmitter"){
  332. Parent = Parent,
  333. Color = ColorSequence.new(Color1, Color2),
  334. LightEmission = LightEmission,
  335. Size = Size,
  336. Texture = Texture,
  337. Transparency = Transparency,
  338. ZOffset = ZOffset,
  339. Acceleration = Accel,
  340. Drag = Drag,
  341. LockedToPart = LockedToPart,
  342. VelocityInheritance = VelocityInheritance,
  343. EmissionDirection = EmissionDirection,
  344. Enabled = Enabled,
  345. Lifetime = LifeTime,
  346. Rate = Rate,
  347. Rotation = Rotation,
  348. RotSpeed = RotSpeed,
  349. Speed = Speed,
  350. VelocitySpread = VelocitySpread,
  351. }
  352. return fp
  353. end;
  354. };
  355.  
  356. CreateTemplate = {
  357.  
  358. };
  359. }
  360.  
  361. function rayCast(Position, Direction, Range, Ignore)
  362. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  363. end
  364.  
  365. FindNearestTorso = function(pos)
  366. local list = (game.Workspace:children())
  367. local torso = nil
  368. local dist = 1000
  369. local temp, human, temp2 = nil, nil, nil
  370. for x = 1, #list do
  371. temp2 = list[x]
  372. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  373. temp = temp2:findFirstChild("Torso")
  374. human = temp2:findFirstChild("Humanoid")
  375. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  376. local dohit = true
  377. if dohit == true then
  378. torso = temp
  379. dist = (temp.Position - pos).magnitude
  380. end
  381. end
  382. end
  383. end
  384. return torso, dist
  385. end
  386.  
  387. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  388. if hit.Parent == nil then
  389. return
  390. end
  391. local h = hit.Parent:FindFirstChild("Humanoid")
  392. for _, v in pairs(hit.Parent:children()) do
  393. if v:IsA("Humanoid") then
  394. h = v
  395. end
  396. end
  397. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  398. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  399. if hit.Parent.DebounceHit.Value == true then
  400. return
  401. end
  402. end
  403. local c = Create("ObjectValue"){
  404. Name = "creator",
  405. Value = NASA960,
  406. Parent = h,
  407. }
  408. game:GetService("Debris"):AddItem(c, .5)
  409. if HitSound ~= nil and HitPitch ~= nil then
  410. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  411. end
  412. local Damage = math.random(minim, maxim)
  413. local blocked = false
  414. local block = hit.Parent:findFirstChild("Block")
  415. if block ~= nil then
  416. if block.className == "IntValue" then
  417. if block.Value > 0 then
  418. blocked = true
  419. block.Value = block.Value - 1
  420. print(block.Value)
  421. end
  422. end
  423. end
  424. if blocked == false then
  425. h.Health = h.Health - Damage
  426. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really red").Color)
  427. else
  428. h.Health = h.Health - (Damage / 2)
  429. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really red").Color)
  430. end
  431. if Type == "Knockdown" then
  432. local hum = hit.Parent.Humanoid
  433. hum.PlatformStand = true
  434. coroutine.resume(coroutine.create(function(HHumanoid)
  435. swait(1)
  436. HHumanoid.PlatformStand = false
  437. end), hum)
  438. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  439. local bodvol = Create("BodyVelocity"){
  440. velocity = angle * knockback,
  441. P = 5000,
  442. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  443. Parent = hit,
  444. }
  445. local rl = Create("BodyAngularVelocity"){
  446. P = 3000,
  447. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  448. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  449. Parent = hit,
  450. }
  451. game:GetService("Debris"):AddItem(bodvol, .5)
  452. game:GetService("Debris"):AddItem(rl, .5)
  453. elseif Type == "Normal" then
  454. local vp = Create("BodyVelocity"){
  455. P = 500,
  456. maxForce = Vector3.new(math.huge, 0, math.huge),
  457. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  458. }
  459. if knockback > 0 then
  460. vp.Parent = hit.Parent.Torso
  461. end
  462. game:GetService("Debris"):AddItem(vp, .5)
  463. elseif Type == "Up" then
  464. local bodyVelocity = Create("BodyVelocity"){
  465. velocity = Vector3.new(0, 20, 0),
  466. P = 5000,
  467. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  468. Parent = hit,
  469. }
  470. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  471. elseif Type == "DarkUp" then
  472. coroutine.resume(coroutine.create(function()
  473. for i = 0, 1, 0.1 do
  474. swait()
  475. Effects.Block.Create(BrickColor.new("Institutional white"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  476. end
  477. end))
  478. local bodyVelocity = Create("BodyVelocity"){
  479. velocity = Vector3.new(0, 20, 0),
  480. P = 5000,
  481. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  482. Parent = hit,
  483. }
  484. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  485. elseif Type == "Snare" then
  486. local bp = Create("BodyPosition"){
  487. P = 2000,
  488. D = 100,
  489. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  490. position = hit.Parent.Torso.Position,
  491. Parent = hit.Parent.Torso,
  492. }
  493. game:GetService("Debris"):AddItem(bp, 1)
  494. elseif Type == "Freeze" then
  495. local BodPos = Create("BodyPosition"){
  496. P = 50000,
  497. D = 1000,
  498. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  499. position = hit.Parent.Torso.Position,
  500. Parent = hit.Parent.Torso,
  501. }
  502. local BodGy = Create("BodyGyro") {
  503. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  504. P = 20e+003,
  505. Parent = hit.Parent.Torso,
  506. cframe = hit.Parent.Torso.CFrame,
  507. }
  508. hit.Parent.Torso.Anchored = true
  509. coroutine.resume(coroutine.create(function(Part)
  510. swait(1.5)
  511. Part.Anchored = false
  512. end), hit.Parent.Torso)
  513. game:GetService("Debris"):AddItem(BodPos, 3)
  514. game:GetService("Debris"):AddItem(BodGy, 3)
  515. elseif Type == "Body Snatch" then
  516. if not gothit then
  517. gothit = true
  518. local BodPos = Create("BodyPosition"){
  519. P = 50000,
  520. D = 1000,
  521. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  522. position = hit.Parent.Torso.Position,
  523. Parent = hit.Parent.Torso,
  524. }
  525. local BodGy = Create("BodyGyro") {
  526. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  527. P = 20e+003,
  528. Parent = hit.Parent.Torso,
  529. cframe = hit.Parent.Torso.CFrame,
  530. }
  531. hit.Parent.Torso.Anchored = true
  532. coroutine.resume(coroutine.create(function(Part)
  533. swait(1.5)
  534. Part.Anchored = false
  535. end), hit.Parent.Torso)
  536. game:GetService("Debris"):AddItem(BodPos, 3)
  537. game:GetService("Debris"):AddItem(BodGy, 3)
  538. end
  539. end
  540. local debounce = Create("BoolValue"){
  541. Name = "DebounceHit",
  542. Parent = hit.Parent,
  543. Value = true,
  544. }
  545. game:GetService("Debris"):AddItem(debounce, Delay)
  546. c = Create("ObjectValue"){
  547. Name = "creator",
  548. Value = Player,
  549. Parent = h,
  550. }
  551. game:GetService("Debris"):AddItem(c, .5)
  552. end
  553. end
  554.  
  555. function ShowDamage(Pos, Text, Time, Color)
  556. local Rate = (1 / 30)
  557. local Pos = (Pos or Vector3.new(0, 0, 0))
  558. local Text = (Text or "")
  559. local Time = (Time or 2)
  560. local Color = (Color or Color3.new(1, 0, 1))
  561. local EffectPart = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  562. EffectPart.Anchored = true
  563. local BillboardGui = Create("BillboardGui"){
  564. Size = UDim2.new(3, 0, 3, 0),
  565. Adornee = EffectPart,
  566. Parent = EffectPart,
  567. }
  568. local TextLabel = Create("TextLabel"){
  569. BackgroundTransparency = 1,
  570. Size = UDim2.new(1, 0, 1, 0),
  571. Text = Text,
  572. Font = "SciFi",
  573. TextColor3 = Color,
  574. TextScaled = true,
  575. Parent = BillboardGui,
  576. }
  577. game.Debris:AddItem(EffectPart, (Time))
  578. EffectPart.Parent = game:GetService("Workspace")
  579. delay(0, function()
  580. local Frames = (Time / Rate)
  581. for Frame = 1, Frames do
  582. wait(Rate)
  583. local Percent = (Frame / Frames)
  584. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  585. TextLabel.TextTransparency = Percent
  586. end
  587. if EffectPart and EffectPart.Parent then
  588. EffectPart:Destroy()
  589. end
  590. end)
  591. end
  592.  
  593. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  594. for _, c in pairs(workspace:children()) do
  595. local hum = c:findFirstChild("Humanoid")
  596. if hum ~= nil then
  597. local head = c:findFirstChild("Torso")
  598. if head ~= nil then
  599. local targ = head.Position - Part.Position
  600. local mag = targ.magnitude
  601. if mag <= Magnitude and c.Name ~= Player.Name then
  602. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  603. end
  604. end
  605. end
  606. end
  607. end
  608.  
  609. SoulPhoenix = New("Model",Character,"SoulPhoenix",{})
  610. PhoenixBody = New("Part",SoulPhoenix,"PhoenixBody",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Fabric,Transparency = 0,Transparency = 0,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(98.0299988, 22.317461, 5.73185444, 1.00000024, 1.49011612e-08, 5.96046448e-08, 1.580114e-08, 0.999999881, 8.94069672e-08, 4.44169572e-08, 2.98023224e-08, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  611. Mesh = New("SpecialMesh",PhoenixBody,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://92135477",MeshType = Enum.MeshType.FileMesh,})
  612. BodyMotor = New("Motor",PhoenixBody,"moy",{Part0 = RootPart, Part1 = PhoenixBody,})
  613. PhoenixLeftWing = New("Part",SoulPhoenix,"PhoenixLeftWing",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Fabric,Transparency = 0,Transparency = 0,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(81.6499939, 38.6274529, 6.26185465, 1.00000024, 1.49011612e-08, 5.96046448e-08, 1.580114e-08, 0.999999881, 8.94069672e-08, 4.44169572e-08, 2.98023224e-08, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  614. Mesh = New("SpecialMesh",PhoenixLeftWing,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://92135524",MeshType = Enum.MeshType.FileMesh,})
  615. LeftWingMotor = New("Motor",PhoenixLeftWing,"mot",{Part0 = RootPart,Part1 = PhoenixLeftWing,})
  616. PhoenixEye = New("Part",SoulPhoenix,"PhoenixEye",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 1.14999998, 1.14999998),CFrame = CFrame.new(96.6304474, 45.9224358, 4.19199324, 0.969483733, -0.245157003, -2.40908685e-06, 0.0743650645, 0.294088989, -0.952880502, 0.233606115, 0.923801661, 0.303345352),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  617. Mesh = New("SpecialMesh",PhoenixEye,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  618. mot = New("Motor",PhoenixEye,"mot",{Part0 = PhoenixEye,Part1 = PhoenixBody,C0 = CFrame.new(0, 0, 0, 0.969483495, 0.0743650347, 0.2336061, -0.245157003, 0.29408893, 0.92380178, -2.41296789e-06, -0.952880621, 0.303345412),C1 = CFrame.new(-1.39955139, 23.6049767, -1.53986216, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  619. PhoenixEye = New("Part",SoulPhoenix,"PhoenixEye",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 1.14999998, 1.14999998),CFrame = CFrame.new(99.5204468, 45.9224319, 4.19199657, 0.969488144, 0.245138183, 0, -0.0743670762, 0.294111639, -0.952873468, -0.233585671, 0.923799515, 0.303367972),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  620. Mesh = New("SpecialMesh",PhoenixEye,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  621. mot = New("Motor",PhoenixEye,"mot",{Part0 = PhoenixEye,Part1 = PhoenixBody,C0 = CFrame.new(0, 0, 0, 0.969488144, -0.0743670762, -0.233585671, 0.245138183, 0.294111639, 0.923799515, 0, -0.952873468, 0.303367972),C1 = CFrame.new(1.490448, 23.6049728, -1.53985977, 1.00000024, 1.93927008e-08, 5.77987862e-08, 1.93927008e-08, 0.999999881, 5.96046448e-08, 5.77987862e-08, 5.96046448e-08, 0.99999994),})
  622. PhoenixRightWing = New("Part",SoulPhoenix,"PhoenixRightWing",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Fabric,Transparency = 0,Transparency = 0,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(114.380035, 38.6274414, 6.26186275, 1.00000048, 3.070231e-08, 1.04021609e-07, 3.070231e-08, 0.999999762, 1.19209275e-07, 1.04021609e-07, 1.19209275e-07, 0.999999762),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  623. Mesh = New("SpecialMesh",PhoenixRightWing,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://92135508",MeshType = Enum.MeshType.FileMesh,})
  624. RightWingMotor = New("Motor",PhoenixRightWing,"mot",{Part0 = RootPart,Part1 = PhoenixRightWing,})
  625.  
  626. SoulTheos = New("Model",nil,"SoulTheos",{})
  627. GiantTorso = New("Part",SoulTheos,"GiantTorso",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(18.7638474, -61.9110374, 34.5869102, -0.999799013, -7.73547413e-08, 0.0200730152, 8.94062779e-08, 0.99999994, 5.95548499e-08, -0.0200730115, -4.54574689e-08, -0.999799669),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  628. Mesh = New("SpecialMesh",GiantTorso,"Mesh",{Scale = Vector3.new(160, 160, 80),MeshType = Enum.MeshType.Brick,})
  629. TorsoMotor = New("Motor",GiantTorso,"mot",{Part0 = RootPart,Part1 = GiantTorso,})
  630. GiantLeftArm = New("Part",SoulTheos,"GiantLeftArm",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(57.4654083, -58.6980286, 35.3639145, -0.939503789, -0.3419514, 0.0200722292, -0.342020005, 0.939692616, -1.96863266e-06, -0.0188610125, -0.00686705299, -0.999799788),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  631. Mesh = New("SpecialMesh",GiantLeftArm,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  632. LeftArmMotor = New("Motor",GiantLeftArm,"mot",{Part0 = RootPart,Part1 = GiantLeftArm,})
  633. GiantRightArm = New("Part",SoulTheos,"GiantRightArm",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(-19.9377098, -58.6980209, 33.8098907, -0.939503908, 0.3419514, 0.0200727414, 0.342020124, 0.939692438, -2.35339098e-06, -0.0188630428, 0.0068629696, -0.999799788),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  634. Mesh = New("SpecialMesh",GiantRightArm,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  635. RightArmMotor = New("Motor",GiantRightArm,"mot",{Part0 = RootPart,Part1 = GiantRightArm,})
  636. GiantLeftLeg = New("Part",SoulTheos,"GiantLeftLeg",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(30.1172562, -107.333794, 34.8149414, -0.999799252, -1.07163167e-07, 0.0200730208, 1.08046585e-07, 0.999999821, 5.9777598e-08, -0.0200730152, -4.54196076e-08, -0.999799907),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  637. Mesh = New("SpecialMesh",GiantLeftLeg,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  638. LeftLegMotor = New("Motor",GiantLeftLeg,"mot",{Part0 = RootPart,Part1 = GiantLeftLeg,})
  639. GiantRightLeg = New("Part",SoulTheos,"GiantRightLeg",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(7.41043186, -107.333786, 34.3590622, -0.999799252, -1.07163167e-07, 0.020073019, 1.08046585e-07, 0.999999821, 5.97776051e-08, -0.0200730152, -4.54196076e-08, -0.999800026),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  640. Mesh = New("SpecialMesh",GiantRightLeg,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  641. RightLegMotor = New("Motor",GiantRightLeg,"mot",{Part0 = RootPart,Part1 = GiantRightLeg,})
  642. GiantHead = New("Part",SoulTheos,"GiantHead",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(18.872324, -28.2713623, 29.1834316, -0.999799252, 0.00348557555, 0.019768076, 1.08046585e-07, 0.984807312, -0.173649967, -0.0200730152, -0.173615396, -0.984610558),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  643. Mesh = New("SpecialMesh",GiantHead,"Mesh",{Scale = Vector3.new(80, 80, 80),MeshType = Enum.MeshType.Brick,})
  644. HeadMotor = New("Motor",GiantHead,"mot",{Part0 = RootPart,Part1 = GiantHead,})
  645. GiantCrystal = New("Part",SoulTheos,"GiantCrystal",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(18.7638416, -61.9110107, 34.5869102, -0.999799252, -1.06558666e-07, 0.0200730152, 1.0786254e-07, 0.99999994, 7.40884971e-08, -0.0200730134, -7.58521566e-08, -0.999800146),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.482353, 0, 0.482353),})
  646. Mesh = New("SpecialMesh",GiantCrystal,"Mesh",{Scale = Vector3.new(10, 25, 10),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
  647. mot = New("Motor",GiantCrystal,"mot",{Part0 = GiantTorso,Part1 = GiantCrystal,})
  648.  
  649. TorsoMotor.C0 = clerp(TorsoMotor.C0, CFrame.new(-7.71597195, -66.5210419, 49.4334412, 0.999800205, 1.64012917e-07, -0.0200730488, 1.78532588e-07, 0.99999994, 1.78446513e-07, 0.0200730469, 1.49604062e-07, 0.999801874) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  650. HeadMotor.C0 = clerp(HeadMotor.C0, CFrame.new(-7.82444096, -32.8813782, 54.8370323, 0.999800444, -0.00348549592, -0.0197681244, 1.97172923e-07, 0.984807372, -0.173649848, 0.0200730506, 0.173615888, 0.984612703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  651. RightArmMotor.C0 = clerp(RightArmMotor.C0, CFrame.new(30.9857731, -63.3080025, 50.2104797, 0.9395051, -0.341951728, -0.020072775, 0.342020214, 0.939692438, -2.23449933e-06, 0.0188631117, -0.00686288392, 0.999801993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  652. LeftArmMotor.C0 = clerp(LeftArmMotor.C0, CFrame.new(-46.4177017, -63.3080521, 48.6564445, 0.939504862, 0.341951907, -0.0200722627, -0.342019916, 0.939692616, -1.84974078e-06, 0.0188610107, 0.00686716288, 0.999801993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  653. RightLegMotor.C0 = clerp(RightLegMotor.C0, CFrame.new(3.63747144, -111.943748, 49.6613121, 0.999800444, 1.93821379e-07, -0.0200730525, 1.97172909e-07, 0.999999821, 1.7866931e-07, 0.0200730506, 1.49566191e-07, 0.999802232) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  654. LeftLegMotor.C0 = clerp(LeftLegMotor.C0, CFrame.new(-19.0694675, -111.943779, 49.2054138, 0.999800444, 1.93821379e-07, -0.0200730544, 1.97172909e-07, 0.999999821, 1.78669296e-07, 0.0200730506, 1.49566191e-07, 0.999802113) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  655.  
  656. EffectModel = Create("Model"){
  657. Parent = Character,
  658. Name = "Effects",
  659. }
  660.  
  661. Effects = {
  662. Block = {
  663. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  664. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  665. prt.Anchored = true
  666. prt.CFrame = cframe
  667. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  668. game:GetService("Debris"):AddItem(prt, 100)
  669. if Type == 1 or Type == nil then
  670. prt.CFrame = prt.CFrame * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
  671. table.insert(Effects, {
  672. prt,
  673. "Block1",
  674. delay,
  675. x3,
  676. y3,
  677. z3,
  678. msh
  679. })
  680. elseif Type == 2 then
  681. table.insert(Effects, {
  682. prt,
  683. "Block2",
  684. delay,
  685. x3,
  686. y3,
  687. z3,
  688. msh
  689. })
  690. end
  691. end;
  692. };
  693.  
  694. Cylinder = {
  695. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  696. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  697. prt.Anchored = true
  698. prt.CFrame = cframe
  699. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  700. game:GetService("Debris"):AddItem(prt, 100)
  701. table.insert(Effects, {
  702. prt,
  703. "Cylinder",
  704. delay,
  705. x3,
  706. y3,
  707. z3,
  708. msh
  709. })
  710. end;
  711. };
  712. Head = {
  713. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  714. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  715. prt.Anchored = true
  716. prt.CFrame = cframe
  717. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  718. game:GetService("Debris"):AddItem(prt, 100)
  719. table.insert(Effects, {
  720. prt,
  721. "Cylinder",
  722. delay,
  723. x3,
  724. y3,
  725. z3,
  726. msh
  727. })
  728. end;
  729. };
  730.  
  731. Sphere = {
  732. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  733. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  734. prt.Anchored = true
  735. prt.CFrame = cframe
  736. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  737. game:GetService("Debris"):AddItem(prt, 100)
  738. table.insert(Effects, {
  739. prt,
  740. "Cylinder",
  741. delay,
  742. x3,
  743. y3,
  744. z3,
  745. msh
  746. })
  747. end;
  748. };
  749.  
  750. Elect = {
  751. Create = function(cff, x, y, z)
  752. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  753. prt.Anchored = true
  754. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  755. prt.CFrame = CFrame.new(prt.Position)
  756. game:GetService("Debris"):AddItem(prt, 2)
  757. local xval = math.random() / 2
  758. local yval = math.random() / 2
  759. local zval = math.random() / 2
  760. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  761. table.insert(Effects, {
  762. prt,
  763. "Elec",
  764. 0.1,
  765. x,
  766. y,
  767. z,
  768. xval,
  769. yval,
  770. zval
  771. })
  772. end;
  773.  
  774. };
  775.  
  776. Ring = {
  777. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  778. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  779. prt.Anchored = true
  780. prt.CFrame = cframe
  781. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  782. game:GetService("Debris"):AddItem(prt, 100)
  783. table.insert(Effects, {
  784. prt,
  785. "Cylinder",
  786. delay,
  787. x3,
  788. y3,
  789. z3,
  790. msh
  791. })
  792. end;
  793. };
  794.  
  795.  
  796. Wave = {
  797. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  798. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  799. prt.Anchored = true
  800. prt.CFrame = cframe
  801. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  802. game:GetService("Debris"):AddItem(prt, 100)
  803. table.insert(Effects, {
  804. prt,
  805. "Cylinder",
  806. delay,
  807. x3,
  808. y3,
  809. z3,
  810. msh
  811. })
  812. end;
  813. };
  814.  
  815. Break = {
  816. Create = function(brickcolor, cframe, x1, y1, z1)
  817. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  818. prt.Anchored = true
  819. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  820. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  821. local num = math.random(1, 5) / 100
  822. game:GetService("Debris"):AddItem(prt, 100)
  823. table.insert(Effects, {
  824. prt,
  825. "Shatter",
  826. num,
  827. prt.CFrame,
  828. math.random() - math.random(),
  829. 0,
  830. math.random(50, 100) / 100
  831. })
  832. end;
  833. };
  834.  
  835. Fire = {
  836. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  837. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  838. prt.Anchored = true
  839. prt.CFrame = cframe
  840. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  841. game:GetService("Debris"):AddItem(prt, 100)
  842. table.insert(Effects, {
  843. prt,
  844. "Fire",
  845. delay,
  846. 1,
  847. 1,
  848. 1,
  849. msh
  850. })
  851. end;
  852. };
  853.  
  854. FireWave = {
  855. Create = function(brickcolor, cframe, x1, y1, z1)
  856. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  857. prt.Anchored = true
  858. prt.CFrame = cframe
  859. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  860. local d = Create("Decal"){
  861. Parent = prt,
  862. Texture = "rbxassetid://26356434",
  863. Face = "Top",
  864. }
  865. local d = Create("Decal"){
  866. Parent = prt,
  867. Texture = "rbxassetid://26356434",
  868. Face = "Bottom",
  869. }
  870. game:GetService("Debris"):AddItem(prt, 100)
  871. table.insert(Effects, {
  872. prt,
  873. "FireWave",
  874. 1,
  875. 30,
  876. math.random(400, 600) / 100,
  877. msh
  878. })
  879. end;
  880. };
  881.  
  882. Lightning = {
  883. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  884. local magz = (p0 - p1).magnitude
  885. local curpos = p0
  886. local trz = {
  887. -ofs,
  888. ofs
  889. }
  890. for i = 1, tym do
  891. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  892. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  893. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  894. li.Material = "Neon"
  895. if tym == i then
  896. local magz2 = (curpos - p1).magnitude
  897. li.Size = Vector3.new(th, th, magz2)
  898. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  899. table.insert(Effects, {
  900. li,
  901. "Disappear",
  902. last
  903. })
  904. else
  905. do
  906. do
  907. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  908. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  909. game.Debris:AddItem(li, 10)
  910. table.insert(Effects, {
  911. li,
  912. "Disappear",
  913. last
  914. })
  915. end
  916. end
  917. end
  918. end
  919. end
  920. };
  921.  
  922. EffectTemplate = {
  923.  
  924. };
  925. }
  926.  
  927. function attackone()
  928. attack = true
  929. for i = 0, 1, 0.1 do
  930. swait()
  931. PlayAnimationFromTable({
  932. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  933. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  934. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  935. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  936. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  937. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  938. }, .3, false)
  939. end
  940. attack = false
  941. end
  942.  
  943. local Skills = {
  944. SkillKeys = {
  945. Z = function()
  946. attack = true
  947. CFuncs.Sound.Create('rbxassetid://278641993', Torso, 10, 0.8)
  948. CFuncs.Sound.Create('rbxassetid://432629066', Torso, 10, 1.4)
  949. Effects.Sphere.Create(BrickColor.new'Really black', Torso.CFrame, 5000, 5000, 5000, -500, -500, -500, 0.1)
  950. for i = 0, 1, 0.015 do
  951. swait()
  952. Effects.Block.Create(BrickColor.new'Really black', LeftArm.CFrame, 5, 10, 5, 0, 0, 0, 0.065, 2)
  953. Effects.Block.Create(BrickColor.new'Really black', PhoenixLeftWing.CFrame * CFrame.new(math.random(-80, 80), math.random(-80, 80), math.random(-80, 80)), 15, 15, 15, -1.5, -1.5, -1.5, 0.1)
  954. PlayAnimationFromTable({
  955. CFrame.new(-0.450007856, 34.4500389, 2.64996958, 0.706887066, 0.0697530583, -0.703878701, -0.134303018, 0.990258873, -0.0367442332, 0.694459081, 0.120507054, 0.709369302) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  956. CFrame.new(0.0460849106, 1.49556756, -0.0312721878, 0.690121353, -0.105061971, 0.716026962, -0.0974965021, 0.966888905, 0.235839799, -0.717096269, -0.232568204, 0.657027483) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  957. CFrame.new(1.76800859, 0.41491133, 0.637459815, 0.717890084, -0.542569339, -0.43617934, 0.676375687, 0.691907883, 0.252545953, 0.164772302, -0.47632134, 0.863694549) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  958. CFrame.new(-1.29877186, 1.61722529, 0.432865411, -0.992088079, -0.123097658, 0.0246656239, 0.114064798, -0.965879977, -0.232519478, 0.0524466038, -0.227866367, 0.972279131) * CFrame.new(math.rad(math.random(-6, 6)), math.rad(math.random(-6, 6)), math.rad(math.random(-6, 6))) * CFrame.Angles(0, 0, 0),
  959. CFrame.new(1.03976572, -1.77876055, 0.242838889, 0.794499278, -0.512597859, -0.325598568, 0.563426197, 0.822251141, 0.0803367645, 0.226543367, -0.247278288, 0.942089081) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  960. CFrame.new(-0.429238796, -1.56618023, -0.0890657306, 0.70963943, -0.332465768, 0.621191263, 0.102562837, 0.921020091, 0.375769943, -0.697060227, -0.202950001, 0.687690794) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  961. }, i, false)
  962. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-1.15036225, 22.0855694, -1.10095191, 0.643693328, 0.0103043765, -0.765214205, -0.167619243, 0.977528214, -0.127836734, 0.746701598, 0.210552275, 0.630955577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  963. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-4.70158291, 48.946888, -6.42339802, 0.303303033, -0.0722500831, -0.950151145, -0.690884054, 0.670053124, -0.271492213, 0.656267047, 0.738788784, 0.153312698) * CFrame.new(math.rad(math.random(-25, 25)), math.rad(math.random(-25, 25)), math.rad(math.random(-25, 25))) * CFrame.Angles(0, 0, 0), i)
  964. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(0.796527863, 30.4707031, 18.5962505, -0.0828529671, 0.744275391, -0.662713885, 0.0611559786, 0.667544246, 0.742054403, 0.994683623, 0.0209524892, -0.1008249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  965. end
  966. CFuncs.Sound.Create('rbxassetid://231917758', Torso, 10, 0.6)
  967. for i = 0, 1, 0.3 do
  968. swait()
  969. Effects.Block.Create(BrickColor.new'Really black', LeftArm.CFrame, 5, 10, 5, 0, 0, 0, 0.065, 2)
  970. Effects.Block.Create(BrickColor.new'Really black', PhoenixLeftWing.CFrame * CFrame.new(math.random(-80, 80), math.random(-80, 80), math.random(-80, 80)), 15, 15, 15, -1.5, -1.5, -1.5, 0.1)
  971. PlayAnimationFromTable({
  972. CFrame.new(-1.4500227, 16.0700436, 1.48995411, 0.500781119, 0.268583059, -0.822849631, 0.724632204, 0.389859051, 0.568258941, 0.473420113, -0.880836606, 0.000610119198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  973. CFrame.new(0.15797621, 1.50410318, 0.114551261, 0.486720592, -0.192857534, 0.852002978, 0.106479771, 0.981150568, 0.161262766, -0.867044032, 0.0122311777, 0.498081565) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  974. CFrame.new(1.67660713, 0.708690286, 0.789752901, -0.0159761012, -0.824896514, -0.565058172, 0.974268675, -0.139913261, 0.176705688, -0.224822953, -0.547695339, 0.805906057) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  975. CFrame.new(-1.10396993, 1.2912178, 0.0291810334, -0.821999371, 0.0640687644, -0.565873325, 0.109669715, -0.957243681, -0.267688602, -0.558829129, -0.282098979, 0.779827237) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  976. CFrame.new(0.597159743, -1.94990098, -0.479608893, 0.783460021, -0.158425093, -0.600909412, -0.011714071, 0.963022649, -0.269166023, 0.62133193, 0.217919916, 0.75263387) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  977. CFrame.new(-1.55931222, -1.15647113, -0.755336821, 0.52128011, 0.851746798, -0.0528649986, -0.647634089, 0.354498774, -0.674463451, -0.555731416, 0.385821551, 0.7364133) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  978. }, i, false)
  979. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.875052452, 10.1464262, 11.394949, 0.912297964, 0.0103287548, -0.409397304, 0.365901619, 0.42841807, 0.826180458, 0.183926702, -0.903521478, 0.387065411) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  980. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-2.51656485, 5.22779274, -10.8634615, 0.296985149, 0.0515701436, -0.953488529, 0.799673378, 0.532272458, 0.277864367, 0.521845222, -0.845000923, 0.116837732) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  981. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(2.85010839, 28.4606934, 13.6595898, -0.0339340121, 0.981315255, -0.189391062, 0.723264217, 0.154893085, 0.672976315, 0.68973726, -0.114142977, -0.715006351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  982. end
  983. local hit, pos = rayCast(PhoenixLeftWing.Position, CFrame.new(PhoenixLeftWing.Position, PhoenixLeftWing.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  984. if hit then
  985. Effects.Block.Create(BrickColor.new'Really red', CFrame.new(pos), 50, 50, 50, 20, 20, 20, 0.04)
  986. Effects.Wave.Create(BrickColor.new'Really black', CFrame.new(pos) * CFrame.Angles(0, math.random(-180, 180), 0), 5, 2, 5, 3, 1, 3, 0.04)
  987. end
  988. local ref = CFuncs.Part.Create(EffectModel, 'Neon', 0, 1, 'White', 'Reference', Vector3.new(0.2, 0.2, 0.2))
  989. ref.Anchored = true ref.CFrame = RootPart.CFrame * CFrame.new(2, 1, -25)
  990. coroutine.resume(coroutine.create(function()
  991. local hit, pos = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  992. local refposchange = coroutine.wrap(function()
  993. while true do
  994. swait()
  995. hit, pos = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  996. end
  997. end)
  998. refposchange()
  999. local charges = 0
  1000. repeat
  1001. swait(12)
  1002. Camera.FieldOfView = Camera.FieldOfView + 1
  1003. charges = charges + 1
  1004. if charges > 13 then
  1005. charges = 13
  1006. end
  1007. ref.CFrame = ref.CFrame * CFrame.new(0, 0, -25)
  1008. CFuncs.Sound.Create('rbxassetid://565800952', ref, 10, 0.9)
  1009. CFuncs.Sound.Create('rbxassetid://304529688', ref, 9.5, 0.8)
  1010. CFuncs.Sound.Create('rbxassetid://414516914', ref, 9.5, 0.4)
  1011. CFuncs.Sound.Create('rbxassetid://466493476', ref, 9.75, 0.7)
  1012. if hit then
  1013. Effects.Sphere.Create(BrickColor.new'Really red', CFrame.new(pos), 50, 50, 50, 20, 20, 20, 0.026)
  1014. Effects.Sphere.Create(BrickColor.new'Dusty rose', CFrame.new(pos), 51, 35, 51, 23, 10, 23, 0.026)
  1015. Effects.Ring.Create(BrickColor.new'Dusty rose', CFrame.new(pos) * CFrame.Angles(1.57, 0, 0), 8, 8, 0.5, 4.5, 4.5, 1.5, 0.026)
  1016. Effects.Block.Create(BrickColor.new'Really black', CFrame.new(pos), 55, 55, 55, 25, 25, 25, 0.032)
  1017. for i = 1, 2 do
  1018. Effects.Ring.Create(BrickColor.new'Dusty rose', CFrame.new(pos) * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)), 8, 8, 0.5, 12, 12, 0, 0.05)
  1019. end
  1020. for i = 1, 10 do
  1021. Effects.Break.Create(BrickColor.new'Institutional white', CFrame.new(pos), 5, 15, 5)
  1022. end
  1023. MagnitudeDamage(ref, 35, 10, 35, 3, 'Body Snatch', 0, 0)
  1024. end
  1025. until gothit == true or charges >= 13
  1026. if gothit then
  1027. CFuncs.Sound.Create('rbxassetid://435742675', ref, 10, 0.9)
  1028. CFuncs.Sound.Create('rbxassetid://414516914', ref, 9.5, 0.32)
  1029. for i = 1, 130 do
  1030. swait()
  1031. MagnitudeDamage(ref, 65, 1, 1, 0, 'Normal', 0, 0)
  1032. Effects.Sphere.Create(BrickColor.new'Really red', CFrame.new(pos), 50, 50, 50, 55, 55, 55, 0.1)
  1033. Effects.Sphere.Create(BrickColor.new'Dusty rose', CFrame.new(pos), 65, 70, 65, 55, 97, 55, 0.04)
  1034. Effects.Wave.Create(BrickColor.new'Dusty rose', CFrame.new(pos) * CFrame.Angles(0, math.random(-180, 180), 0), 210, 5, 210, -13, 65, -13, 0.1)
  1035. Effects.Ring.Create(BrickColor.new'Really black', ref.CFrame * CFrame.Angles(1.57, 0, 0), 1, 1, 0.1, 35, 35, 0, 0.08)
  1036. end
  1037. elseif not gothit and charges >= 13 then
  1038. CFuncs.Sound.Create('rbxassetid://439342426', ref, 10, 1)
  1039. for i = 1, 10 do
  1040. swait(7.8)
  1041. Effects.Block.Create(BrickColor.new'Really red', CFrame.new(pos), 1600, 1600, 1600, -160, -160, -160, 0.1)
  1042. end
  1043. end
  1044. if gothit ~= false then
  1045. gothit = false
  1046. end
  1047. swait(10)
  1048. ref:Destroy()
  1049. coroutine.resume(coroutine.create(function()
  1050. repeat
  1051. swait()
  1052. Camera.FieldOfView = Camera.FieldOfView - 1
  1053. until Camera.FieldOfView <= 70
  1054. end))
  1055. end))
  1056. for i = 0, 1, 0.02 do
  1057. swait()
  1058. PlayAnimationFromTable({
  1059. CFrame.new(-1.4500227, 16.0700436, 1.48995411, 0.500781119, 0.268583059, -0.822849631, 0.724632204, 0.389859051, 0.568258941, 0.473420113, -0.880836606, 0.000610119198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1060. CFrame.new(0.15797621, 1.50410318, 0.114551261, 0.486720592, -0.192857534, 0.852002978, 0.106479771, 0.981150568, 0.161262766, -0.867044032, 0.0122311777, 0.498081565) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1061. CFrame.new(1.67660713, 0.708690286, 0.789752901, -0.0159761012, -0.824896514, -0.565058172, 0.974268675, -0.139913261, 0.176705688, -0.224822953, -0.547695339, 0.805906057) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1062. CFrame.new(-1.10396993, 1.2912178, 0.0291810334, -0.821999371, 0.0640687644, -0.565873325, 0.109669715, -0.957243681, -0.267688602, -0.558829129, -0.282098979, 0.779827237) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1063. CFrame.new(0.597159743, -1.94990098, -0.479608893, 0.783460021, -0.158425093, -0.600909412, -0.011714071, 0.963022649, -0.269166023, 0.62133193, 0.217919916, 0.75263387) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1064. CFrame.new(-1.55931222, -1.15647113, -0.755336821, 0.52128011, 0.851746798, -0.0528649986, -0.647634089, 0.354498774, -0.674463451, -0.555731416, 0.385821551, 0.7364133) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1065. }, i, false)
  1066. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.875052452, 10.1464262, 11.394949, 0.912297964, 0.0103287548, -0.409397304, 0.365901619, 0.42841807, 0.826180458, 0.183926702, -0.903521478, 0.387065411) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  1067. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-2.51656485, 5.22779274, -10.8634615, 0.296985149, 0.0515701436, -0.953488529, 0.799673378, 0.532272458, 0.277864367, 0.521845222, -0.845000923, 0.116837732) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  1068. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(2.85010839, 28.4606934, 13.6595898, -0.0339340121, 0.981315255, -0.189391062, 0.723264217, 0.154893085, 0.672976315, 0.68973726, -0.114142977, -0.715006351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  1069. end
  1070. attack = false
  1071. end,
  1072.  
  1073. X = function()
  1074. attack = true
  1075.  
  1076. attack = false
  1077. end,
  1078.  
  1079. C = function()
  1080. attack = true
  1081.  
  1082. attack = false
  1083. end,
  1084.  
  1085. V = function()
  1086. attack = true
  1087. for i = 0, 1, 0.01 do
  1088. swait()
  1089. PlayAnimationFromTable({
  1090. CFrame.new(-0.450012207, 36.5343437, 4.64009285, 1, 0, -0, 0, 0.911060274, -0.412273139, 0, 0.412273139, 0.911060274) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1091. CFrame.new(-0.031036377, 1.40616012, 0.163078129, 1, 0, -0, 0, 0.873728931, -0.486413121, -0, 0.486413121, 0.873728931) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1092. CFrame.new(1.4099741, 0.440860987, 0.589604557, 0.835476875, -0.543924391, 0.078260228, 0.436975986, 0.74394387, 0.505568504, -0.333212227, -0.388192892, 0.859229803) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1093. CFrame.new(-1.4900068, 0.354382098, 0.583152413, 0.608336866, 0.698272943, 0.377281368, -0.773055971, 0.62896198, 0.082408905, -0.179751724, -0.341791987, 0.922424912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1094. CFrame.new(0.620010316, -1.99047685, 0.228450388, 0.982812107, -0.101304151, -0.154330328, 0.145762682, 0.938838065, 0.311987519, 0.113285549, -0.329120696, 0.937467933) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1095. CFrame.new(-0.479997247, -1.12127328, -0.427212268, 0.996603906, -0.0375141054, 0.0733033791, 0.0133853965, 0.952161908, 0.305300653, -0.0812497586, -0.303282619, 0.949430466) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1096. }, i, false)
  1097. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.350361347, 25.6733379, 1.26589012, 1.00000036, -5.7606735e-06, -1.76140657e-06, 5.13346185e-06, 0.967948616, -0.251147747, 3.21859943e-06, 0.251147896, 0.967948735) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  1098. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-11.866394, 33.6268005, 19.443737, 0.539522171, 0.0601179376, 0.839822412, 0.622922242, 0.642567754, -0.44617781, -0.566466153, 0.763866901, 0.309230715) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  1099. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(9.18617439, 32.9270172, 21.2700253, 0.339651078, -0.0808581635, -0.937069535, -0.67121619, 0.677080274, -0.301713824, 0.65886718, 0.731453598, 0.175697744) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  1100. end
  1101. SoulTheos.Parent = Character
  1102. CFuncs.Sound.Create('rbxassetid://528589382', Character, 5, 1)
  1103. local groundref = CFuncs.Part.Create(EffectModel, 'Neon', 0, 1, 'White', 'Reference', Vector3.new(0.2, 0.2, 0.2))
  1104. groundref.Anchored = true
  1105. for i = 0, 25, 0.1 do
  1106. swait()
  1107. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1108. groundref.CFrame = CFrame.new(pos) * CFrame.new(math.random(-130, 130), 0, math.random(-130, 130))
  1109. if hit then
  1110. Effects.Block.Create(BrickColor.new'Really red', groundref.CFrame, 80, 80, 80, -8, -8, -8, 0.1)
  1111. for i = 1, 2 do
  1112. Effects.Break.Create(BrickColor.new'Dusty rose', groundref.CFrame, 1, 15, 1)
  1113. end
  1114. end
  1115. TorsoMotor.C0 = clerp(TorsoMotor.C0, CFrame.new(-7.71592808, 64.4789124, 49.4334869, 0.999800205, 1.64012917e-07, -0.0200730488, 1.78532588e-07, 0.99999994, 1.78446513e-07, 0.0200730469, 1.49604062e-07, 0.999801874) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1116. HeadMotor.C0 = clerp(HeadMotor.C0, CFrame.new(-7.82439089, 98.1185913, 54.8370819, 0.999800444, -0.00348549592, -0.0197681244, 1.97172923e-07, 0.984807372, -0.173649848, 0.0200730506, 0.173615888, 0.984612703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1117. RightArmMotor.C0 = clerp(RightArmMotor.C0, CFrame.new(30.985817, 67.6919327, 50.2105255, 0.9395051, -0.341951728, -0.020072775, 0.342020214, 0.939692438, -2.23449933e-06, 0.0188631117, -0.00686288392, 0.999801993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1118. LeftArmMotor.C0 = clerp(LeftArmMotor.C0, CFrame.new(-46.4176674, 67.6919098, 48.6564903, 0.939504862, 0.341951907, -0.0200722627, -0.342019916, 0.939692616, -1.84974078e-06, 0.0188610107, 0.00686716288, 0.999801993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1119. RightLegMotor.C0 = clerp(RightLegMotor.C0, CFrame.new(3.63752246, 19.056179, 49.6613541, 0.999800444, 1.93821379e-07, -0.0200730525, 1.97172909e-07, 0.999999821, 1.7866931e-07, 0.0200730506, 1.49566191e-07, 0.999802232) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1120. LeftLegMotor.C0 = clerp(LeftLegMotor.C0, CFrame.new(-19.069416, 19.0561523, 49.2054596, 0.999800444, 1.93821379e-07, -0.0200730544, 1.97172909e-07, 0.999999821, 1.78669296e-07, 0.0200730506, 1.49566191e-07, 0.999802113) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1121. end
  1122. CFuncs.Sound.Create('rbxassetid://435742675', Character, 10, 0.6)
  1123. CFuncs.Sound.Create('rbxassetid://432629066', Character, 11, 0.4)
  1124. Effects.Block.Create(BrickColor.new'Really black', GiantTorso.CFrame, 850, 850, 580, 40, 40, 40, 0.002)
  1125. Effects.Block.Create(BrickColor.new'Really black', GiantTorso.CFrame, 850, 850, 850, -0.85, -0.85, -0.85, 0.001)
  1126. Effects.Block.Create(BrickColor.new'Really black', GiantTorso.CFrame, 550, 550, 550, 10, 10, 10, 0.002)
  1127. MagnitudeDamage(PhoenixBody, 999, 99, 99, 0, 'Normal', 0, 0)
  1128. for i = 1, 20 do
  1129. Effects.Ring.Create(BrickColor.new'Really black', GiantTorso.CFrame * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)), 100, 100, 0.1, 20, 20, 0, 0.008)
  1130. end
  1131. for i = 1, 100 do
  1132. Effects.Sphere.Create(BrickColor.new'Really red', GiantTorso.CFrame * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)), 200, 550, 200, -0.4, 400, -0.4, 0.01)
  1133. end
  1134. SoulTheos.Parent = nil
  1135. attack = false
  1136. end
  1137. }
  1138. }
  1139.  
  1140. Mouse.Button1Down:connect(function()
  1141. if attack == false and attacktype == 1 then
  1142. --attackone()
  1143. end
  1144. end)
  1145.  
  1146. Mouse.KeyDown:connect(function(k)
  1147. k = k:lower()
  1148. if attack == false and k == 'z' then
  1149. Skills.SkillKeys.Z()
  1150. elseif attack == false and k == 'v' then
  1151. Skills.SkillKeys.V()
  1152. end
  1153. end)
  1154.  
  1155. while true do
  1156. swait()
  1157. efc = efc + 1
  1158. Humanoid.JumpPower = 0
  1159. game.Workspace:FindFirstChild'Camera'.CameraSubject = Head
  1160. for i, v in pairs(Character:GetChildren()) do
  1161. if v:IsA("Part") then
  1162. v.Material = "Neon"
  1163. elseif v:IsA("Accessory") then
  1164. v:WaitForChild("Handle").Material = "Neon"
  1165. end
  1166. end
  1167. if efc % 7 == 0 then
  1168. Effects.Block.Create(BrickColor.new'Really red', RightLeg.CFrame * CFrame.new(0, -1, 0), 6.5, 6.5, 6.5, -0.02, -0.02, -0.02, 0.06)
  1169. Effects.Block.Create(BrickColor.new'Really red', LeftLeg.CFrame * CFrame.new(0, -1, 0), 6.5, 6.5, 6.5, -0.02, -0.02, -0.02, 0.06)
  1170. end
  1171. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1172. velocity = RootPart.Velocity.y
  1173. sine = sine + change
  1174. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1175. if RootPart.Velocity.y > 1 and hit == nil then
  1176. Anim = "Jump"
  1177. if attack == false then
  1178. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1179. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1180. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1181. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1182. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1183. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1184. end
  1185. elseif RootPart.Velocity.y < -1 and hit == nil then
  1186. Anim = "Fall"
  1187. if attack == false then
  1188. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1189. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1190. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1191. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1192. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1193. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1194. end
  1195. elseif Torsovelocity < 1 and hit ~= nil then
  1196. Anim = "Idle"
  1197. if attack == false then
  1198. change = 1
  1199. PlayAnimationFromTable({
  1200. CFrame.new(-0.450005293, 34.4500389, 2.01001167, 0.891174853, -5.643804e-07, -0.453660011, 0.100640982, 0.975082815, 0.1976991, 0.442355931, -0.221841246, 0.868969381) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0),
  1201. CFrame.new(0.136797786, 1.52519441, -0.106008172, 0.861599624, 0.0741087794, 0.502149343, -0.163819358, 0.976944447, 0.136904523, -0.480426192, -0.200218707, 0.853875518) * CFrame.new(0, 0, 0 + 0.045 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0),
  1202. CFrame.new(1.43348277, 0.0254253075, 0.611651182, 0.796506286, -0.0460315794, -0.602875531, 0.0911841542, 0.994838893, 0.0445112288, 0.59771508, -0.0904261619, 0.796592832) * CFrame.new(0, 0 + 0.12 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0 - 0.2 * math.sin(sine / 20), 0 + 0.1 * math.sin(sine / 20)),
  1203. CFrame.new(-0.720710814, 1.54929173, -0.445914626, -0.918517768, -0.394564986, -0.0253717601, 0.395058364, -0.913291752, -0.0991320908, 0.0159422457, -0.101077914, 0.994750917) * CFrame.new(0, 0 + 0.12 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.1 * math.cos(sine / 20), 0 - 0.2 * math.cos(sine / 20), 0),
  1204. CFrame.new(0.634358943, -2.01326132, -0.0543941557, 0.973140478, -0.190595224, -0.129117399, 0.206921965, 0.969986677, 0.127707899, 0.100901663, -0.150994897, 0.983371615) * CFrame.new(0, 0 - 0.075 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.2 * math.sin(sine / 20), 0 - 0.2 * math.sin(sine / 20), 0),
  1205. CFrame.new(-0.657845259, -0.872583926, -0.52081877, 0.980457485, 0.0519636832, 0.189744651, -0.0313285105, 0.993418217, -0.110176481, -0.194220975, 0.10207893, 0.97563231) * CFrame.new(0, 0 - 0.075 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.13 * math.sin(sine / 20), 0, 0),
  1206. }, .1, false)
  1207. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.350441545, 22.6539574, 5.1175518, 1.00000024, -2.27506848e-06, -1.35789446e-06, 2.63828974e-06, 0.960237563, 0.279184222, 7.59432851e-07, -0.279184163, 0.960237443) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0), 0.1)
  1208. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-16.7304916, 38.4633446, 1.07297325, 1.00000024, -2.27506848e-06, -1.35789446e-06, 2.63828974e-06, 0.960237563, 0.279184222, 7.59432851e-07, -0.279184163, 0.960237443) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0 + 4.5 * math.sin(sine / 20)) * CFrame.Angles(0, 0 + 0.25 * math.sin(sine / 20), 0), 0.1)
  1209. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(15.9995747, 38.4634171, 1.07302094, 1.00000048, -2.25926738e-06, -1.31347747e-06, 2.66923962e-06, 0.960237443, 0.279184222, 8.12507494e-07, -0.279184043, 0.960237324) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0 + 4.5 * math.sin(sine / 20)) * CFrame.Angles(0, 0 - 0.25 * math.sin(sine / 20), 0), 0.1)
  1210. end
  1211. elseif Torsovelocity > 2 and hit ~= nil then
  1212. Anim = "Walk"
  1213. if attack == false then
  1214. PlayAnimationFromTable({
  1215. CFrame.new(-0.450005293, 34.4500389, 2.01001167, 0.891174853, -5.643804e-07, -0.453660011, 0.100640982, 0.975082815, 0.1976991, 0.442355931, -0.221841246, 0.868969381) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0),
  1216. CFrame.new(0.136797786, 1.52519441, -0.106008172, 0.861599624, 0.0741087794, 0.502149343, -0.163819358, 0.976944447, 0.136904523, -0.480426192, -0.200218707, 0.853875518) * CFrame.new(0, 0, 0 + 0.045 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0),
  1217. CFrame.new(1.43348277, 0.0254253075, 0.611651182, 0.796506286, -0.0460315794, -0.602875531, 0.0911841542, 0.994838893, 0.0445112288, 0.59771508, -0.0904261619, 0.796592832) * CFrame.new(0, 0 + 0.12 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0 - 0.2 * math.sin(sine / 20), 0 + 0.1 * math.sin(sine / 20)),
  1218. CFrame.new(-0.720710814, 1.54929173, -0.445914626, -0.918517768, -0.394564986, -0.0253717601, 0.395058364, -0.913291752, -0.0991320908, 0.0159422457, -0.101077914, 0.994750917) * CFrame.new(0, 0 + 0.12 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.1 * math.cos(sine / 20), 0 - 0.2 * math.cos(sine / 20), 0),
  1219. CFrame.new(0.634358943, -2.01326132, -0.0543941557, 0.973140478, -0.190595224, -0.129117399, 0.206921965, 0.969986677, 0.127707899, 0.100901663, -0.150994897, 0.983371615) * CFrame.new(0, 0 - 0.075 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.2 * math.sin(sine / 20), 0 - 0.2 * math.sin(sine / 20), 0),
  1220. CFrame.new(-0.657845259, -0.872583926, -0.52081877, 0.980457485, 0.0519636832, 0.189744651, -0.0313285105, 0.993418217, -0.110176481, -0.194220975, 0.10207893, 0.97563231) * CFrame.new(0, 0 - 0.075 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.13 * math.sin(sine / 20), 0, 0),
  1221. }, .1, false)
  1222. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.350441545, 22.6539574, 5.1175518, 1.00000024, -2.27506848e-06, -1.35789446e-06, 2.63828974e-06, 0.960237563, 0.279184222, 7.59432851e-07, -0.279184163, 0.960237443) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0), 0.1)
  1223. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-16.7304916, 38.4633446, 1.07297325, 1.00000024, -2.27506848e-06, -1.35789446e-06, 2.63828974e-06, 0.960237563, 0.279184222, 7.59432851e-07, -0.279184163, 0.960237443) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0 + 4.5 * math.sin(sine / 20)) * CFrame.Angles(0, 0 + 0.25 * math.sin(sine / 20), 0), 0.1)
  1224. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(15.9995747, 38.4634171, 1.07302094, 1.00000048, -2.25926738e-06, -1.31347747e-06, 2.66923962e-06, 0.960237443, 0.279184222, 8.12507494e-07, -0.279184043, 0.960237324) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0 + 4.5 * math.sin(sine / 20)) * CFrame.Angles(0, 0 - 0.25 * math.sin(sine / 20), 0), 0.1)
  1225. end
  1226. end
  1227. if 0 < #Effects then
  1228. for e = 1, #Effects do
  1229. if Effects[e] ~= nil then
  1230. local Thing = Effects[e]
  1231. if Thing ~= nil then
  1232. local Part = Thing[1]
  1233. local Mode = Thing[2]
  1234. local Delay = Thing[3]
  1235. local IncX = Thing[4]
  1236. local IncY = Thing[5]
  1237. local IncZ = Thing[6]
  1238. if Thing[2] == "Shoot" then
  1239. local Look = Thing[1]
  1240. local move = 30
  1241. if Thing[8] == 3 then
  1242. move = 10
  1243. end
  1244. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1245. if Thing[10] ~= nil then
  1246. da = pos
  1247. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1248. cfa = CFrame.new(Thing[4], pos)
  1249. tehCF = cfa:lerp(cf2, 0.2)
  1250. Thing[1] = tehCF.lookVector
  1251. end
  1252. local mag = (Thing[4] - pos).magnitude
  1253. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1254. if Thing[8] == 2 then
  1255. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1256. end
  1257. Thing[4] = Thing[4] + Look * move
  1258. Thing[3] = Thing[3] - 1
  1259. if 2 < Thing[5] then
  1260. Thing[5] = Thing[5] - 0.3
  1261. Thing[6] = Thing[6] - 0.3
  1262. end
  1263. if hit ~= nil then
  1264. Thing[3] = 0
  1265. if Thing[8] == 1 or Thing[8] == 3 then
  1266. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1267. else
  1268. if Thing[8] == 2 then
  1269. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1270. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1271. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(0.2, 0.2, 0.2))
  1272. ref.Anchored = true
  1273. ref.CFrame = CFrame.new(pos)
  1274. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1275. game:GetService("Debris"):AddItem(ref, 0.2)
  1276. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1277. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1278. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1279. end
  1280. end
  1281. end
  1282. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(0.2, 0.2, 0.2))
  1283. ref.Anchored = true
  1284. ref.CFrame = CFrame.new(pos)
  1285. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1286. game:GetService("Debris"):AddItem(ref, 1)
  1287. end
  1288. if Thing[3] <= 0 then
  1289. table.remove(Effects, e)
  1290. end
  1291. end
  1292. do
  1293. do
  1294. if Thing[2] == "FireWave" then
  1295. if Thing[3] <= Thing[4] then
  1296. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1297. Thing[3] = Thing[3] + 1
  1298. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1299. else
  1300. Part.Parent = nil
  1301. table.remove(Effects, e)
  1302. end
  1303. end
  1304. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1305. if Thing[1].Transparency <= 1 then
  1306. if Thing[2] == "Block1" then
  1307. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1308. Mesh = Thing[7]
  1309. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1310. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1311. else
  1312. if Thing[2] == "Block2" then
  1313. Thing[1].CFrame = Thing[1].CFrame
  1314. Mesh = Thing[7]
  1315. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1316. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1317. else
  1318. if Thing[2] == "Fire" then
  1319. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1320. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1321. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1322. else
  1323. if Thing[2] == "Cylinder" then
  1324. Mesh = Thing[7]
  1325. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1326. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1327. else
  1328. if Thing[2] == "Blood" then
  1329. Mesh = Thing[7]
  1330. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1331. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1332. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1333. else
  1334. if Thing[2] == "Elec" then
  1335. Mesh = Thing[10]
  1336. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1337. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1338. else
  1339. if Thing[2] == "Disappear" then
  1340. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1341. else
  1342. if Thing[2] == "Shatter" then
  1343. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1344. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1345. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1346. Thing[6] = Thing[6] + Thing[5]
  1347. end
  1348. end
  1349. end
  1350. end
  1351. end
  1352. end
  1353. end
  1354. end
  1355. else
  1356. Part.Parent = nil
  1357. table.remove(Effects, e)
  1358. end
  1359. end
  1360. end
  1361. end
  1362. end
  1363. end
  1364. end
  1365. end
  1366. end
Advertisement
Add Comment
Please, Sign In to add comment