Void_KingYT

Angel fe

Jun 15th, 2022
679
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.47 KB | None | 0 0
  1. -- Created by Nebula_Zorua --
  2. -- The Angel --
  3. -- A higher being.. Here to smite you evil-doers! --
  4. -- Discord: Nebula the Zorua#6969
  5. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  6. ---convert Im Patrick
  7.  
  8. --// Initializing \\--
  9.  
  10. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then game:GetService("RunService").Heartbeat:connect(function() v.Velocity = Vector3.new(-30,0,0) end) end end game:GetService("StarterGui"):SetCore("SendNotification", { Title = "Im Patrick"; Text = "Netless Loaded!"; Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"}) Duration = 16;
  11.  
  12. local Vector3_101 = Vector3.new(1, 0, 1)
  13. local netless_Y = Vector3.new(0, 25.1, 0)
  14. local function getNetlessVelocity(realPartVelocity) --change this if you have a better method
  15. local mag = realPartVelocity.Magnitude
  16. if (mag > 1) and (mag < 100) then
  17. local unit = realPartVelocity.Unit
  18. if (unit.Y > 0.25) or (unit.Y < -0.75) then
  19. return realPartVelocity * (25.1 / realPartVelocity.Y)
  20. end
  21. realPartVelocity = unit * 100
  22. end
  23. return (realPartVelocity * Vector3_101) + netless_Y
  24. end
  25. local simradius = "shp" --simulation radius (net bypass) method
  26. --"shp" - sethiddenproperty
  27. --"ssr" - setsimulationradius
  28. --false - disable
  29. local noclipAllParts = true --set it to true if you want noclip
  30. local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
  31. local newanimate = true --disables the animate script and enables after reanimation
  32. local discharscripts = true --disables all localScripts parented to your character before reanimation
  33. local R15toR6 = true --tries to convert your character to r6 if its r15
  34. local hatcollide = false --makes hats cancollide (credit to ShownApe) (works only with reanimate method 0)
  35. local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState)
  36. local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
  37. local hedafterneck = true --disable aligns for head and enable after neck or torso is removed
  38. local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
  39. local method = 3 --reanimation method
  40. --methods:
  41. --0 - breakJoints (takes [loadtime] seconds to laod)
  42. --1 - limbs
  43. --2 - limbs + anti respawn
  44. --3 - limbs + breakJoints after [loadtime] seconds
  45. --4 - remove humanoid + breakJoints
  46. --5 - remove humanoid + limbs
  47. local alignmode = 2 --AlignPosition mode
  48. --modes:
  49. --1 - AlignPosition rigidity enabled true
  50. --2 - 2 AlignPositions rigidity enabled both true and false
  51. --3 - AlignPosition rigidity enabled false
  52. local flingpart = "HumanoidRootPart" --name of the part or the hat used for flinging
  53. --the fling function
  54. --usage: fling(target, duration, velocity)
  55. --target can be set to: basePart, CFrame, Vector3, character model or humanoid (flings at mouse.Hit if argument not provided))
  56. --duration (fling time in seconds) can be set to: a number or a string convertable to the number (0.5s if not provided),
  57. --velocity (fling part rotation velocity) can be set to a vector3 value (Vector3.new(20000, 20000, 20000) if not provided)
  58.  
  59. local lp = game:GetService("Players").LocalPlayer
  60. local rs = game:GetService("RunService")
  61. local stepped = rs.Stepped
  62. local heartbeat = rs.Heartbeat
  63. local renderstepped = rs.RenderStepped
  64. local sg = game:GetService("StarterGui")
  65. local ws = game:GetService("Workspace")
  66. local cf = CFrame.new
  67. local v3 = Vector3.new
  68. local v3_0 = Vector3.zero
  69. local inf = math.huge
  70.  
  71. local c = lp.Character
  72.  
  73. if not (c and c.Parent) then
  74. return
  75. end
  76.  
  77. c:GetPropertyChangedSignal("Parent"):Connect(function()
  78. if not (c and c.Parent) then
  79. c = nil
  80. end
  81. end)
  82.  
  83. local function gp(parent, name, className)
  84. if typeof(parent) == "Instance" then
  85. for i, v in pairs(parent:GetChildren()) do
  86. if (v.Name == name) and v:IsA(className) then
  87. return v
  88. end
  89. end
  90. end
  91. return nil
  92. end
  93.  
  94. if type(getNetlessVelocity) ~= "function" then
  95. getNetlessVelocity = nil
  96. end
  97.  
  98. local function align(Part0, Part1)
  99. Part0.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  100.  
  101. local att0 = Instance.new("Attachment")
  102. att0.Orientation = v3_0
  103. att0.Position = v3_0
  104. att0.Name = "att0_" .. Part0.Name
  105. local att1 = Instance.new("Attachment")
  106. att1.Orientation = v3_0
  107. att1.Position = v3_0
  108. att1.Name = "att1_" .. Part1.Name
  109.  
  110. if (alignmode == 1) or (alignmode == 2) then
  111. local ape = Instance.new("AlignPosition", att0)
  112. ape.ApplyAtCenterOfMass = false
  113. ape.MaxForce = inf
  114. ape.MaxVelocity = inf
  115. ape.ReactionForceEnabled = false
  116. ape.Responsiveness = 200
  117. ape.Attachment1 = att1
  118. ape.Attachment0 = att0
  119. ape.Name = "AlignPositionRtrue"
  120. ape.RigidityEnabled = true
  121. end
  122.  
  123. if (alignmode == 2) or (alignmode == 3) then
  124. local apd = Instance.new("AlignPosition", att0)
  125. apd.ApplyAtCenterOfMass = false
  126. apd.MaxForce = inf
  127. apd.MaxVelocity = inf
  128. apd.ReactionForceEnabled = false
  129. apd.Responsiveness = 200
  130. apd.Attachment1 = att1
  131. apd.Attachment0 = att0
  132. apd.Name = "AlignPositionRfalse"
  133. apd.RigidityEnabled = false
  134. end
  135.  
  136. local ao = Instance.new("AlignOrientation", att0)
  137. ao.MaxAngularVelocity = inf
  138. ao.MaxTorque = inf
  139. ao.PrimaryAxisOnly = false
  140. ao.ReactionTorqueEnabled = false
  141. ao.Responsiveness = 200
  142. ao.Attachment1 = att1
  143. ao.Attachment0 = att0
  144. ao.RigidityEnabled = false
  145.  
  146. if getNetlessVelocity then
  147. local vel = Part0.Velocity
  148. local velpart = Part1
  149. local rsteppedcon = renderstepped:Connect(function()
  150. Part0.Velocity = vel
  151. end)
  152. local heartbeatcon = heartbeat:Connect(function()
  153. vel = Part0.Velocity
  154. Part0.Velocity = getNetlessVelocity(velpart.Velocity)
  155. end)
  156. local attcon = nil
  157. Part0:GetPropertyChangedSignal("Parent"):Connect(function()
  158. if not (Part0 and Part0.Parent) then
  159. rsteppedcon:Disconnect()
  160. heartbeatcon:Disconnect()
  161. attcon:Disconnect()
  162. end
  163. end)
  164. attcon = att1:GetPropertyChangedSignal("Parent"):Connect(function()
  165. if not (att1 and att1.Parent) then
  166. attcon:Disconnect()
  167. velpart = Part0
  168. else
  169. velpart = att1.Parent
  170. if not velpart:IsA("BasePart") then
  171. velpart = Part0
  172. end
  173. end
  174. end)
  175. end
  176.  
  177. att0.Parent = Part0
  178. att1.Parent = Part1
  179. end
  180.  
  181. local function respawnrequest()
  182. local ccfr = ws.CurrentCamera.CFrame
  183. local c = lp.Character
  184. lp.Character = nil
  185. lp.Character = c
  186. local con = nil
  187. con = ws.CurrentCamera.Changed:Connect(function(prop)
  188. if (prop ~= "Parent") and (prop ~= "CFrame") then
  189. return
  190. end
  191. ws.CurrentCamera.CFrame = ccfr
  192. con:Disconnect()
  193. end)
  194. end
  195.  
  196. local destroyhum = (method == 4) or (method == 5)
  197. local breakjoints = (method == 0) or (method == 4)
  198. local antirespawn = (method == 0) or (method == 2) or (method == 3)
  199.  
  200. hatcollide = hatcollide and (method == 0)
  201.  
  202. addtools = addtools and gp(lp, "Backpack", "Backpack")
  203.  
  204. local fenv = getfenv()
  205. local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop
  206. local ssr = fenv.setsimulationradius or fenv.set_simulation_radius or fenv.set_sim_radius or fenv.setsimradius or fenv.set_simulation_rad or fenv.setsimulationrad
  207.  
  208. if shp and (simradius == "shp") then
  209. spawn(function()
  210. while c and heartbeat:Wait() do
  211. shp(lp, "SimulationRadius", inf)
  212. end
  213. end)
  214. elseif ssr and (simradius == "ssr") then
  215. spawn(function()
  216. while c and heartbeat:Wait() do
  217. ssr(inf)
  218. end
  219. end)
  220. end
  221.  
  222. antiragdoll = antiragdoll and function(v)
  223. if v:IsA("HingeConstraint") or v:IsA("BallSocketConstraint") then
  224. v.Parent = nil
  225. end
  226. end
  227.  
  228. if antiragdoll then
  229. for i, v in pairs(c:GetDescendants()) do
  230. antiragdoll(v)
  231. end
  232. c.DescendantAdded:Connect(antiragdoll)
  233. end
  234.  
  235. if antirespawn then
  236. respawnrequest()
  237. end
  238.  
  239. if method == 0 then
  240. wait(loadtime)
  241. if not c then
  242. return
  243. end
  244. end
  245.  
  246. if discharscripts then
  247. for i, v in pairs(c:GetChildren()) do
  248. if v:IsA("LocalScript") then
  249. v.Disabled = true
  250. end
  251. end
  252. elseif newanimate then
  253. local animate = gp(c, "Animate", "LocalScript")
  254. if animate and (not animate.Disabled) then
  255. animate.Disabled = true
  256. else
  257. newanimate = false
  258. end
  259. end
  260.  
  261. if addtools then
  262. for i, v in pairs(addtools:GetChildren()) do
  263. if v:IsA("Tool") then
  264. v.Parent = c
  265. end
  266. end
  267. end
  268.  
  269. pcall(function()
  270. settings().Physics.AllowSleep = false
  271. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  272. end)
  273.  
  274. local OLDscripts = {}
  275.  
  276. for i, v in pairs(c:GetDescendants()) do
  277. if v.ClassName == "Script" then
  278. table.insert(OLDscripts, v)
  279. end
  280. end
  281.  
  282. local scriptNames = {}
  283.  
  284. for i, v in pairs(c:GetDescendants()) do
  285. if v:IsA("BasePart") then
  286. local newName = tostring(i)
  287. local exists = true
  288. while exists do
  289. exists = false
  290. for i, v in pairs(OLDscripts) do
  291. if v.Name == newName then
  292. exists = true
  293. end
  294. end
  295. if exists then
  296. newName = newName .. "_"
  297. end
  298. end
  299. table.insert(scriptNames, newName)
  300. Instance.new("Script", v).Name = newName
  301. end
  302. end
  303.  
  304. c.Archivable = true
  305. local hum = c:FindFirstChildOfClass("Humanoid")
  306. if hum then
  307. for i, v in pairs(hum:GetPlayingAnimationTracks()) do
  308. v:Stop()
  309. end
  310. end
  311. local cl = c:Clone()
  312. if hum and humState16 then
  313. hum:ChangeState(Enum.HumanoidStateType.Physics)
  314. if destroyhum then
  315. wait(1.6)
  316. end
  317. end
  318. if hum and hum.Parent and destroyhum then
  319. hum:Destroy()
  320. end
  321.  
  322. if not c then
  323. return
  324. end
  325.  
  326. local head = gp(c, "Head", "BasePart")
  327. local torso = gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart")
  328. local root = gp(c, "HumanoidRootPart", "BasePart")
  329. if hatcollide and c:FindFirstChildOfClass("Accessory") then
  330. local anything = c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script")
  331. if not (torso and root and anything) then
  332. return
  333. end
  334. torso:Destroy()
  335. root:Destroy()
  336. if shp then
  337. for i,v in pairs(c:GetChildren()) do
  338. if v:IsA("Accessory") then
  339. shp(v, "BackendAccoutrementState", 0)
  340. end
  341. end
  342. end
  343. anything:Destroy()
  344. end
  345.  
  346. local model = Instance.new("Model", c)
  347. model.Name = model.ClassName
  348.  
  349. model:GetPropertyChangedSignal("Parent"):Connect(function()
  350. if not (model and model.Parent) then
  351. model = nil
  352. end
  353. end)
  354.  
  355. for i, v in pairs(c:GetChildren()) do
  356. if v ~= model then
  357. if addtools and v:IsA("Tool") then
  358. for i1, v1 in pairs(v:GetDescendants()) do
  359. if v1 and v1.Parent and v1:IsA("BasePart") then
  360. local bv = Instance.new("BodyVelocity", v1)
  361. bv.Velocity = v3_0
  362. bv.MaxForce = v3(1000, 1000, 1000)
  363. bv.P = 1250
  364. bv.Name = "bv_" .. v.Name
  365. end
  366. end
  367. end
  368. v.Parent = model
  369. end
  370. end
  371.  
  372. if breakjoints then
  373. model:BreakJoints()
  374. else
  375. if head and torso then
  376. for i, v in pairs(model:GetDescendants()) do
  377. if v:IsA("Weld") or v:IsA("Snap") or v:IsA("Glue") or v:IsA("Motor") or v:IsA("Motor6D") then
  378. local save = false
  379. if (v.Part0 == torso) and (v.Part1 == head) then
  380. save = true
  381. end
  382. if (v.Part0 == head) and (v.Part1 == torso) then
  383. save = true
  384. end
  385. if save then
  386. if hedafterneck then
  387. hedafterneck = v
  388. end
  389. else
  390. v:Destroy()
  391. end
  392. end
  393. end
  394. end
  395. if method == 3 then
  396. spawn(function()
  397. wait(loadtime)
  398. if model then
  399. model:BreakJoints()
  400. end
  401. end)
  402. end
  403. end
  404.  
  405. cl.Parent = c
  406. for i, v in pairs(cl:GetChildren()) do
  407. v.Parent = c
  408. end
  409. cl:Destroy()
  410.  
  411. local noclipmodel = (noclipAllParts and c) or model
  412. local noclipcon = nil
  413. local function uncollide()
  414. if noclipmodel then
  415. for i, v in pairs(noclipmodel:GetDescendants()) do
  416. if v:IsA("BasePart") then
  417. v.CanCollide = false
  418. end
  419. end
  420. else
  421. noclipcon:Disconnect()
  422. end
  423. end
  424. noclipcon = stepped:Connect(uncollide)
  425. uncollide()
  426.  
  427. for i, scr in pairs(model:GetDescendants()) do
  428. if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
  429. local Part0 = scr.Parent
  430. if Part0:IsA("BasePart") then
  431. for i1, scr1 in pairs(c:GetDescendants()) do
  432. if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
  433. local Part1 = scr1.Parent
  434. if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
  435. align(Part0, Part1)
  436. scr:Destroy()
  437. scr1:Destroy()
  438. break
  439. end
  440. end
  441. end
  442. end
  443. end
  444. end
  445.  
  446. for i, v in pairs(c:GetDescendants()) do
  447. if v and v.Parent and (not v:IsDescendantOf(model)) then
  448. if v:IsA("Decal") then
  449. v.Transparency = 1
  450. elseif v:IsA("BasePart") then
  451. v.Transparency = 1
  452. v.Anchored = false
  453. elseif v:IsA("ForceField") then
  454. v.Visible = false
  455. elseif v:IsA("Sound") then
  456. v.Playing = false
  457. elseif v:IsA("BillboardGui") or v:IsA("SurfaceGui") or v:IsA("ParticleEmitter") or v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
  458. v.Enabled = false
  459. end
  460. end
  461. end
  462.  
  463. if newanimate then
  464. local animate = gp(c, "Animate", "LocalScript")
  465. if animate then
  466. animate.Disabled = false
  467. end
  468. end
  469.  
  470. if addtools then
  471. for i, v in pairs(c:GetChildren()) do
  472. if v:IsA("Tool") then
  473. v.Parent = addtools
  474. end
  475. end
  476. end
  477.  
  478. local hum0 = model:FindFirstChildOfClass("Humanoid")
  479. if hum0 then
  480. hum0:GetPropertyChangedSignal("Parent"):Connect(function()
  481. if not (hum0 and hum0.Parent) then
  482. hum0 = nil
  483. end
  484. end)
  485. end
  486.  
  487. local hum1 = c:FindFirstChildOfClass("Humanoid")
  488. if hum1 then
  489. hum1:GetPropertyChangedSignal("Parent"):Connect(function()
  490. if not (hum1 and hum1.Parent) then
  491. hum1 = nil
  492. end
  493. end)
  494.  
  495. ws.CurrentCamera.CameraSubject = hum1
  496. local camSubCon = nil
  497. local function camSubFunc()
  498. camSubCon:Disconnect()
  499. if c and hum1 then
  500. ws.CurrentCamera.CameraSubject = hum1
  501. end
  502. end
  503. camSubCon = renderstepped:Connect(camSubFunc)
  504. if hum0 then
  505. hum0:GetPropertyChangedSignal("Jump"):Connect(function()
  506. if hum1 then
  507. hum1.Jump = hum0.Jump
  508. end
  509. end)
  510. else
  511. respawnrequest()
  512. end
  513. end
  514.  
  515. local rb = Instance.new("BindableEvent", c)
  516. rb.Event:Connect(function()
  517. rb:Destroy()
  518. sg:SetCore("ResetButtonCallback", true)
  519. if destroyhum then
  520. c:BreakJoints()
  521. return
  522. end
  523. if hum0 and (hum0.Health > 0) then
  524. model:BreakJoints()
  525. hum0.Health = 0
  526. end
  527. if antirespawn then
  528. respawnrequest()
  529. end
  530. end)
  531. sg:SetCore("ResetButtonCallback", rb)
  532.  
  533. spawn(function()
  534. while c do
  535. if hum0 and hum1 then
  536. hum1.Jump = hum0.Jump
  537. end
  538. wait()
  539. end
  540. sg:SetCore("ResetButtonCallback", true)
  541. end)
  542.  
  543. R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
  544. if R15toR6 then
  545. local part = gp(c, "HumanoidRootPart", "BasePart") or gp(c, "UpperTorso", "BasePart") or gp(c, "LowerTorso", "BasePart") or gp(c, "Head", "BasePart") or c:FindFirstChildWhichIsA("BasePart")
  546. if part then
  547. local cfr = part.CFrame
  548. local R6parts = {
  549. head = {
  550. Name = "Head",
  551. Size = v3(2, 1, 1),
  552. R15 = {
  553. Head = 0
  554. }
  555. },
  556. torso = {
  557. Name = "Torso",
  558. Size = v3(2, 2, 1),
  559. R15 = {
  560. UpperTorso = 0.2,
  561. LowerTorso = -0.8
  562. }
  563. },
  564. root = {
  565. Name = "HumanoidRootPart",
  566. Size = v3(2, 2, 1),
  567. R15 = {
  568. HumanoidRootPart = 0
  569. }
  570. },
  571. leftArm = {
  572. Name = "Left Arm",
  573. Size = v3(1, 2, 1),
  574. R15 = {
  575. LeftHand = -0.849,
  576. LeftLowerArm = -0.174,
  577. LeftUpperArm = 0.415
  578. }
  579. },
  580. rightArm = {
  581. Name = "Right Arm",
  582. Size = v3(1, 2, 1),
  583. R15 = {
  584. RightHand = -0.849,
  585. RightLowerArm = -0.174,
  586. RightUpperArm = 0.415
  587. }
  588. },
  589. leftLeg = {
  590. Name = "Left Leg",
  591. Size = v3(1, 2, 1),
  592. R15 = {
  593. LeftFoot = -0.85,
  594. LeftLowerLeg = -0.29,
  595. LeftUpperLeg = 0.49
  596. }
  597. },
  598. rightLeg = {
  599. Name = "Right Leg",
  600. Size = v3(1, 2, 1),
  601. R15 = {
  602. RightFoot = -0.85,
  603. RightLowerLeg = -0.29,
  604. RightUpperLeg = 0.49
  605. }
  606. }
  607. }
  608. for i, v in pairs(c:GetChildren()) do
  609. if v:IsA("BasePart") then
  610. for i1, v1 in pairs(v:GetChildren()) do
  611. if v1:IsA("Motor6D") then
  612. v1.Part0 = nil
  613. end
  614. end
  615. end
  616. end
  617. part.Archivable = true
  618. for i, v in pairs(R6parts) do
  619. local part = part:Clone()
  620. part:ClearAllChildren()
  621. part.Name = v.Name
  622. part.Size = v.Size
  623. part.CFrame = cfr
  624. part.Anchored = false
  625. part.Transparency = 1
  626. part.CanCollide = false
  627. for i1, v1 in pairs(v.R15) do
  628. local R15part = gp(c, i1, "BasePart")
  629. local att = gp(R15part, "att1_" .. i1, "Attachment")
  630. if R15part then
  631. local weld = Instance.new("Weld", R15part)
  632. weld.Name = "Weld_" .. i1
  633. weld.Part0 = part
  634. weld.Part1 = R15part
  635. weld.C0 = cf(0, v1, 0)
  636. weld.C1 = cf(0, 0, 0)
  637. R15part.Massless = true
  638. R15part.Name = "R15_" .. i1
  639. R15part.Parent = part
  640. if att then
  641. att.Parent = part
  642. att.Position = v3(0, v1, 0)
  643. end
  644. end
  645. end
  646. part.Parent = c
  647. R6parts[i] = part
  648. end
  649. local R6joints = {
  650. neck = {
  651. Parent = R6parts.torso,
  652. Name = "Neck",
  653. Part0 = R6parts.torso,
  654. Part1 = R6parts.head,
  655. C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  656. C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  657. },
  658. rootJoint = {
  659. Parent = R6parts.root,
  660. Name = "RootJoint" ,
  661. Part0 = R6parts.root,
  662. Part1 = R6parts.torso,
  663. C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
  664. C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  665. },
  666. rightShoulder = {
  667. Parent = R6parts.torso,
  668. Name = "Right Shoulder",
  669. Part0 = R6parts.torso,
  670. Part1 = R6parts.rightArm,
  671. C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  672. C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  673. },
  674. leftShoulder = {
  675. Parent = R6parts.torso,
  676. Name = "Left Shoulder",
  677. Part0 = R6parts.torso,
  678. Part1 = R6parts.leftArm,
  679. C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  680. C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  681. },
  682. rightHip = {
  683. Parent = R6parts.torso,
  684. Name = "Right Hip",
  685. Part0 = R6parts.torso,
  686. Part1 = R6parts.rightLeg,
  687. C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
  688. C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  689. },
  690. leftHip = {
  691. Parent = R6parts.torso,
  692. Name = "Left Hip" ,
  693. Part0 = R6parts.torso,
  694. Part1 = R6parts.leftLeg,
  695. C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  696. C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  697. }
  698. }
  699. for i, v in pairs(R6joints) do
  700. local joint = Instance.new("Motor6D")
  701. for prop, val in pairs(v) do
  702. joint[prop] = val
  703. end
  704. R6joints[i] = joint
  705. end
  706. if hum1 then
  707. hum1.RigType = Enum.HumanoidRigType.R6
  708. hum1.HipHeight = 0
  709. end
  710. end
  711. end
  712.  
  713. local torso1 = torso
  714. torso = gp(c, "Torso", "BasePart") or ((not R15toR6) and gp(c, torso.Name, "BasePart"))
  715. if (typeof(hedafterneck) == "Instance") and head and torso and torso1 then
  716. local conNeck = nil
  717. local conTorso = nil
  718. local contorso1 = nil
  719. local aligns = {}
  720. local function enableAligns()
  721. conNeck:Disconnect()
  722. conTorso:Disconnect()
  723. conTorso1:Disconnect()
  724. for i, v in pairs(aligns) do
  725. v.Enabled = true
  726. end
  727. end
  728. conNeck = hedafterneck.Changed:Connect(function(prop)
  729. if table.find({"Part0", "Part1", "Parent"}, prop) then
  730. enableAligns()
  731. end
  732. end)
  733. conTorso = torso:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
  734. conTorso1 = torso1:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
  735. for i, v in pairs(head:GetDescendants()) do
  736. if v:IsA("AlignPosition") or v:IsA("AlignOrientation") then
  737. i = tostring(i)
  738. aligns[i] = v
  739. v:GetPropertyChangedSignal("Parent"):Connect(function()
  740. aligns[i] = nil
  741. end)
  742. v.Enabled = false
  743. end
  744. end
  745. end
  746.  
  747. local flingpart0 = gp(model, flingpart, "BasePart") or gp(gp(model, flingpart, "Accessory"), "Handle", "BasePart")
  748. local flingpart1 = gp(c, flingpart, "BasePart") or gp(gp(c, flingpart, "Accessory"), "Handle", "BasePart")
  749.  
  750. local fling = function() end
  751. if flingpart0 and flingpart1 then
  752. flingpart0:GetPropertyChangedSignal("Parent"):Connect(function()
  753. if not (flingpart0 and flingpart0.Parent) then
  754. flingpart0 = nil
  755. fling = function() end
  756. end
  757. end)
  758. flingpart0.Archivable = true
  759. flingpart1:GetPropertyChangedSignal("Parent"):Connect(function()
  760. if not (flingpart1 and flingpart1.Parent) then
  761. flingpart1 = nil
  762. fling = function() end
  763. end
  764. end)
  765. local att0 = gp(flingpart0, "att0_" .. flingpart0.Name, "Attachment")
  766. local att1 = gp(flingpart1, "att1_" .. flingpart1.Name, "Attachment")
  767. if att0 and att1 then
  768. att0:GetPropertyChangedSignal("Parent"):Connect(function()
  769. if not (att0 and att0.Parent) then
  770. att0 = nil
  771. fling = function() end
  772. end
  773. end)
  774. att1:GetPropertyChangedSignal("Parent"):Connect(function()
  775. if not (att1 and att1.Parent) then
  776. att1 = nil
  777. fling = function() end
  778. end
  779. end)
  780. local lastfling = nil
  781. local mouse = lp:GetMouse()
  782. fling = function(target, duration, rotVelocity)
  783. if typeof(target) == "Instance" then
  784. if target:IsA("BasePart") then
  785. target = target.Position
  786. elseif target:IsA("Model") then
  787. target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
  788. if target then
  789. target = target.Position
  790. else
  791. return
  792. end
  793. elseif target:IsA("Humanoid") then
  794. local parent = target.Parent
  795. if not (parent and parent:IsA("Model")) then
  796. return
  797. end
  798. target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
  799. if target then
  800. target = target.Position
  801. else
  802. return
  803. end
  804. else
  805. return
  806. end
  807. elseif typeof(target) == "CFrame" then
  808. target = target.Position
  809. elseif typeof(target) ~= "Vector3" then
  810. target = mouse.Hit
  811. if target then
  812. target = target.Position
  813. else
  814. return
  815. end
  816. end
  817. lastfling = target
  818. if type(duration) ~= "number" then
  819. duration = tonumber(duration) or 0.5
  820. end
  821. if typeof(rotVelocity) ~= "Vector3" then
  822. rotVelocity = v3(20000, 20000, 20000)
  823. end
  824. if not (target and flingpart0 and flingpart1 and att0 and att1) then
  825. return
  826. end
  827. local flingpart = flingpart0:Clone()
  828. flingpart.Transparency = 1
  829. flingpart.Size = v3(0.01, 0.01, 0.01)
  830. flingpart.CanCollide = false
  831. flingpart.Name = "flingpart_" .. flingpart0.Name
  832. flingpart.Anchored = true
  833. flingpart.Velocity = v3_0
  834. flingpart.RotVelocity = v3_0
  835. flingpart:GetPropertyChangedSignal("Parent"):Connect(function()
  836. if not (flingpart and flingpart.Parent) then
  837. flingpart = nil
  838. end
  839. end)
  840. flingpart.Parent = flingpart1
  841. if flingpart0.Transparency > 0.5 then
  842. flingpart0.Transparency = 0.5
  843. end
  844. att1.Parent = flingpart
  845. for i, v in pairs(att0:GetChildren()) do
  846. if v:IsA("AlignOrientation") then
  847. v.Enabled = false
  848. end
  849. end
  850. local con = nil
  851. con = heartbeat:Connect(function()
  852. if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then
  853. flingpart0.RotVelocity = rotVelocity
  854. flingpart.Position = target
  855. else
  856. con:Disconnect()
  857. end
  858. end)
  859. local rsteppedRotVel = v3(
  860. ((rotVelocity.X > 0) and -1) or 1,
  861. ((rotVelocity.Y > 0) and -1) or 1,
  862. ((rotVelocity.Z > 0) and -1) or 1
  863. )
  864. local con = nil
  865. con = renderstepped:Connect(function()
  866. if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then
  867. flingpart0.RotVelocity = rsteppedRotVel
  868. flingpart.Position = target
  869. else
  870. con:Disconnect()
  871. end
  872. end)
  873. wait(duration)
  874. if lastfling ~= target then
  875. if flingpart then
  876. if att1 and (att1.Parent == flingpart) then
  877. att1.Parent = flingpart1
  878. end
  879. flingpart:Destroy()
  880. end
  881. return
  882. end
  883. target = nil
  884. if not (flingpart and flingpart0 and flingpart1 and att0 and att1) then
  885. return
  886. end
  887. flingpart0.RotVelocity = v3_0
  888. att1.Parent = flingpart1
  889. for i, v in pairs(att0:GetChildren()) do
  890. if v:IsA("AlignOrientation") then
  891. v.Enabled = true
  892. end
  893. end
  894. if flingpart then
  895. flingpart:Destroy()
  896. end
  897. end
  898. end
  899. end
  900.  
  901. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  902. local Plrs = S.Players
  903. local Plr = Plrs.LocalPlayer
  904. local Char = Plr.Character
  905. local Hum = Char:FindFirstChildOfClass'Humanoid'
  906. local RArm = Char["Right Arm"]
  907. local LArm = Char["Left Arm"]
  908. local RLeg = Char["Right Leg"]
  909. local LLeg = Char["Left Leg"]
  910. local Root = Char:FindFirstChild'HumanoidRootPart'
  911. local Torso = Char.Torso
  912. local Head = Char.Head
  913. local NeutralAnims = true
  914. local Attack = false
  915. local BloodPuddles = {}
  916. local Effects = {}
  917. local Debounces = {Debounces={}}
  918. local Mouse = Plr:GetMouse()
  919. local Hit = {}
  920. local Sine = 0
  921. local Change = 1
  922. local PulseTime = 0
  923. local DustTime = 0
  924.  
  925. local Rooted = false
  926. --// Debounce System \\--
  927.  
  928. function Debounces:New(name,cooldown)
  929. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  930. setmetatable(aaaaa,{__index = Debounces})
  931. Debounces.Debounces[name] = aaaaa
  932. return aaaaa
  933. end
  934.  
  935. function Debounces:Use(overrideUsable)
  936. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  937. if(self.Usable or overrideUsable)then
  938. self.Usable = false
  939. self.CoolingDown = true
  940. local LastUse = time()
  941. self.LastUse = LastUse
  942. delay(self.Cooldown or 2,function()
  943. if(self.LastUse == LastUse)then
  944. self.CoolingDown = false
  945. self.Usable = true
  946. end
  947. end)
  948. end
  949. end
  950.  
  951. function Debounces:Get(name)
  952. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  953. for i,v in next, Debounces.Debounces do
  954. if(i == name)then
  955. return v;
  956. end
  957. end
  958. end
  959.  
  960. function Debounces:GetProgressPercentage()
  961. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  962. if(self.CoolingDown and not self.Usable)then
  963. return math.max(
  964. math.floor(
  965. (
  966. (time()-self.LastUse)/self.Cooldown or 2
  967. )*100
  968. )
  969. )
  970. else
  971. return 100
  972. end
  973. end
  974.  
  975. --// Shortcut Variables \\--
  976. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  977. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  978. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  979. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG = function(min,max,div) return math.random(min,max)/(div or 1) end,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  980. local R3 = {N=Region3.new}
  981. local De = S.Debris
  982. local WS = workspace
  983. local Lght = S.Lighting
  984. local RepS = S.ReplicatedStorage
  985. local IN = Instance.new
  986. --// Instance Creation Functions \\--
  987.  
  988. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  989. local Sound = IN("Sound")
  990. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  991. Sound.Pitch = pitch or 1
  992. Sound.Volume = volume or 1
  993. Sound.Looped = looped or false
  994. if(autoPlay)then
  995. coroutine.wrap(function()
  996. repeat wait() until Sound.IsLoaded
  997. Sound.Playing = autoPlay or false
  998. end)()
  999. end
  1000. if(not looped and effect)then
  1001. Sound.Stopped:connect(function()
  1002. Sound.Volume = 0
  1003. Sound:destroy()
  1004. end)
  1005. elseif(effect)then
  1006. warn("Sound can't be looped and a sound effect!")
  1007. end
  1008. Sound.Parent =parent or Torso
  1009. return Sound
  1010. end
  1011. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1012. local part = IN("Part")
  1013. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  1014. part.Material = material or Enum.Material.SmoothPlastic
  1015. part.TopSurface,part.BottomSurface=10,10
  1016. part.Size = size or V3.N(1,1,1)
  1017. part.CFrame = cframe or CF.N(0,0,0)
  1018. part.Anchored = anchored or true
  1019. part.CanCollide = cancollide or false
  1020. part.Parent = parent or Char
  1021. return part
  1022. end
  1023. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  1024. local class = "SpecialMesh"
  1025. if(meshtype == Enum.MeshType.Brick)then class = 'BlockMesh' end
  1026.  
  1027. local part = IN(class)
  1028. if(class == "SpecialMesh")then
  1029. part.MeshId = meshid or ""
  1030. part.TextureId = textid or ""
  1031. part.MeshType = meshtype or Enum.MeshType.Sphere
  1032. end
  1033. part.Scale = scale or V3.N(1,1,1)
  1034. part.Offset = offset or V3.N(0,0,0)
  1035.  
  1036. part.Parent = parent
  1037. return part
  1038. end
  1039.  
  1040. NewInstance = function(instance,parent,properties)
  1041. local inst = Instance.new(instance,parent)
  1042. if(properties)then
  1043. for i,v in next, properties do
  1044. pcall(function() inst[i] = v end)
  1045. end
  1046. end
  1047. return inst;
  1048. end
  1049.  
  1050.  
  1051.  
  1052. --// Extended ROBLOX tables \\--
  1053. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  1054. --// Customization \\--
  1055.  
  1056. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  1057. local Remove_Hats = true
  1058. local Remove_Clothing = true
  1059. local PlayerSize = 1
  1060. local DamageColor = BrickColor.new'New Yeller'
  1061. local MusicID = 835120625
  1062.  
  1063. --// Weapon and GUI creation, and Character Customization \\--
  1064.  
  1065. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  1066. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  1067. Instance.ClearChildrenOfClass(Char,"Decal",true)
  1068. local Effects = IN("Folder",Char)
  1069. Effects.Name = "Effects"
  1070.  
  1071. local Halo = IN("Model",Char)
  1072. Halo.Name = "Halo"
  1073.  
  1074. local Wings = IN("Model",Char)
  1075. Wings.Name = "Wings"
  1076.  
  1077. Hum.DisplayDistanceType = 'None'
  1078.  
  1079. local naeeym2 = IN("BillboardGui",Char)
  1080. naeeym2.AlwaysOnTop = true
  1081. naeeym2.Size = UDim2.new(5,35,2,15)
  1082. naeeym2.StudsOffset = V3.N(0,2.5,0)
  1083. naeeym2.Adornee = Char.Head
  1084. naeeym2.Name = "Name"
  1085. naeeym2.PlayerToHideFrom = Plr
  1086. local tecks2 = IN("TextLabel",naeeym2)
  1087. tecks2.BackgroundTransparency = 1
  1088. tecks2.TextScaled = true
  1089. tecks2.BorderSizePixel = 0
  1090. tecks2.Text = "The Angel"
  1091. tecks2.Font = Enum.Font.Bodoni
  1092. tecks2.TextSize = 30
  1093. tecks2.TextStrokeTransparency = 0
  1094. tecks2.TextColor3 = C3.N(0,0,0)
  1095. tecks2.TextStrokeColor3 = C3.N(1,1,0)
  1096. tecks2.Size = UDim2.new(1,0,0.5,0)
  1097. tecks2.Parent = naeeym2
  1098.  
  1099. pcall(function()
  1100. Char.LeftWing:destroy()
  1101. Char.ReaperShadowHead:destroy()
  1102. end)
  1103.  
  1104. for _,v in next, Char:children() do
  1105. if(v:IsA'BasePart' and v.Transparency < 1 and v ~= Head)then
  1106. NewInstance("SelectionBox",v,{Adornee=v,LineThickness=.01,Color3=C3.N(1,1,0)})
  1107. if(v ~= Head)then IN("BlockMesh",v) end
  1108. end
  1109. end
  1110.  
  1111. local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  1112. local WingHandle = NewInstance("Part",Wings,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  1113.  
  1114. for i = 1, 360,5 do
  1115. local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"New Yeller",Material=Enum.Material.Neon,Size=V3.N(0.69,0.1,0.3),Anchored=false,CanCollide=false,Locked=true,Transparency=.6})
  1116. local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-.6)})
  1117. end
  1118.  
  1119. if(PlayerSize ~= 1)then
  1120. for _,v in next, Char:GetDescendats() do
  1121. if(v:IsA'BasePart')then
  1122. v.Size = v.Size * PlayerSize
  1123. end
  1124. end
  1125. end
  1126.  
  1127. local Music = Sound(Char,MusicID,1,3,true,false,true)
  1128. Music.Name = 'Music'
  1129.  
  1130. -- Wing Creation
  1131. local FeatherWelds = {{},{}}
  1132. local inc = 1
  1133. for aa = 1, 4 do
  1134. local lastFeather;
  1135. FeatherWelds[1][aa] = {}
  1136. for i = 1, 4+inc do
  1137. local feather = NewInstance("Part",Wings,{CustomPhysicalProperties=PhysicalProperties.new(0,0,0,0,0),TopSurface=10,BottomSurface=10,Size=V3.N(2,.5,.75),CanCollide=false,Color=C3.N(1,1,1)})
  1138. NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  1139. if(lastFeather)then
  1140. table.insert(FeatherWelds[1][aa],NewInstance("Weld",feather,{Part0=lastFeather,Part1=feather,C0=CF.N(.5,.25,0)*CF.A(0,0,M.R(-5))}))
  1141. else
  1142. table.insert(FeatherWelds[1][aa],NewInstance("Weld",feather,{Part0=feather,Part1=WingHandle,C0=CF.N(-2,aa/4,0)*CF.A(0,0,M.R(-5))}))
  1143. end
  1144. lastFeather = feather
  1145. end
  1146. inc = inc + 1
  1147. end
  1148.  
  1149. local inc = 1
  1150. for aa = 1, 4 do
  1151. local lastFeather;
  1152. FeatherWelds[2][aa] = {}
  1153. for i = 1, 4+inc do
  1154. local feather = NewInstance("Part",Wings,{CustomPhysicalProperties=PhysicalProperties.new(0,0,0,0,0),TopSurface=10,BottomSurface=10,Size=V3.N(2,.5,.75),CanCollide=false,Color=C3.N(1,1,1)})
  1155. NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  1156. if(lastFeather)then
  1157. table.insert(FeatherWelds[2][aa],NewInstance("Weld",feather,{Part0=lastFeather,Part1=feather,C0=CF.N(-.5,.25,0)*CF.A(0,0,M.R(5))}))
  1158. else
  1159. table.insert(FeatherWelds[2][aa],NewInstance("Weld",feather,{Part0=feather,Part1=WingHandle,C0=CF.N(2,aa/4,0)*CF.A(0,0,M.R(5))}))
  1160. end
  1161. lastFeather = feather
  1162. end
  1163. inc = inc + 1
  1164. end
  1165.  
  1166. --// Stop animations \\--
  1167. for _,v in next, Hum:GetPlayingAnimationTracks() do
  1168. v:Stop();
  1169. end
  1170.  
  1171. pcall(game.Destroy,Char:FindFirstChild'Animate')
  1172. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  1173.  
  1174. --// Joints \\--
  1175.  
  1176. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  1177. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  1178. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  1179. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1180. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1181. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  1182. local HW = NewInstance('Motor',Char,{Part0=Head,Part1=HaloHandle,C0=CF.N(0,2,0)})
  1183. local WW = NewInstance('Motor',Char,{Part0=Torso,Part1=WingHandle,C0=CF.N(0,1.5,1.5)})
  1184.  
  1185. local LSC0 = LS.C0
  1186. local RSC0 = RS.C0
  1187. local NKC0 = NK.C0
  1188. local LHC0 = LH.C0
  1189. local RHC0 = RH.C0
  1190. local RJC0 = RJ.C0
  1191.  
  1192. --// Artificial HB \\--
  1193.  
  1194. local ArtificialHB = IN("BindableEvent", script)
  1195. ArtificialHB.Name = "Heartbeat"
  1196.  
  1197. script:WaitForChild("Heartbeat")
  1198.  
  1199. local tf = 0
  1200. local allowframeloss = false
  1201. local tossremainder = false
  1202. local lastframe = tick()
  1203. local frame = 1/Frame_Speed
  1204. ArtificialHB:Fire()
  1205.  
  1206. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1207. tf = tf + s
  1208. if tf >= frame then
  1209. if allowframeloss then
  1210. script.Heartbeat:Fire()
  1211. lastframe = tick()
  1212. else
  1213. for i = 1, math.floor(tf / frame) do
  1214. ArtificialHB:Fire()
  1215. end
  1216. lastframe = tick()
  1217. end
  1218. if tossremainder then
  1219. tf = 0
  1220. else
  1221. tf = tf - frame * math.floor(tf / frame)
  1222. end
  1223. end
  1224. end)
  1225.  
  1226. function swait(num)
  1227. if num == 0 or num == nil then
  1228. ArtificialHB.Event:wait()
  1229. else
  1230. for i = 0, num do
  1231. ArtificialHB.Event:wait()
  1232. end
  1233. end
  1234. end
  1235.  
  1236.  
  1237. --// Effect Function(s) \\--
  1238.  
  1239.  
  1240. function Chat(text)
  1241. --if(game.PlaceId ~= 843468296)then
  1242. coroutine.wrap(function()
  1243. if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  1244. local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  1245. local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=C3.N(1,1,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=30,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
  1246. local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true)
  1247. for i = 1, #text do
  1248. delay(i/25, function()
  1249. SND.Pitch = M.RNG(9,11)/10
  1250. SND.Volume = 3
  1251. SND.Parent = Effects
  1252. SND:Play()
  1253. Txt.Text = text:sub(1,i)
  1254. end)
  1255. end
  1256. delay((#text/25)+2, function()
  1257. Txt.Text = ""
  1258. for i = 1, #text do
  1259. Txt.Text = Txt.Text.. string.char(M.RNG(0,126))
  1260. end
  1261. end)
  1262. delay((#text/25)+3, function()
  1263. BBG:destroy()
  1264. SND:destroy()
  1265. end)
  1266. end)()
  1267. --else
  1268. -- Chat2(text)
  1269. --end
  1270. end
  1271.  
  1272. function Chat2(text)
  1273. coroutine.wrap(function()
  1274. if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  1275. local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  1276. local offset = 0;
  1277. local xsize = 0;
  1278. for i = 1, #text do
  1279. offset = offset - 16
  1280. xsize = xsize + 32
  1281. delay(i/25, function()
  1282. local Txt = NewInstance("TextLabel",BBG,{Text = text:sub(i,i),Position=UDim2.new(0,offset,0,0),BackgroundTransparency=1,TextColor3=C3.N(1,1,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=40,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
  1283. offset = offset + 32
  1284. while Txt and Txt.Parent do
  1285. Txt.Rotation = M.RNG(-15,15)
  1286. swait()
  1287. end
  1288. end)
  1289. end
  1290. BBG.Size = UDim2.new(0,xsize,0,40)
  1291. delay((#text/25)+3, function()
  1292. for _,v in next, BBG:children() do
  1293. pcall(function() v.Text = string.char(M.RNG(0,126)) end)
  1294. end
  1295. end)
  1296. delay((#text/25)+4, function()
  1297. BBG:destroy()
  1298. end)
  1299. end)()
  1300. end
  1301.  
  1302.  
  1303. function Transparency(trans)
  1304. for _,v in next, Char:children() do
  1305. if(v:IsA'BasePart' and v ~= Root and v ~= HaloHandle and v ~= WingHandle)then
  1306. v.Transparency = trans
  1307. local sbox = v:findFirstChild'SelectionBox'
  1308. if(sbox)then sbox.Transparency=trans end
  1309. elseif(v:IsA'Accessory' and v:FindFirstChild'Handle')then
  1310. v.Handle.Transparency=trans
  1311. end
  1312. end
  1313. for _,v in next, Wings:children() do
  1314. if(v:IsA'BasePart' and v ~= WingHandle)then
  1315. v.Transparency = trans
  1316. local sbox = v:findFirstChild'SelectionBox'
  1317. if(sbox)then sbox.Transparency=trans end
  1318. end
  1319. end
  1320. for _,v in next, Halo:children() do
  1321. if(v:IsA'BasePart' and v ~= HaloHandle)then
  1322. v.Transparency = trans
  1323. local sbox = v:findFirstChild'SelectionBox'
  1324. if(sbox)then sbox.Transparency=trans end
  1325. end
  1326. end
  1327. end
  1328.  
  1329. local FXTable = {}
  1330.  
  1331. function Bezier(startpos, pos2, pos3, endpos, t)
  1332. local A = startpos:lerp(pos2, t)
  1333. local B = pos2:lerp(pos3, t)
  1334. local C = pos3:lerp(endpos, t)
  1335. local lerp1 = A:lerp(B, t)
  1336. local lerp2 = B:lerp(C, t)
  1337. local cubic = lerp1:lerp(lerp2, t)
  1338. return cubic
  1339. end
  1340.  
  1341. function Tween(obj,props,time,easing,direction,repeats,backwards)
  1342. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  1343. local tween = S.TweenService:Create(obj, info, props)
  1344.  
  1345. tween:Play()
  1346. end
  1347.  
  1348. coroutine.resume(coroutine.create(function()
  1349. while true do
  1350. for i = 1, #FXTable do
  1351. local data = FXTable[i]
  1352. if(data)then
  1353. local Frame = data.Frame
  1354. local FX = data.Effect or 'ResizeAndFade'
  1355. local Parent = data.Parent or Effects
  1356. local Color = data.Color or C3.N(0,0,0)
  1357. local Size = data.Size or V3.N(1,1,1)
  1358. local MoveDir = data.MoveDirection or nil
  1359. local MeshData = data.Mesh or nil
  1360. local SndData = data.Sound or nil
  1361. local Frames = data.Frames or 45
  1362. local CFra = data.CFrame or Torso.CFrame
  1363. local Settings = data.FXSettings or {}
  1364. local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  1365. local grow = data.Grow
  1366.  
  1367. local MoveSpeed = nil;
  1368. if(MoveDir)then
  1369. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1370. end
  1371. if(FX ~= 'Arc')then
  1372. Frame = Frame + 1
  1373. if(FX == "Fade")then
  1374. Prt.Transparency = (Frame/Frames)
  1375. elseif(FX == "Resize")then
  1376. if(not Settings.EndSize)then
  1377. Settings.EndSize = V3.N(0,0,0)
  1378. end
  1379. if(Settings.EndIsIncrement)then
  1380. if(Msh)then
  1381. Msh.Scale = Msh.Scale + Settings.EndSize
  1382. else
  1383. Prt.Size = Prt.Size + Settings.EndSize
  1384. end
  1385. else
  1386. if(Msh)then
  1387. Msh.Scale = Msh.Scale - grow/Frames
  1388. else
  1389. Prt.Size = Prt.Size - grow/Frames
  1390. end
  1391. end
  1392. elseif(FX == "ResizeAndFade")then
  1393. if(not Settings.EndSize)then
  1394. Settings.EndSize = V3.N(0,0,0)
  1395. end
  1396. if(Settings.EndIsIncrement)then
  1397. if(Msh)then
  1398. Msh.Scale = Msh.Scale + Settings.EndSize
  1399. else
  1400. Prt.Size = Prt.Size + Settings.EndSize
  1401. end
  1402. else
  1403. if(Msh)then
  1404. Msh.Scale = Msh.Scale - grow/Frames
  1405. else
  1406. Prt.Size = Prt.Size - grow/Frames
  1407. end
  1408. end
  1409. Prt.Transparency = (Frame/Frames)
  1410. end
  1411. if(Settings.RandomizeCFrame)then
  1412. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1413. end
  1414. if(MoveDir and MoveSpeed)then
  1415. local Orientation = Prt.Orientation
  1416. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1417. Prt.Orientation = Orientation
  1418. end
  1419. if(Prt.Transparency >= 1 or Frame >= Frames)then
  1420. Prt:destroy()
  1421. table.remove(FXTable,i)
  1422. else
  1423. data.Frame = Frame
  1424. end
  1425. else
  1426. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1427. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1428. if(start and endP)then
  1429. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1430. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1431. Frame = Frame + Settings.Speed or 0.01
  1432. if(Settings.Home)then
  1433. endP = Settings.Home.CFrame
  1434. end
  1435. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  1436. if(Prt.Transparency >= 1 or Frame >= Frames)then
  1437. if(Settings.RemoveOnGoal)then
  1438. Prt:destroy()
  1439. end
  1440. end
  1441. else
  1442.  
  1443. end
  1444. end
  1445. end
  1446. end
  1447. swait()
  1448. end
  1449. end))
  1450.  
  1451. function Effect(data)
  1452. local FX = data.Effect or 'ResizeAndFade'
  1453. local Parent = data.Parent or Effects
  1454. local Color = data.Color or C3.N(0,0,0)
  1455. local Size = data.Size or V3.N(1,1,1)
  1456. local MoveDir = data.MoveDirection or nil
  1457. local MeshData = data.Mesh or nil
  1458. local SndData = data.Sound or nil
  1459. local Frames = data.Frames or 45
  1460. local Manual = data.Manual or nil
  1461. local Material = data.Material or nil
  1462. local CFra = data.CFrame or Torso.CFrame
  1463. local Settings = data.FXSettings or {}
  1464. local Shape = data.Shape or Enum.PartType.Block
  1465. local Snd,Prt,Msh;
  1466. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  1467. Prt = Manual
  1468. else
  1469. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  1470. Prt.Shape = Shape
  1471. end
  1472. if(typeof(MeshData) == 'table')then
  1473. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  1474. elseif(typeof(MeshData) == 'Instance')then
  1475. Msh = MeshData:Clone()
  1476. Msh.Parent = Prt
  1477. elseif(Shape == Enum.PartType.Block)then
  1478. Msh = Mesh(Prt,Enum.MeshType.Brick)
  1479. end
  1480. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  1481. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  1482. end
  1483. if(Snd)then
  1484. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  1485. data.Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  1486. end
  1487. data.Part = Prt
  1488. data.Mesh = Msh
  1489. data.Sound = Snd
  1490. data.Frame = 0
  1491. data.Size = (Msh and Msh.Scale or Size)
  1492. Size = (Msh and Msh.Scale or Size)
  1493. data.Grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  1494. table.insert(FXTable,data)
  1495. return Prt,Msh,Snd
  1496. end
  1497.  
  1498. function Zap(data)
  1499. local sCF,eCF = data.StartCFrame,data.EndCFrame
  1500. assert(sCF,"You need a start CFrame!")
  1501. assert(eCF,"You need an end CFrame!")
  1502. local parts = data.PartCount or 15
  1503. local zapRot = data.ZapRotation or {-5,5}
  1504. local startThick = data.StartSize or 3;
  1505. local endThick = data.EndSize or startThick/2;
  1506. local color = data.Color or BrickColor.new'Electric blue'
  1507. local delay = data.Delay or 35
  1508. local delayInc = data.DelayInc or 0
  1509. local lastLightning;
  1510. local MagZ = (sCF.p - eCF.p).magnitude
  1511. local thick = startThick
  1512. local inc = (startThick/parts)-(endThick/parts)
  1513.  
  1514. for i = 1, parts do
  1515. local pos = sCF.p
  1516. if(lastLightning)then
  1517. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  1518. end
  1519. delay = delay + delayInc
  1520. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  1521. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  1522. if(parts == i)then
  1523. local MagZ = (pos-eCF.p).magnitude
  1524. zapPart.Size = V3.N(endThick,endThick,MagZ)
  1525. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  1526. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  1527. else
  1528. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  1529. end
  1530.  
  1531. lastLightning = zapPart
  1532. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  1533.  
  1534. thick=thick-inc
  1535.  
  1536. end
  1537. end
  1538.  
  1539.  
  1540. function SoulSteal(whom)
  1541. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  1542. if(torso and torso:IsA'BasePart')then
  1543. local Model = Instance.new("Model",Effects)
  1544. Model.Name = whom.Name.."'s Soul"
  1545. whom:BreakJoints()
  1546. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  1547. Soul.Name = 'Head'
  1548. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  1549. Effect{
  1550. Effect="Arc",
  1551. Manual = Soul,
  1552. FXSettings={
  1553. Start=torso.CFrame,
  1554. Home = Torso,
  1555. RemoveOnGoal = true,
  1556. }
  1557. }
  1558. local lastPoint = Soul.CFrame.p
  1559.  
  1560. for i = 0, 1, 0.01 do
  1561. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  1562. local mag = (lastPoint - Soul.Position).magnitude
  1563. Effect{
  1564. Effect = "Fade",
  1565. CFrame = point * CF.N(0, mag/2, 0),
  1566. Size = V3.N(.5,mag+.5,.5),
  1567. Color = Soul.BrickColor
  1568. }
  1569. lastPoint = Soul.CFrame.p
  1570. swait()
  1571. end
  1572. for i = 1, 5 do
  1573. Effect{
  1574. Effect="Fade",
  1575. Color = BrickColor.new'Really red',
  1576. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  1577. }
  1578. end
  1579. end
  1580. end
  1581.  
  1582. --// Other Functions \\ --
  1583.  
  1584. function getRegion(point,range,ignore)
  1585. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1586. end
  1587.  
  1588. function CastRay(startPos,endPos,range,ignoreList)
  1589. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  1590. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  1591. return part,pos,norm,(pos and (startPos-pos).magnitude)
  1592. end
  1593.  
  1594.  
  1595. function WingFlutter(Alpha)
  1596. Alpha = Alpha or .1
  1597. for x = 1, 4 do
  1598. if(FeatherWelds[1][x][1])then
  1599. FeatherWelds[1][x][1].C0 = FeatherWelds[1][x][1].C0:lerp(CF.N(-2-.5*M.C(Sine/24),x/4,0-.2*-M.S(Sine/24)),Alpha)
  1600. end
  1601. for i = 2, #FeatherWelds[1][x] do
  1602. FeatherWelds[1][x][i].C0 = FeatherWelds[1][x][i].C0:lerp(CF.N(.5,.25,0)*CF.A(0,0,M.R(-5+2*M.C(Sine/12))),Alpha)
  1603. end
  1604. end
  1605. for x = 1, 4 do
  1606. if(FeatherWelds[2][x][1])then
  1607. FeatherWelds[2][x][1].C0 = FeatherWelds[2][x][1].C0:lerp(CF.N(2+.5*M.C(Sine/24),x/4,0-.4*M.S(Sine/24)),Alpha)
  1608. end
  1609. for i = 2, #FeatherWelds[2][x] do
  1610. FeatherWelds[2][x][i].C0 = FeatherWelds[2][x][i].C0:lerp(CF.N(-.5,.25,0)*CF.A(0,0,M.R(5-2*M.C(Sine/12))),Alpha)
  1611. end
  1612. end
  1613. end
  1614.  
  1615. function clerp(startCF,endCF,alpha)
  1616. return startCF:lerp(endCF, alpha)
  1617. end
  1618.  
  1619. function GetTorso(char)
  1620. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1621. end
  1622.  
  1623. function ShowDamage(Pos, Text, Time, Color)
  1624.  
  1625. end
  1626.  
  1627.  
  1628. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  1629.  
  1630. end
  1631.  
  1632. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1633.  
  1634. end
  1635. function AOEHeal(where,range,amount)
  1636. local healed = {}
  1637. for _,v in next, getRegion(where,range,{Char}) do
  1638. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1639. if(hum and not healed[hum])then
  1640. hum.Health = hum.Health + amount
  1641. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1642. end
  1643. end
  1644. end
  1645. end
  1646.  
  1647.  
  1648. --// Attack Functions \\--
  1649.  
  1650. function Smite()
  1651. Zap{
  1652. StartCFrame=CF.N(Mouse.Hit.p)*CF.N(0,500,0),
  1653. EndCFrame=CF.N(Mouse.Hit.p),
  1654. ZapRotation = {-5,5},
  1655. StartSize = 5,
  1656. EndSize = 1,
  1657. Delay=5,
  1658. DelayInc=1,
  1659. }
  1660. AOEDamage(Mouse.Hit.p,3,15,35,false,"Electric",75,1)
  1661. end
  1662.  
  1663. function LightningStorm()
  1664. Attack = true
  1665. Rooted = true
  1666. NeutralAnims = false
  1667. Hum.AutoRotate = false
  1668. repeat swait()
  1669. Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1670. local Alpha = .3
  1671. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1672. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1673. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1674. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1675. RS.C0 = clerp(RS.C0,CFrame.new(1.17289495, 0.616719723+.1*M.C(Sine/12), 0.011598235, -0.52721566, -0.849588335, 0.0156120034, 0.849726856, -0.527186096, 0.00628500059, 0.0028907666, 0.0165794864, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1676. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  1677. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1678. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1679. WingFlutter()
  1680. until not S.UserInputService:IsKeyDown(Enum.KeyCode.C)
  1681. local where = Mouse.Hit.p
  1682. for i = 0, 6, .1 do
  1683. swait()
  1684. local Alpha = .3
  1685. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1686. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1687. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1688. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1689. RS.C0 = clerp(RS.C0,CFrame.new(1.17289495, 0.616719723+.1*M.C(Sine/12), 0.011598235, -0.52721566, -0.849588335, 0.0156120034, 0.849726856, -0.527186096, 0.00628500059, 0.0028907666, 0.0165794864, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1690. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  1691. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1692. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1693. WingFlutter()
  1694. end
  1695. for i = 0, 1.4, .1 do
  1696. swait()
  1697. local Alpha = .3
  1698. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1699. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1700. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1701. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1702. RS.C0 = clerp(RS.C0,CFrame.new(1.39888549, 0.921575725+.1*M.C(Sine/12), 0.00929622632, -0.917422354, -0.397608638, 0.0156120034, 0.397739291, -0.917477012, 0.00628500059, 0.0118246814, 0.0119755063, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1703. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  1704. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1705. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1706. WingFlutter()
  1707. end
  1708. for i = 0, .8, .1 do
  1709. swait()
  1710. local Alpha = .3
  1711. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1712. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1713. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1714. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1715. RS.C0 = clerp(RS.C0,CFrame.new(1.39452517, 0.577189744, 0.0083861379, 0.913589835, -0.406337589, 0.0156120034, 0.406289399, 0.913722992, 0.00628500059, -0.0168188754, 0.000601077918, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1716. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  1717. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1718. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1719. WingFlutter()
  1720. end
  1721.  
  1722. for i = 0, 6, .1 do
  1723. pcall(function() Sound(Torso,481719045,1,1,false,true,true) end)
  1724. local pos = CF.N(where)*CF.N(M.RNG(-1000,1000,100),0,M.RNG(-1000,1000,100))
  1725. local part,rayPos,norm,dist = CastRay(pos*CF.N(0,500,0).p,pos.p,1500)
  1726. Zap{
  1727. StartCFrame=pos*CF.N(0,500,0),
  1728. EndCFrame=CF.N(rayPos),
  1729. ZapRotation = {-5,5},
  1730. StartSize = 1,
  1731. EndSize = .5,
  1732. Delay=10,
  1733. DelayInc=2,
  1734. }
  1735. AOEDamage(rayPos,5,45,65,0,'Electric',25,2)
  1736. swait()
  1737. local Alpha = .3
  1738. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1739. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1740. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1741. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1742. RS.C0 = clerp(RS.C0,CFrame.new(1.39452517, 0.577189744, 0.0083861379, 0.913589835, -0.406337589, 0.0156120034, 0.406289399, 0.913722992, 0.00628500059, -0.0168188754, 0.000601077918, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1743. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  1744. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1745. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1746. WingFlutter()
  1747. end
  1748. Hum.AutoRotate = true
  1749. Attack = false
  1750. NeutralAnims = true
  1751. Rooted = false
  1752. end
  1753.  
  1754.  
  1755. function HolyBomb()
  1756. Attack = true
  1757. Chat2("It's time to cleanse this world!")
  1758. swait(60)
  1759. Rooted = true
  1760. NeutralAnims = false
  1761. for i = 0, 6, 0.1 do
  1762. swait()
  1763. local Alpha = .05
  1764. Zap{
  1765. StartCFrame=CF.N(Root.CFrame.p)*CF.N(0,250,0),
  1766. EndCFrame=CF.N(Root.CFrame.p),
  1767. ZapRotation = {-15,15},
  1768. Color=C3.N(1,1,0),
  1769. StartSize = 1,
  1770. EndSize = 1,
  1771. Delay=5,
  1772. DelayInc=1,
  1773. }
  1774. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20455468e-13, 0.00629198179, 1.40559132e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1775. LH.C0 = clerp(LH.C0,CFrame.new(-0.507250547, -0.110386491, -0.672860861, 0.999877751, -0.00782374945, 0.013510122, -9.81397825e-05, 0.862201095, 0.506566346, -0.0156116877, -0.506505728, 0.862094939),Alpha)
  1776. RH.C0 = clerp(RH.C0,CFrame.new(0.487759113, -0.105839849, -0.680253506, 0.999877751, -0.00782374945, 0.013510122, -9.81397825e-05, 0.862201095, 0.506566346, -0.0156116877, -0.506505728, 0.862094939),Alpha)
  1777. LS.C0 = clerp(LS.C0,CFrame.new(-1.04961777, 0.162827805, -0.367515624, 0.65209949, -0.758071303, 0.00966797117, 0.478066534, 0.401272744, -0.781301916, 0.588403046, 0.514108539, 0.624078274),Alpha)
  1778. RS.C0 = clerp(RS.C0,CFrame.new(1.01012444, 0.107069746, -0.463154793, 0.633318067, 0.773830771, 0.00966686849, -0.478192717, 0.401122361, -0.781301916, -0.608473003, 0.490190029, 0.624078274),Alpha)
  1779. NK.C0 = clerp(NK.C0,CFrame.new(6.11957148e-06, 1.44927096, -0.405988753, 0.999999583, 7.24568963e-07, -6.8731606e-07, 6.33735908e-09, 0.684226215, 0.729269981, 1.00024045e-06, -0.729269683, 0.684225917),Alpha)
  1780. WingFlutter()
  1781. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),.3)
  1782. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),.3)
  1783. end
  1784. for i = 0, .8, 0.1 do
  1785. swait()
  1786. local Alpha = .3
  1787. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00439098151, 0.0666924566, 0.281248361, 0.999959052, 0.00860917568, -0.00265517179, -0.0086270012, 0.830053985, -0.557616353, -0.00259668194, 0.557616353, 0.830094337),Alpha)
  1788. LH.C0 = clerp(LH.C0,CFrame.new(-0.497570813, -0.936474979, -0.0477344394, 0.999878109, -0.00782567263, 0.0135120051, -9.73803981e-05, 0.862202823, 0.506563246, -0.0156142879, -0.506502926, 0.862096965),Alpha)
  1789. RH.C0 = clerp(RH.C0,CFrame.new(0.497439325, -0.931922615, -0.0551193655, 0.999878109, -0.00782567263, 0.0135120051, -9.73803981e-05, 0.862202823, 0.506563246, -0.0156142879, -0.506502926, 0.862096965),Alpha)
  1790. LS.C0 = clerp(LS.C0,CFrame.new(-1.30848432, 0.518583834, 0.0627421439, 0.758070946, 0.652100444, 0.0096699167, -0.401271075, 0.478066146, -0.781302929, -0.514110804, 0.588402867, 0.624077141),Alpha)
  1791. RS.C0 = clerp(RS.C0,CFrame.new(1.42235136, 0.462758094, -0.0433900952, 0.77383244, -0.633316636, 0.00966930948, 0.401121885, 0.478191316, -0.781302929, 0.49018833, 0.608476162, 0.624077141),Alpha)
  1792. NK.C0 = clerp(NK.C0,CFrame.new(0.00874680094, 1.45278561, 0.153901845, 0.999851108, 0.0168225225, 0.00386164617, -0.014445669, 0.938051641, -0.346193999, -0.00944628194, 0.346086651, 0.938155115),Alpha)
  1793. end
  1794. delay(1, function()
  1795. NeutralAnims = true
  1796. Rooted = false
  1797. end)
  1798. local start = NewInstance("Part",Effects,{Anchored=true,CanCollide=false,Transparency=1,CFrame=Root.CFrame})
  1799. Sound(Char,579687077,.5,2,false,true,true)
  1800. Sound(Char,239000203,.75,2,false,true,true)
  1801. for i = 1, 140 do
  1802. AOEDamage(start.CFrame.p,95,1000,1000,0,'Normal',100,5)
  1803. Effect{
  1804. Effect='ResizeAndFade',
  1805. Mesh={MeshType=Enum.MeshType.Sphere},
  1806. Color=C3.N(1,1,0),
  1807. Material=Enum.Material.Neon,
  1808. CFrame=CF.N(start.CFrame.p)*CF.N(M.RNG(-75,75),M.RNG(-75,75),M.RNG(-75,75)),
  1809. Frames=60,
  1810. FXSettings={
  1811. EndIsIncrement=true,
  1812. EndSize=V3.N(.6,.6,.6)
  1813. }
  1814. }
  1815. swait(1)
  1816. end
  1817. Attack = false
  1818. end
  1819.  
  1820. function Lazor()
  1821. Rooted = true
  1822. Attack = true
  1823. Hum.AutoRotate=false
  1824. NeutralAnims = false
  1825. Chat2("Begone, sinner.")
  1826. --Effect{Effect='Resize',Mesh={MeshType=Enum.MeshType.FileMesh},Size=V3.N(1,1,1),CFrame=,Frames=60,FXSettings={EndSize=V3.N(4,4,4)}}
  1827. local snd = Sound(Torso,705787045,1,1,true,false,false)
  1828. for i = 0, 6, .1 do
  1829. Effect{
  1830. Effect='Fade',
  1831. Color=BrickColor.new'New Yeller',
  1832. Size=V3.N((i/2),(i/2),(i/2)),
  1833. Material=Enum.Material.Neon,
  1834. Mesh={MeshType=Enum.MeshType.Sphere},
  1835. Frames=15,
  1836. CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1837. Sound=false
  1838. }
  1839. swait()
  1840. Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1841. local Alpha = .1
  1842. Change = .5
  1843. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1844. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1845. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1846. LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1847. RS.C0 = clerp(RS.C0,CFrame.new(1.46309233, 0.634022355+.1*M.C(Sine/12), 0.0835287869, -0.816918671, -0.539614618, 0.203615591, -0.392316222, 0.261119068, -0.881989181, 0.422766358, -0.800395131, -0.425012559),Alpha)
  1848. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1849. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1850. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1851. WingFlutter()
  1852. end
  1853. snd:Play()
  1854. for i = 0, 24, .1 do
  1855. swait()
  1856. Effect{
  1857. Effect='Fade',
  1858. Color=BrickColor.new'New Yeller',
  1859. Size=V3.N(3,3,3),
  1860. Material=Enum.Material.Neon,
  1861. Mesh={MeshType=Enum.MeshType.Sphere},
  1862. Frames=15,
  1863. CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1864. }
  1865. if(Mouse.Target)then
  1866. Zap{
  1867. StartCFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1868. EndCFrame=Mouse.Hit,
  1869. ZapRotation = {-5,5},
  1870. PartCount=10,
  1871. StartSize = .5,
  1872. EndSize = .5,
  1873. Color = C3.N(1,1,0),
  1874. DelayInc=0,
  1875. Delay =5,
  1876. }
  1877. end
  1878. AOEDamage(Mouse.Hit.p,3,10,15,false,"Electric",25,2)
  1879. Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1880. local Alpha = .1
  1881. Change = .5
  1882. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1883. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1884. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1885. LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1886. RS.C0 = clerp(RS.C0,CFrame.new(1.42641699, 0.76597631+.1*M.C(Sine/12), -0.207831383, 0.954205394, 0.219142094, 0.203637421, 0.275958538, -0.38200587, -0.881996989, -0.115491927, 0.897801638, -0.424986154),Alpha)
  1887. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1888. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1889. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1890. WingFlutter()
  1891. end
  1892. coroutine.wrap(function()
  1893. for i = 1, 0,-.05 do
  1894. snd.Volume = i
  1895. swait()
  1896. end
  1897. snd:destroy()
  1898. end)()
  1899. Rooted = false
  1900. Attack = false
  1901. Hum.AutoRotate=true
  1902. NeutralAnims = true
  1903. end
  1904.  
  1905. function Teleport()
  1906. Rooted = true
  1907. Attack = true
  1908. Hum.AutoRotate=false
  1909. NeutralAnims = false
  1910. repeat swait()
  1911. Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1912. local Alpha = .1
  1913. Change = .5
  1914. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1915. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1916. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1917. LS.C0 = clerp(LS.C0,CFrame.new(-1.30013025, 0.503248096+.1*M.C(Sine/12), -0.596688211, 0.828000546, -0.560713708, -6.38549547e-10, 0.003524723, 0.00520492578, -0.999980271, 0.560702682, 0.827984214, 0.00628613681),Alpha)
  1918. RS.C0 = clerp(RS.C0,CFrame.new(1.27528536, 0.496638358+.1*M.C(Sine/12), -0.579756379, 0.810091436, 0.586290658, -1.40121659e-09, -0.00368550443, 0.00509234518, -0.999980271, -0.586279035, 0.810075462, 0.00628613681),Alpha)
  1919. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1920. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1921. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1922. WingFlutter()
  1923. until not S.UserInputService:IsKeyDown(Enum.KeyCode.Q)
  1924. local p = Mouse.Hit.p
  1925.  
  1926. --
  1927. local circle = NewInstance("Part",Effects,{CFrame=Root.CFrame*CF.N(0,0,-2),Size=V3.N(.05,.05,.05),Transparency=1,Anchored=true,CanCollide=false})
  1928. local decalF = NewInstance("Decal",circle,{Name='Front',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Front,Transparency = 1})
  1929. local decalB = NewInstance("Decal",circle,{Name='Back',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Back,Transparency=1})
  1930. local asd = CF.N(p,Root.Position)
  1931. local circle2=circle:Clone()
  1932. circle2.Parent = Effects
  1933. circle2.CFrame = asd*CF.N(0,4,0)
  1934. Root.Anchored = true
  1935. for i = 0, 3, .1 do
  1936. swait()
  1937. local Alpha = .1
  1938. Change = .5
  1939. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1940. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1941. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1942. LS.C0 = clerp(LS.C0,CFrame.new(-1.21875513, 0.506383479+.1*M.C(Sine/12), -0.0979118943, 0.810091376, 0.586290598, 2.45534384e-08, -0.00368548767, 0.0050923666, -0.999980271, -0.586278975, 0.810075402, 0.00628614426),Alpha)
  1943. RS.C0 = clerp(RS.C0,CFrame.new(1.20952582, 0.499788254+.1*M.C(Sine/12), -0.0786797404, 0.828000546, -0.560713649, -2.55837147e-08, 0.0035247067, 0.00520494673, -0.999980271, 0.560702622, 0.827984214, 0.00628614519),Alpha)
  1944. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1945. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1946. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1947. WingFlutter()
  1948. circle.Size = circle.Size + V3.N(.2,.2,0)
  1949. circle2.Size = circle2.Size + V3.N(.2,.2,0)
  1950. circle.Front.Transparency=1-(i/3)
  1951. circle.Back.Transparency=1-(i/3)
  1952. circle2.Front.Transparency=1-(i/3)
  1953. circle2.Back.Transparency=1-(i/3)
  1954.  
  1955. circle.CFrame=circle.CFrame*CF.A(0,0,M.R(5))
  1956. circle2.CFrame=circle2.CFrame*CF.A(0,0,M.R(5))
  1957. end
  1958. Root.Anchored = true
  1959. for i = 1, 3,.1 do
  1960. Root.Anchored = true
  1961. swait()
  1962. local Alpha = .1
  1963. Change = .5
  1964. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1965. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1966. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1967. LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1968. RS.C0 = clerp(RS.C0,CFrame.new(1.38953996, 0.579314649+.1*M.C(Sine/12), 0.00156672322, 0.963396549, -0.267624378, 0.0156119959, 0.267557263, 0.9635216, 0.0062854127, -0.0167246256, -0.0018782462, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1969. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1970. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1971. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1972. WingFlutter()
  1973. end
  1974. for i = 0, 2, .1 do
  1975. swait()
  1976. local Alpha = .1
  1977. Change = .5
  1978. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00288401172, -0.186870754+.25*M.C(Sine/12), -0.184415281, 0.999970019, -0.00748212682, -0.00185852405, 0.00747100171, 0.880958676, 0.473134309, -0.00190276653, -0.473133981, 0.880988002)*CF.A(-M.R(10+5*M.S(Sine/12)),0,0),Alpha)
  1979. LH.C0 = clerp(LH.C0,CFrame.new(-0.455414772, -0.964986682, 0.0489092469, 0.999094486, 0.0300228745, 0.0301540364, -0.0396850631, 0.913133621, 0.405724436, -0.0153536471, -0.406553656, 0.913497925)*CF.A(0,M.R(2+7*M.C(Sine/12)),-M.R(2+7*M.C(Sine/12))),Alpha)
  1980. RH.C0 = clerp(RH.C0,CFrame.new(0.544458926, -0.964868069, 0.0333667099, 0.999092519, 0.0301021822, 0.0301397741, -0.0397526845, 0.913105845, 0.405780286, -0.015305927, -0.406610161, 0.913473606)*CF.A(0,-M.R(2+7*M.C(Sine/12)),M.R(2+7*M.C(Sine/12))),Alpha)
  1981. LS.C0 = clerp(LS.C0,CFrame.new(-1.36389351, 0.578486085+.1*M.C(Sine/12), 0.180077106, -0.966345549, 0.257006437, -0.0111429691, 0.189922124, 0.683552086, -0.704759717, -0.173510939, -0.683157504, -0.709358692)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1982. RS.C0 = clerp(RS.C0,CFrame.new(1.36815977, 0.578247666+.1*M.C(Sine/12), 0.13745755, 0.960469842, -0.278161407, 0.0111425305, 0.189813495, 0.683640122, 0.704703569, -0.203638792, -0.674731433, 0.709414363)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1983. NK.C0 = clerp(NK.C0,CFrame.new(0.00204973482, 1.42796898, 0.117728591, 0.999878228, 0.00747100171, 0.0137089603, -9.46668442e-05, 0.880958676, -0.473193318, -0.0156122521, 0.473134309, 0.880851984),Alpha)
  1984. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1985. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1986. WingFlutter()
  1987. Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  1988. Transparency(i/2)
  1989. end
  1990. Zap{
  1991. StartCFrame=Root.CFrame,
  1992. EndCFrame=asd*CF.N(0,4,0),
  1993. ZapRotation = {-5,5},
  1994. PartCount=10,
  1995. StartSize = 4,
  1996. EndSize = .5,
  1997. Color = C3.N(1,1,0),
  1998. DelayInc=5,
  1999. Delay = 15,
  2000. }
  2001. Root.CFrame = asd*CF.N(0,4,0)
  2002. Root.Anchored = true
  2003.  
  2004. for i = 0, 2, .1 do
  2005. Root.Anchored = true
  2006. swait()
  2007. local Alpha = .1
  2008. Change = .5
  2009. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00288401172, -0.186870754+.25*M.C(Sine/12), -0.184415281, 0.999970019, -0.00748212682, -0.00185852405, 0.00747100171, 0.880958676, 0.473134309, -0.00190276653, -0.473133981, 0.880988002)*CF.A(-M.R(10+5*M.S(Sine/12)),0,0),Alpha)
  2010. LH.C0 = clerp(LH.C0,CFrame.new(-0.455414772, -0.964986682, 0.0489092469, 0.999094486, 0.0300228745, 0.0301540364, -0.0396850631, 0.913133621, 0.405724436, -0.0153536471, -0.406553656, 0.913497925)*CF.A(0,M.R(2+7*M.C(Sine/12)),-M.R(2+7*M.C(Sine/12))),Alpha)
  2011. RH.C0 = clerp(RH.C0,CFrame.new(0.544458926, -0.964868069, 0.0333667099, 0.999092519, 0.0301021822, 0.0301397741, -0.0397526845, 0.913105845, 0.405780286, -0.015305927, -0.406610161, 0.913473606)*CF.A(0,-M.R(2+7*M.C(Sine/12)),M.R(2+7*M.C(Sine/12))),Alpha)
  2012. LS.C0 = clerp(LS.C0,CFrame.new(-1.36389351, 0.578486085+.1*M.C(Sine/12), 0.180077106, -0.966345549, 0.257006437, -0.0111429691, 0.189922124, 0.683552086, -0.704759717, -0.173510939, -0.683157504, -0.709358692)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  2013. RS.C0 = clerp(RS.C0,CFrame.new(1.36815977, 0.578247666+.1*M.C(Sine/12), 0.13745755, 0.960469842, -0.278161407, 0.0111425305, 0.189813495, 0.683640122, 0.704703569, -0.203638792, -0.674731433, 0.709414363)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  2014. NK.C0 = clerp(NK.C0,CFrame.new(0.00204973482, 1.42796898, 0.117728591, 0.999878228, 0.00747100171, 0.0137089603, -9.46668442e-05, 0.880958676, -0.473193318, -0.0156122521, 0.473134309, 0.880851984),Alpha)
  2015. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  2016. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2017. WingFlutter()
  2018. Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  2019. Transparency(1-(i/2))
  2020. end
  2021.  
  2022.  
  2023. Transparency(0)
  2024. coroutine.wrap(function()
  2025. for i = 0, 3, .1 do
  2026. swait()
  2027. local Alpha = .1
  2028. Change = .5
  2029. circle.Size = circle.Size - V3.N(.2,.2,0)
  2030. circle2.Size = circle2.Size - V3.N(.2,.2,0)
  2031. circle.Front.Transparency=(i/3)
  2032. circle.Back.Transparency=(i/3)
  2033. circle2.Front.Transparency=(i/3)
  2034. circle2.Back.Transparency=(i/3)
  2035.  
  2036. circle.CFrame=circle.CFrame*CF.A(0,0,-M.R(5))
  2037. circle2.CFrame=circle2.CFrame*CF.A(0,0,-M.R(5))
  2038. end
  2039. end)()
  2040. Hum.AutoRotate = true
  2041. Root.Anchored = false
  2042. Rooted = false
  2043. Attack = false
  2044. NeutralAnims = true
  2045. end
  2046.  
  2047. Mouse.KeyDown:connect(function(k)
  2048. if(Attack)then return end
  2049. if(k == 'q')then Teleport() end
  2050. if(k == 'z')then Lazor() end
  2051. if(k == 'x')then Smite() end
  2052. if(k == 'v')then HolyBomb() end
  2053. if(k == 'c')then LightningStorm() end
  2054. end)
  2055.  
  2056.  
  2057. --// Wrap it all up \\--
  2058. while true do
  2059. swait()
  2060. Sine = Sine + Change
  2061.  
  2062. if(not Music or not Music.Parent)then
  2063. local a = Music.TimePosition
  2064. Music = Sound(Char,MusicID,1,3,true,false,true)
  2065. Music.Name = 'Music'
  2066. Music.TimePosition = a
  2067. end
  2068. Music.Playing = true
  2069. Torso.Color = C3.N(0,0,0)
  2070. RArm.Color = C3.N(0,0,0)
  2071. LArm.Color = C3.N(0,0,0)
  2072. RLeg.Color = C3.N(0,0,0)
  2073. LLeg.Color = C3.N(0,0,0)
  2074. Head.Color = C3.N(0,0,0)
  2075. Music.Volume = 5
  2076. Music.Pitch = 1
  2077. Music.Playing = true
  2078. Hum.HipHeight = 2
  2079. Sine = Sine + Change
  2080. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  2081. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  2082. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or Walking and "Walk" or "Idle")
  2083. if(time()-PulseTime > .05)then
  2084. PulseTime = time()
  2085. if(hitfloor)then
  2086. local angles = CF.A(M.RRNG(-15,15),M.RRNG(-45,45),M.RRNG(-45,45))
  2087. Effect{
  2088. Effect='ResizeAndFade',
  2089. Color=hitfloor.Color,
  2090. Material=hitfloor.Material,
  2091. Frames=60,
  2092. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId="rbxassetid://662586858",Scale=V3.N(.01,.01,.01)},
  2093. CFrame=CF.N(posfloor)*angles,
  2094. MoveDirection=CF.N(posfloor)*angles*CF.N(0,6,0).p,
  2095. FXSettings = {
  2096. EndSize=V3.N(.0005,.0005,.0005),
  2097. EndIsIncrement=true
  2098. }
  2099. }
  2100. end
  2101. local pos = CF.N(Torso.CFrame.p)*CF.N(0,-2,0)*CF.A(0,M.RRNG(-180,180),0)*CF.N(0,0,M.RNG(-15,-5))
  2102. local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  2103.  
  2104. if(hitfloor2)then
  2105. pos = CF.N(posfloor2)
  2106. Effect{
  2107. Effect='ResizeAndFade',
  2108. Color=BrickColor.new'New Yeller',
  2109. Size=V3.N(2,2,2),
  2110. Material=Enum.Material.Neon,
  2111. Mesh={MeshType=Enum.MeshType.Sphere},
  2112. Frames=45,
  2113. CFrame=pos,
  2114. FXSettings = {
  2115. EndSize = V3.N(-.01,.25,-.01),
  2116. EndIsIncrement = true
  2117. }
  2118. }
  2119. else
  2120. Effect{
  2121. Effect='ResizeAndFade',
  2122. Color=BrickColor.new'New Yeller',
  2123. Size=V3.N(2,2,2),
  2124. Material=Enum.Material.Neon,
  2125. Mesh={MeshType=Enum.MeshType.Sphere},
  2126. Frames=45,
  2127. CFrame=pos,
  2128. FXSettings = {
  2129. EndSize = V3.N(-.01,.25,-.01),
  2130. EndIsIncrement = true
  2131. }
  2132. }
  2133. end
  2134. end
  2135. Hum.Name = math.random()*100000
  2136. Hum.MaxHealth = 1e100
  2137. Hum.Health = 1e100
  2138. if(M.RNG(1,50) == 1)then
  2139. local pos = CF.N(Torso.CFrame.p)*CF.N(0,-2,0)*CF.A(0,M.RRNG(-180,180),0)*CF.N(0,0,M.RNG(-30,-15))
  2140. local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  2141.  
  2142. if(hitfloor2)then
  2143. pos = CF.N(posfloor2)
  2144. end
  2145. Zap{
  2146. StartCFrame=Torso.CFrame,
  2147. EndCFrame=pos,
  2148. ZapRotation = {-2,2},
  2149. PartCount=5,
  2150. StartSize = .5,
  2151. EndSize = 0,
  2152. Color = C3.N(1,1,0),
  2153. DelayInc=5,
  2154. Delay = 15,
  2155. Sound=false
  2156. }
  2157. end
  2158. if(Rooted == false)then
  2159. Hum.WalkSpeed = 32
  2160. Hum.JumpPower = 75
  2161. else
  2162. Hum.WalkSpeed = 0
  2163. Hum.JumpPower = 0
  2164. end
  2165. if(not Effects or not Effects.Parent)then
  2166. Effects = IN("Model",Char)
  2167. Effects.Name = "Effects"
  2168. end
  2169. if(NeutralAnims)then
  2170. if(State == 'Idle')then
  2171. local Alpha = .1
  2172. Change = .5
  2173. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  2174. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  2175. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  2176. LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  2177. RS.C0 = clerp(RS.C0,CFrame.new(1.38953996, 0.579314649+.1*M.C(Sine/12), 0.00156672322, 0.963396549, -0.267624378, 0.0156119959, 0.267557263, 0.9635216, 0.0062854127, -0.0167246256, -0.0018782462, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  2178. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  2179. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  2180. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2181. WingFlutter()
  2182.  
  2183. elseif(State == 'Walk')then
  2184. local Alpha = .1
  2185. Change = .5
  2186. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00288401172, -0.186870754+.25*M.C(Sine/12), -0.184415281, 0.999970019, -0.00748212682, -0.00185852405, 0.00747100171, 0.880958676, 0.473134309, -0.00190276653, -0.473133981, 0.880988002)*CF.A(-M.R(10+5*M.S(Sine/12)),0,0),Alpha)
  2187. LH.C0 = clerp(LH.C0,CFrame.new(-0.455414772, -0.964986682, 0.0489092469, 0.999094486, 0.0300228745, 0.0301540364, -0.0396850631, 0.913133621, 0.405724436, -0.0153536471, -0.406553656, 0.913497925)*CF.A(0,M.R(2+7*M.C(Sine/12)),-M.R(2+7*M.C(Sine/12))),Alpha)
  2188. RH.C0 = clerp(RH.C0,CFrame.new(0.544458926, -0.964868069, 0.0333667099, 0.999092519, 0.0301021822, 0.0301397741, -0.0397526845, 0.913105845, 0.405780286, -0.015305927, -0.406610161, 0.913473606)*CF.A(0,-M.R(2+7*M.C(Sine/12)),M.R(2+7*M.C(Sine/12))),Alpha)
  2189. LS.C0 = clerp(LS.C0,CFrame.new(-1.36389351, 0.578486085+.1*M.C(Sine/12), 0.180077106, -0.966345549, 0.257006437, -0.0111429691, 0.189922124, 0.683552086, -0.704759717, -0.173510939, -0.683157504, -0.709358692)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  2190. RS.C0 = clerp(RS.C0,CFrame.new(1.36815977, 0.578247666+.1*M.C(Sine/12), 0.13745755, 0.960469842, -0.278161407, 0.0111425305, 0.189813495, 0.683640122, 0.704703569, -0.203638792, -0.674731433, 0.709414363)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  2191. NK.C0 = clerp(NK.C0,CFrame.new(0.00204973482, 1.42796898, 0.117728591, 0.999878228, 0.00747100171, 0.0137089603, -9.46668442e-05, 0.880958676, -0.473193318, -0.0156122521, 0.473134309, 0.880851984),Alpha)
  2192. HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  2193. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2194. WingFlutter()
  2195. elseif(State == 'Paralyzed')then
  2196. -- paralyzed
  2197. elseif(State == 'Sit')then
  2198. -- sit
  2199. end
  2200. end
  2201. end
Advertisement
Add Comment
Please, Sign In to add comment