Advertisement
Goo345

Untitled

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