Advertisement
whyumean

Sword

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