ShutThefickUp

Untitled

Aug 19th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.70 KB | None | 0 0
  1. --[[Soul Phoenix by Injectioneer]]--
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. script.Parent = Player.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent and t.Function then
  32. t.Function(...)
  33. end
  34. end
  35. m.TrigEvent = te
  36. UIS.TrigEvent = te
  37.  
  38. Event.OnServerEvent:Connect(function(plr,io)
  39. if plr~=Player then return end
  40. if io.isMouse then
  41. m.Target = io.Target
  42. m.Hit = io.Hit
  43. else
  44. local b = io.UserInputState == Enum.UserInputState.Begin
  45. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  46. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  47. end
  48. for _,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  57. end
  58. end)
  59. Event.Parent = NLS([==[
  60. local Player = game:GetService("Players").LocalPlayer
  61. local Event = script:WaitForChild("UserInput_Event")
  62.  
  63. local UIS = game:GetService("UserInputService")
  64. local input = function(io,a)
  65. if a then return end
  66. --Since InputObject is a client-side instance, we create and pass table instead
  67. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  68. end
  69. UIS.InputBegan:Connect(input)
  70. UIS.InputEnded:Connect(input)
  71.  
  72. local Mouse = Player:GetMouse()
  73. local h,t
  74. --Give the server mouse data 30 times every second, but only if the values changed
  75. --If player is not moving their mouse, client won't fire events
  76. while wait(1/30) do
  77. if h~=Mouse.Hit or t~=Mouse.Target then
  78. h,t=Mouse.Hit,Mouse.Target
  79. Event:FireServer({isMouse=true,Target=t,Hit=h})
  80. end
  81. end]==],Player.Character)
  82. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  83. end
  84.  
  85. wait(1 / 60)
  86. Effects = { }
  87. local Player = owner
  88. local Character = Player.Character
  89. local Humanoid = Character.Humanoid
  90. local LeftArm = Character["Left Arm"]
  91. local RightArm = Character["Right Arm"]
  92. local LeftLeg = Character["Left Leg"]
  93. local RightLeg = Character["Right Leg"]
  94. local Head = Character.Head
  95. local Torso = Character.Torso
  96. local Camera = game.Workspace.CurrentCamera
  97. local RootPart = Character.HumanoidRootPart
  98. local RootJoint = RootPart.RootJoint
  99. local attack = false
  100. local Anim = 'Idle'
  101. local attacktype = 1
  102. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  103. local velocity = RootPart.Velocity.y
  104. local sine = 0
  105. local change = 1
  106. local Create = LoadLibrary("RbxUtility").Create
  107. local efc = 0
  108. local gothit = false
  109. Humanoid.MaxHealth = 100 + (1e19 * math.huge)
  110. Humanoid.Health = Humanoid.MaxHealth
  111.  
  112. Humanoid.DisplayDistanceType = 'None'
  113.  
  114. local naeeym2 = Instance.new("BillboardGui",Head)
  115. naeeym2.AlwaysOnTop = true
  116. naeeym2.Size = UDim2.new(5,35,2,15)
  117. naeeym2.StudsOffset = Vector3.new(0,15,0)
  118. naeeym2.Adornee = Head
  119. naeeym2.Name = "Name"
  120. local tecks2 = Instance.new("TextLabel",naeeym2)
  121. tecks2.BackgroundTransparency = 1
  122. tecks2.TextScaled = true
  123. tecks2.BorderSizePixel = 2
  124. tecks2.Text = "THE COMPLETE BEING"
  125. tecks2.Font = Enum.Font.Fantasy
  126. tecks2.TextSize = 14
  127. tecks2.TextStrokeTransparency = 0
  128. tecks2.TextColor3 = Color3.new(.5,.5,.5)
  129. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  130. tecks2.Size = UDim2.new(1,0,0.5,0)
  131. tecks2.Parent = naeeym2
  132.  
  133. local m = Create("Model"){
  134. Parent = Character,
  135. Name = "WeaponModel",
  136. }
  137.  
  138. local Phoenix_Theme = Create'Sound'{
  139. SoundId = 'rbxassetid://1872086019',
  140. Parent = Character,
  141. Volume = 3,
  142. Pitch = 1,
  143. Looped = true
  144. }
  145. Phoenix_Theme:Play()
  146.  
  147. Humanoid.Animator.Parent = nil
  148. Character.Animate.Parent = nil
  149.  
  150. New = function(Object, Parent, Name, Data)
  151. local Object = Instance.new(Object)
  152. for Index, Value in pairs(Data or {}) do
  153. Object[Index] = Value
  154. end
  155. Object.Parent = Parent
  156. Object.Name = Name
  157. return Object
  158. end
  159.  
  160. function CameraShake(Intensity)
  161. coroutine.resume(coroutine.create(function()
  162. local Focus = (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude
  163. Focus = 100 / Intensity + Focus / 150
  164. for i = math.random(150, 250) / 100, 0, -0.05 do
  165. 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))
  166. swait()
  167. end
  168. Camera.CFrame = CFrame.new(0, 0, 0)
  169. end))
  170. end
  171.  
  172. local newMotor = function(part0, part1, c0, c1)
  173. local w = Create('Motor'){
  174. Parent = part0,
  175. Part0 = part0,
  176. Part1 = part1,
  177. C0 = c0,
  178. C1 = c1,
  179. }
  180. return w
  181. end
  182.  
  183. function clerp(a, b, t)
  184. return a:lerp(b, t)
  185. end
  186.  
  187. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  188. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  189.  
  190. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  191. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  192. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  193. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  194. RootJoint.C1 = CFrame.new(0, 0, 0)
  195. RootJoint.C0 = CFrame.new(0, 0, 0)
  196. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  197. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  198.  
  199. local rarmc1 = RW.C1
  200. local larmc1 = LW.C1
  201. local rlegc1 = RH.C1
  202. local llegc1 = LH.C1
  203.  
  204. local resetc1 = false
  205.  
  206. function PlayAnimationFromTable(table, speed, bool)
  207. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  208. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  209. RW.C0 = clerp(RW.C0, table[3], speed)
  210. LW.C0 = clerp(LW.C0, table[4], speed)
  211. RH.C0 = clerp(RH.C0, table[5], speed)
  212. LH.C0 = clerp(LH.C0, table[6], speed)
  213. if bool == true then
  214. if resetc1 == false then
  215. resetc1 = true
  216. RootJoint.C1 = RootJoint.C1
  217. Torso.Neck.C1 = Torso.Neck.C1
  218. RW.C1 = rarmc1
  219. LW.C1 = larmc1
  220. RH.C1 = rlegc1
  221. LH.C1 = llegc1
  222. end
  223. end
  224. end
  225.  
  226. ArtificialHB = Create("BindableEvent", script){
  227. Parent = script,
  228. Name = "Heartbeat",
  229. }
  230.  
  231. script:WaitForChild("Heartbeat")
  232.  
  233. frame = 1 / 30
  234. tf = 0
  235. allowframeloss = false
  236. tossremainder = false
  237. lastframe = tick()
  238. script.Heartbeat:Fire()
  239.  
  240. game:GetService("RunService").Heartbeat:connect(function(s, p)
  241. tf = tf + s
  242. if tf >= frame then
  243. if allowframeloss then
  244. script.Heartbeat:Fire()
  245. lastframe = tick()
  246. else
  247. for i = 1, math.floor(tf / frame) do
  248. script.Heartbeat:Fire()
  249. end
  250. lastframe = tick()
  251. end
  252. if tossremainder then
  253. tf = 0
  254. else
  255. tf = tf - frame * math.floor(tf / frame)
  256. end
  257. end
  258. end)
  259.  
  260. function swait(num)
  261. if num == 0 or num == nil then
  262. ArtificialHB.Event:wait()
  263. else
  264. for i = 0, num do
  265. ArtificialHB.Event:wait()
  266. end
  267. end
  268. end
  269.  
  270. function RemoveOutlines(part)
  271. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  272. end
  273.  
  274. CFuncs = {
  275. ["Part"] = {
  276. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  277. local Part = Create("Part"){
  278. Parent = Parent,
  279. Reflectance = Reflectance,
  280. Transparency = Transparency,
  281. CanCollide = false,
  282. Locked = true,
  283. BrickColor = BrickColor.new(tostring(BColor)),
  284. Name = Name,
  285. Size = Size,
  286. Material = Enum.Material.Neon,
  287. }
  288. RemoveOutlines(Part)
  289. return Part
  290. end;
  291. };
  292.  
  293. ["Mesh"] = {
  294. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  295. local Msh = Create(Mesh){
  296. Parent = Part,
  297. Offset = OffSet,
  298. Scale = Scale,
  299. }
  300. if Mesh == "SpecialMesh" then
  301. Msh.MeshType = MeshType
  302. Msh.MeshId = MeshId
  303. end
  304. return Msh
  305. end;
  306. };
  307.  
  308. ["Mesh"] = {
  309. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  310. local Msh = Create(Mesh){
  311. Parent = Part,
  312. Offset = OffSet,
  313. Scale = Scale,
  314. }
  315. if Mesh == "SpecialMesh" then
  316. Msh.MeshType = MeshType
  317. Msh.MeshId = MeshId
  318. end
  319. return Msh
  320. end;
  321. };
  322.  
  323. ["Weld"] = {
  324. Create = function(Parent, Part0, Part1, C0, C1)
  325. local Weld = Create("Weld"){
  326. Parent = Parent,
  327. Part0 = Part0,
  328. Part1 = Part1,
  329. C0 = C0,
  330. C1 = C1,
  331. }
  332. return Weld
  333. end;
  334. };
  335.  
  336. ["Sound"] = {
  337. Create = function(id, par, vol, pit)
  338. coroutine.resume(coroutine.create(function()
  339. local S = Create("Sound"){
  340. Volume = vol,
  341. Pitch = pit or 1,
  342. SoundId = id,
  343. Parent = par or workspace,
  344. }
  345. wait()
  346. S:play()
  347. game:GetService("Debris"):AddItem(S, 25)
  348. end))
  349. end;
  350. };
  351.  
  352. ["ParticleEmitter"] = {
  353. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  354. local fp = Create("ParticleEmitter"){
  355. Parent = Parent,
  356. Color = ColorSequence.new(Color1, Color2),
  357. LightEmission = LightEmission,
  358. Size = Size,
  359. Texture = Texture,
  360. Transparency = Transparency,
  361. ZOffset = ZOffset,
  362. Acceleration = Accel,
  363. Drag = Drag,
  364. LockedToPart = LockedToPart,
  365. VelocityInheritance = VelocityInheritance,
  366. EmissionDirection = EmissionDirection,
  367. Enabled = Enabled,
  368. Lifetime = LifeTime,
  369. Rate = Rate,
  370. Rotation = Rotation,
  371. RotSpeed = RotSpeed,
  372. Speed = Speed,
  373. VelocitySpread = VelocitySpread,
  374. }
  375. return fp
  376. end;
  377. };
  378.  
  379. CreateTemplate = {
  380.  
  381. };
  382. }
  383.  
  384. function rayCast(Position, Direction, Range, Ignore)
  385. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  386. end
  387.  
  388. FindNearestTorso = function(pos)
  389. local list = (game.Workspace:children())
  390. local torso = nil
  391. local dist = 1000
  392. local temp, human, temp2 = nil, nil, nil
  393. for x = 1, #list do
  394. temp2 = list[x]
  395. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  396. temp = temp2:findFirstChild("Torso")
  397. human = temp2:findFirstChild("Humanoid")
  398. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  399. local dohit = true
  400. if dohit == true then
  401. torso = temp
  402. dist = (temp.Position - pos).magnitude
  403. end
  404. end
  405. end
  406. end
  407. return torso, dist
  408. end
  409.  
  410. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  411. if hit.Parent == nil then
  412. return
  413. end
  414. local h = hit.Parent:FindFirstChild("Humanoid")
  415. for _, v in pairs(hit.Parent:children()) do
  416. if v:IsA("Humanoid") then
  417. h = v
  418. end
  419. end
  420. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  421. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  422. if hit.Parent.DebounceHit.Value == true then
  423. return
  424. end
  425. end
  426. local c = Create("ObjectValue"){
  427. Name = "creator",
  428. Value = game:service("Players").LocalPlayer,
  429. Parent = h,
  430. }
  431. game:GetService("Debris"):AddItem(c, .5)
  432. if HitSound ~= nil and HitPitch ~= nil then
  433. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  434. end
  435. local Damage = math.random(minim, maxim)
  436. local blocked = false
  437. local block = hit.Parent:findFirstChild("Block")
  438. if block ~= nil then
  439. if block.className == "IntValue" then
  440. if block.Value > 0 then
  441. blocked = true
  442. block.Value = block.Value - 1
  443. print(block.Value)
  444. end
  445. end
  446. end
  447. if blocked == false then
  448. h.Health = h.Health - Damage
  449. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  450. else
  451. h.Health = h.Health - (Damage / 2)
  452. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  453. end
  454. if Type == "Knockdown" then
  455. local hum = hit.Parent.Humanoid
  456. hum.PlatformStand = true
  457. coroutine.resume(coroutine.create(function(HHumanoid)
  458. swait(1)
  459. HHumanoid.PlatformStand = false
  460. end), hum)
  461. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  462. local bodvol = Create("BodyVelocity"){
  463. velocity = angle * knockback,
  464. P = 5000,
  465. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  466. Parent = hit,
  467. }
  468. local rl = Create("BodyAngularVelocity"){
  469. P = 3000,
  470. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  471. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  472. Parent = hit,
  473. }
  474. game:GetService("Debris"):AddItem(bodvol, .5)
  475. game:GetService("Debris"):AddItem(rl, .5)
  476. elseif Type == "Normal" then
  477. local vp = Create("BodyVelocity"){
  478. P = 500,
  479. maxForce = Vector3.new(math.huge, 0, math.huge),
  480. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  481. }
  482. if knockback > 0 then
  483. vp.Parent = hit.Parent.Torso
  484. end
  485. game:GetService("Debris"):AddItem(vp, .5)
  486. elseif Type == "Up" then
  487. local bodyVelocity = Create("BodyVelocity"){
  488. velocity = Vector3.new(0, 20, 0),
  489. P = 5000,
  490. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  491. Parent = hit,
  492. }
  493. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  494. elseif Type == "DarkUp" then
  495. coroutine.resume(coroutine.create(function()
  496. for i = 0, 1, 0.1 do
  497. swait()
  498. Effects.Block.Create(BrickColor.new("Institutional white"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  499. end
  500. end))
  501. local bodyVelocity = Create("BodyVelocity"){
  502. velocity = Vector3.new(0, 20, 0),
  503. P = 5000,
  504. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  505. Parent = hit,
  506. }
  507. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  508. elseif Type == "Snare" then
  509. local bp = Create("BodyPosition"){
  510. P = 2000,
  511. D = 100,
  512. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  513. position = hit.Parent.Torso.Position,
  514. Parent = hit.Parent.Torso,
  515. }
  516. game:GetService("Debris"):AddItem(bp, 1)
  517. elseif Type == "Freeze" then
  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. elseif Type == "Body Snatch" then
  539. if not gothit then
  540. gothit = true
  541. local BodPos = Create("BodyPosition"){
  542. P = 50000,
  543. D = 1000,
  544. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  545. position = hit.Parent.Torso.Position,
  546. Parent = hit.Parent.Torso,
  547. }
  548. local BodGy = Create("BodyGyro") {
  549. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  550. P = 20e+003,
  551. Parent = hit.Parent.Torso,
  552. cframe = hit.Parent.Torso.CFrame,
  553. }
  554. hit.Parent.Torso.Anchored = true
  555. coroutine.resume(coroutine.create(function(Part)
  556. swait(1.5)
  557. Part.Anchored = false
  558. end), hit.Parent.Torso)
  559. game:GetService("Debris"):AddItem(BodPos, 3)
  560. game:GetService("Debris"):AddItem(BodGy, 3)
  561. end
  562. end
  563. local debounce = Create("BoolValue"){
  564. Name = "DebounceHit",
  565. Parent = hit.Parent,
  566. Value = true,
  567. }
  568. game:GetService("Debris"):AddItem(debounce, Delay)
  569. c = Create("ObjectValue"){
  570. Name = "creator",
  571. Value = Player,
  572. Parent = h,
  573. }
  574. game:GetService("Debris"):AddItem(c, .5)
  575. end
  576. end
  577.  
  578. function ShowDamage(Pos, Text, Time, Color)
  579. local Rate = (1 / 30)
  580. local Pos = (Pos or Vector3.new(0, 0, 0))
  581. local Text = (Text or "")
  582. local Time = (Time or 2)
  583. local Color = (Color or Color3.new(1, 0, 1))
  584. local EffectPart = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  585. EffectPart.Anchored = true
  586. local BillboardGui = Create("BillboardGui"){
  587. Size = UDim2.new(3, 0, 3, 0),
  588. Adornee = EffectPart,
  589. Parent = EffectPart,
  590. }
  591. local TextLabel = Create("TextLabel"){
  592. BackgroundTransparency = 1,
  593. Size = UDim2.new(1, 0, 1, 0),
  594. Text = Text,
  595. Font = "SciFi",
  596. TextColor3 = Color,
  597. TextScaled = true,
  598. Parent = BillboardGui,
  599. }
  600. game.Debris:AddItem(EffectPart, (Time))
  601. EffectPart.Parent = game:GetService("Workspace")
  602. delay(0, function()
  603. local Frames = (Time / Rate)
  604. for Frame = 1, Frames do
  605. wait(Rate)
  606. local Percent = (Frame / Frames)
  607. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  608. TextLabel.TextTransparency = Percent
  609. end
  610. if EffectPart and EffectPart.Parent then
  611. EffectPart:Destroy()
  612. end
  613. end)
  614. end
  615.  
  616. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  617. for _, c in pairs(workspace:children()) do
  618. local hum = c:findFirstChild("Humanoid")
  619. if hum ~= nil then
  620. local head = c:findFirstChild("Torso")
  621. if head ~= nil then
  622. local targ = head.Position - Part.Position
  623. local mag = targ.magnitude
  624. if mag <= Magnitude and c.Name ~= Player.Name then
  625. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  626. end
  627. end
  628. end
  629. end
  630. end
  631.  
  632. SoulPhoenix = New("Model",Character,"SoulPhoenix",{})
  633. PhoenixBody = New("Part",SoulPhoenix,"PhoenixBody",{BrickColor = BrickColor.new("Institutional white"),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),})
  634. Mesh = New("SpecialMesh",PhoenixBody,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://92135477",MeshType = Enum.MeshType.FileMesh,})
  635. BodyMotor = New("Motor",PhoenixBody,"moy",{Part0 = RootPart, Part1 = PhoenixBody,})
  636. PhoenixLeftWing = New("Part",SoulPhoenix,"PhoenixLeftWing",{BrickColor = BrickColor.new("Institutional white"),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),})
  637. Mesh = New("SpecialMesh",PhoenixLeftWing,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://92135524",MeshType = Enum.MeshType.FileMesh,})
  638. LeftWingMotor = New("Motor",PhoenixLeftWing,"mot",{Part0 = RootPart,Part1 = PhoenixLeftWing,})
  639. PhoenixEye = New("Part",SoulPhoenix,"PhoenixEye",{BrickColor = BrickColor.new("CGA brown"),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),})
  640. Mesh = New("SpecialMesh",PhoenixEye,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  641. 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),})
  642. PhoenixEye = New("Part",SoulPhoenix,"PhoenixEye",{BrickColor = BrickColor.new("CGA brown"),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),})
  643. Mesh = New("SpecialMesh",PhoenixEye,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  644. 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),})
  645. PhoenixRightWing = New("Part",SoulPhoenix,"PhoenixRightWing",{BrickColor = BrickColor.new("Institutional white"),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),})
  646. Mesh = New("SpecialMesh",PhoenixRightWing,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://92135508",MeshType = Enum.MeshType.FileMesh,})
  647. RightWingMotor = New("Motor",PhoenixRightWing,"mot",{Part0 = RootPart,Part1 = PhoenixRightWing,})
  648.  
  649. SoulTheos = New("Model",nil,"SoulTheos",{})
  650. GiantTorso = New("Part",SoulTheos,"GiantTorso",{BrickColor = BrickColor.new("Institutional white"),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),})
  651. Mesh = New("SpecialMesh",GiantTorso,"Mesh",{Scale = Vector3.new(160, 160, 80),MeshType = Enum.MeshType.Brick,})
  652. TorsoMotor = New("Motor",GiantTorso,"mot",{Part0 = RootPart,Part1 = GiantTorso,})
  653. GiantLeftArm = New("Part",SoulTheos,"GiantLeftArm",{BrickColor = BrickColor.new("Institutional white"),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),})
  654. Mesh = New("SpecialMesh",GiantLeftArm,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  655. LeftArmMotor = New("Motor",GiantLeftArm,"mot",{Part0 = RootPart,Part1 = GiantLeftArm,})
  656. GiantRightArm = New("Part",SoulTheos,"GiantRightArm",{BrickColor = BrickColor.new("Institutional white"),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),})
  657. Mesh = New("SpecialMesh",GiantRightArm,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  658. RightArmMotor = New("Motor",GiantRightArm,"mot",{Part0 = RootPart,Part1 = GiantRightArm,})
  659. GiantLeftLeg = New("Part",SoulTheos,"GiantLeftLeg",{BrickColor = BrickColor.new("Institutional white"),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),})
  660. Mesh = New("SpecialMesh",GiantLeftLeg,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  661. LeftLegMotor = New("Motor",GiantLeftLeg,"mot",{Part0 = RootPart,Part1 = GiantLeftLeg,})
  662. GiantRightLeg = New("Part",SoulTheos,"GiantRightLeg",{BrickColor = BrickColor.new("Institutional white"),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),})
  663. Mesh = New("SpecialMesh",GiantRightLeg,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  664. RightLegMotor = New("Motor",GiantRightLeg,"mot",{Part0 = RootPart,Part1 = GiantRightLeg,})
  665. GiantHead = New("Part",SoulTheos,"GiantHead",{BrickColor = BrickColor.new("Institutional white"),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),})
  666. Mesh = New("SpecialMesh",GiantHead,"Mesh",{Scale = Vector3.new(80, 80, 80),MeshType = Enum.MeshType.Brick,})
  667. HeadMotor = New("Motor",GiantHead,"mot",{Part0 = RootPart,Part1 = GiantHead,})
  668. GiantCrystal = New("Part",SoulTheos,"GiantCrystal",{BrickColor = BrickColor.new("Eggplant"),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),})
  669. Mesh = New("SpecialMesh",GiantCrystal,"Mesh",{Scale = Vector3.new(10, 25, 10),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
  670. mot = New("Motor",GiantCrystal,"mot",{Part0 = GiantTorso,Part1 = GiantCrystal,})
  671.  
  672. 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)
  673. 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)
  674. 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)
  675. 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)
  676. 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)
  677. 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)
  678.  
  679. EffectModel = Create("Model"){
  680. Parent = Character,
  681. Name = "Effects",
  682. }
  683.  
  684. Effects = {
  685. Block = {
  686. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  687. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  688. prt.Anchored = true
  689. prt.CFrame = cframe
  690. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  691. game:GetService("Debris"):AddItem(prt, 100)
  692. if Type == 1 or Type == nil then
  693. prt.CFrame = prt.CFrame * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
  694. table.insert(Effects, {
  695. prt,
  696. "Block1",
  697. delay,
  698. x3,
  699. y3,
  700. z3,
  701. msh
  702. })
  703. elseif Type == 2 then
  704. table.insert(Effects, {
  705. prt,
  706. "Block2",
  707. delay,
  708. x3,
  709. y3,
  710. z3,
  711. msh
  712. })
  713. end
  714. end;
  715. };
  716.  
  717. Cylinder = {
  718. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  719. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  720. prt.Anchored = true
  721. prt.CFrame = cframe
  722. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  723. game:GetService("Debris"):AddItem(prt, 100)
  724. table.insert(Effects, {
  725. prt,
  726. "Cylinder",
  727. delay,
  728. x3,
  729. y3,
  730. z3,
  731. msh
  732. })
  733. end;
  734. };
  735. Head = {
  736. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  737. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  738. prt.Anchored = true
  739. prt.CFrame = cframe
  740. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  741. game:GetService("Debris"):AddItem(prt, 100)
  742. table.insert(Effects, {
  743. prt,
  744. "Cylinder",
  745. delay,
  746. x3,
  747. y3,
  748. z3,
  749. msh
  750. })
  751. end;
  752. };
  753.  
  754. Sphere = {
  755. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  756. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  757. prt.Anchored = true
  758. prt.CFrame = cframe
  759. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  760. game:GetService("Debris"):AddItem(prt, 100)
  761. table.insert(Effects, {
  762. prt,
  763. "Cylinder",
  764. delay,
  765. x3,
  766. y3,
  767. z3,
  768. msh
  769. })
  770. end;
  771. };
  772.  
  773. Elect = {
  774. Create = function(cff, x, y, z)
  775. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  776. prt.Anchored = true
  777. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  778. prt.CFrame = CFrame.new(prt.Position)
  779. game:GetService("Debris"):AddItem(prt, 2)
  780. local xval = math.random() / 2
  781. local yval = math.random() / 2
  782. local zval = math.random() / 2
  783. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  784. table.insert(Effects, {
  785. prt,
  786. "Elec",
  787. 0.1,
  788. x,
  789. y,
  790. z,
  791. xval,
  792. yval,
  793. zval
  794. })
  795. end;
  796.  
  797. };
  798.  
  799. Ring = {
  800. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  801. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  802. prt.Anchored = true
  803. prt.CFrame = cframe
  804. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  805. game:GetService("Debris"):AddItem(prt, 100)
  806. table.insert(Effects, {
  807. prt,
  808. "Cylinder",
  809. delay,
  810. x3,
  811. y3,
  812. z3,
  813. msh
  814. })
  815. end;
  816. };
  817.  
  818.  
  819. Wave = {
  820. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  821. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  822. prt.Anchored = true
  823. prt.CFrame = cframe
  824. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  825. game:GetService("Debris"):AddItem(prt, 100)
  826. table.insert(Effects, {
  827. prt,
  828. "Cylinder",
  829. delay,
  830. x3,
  831. y3,
  832. z3,
  833. msh
  834. })
  835. end;
  836. };
  837.  
  838. Break = {
  839. Create = function(brickcolor, cframe, x1, y1, z1)
  840. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  841. prt.Anchored = true
  842. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  843. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  844. local num = math.random(1, 5) / 100
  845. game:GetService("Debris"):AddItem(prt, 100)
  846. table.insert(Effects, {
  847. prt,
  848. "Shatter",
  849. num,
  850. prt.CFrame,
  851. math.random() - math.random(),
  852. 0,
  853. math.random(50, 100) / 100
  854. })
  855. end;
  856. };
  857.  
  858. Fire = {
  859. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  860. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  861. prt.Anchored = true
  862. prt.CFrame = cframe
  863. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  864. game:GetService("Debris"):AddItem(prt, 100)
  865. table.insert(Effects, {
  866. prt,
  867. "Fire",
  868. delay,
  869. 1,
  870. 1,
  871. 1,
  872. msh
  873. })
  874. end;
  875. };
  876.  
  877. FireWave = {
  878. Create = function(brickcolor, cframe, x1, y1, z1)
  879. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  880. prt.Anchored = true
  881. prt.CFrame = cframe
  882. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  883. local d = Create("Decal"){
  884. Parent = prt,
  885. Texture = "rbxassetid://26356434",
  886. Face = "Top",
  887. }
  888. local d = Create("Decal"){
  889. Parent = prt,
  890. Texture = "rbxassetid://26356434",
  891. Face = "Bottom",
  892. }
  893. game:GetService("Debris"):AddItem(prt, 100)
  894. table.insert(Effects, {
  895. prt,
  896. "FireWave",
  897. 1,
  898. 30,
  899. math.random(400, 600) / 100,
  900. msh
  901. })
  902. end;
  903. };
  904.  
  905. Lightning = {
  906. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  907. local magz = (p0 - p1).magnitude
  908. local curpos = p0
  909. local trz = {
  910. -ofs,
  911. ofs
  912. }
  913. for i = 1, tym do
  914. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  915. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  916. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  917. li.Material = "Neon"
  918. if tym == i then
  919. local magz2 = (curpos - p1).magnitude
  920. li.Size = Vector3.new(th, th, magz2)
  921. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  922. table.insert(Effects, {
  923. li,
  924. "Disappear",
  925. last
  926. })
  927. else
  928. do
  929. do
  930. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  931. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  932. game.Debris:AddItem(li, 10)
  933. table.insert(Effects, {
  934. li,
  935. "Disappear",
  936. last
  937. })
  938. end
  939. end
  940. end
  941. end
  942. end
  943. };
  944.  
  945. EffectTemplate = {
  946.  
  947. };
  948. }
  949.  
  950. function attackone()
  951. attack = true
  952. for i = 0, 1, 0.1 do
  953. swait()
  954. PlayAnimationFromTable({
  955. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  956. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  957. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  958. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  959. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  960. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  961. }, .3, false)
  962. end
  963. attack = false
  964. end
  965.  
  966. local Skills = {
  967. SkillKeys = {
  968. Z = function()
  969. attack = true
  970. CFuncs.Sound.Create('rbxassetid://278641993', Torso, 10, 0.8)
  971. CFuncs.Sound.Create('rbxassetid://432629066', Torso, 10, 1.4)
  972. Effects.Sphere.Create(BrickColor.new'Institutional white', Torso.CFrame, 5000, 5000, 5000, -500, -500, -500, 0.1)
  973. for i = 0, 1, 0.015 do
  974. swait()
  975. Effects.Block.Create(BrickColor.new'Institutional white', LeftArm.CFrame, 5, 10, 5, 0, 0, 0, 0.065, 2)
  976. Effects.Block.Create(BrickColor.new'Institutional white', 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)
  977. PlayAnimationFromTable({
  978. 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),
  979. 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),
  980. 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),
  981. 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),
  982. 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),
  983. 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),
  984. }, i, false)
  985. 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)
  986. 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)
  987. 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)
  988. end
  989. CFuncs.Sound.Create('rbxassetid://231917758', Torso, 10, 0.6)
  990. for i = 0, 1, 0.3 do
  991. swait()
  992. Effects.Block.Create(BrickColor.new'Institutional white', LeftArm.CFrame, 5, 10, 5, 0, 0, 0, 0.065, 2)
  993. Effects.Block.Create(BrickColor.new'Institutional white', 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)
  994. PlayAnimationFromTable({
  995. 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),
  996. 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),
  997. 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),
  998. 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),
  999. 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),
  1000. 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),
  1001. }, i, false)
  1002. 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)
  1003. 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)
  1004. 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)
  1005. end
  1006. local hit, pos = rayCast(PhoenixLeftWing.Position, CFrame.new(PhoenixLeftWing.Position, PhoenixLeftWing.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1007. if hit then
  1008. Effects.Block.Create(BrickColor.new'Institutional white', CFrame.new(pos), 50, 50, 50, 20, 20, 20, 0.04)
  1009. Effects.Wave.Create(BrickColor.new'Institutional white', CFrame.new(pos) * CFrame.Angles(0, math.random(-180, 180), 0), 5, 2, 5, 3, 1, 3, 0.04)
  1010. end
  1011. local ref = CFuncs.Part.Create(EffectModel, 'Neon', 0, 1, 'White', 'Reference', Vector3.new(0.2, 0.2, 0.2))
  1012. ref.Anchored = true ref.CFrame = RootPart.CFrame * CFrame.new(2, 1, -25)
  1013. coroutine.resume(coroutine.create(function()
  1014. local hit, pos = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1015. local refposchange = coroutine.wrap(function()
  1016. while true do
  1017. swait()
  1018. hit, pos = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1019. end
  1020. end)
  1021. refposchange()
  1022. local charges = 0
  1023. repeat
  1024. swait(12)
  1025. Camera.FieldOfView = Camera.FieldOfView + 1
  1026. charges = charges + 1
  1027. if charges > 13 then
  1028. charges = 13
  1029. end
  1030. ref.CFrame = ref.CFrame * CFrame.new(0, 0, -25)
  1031. CFuncs.Sound.Create('rbxassetid://565800952', ref, 10, 0.9)
  1032. CFuncs.Sound.Create('rbxassetid://304529688', ref, 9.5, 0.8)
  1033. CFuncs.Sound.Create('rbxassetid://414516914', ref, 9.5, 0.4)
  1034. CFuncs.Sound.Create('rbxassetid://466493476', ref, 9.75, 0.7)
  1035. if hit then
  1036. Effects.Sphere.Create(BrickColor.new'Institutional white', CFrame.new(pos), 50, 50, 50, 20, 20, 20, 0.026)
  1037. Effects.Sphere.Create(BrickColor.new'Institutional white', CFrame.new(pos), 51, 35, 51, 23, 10, 23, 0.026)
  1038. Effects.Ring.Create(BrickColor.new'Institutional white', CFrame.new(pos) * CFrame.Angles(1.57, 0, 0), 8, 8, 0.5, 4.5, 4.5, 1.5, 0.026)
  1039. Effects.Block.Create(BrickColor.new'Institutional white', CFrame.new(pos), 55, 55, 55, 25, 25, 25, 0.032)
  1040. for i = 1, 2 do
  1041. Effects.Ring.Create(BrickColor.new'Institutional white', 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)
  1042. end
  1043. for i = 1, 10 do
  1044. Effects.Break.Create(BrickColor.new'Institutional white', CFrame.new(pos), 5, 15, 5)
  1045. end
  1046. MagnitudeDamage(ref, 35, 10, 35, 3, 'Body Snatch', 0, 0)
  1047. end
  1048. until gothit == true or charges >= 13
  1049. if gothit then
  1050. CFuncs.Sound.Create('rbxassetid://435742675', ref, 10, 0.9)
  1051. CFuncs.Sound.Create('rbxassetid://414516914', ref, 9.5, 0.32)
  1052. for i = 1, 130 do
  1053. swait()
  1054. MagnitudeDamage(ref, 65, 1, 1, 0, 'Normal', 0, 0)
  1055. Effects.Sphere.Create(BrickColor.new'Institutional white', CFrame.new(pos), 50, 50, 50, 55, 55, 55, 0.1)
  1056. Effects.Sphere.Create(BrickColor.new'Institutional white', CFrame.new(pos), 65, 70, 65, 55, 97, 55, 0.04)
  1057. Effects.Wave.Create(BrickColor.new'Institutional white', CFrame.new(pos) * CFrame.Angles(0, math.random(-180, 180), 0), 210, 5, 210, -13, 65, -13, 0.1)
  1058. Effects.Ring.Create(BrickColor.new'Institutional white', ref.CFrame * CFrame.Angles(1.57, 0, 0), 1, 1, 0.1, 35, 35, 0, 0.08)
  1059. end
  1060. elseif not gothit and charges >= 13 then
  1061. CFuncs.Sound.Create('rbxassetid://439342426', ref, 10, 1)
  1062. for i = 1, 10 do
  1063. swait(7.8)
  1064. Effects.Block.Create(BrickColor.new'Institutional white', CFrame.new(pos), 1600, 1600, 1600, -160, -160, -160, 0.1)
  1065. end
  1066. end
  1067. if gothit ~= false then
  1068. gothit = false
  1069. end
  1070. swait(10)
  1071. ref:Destroy()
  1072. coroutine.resume(coroutine.create(function()
  1073. repeat
  1074. swait()
  1075. Camera.FieldOfView = Camera.FieldOfView - 1
  1076. until Camera.FieldOfView <= 70
  1077. end))
  1078. end))
  1079. for i = 0, 1, 0.02 do
  1080. swait()
  1081. PlayAnimationFromTable({
  1082. 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),
  1083. 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),
  1084. 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),
  1085. 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),
  1086. 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),
  1087. 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),
  1088. }, i, false)
  1089. 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)
  1090. 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)
  1091. 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)
  1092. end
  1093. attack = false
  1094. end,
  1095.  
  1096. X = function()
  1097. attack = true
  1098.  
  1099. attack = false
  1100. end,
  1101.  
  1102. C = function()
  1103. attack = true
  1104.  
  1105. attack = false
  1106. end,
  1107.  
  1108. V = function()
  1109. attack = true
  1110. for i = 0, 1, 0.01 do
  1111. swait()
  1112. PlayAnimationFromTable({
  1113. 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),
  1114. 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),
  1115. 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),
  1116. 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),
  1117. 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),
  1118. 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),
  1119. }, i, false)
  1120. 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)
  1121. 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)
  1122. 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)
  1123. end
  1124. SoulTheos.Parent = Character
  1125. CFuncs.Sound.Create('rbxassetid://528589382', Character, 5, 1)
  1126. local groundref = CFuncs.Part.Create(EffectModel, 'Neon', 0, 1, 'White', 'Reference', Vector3.new(0.2, 0.2, 0.2))
  1127. groundref.Anchored = true
  1128. for i = 0, 25, 0.1 do
  1129. swait()
  1130. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1131. groundref.CFrame = CFrame.new(pos) * CFrame.new(math.random(-130, 130), 0, math.random(-130, 130))
  1132. if hit then
  1133. Effects.Block.Create(BrickColor.new'Institutional white', groundref.CFrame, 80, 80, 80, -8, -8, -8, 0.1)
  1134. for i = 1, 2 do
  1135. Effects.Break.Create(BrickColor.new'Institutional white', groundref.CFrame, 1, 15, 1)
  1136. end
  1137. end
  1138. 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)
  1139. 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)
  1140. 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)
  1141. 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)
  1142. 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)
  1143. 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)
  1144. end
  1145. CFuncs.Sound.Create('rbxassetid://435742675', Character, 10, 0.6)
  1146. CFuncs.Sound.Create('rbxassetid://432629066', Character, 11, 0.4)
  1147. Effects.Block.Create(BrickColor.new'CGA brown', GiantTorso.CFrame, 850, 850, 580, 40, 40, 40, 0.002)
  1148. Effects.Block.Create(BrickColor.new'Really black', GiantTorso.CFrame, 850, 850, 850, -0.85, -0.85, -0.85, 0.001)
  1149. Effects.Block.Create(BrickColor.new'CGA brown', GiantTorso.CFrame, 550, 550, 550, 10, 10, 10, 0.002)
  1150. MagnitudeDamage(PhoenixBody, 999, 99, 99, 0, 'Normal', 0, 0)
  1151. for i = 1, 20 do
  1152. Effects.Ring.Create(BrickColor.new'CGA brown', 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)
  1153. end
  1154. for i = 1, 100 do
  1155. Effects.Sphere.Create(BrickColor.new'Institutional white', 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)
  1156. end
  1157. SoulTheos.Parent = nil
  1158. attack = false
  1159. end
  1160. }
  1161. }
  1162.  
  1163. Mouse.Button1Down:connect(function()
  1164. if attack == false and attacktype == 1 then
  1165. --attackone()
  1166. end
  1167. end)
  1168.  
  1169. Mouse.KeyDown:connect(function(k)
  1170. k = k:lower()
  1171. if attack == false and k == 'z' then
  1172. Skills.SkillKeys.Z()
  1173. elseif attack == false and k == 'v' then
  1174. Skills.SkillKeys.V()
  1175. end
  1176. end)
  1177.  
  1178. while true do
  1179. swait()
  1180. efc = efc + 1
  1181. Humanoid.JumpPower = 0
  1182. game.Workspace:FindFirstChild'Camera'.CameraSubject = Head
  1183. for i, v in pairs(Character:GetChildren()) do
  1184. if v:IsA("Part") then
  1185. v.Material = "Neon"
  1186. elseif v:IsA("Accessory") then
  1187. v:WaitForChild("Handle").Material = "Neon"
  1188. end
  1189. end
  1190. if efc % 7 == 0 then
  1191. Effects.Block.Create(BrickColor.new'Institutional white', RightLeg.CFrame * CFrame.new(0, -1, 0), 6.5, 6.5, 6.5, -0.02, -0.02, -0.02, 0.06)
  1192. Effects.Block.Create(BrickColor.new'Institutional white', LeftLeg.CFrame * CFrame.new(0, -1, 0), 6.5, 6.5, 6.5, -0.02, -0.02, -0.02, 0.06)
  1193. end
  1194. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1195. velocity = RootPart.Velocity.y
  1196. sine = sine + change
  1197. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1198. if RootPart.Velocity.y > 1 and hit == nil then
  1199. Anim = "Jump"
  1200. if attack == false then
  1201. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1202. 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)
  1203. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1204. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1205. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1206. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1207. end
  1208. elseif RootPart.Velocity.y < -1 and hit == nil then
  1209. Anim = "Fall"
  1210. if attack == false then
  1211. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1212. 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)
  1213. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1214. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1215. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1216. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1217. end
  1218. elseif Torsovelocity < 1 and hit ~= nil then
  1219. Anim = "Idle"
  1220. if attack == false then
  1221. change = 1
  1222. PlayAnimationFromTable({
  1223. 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),
  1224. 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),
  1225. 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)),
  1226. 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),
  1227. 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),
  1228. 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),
  1229. }, .1, false)
  1230. 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)
  1231. 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)
  1232. 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)
  1233. end
  1234. elseif Torsovelocity > 2 and hit ~= nil then
  1235. Anim = "Walk"
  1236. if attack == false then
  1237. PlayAnimationFromTable({
  1238. 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),
  1239. 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),
  1240. 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)),
  1241. 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),
  1242. 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),
  1243. 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),
  1244. }, .1, false)
  1245. 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)
  1246. 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)
  1247. 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)
  1248. end
  1249. end
  1250. if 0 < #Effects then
  1251. for e = 1, #Effects do
  1252. if Effects[e] ~= nil then
  1253. local Thing = Effects[e]
  1254. if Thing ~= nil then
  1255. local Part = Thing[1]
  1256. local Mode = Thing[2]
  1257. local Delay = Thing[3]
  1258. local IncX = Thing[4]
  1259. local IncY = Thing[5]
  1260. local IncZ = Thing[6]
  1261. if Thing[2] == "Shoot" then
  1262. local Look = Thing[1]
  1263. local move = 30
  1264. if Thing[8] == 3 then
  1265. move = 10
  1266. end
  1267. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1268. if Thing[10] ~= nil then
  1269. da = pos
  1270. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1271. cfa = CFrame.new(Thing[4], pos)
  1272. tehCF = cfa:lerp(cf2, 0.2)
  1273. Thing[1] = tehCF.lookVector
  1274. end
  1275. local mag = (Thing[4] - pos).magnitude
  1276. 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)
  1277. if Thing[8] == 2 then
  1278. 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)
  1279. end
  1280. Thing[4] = Thing[4] + Look * move
  1281. Thing[3] = Thing[3] - 1
  1282. if 2 < Thing[5] then
  1283. Thing[5] = Thing[5] - 0.3
  1284. Thing[6] = Thing[6] - 0.3
  1285. end
  1286. if hit ~= nil then
  1287. Thing[3] = 0
  1288. if Thing[8] == 1 or Thing[8] == 3 then
  1289. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1290. else
  1291. if Thing[8] == 2 then
  1292. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1293. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1294. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(0.2, 0.2, 0.2))
  1295. ref.Anchored = true
  1296. ref.CFrame = CFrame.new(pos)
  1297. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1298. game:GetService("Debris"):AddItem(ref, 0.2)
  1299. 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)
  1300. 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)
  1301. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1302. end
  1303. end
  1304. end
  1305. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(0.2, 0.2, 0.2))
  1306. ref.Anchored = true
  1307. ref.CFrame = CFrame.new(pos)
  1308. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1309. game:GetService("Debris"):AddItem(ref, 1)
  1310. end
  1311. if Thing[3] <= 0 then
  1312. table.remove(Effects, e)
  1313. end
  1314. end
  1315. do
  1316. do
  1317. if Thing[2] == "FireWave" then
  1318. if Thing[3] <= Thing[4] then
  1319. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1320. Thing[3] = Thing[3] + 1
  1321. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1322. else
  1323. Part.Parent = nil
  1324. table.remove(Effects, e)
  1325. end
  1326. end
  1327. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1328. if Thing[1].Transparency <= 1 then
  1329. if Thing[2] == "Block1" then
  1330. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1331. Mesh = Thing[7]
  1332. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1333. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1334. else
  1335. if Thing[2] == "Block2" then
  1336. Thing[1].CFrame = Thing[1].CFrame
  1337. Mesh = Thing[7]
  1338. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1339. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1340. else
  1341. if Thing[2] == "Fire" then
  1342. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1343. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1344. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1345. else
  1346. if Thing[2] == "Cylinder" then
  1347. Mesh = Thing[7]
  1348. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1349. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1350. else
  1351. if Thing[2] == "Blood" then
  1352. Mesh = Thing[7]
  1353. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1354. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1355. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1356. else
  1357. if Thing[2] == "Elec" then
  1358. Mesh = Thing[10]
  1359. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1360. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1361. else
  1362. if Thing[2] == "Disappear" then
  1363. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1364. else
  1365. if Thing[2] == "Shatter" then
  1366. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1367. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1368. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1369. Thing[6] = Thing[6] + Thing[5]
  1370. end
  1371. end
  1372. end
  1373. end
  1374. end
  1375. end
  1376. end
  1377. end
  1378. else
  1379. Part.Parent = nil
  1380. table.remove(Effects, e)
  1381. end
  1382. end
  1383. end
  1384. end
  1385. end
  1386. end
  1387. end
  1388. end
  1389. end
Add Comment
Please, Sign In to add comment