Advertisement
Axelpuff

Less lag Abyss FE

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