Advertisement
copra50

soul pheonix

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