Advertisement
samuelrichter66

Abyss Eye

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