Advertisement
MrSlakyx

abyss

Jul 9th, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 71.52 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| ONLY 90s KIDS REMEMBER
  3. --|| ABYSS EYE BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. wait(0.2)
  7.  
  8. Player = game:GetService("Players").LocalPlayer
  9. PlayerGui = Player.PlayerGui
  10. Cam = workspace.CurrentCamera
  11. Backpack = Player.Backpack
  12. Character = Player.Character
  13. Humanoid = Character.Humanoid
  14. Mouse = Player:GetMouse()
  15. RootPart = Character["HumanoidRootPart"]
  16. Torso = Character["Torso"]
  17. Head = Character["Head"]
  18. RightArm = Character["Right Arm"]
  19. LeftArm = Character["Left Arm"]
  20. RightLeg = Character["Right Leg"]
  21. LeftLeg = Character["Left Leg"]
  22. RootJoint = RootPart["RootJoint"]
  23. Neck = Torso["Neck"]
  24. RightShoulder = Torso["Right Shoulder"]
  25. LeftShoulder = Torso["Left Shoulder"]
  26. RightHip = Torso["Right Hip"]
  27. LeftHip = Torso["Left Hip"]
  28.  
  29. IT = Instance.new
  30. CF = CFrame.new
  31. VT = Vector3.new
  32. RAD = math.rad
  33. C3 = Color3.new
  34. UD2 = UDim2.new
  35. BRICKC = BrickColor.new
  36. ANGLES = CFrame.Angles
  37. EULER = CFrame.fromEulerAnglesXYZ
  38. COS = math.cos
  39. ACOS = math.acos
  40. SIN = math.sin
  41. ASIN = math.asin
  42. ABS = math.abs
  43. MRANDOM = math.random
  44. FLOOR = math.floor
  45.  
  46. --//=================================\\
  47. --|| USEFUL VALUES
  48. --\\=================================//
  49.  
  50. Animation_Speed = 3
  51. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  52. local Speed = 25
  53. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  56. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  57. local DAMAGEMULTIPLIER = 1
  58. local ANIM = "Idle"
  59. local ATTACK = false
  60. local EQUIPPED = false
  61. local HOLD = false
  62. local COMBO = 1
  63. local Rooted = false
  64. local SINE = 0
  65. local KEYHOLD = false
  66. local CHANGE = 2 / Animation_Speed
  67. local WALKINGANIM = false
  68. local VALUE1 = false
  69. local VALUE2 = false
  70. local ROBLOXIDLEANIMATION = IT("Animation")
  71. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  72. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  73. --ROBLOXIDLEANIMATION.Parent = Humanoid
  74. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  75. WEAPONGUI.Name = "Weapon GUI"
  76. local Effects = IT("Folder", Character)
  77. Effects.Name = "Effects"
  78. local ANIMATOR = Humanoid.Animator
  79. local ANIMATE = Character.Animate
  80. local UNANCHOR = true
  81. local FADERS = true
  82.  
  83. --//=================================\\
  84. --\\=================================//
  85.  
  86.  
  87. --//=================================\\
  88. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  89. --\\=================================//
  90.  
  91. ArtificialHB = Instance.new("BindableEvent", script)
  92. ArtificialHB.Name = "ArtificialHB"
  93.  
  94. script:WaitForChild("ArtificialHB")
  95.  
  96. frame = Frame_Speed
  97. tf = 0
  98. allowframeloss = false
  99. tossremainder = false
  100. lastframe = tick()
  101. script.ArtificialHB:Fire()
  102.  
  103. game:GetService("RunService").Heartbeat:connect(function(s, p)
  104. tf = tf + s
  105. if tf >= frame then
  106. if allowframeloss then
  107. ArtificialHB:Fire()
  108. lastframe = tick()
  109. else
  110. for i = 1, math.floor(tf / frame) do
  111. ArtificialHB:Fire()
  112. end
  113. lastframe = tick()
  114. end
  115. if tossremainder then
  116. tf = 0
  117. else
  118. tf = tf - frame * math.floor(tf / frame)
  119. end
  120. end
  121. end)
  122.  
  123. --//=================================\\
  124. --\\=================================//
  125.  
  126. --//=================================\\
  127. --|| SOME FUNCTIONS
  128. --\\=================================//
  129.  
  130. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  131. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  132. end
  133.  
  134. function PositiveAngle(NUMBER)
  135. if NUMBER >= 0 then
  136. NUMBER = 0
  137. end
  138. return NUMBER
  139. end
  140.  
  141. function NegativeAngle(NUMBER)
  142. if NUMBER <= 0 then
  143. NUMBER = 0
  144. end
  145. return NUMBER
  146. end
  147.  
  148. function Swait(NUMBER)
  149. if NUMBER == 0 or NUMBER == nil then
  150. ArtificialHB.Event:wait()
  151. else
  152. for i = 1, NUMBER do
  153. ArtificialHB.Event:wait()
  154. end
  155. end
  156. end
  157.  
  158. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  159. local NEWMESH = IT(MESH)
  160. if MESH == "SpecialMesh" then
  161. NEWMESH.MeshType = MESHTYPE
  162. if MESHID ~= "nil" and MESHID ~= "" then
  163. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  164. end
  165. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  166. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  167. end
  168. end
  169. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  170. NEWMESH.Scale = SCALE
  171. NEWMESH.Parent = PARENT
  172. return NEWMESH
  173. end
  174.  
  175. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  176. local NEWPART = IT("Part")
  177. NEWPART.formFactor = FORMFACTOR
  178. NEWPART.Reflectance = REFLECTANCE
  179. NEWPART.Transparency = TRANSPARENCY
  180. NEWPART.CanCollide = false
  181. NEWPART.Locked = true
  182. NEWPART.Anchored = true
  183. if ANCHOR == false then
  184. NEWPART.Anchored = false
  185. end
  186. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  187. NEWPART.Name = NAME
  188. NEWPART.Size = SIZE
  189. NEWPART.Position = Torso.Position
  190. NEWPART.Material = MATERIAL
  191. NEWPART:BreakJoints()
  192. NEWPART.Parent = PARENT
  193. return NEWPART
  194. end
  195.  
  196. local function weldBetween(a, b)
  197. local weldd = Instance.new("ManualWeld")
  198. weldd.Part0 = a
  199. weldd.Part1 = b
  200. weldd.C0 = CFrame.new()
  201. weldd.C1 = b.CFrame:inverse() * a.CFrame
  202. weldd.Parent = a
  203. return weldd
  204. end
  205.  
  206.  
  207. function QuaternionFromCFrame(cf)
  208. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  209. local trace = m00 + m11 + m22
  210. if trace > 0 then
  211. local s = math.sqrt(1 + trace)
  212. local recip = 0.5 / s
  213. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  214. else
  215. local i = 0
  216. if m11 > m00 then
  217. i = 1
  218. end
  219. if m22 > (i == 0 and m00 or m11) then
  220. i = 2
  221. end
  222. if i == 0 then
  223. local s = math.sqrt(m00 - m11 - m22 + 1)
  224. local recip = 0.5 / s
  225. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  226. elseif i == 1 then
  227. local s = math.sqrt(m11 - m22 - m00 + 1)
  228. local recip = 0.5 / s
  229. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  230. elseif i == 2 then
  231. local s = math.sqrt(m22 - m00 - m11 + 1)
  232. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  233. end
  234. end
  235. end
  236.  
  237. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  238. local xs, ys, zs = x + x, y + y, z + z
  239. local wx, wy, wz = w * xs, w * ys, w * zs
  240. local xx = x * xs
  241. local xy = x * ys
  242. local xz = x * zs
  243. local yy = y * ys
  244. local yz = y * zs
  245. local zz = z * zs
  246. 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))
  247. end
  248.  
  249. function QuaternionSlerp(a, b, t)
  250. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  251. local startInterp, finishInterp;
  252. if cosTheta >= 0.0001 then
  253. if (1 - cosTheta) > 0.0001 then
  254. local theta = ACOS(cosTheta)
  255. local invSinTheta = 1 / SIN(theta)
  256. startInterp = SIN((1 - t) * theta) * invSinTheta
  257. finishInterp = SIN(t * theta) * invSinTheta
  258. else
  259. startInterp = 1 - t
  260. finishInterp = t
  261. end
  262. else
  263. if (1 + cosTheta) > 0.0001 then
  264. local theta = ACOS(-cosTheta)
  265. local invSinTheta = 1 / SIN(theta)
  266. startInterp = SIN((t - 1) * theta) * invSinTheta
  267. finishInterp = SIN(t * theta) * invSinTheta
  268. else
  269. startInterp = t - 1
  270. finishInterp = t
  271. end
  272. end
  273. 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
  274. end
  275.  
  276. function Clerp(a, b, t)
  277. local qa = {QuaternionFromCFrame(a)}
  278. local qb = {QuaternionFromCFrame(b)}
  279. local ax, ay, az = a.x, a.y, a.z
  280. local bx, by, bz = b.x, b.y, b.z
  281. local _t = 1 - t
  282. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  283. end
  284.  
  285. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  286. local frame = IT("Frame")
  287. frame.BackgroundTransparency = TRANSPARENCY
  288. frame.BorderSizePixel = BORDERSIZEPIXEL
  289. frame.Position = POSITION
  290. frame.Size = SIZE
  291. frame.BackgroundColor3 = COLOR
  292. frame.BorderColor3 = BORDERCOLOR
  293. frame.Name = NAME
  294. frame.Parent = PARENT
  295. return frame
  296. end
  297.  
  298. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  299. local label = IT("TextLabel")
  300. label.BackgroundTransparency = 1
  301. label.Size = UD2(1, 0, 1, 0)
  302. label.Position = UD2(0, 0, 0, 0)
  303. label.TextColor3 = TEXTCOLOR
  304. label.TextStrokeTransparency = STROKETRANSPARENCY
  305. label.TextTransparency = TRANSPARENCY
  306. label.FontSize = TEXTFONTSIZE
  307. label.Font = TEXTFONT
  308. label.BorderSizePixel = BORDERSIZEPIXEL
  309. label.TextScaled = false
  310. label.Text = TEXT
  311. label.Name = NAME
  312. label.Parent = PARENT
  313. return label
  314. end
  315.  
  316. function NoOutlines(PART)
  317. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  318. end
  319.  
  320. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  321. local NEWWELD = IT(TYPE)
  322. NEWWELD.Part0 = PART0
  323. NEWWELD.Part1 = PART1
  324. NEWWELD.C0 = C0
  325. NEWWELD.C1 = C1
  326. NEWWELD.Parent = PARENT
  327. return NEWWELD
  328. end
  329.  
  330. local S = IT("Sound")
  331. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  332. local NEWSOUND = nil
  333. coroutine.resume(coroutine.create(function()
  334. NEWSOUND = S:Clone()
  335. NEWSOUND.Parent = PARENT
  336. NEWSOUND.Volume = VOLUME
  337. NEWSOUND.Pitch = PITCH
  338. NEWSOUND.SoundId = "rbxassetid://"..ID
  339. NEWSOUND:play()
  340. if DOESLOOP == true then
  341. NEWSOUND.Looped = true
  342. else
  343. repeat wait(1) until NEWSOUND.Playing == false
  344. NEWSOUND:remove()
  345. end
  346. end))
  347. return NEWSOUND
  348. end
  349.  
  350. function CFrameFromTopBack(at, top, back)
  351. local right = top:Cross(back)
  352. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  353. end
  354.  
  355. function R_RANDOM(CFRAME,DIST)
  356. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  357. end
  358.  
  359. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  360. function WACKYEFFECT(Table)
  361. local TYPE = (Table.EffectType or "Sphere")
  362. local SIZE = (Table.Size or VT(1,1,1))
  363. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  364. local TRANSPARENCY = (Table.Transparency or 0)
  365. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  366. local CFRAME = (Table.CFrame or Torso.CFrame)
  367. local MOVEDIRECTION = (Table.MoveToPos or nil)
  368. local ROTATION1 = (Table.RotationX or 0)
  369. local ROTATION2 = (Table.RotationY or 0)
  370. local ROTATION3 = (Table.RotationZ or 0)
  371. local MATERIAL = (Table.Material or "Neon")
  372. local COLOR = (Table.Color or C3(1,1,1))
  373. local TIME = (Table.Time or 45)
  374. local SOUNDID = (Table.SoundID or nil)
  375. local SOUNDPITCH = (Table.SoundPitch or nil)
  376. local SOUNDVOLUME = (Table.SoundVolume or nil)
  377. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  378. local BOOMERANG = (Table.Boomerang or 0)
  379. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  380. coroutine.resume(coroutine.create(function()
  381. local PLAYSSOUND = false
  382. local SOUND = nil
  383. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  384. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  385. PLAYSSOUND = true
  386. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  387. end
  388. EFFECT.Color = COLOR
  389. local MSH = nil
  390. if TYPE == "Sphere" then
  391. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  392. elseif TYPE == "Block" or TYPE == "Box" then
  393. MSH = IT("BlockMesh",EFFECT)
  394. MSH.Scale = SIZE
  395. elseif TYPE == "Wave" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  397. elseif TYPE == "Ring" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  399. elseif TYPE == "Slash" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  401. elseif TYPE == "Round Slash" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  403. elseif TYPE == "Swirl" then
  404. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  405. elseif TYPE == "Skull" then
  406. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  407. elseif TYPE == "Crystal" then
  408. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  409. end
  410. if MSH ~= nil then
  411. local BOOMR1 = 1+BOOMERANG/50
  412. local BOOMR2 = 1+SIZEBOOMERANG/50
  413. local MOVESPEED = nil
  414. if MOVEDIRECTION ~= nil then
  415. if USEBOOMERANGMATH == true then
  416. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  417. else
  418. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  419. end
  420. end
  421. local GROWTH = nil
  422. if USEBOOMERANGMATH == true then
  423. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  424. else
  425. GROWTH = (SIZE - ENDSIZE)
  426. end
  427. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  428. if TYPE == "Block" then
  429. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  430. else
  431. EFFECT.CFrame = CFRAME
  432. end
  433. if USEBOOMERANGMATH == true then
  434. for LOOP = 1, TIME+1 do
  435. Swait()
  436. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  437. if TYPE == "Wave" then
  438. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  439. end
  440. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  441. if TYPE == "Block" then
  442. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  443. else
  444. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  445. end
  446. if MOVEDIRECTION ~= nil then
  447. local ORI = EFFECT.Orientation
  448. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  449. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  450. end
  451. end
  452. else
  453. for LOOP = 1, TIME+1 do
  454. Swait()
  455. MSH.Scale = MSH.Scale - GROWTH/TIME
  456. if TYPE == "Wave" then
  457. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  458. end
  459. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  460. if TYPE == "Block" then
  461. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  462. else
  463. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  464. end
  465. if MOVEDIRECTION ~= nil then
  466. local ORI = EFFECT.Orientation
  467. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  468. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  469. end
  470. end
  471. end
  472. EFFECT.Transparency = 1
  473. if PLAYSSOUND == false then
  474. EFFECT:remove()
  475. else
  476. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  477. EFFECT:remove()
  478. end
  479. else
  480. if PLAYSSOUND == false then
  481. EFFECT:remove()
  482. else
  483. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  484. EFFECT:remove()
  485. end
  486. end
  487. end))
  488. end
  489.  
  490. function MakeForm(PART,TYPE)
  491. if TYPE == "Cyl" then
  492. local MSH = IT("CylinderMesh",PART)
  493. elseif TYPE == "Ball" then
  494. local MSH = IT("SpecialMesh",PART)
  495. MSH.MeshType = "Sphere"
  496. elseif TYPE == "Wedge" then
  497. local MSH = IT("SpecialMesh",PART)
  498. MSH.MeshType = "Wedge"
  499. end
  500. end
  501.  
  502. Debris = game:GetService("Debris")
  503.  
  504. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  505. local DIRECTION = CF(StartPos,EndPos).lookVector
  506. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  507. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  508. end
  509.  
  510. local DECAL = IT("Decal")
  511. function MagicRing()
  512. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
  513. local MESH = IT("BlockMesh",RING)
  514. local BOTTOMTEXTURE = DECAL:Clone()
  515. BOTTOMTEXTURE.Parent = RING
  516. BOTTOMTEXTURE.Face = "Bottom"
  517. BOTTOMTEXTURE.Name = "BottomTexture"
  518. local TOPTEXTURE = DECAL:Clone()
  519. TOPTEXTURE.Parent = RING
  520. TOPTEXTURE.Face = "Top"
  521. TOPTEXTURE.Name = "TopTexture"
  522. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  523. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  524. BOTTOMTEXTURE.Color3 = C3(0,0,0)
  525. TOPTEXTURE.Color3 = C3(0,0,0)
  526. return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
  527. end
  528.  
  529. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  530. coroutine.resume(coroutine.create(function()
  531. local FADE = IT("Model",Effects)
  532. if PARENT ~= nil then
  533. FADE.Parent = PARENT
  534. end
  535. FADE.Name = "FadingEffect"
  536. for _, c in pairs(Character:GetChildren()) do
  537. if c.ClassName == "Part" then
  538. c.CanCollide = false
  539. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
  540. FADER.CFrame = c.CFrame
  541. FADER.Color = COLOR
  542. if FADER.Name == "Head" then
  543. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  544. elseif FADER.Name == "HumanoidRootPart" then
  545. FADE.PrimaryPart = FADER
  546. FADER.Transparency = 1
  547. end
  548. end
  549. end
  550. local TRANS = 0.25/TIMER
  551. local DIST = nil
  552. if MOVEDIRECTION ~= nil then
  553. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  554. end
  555. for i = 1, TIMER do
  556. Swait()
  557. for _, c in pairs(FADE:GetChildren()) do
  558. if c.ClassName == "Part" then
  559. c.Transparency = c.Transparency + TRANS
  560. end
  561. end
  562. if MOVEDIRECTION ~= nil then
  563. local ORI = FADE.PrimaryPart.Orientation
  564. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  565. end
  566. end
  567. FADE:remove()
  568. end))
  569. end
  570.  
  571. --//=================================\\
  572. --|| GUIS AND MISC
  573. --\\=================================//
  574.  
  575. local EYE = CreatePart(3, Character, "Neon", 0, 0, BRICKC("Really red"), "TheEye", VT(0.16,0.16,0.16), true)
  576. MakeForm(EYE,"Ball")
  577. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(-0.15, 0.2, -0.57) * ANGLES(RAD(0), RAD(15), RAD(0)) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  578. local BLADE = CreatePart(3, Effects, "Fabric", 0, 0, BRICKC("Really red"), "Abyssal_Sword", VT(1, 7.6, 1), true)
  579. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93117521", "1015990846", VT(1,1,1), VT(0,0,0))
  580. BLADE.CFrame = RootPart.CFrame * CF(0.4,1,4) * ANGLES(RAD(195), RAD(15), RAD(15))
  581.  
  582. local SKILLTEXTCOLOR = C3(0,0,0)
  583. local SKILLFONT = "Fantasy"
  584. local SKILLTEXTSIZE = 4
  585. local SKILLTEXTSIZE2 = 12
  586.  
  587. local ATTACKS = {"Abyssal Shriek - Z","Abyssal Dash - X","Shadow Cloak - C","Black Blast - V","Nightmare Fall - Q"}
  588.  
  589. for i = 1, #ATTACKS do
  590. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  591. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Skill text")
  592. SKILLTEXT.TextXAlignment = "Right"
  593. SKILLTEXT.Rotation = i*3
  594. end
  595.  
  596. local BMUSIC = IT("Sound",RootPart)
  597. local VOLUME = 5
  598. local PITCH = 1
  599. local SONGID = 1074563286
  600. local A = IT("Attachment",Torso)
  601.  
  602. coroutine.resume(coroutine.create(function()
  603. while wait(1) do
  604. if FADERS == true then
  605. coroutine.resume(coroutine.create(function()
  606. local R,M,T,B = MagicRing()
  607. R.Anchored = false
  608. CreateWeldOrSnapOrMotor("Weld", EYE, EYE, R, CF(0,0,0), CF(0, 0, 0))
  609. local R2,M2,T2,B2 = MagicRing()
  610. R2.Anchored = false
  611. CreateWeldOrSnapOrMotor("Weld", EYE, EYE, R2, CF(0,0,0), CF(0, 0, 0))
  612. for i = 1, 35 do
  613. Swait()
  614. M.Scale = M.Scale + VT(1,0,1)*1.2
  615. T.Transparency = i/35
  616. B.Transparency = i/35
  617. M2.Scale = M2.Scale + VT(1,0,1)*0.6
  618. T2.Transparency = i/35
  619. B2.Transparency = i/35
  620. end
  621. R:Remove()
  622. R2:Remove()
  623. end))
  624. end
  625. end
  626. end))
  627.  
  628. --//=================================\\
  629. --|| DAMAGING
  630. --\\=================================//
  631.  
  632. function ApplyDamage(Humanoid,Damage)
  633. Damage = Damage * DAMAGEMULTIPLIER
  634. if Humanoid.Health < 2000 then
  635. if Humanoid.Health - Damage > 0 then
  636. Humanoid.Health = Humanoid.Health - Damage
  637. else
  638. Humanoid.Parent:BreakJoints()
  639. end
  640. else
  641. Humanoid.Parent:BreakJoints()
  642. end
  643. end
  644.  
  645. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  646. for index, CHILD in pairs(workspace:GetDescendants()) do
  647. if CHILD.ClassName == "Model" and CHILD ~= Character then
  648. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  649. if HUM then
  650. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  651. if TORSO then
  652. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  653. if INSTAKILL == true then
  654. CHILD:BreakJoints()
  655. else
  656. local DMG = MRANDOM(MINDMG,MAXDMG)
  657. ApplyDamage(HUM,DMG)
  658. end
  659. if FLING > 0 then
  660. for _, c in pairs(CHILD:GetChildren()) do
  661. if c:IsA("BasePart") then
  662. local bv = Instance.new("BodyVelocity")
  663. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  664. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  665. bv.Parent = c
  666. Debris:AddItem(bv,0.05)
  667. end
  668. end
  669. end
  670. end
  671. end
  672. end
  673. end
  674. end
  675. end
  676.  
  677. --//=================================\\
  678. --|| ATTACK FUNCTIONS AND STUFF
  679. --\\=================================//
  680.  
  681. function Melee()
  682. ATTACK = true
  683. BLADE.CanCollide = true
  684. Rooted = false
  685. EQUIPPED = true
  686. local HIT = function()
  687. local HITS = {}
  688. local TOUCH = BLADE.Touched:Connect(function(hit)
  689. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  690. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  691. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  692. if TORSO and HUM.Health > 0 then
  693. local PASS = true
  694. for i = 1, #HITS do
  695. if HITS[i] == hit.Parent then
  696. PASS = false
  697. end
  698. end
  699. table.insert(HITS,hit.Parent)
  700. if PASS == true then
  701. ApplyDamage(HUM,MRANDOM(15,25))
  702. end
  703. end
  704. end
  705. end)
  706. return TOUCH
  707. end
  708. if COMBO == 1 then
  709. for i=0, 0.35, 0.1 / Animation_Speed do
  710. Swait()
  711. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  712. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  713. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  714. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  715. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  716. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  717. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  718. end
  719. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  720. local TOUCHED = HIT()
  721. for i=0, 0.5, 0.1 / Animation_Speed do
  722. Swait()
  723. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.9 / Animation_Speed)
  725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.8, 0.5, -0.7) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(15), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  727. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  729. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  730. end
  731. TOUCHED:Disconnect()
  732. COMBO = 2
  733. elseif COMBO == 2 then
  734. for i=0, 0.35, 0.1 / Animation_Speed do
  735. Swait()
  736. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  737. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  738. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(160), RAD(0), RAD(-5)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  739. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  740. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  741. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  742. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  743. end
  744. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  745. local TOUCHED = HIT()
  746. for i=0, 0.35, 0.1 / Animation_Speed do
  747. Swait()
  748. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  749. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  750. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  751. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  752. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  753. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  754. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  755. end
  756. TOUCHED:Disconnect()
  757. for i=0, 0.2, 0.1 / Animation_Speed do
  758. Swait()
  759. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  760. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  761. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  762. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  763. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  764. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  765. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame*CF(4,0.3,0) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.4)
  766. end
  767. COMBO = 1
  768. end
  769. coroutine.resume(coroutine.create(function()
  770. for i = 1, 50 do
  771. Swait()
  772. if ATTACK == true then
  773. break
  774. end
  775. end
  776. if ATTACK == false then
  777. COMBO = 1
  778. end
  779. end))
  780. BLADE.CanCollide = false
  781. ATTACK = false
  782. Rooted = false
  783. EQUIPPED = false
  784. end
  785. function AbyssalShriek()
  786. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  787. ATTACK = true
  788. Rooted = true
  789. for i=0, 0.2, 0.1 / Animation_Speed do
  790. Swait()
  791. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  792. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  793. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  794. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  795. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  796. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  797. end
  798. coroutine.resume(coroutine.create(function()
  799. repeat
  800. Swait()
  801. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  805. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  806. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  807. until ATTACK == false
  808. end))
  809. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position+VT(0,1.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 15})
  810. CreateSound(199978176,Head,5,1,false)
  811. for i = 1, 60 do
  812. Swait()
  813. ApplyAoE(RootPart.Position,17,1,1,0,false)
  814. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  815. if HITFLOOR then
  816. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(20,1,20), Size2 = VT(25+MRANDOM(0,8),7,25+MRANDOM(0,8)), Transparency = 0.95, Transparency2 = 1, CFrame = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  817. end
  818. local SIZE = VT(1,3,1)
  819. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = SIZE*MRANDOM(10,65)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(1,17),MRANDOM(0,12)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 5})
  820. end
  821. wait(0.2)
  822. ATTACK = false
  823. Rooted = false
  824. end
  825. end
  826. function AbyssalDash()
  827. ATTACK = true
  828. Rooted = true
  829. UNANCHOR = false
  830. for i=0, 0.4, 0.1 / Animation_Speed do
  831. Swait()
  832. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  833. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  834. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  835. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  836. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  837. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  838. end
  839. CreateSound(1177785010,Torso,2,1,false)
  840. CreateSound(971125740,Torso,5,1,false)
  841. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  842. for index, CHILD in pairs(Character:GetChildren()) do
  843. if CHILD:IsA("BasePart") then
  844. CHILD.Transparency = CHILD.Transparency + 1
  845. elseif CHILD:IsA("Accessory") then
  846. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  847. end
  848. end
  849. local HITS = {}
  850. for i=0, 1, 0.1 / Animation_Speed do
  851. Swait()
  852. for index, CHILD in pairs(workspace:GetDescendants()) do
  853. if CHILD.ClassName == "Model" and CHILD ~= Character then
  854. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  855. if HUM then
  856. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  857. if TORSO then
  858. if (TORSO.Position - RootPart.Position).Magnitude <= 25 then
  859. local PASS = true
  860. for E = 1, #HITS do
  861. if HITS[E] == CHILD then
  862. PASS = false
  863. end
  864. end
  865. if PASS == true then
  866. local DMG = MRANDOM(25,45)
  867. ApplyDamage(HUM,DMG)
  868. table.insert(HITS,CHILD)
  869. end
  870. end
  871. end
  872. end
  873. end
  874. end
  875. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,0,25), Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-6) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  876. for i = 1, 2 do
  877. RootPart.CFrame = RootPart.CFrame*CF(0,0,-1)
  878. CharacterFade(C3(0,0,0),25,R_RANDOM(Torso.CFrame,1.25).p)
  879. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  880. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  881. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(-25), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  882. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(-25), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  883. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  884. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  885. end
  886. end
  887. for index, CHILD in pairs(Character:GetChildren()) do
  888. if CHILD:IsA("BasePart") then
  889. CHILD.Transparency = CHILD.Transparency - 1
  890. elseif CHILD:IsA("Accessory") then
  891. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  892. end
  893. end
  894. for i=1, 25 do
  895. Swait()
  896. RootPart.CFrame = RootPart.CFrame*CF(0,0,-((25-i)/25))
  897. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  898. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  899. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  900. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  901. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-45)), 1 / Animation_Speed)
  902. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-25), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  903. end
  904. UNANCHOR = true
  905. ATTACK = false
  906. Rooted = false
  907. end
  908. function ShadowCloak()
  909. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  910. ATTACK = true
  911. Rooted = false
  912. UNANCHOR = false
  913. FADERS = false
  914. coroutine.resume(coroutine.create(function()
  915. coroutine.resume(coroutine.create(function()
  916. for i=1, 25 do
  917. Swait()
  918. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  919. end
  920. end))
  921. repeat
  922. Swait()
  923. BLADE.Transparency = Torso.Transparency
  924. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  925. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  926. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  927. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  928. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  929. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  930. until ATTACK == false
  931. end))
  932. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  933. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  934. for i = 1, 50 do
  935. Swait()
  936. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  937. for index, CHILD in pairs(Character:GetChildren()) do
  938. if CHILD:IsA("BasePart") then
  939. CHILD.Transparency = CHILD.Transparency + 1/50
  940. elseif CHILD:IsA("Accessory") then
  941. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  942. end
  943. end
  944. end
  945. for i = 1, 25 do
  946. Swait()
  947. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  948. end
  949. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  950. for i = 1, 5 do
  951. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  952. end
  953. ApplyAoE(Torso.Position,15,12,22,150,false)
  954. CreateSound(331666014,Torso,5,1,false)
  955. for i = 1, 12 do
  956. Swait()
  957. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  958. end
  959. for i = 1, 50 do
  960. Swait()
  961. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  962. for index, CHILD in pairs(Character:GetChildren()) do
  963. if CHILD:IsA("BasePart") then
  964. CHILD.Transparency = CHILD.Transparency - 1/50
  965. elseif CHILD:IsA("Accessory") then
  966. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  967. end
  968. end
  969. end
  970. UNANCHOR = true
  971. ATTACK = false
  972. Rooted = false
  973. FADERS = true
  974. end
  975. end
  976. function BlackBlast()
  977. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  978. ATTACK = true
  979. Rooted = true
  980. local GYRO = IT("BodyGyro",RootPart)
  981. GYRO.D = 25
  982. GYRO.P = 20000
  983. GYRO.MaxTorque = VT(0,4000000,0)
  984. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  985. CreateSound(429459101,Torso,5,1.5,false)
  986. local GYROING = true
  987. coroutine.resume(coroutine.create(function()
  988. repeat
  989. Swait()
  990. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  991. until GYROING == false
  992. GYRO:Remove()
  993. end))
  994. for i=0, 1, 0.1 / Animation_Speed do
  995. Swait()
  996. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  997. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  998. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1000. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1001. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  1002. end
  1003. for i = 1, 13 do
  1004. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(i,0,i)*2, Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,7.5-i) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  1005. end
  1006. CreateSound(1368637781,Torso,5,1.5,false)
  1007. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1008. for index, CHILD in pairs(Character:GetChildren()) do
  1009. if CHILD:IsA("BasePart") then
  1010. CHILD.Transparency = CHILD.Transparency + 1
  1011. elseif CHILD:IsA("Accessory") then
  1012. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  1013. end
  1014. end
  1015. GYROING = false
  1016. coroutine.resume(coroutine.create(function()
  1017. coroutine.resume(coroutine.create(function()
  1018. for i=1, 25 do
  1019. Swait()
  1020. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  1021. end
  1022. end))
  1023. repeat
  1024. Swait()
  1025. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1026. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1027. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  1028. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1029. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1030. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  1031. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  1032. until ATTACK == false
  1033. end))
  1034. coroutine.resume(coroutine.create(function()
  1035. local BULLETCFRAME = RootPart.CFrame
  1036. local EXPLODED = false
  1037. coroutine.resume(coroutine.create(function()
  1038. repeat
  1039. Swait()
  1040. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(10,10,10), Transparency = 0.3, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1041. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(25,25,25), Transparency = 0.8, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1042. until EXPLODED == true
  1043. end))
  1044. for i=1, 50 do
  1045. Swait()
  1046. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  1047. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  1048. if RAY then
  1049. ApplyAoE(BULLETCFRAME.p,25,12,54,350,false)
  1050. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HIT,HIT+NORM) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 765590102, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
  1051. break
  1052. end
  1053. end
  1054. wait(0.5)
  1055. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1056. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1057. for E = 1, 3 do
  1058. for i = 1, 5 do
  1059. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1060. end
  1061. end
  1062. ApplyAoE(BULLETCFRAME.p,125,25,75,250,false)
  1063. EXPLODED = true
  1064. for i = 1, 15 do
  1065. Swait()
  1066. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = BULLETCFRAME * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  1067. end
  1068. end))
  1069. wait(0.5)
  1070. for index, CHILD in pairs(Character:GetChildren()) do
  1071. if CHILD:IsA("BasePart") then
  1072. CHILD.Transparency = CHILD.Transparency - 1
  1073. elseif CHILD:IsA("Accessory") then
  1074. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  1075. end
  1076. end
  1077. ATTACK = false
  1078. Rooted = false
  1079. end
  1080. end
  1081. function NightmareFall()
  1082. if ANIM ~= "Fall" and ANIM ~= "Jump" and DAMAGEMULTIPLIER == 1 then
  1083. ATTACK = true
  1084. Rooted = true
  1085. EQUIPPED = true
  1086. CreateSound(160740121,Head,10,1,false)
  1087. for i=0, 2, 0.1 / Animation_Speed do
  1088. Swait()
  1089. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1090. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1091. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.4 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(120), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1092. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1093. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1094. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1095. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  1096. end
  1097. for i=0, 2, 0.1 / Animation_Speed do
  1098. Swait()
  1099. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1100. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1101. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.15 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(140), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1102. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1103. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1104. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1105. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  1106. end
  1107. local SIZE = 0
  1108. local POS = RootPart.Position+VT(0,150,0)
  1109. local BLOWN = false
  1110. coroutine.resume(coroutine.create(function()
  1111. coroutine.resume(coroutine.create(function()
  1112. repeat
  1113. Swait()
  1114. if SIZE > 0 then
  1115. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*2.5, Transparency = 0.3, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1116. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*3, Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1117. end
  1118. until BLOWN == true
  1119. end))
  1120. repeat
  1121. Swait()
  1122. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(12), RAD(25)), 1 / Animation_Speed)
  1123. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1124. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(180), RAD(15), RAD(17)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1125. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1126. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1127. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1128. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  1129. until ATTACK == false
  1130. end))
  1131. wait(0.2)
  1132. for i = 1, 15 do
  1133. wait(MRANDOM(2,6)/45)
  1134. coroutine.resume(coroutine.create(function()
  1135. local CFRAME = CF(BLADE.Position,POS) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(-90,90)))
  1136. local HEIGHT = 45/5
  1137. local DISTANCE = (BLADE.Position - POS).Magnitude
  1138. for i = 1, 45 do
  1139. Swait()
  1140. CFRAME = CFRAME * CF(0,(HEIGHT-(i/2.575))/45,-DISTANCE/45)
  1141. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0.3, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 0})
  1142. end
  1143. SIZE = SIZE + 1
  1144. end))
  1145. end
  1146. wait(2.5)
  1147. BLOWN = true
  1148. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(150,50,150), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.4, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1149. for E = 1, 5 do
  1150. for i = 1, 5 do
  1151. WACKYEFFECT({Time = 50+(E*4), EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1152. end
  1153. end
  1154. CreateSound(288641686,Effects,5,1,false)
  1155. CreateSound(592877506,Effects,5,1,false)
  1156. local HITS = {}
  1157. for index, CHILD in pairs(workspace:GetDescendants()) do
  1158. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1159. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1160. if HUM then
  1161. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1162. if TORSO then
  1163. if (TORSO.Position - RootPart.Position).Magnitude <= 175 then
  1164. local PASS = true
  1165. for E = 1, #HITS do
  1166. if HITS[E] == CHILD then
  1167. PASS = false
  1168. end
  1169. end
  1170. if PASS == true then
  1171. table.insert(HITS,CHILD)
  1172. end
  1173. end
  1174. end
  1175. end
  1176. end
  1177. end
  1178. if #HITS > 0 then
  1179. local DONE = false
  1180. local HUMS = {}
  1181. coroutine.resume(coroutine.create(function()
  1182. for E = 1, #HITS do
  1183. local HUM = HITS[E]:FindFirstChildOfClass("Humanoid")
  1184. table.insert(HUMS,HUM)
  1185. local TORSO = HITS[E]:FindFirstChild("Torso") or HITS[E]:FindFirstChild("UpperTorso")
  1186. local grav = Instance.new("BodyPosition",TORSO)
  1187. grav.D = 850
  1188. grav.P = 4000
  1189. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1190. grav.Position = TORSO.Position+VT(0,35,0)
  1191. CreateSound(592877506,TORSO,5,0.5,false)
  1192. if TORSO then
  1193. coroutine.resume(coroutine.create(function()
  1194. local B = IT("Attachment",TORSO)
  1195. local ChainLink = IT("Beam",Torso)
  1196. ChainLink.Texture = "rbxassetid://73042633"
  1197. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  1198. ChainLink.TextureSpeed = -1
  1199. ChainLink.FaceCamera = true
  1200. ChainLink.Width0 = 3
  1201. ChainLink.Width1 = 3
  1202. ChainLink.TextureLength = 3
  1203. ChainLink.Attachment0 = A
  1204. ChainLink.Attachment1 = B
  1205. ChainLink.CurveSize0 = 0
  1206. ChainLink.CurveSize1 = 0
  1207. ChainLink.FaceCamera = true
  1208. ChainLink.TextureMode = "Static"
  1209. ChainLink.Transparency = NumberSequence.new(0)
  1210. repeat
  1211. Swait()
  1212. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(0,0,0), Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 35})
  1213. until DONE == true or HUM.Health < 1
  1214. B:Remove()
  1215. ChainLink:Remove()
  1216. grav:Remove()
  1217. if HUM.Health < 1 then
  1218. for E = 1, 2 do
  1219. for i = 1, 3 do
  1220. WACKYEFFECT({Time = 15, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/6, Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1221. end
  1222. end
  1223. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(6,6,6)*TORSO.Size.Z, Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 160772554, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1224. for _, c in pairs(HITS[E]:GetChildren()) do
  1225. if c:IsA("BasePart") or c:IsA("Accessory") then
  1226. c:remove()
  1227. end
  1228. end
  1229. local BONES = {
  1230. Skull = {MeshId = 36869983,Size = VT(0.7,0.7,0.7)},
  1231. Ribs = {MeshId = 546760032,Size = VT(2.18, 1.884, 1.105)}
  1232. }
  1233. local SELECTABLEBONES = {
  1234. {MeshId = 546760045,Size = VT(0.468, 1.12, 0.346)},
  1235. {MeshId = 546760042,Size = VT(0.366, 0.991, 0.365)},
  1236. {MeshId = 546760029,Size = VT(0.441, 0.799, 0.347)},
  1237. {MeshId = 546760030,Size = VT(0.605, 0.843, 0.4)}
  1238. }
  1239. for i = 1, 9 do
  1240. local CHOSENPIECE = nil
  1241. if i == 1 then
  1242. CHOSENPIECE = BONES.Skull
  1243. elseif i == 2 then
  1244. CHOSENPIECE = BONES.Ribs
  1245. else
  1246. CHOSENPIECE = SELECTABLEBONES[MRANDOM(1,#SELECTABLEBONES)]
  1247. end
  1248. local BONE = CreatePart(3, HITS[E], "Neon", 0, 0, BRICKC("Salmon"), "RIP", CHOSENPIECE.Size, false)
  1249. BONE.CanCollide = true
  1250. BONE.CFrame = TORSO.CFrame*CF(MRANDOM(-10,10)/30,MRANDOM(-10,10)/30,MRANDOM(-10,10)/30)
  1251. if CHOSENPIECE.MeshId == 36869983 then
  1252. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1)/1.5, VT(0,0,0))
  1253. else
  1254. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1), VT(0,0,0))
  1255. end
  1256. end
  1257. end
  1258. end))
  1259. end
  1260. end
  1261. wait(1)
  1262. for i = 1, 250 do
  1263. Swait()
  1264. for E = 1, #HUMS do
  1265. if HUMS[E] then
  1266. if HUMS[E].Health > 0 then
  1267. HUMS[E].Health = HUMS[E].Health - 0.3
  1268. DAMAGEMULTIPLIER = DAMAGEMULTIPLIER + 0.0025
  1269. WACKYEFFECT({Time = 10, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(1.5,0,1.5)/20, Transparency = 0.9, Transparency2 = 1, CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1270. end
  1271. end
  1272. end
  1273. end
  1274. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(1, 0, 1, 0), C3(0,0,0), C3(0, 0, 0), "OWEXTRADAMAGE")
  1275. local SKILLTEXT = CreateLabel(SKILLFRAME, "!You have increased damage!", SKILLTEXTCOLOR, SKILLTEXTSIZE2, SKILLFONT, 1, 2, 1, "AAAA")
  1276. coroutine.resume(coroutine.create(function()
  1277. CreateSound(743521450,Cam,5,0.6,false)
  1278. for E = 1, 75 do
  1279. Swait()
  1280. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency - 1/75
  1281. end
  1282. wait(4)
  1283. for E = 1, 25 do
  1284. Swait()
  1285. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency + 1/25
  1286. end
  1287. SKILLFRAME:Remove()
  1288. end))
  1289. DONE = true
  1290. for i = 1, 50 do
  1291. wait(0.5)
  1292. for i = 1, 3 do
  1293. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(DAMAGEMULTIPLIER-1,0.1,DAMAGEMULTIPLIER-1)*1.5, Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.25,0).p) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 1, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 22})
  1294. end
  1295. end
  1296. DAMAGEMULTIPLIER = 1
  1297. end))
  1298. wait(0.2)
  1299. end
  1300. wait(0.4)
  1301. EQUIPPED = false
  1302. ATTACK = false
  1303. Rooted = false
  1304. end
  1305. end
  1306. function Laugh()
  1307. ATTACK = true
  1308. Rooted = true
  1309. CreateSound(160740121,Head,10,1,false)
  1310. for i=0, 0.5, 0.1 / Animation_Speed do
  1311. Swait()
  1312. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1313. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  1314. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.6 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1315. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.45 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1316. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1317. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1318. end
  1319. for i=1, 185 do
  1320. Swait()
  1321. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1322. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1 + 0.05 * SIN(SINE/2)) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1323. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.55 + 0.15 * SIN(SINE/2), -0.7) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1324. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.4 + 0.15 * SIN(SINE/2), -0.6) * ANGLES(RAD(3 + 3 * SIN(SINE/2)), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1325. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1326. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1327. end
  1328. ATTACK = false
  1329. Rooted = false
  1330. end
  1331.  
  1332. --//=================================\\
  1333. --|| ASSIGN THINGS TO KEYS
  1334. --\\=================================//
  1335.  
  1336. function MouseDown(Mouse)
  1337. if ATTACK == false then
  1338. Melee()
  1339. end
  1340. end
  1341.  
  1342. function MouseUp(Mouse)
  1343. HOLD = false
  1344. end
  1345.  
  1346. function KeyDown(Key)
  1347. KEYHOLD = true
  1348. if Key == "z" and ATTACK == false then
  1349. AbyssalShriek()
  1350. end
  1351.  
  1352. if Key == "x" and ATTACK == false then
  1353. AbyssalDash()
  1354. end
  1355.  
  1356. if Key == "c" and ATTACK == false then
  1357. ShadowCloak()
  1358. end
  1359.  
  1360. if Key == "v" and ATTACK == false then
  1361. BlackBlast()
  1362. end
  1363.  
  1364. if Key == "q" and ATTACK == false then
  1365. NightmareFall()
  1366. end
  1367.  
  1368. if Key == "t" and ATTACK == false then
  1369. Laugh()
  1370. end
  1371. end
  1372.  
  1373. function KeyUp(Key)
  1374. KEYHOLD = false
  1375. end
  1376.  
  1377. Mouse.Button1Down:connect(function(NEWKEY)
  1378. MouseDown(NEWKEY)
  1379. end)
  1380. Mouse.Button1Up:connect(function(NEWKEY)
  1381. MouseUp(NEWKEY)
  1382. end)
  1383. Mouse.KeyDown:connect(function(NEWKEY)
  1384. KeyDown(NEWKEY)
  1385. end)
  1386. Mouse.KeyUp:connect(function(NEWKEY)
  1387. KeyUp(NEWKEY)
  1388. end)
  1389.  
  1390. --//=================================\\
  1391. --\\=================================//
  1392.  
  1393. function unanchor()
  1394. for _, c in pairs(Character:GetChildren()) do
  1395. if c:IsA("BasePart") and c ~= RootPart then
  1396. c.Anchored = false
  1397. end
  1398. end
  1399. if UNANCHOR == true then
  1400. RootPart.Anchored = false
  1401. else
  1402. RootPart.Anchored = true
  1403. end
  1404. end
  1405.  
  1406. --//=================================\\
  1407. --|| WRAP THE WHOLE SCRIPT UP
  1408. --\\=================================//
  1409.  
  1410. Humanoid.Changed:connect(function(Jump)
  1411. if Jump == "Jump" and (Disable_Jump == true) then
  1412. Humanoid.Jump = false
  1413. end
  1414. end)
  1415.  
  1416. while true do
  1417. Swait()
  1418. script.Parent = WEAPONGUI
  1419. ANIMATE.Parent = nil
  1420. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1421. v:Stop();
  1422. end
  1423. SINE = SINE + CHANGE
  1424. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1425. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1426. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  1427. local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 16)
  1428. Humanoid.HipHeight = 1
  1429. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1430. ANIM = "Jump"
  1431. if ATTACK == false then
  1432. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1433. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1434. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1435. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1436. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1437. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1438. end
  1439. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1440. ANIM = "Fall"
  1441. if ATTACK == false then
  1442. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1443. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1444. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1445. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1446. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1447. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1448. end
  1449. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1450. ANIM = "Idle"
  1451. if ATTACK == false then
  1452. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1453. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1454. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1455. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1456. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1457. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1458. end
  1459. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1460. ANIM = "Walk"
  1461. if ATTACK == false then
  1462. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1463. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1464. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1465. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1466. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1467. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-15), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1468. end
  1469. end
  1470. if EQUIPPED == false then
  1471. if TORSOVELOCITY > 1 then
  1472. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame * CF(0.2,1.5 + 0.15 * SIN(SINE / 12),4) * ANGLES(RAD(195), RAD(15), RAD(15)),0.04)
  1473. else
  1474. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame * CF(1,1.5 + 0.15 * SIN(SINE / 12),4) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.1)
  1475. end
  1476. end
  1477. if ANIM ~= "Walk" and FADERS == true then
  1478. if MRANDOM(1,7) == 1 then
  1479. CharacterFade(C3(0,0,0),65,R_RANDOM(Torso.CFrame,0.5).p)
  1480. end
  1481. end
  1482. unanchor()
  1483. if Rooted == false then
  1484. Disable_Jump = false
  1485. Humanoid.WalkSpeed = Speed+(DAMAGEMULTIPLIER/5)
  1486. elseif Rooted == true then
  1487. Disable_Jump = true
  1488. Humanoid.WalkSpeed = 0
  1489. end
  1490. BMUSIC.SoundId = "rbxassetid://"..SONGID
  1491. BMUSIC.Looped = true
  1492. BMUSIC.Pitch = PITCH
  1493. BMUSIC.Volume = VOLUME
  1494. BMUSIC.Playing = true
  1495. if BMUSIC.Parent ~= RootPart then
  1496. BMUSIC = IT("Sound",RootPart)
  1497. end
  1498. if Head:FindFirstChild("face") then
  1499. Head:FindFirstChild("face"):remove()
  1500. end
  1501. Humanoid.Name = "NONHUM"
  1502. Humanoid.MaxHealth = 1e3
  1503. Humanoid.Health = 1e3
  1504. end
  1505.  
  1506. --//=================================\\
  1507. --\\=================================//
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513. --//====================================================\\--
  1514. --|| END OF SCRIPT
  1515. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement