Advertisement
Zebula_The_Scripter

ANGEL BENDY

May 9th, 2018
496
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 135.23 KB | None | 0 0
  1. -------------------------------------------------------
  2. -- ANGEL BENDY
  3. -------------------------------------------------------
  4. local FavIDs = {
  5. 340106355, --Nefl Crystals
  6. 927529620, --Dimension
  7. 876981900, --Fantasy
  8. 398987889, --Ordinary Days
  9. 1117396305, --Oh wait, it's you.
  10. 885996042, --Action Winter Journey
  11. 919231299, --Sprawling Idiot Effigy
  12. 743466274, --Good Day Sunshine
  13. 727411183, --Knife Fight
  14. 1402748531, --The Earth Is Counting On You!
  15. 595230126 --Robot Language
  16. }
  17.  
  18.  
  19.  
  20. --The reality of my life isn't real but a Universe -makhail07
  21. wait(0.2)
  22. local plr = game:service'Players'.LocalPlayer
  23. print('Local User is '..plr.Name)
  24. print('Inked Monster Loaded')
  25. print('Wat')
  26. local char = plr.Character
  27. local hum = char.Humanoid
  28. local hed = char.Head
  29. local root = char.HumanoidRootPart
  30. local rootj = root.RootJoint
  31. local tors = char.Torso
  32. local ra = char["Right Arm"]
  33. local la = char["Left Arm"]
  34. local rl = char["Right Leg"]
  35. local ll = char["Left Leg"]
  36. local neck = tors["Neck"]
  37. local mouse = plr:GetMouse()
  38. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  39. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  40. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  41. local maincolor = BrickColor.new("Institutional white")
  42. -------------------------------------------------------
  43. --Start Whitelist and Invincibility--
  44. -------------------------------------------------------
  45. ff = Instance.new("ForceField",char)
  46. ff.Visible = false
  47. hum.Name = "Base"
  48. hum.MaxHealth = 1.0E298
  49. hum.Health = 1.0E298
  50. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  51. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  52. hum.MaxHealth = 1.0E298
  53. hum.Health = 1.0E298
  54. end
  55. end)
  56. -------------------------------------------------------
  57. --End Whitelist and Invincibility--
  58. -------------------------------------------------------
  59.  
  60. -------------------------------------------------------
  61. --Start Good Stuff--
  62. -------------------------------------------------------
  63. cam = game.Workspace.CurrentCamera
  64. CF = CFrame.new
  65. angles = CFrame.Angles
  66. attack = false
  67. Euler = CFrame.fromEulerAnglesXYZ
  68. Rad = math.rad
  69. IT = Instance.new
  70. BrickC = BrickColor.new
  71. Cos = math.cos
  72. Acos = math.acos
  73. Sin = math.sin
  74. Asin = math.asin
  75. Abs = math.abs
  76. Mrandom = math.random
  77. Floor = math.floor
  78. -------------------------------------------------------
  79. --End Good Stuff--
  80. -------------------------------------------------------
  81. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  82. RSH, LSH = nil, nil
  83. RW = Instance.new("Weld")
  84. LW = Instance.new("Weld")
  85. RH = tors["Right Hip"]
  86. LH = tors["Left Hip"]
  87. RSH = tors["Right Shoulder"]
  88. LSH = tors["Left Shoulder"]
  89. RSH.Parent = nil
  90. LSH.Parent = nil
  91. RW.Name = "RW"
  92. RW.Part0 = tors
  93. RW.C0 = CF(1.5, 0.5, 0)
  94. RW.C1 = CF(0, 0.5, 0)
  95. RW.Part1 = ra
  96. RW.Parent = tors
  97. LW.Name = "LW"
  98. LW.Part0 = tors
  99. LW.C0 = CF(-1.5, 0.5, 0)
  100. LW.C1 = CF(0, 0.5, 0)
  101. LW.Part1 = la
  102. LW.Parent = tors
  103. Effects = {}
  104. -------------------------------------------------------
  105. --Start HeartBeat--
  106. -------------------------------------------------------
  107. ArtificialHB = Instance.new("BindableEvent", script)
  108. ArtificialHB.Name = "Heartbeat"
  109. script:WaitForChild("Heartbeat")
  110.  
  111. frame = 1 / 60
  112. tf = 0
  113. allowframeloss = false
  114. tossremainder = false
  115.  
  116.  
  117. lastframe = tick()
  118. script.Heartbeat:Fire()
  119.  
  120.  
  121. game:GetService("RunService").Heartbeat:connect(function(s, p)
  122. tf = tf + s
  123. if tf >= frame then
  124. if allowframeloss then
  125. script.Heartbeat:Fire()
  126. lastframe = tick()
  127. else
  128. for i = 1, math.floor(tf / frame) do
  129. script.Heartbeat:Fire()
  130. end
  131. lastframe = tick()
  132. end
  133. if tossremainder then
  134. tf = 0
  135. else
  136. tf = tf - frame * math.floor(tf / frame)
  137. end
  138. end
  139. end)
  140. -------------------------------------------------------
  141. --End HeartBeat--
  142. -------------------------------------------------------
  143.  
  144. -------------------------------------------------------
  145. --Start Important Functions--
  146. -------------------------------------------------------
  147. function swait(num)
  148. if num == 0 or num == nil then
  149. game:service("RunService").Stepped:wait(0)
  150. else
  151. for i = 0, num do
  152. game:service("RunService").Stepped:wait(0)
  153. end
  154. end
  155. end
  156. function thread(f)
  157. coroutine.resume(coroutine.create(f))
  158. end
  159. function clerp(a, b, t)
  160. local qa = {
  161. QuaternionFromCFrame(a)
  162. }
  163. local qb = {
  164. QuaternionFromCFrame(b)
  165. }
  166. local ax, ay, az = a.x, a.y, a.z
  167. local bx, by, bz = b.x, b.y, b.z
  168. local _t = 1 - t
  169. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  170. end
  171. function QuaternionFromCFrame(cf)
  172. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  173. local trace = m00 + m11 + m22
  174. if trace > 0 then
  175. local s = math.sqrt(1 + trace)
  176. local recip = 0.5 / s
  177. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  178. else
  179. local i = 0
  180. if m00 < m11 then
  181. i = 1
  182. end
  183. if m22 > (i == 0 and m00 or m11) then
  184. i = 2
  185. end
  186. if i == 0 then
  187. local s = math.sqrt(m00 - m11 - m22 + 1)
  188. local recip = 0.5 / s
  189. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  190. elseif i == 1 then
  191. local s = math.sqrt(m11 - m22 - m00 + 1)
  192. local recip = 0.5 / s
  193. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  194. elseif i == 2 then
  195. local s = math.sqrt(m22 - m00 - m11 + 1)
  196. local recip = 0.5 / s
  197. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  198. end
  199. end
  200. end
  201. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  202. local xs, ys, zs = x + x, y + y, z + z
  203. local wx, wy, wz = w * xs, w * ys, w * zs
  204. local xx = x * xs
  205. local xy = x * ys
  206. local xz = x * zs
  207. local yy = y * ys
  208. local yz = y * zs
  209. local zz = z * zs
  210. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  211. end
  212. function QuaternionSlerp(a, b, t)
  213. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  214. local startInterp, finishInterp
  215. if cosTheta >= 1.0E-4 then
  216. if 1 - cosTheta > 1.0E-4 then
  217. local theta = math.acos(cosTheta)
  218. local invSinTheta = 1 / Sin(theta)
  219. startInterp = Sin((1 - t) * theta) * invSinTheta
  220. finishInterp = Sin(t * theta) * invSinTheta
  221. else
  222. startInterp = 1 - t
  223. finishInterp = t
  224. end
  225. elseif 1 + cosTheta > 1.0E-4 then
  226. local theta = math.acos(-cosTheta)
  227. local invSinTheta = 1 / Sin(theta)
  228. startInterp = Sin((t - 1) * theta) * invSinTheta
  229. finishInterp = Sin(t * theta) * invSinTheta
  230. else
  231. startInterp = t - 1
  232. finishInterp = t
  233. end
  234. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  235. end
  236. function rayCast(Position, Direction, Range, Ignore)
  237. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  238. end
  239. local RbxUtility = LoadLibrary("RbxUtility")
  240. local Create = RbxUtility.Create
  241.  
  242. -------------------------------------------------------
  243. --Start Damage Function--
  244. -------------------------------------------------------
  245. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  246. if hit.Parent == nil then
  247. return
  248. end
  249. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  250. for _, v in pairs(hit.Parent:children()) do
  251. if v:IsA("Humanoid") then
  252. h = v
  253. end
  254. end
  255. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  256.  
  257. hit.Parent:FindFirstChild("Head"):BreakJoints()
  258. end
  259.  
  260. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  261. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  262. if hit.Parent.DebounceHit.Value == true then
  263. return
  264. end
  265. end
  266. if insta == true then
  267. hit.Parent:FindFirstChild("Head"):BreakJoints()
  268. end
  269. local c = Create("ObjectValue"){
  270. Name = "creator",
  271. Value = game:service("Players").LocalPlayer,
  272. Parent = h,
  273. }
  274. game:GetService("Debris"):AddItem(c, .5)
  275. if HitSound ~= nil and HitPitch ~= nil then
  276. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  277. end
  278. local Damage = math.random(minim, maxim)
  279. local blocked = false
  280. local block = hit.Parent:findFirstChild("Block")
  281. if block ~= nil then
  282. if block.className == "IntValue" then
  283. if block.Value > 0 then
  284. blocked = true
  285. block.Value = block.Value - 1
  286. print(block.Value)
  287. end
  288. end
  289. end
  290. if blocked == false then
  291. h.Health = h.Health - Damage
  292. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  293. else
  294. h.Health = h.Health - (Damage / 2)
  295. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  296. end
  297. if Type == "Knockdown" then
  298. local hum = hit.Parent.Humanoid
  299. hum.PlatformStand = true
  300. coroutine.resume(coroutine.create(function(HHumanoid)
  301. swait(1)
  302. HHumanoid.PlatformStand = false
  303. end), hum)
  304. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  305. local bodvol = Create("BodyVelocity"){
  306. velocity = angle * knockback,
  307. P = 5000,
  308. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  309. Parent = hit,
  310. }
  311. local rl = Create("BodyAngularVelocity"){
  312. P = 3000,
  313. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  314. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  315. Parent = hit,
  316. }
  317. game:GetService("Debris"):AddItem(bodvol, .5)
  318. game:GetService("Debris"):AddItem(rl, .5)
  319. elseif Type == "Normal" then
  320. local vp = Create("BodyVelocity"){
  321. P = 500,
  322. maxForce = Vector3.new(math.huge, 0, math.huge),
  323. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  324. }
  325. if knockback > 0 then
  326. vp.Parent = hit.Parent.Torso
  327. end
  328. game:GetService("Debris"):AddItem(vp, .5)
  329. elseif Type == "Up" then
  330. local bodyVelocity = Create("BodyVelocity"){
  331. velocity = Vector3.new(0, 20, 0),
  332. P = 5000,
  333. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  334. Parent = hit,
  335. }
  336. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  337. elseif Type == "DarkUp" then
  338. coroutine.resume(coroutine.create(function()
  339. for i = 0, 1, 0.1 do
  340. swait()
  341. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  342. end
  343. end))
  344. local bodyVelocity = Create("BodyVelocity"){
  345. velocity = Vector3.new(0, 20, 0),
  346. P = 5000,
  347. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  348. Parent = hit,
  349. }
  350. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  351. elseif Type == "Snare" then
  352. local bp = Create("BodyPosition"){
  353. P = 2000,
  354. D = 100,
  355. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  356. position = hit.Parent.Torso.Position,
  357. Parent = hit.Parent.Torso,
  358. }
  359. game:GetService("Debris"):AddItem(bp, 1)
  360. elseif Type == "Freeze" then
  361. local BodPos = Create("BodyPosition"){
  362. P = 50000,
  363. D = 1000,
  364. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  365. position = hit.Parent.Torso.Position,
  366. Parent = hit.Parent.Torso,
  367. }
  368. local BodGy = Create("BodyGyro") {
  369. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  370. P = 20e+003,
  371. Parent = hit.Parent.Torso,
  372. cframe = hit.Parent.Torso.CFrame,
  373. }
  374. hit.Parent.Torso.Anchored = true
  375. coroutine.resume(coroutine.create(function(Part)
  376. swait(1.5)
  377. Part.Anchored = false
  378. end), hit.Parent.Torso)
  379. game:GetService("Debris"):AddItem(BodPos, 3)
  380. game:GetService("Debris"):AddItem(BodGy, 3)
  381. end
  382. local debounce = Create("BoolValue"){
  383. Name = "DebounceHit",
  384. Parent = hit.Parent,
  385. Value = true,
  386. }
  387. game:GetService("Debris"):AddItem(debounce, Delay)
  388. c = Create("ObjectValue"){
  389. Name = "creator",
  390. Value = Player,
  391. Parent = h,
  392. }
  393. game:GetService("Debris"):AddItem(c, .5)
  394. end
  395. end
  396. -------------------------------------------------------
  397. --End Damage Function--
  398. -------------------------------------------------------
  399.  
  400. -------------------------------------------------------
  401. --Start Damage Function Customization--
  402. -------------------------------------------------------
  403. function ShowDamage(Pos, Text, Time, Color)
  404. local Rate = (1 / 30)
  405. local Pos = (Pos or Vector3.new(0, 0, 0))
  406. local Text = (Text or "")
  407. local Time = (Time or 2)
  408. local Color = (Color or Color3.new(1, 0, 1))
  409. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  410. EffectPart.Anchored = true
  411. local BillboardGui = Create("BillboardGui"){
  412. Size = UDim2.new(3, 0, 3, 0),
  413. Adornee = EffectPart,
  414. Parent = EffectPart,
  415. }
  416. local TextLabel = Create("TextLabel"){
  417. BackgroundTransparency = 1,
  418. Size = UDim2.new(1, 0, 1, 0),
  419. Text = Text,
  420. Font = "Bodoni",
  421. TextColor3 = Color,
  422. TextScaled = true,
  423. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  424. Parent = BillboardGui,
  425. }
  426. game.Debris:AddItem(EffectPart, (Time))
  427. EffectPart.Parent = game:GetService("Workspace")
  428. delay(0, function()
  429. local Frames = (Time / Rate)
  430. for Frame = 1, Frames do
  431. wait(Rate)
  432. local Percent = (Frame / Frames)
  433. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  434. TextLabel.TextTransparency = Percent
  435. end
  436. if EffectPart and EffectPart.Parent then
  437. EffectPart:Destroy()
  438. end
  439. end)
  440. end
  441. -------------------------------------------------------
  442. --End Damage Function Customization--
  443. -------------------------------------------------------
  444.  
  445. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  446. for _, c in pairs(workspace:children()) do
  447. local hum = c:findFirstChild("Humanoid")
  448. if hum ~= nil then
  449. local head = c:findFirstChild("Head")
  450. if head ~= nil then
  451. local targ = head.Position - Part.Position
  452. local mag = targ.magnitude
  453. if magni >= mag and c.Name ~= plr.Name then
  454. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  455. end
  456. end
  457. end
  458. end
  459. end
  460.  
  461.  
  462. CFuncs = {
  463. Part = {
  464. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  465. local Part = Create("Part")({
  466. Parent = Parent,
  467. Reflectance = Reflectance,
  468. Transparency = Transparency,
  469. CanCollide = false,
  470. Locked = true,
  471. BrickColor = BrickColor.new(tostring(BColor)),
  472. Name = Name,
  473. Size = Size,
  474. Material = Material
  475. })
  476. RemoveOutlines(Part)
  477. return Part
  478. end
  479. },
  480. Mesh = {
  481. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  482. local Msh = Create(Mesh)({
  483. Parent = Part,
  484. Offset = OffSet,
  485. Scale = Scale
  486. })
  487. if Mesh == "SpecialMesh" then
  488. Msh.MeshType = MeshType
  489. Msh.MeshId = MeshId
  490. end
  491. return Msh
  492. end
  493. },
  494. Mesh = {
  495. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  496. local Msh = Create(Mesh)({
  497. Parent = Part,
  498. Offset = OffSet,
  499. Scale = Scale
  500. })
  501. if Mesh == "SpecialMesh" then
  502. Msh.MeshType = MeshType
  503. Msh.MeshId = MeshId
  504. end
  505. return Msh
  506. end
  507. },
  508. Weld = {
  509. Create = function(Parent, Part0, Part1, C0, C1)
  510. local Weld = Create("Weld")({
  511. Parent = Parent,
  512. Part0 = Part0,
  513. Part1 = Part1,
  514. C0 = C0,
  515. C1 = C1
  516. })
  517. return Weld
  518. end
  519. },
  520. Sound = {
  521. Create = function(id, par, vol, pit)
  522. coroutine.resume(coroutine.create(function()
  523. local S = Create("Sound")({
  524. Volume = vol,
  525. Pitch = pit or 1,
  526. SoundId = id,
  527. Parent = par or workspace
  528. })
  529. wait()
  530. S:play()
  531. game:GetService("Debris"):AddItem(S, 6)
  532. end))
  533. end
  534. },
  535. ParticleEmitter = {
  536. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  537. local fp = Create("ParticleEmitter")({
  538. Parent = Parent,
  539. Color = ColorSequence.new(Color1, Color2),
  540. LightEmission = LightEmission,
  541. Size = Size,
  542. Texture = Texture,
  543. Transparency = Transparency,
  544. ZOffset = ZOffset,
  545. Acceleration = Accel,
  546. Drag = Drag,
  547. LockedToPart = LockedToPart,
  548. VelocityInheritance = VelocityInheritance,
  549. EmissionDirection = EmissionDirection,
  550. Enabled = Enabled,
  551. Lifetime = LifeTime,
  552. Rate = Rate,
  553. Rotation = Rotation,
  554. RotSpeed = RotSpeed,
  555. Speed = Speed,
  556. VelocitySpread = VelocitySpread
  557. })
  558. return fp
  559. end
  560. }
  561. }
  562. function RemoveOutlines(part)
  563. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  564. end
  565. function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  566. local Part = Create("Part")({
  567. formFactor = FormFactor,
  568. Parent = Parent,
  569. Reflectance = Reflectance,
  570. Transparency = Transparency,
  571. CanCollide = false,
  572. Locked = true,
  573. BrickColor = BrickColor.new(tostring(BColor)),
  574. Name = Name,
  575. Size = Size,
  576. Material = Material
  577. })
  578. RemoveOutlines(Part)
  579. return Part
  580. end
  581. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  582. local NEWPART = IT("Part")
  583. NEWPART.formFactor = FORMFACTOR
  584. NEWPART.Reflectance = REFLECTANCE
  585. NEWPART.Transparency = TRANSPARENCY
  586. NEWPART.CanCollide = false
  587. NEWPART.Locked = true
  588. NEWPART.Anchored = true
  589. if ANCHOR == false then
  590. NEWPART.Anchored = false
  591. end
  592. NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
  593. NEWPART.Name = NAME
  594. NEWPART.Size = SIZE
  595. NEWPART.Position = tors.Position
  596. NEWPART.Material = MATERIAL
  597. NEWPART:BreakJoints()
  598. NEWPART.Parent = PARENT
  599. return NEWPART
  600. end
  601. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  602. local Msh = Create(Mesh)({
  603. Parent = Part,
  604. Offset = OffSet,
  605. Scale = Scale
  606. })
  607. if Mesh == "SpecialMesh" then
  608. Msh.MeshType = MeshType
  609. Msh.MeshId = MeshId
  610. end
  611. return Msh
  612. end
  613. function CreateWeld(Parent, Part0, Part1, C0, C1)
  614. local Weld = Create("Weld")({
  615. Parent = Parent,
  616. Part0 = Part0,
  617. Part1 = Part1,
  618. C0 = C0,
  619. C1 = C1
  620. })
  621. return Weld
  622. end
  623.  
  624.  
  625. -------------------------------------------------------
  626. --Start Effect Function--
  627. -------------------------------------------------------
  628. EffectModel = Instance.new("Model", char)
  629. Effects = {
  630. Block = {
  631. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  632. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  633. prt.Anchored = true
  634. prt.CFrame = cframe
  635. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  636. game:GetService("Debris"):AddItem(prt, 10)
  637. if Type == 1 or Type == nil then
  638. table.insert(Effects, {
  639. prt,
  640. "Block1",
  641. delay,
  642. x3,
  643. y3,
  644. z3,
  645. msh
  646. })
  647. elseif Type == 2 then
  648. table.insert(Effects, {
  649. prt,
  650. "Block2",
  651. delay,
  652. x3,
  653. y3,
  654. z3,
  655. msh
  656. })
  657. else
  658. table.insert(Effects, {
  659. prt,
  660. "Block3",
  661. delay,
  662. x3,
  663. y3,
  664. z3,
  665. msh
  666. })
  667. end
  668. end
  669. },
  670. Sphere = {
  671. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  672. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  673. prt.Anchored = true
  674. prt.CFrame = cframe
  675. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  676. game:GetService("Debris"):AddItem(prt, 10)
  677. table.insert(Effects, {
  678. prt,
  679. "Cylinder",
  680. delay,
  681. x3,
  682. y3,
  683. z3,
  684. msh
  685. })
  686. end
  687. },
  688. Cylinder = {
  689. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  690. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  691. prt.Anchored = true
  692. prt.CFrame = cframe
  693. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  694. game:GetService("Debris"):AddItem(prt, 10)
  695. table.insert(Effects, {
  696. prt,
  697. "Cylinder",
  698. delay,
  699. x3,
  700. y3,
  701. z3,
  702. msh
  703. })
  704. end
  705. },
  706. Wave = {
  707. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  708. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  709. prt.Anchored = true
  710. prt.CFrame = cframe
  711. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  712. game:GetService("Debris"):AddItem(prt, 10)
  713. table.insert(Effects, {
  714. prt,
  715. "Cylinder",
  716. delay,
  717. x3 / 60,
  718. y3 / 60,
  719. z3 / 60,
  720. msh
  721. })
  722. end
  723. },
  724. Ring = {
  725. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  726. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  727. prt.Anchored = true
  728. prt.CFrame = cframe
  729. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  730. game:GetService("Debris"):AddItem(prt, 10)
  731. table.insert(Effects, {
  732. prt,
  733. "Cylinder",
  734. delay,
  735. x3,
  736. y3,
  737. z3,
  738. msh
  739. })
  740. end
  741. },
  742. Break = {
  743. Create = function(brickcolor, cframe, x1, y1, z1)
  744. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  745. prt.Anchored = true
  746. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  747. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  748. local num = math.random(10, 50) / 1000
  749. game:GetService("Debris"):AddItem(prt, 10)
  750. table.insert(Effects, {
  751. prt,
  752. "Shatter",
  753. num,
  754. prt.CFrame,
  755. math.random() - math.random(),
  756. 0,
  757. math.random(50, 100) / 100
  758. })
  759. end
  760. },
  761. Spiral = {
  762. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  763. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  764. prt.Anchored = true
  765. prt.CFrame = cframe
  766. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  767. game:GetService("Debris"):AddItem(prt, 10)
  768. table.insert(Effects, {
  769. prt,
  770. "Cylinder",
  771. delay,
  772. x3,
  773. y3,
  774. z3,
  775. msh
  776. })
  777. end
  778. },
  779. Push = {
  780. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  781. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  782. prt.Anchored = true
  783. prt.CFrame = cframe
  784. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  785. game:GetService("Debris"):AddItem(prt, 10)
  786. table.insert(Effects, {
  787. prt,
  788. "Cylinder",
  789. delay,
  790. x3,
  791. y3,
  792. z3,
  793. msh
  794. })
  795. end
  796. }
  797. }
  798. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  799. local fp = IT("Part")
  800. fp.formFactor = formfactor
  801. fp.Parent = parent
  802. fp.Reflectance = reflectance
  803. fp.Transparency = transparency
  804. fp.CanCollide = false
  805. fp.Locked = true
  806. fp.BrickColor = brickcolor
  807. fp.Name = name
  808. fp.Size = size
  809. fp.Position = tors.Position
  810. RemoveOutlines(fp)
  811. fp.Material = "SmoothPlastic"
  812. fp:BreakJoints()
  813. return fp
  814. end
  815.  
  816. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  817. local mesh = IT(Mesh)
  818. mesh.Parent = part
  819. if Mesh == "SpecialMesh" then
  820. mesh.MeshType = meshtype
  821. if meshid ~= "nil" then
  822. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  823. end
  824. end
  825. mesh.Offset = offset
  826. mesh.Scale = scale
  827. return mesh
  828. end
  829.  
  830. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  831. local type = type
  832. local rng = Instance.new("Part", char)
  833. rng.Anchored = true
  834. rng.BrickColor = color
  835. rng.CanCollide = false
  836. rng.FormFactor = 3
  837. rng.Name = "Ring"
  838. rng.Material = "Neon"
  839. rng.Size = Vector3.new(1, 1, 1)
  840. rng.Transparency = 0
  841. rng.TopSurface = 0
  842. rng.BottomSurface = 0
  843. rng.CFrame = pos
  844. local rngm = Instance.new("SpecialMesh", rng)
  845. rngm.MeshType = MType
  846. rngm.Scale = scale
  847. local scaler2 = 1
  848. if type == "Add" then
  849. scaler2 = 1 * value
  850. elseif type == "Divide" then
  851. scaler2 = 1 / value
  852. end
  853. coroutine.resume(coroutine.create(function()
  854. for i = 0, 10 / bonuspeed, 0.1 do
  855. swait()
  856. if type == "Add" then
  857. scaler2 = scaler2 - 0.01 * value / bonuspeed
  858. elseif type == "Divide" then
  859. scaler2 = scaler2 - 0.01 / value * bonuspeed
  860. end
  861. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  862. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  863. end
  864. rng:Destroy()
  865. end))
  866. end
  867.  
  868. function Eviscerate(dude)
  869. if dude.Name ~= char then
  870. local bgf = IT("BodyGyro", dude.Head)
  871. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  872. local val = IT("BoolValue", dude)
  873. val.Name = "IsHit"
  874. local ds = coroutine.wrap(function()
  875. dude:WaitForChild("Head"):BreakJoints()
  876. wait(0.5)
  877. target = nil
  878. coroutine.resume(coroutine.create(function()
  879. for i, v in pairs(dude:GetChildren()) do
  880. if v:IsA("Accessory") then
  881. v:Destroy()
  882. end
  883. if v:IsA("Humanoid") then
  884. v:Destroy()
  885. end
  886. if v:IsA("CharacterMesh") then
  887. v:Destroy()
  888. end
  889. if v:IsA("Model") then
  890. v:Destroy()
  891. end
  892. if v:IsA("Part") or v:IsA("MeshPart") then
  893. for x, o in pairs(v:GetChildren()) do
  894. if o:IsA("Decal") then
  895. o:Destroy()
  896. end
  897. end
  898. coroutine.resume(coroutine.create(function()
  899. v.Material = "Neon"
  900. v.CanCollide = false
  901. local PartEmmit1 = IT("ParticleEmitter", v)
  902. PartEmmit1.LightEmission = 1
  903. PartEmmit1.Texture = "rbxassetid://284205403"
  904. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  905. PartEmmit1.Rate = 150
  906. PartEmmit1.Lifetime = NumberRange.new(1)
  907. PartEmmit1.Size = NumberSequence.new({
  908. NumberSequenceKeypoint.new(0, 0.75, 0),
  909. NumberSequenceKeypoint.new(1, 0, 0)
  910. })
  911. PartEmmit1.Transparency = NumberSequence.new({
  912. NumberSequenceKeypoint.new(0, 0, 0),
  913. NumberSequenceKeypoint.new(1, 1, 0)
  914. })
  915. PartEmmit1.Speed = NumberRange.new(0, 0)
  916. PartEmmit1.VelocitySpread = 30000
  917. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  918. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  919. local BodPoss = IT("BodyPosition", v)
  920. BodPoss.P = 3000
  921. BodPoss.D = 1000
  922. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  923. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  924. v.Color = maincolor.Color
  925. coroutine.resume(coroutine.create(function()
  926. for i = 0, 49 do
  927. swait(1)
  928. v.Transparency = v.Transparency + 0.08
  929. end
  930. wait(0.5)
  931. PartEmmit1.Enabled = false
  932. wait(3)
  933. v:Destroy()
  934. dude:Destroy()
  935. end))
  936. end))
  937. end
  938. end
  939. end))
  940. end)
  941. ds()
  942. end
  943. end
  944.  
  945. function FindNearestHead(Position, Distance, SinglePlayer)
  946. if SinglePlayer then
  947. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  948. end
  949. local List = {}
  950. for i, v in pairs(workspace:GetChildren()) do
  951. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  952. table.insert(List, v)
  953. end
  954. end
  955. return List
  956. end
  957.  
  958. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  959. local type = type
  960. local rng = Instance.new("Part", char)
  961. rng.Anchored = true
  962. rng.BrickColor = color
  963. rng.CanCollide = false
  964. rng.FormFactor = 3
  965. rng.Name = "Ring"
  966. rng.Material = "Neon"
  967. rng.Size = Vector3.new(1, 1, 1)
  968. rng.Transparency = 0
  969. rng.TopSurface = 0
  970. rng.BottomSurface = 0
  971. rng.CFrame = pos
  972. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  973. local rngm = Instance.new("SpecialMesh", rng)
  974. rngm.MeshType = MType
  975. rngm.Scale = Vector3.new(x1, y1, z1)
  976. local scaler2 = 1
  977. local speeder = FastSpeed
  978. if type == "Add" then
  979. scaler2 = 1 * value
  980. elseif type == "Divide" then
  981. scaler2 = 1 / value
  982. end
  983. coroutine.resume(coroutine.create(function()
  984. for i = 0, 10 / bonuspeed, 0.1 do
  985. swait()
  986. if type == "Add" then
  987. scaler2 = scaler2 - 0.01 * value / bonuspeed
  988. elseif type == "Divide" then
  989. scaler2 = scaler2 - 0.01 / value * bonuspeed
  990. end
  991. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  992. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  993. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  994. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  995. end
  996. rng:Destroy()
  997. end))
  998. end
  999.  
  1000. function SoulSteal(dude)
  1001. if dude.Name ~= char then
  1002. local bgf = IT("BodyGyro", dude.Head)
  1003. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1004. local val = IT("BoolValue", dude)
  1005. val.Name = "IsHit"
  1006. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1007. local soulst = coroutine.wrap(function()
  1008. local soul = Instance.new("Part",dude)
  1009. soul.Size = Vector3.new(1,1,1)
  1010. soul.CanCollide = false
  1011. soul.Anchored = false
  1012. soul.Position = torso.Position
  1013. soul.Transparency = 1
  1014. local PartEmmit1 = IT("ParticleEmitter", soul)
  1015. PartEmmit1.LightEmission = 1
  1016. PartEmmit1.Texture = "rbxassetid://569507414"
  1017. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1018. PartEmmit1.Rate = 250
  1019. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1020. PartEmmit1.Size = NumberSequence.new({
  1021. NumberSequenceKeypoint.new(0, 1, 0),
  1022. NumberSequenceKeypoint.new(1, 0, 0)
  1023. })
  1024. PartEmmit1.Transparency = NumberSequence.new({
  1025. NumberSequenceKeypoint.new(0, 0, 0),
  1026. NumberSequenceKeypoint.new(1, 1, 0)
  1027. })
  1028. PartEmmit1.Speed = NumberRange.new(0, 0)
  1029. PartEmmit1.VelocitySpread = 30000
  1030. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1031. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1032. local BodPoss = IT("BodyPosition", soul)
  1033. BodPoss.P = 3000
  1034. BodPoss.D = 1000
  1035. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1036. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1037. wait(1.6)
  1038. soul.Touched:connect(function(hit)
  1039. if hit.Parent == char then
  1040. soul:Destroy()
  1041. end
  1042. end)
  1043. wait(1.2)
  1044. while soul do
  1045. swait()
  1046. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1047. BodPoss.Position = tors.Position
  1048. end
  1049. end)
  1050. soulst()
  1051. end
  1052. end
  1053. function FaceMouse()
  1054. local Cam = workspace.CurrentCamera
  1055. return {
  1056. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1057. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1058. }
  1059. end
  1060. -------------------------------------------------------
  1061. --End Effect Function--
  1062. -------------------------------------------------------
  1063. function Cso(ID, PARENT, VOLUME, PITCH)
  1064. local NSound = nil
  1065. coroutine.resume(coroutine.create(function()
  1066. NSound = IT("Sound", PARENT)
  1067. NSound.Volume = VOLUME
  1068. NSound.Pitch = PITCH
  1069. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1070. swait()
  1071. NSound:play()
  1072. game:GetService("Debris"):AddItem(NSound, 10)
  1073. end))
  1074. return NSound
  1075. end
  1076. function CameraEnshaking(Length, Intensity)
  1077. coroutine.resume(coroutine.create(function()
  1078. local intensity = 1 * Intensity
  1079. local rotM = 0.01 * Intensity
  1080. for i = 0, Length, 0.1 do
  1081. swait()
  1082. intensity = intensity - 0.05 * Intensity / Length
  1083. rotM = rotM - 5.0E-4 * Intensity / Length
  1084. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1085. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1086. end
  1087. hum.CameraOffset = Vector3.new(0, 0, 0)
  1088. end))
  1089. end
  1090.  
  1091. local Particle = IT("ParticleEmitter",nil)
  1092. Particle.Enabled = false
  1093. --Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1094. Particle.LightEmission = 0.5
  1095. Particle.Rate = 150
  1096. Particle.ZOffset = 1
  1097. Particle.Rotation = NumberRange.new(-180, 180)
  1098. Particle.RotSpeed = NumberRange.new(-180, 180)
  1099. Particle.Texture = "http://www.roblox.com/asset/?id=284205403"
  1100. Particle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  1101.  
  1102. function ParticleEmitter(Table)
  1103. local PRTCL = Particle:Clone()
  1104. local Speed = Table.Speed or 5
  1105. local Drag = Table.Drag or 0
  1106. local Size1 = Table.Size1 or 1
  1107. local Size2 = Table.Size2 or 5
  1108. local Lifetime1 = Table.Lifetime1 or 1
  1109. local Lifetime2 = Table.Lifetime2 or 1.5
  1110. local Parent = Table.Parent or tors
  1111. local Emit = Table.Emit or 100
  1112. local Offset = Table.Offset or 360
  1113. local Acel = Table.Acel or Vector3.new(0,-50,0)
  1114. local Enabled = Table.Enabled or false
  1115. PRTCL.Parent = Parent
  1116. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1117. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1118. PRTCL.Speed = NumberRange.new(Speed)
  1119. PRTCL.VelocitySpread = Offset
  1120. PRTCL.Drag = Drag
  1121. PRTCL.Acceleration = Acel
  1122. if Enabled == false then
  1123. PRTCL:Emit(Emit)
  1124. game:GetService("Debris"):AddItem(PRTCL,Lifetime2)
  1125. else
  1126. PRTCL.Enabled = true
  1127. end
  1128. return PRTCL
  1129. end
  1130. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = rl, Emit = 900, Offset = 360, Enabled = true})
  1131. --PRT.LockedToPart = true
  1132. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = ll, Emit = 900, Offset = 360, Enabled = true})
  1133. --PRT.LockedToPart = true
  1134. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = tors, Emit = 900, Offset = 360, Enabled = true})
  1135. --PRT.LockedToPart = true
  1136. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = ra, Emit = 900, Offset = 360, Enabled = true})
  1137. --PRT.LockedToPart = true
  1138. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 1.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = la, Emit = 900, Offset = 360, Enabled = true})
  1139. --PRT.LockedToPart = true
  1140. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1141. local NEWWELD = IT(TYPE)
  1142. NEWWELD.Part0 = PART0
  1143. NEWWELD.Part1 = PART1
  1144. NEWWELD.C0 = C0
  1145. NEWWELD.C1 = C1
  1146. NEWWELD.Parent = PARENT
  1147. return NEWWELD
  1148. end
  1149.  
  1150. function MakeForm(PART,TYPE)
  1151. local MSH = nil
  1152. if TYPE == "Cyl" then
  1153. MSH = IT("CylinderMesh",PART)
  1154. elseif TYPE == "Ball" then
  1155. MSH = IT("SpecialMesh",PART)
  1156. MSH.MeshType = "Sphere"
  1157. elseif TYPE == "Wedge" then
  1158. MSH = IT("SpecialMesh",PART)
  1159. MSH.MeshType = "Wedge"
  1160. elseif TYPE == "Block" then
  1161. MSH = IT("SpecialMesh",PART)
  1162. MSH.MeshType = "Brick"
  1163. end
  1164. return MSH
  1165. end
  1166.  
  1167. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1168. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1169. end
  1170.  
  1171. function Sink(position,radius)
  1172. for i,v in ipairs(workspace:GetChildren()) do
  1173. if v:FindFirstChild("Hit2By"..plr.Name) == nil then
  1174. local body = v:GetChildren()
  1175. for part = 1, #body do
  1176. if(v:FindFirstChild("Hit2By"..plr.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= char) then
  1177. if(body[part].Position - position).Magnitude < radius then
  1178. if v.ClassName == "Model" then
  1179. v:FindFirstChildOfClass("Humanoid").Name = "Humanoid"
  1180. if v:FindFirstChild("Humanoid") then
  1181. local defence = Instance.new("BoolValue",v)
  1182. defence.Name = ("Hit2By"..plr.Name)
  1183. if v.Humanoid.Health ~= 0 then
  1184. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1185. if TORS ~= nil then
  1186. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + Vector3.new(0, -1, 0))).lookVector, 25 * TORS.Size.Y/2, v)
  1187. coroutine.resume(coroutine.create(function()
  1188. if HITFLOOR2 ~= nil then
  1189. TORS.Anchored = true
  1190. local Hole2 = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(TORS.Size.X*4,0,TORS.Size.X*4))
  1191. Hole2.Color = Color3.new(0,0,0)
  1192. local MESH = MakeForm(Hole2,"Cyl")
  1193. MESH.Scale = Vector3.new(0,1,0)
  1194. Hole2.CFrame = CF(HITPOS2)
  1195. for i = 1, 10 do
  1196. swait()
  1197. MESH.Scale = MESH.Scale + Vector3.new(0.1,0,0.1)
  1198. end
  1199. --Cso("160440683", v:FindFirstChild("Head"), 10, .8)
  1200. Cso("154955269", v:FindFirstChild("Head"), 10, 1)
  1201. repeat
  1202. swait()
  1203. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1204. --MESH.Scale = MESH.Scale + Vector3.new(0,1.6,0)
  1205. until TORS.Position.Y<position.Y-4
  1206. v:remove()
  1207. for i = 1, 10 do
  1208. swait()
  1209. MESH.Scale = MESH.Scale - Vector3.new(0.1,0,0.1)
  1210. end
  1211. Hole2:remove()
  1212. end
  1213. end))
  1214. end
  1215. end
  1216. end
  1217. end
  1218. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1219. end
  1220. end
  1221. end
  1222. end
  1223. end
  1224. end
  1225. function Trail(Part)
  1226. local TRAIL = Part:Clone()
  1227. TRAIL.CanCollide = false
  1228. TRAIL.Anchored = true
  1229. TRAIL.Parent = EffectModel
  1230. TRAIL.Name = "Trail"
  1231. local TRANS = Part.Transparency
  1232. coroutine.resume(coroutine.create(function()
  1233. for i = 1, 20 do
  1234. swait()
  1235. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1236. end
  1237. TRAIL:remove()
  1238. end))
  1239. end
  1240. function getRegion(point,range,ignore)
  1241. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  1242. end
  1243.  
  1244. function GetTorso(char)
  1245. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1246. end
  1247.  
  1248. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  1249.  
  1250. NewInstance = function(instance,parent,properties)
  1251. local inst = Instance.new(instance)
  1252. inst.Parent = parent
  1253. if(properties)then
  1254. for i,v in next, properties do
  1255. pcall(function() inst[i] = v end)
  1256. end
  1257. end
  1258. return inst;
  1259. end
  1260.  
  1261. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1262. local part = Instance.new("Part")
  1263. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
  1264. part.Material = material or Enum.Material.SmoothPlastic
  1265. part.TopSurface,part.BottomSurface=10,10
  1266. part.Size = size or Vector3.new(1,1,1)
  1267. part.CFrame = cframe or CF(0,0,0)
  1268. part.Anchored = anchored or true
  1269. part.CanCollide = cancollide or false
  1270. part.Parent = parent or char
  1271. return part
  1272. end
  1273. -------------------------------------------------------
  1274. --End Important Functions--
  1275. -------------------------------------------------------
  1276.  
  1277.  
  1278. -------------------------------------------------------
  1279. --Start Customization--
  1280. -------------------------------------------------------
  1281. local Player_Size = 1
  1282. if Player_Size ~= 1 then
  1283. root.Size = root.Size * Player_Size
  1284. tors.Size = tors.Size * Player_Size
  1285. hed.Size = hed.Size * Player_Size
  1286. ra.Size = ra.Size * Player_Size
  1287. la.Size = la.Size * Player_Size
  1288. rl.Size = rl.Size * Player_Size
  1289. ll.Size = ll.Size * Player_Size
  1290. ----------------------------------------------------------------------------------
  1291. rootj.Parent = root
  1292. neck.Parent = tors
  1293. RW.Parent = tors
  1294. LW.Parent = tors
  1295. RH.Parent = tors
  1296. LH.Parent = tors
  1297. ----------------------------------------------------------------------------------
  1298. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1299. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1300. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1301. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1302. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1303. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1304. ----------------------------------------------------------------------------------
  1305. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1306. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1307. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1308. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1309. --hat.Parent = Character
  1310. end
  1311. ----------------------------------------------------------------------------------
  1312. local SONG = 660140936
  1313. local SONG2 = 0
  1314. local Music = Instance.new("Sound",tors)
  1315. Music.Volume = 2.5
  1316. Music.Looped = true
  1317. Music.Pitch = 1 --Pitcher
  1318. ----------------------------------------------------------------------------------
  1319. local equipped = false
  1320. local idle = 0
  1321. local change = 1
  1322. local val = 0
  1323. local toim = 0
  1324. local idleanim = 0.4
  1325. local sine = 0
  1326. local Sit = 1
  1327. local Mode = "Normal"
  1328. ----------------------------------------------------------------------------------
  1329. hum.WalkSpeed = 16
  1330. hum.JumpPower = 57
  1331. --hum.Animator.Parent = nil
  1332. ----------------------------------------------------------------------------------
  1333. local Hole = CreatePart(3, EffectModel, "Neon", 0, 0, "Really black", "Hole", Vector3.new(5,0,5))
  1334. local MESH = MakeForm(Hole,"Cyl")
  1335. local ROBLOXIDLEANIMATION = IT("Animation")
  1336. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1337. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1338. local ANIMATOR = hum.Animator
  1339. local ANIMATE = char.Animate
  1340. -------------------------------------------------------
  1341. --End Customization--
  1342. -------------------------------------------------------
  1343.  
  1344.  
  1345. -------------------------------------------------------
  1346. --Start Attacks N Stuff--
  1347. -------------------------------------------------------
  1348. function InkyWarp()
  1349. attack = true
  1350. attack = true
  1351. hum.WalkSpeed = 0
  1352. root.Anchored = true
  1353. for i = 0, 4, 0.1 do
  1354. swait()
  1355. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1356. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1357. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1358. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1359. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1360. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1361. end
  1362. for i = 0, 2, 0.1 do
  1363. swait()
  1364. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, -15 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1365. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1366. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1367. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1368. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1369. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1370. end
  1371. for i = 1, 50 do
  1372. swait()
  1373. Trail(Hole)
  1374. MESH.Scale = MESH.Scale - Vector3.new(0.02,0,0.02)
  1375. end
  1376. local ORIGINPOS = root.Position
  1377. root.CFrame = CF(Vector3.new(mouse.Hit.p.X,root.Position.Y,mouse.Hit.p.Z),ORIGINPOS)
  1378. Cso("154955269", tors, 10, .8)
  1379. for i = 1, 50 do
  1380. swait()
  1381. MESH.Scale = MESH.Scale + Vector3.new(0.02,0,0.02)
  1382. end
  1383. for i = 0, 4, 0.1 do
  1384. swait()
  1385. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1386. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1387. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1388. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1389. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1390. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1391. end
  1392. attack = false
  1393. hum.WalkSpeed = 16
  1394. root.Anchored = false
  1395. end
  1396.  
  1397. -------------------------------------------------------
  1398. --End Attacks N Stuff--
  1399. -------------------------------------------------------
  1400. mouse.KeyDown:connect(function(key)
  1401. if attack == false then
  1402. if key == 'z' then
  1403. InkyWarp()
  1404. elseif key == 'p' and Mode == "Normal" then
  1405. Mode = "Chase"
  1406. SONG = 1634663187
  1407. hum.WalkSpeed = 28
  1408. elseif key == 'p' and Mode == "Chase" then
  1409. Mode = "Normal"
  1410. SONG = 660140936
  1411. hum.WalkSpeed = 16
  1412. end
  1413. end
  1414. end)
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423. -------------------------------------------------------
  1424. --Start Animations--
  1425. -------------------------------------------------------
  1426. print("By Makhail07")
  1427. coroutine.resume(coroutine.create(function()
  1428. while wait() do
  1429. if hitfloor ~= nil then
  1430. Hole.CFrame = CF(posfloor)
  1431. end
  1432. Sink(Hole.Position, Hole.Size.X/2.2 * MESH.Scale.X)
  1433. Hole.Color = Color3.new(0,0,0)
  1434. Trail(Hole)
  1435. end
  1436. end))
  1437. while true do
  1438. swait()
  1439. sine = sine + change
  1440. ANIMATE.Parent = nil
  1441. local IDLEANIMATION = hum:LoadAnimation(ROBLOXIDLEANIMATION)
  1442. IDLEANIMATION:Play()
  1443. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1444. local velderp = root.Velocity.y
  1445. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4 * Player_Size, char)
  1446. if equipped == true or equipped == false then
  1447. if attack == false then
  1448. idle = idle + 1
  1449. else
  1450. idle = 0
  1451. end
  1452. if 1 < root.Velocity.y and hitfloor == nil then
  1453. Anim = "Jump"
  1454. if attack == false then
  1455. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1456. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1457. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1458. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  1459. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1460. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1461. end
  1462. elseif -1 > root.Velocity.y and hitfloor == nil then
  1463. Anim = "Fall"
  1464. if attack == false then
  1465. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(15), Rad(0), Rad(0)), 0.15)
  1466. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1467. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * RHCF * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15)
  1468. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.4 - 0.1 * Cos(sine / 20)* Player_Size, -.5* Player_Size) * LHCF * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15)
  1469. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(75 + 4.5 * Sin(sine / 20))), 0.1)
  1470. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-75 - 4.5 * Sin(sine / 20))), 0.1)
  1471. end
  1472. elseif torvel < 1 and hitfloor ~= nil then
  1473. Anim = "Idle"
  1474. change = 1
  1475. if attack == false then
  1476. if Mode == "Normal" then
  1477. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1478. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 6.5 * Cos(sine / 12)), Rad(0), Rad(20 * Cos(sine / 12))), 0.3)
  1479. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1480. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1481. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(25 + 4.5 * Sin(sine / 12))), 0.1)
  1482. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-13 - 4.5 * Sin(sine / 12))), 0.1)
  1483. elseif Mode == "Chase" then
  1484. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.15)
  1485. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Cos(sine / 12)), Rad(10), Rad(0)), 0.3)
  1486. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size + 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(84), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1487. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 * Sin(sine / 24) - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-84), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.15)
  1488. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-6 + 4.5 * Sin(sine / 12)), Rad(25 + 2.5 * Sin(sine / 12)), Rad(5)), 0.1)
  1489. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.35 + 0.15 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(7 + 4.5 * Sin(sine / 12)), Rad(0 + 2.5 * Sin(sine / 12)), Rad(-5)), 0.1)
  1490. end
  1491. end
  1492. elseif (tors.Velocity).magnitude < 200 and hitfloor ~= nil then
  1493. Anim = "Walk"
  1494. change = 1.1
  1495. if attack == false then
  1496. if Mode == "Normal" then
  1497. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
  1498. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1499. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1500. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1501. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(10) - ra.RotVelocity.Y / 75), 0.1)
  1502. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  1503. elseif Mode == "Chase" then
  1504. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.13 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(17 + 8 * Cos(sine / 7))), 0.15)
  1505. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(-17) - hed.RotVelocity.Y / 15), 0.3)
  1506. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1507. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 15 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1508. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(90) , Rad(10 * Cos(sine / 7)), Rad(28) - ra.RotVelocity.Y / 75), 0.1)
  1509. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-57) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  1510. end
  1511. end
  1512. end
  1513. end
  1514. for _, c in pairs(char:GetDescendants()) do
  1515. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1516. c.Material = "Neon"
  1517. c.Color = Color3.new(0,0,0)
  1518. if c:FindFirstChildOfClass("SpecialMesh") then
  1519. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1520. end
  1521. if c == hed then
  1522. if c:FindFirstChild("face") then
  1523. c.face:remove()
  1524. end
  1525. end
  1526. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1527. c.Color = Color3.new(1,0,0)
  1528. c.Material = "Neon"
  1529. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  1530. c:remove()
  1531. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1532. c:remove()
  1533. end
  1534. end
  1535. Music.SoundId = "rbxassetid://"..SONG
  1536. Music.Looped = true
  1537. Music.Pitch = 1
  1538. Music.Volume = 5
  1539. Music.Parent = tors
  1540. Music:Resume()
  1541. if 0 < #Effects then
  1542. for e = 1, #Effects do
  1543. if Effects[e] ~= nil then
  1544. local Thing = Effects[e]
  1545. if Thing ~= nil then
  1546. local Part = Thing[1]
  1547. local Mode = Thing[2]
  1548. local Delay = Thing[3]
  1549. local IncX = Thing[4]
  1550. local IncY = Thing[5]
  1551. local IncZ = Thing[6]
  1552. if 1 >= Thing[1].Transparency then
  1553. if Thing[2] == "Block1" then
  1554. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1555. local Mesh = Thing[1].Mesh
  1556. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1557. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1558. elseif Thing[2] == "Block2" then
  1559. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1560. local Mesh = Thing[7]
  1561. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1562. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1563. elseif Thing[2] == "Block3" then
  1564. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1565. local Mesh = Thing[7]
  1566. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1567. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1568. elseif Thing[2] == "Cylinder" then
  1569. local Mesh = Thing[1].Mesh
  1570. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1571. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1572. elseif Thing[2] == "Blood" then
  1573. local Mesh = Thing[7]
  1574. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1575. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1576. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1577. elseif Thing[2] == "Elec" then
  1578. local Mesh = Thing[1].Mesh
  1579. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1580. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1581. elseif Thing[2] == "Disappear" then
  1582. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1583. elseif Thing[2] == "Shatter" then
  1584. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1585. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1586. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1587. Thing[6] = Thing[6] + Thing[5]
  1588. end
  1589. else
  1590. Part.Parent = nil
  1591. table.remove(Effects, e)
  1592. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  1593. local Plrs = S.Players
  1594. local Plr = Plrs.LocalPlayer
  1595. local Char = Plr.Character
  1596. local Hum = Char:FindFirstChildOfClass'Humanoid'
  1597. local RArm = Char["Right Arm"]
  1598. local LArm = Char["Left Arm"]
  1599. local RLeg = Char["Right Leg"]
  1600. local LLeg = Char["Left Leg"]
  1601. local Root = Char:FindFirstChild'HumanoidRootPart'
  1602. local Torso = Char.Torso
  1603. local Head = Char.Head
  1604. local NeutralAnims = true
  1605. local Attack = false
  1606. local BloodPuddles = {}
  1607. local Effects = {}
  1608. local Debounces = {Debounces={}}
  1609. local Mouse = Plr:GetMouse()
  1610. local Hit = {}
  1611. local Sine = 0
  1612. local Change = 1
  1613. local PulseTime = 0
  1614. local DustTime = 0
  1615.  
  1616. local Rooted = false
  1617. --// Debounce System \\--
  1618.  
  1619. function Debounces:New(name,cooldown)
  1620. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  1621. setmetatable(aaaaa,{__index = Debounces})
  1622. Debounces.Debounces[name] = aaaaa
  1623. return aaaaa
  1624. end
  1625.  
  1626. function Debounces:Use(overrideUsable)
  1627. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  1628. if(self.Usable or overrideUsable)then
  1629. self.Usable = false
  1630. self.CoolingDown = true
  1631. local LastUse = time()
  1632. self.LastUse = LastUse
  1633. delay(self.Cooldown or 2,function()
  1634. if(self.LastUse == LastUse)then
  1635. self.CoolingDown = false
  1636. self.Usable = true
  1637. end
  1638. end)
  1639. end
  1640. end
  1641.  
  1642. function Debounces:Get(name)
  1643. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  1644. for i,v in next, Debounces.Debounces do
  1645. if(i == name)then
  1646. return v;
  1647. end
  1648. end
  1649. end
  1650.  
  1651. function Debounces:GetProgressPercentage()
  1652. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  1653. if(self.CoolingDown and not self.Usable)then
  1654. return math.max(
  1655. math.floor(
  1656. (
  1657. (time()-self.LastUse)/self.Cooldown or 2
  1658. )*100
  1659. )
  1660. )
  1661. else
  1662. return 100
  1663. end
  1664. end
  1665.  
  1666. --// Shortcut Variables \\--
  1667. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  1668. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  1669. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  1670. 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}
  1671. local R3 = {N=Region3.new}
  1672. local De = S.Debris
  1673. local WS = workspace
  1674. local Lght = S.Lighting
  1675. local RepS = S.ReplicatedStorage
  1676. local IN = Instance.new
  1677. --// Instance Creation Functions \\--
  1678.  
  1679. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  1680. local Sound = IN("Sound")
  1681. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  1682. Sound.Pitch = pitch or 1
  1683. Sound.Volume = volume or 1
  1684. Sound.Looped = looped or false
  1685. if(autoPlay)then
  1686. coroutine.wrap(function()
  1687. repeat wait() until Sound.IsLoaded
  1688. Sound.Playing = autoPlay or false
  1689. end)()
  1690. end
  1691. if(not looped and effect)then
  1692. Sound.Stopped:connect(function()
  1693. Sound.Volume = 0
  1694. Sound:destroy()
  1695. end)
  1696. elseif(effect)then
  1697. warn("Sound can't be looped and a sound effect!")
  1698. end
  1699. Sound.Parent =parent or Torso
  1700. return Sound
  1701. end
  1702. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1703. local part = IN("Part")
  1704. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  1705. part.Material = material or Enum.Material.SmoothPlastic
  1706. part.TopSurface,part.BottomSurface=10,10
  1707. part.Size = size or V3.N(1,1,1)
  1708. part.CFrame = cframe or CF.N(0,0,0)
  1709. part.Anchored = anchored or true
  1710. part.CanCollide = cancollide or false
  1711. part.Parent = parent or Char
  1712. return part
  1713. end
  1714. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  1715. local class = "SpecialMesh"
  1716. if(meshtype == Enum.MeshType.Brick)then class = 'BlockMesh' end
  1717.  
  1718. local part = IN(class)
  1719. if(class == "SpecialMesh")then
  1720. part.MeshId = meshid or ""
  1721. part.TextureId = textid or ""
  1722. part.MeshType = meshtype or Enum.MeshType.Sphere
  1723. end
  1724. part.Scale = scale or V3.N(1,1,1)
  1725. part.Offset = offset or V3.N(0,0,0)
  1726.  
  1727. part.Parent = parent
  1728. return part
  1729. end
  1730.  
  1731. NewInstance = function(instance,parent,properties)
  1732. local inst = Instance.new(instance,parent)
  1733. if(properties)then
  1734. for i,v in next, properties do
  1735. pcall(function() inst[i] = v end)
  1736. end
  1737. end
  1738. return inst;
  1739. end
  1740.  
  1741.  
  1742.  
  1743. --// Extended ROBLOX tables \\--
  1744. 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})
  1745. --// Customization \\--
  1746.  
  1747. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  1748. local Remove_Hats = true
  1749. local Remove_Clothing = true
  1750. local PlayerSize = 1
  1751. local DamageColor = BrickColor.new'New Yeller'
  1752. local MusicID = 835120625
  1753.  
  1754. --// Weapon and GUI creation, and Character Customization \\--
  1755.  
  1756. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  1757. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  1758. Instance.ClearChildrenOfClass(Char,"Decal",true)
  1759. local Effects = IN("Folder",Char)
  1760. Effects.Name = "Effects"
  1761.  
  1762. local Halo = IN("Model",Char)
  1763. Halo.Name = "Halo"
  1764.  
  1765. local Wings = IN("Model",Char)
  1766. Wings.Name = "Wings"
  1767.  
  1768. Hum.DisplayDistanceType = 'None'
  1769.  
  1770. local naeeym2 = IN("BillboardGui",Char)
  1771. naeeym2.AlwaysOnTop = true
  1772. naeeym2.Size = UDim2.new(5,35,2,15)
  1773. naeeym2.StudsOffset = V3.N(0,2.5,0)
  1774. naeeym2.Adornee = Char.Head
  1775. naeeym2.Name = "Name"
  1776. naeeym2.PlayerToHideFrom = Plr
  1777. local tecks2 = IN("TextLabel",naeeym2)
  1778. tecks2.BackgroundTransparency = 1
  1779. tecks2.TextScaled = true
  1780. tecks2.BorderSizePixel = 0
  1781. tecks2.Text = "The Angel"
  1782. tecks2.Font = Enum.Font.Bodoni
  1783. tecks2.TextSize = 30
  1784. tecks2.TextStrokeTransparency = 0
  1785. tecks2.TextColor3 = C3.N(0,0,0)
  1786. tecks2.TextStrokeColor3 = C3.N(1,1,0)
  1787. tecks2.Size = UDim2.new(1,0,0.5,0)
  1788. tecks2.Parent = naeeym2
  1789.  
  1790. pcall(function()
  1791. Char.LeftWing:destroy()
  1792. Char.ReaperShadowHead:destroy()
  1793. end)
  1794.  
  1795. for _,v in next, Char:children() do
  1796. if(v:IsA'BasePart' and v.Transparency < 1 and v ~= Head)then
  1797. NewInstance("SelectionBox",v,{Adornee=v,LineThickness=.01,Color3=C3.N(1,1,0)})
  1798. if(v ~= Head)then IN("BlockMesh",v) end
  1799. end
  1800. end
  1801.  
  1802. local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  1803. local WingHandle = NewInstance("Part",Wings,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  1804.  
  1805. for i = 1, 360,5 do
  1806. 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})
  1807. local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-.6)})
  1808. end
  1809.  
  1810. if(PlayerSize ~= 1)then
  1811. for _,v in next, Char:GetDescendats() do
  1812. if(v:IsA'BasePart')then
  1813. v.Size = v.Size * PlayerSize
  1814. end
  1815. end
  1816. end
  1817.  
  1818. local Music = Sound(Char,MusicID,1,3,true,false,true)
  1819. Music.Name = 'Music'
  1820.  
  1821. -- Wing Creation
  1822. local FeatherWelds = {{},{}}
  1823. local inc = 1
  1824. for aa = 1, 4 do
  1825. local lastFeather;
  1826. FeatherWelds[1][aa] = {}
  1827. for i = 1, 4+inc do
  1828. 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)})
  1829. NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  1830. if(lastFeather)then
  1831. 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))}))
  1832. else
  1833. 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))}))
  1834. end
  1835. lastFeather = feather
  1836. end
  1837. inc = inc + 1
  1838. end
  1839.  
  1840. local inc = 1
  1841. for aa = 1, 4 do
  1842. local lastFeather;
  1843. FeatherWelds[2][aa] = {}
  1844. for i = 1, 4+inc do
  1845. 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)})
  1846. NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  1847. if(lastFeather)then
  1848. 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))}))
  1849. else
  1850. 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))}))
  1851. end
  1852. lastFeather = feather
  1853. end
  1854. inc = inc + 1
  1855. end
  1856.  
  1857. --// Stop animations \\--
  1858. for _,v in next, Hum:GetPlayingAnimationTracks() do
  1859. v:Stop();
  1860. end
  1861.  
  1862. pcall(game.Destroy,Char:FindFirstChild'Animate')
  1863. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  1864.  
  1865. --// Joints \\--
  1866.  
  1867. 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)})
  1868. 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)})
  1869. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  1870. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1871. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  1872. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  1873. local HW = NewInstance('Motor',Char,{Part0=Head,Part1=HaloHandle,C0=CF.N(0,2,0)})
  1874. local WW = NewInstance('Motor',Char,{Part0=Torso,Part1=WingHandle,C0=CF.N(0,1.5,1.5)})
  1875.  
  1876. local LSC0 = LS.C0
  1877. local RSC0 = RS.C0
  1878. local NKC0 = NK.C0
  1879. local LHC0 = LH.C0
  1880. local RHC0 = RH.C0
  1881. local RJC0 = RJ.C0
  1882.  
  1883. --// Artificial HB \\--
  1884.  
  1885. local ArtificialHB = IN("BindableEvent", script)
  1886. ArtificialHB.Name = "Heartbeat"
  1887.  
  1888. script:WaitForChild("Heartbeat")
  1889.  
  1890. local tf = 0
  1891. local allowframeloss = false
  1892. local tossremainder = false
  1893. local lastframe = tick()
  1894. local frame = 1/Frame_Speed
  1895. ArtificialHB:Fire()
  1896.  
  1897. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1898. tf = tf + s
  1899. if tf >= frame then
  1900. if allowframeloss then
  1901. script.Heartbeat:Fire()
  1902. lastframe = tick()
  1903. else
  1904. for i = 1, math.floor(tf / frame) do
  1905. ArtificialHB:Fire()
  1906. end
  1907. lastframe = tick()
  1908. end
  1909. if tossremainder then
  1910. tf = 0
  1911. else
  1912. tf = tf - frame * math.floor(tf / frame)
  1913. end
  1914. end
  1915. end)
  1916.  
  1917. function swait(num)
  1918. if num == 0 or num == nil then
  1919. ArtificialHB.Event:wait()
  1920. else
  1921. for i = 0, num do
  1922. ArtificialHB.Event:wait()
  1923. end
  1924. end
  1925. end
  1926.  
  1927.  
  1928. --// Effect Function(s) \\--
  1929.  
  1930.  
  1931. function Chat(text)
  1932. --if(game.PlaceId ~= 843468296)then
  1933. coroutine.wrap(function()
  1934. if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  1935. local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  1936. 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)})
  1937. local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true)
  1938. for i = 1, #text do
  1939. delay(i/25, function()
  1940. SND.Pitch = M.RNG(9,11)/10
  1941. SND.Volume = 3
  1942. SND.Parent = Effects
  1943. SND:Play()
  1944. Txt.Text = text:sub(1,i)
  1945. end)
  1946. end
  1947. delay((#text/25)+2, function()
  1948. Txt.Text = ""
  1949. for i = 1, #text do
  1950. Txt.Text = Txt.Text.. string.char(M.RNG(0,126))
  1951. end
  1952. end)
  1953. delay((#text/25)+3, function()
  1954. BBG:destroy()
  1955. SND:destroy()
  1956. end)
  1957. end)()
  1958. --else
  1959. -- Chat2(text)
  1960. --end
  1961. end
  1962.  
  1963. function Chat2(text)
  1964. coroutine.wrap(function()
  1965. if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  1966. local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  1967. local offset = 0;
  1968. local xsize = 0;
  1969. for i = 1, #text do
  1970. offset = offset - 16
  1971. xsize = xsize + 32
  1972. delay(i/25, function()
  1973. 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)})
  1974. offset = offset + 32
  1975. while Txt and Txt.Parent do
  1976. Txt.Rotation = M.RNG(-15,15)
  1977. swait()
  1978. end
  1979. end)
  1980. end
  1981. BBG.Size = UDim2.new(0,xsize,0,40)
  1982. delay((#text/25)+3, function()
  1983. for _,v in next, BBG:children() do
  1984. pcall(function() v.Text = string.char(M.RNG(0,126)) end)
  1985. end
  1986. end)
  1987. delay((#text/25)+4, function()
  1988. BBG:destroy()
  1989. end)
  1990. end)()
  1991. end
  1992.  
  1993.  
  1994. function Transparency(trans)
  1995. for _,v in next, Char:children() do
  1996. if(v:IsA'BasePart' and v ~= Root and v ~= HaloHandle and v ~= WingHandle)then
  1997. v.Transparency = trans
  1998. local sbox = v:findFirstChild'SelectionBox'
  1999. if(sbox)then sbox.Transparency=trans end
  2000. elseif(v:IsA'Accessory' and v:FindFirstChild'Handle')then
  2001. v.Handle.Transparency=trans
  2002. end
  2003. end
  2004. for _,v in next, Wings:children() do
  2005. if(v:IsA'BasePart' and v ~= WingHandle)then
  2006. v.Transparency = trans
  2007. local sbox = v:findFirstChild'SelectionBox'
  2008. if(sbox)then sbox.Transparency=trans end
  2009. end
  2010. end
  2011. for _,v in next, Halo:children() do
  2012. if(v:IsA'BasePart' and v ~= HaloHandle)then
  2013. v.Transparency = trans
  2014. local sbox = v:findFirstChild'SelectionBox'
  2015. if(sbox)then sbox.Transparency=trans end
  2016. end
  2017. end
  2018. end
  2019.  
  2020. local FXTable = {}
  2021.  
  2022. function Bezier(startpos, pos2, pos3, endpos, t)
  2023. local A = startpos:lerp(pos2, t)
  2024. local B = pos2:lerp(pos3, t)
  2025. local C = pos3:lerp(endpos, t)
  2026. local lerp1 = A:lerp(B, t)
  2027. local lerp2 = B:lerp(C, t)
  2028. local cubic = lerp1:lerp(lerp2, t)
  2029. return cubic
  2030. end
  2031.  
  2032. function Tween(obj,props,time,easing,direction,repeats,backwards)
  2033. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  2034. local tween = S.TweenService:Create(obj, info, props)
  2035.  
  2036. tween:Play()
  2037. end
  2038.  
  2039. coroutine.resume(coroutine.create(function()
  2040. while true do
  2041. for i = 1, #FXTable do
  2042. local data = FXTable[i]
  2043. if(data)then
  2044. local Frame = data.Frame
  2045. local FX = data.Effect or 'ResizeAndFade'
  2046. local Parent = data.Parent or Effects
  2047. local Color = data.Color or C3.N(0,0,0)
  2048. local Size = data.Size or V3.N(1,1,1)
  2049. local MoveDir = data.MoveDirection or nil
  2050. local MeshData = data.Mesh or nil
  2051. local SndData = data.Sound or nil
  2052. local Frames = data.Frames or 45
  2053. local CFra = data.CFrame or Torso.CFrame
  2054. local Settings = data.FXSettings or {}
  2055. local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  2056. local grow = data.Grow
  2057.  
  2058. local MoveSpeed = nil;
  2059. if(MoveDir)then
  2060. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  2061. end
  2062. if(FX ~= 'Arc')then
  2063. Frame = Frame + 1
  2064. if(FX == "Fade")then
  2065. Prt.Transparency = (Frame/Frames)
  2066. elseif(FX == "Resize")then
  2067. if(not Settings.EndSize)then
  2068. Settings.EndSize = V3.N(0,0,0)
  2069. end
  2070. if(Settings.EndIsIncrement)then
  2071. if(Msh)then
  2072. Msh.Scale = Msh.Scale + Settings.EndSize
  2073. else
  2074. Prt.Size = Prt.Size + Settings.EndSize
  2075. end
  2076. else
  2077. if(Msh)then
  2078. Msh.Scale = Msh.Scale - grow/Frames
  2079. else
  2080. Prt.Size = Prt.Size - grow/Frames
  2081. end
  2082. end
  2083. elseif(FX == "ResizeAndFade")then
  2084. if(not Settings.EndSize)then
  2085. Settings.EndSize = V3.N(0,0,0)
  2086. end
  2087. if(Settings.EndIsIncrement)then
  2088. if(Msh)then
  2089. Msh.Scale = Msh.Scale + Settings.EndSize
  2090. else
  2091. Prt.Size = Prt.Size + Settings.EndSize
  2092. end
  2093. else
  2094. if(Msh)then
  2095. Msh.Scale = Msh.Scale - grow/Frames
  2096. else
  2097. Prt.Size = Prt.Size - grow/Frames
  2098. end
  2099. end
  2100. Prt.Transparency = (Frame/Frames)
  2101. end
  2102. if(Settings.RandomizeCFrame)then
  2103. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  2104. end
  2105. if(MoveDir and MoveSpeed)then
  2106. local Orientation = Prt.Orientation
  2107. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  2108. Prt.Orientation = Orientation
  2109. end
  2110. if(Prt.Transparency >= 1 or Frame >= Frames)then
  2111. Prt:destroy()
  2112. table.remove(FXTable,i)
  2113. else
  2114. data.Frame = Frame
  2115. end
  2116. else
  2117. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  2118. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  2119. if(start and endP)then
  2120. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  2121. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  2122. Frame = Frame + Settings.Speed or 0.01
  2123. if(Settings.Home)then
  2124. endP = Settings.Home.CFrame
  2125. end
  2126. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  2127. if(Prt.Transparency >= 1 or Frame >= Frames)then
  2128. if(Settings.RemoveOnGoal)then
  2129. Prt:destroy()
  2130. end
  2131. end
  2132. else
  2133.  
  2134. end
  2135. end
  2136. end
  2137. end
  2138. swait()
  2139. end
  2140. end))
  2141.  
  2142. function Effect(data)
  2143. local FX = data.Effect or 'ResizeAndFade'
  2144. local Parent = data.Parent or Effects
  2145. local Color = data.Color or C3.N(0,0,0)
  2146. local Size = data.Size or V3.N(1,1,1)
  2147. local MoveDir = data.MoveDirection or nil
  2148. local MeshData = data.Mesh or nil
  2149. local SndData = data.Sound or nil
  2150. local Frames = data.Frames or 45
  2151. local Manual = data.Manual or nil
  2152. local Material = data.Material or nil
  2153. local CFra = data.CFrame or Torso.CFrame
  2154. local Settings = data.FXSettings or {}
  2155. local Shape = data.Shape or Enum.PartType.Block
  2156. local Snd,Prt,Msh;
  2157. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  2158. Prt = Manual
  2159. else
  2160. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  2161. Prt.Shape = Shape
  2162. end
  2163. if(typeof(MeshData) == 'table')then
  2164. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  2165. elseif(typeof(MeshData) == 'Instance')then
  2166. Msh = MeshData:Clone()
  2167. Msh.Parent = Prt
  2168. elseif(Shape == Enum.PartType.Block)then
  2169. Msh = Mesh(Prt,Enum.MeshType.Brick)
  2170. end
  2171. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  2172. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  2173. end
  2174. if(Snd)then
  2175. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  2176. data.Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  2177. end
  2178. data.Part = Prt
  2179. data.Mesh = Msh
  2180. data.Sound = Snd
  2181. data.Frame = 0
  2182. data.Size = (Msh and Msh.Scale or Size)
  2183. Size = (Msh and Msh.Scale or Size)
  2184. data.Grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  2185. table.insert(FXTable,data)
  2186. return Prt,Msh,Snd
  2187. end
  2188.  
  2189. function Zap(data)
  2190. local sCF,eCF = data.StartCFrame,data.EndCFrame
  2191. assert(sCF,"You need a start CFrame!")
  2192. assert(eCF,"You need an end CFrame!")
  2193. local parts = data.PartCount or 15
  2194. local zapRot = data.ZapRotation or {-5,5}
  2195. local startThick = data.StartSize or 3;
  2196. local endThick = data.EndSize or startThick/2;
  2197. local color = data.Color or BrickColor.new'Electric blue'
  2198. local delay = data.Delay or 35
  2199. local delayInc = data.DelayInc or 0
  2200. local lastLightning;
  2201. local MagZ = (sCF.p - eCF.p).magnitude
  2202. local thick = startThick
  2203. local inc = (startThick/parts)-(endThick/parts)
  2204.  
  2205. for i = 1, parts do
  2206. local pos = sCF.p
  2207. if(lastLightning)then
  2208. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  2209. end
  2210. delay = delay + delayInc
  2211. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  2212. 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)))
  2213. if(parts == i)then
  2214. local MagZ = (pos-eCF.p).magnitude
  2215. zapPart.Size = V3.N(endThick,endThick,MagZ)
  2216. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  2217. 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)}}
  2218. else
  2219. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  2220. end
  2221.  
  2222. lastLightning = zapPart
  2223. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  2224.  
  2225. thick=thick-inc
  2226.  
  2227. end
  2228. end
  2229.  
  2230.  
  2231. function SoulSteal(whom)
  2232. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  2233. if(torso and torso:IsA'BasePart')then
  2234. local Model = Instance.new("Model",Effects)
  2235. Model.Name = whom.Name.."'s Soul"
  2236. whom:BreakJoints()
  2237. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  2238. Soul.Name = 'Head'
  2239. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  2240. Effect{
  2241. Effect="Arc",
  2242. Manual = Soul,
  2243. FXSettings={
  2244. Start=torso.CFrame,
  2245. Home = Torso,
  2246. RemoveOnGoal = true,
  2247. }
  2248. }
  2249. local lastPoint = Soul.CFrame.p
  2250.  
  2251. for i = 0, 1, 0.01 do
  2252. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  2253. local mag = (lastPoint - Soul.Position).magnitude
  2254. Effect{
  2255. Effect = "Fade",
  2256. CFrame = point * CF.N(0, mag/2, 0),
  2257. Size = V3.N(.5,mag+.5,.5),
  2258. Color = Soul.BrickColor
  2259. }
  2260. lastPoint = Soul.CFrame.p
  2261. swait()
  2262. end
  2263. for i = 1, 5 do
  2264. Effect{
  2265. Effect="Fade",
  2266. Color = BrickColor.new'Really red',
  2267. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  2268. }
  2269. end
  2270. end
  2271. end
  2272.  
  2273. --// Other Functions \\ --
  2274.  
  2275. function getRegion(point,range,ignore)
  2276. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  2277. end
  2278.  
  2279. function CastRay(startPos,endPos,range,ignoreList)
  2280. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  2281. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  2282. return part,pos,norm,(pos and (startPos-pos).magnitude)
  2283. end
  2284.  
  2285.  
  2286. function WingFlutter(Alpha)
  2287. Alpha = Alpha or .1
  2288. for x = 1, 4 do
  2289. if(FeatherWelds[1][x][1])then
  2290. 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)
  2291. end
  2292. for i = 2, #FeatherWelds[1][x] do
  2293. 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)
  2294. end
  2295. end
  2296. for x = 1, 4 do
  2297. if(FeatherWelds[2][x][1])then
  2298. 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)
  2299. end
  2300. for i = 2, #FeatherWelds[2][x] do
  2301. 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)
  2302. end
  2303. end
  2304. end
  2305.  
  2306. function clerp(startCF,endCF,alpha)
  2307. return startCF:lerp(endCF, alpha)
  2308. end
  2309.  
  2310. function GetTorso(char)
  2311. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  2312. end
  2313.  
  2314. function ShowDamage(Pos, Text, Time, Color)
  2315. local Rate = (1 / 30)
  2316. local Pos = (Pos or Vector3.new(0, 0, 0))
  2317. local Text = (Text or "")
  2318. local Time = (Time or 2)
  2319. local Color = (Color or Color3.new(1, 0, 1))
  2320. local EffectPart = NewInstance("Part",Effects,{
  2321. Material=Enum.Material.SmoothPlastic,
  2322. Reflectance = 0,
  2323. Transparency = 1,
  2324. BrickColor = BrickColor.new(Color),
  2325. Name = "Effect",
  2326. Size = Vector3.new(0,0,0),
  2327. Anchored = true
  2328. })
  2329. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  2330. Size = UDim2.new(1.25, 0, 1.25, 0),
  2331. Adornee = EffectPart,
  2332. })
  2333. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  2334. BackgroundTransparency = 1,
  2335. Size = UDim2.new(1, 0, 1, 0),
  2336. Text = Text,
  2337. Font = "Arial",
  2338. TextColor3 = Color,
  2339. TextStrokeColor3 = Color3.new(0,0,0),
  2340. TextStrokeTransparency=0,
  2341. TextScaled = true,
  2342. })
  2343. game.Debris:AddItem(EffectPart, (Time))
  2344. EffectPart.Parent = game:GetService("Workspace")
  2345. delay(0, function()
  2346. local Frames = (Time / Rate)
  2347. for Frame = 1, Frames do
  2348. wait(Rate)
  2349. local Percent = (Frame / Frames)
  2350. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2351. TextLabel.TextTransparency = Percent
  2352. TextLabel.TextStrokeTransparency = Percent
  2353. end
  2354. if EffectPart and EffectPart.Parent then
  2355. EffectPart:Destroy()
  2356. end
  2357. end)
  2358. end
  2359.  
  2360.  
  2361. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  2362. if(who)then
  2363. local hum = who:FindFirstChildOfClass'Humanoid'
  2364. local Damage = M.RNG(minDam,maxDam)
  2365. local canHit = true
  2366. if(hum)then
  2367. for _, p in pairs(Hit) do
  2368. if p[1] == hum then
  2369. if(time() - p[2] < 0.1) then
  2370. canHit = false
  2371. else
  2372. Hit[_] = nil
  2373. end
  2374. end
  2375. end
  2376. if(canHit)then
  2377. table.insert(Hit,{hum,time()})
  2378. if(hum.Health >= math.huge)then
  2379. who:BreakJoints()
  2380. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2381. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, C3.N(1,0,0))
  2382. end
  2383. else
  2384. local player = S.Players:GetPlayerFromCharacter(who)
  2385. if(Type == "Fire")then
  2386. --idk..
  2387. else
  2388. local c = Instance.new("ObjectValue",hum)
  2389. c.Name = "creator"
  2390. c.Value = Plr
  2391. game:service'Debris':AddItem(c,0.35)
  2392. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  2393. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2394. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  2395. end
  2396. hum.Health = hum.Health - Damage*(critMult or 2)
  2397. else
  2398. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2399. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), Damage, 1.5, DamageColor.Color)
  2400. end
  2401. hum.Health = hum.Health - Damage
  2402. end
  2403. if(Type == 'Knockback' and GetTorso(who))then
  2404. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  2405. local body = NewInstance('BodyVelocity',GetTorso(who),{
  2406. P = 500,
  2407. maxForce = V3.N(math.huge,0,math.huge),
  2408. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  2409. })
  2410. game:service'Debris':AddItem(body,.5)
  2411. elseif(Type == "Electric")then
  2412. if(M.RNG(1,100) >= critChance)then
  2413. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2414. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"New Yeller".Color)
  2415. end
  2416. local asd = hum.WalkSpeed/2
  2417. hum.WalkSpeed = asd
  2418. local paralyzed = true
  2419. coroutine.wrap(function()
  2420. while paralyzed do
  2421. swait(25)
  2422. if(M.RNG(1,25) == 1)then
  2423. if(who:FindFirstChild'Head' and hum.Health > 0)then
  2424. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"New Yeller".Color)
  2425. end
  2426. hum.PlatformStand = true
  2427. end
  2428. end
  2429. end)()
  2430. delay(4, function()
  2431. paralyzed = false
  2432. hum.WalkSpeed = hum.WalkSpeed + asd
  2433. end)
  2434. end
  2435.  
  2436. elseif(Type == 'Knockdown' and GetTorso(who))then
  2437. local rek = GetTorso(who)
  2438. hum.PlatformStand = true
  2439. delay(1,function()
  2440. hum.PlatformStand = false
  2441. end)
  2442. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  2443. local bodvol = NewInstance("BodyVelocity",rek,{
  2444. velocity = angle * Knock,
  2445. P = 5000,
  2446. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2447. })
  2448. local rl = NewInstance("BodyAngularVelocity",rek,{
  2449. P = 3000,
  2450. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2451. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2452. })
  2453. game:GetService("Debris"):AddItem(bodvol, .5)
  2454. game:GetService("Debris"):AddItem(rl, .5)
  2455. end
  2456. end
  2457. end
  2458. end
  2459. end
  2460. end
  2461. end
  2462.  
  2463. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  2464. for _,v in next, getRegion(where,range,{Char}) do
  2465. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  2466. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  2467. end
  2468. end
  2469. end
  2470. function AOEHeal(where,range,amount)
  2471. local healed = {}
  2472. for _,v in next, getRegion(where,range,{Char}) do
  2473. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  2474. if(hum and not healed[hum])then
  2475. hum.Health = hum.Health + amount
  2476. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  2477. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  2478. end
  2479. end
  2480. end
  2481. end
  2482.  
  2483.  
  2484. --// Attack Functions \\--
  2485.  
  2486. function Smite()
  2487. Zap{
  2488. StartCFrame=CF.N(Mouse.Hit.p)*CF.N(0,500,0),
  2489. EndCFrame=CF.N(Mouse.Hit.p),
  2490. ZapRotation = {-5,5},
  2491. StartSize = 5,
  2492. EndSize = 1,
  2493. Delay=5,
  2494. DelayInc=1,
  2495. }
  2496. AOEDamage(Mouse.Hit.p,3,15,35,false,"Electric",75,1)
  2497. end
  2498.  
  2499. function LightningStorm()
  2500. Attack = true
  2501. Rooted = true
  2502. NeutralAnims = false
  2503. Hum.AutoRotate = false
  2504. repeat swait()
  2505. Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  2506. local Alpha = .3
  2507. 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)
  2508. 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)
  2509. 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)
  2510. 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)
  2511. 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)
  2512. 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)
  2513. 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)
  2514. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2515. WingFlutter()
  2516. until not S.UserInputService:IsKeyDown(Enum.KeyCode.C)
  2517. local where = Mouse.Hit.p
  2518. for i = 0, 6, .1 do
  2519. swait()
  2520. local Alpha = .3
  2521. 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)
  2522. 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)
  2523. 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)
  2524. 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)
  2525. 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)
  2526. 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)
  2527. 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)
  2528. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2529. WingFlutter()
  2530. end
  2531. for i = 0, 1.4, .1 do
  2532. swait()
  2533. local Alpha = .3
  2534. 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)
  2535. 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)
  2536. 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)
  2537. 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)
  2538. 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)
  2539. 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)
  2540. 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)
  2541. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2542. WingFlutter()
  2543. end
  2544. for i = 0, .8, .1 do
  2545. swait()
  2546. local Alpha = .3
  2547. 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)
  2548. 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)
  2549. 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)
  2550. 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)
  2551. 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)
  2552. 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)
  2553. 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)
  2554. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2555. WingFlutter()
  2556. end
  2557.  
  2558. for i = 0, 6, .1 do
  2559. pcall(function() Sound(Torso,481719045,1,1,false,true,true) end)
  2560. local pos = CF.N(where)*CF.N(M.RNG(-1000,1000,100),0,M.RNG(-1000,1000,100))
  2561. local part,rayPos,norm,dist = CastRay(pos*CF.N(0,500,0).p,pos.p,1500)
  2562. Zap{
  2563. StartCFrame=pos*CF.N(0,500,0),
  2564. EndCFrame=CF.N(rayPos),
  2565. ZapRotation = {-5,5},
  2566. StartSize = 1,
  2567. EndSize = .5,
  2568. Delay=10,
  2569. DelayInc=2,
  2570. }
  2571. AOEDamage(rayPos,5,45,65,0,'Electric',25,2)
  2572. swait()
  2573. local Alpha = .3
  2574. 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)
  2575. 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)
  2576. 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)
  2577. 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)
  2578. 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)
  2579. 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)
  2580. 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)
  2581. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2582. WingFlutter()
  2583. end
  2584. Hum.AutoRotate = true
  2585. Attack = false
  2586. NeutralAnims = true
  2587. Rooted = false
  2588. end
  2589.  
  2590.  
  2591. function HolyBomb()
  2592. Attack = true
  2593. Chat2("It's time to cleanse this world!")
  2594. swait(60)
  2595. Rooted = true
  2596. NeutralAnims = false
  2597. for i = 0, 6, 0.1 do
  2598. swait()
  2599. local Alpha = .05
  2600. Zap{
  2601. StartCFrame=CF.N(Root.CFrame.p)*CF.N(0,250,0),
  2602. EndCFrame=CF.N(Root.CFrame.p),
  2603. ZapRotation = {-15,15},
  2604. Color=C3.N(1,1,0),
  2605. StartSize = 1,
  2606. EndSize = 1,
  2607. Delay=5,
  2608. DelayInc=1,
  2609. }
  2610. 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)
  2611. 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)
  2612. 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)
  2613. 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)
  2614. 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)
  2615. 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)
  2616. WingFlutter()
  2617. 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)
  2618. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),.3)
  2619. end
  2620. for i = 0, .8, 0.1 do
  2621. swait()
  2622. local Alpha = .3
  2623. 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)
  2624. 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)
  2625. 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)
  2626. 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)
  2627. 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)
  2628. 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)
  2629. end
  2630. delay(1, function()
  2631. NeutralAnims = true
  2632. Rooted = false
  2633. end)
  2634. local start = NewInstance("Part",Effects,{Anchored=true,CanCollide=false,Transparency=1,CFrame=Root.CFrame})
  2635. Sound(Char,579687077,.5,2,false,true,true)
  2636. Sound(Char,239000203,.75,2,false,true,true)
  2637. for i = 1, 140 do
  2638. AOEDamage(start.CFrame.p,95,1000,1000,0,'Normal',100,5)
  2639. Effect{
  2640. Effect='ResizeAndFade',
  2641. Mesh={MeshType=Enum.MeshType.Sphere},
  2642. Color=C3.N(1,1,0),
  2643. Material=Enum.Material.Neon,
  2644. CFrame=CF.N(start.CFrame.p)*CF.N(M.RNG(-75,75),M.RNG(-75,75),M.RNG(-75,75)),
  2645. Frames=60,
  2646. FXSettings={
  2647. EndIsIncrement=true,
  2648. EndSize=V3.N(.6,.6,.6)
  2649. }
  2650. }
  2651. swait(1)
  2652. end
  2653. Attack = false
  2654. end
  2655.  
  2656. function Lazor()
  2657. Rooted = true
  2658. Attack = true
  2659. Hum.AutoRotate=false
  2660. NeutralAnims = false
  2661. Chat2("Begone, sinner.")
  2662. --Effect{Effect='Resize',Mesh={MeshType=Enum.MeshType.FileMesh},Size=V3.N(1,1,1),CFrame=,Frames=60,FXSettings={EndSize=V3.N(4,4,4)}}
  2663. local snd = Sound(Torso,705787045,1,1,true,false,false)
  2664. for i = 0, 6, .1 do
  2665. Effect{
  2666. Effect='Fade',
  2667. Color=BrickColor.new'Bright Red',
  2668. Size=V3.N((i/2),(i/2),(i/2)),
  2669. Material=Enum.Material.Neon,
  2670. Mesh={MeshType=Enum.MeshType.Sphere},
  2671. Frames=15,
  2672. CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  2673. Sound=false
  2674. }
  2675. swait()
  2676. Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  2677. local Alpha = .1
  2678. Change = .5
  2679. 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)
  2680. 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)
  2681. 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)
  2682. 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)
  2683. 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)
  2684. 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)
  2685. 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)
  2686. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2687. WingFlutter()
  2688. end
  2689. snd:Play()
  2690. for i = 0, 24, .1 do
  2691. swait()
  2692. Effect{
  2693. Effect='Fade',
  2694. Color=BrickColor.new'New Yeller',
  2695. Size=V3.N(3,3,3),
  2696. Material=Enum.Material.Neon,
  2697. Mesh={MeshType=Enum.MeshType.Sphere},
  2698. Frames=15,
  2699. CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  2700. }
  2701. if(Mouse.Target)then
  2702. Zap{
  2703. StartCFrame=RArm.CFrame*CF.N(0,-1.5,0),
  2704. EndCFrame=Mouse.Hit,
  2705. ZapRotation = {-5,5},
  2706. PartCount=10,
  2707. StartSize = .5,
  2708. EndSize = .5,
  2709. Color = C3.N(1,1,0),
  2710. DelayInc=0,
  2711. Delay =5,
  2712. }
  2713. end
  2714. AOEDamage(Mouse.Hit.p,3,10,15,false,"Electric",25,2)
  2715. Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  2716. local Alpha = .1
  2717. Change = .5
  2718. 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)
  2719. 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)
  2720. 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)
  2721. 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)
  2722. 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)
  2723. 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)
  2724. 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)
  2725. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2726. WingFlutter()
  2727. end
  2728. coroutine.wrap(function()
  2729. for i = 1, 0,-.05 do
  2730. snd.Volume = i
  2731. swait()
  2732. end
  2733. snd:destroy()
  2734. end)()
  2735. Rooted = false
  2736. Attack = false
  2737. Hum.AutoRotate=true
  2738. NeutralAnims = true
  2739. end
  2740.  
  2741. function Teleport()
  2742. Rooted = true
  2743. Attack = true
  2744. Hum.AutoRotate=false
  2745. NeutralAnims = false
  2746. repeat swait()
  2747. Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  2748. local Alpha = .1
  2749. Change = .5
  2750. 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)
  2751. 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)
  2752. 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)
  2753. 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)
  2754. 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)
  2755. 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)
  2756. 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)
  2757. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2758. WingFlutter()
  2759. until not S.UserInputService:IsKeyDown(Enum.KeyCode.Q)
  2760. local p = Mouse.Hit.p
  2761.  
  2762. --
  2763. 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})
  2764. local decalF = NewInstance("Decal",circle,{Name='Front',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Front,Transparency = 1})
  2765. local decalB = NewInstance("Decal",circle,{Name='Back',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Back,Transparency=1})
  2766. local asd = CF.N(p,Root.Position)
  2767. local circle2=circle:Clone()
  2768. circle2.Parent = Effects
  2769. circle2.CFrame = asd*CF.N(0,4,0)
  2770. Root.Anchored = true
  2771. for i = 0, 3, .1 do
  2772. swait()
  2773. local Alpha = .1
  2774. Change = .5
  2775. 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)
  2776. 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)
  2777. 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)
  2778. 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)
  2779. 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)
  2780. 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)
  2781. 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)
  2782. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2783. WingFlutter()
  2784. circle.Size = circle.Size + V3.N(.2,.2,0)
  2785. circle2.Size = circle2.Size + V3.N(.2,.2,0)
  2786. circle.Front.Transparency=1-(i/3)
  2787. circle.Back.Transparency=1-(i/3)
  2788. circle2.Front.Transparency=1-(i/3)
  2789. circle2.Back.Transparency=1-(i/3)
  2790.  
  2791. circle.CFrame=circle.CFrame*CF.A(0,0,M.R(5))
  2792. circle2.CFrame=circle2.CFrame*CF.A(0,0,M.R(5))
  2793. end
  2794. Root.Anchored = true
  2795. for i = 1, 3,.1 do
  2796. Root.Anchored = true
  2797. swait()
  2798. local Alpha = .1
  2799. Change = .5
  2800. 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)
  2801. 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)
  2802. 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)
  2803. 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)
  2804. 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)
  2805. 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)
  2806. 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)
  2807. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2808. WingFlutter()
  2809. end
  2810. for i = 0, 2, .1 do
  2811. swait()
  2812. local Alpha = .1
  2813. Change = .5
  2814. 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)
  2815. 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)
  2816. 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)
  2817. 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)
  2818. 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)
  2819. 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)
  2820. 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)
  2821. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2822. WingFlutter()
  2823. Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  2824. Transparency(i/2)
  2825. end
  2826. Zap{
  2827. StartCFrame=Root.CFrame,
  2828. EndCFrame=asd*CF.N(0,4,0),
  2829. ZapRotation = {-5,5},
  2830. PartCount=10,
  2831. StartSize = 4,
  2832. EndSize = .5,
  2833. Color = C3.N(1,1,0),
  2834. DelayInc=5,
  2835. Delay = 15,
  2836. }
  2837. Root.CFrame = asd*CF.N(0,4,0)
  2838. Root.Anchored = true
  2839.  
  2840. for i = 0, 2, .1 do
  2841. Root.Anchored = true
  2842. swait()
  2843. local Alpha = .1
  2844. Change = .5
  2845. 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)
  2846. 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)
  2847. 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)
  2848. 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)
  2849. 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)
  2850. 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)
  2851. 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)
  2852. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  2853. WingFlutter()
  2854. Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  2855. Transparency(1-(i/2))
  2856. end
  2857.  
  2858.  
  2859. Transparency(0)
  2860. coroutine.wrap(function()
  2861. for i = 0, 3, .1 do
  2862. swait()
  2863. local Alpha = .1
  2864. Change = .5
  2865. circle.Size = circle.Size - V3.N(.2,.2,0)
  2866. circle2.Size = circle2.Size - V3.N(.2,.2,0)
  2867. circle.Front.Transparency=(i/3)
  2868. circle.Back.Transparency=(i/3)
  2869. circle2.Front.Transparency=(i/3)
  2870. circle2.Back.Transparency=(i/3)
  2871.  
  2872. circle.CFrame=circle.CFrame*CF.A(0,0,-M.R(5))
  2873. circle2.CFrame=circle2.CFrame*CF.A(0,0,-M.R(5))
  2874. end
  2875. end)()
  2876. Hum.AutoRotate = true
  2877. Root.Anchored = false
  2878. Rooted = false
  2879. Attack = false
  2880. NeutralAnims = true
  2881. end
  2882.  
  2883. Mouse.KeyDown:connect(function(k)
  2884. if(Attack)then return end
  2885. if(k == 'q')then Teleport() end
  2886. if(k == 'z')then Lazor() end
  2887. if(k == 'x')then Smite() end
  2888. if(k == 'v')then HolyBomb() end
  2889. if(k == 'c')then LightningStorm() end
  2890. end)
  2891.  
  2892.  
  2893. --// Wrap it all up \\--
  2894. while true do
  2895. swait()
  2896. Sine = Sine + Change
  2897.  
  2898. if(not Music or not Music.Parent)then
  2899. local a = Music.TimePosition
  2900. Music = Sound(Char,MusicID,1,3,true,false,true)
  2901. Music.Name = 'Music'
  2902. Music.TimePosition = a
  2903. end
  2904. Music.Playing = true
  2905. Torso.Color = C3.N(0,0,0)
  2906. RArm.Color = C3.N(0,0,0)
  2907. LArm.Color = C3.N(0,0,0)
  2908. RLeg.Color = C3.N(0,0,0)
  2909. LLeg.Color = C3.N(0,0,0)
  2910. Head.Color = C3.N(0,0,0)
  2911. Music.Volume = 5
  2912. Music.Pitch = 1
  2913. Music.Playing = true
  2914. Hum.HipHeight = 2
  2915. Sine = Sine + Change
  2916. 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)
  2917. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  2918. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or Walking and "Walk" or "Idle")
  2919. if(time()-PulseTime > .05)then
  2920. PulseTime = time()
  2921. if(hitfloor)then
  2922. local angles = CF.A(M.RRNG(-15,15),M.RRNG(-45,45),M.RRNG(-45,45))
  2923. Effect{
  2924. Effect='ResizeAndFade',
  2925. Color=hitfloor.Color,
  2926. Material=hitfloor.Material,
  2927. Frames=60,
  2928. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId="rbxassetid://662586858",Scale=V3.N(.01,.01,.01)},
  2929. CFrame=CF.N(posfloor)*angles,
  2930. MoveDirection=CF.N(posfloor)*angles*CF.N(0,6,0).p,
  2931. FXSettings = {
  2932. EndSize=V3.N(.0005,.0005,.0005),
  2933. EndIsIncrement=true
  2934. }
  2935. }
  2936. end
  2937. 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))
  2938. local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  2939.  
  2940. if(hitfloor2)then
  2941. pos = CF.N(posfloor2)
  2942. Effect{
  2943. Effect='ResizeAndFade',
  2944. Color=BrickColor.new'New Yeller',
  2945. Size=V3.N(2,2,2),
  2946. Material=Enum.Material.Neon,
  2947. Mesh={MeshType=Enum.MeshType.Sphere},
  2948. Frames=45,
  2949. CFrame=pos,
  2950. FXSettings = {
  2951. EndSize = V3.N(-.01,.25,-.01),
  2952. EndIsIncrement = true
  2953. }
  2954. }
  2955. else
  2956. Effect{
  2957. Effect='ResizeAndFade',
  2958. Color=BrickColor.new'New Yeller',
  2959. Size=V3.N(2,2,2),
  2960. Material=Enum.Material.Neon,
  2961. Mesh={MeshType=Enum.MeshType.Sphere},
  2962. Frames=45,
  2963. CFrame=pos,
  2964. FXSettings = {
  2965. EndSize = V3.N(-.01,.25,-.01),
  2966. EndIsIncrement = true
  2967. }
  2968. }
  2969. end
  2970. end
  2971. Hum.Name = math.random()*100000
  2972. Hum.MaxHealth = 1e100
  2973. Hum.Health = 1e100
  2974. if(M.RNG(1,50) == 1)then
  2975. 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))
  2976. local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  2977.  
  2978. if(hitfloor2)then
  2979. pos = CF.N(posfloor2)
  2980. end
  2981. Zap{
  2982. StartCFrame=Torso.CFrame,
  2983. EndCFrame=pos,
  2984. ZapRotation = {-2,2},
  2985. PartCount=5,
  2986. StartSize = .5,
  2987. EndSize = 0,
  2988. Color = C3.N(1,1,0),
  2989. DelayInc=5,
  2990. Delay = 15,
  2991. Sound=false
  2992. }
  2993. end
  2994. if(Rooted == false)then
  2995. Hum.WalkSpeed = 32
  2996. Hum.JumpPower = 75
  2997. else
  2998. Hum.WalkSpeed = 0
  2999. Hum.JumpPower = 0
  3000. end
  3001. if(not Effects or not Effects.Parent)then
  3002. Effects = IN("Model",Char)
  3003. Effects.Name = "Effects"
  3004. end
  3005. if(NeutralAnims)then
  3006. if(State == 'Idle')then
  3007. local Alpha = .1
  3008. Change = .5
  3009. 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)
  3010. 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)
  3011. 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)
  3012. 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)
  3013. 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)
  3014. 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)
  3015. 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)
  3016. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  3017. WingFlutter()
  3018.  
  3019. elseif(State == 'Walk')then
  3020. local Alpha = .1
  3021. Change = .5
  3022. 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)
  3023. 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)
  3024. 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)
  3025. 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)
  3026. 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)
  3027. 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)
  3028. 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)
  3029. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  3030. WingFlutter()
  3031. elseif(State == 'Paralyzed')then
  3032. -- paralyzed
  3033. elseif(State == 'Sit')then
  3034. -- sit
  3035. end
  3036. end
  3037. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement