Advertisement
aaaay63746

Abyss Eye FE

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