Advertisement
Axelpuff

Abyss FE

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