zXzGamePROzXz

Darkage Wirstband

Jan 26th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.97 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",Character)
  32. sick.SoundId = "rbxassetid://965804171"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1
  36. sick:Play()
  37. local sick2 = Instance.new("Sound",Character)
  38. sick2.SoundId = "rbxassetid://590156873"
  39. sick2.Looped = true
  40. sick2.Pitch = 1
  41. sick2.Volume = 3
  42. Humanoid.DisplayDistanceType = "None"
  43.  
  44. IT = Instance.new
  45. CF = CFrame.new
  46. VT = Vector3.new
  47. RAD = math.rad
  48. C3 = Color3.new
  49. UD2 = UDim2.new
  50. BRICKC = BrickColor.new
  51. ANGLES = CFrame.Angles
  52. EULER = CFrame.fromEulerAnglesXYZ
  53. COS = math.cos
  54. ACOS = math.acos
  55. SIN = math.sin
  56. ASIN = math.asin
  57. ABS = math.abs
  58. MRANDOM = math.random
  59. FLOOR = math.floor
  60.  
  61. local naeeym2 = Instance.new("BillboardGui",Character)
  62. naeeym2.AlwaysOnTop = true
  63. naeeym2.Size = UDim2.new(5,35,2,35)
  64. naeeym2.StudsOffset = Vector3.new(0,3,0)
  65. naeeym2.Adornee = Character.Head
  66. naeeym2.Name = "Name"
  67. naeeym2.PlayerToHideFrom = Player
  68. local tecks2 = Instance.new("TextLabel",naeeym2)
  69. tecks2.BackgroundTransparency = 1
  70. tecks2.TextScaled = true
  71. tecks2.BorderSizePixel = 0
  72. tecks2.Text = Player.Name
  73. tecks2.Font = "Fantasy"
  74. tecks2.TextSize = 20
  75. tecks2.TextStrokeTransparency = 1
  76. tecks2.TextColor3 = Color3.new(0,0,0)
  77. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  78. tecks2.Size = UDim2.new(1,0,0.5,0)
  79. tecks2.Parent = naeeym2
  80.  
  81. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  82. local NEWMESH = IT(MESH)
  83. if MESH == "SpecialMesh" then
  84. NEWMESH.MeshType = MESHTYPE
  85. if MESHID ~= "nil" and MESHID ~= "" then
  86. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  87. end
  88. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  89. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  90. end
  91. end
  92. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  93. NEWMESH.Scale = SCALE
  94. NEWMESH.Parent = PARENT
  95. return NEWMESH
  96. end
  97.  
  98. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  99. local NEWPART = IT("Part")
  100. NEWPART.formFactor = FORMFACTOR
  101. NEWPART.Reflectance = REFLECTANCE
  102. NEWPART.Transparency = TRANSPARENCY
  103. NEWPART.CanCollide = false
  104. NEWPART.Locked = true
  105. NEWPART.Anchored = true
  106. if ANCHOR == false then
  107. NEWPART.Anchored = false
  108. end
  109. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  110. NEWPART.Name = NAME
  111. NEWPART.Size = SIZE
  112. NEWPART.Position = Torso.Position
  113. NEWPART.Material = MATERIAL
  114. NEWPART:BreakJoints()
  115. NEWPART.Parent = PARENT
  116. return NEWPART
  117. end
  118.  
  119. --//=================================\\
  120. --|| CUSTOMIZATION
  121. --\\=================================//
  122.  
  123. Player_Size = 1 --Size of the player.
  124. Animation_Speed = 3
  125. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  126.  
  127. local Speed = 16
  128. local Effects2 = {}
  129.  
  130. --//=================================\\
  131. --|| END OF CUSTOMIZATION
  132. --\\=================================//
  133.  
  134. local function weldBetween(a, b)
  135. local weldd = Instance.new("ManualWeld")
  136. weldd.Part0 = a
  137. weldd.Part1 = b
  138. weldd.C0 = CFrame.new()
  139. weldd.C1 = b.CFrame:inverse() * a.CFrame
  140. weldd.Parent = a
  141. return weldd
  142. end
  143.  
  144. --//=================================\\
  145. --|| USEFUL VALUES
  146. --\\=================================//
  147.  
  148. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  149. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  150. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  151. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  152. local CHANGEDEFENSE = 0
  153. local CHANGEDAMAGE = 0
  154. local CHANGEMOVEMENT = 0
  155. local ANIM = "Idle"
  156. local ATTACK = false
  157. local EQUIPPED = false
  158. local HOLD = false
  159. local COMBO = 1
  160. local Rooted = false
  161. local SINE = 0
  162. local KEYHOLD = false
  163. local CHANGE = 2 / Animation_Speed
  164. local WALKINGANIM = false
  165. local WALK = 0
  166. local VALUE1 = false
  167. local VALUE2 = "Normal"
  168. local ROBLOXIDLEANIMATION = IT("Animation")
  169. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  170. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  171. --ROBLOXIDLEANIMATION.Parent = Humanoid
  172. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  173. WEAPONGUI.Name = "Weapon GUI"
  174. local Weapon = IT("Model")
  175. Weapon.Name = "Adds"
  176. local Effects = IT("Folder", Weapon)
  177. Effects.Name = "Effects"
  178. local ANIMATOR = Humanoid.Animator
  179. local ANIMATE = Character.Animate
  180. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  181. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  182. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  183. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  184. local UNANCHOR = true
  185.  
  186. local SKILLTEXTCOLOR = C3(0.3,0,0.4)
  187.  
  188. --//=================================\\
  189. --\\=================================//
  190.  
  191.  
  192. --//=================================\\
  193. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  194. --\\=================================//
  195.  
  196. ArtificialHB = Instance.new("BindableEvent", script)
  197. ArtificialHB.Name = "ArtificialHB"
  198.  
  199. script:WaitForChild("ArtificialHB")
  200.  
  201. frame = Frame_Speed
  202. tf = 0
  203. allowframeloss = false
  204. tossremainder = false
  205. lastframe = tick()
  206. script.ArtificialHB:Fire()
  207.  
  208. game:GetService("RunService").Heartbeat:connect(function(s, p)
  209. tf = tf + s
  210. if tf >= frame then
  211. if allowframeloss then
  212. script.ArtificialHB:Fire()
  213. lastframe = tick()
  214. else
  215. for i = 1, math.floor(tf / frame) do
  216. script.ArtificialHB:Fire()
  217. end
  218. lastframe = tick()
  219. end
  220. if tossremainder then
  221. tf = 0
  222. else
  223. tf = tf - frame * math.floor(tf / frame)
  224. end
  225. end
  226. end)
  227.  
  228. --//=================================\\
  229. --\\=================================//
  230.  
  231.  
  232.  
  233.  
  234.  
  235. --//=================================\\
  236. --|| SOME FUNCTIONS
  237. --\\=================================//
  238.  
  239. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  240. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  241. end
  242.  
  243. function PositiveAngle(NUMBER)
  244. if NUMBER >= 0 then
  245. NUMBER = 0
  246. end
  247. return NUMBER
  248. end
  249.  
  250. function NegativeAngle(NUMBER)
  251. if NUMBER <= 0 then
  252. NUMBER = 0
  253. end
  254. return NUMBER
  255. end
  256.  
  257. function Swait(NUMBER)
  258. if NUMBER == 0 or NUMBER == nil then
  259. ArtificialHB.Event:wait()
  260. else
  261. for i = 1, NUMBER do
  262. ArtificialHB.Event:wait()
  263. end
  264. end
  265. end
  266.  
  267. function QuaternionFromCFrame(cf)
  268. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  269. local trace = m00 + m11 + m22
  270. if trace > 0 then
  271. local s = math.sqrt(1 + trace)
  272. local recip = 0.5 / s
  273. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  274. else
  275. local i = 0
  276. if m11 > m00 then
  277. i = 1
  278. end
  279. if m22 > (i == 0 and m00 or m11) then
  280. i = 2
  281. end
  282. if i == 0 then
  283. local s = math.sqrt(m00 - m11 - m22 + 1)
  284. local recip = 0.5 / s
  285. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  286. elseif i == 1 then
  287. local s = math.sqrt(m11 - m22 - m00 + 1)
  288. local recip = 0.5 / s
  289. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  290. elseif i == 2 then
  291. local s = math.sqrt(m22 - m00 - m11 + 1)
  292. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  293. end
  294. end
  295. end
  296.  
  297. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  298. local xs, ys, zs = x + x, y + y, z + z
  299. local wx, wy, wz = w * xs, w * ys, w * zs
  300. local xx = x * xs
  301. local xy = x * ys
  302. local xz = x * zs
  303. local yy = y * ys
  304. local yz = y * zs
  305. local zz = z * zs
  306. 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))
  307. end
  308.  
  309. function QuaternionSlerp(a, b, t)
  310. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  311. local startInterp, finishInterp;
  312. if cosTheta >= 0.0001 then
  313. if (1 - cosTheta) > 0.0001 then
  314. local theta = ACOS(cosTheta)
  315. local invSinTheta = 1 / SIN(theta)
  316. startInterp = SIN((1 - t) * theta) * invSinTheta
  317. finishInterp = SIN(t * theta) * invSinTheta
  318. else
  319. startInterp = 1 - t
  320. finishInterp = t
  321. end
  322. else
  323. if (1 + cosTheta) > 0.0001 then
  324. local theta = ACOS(-cosTheta)
  325. local invSinTheta = 1 / SIN(theta)
  326. startInterp = SIN((t - 1) * theta) * invSinTheta
  327. finishInterp = SIN(t * theta) * invSinTheta
  328. else
  329. startInterp = t - 1
  330. finishInterp = t
  331. end
  332. end
  333. 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
  334. end
  335.  
  336. function Clerp(a, b, t)
  337. local qa = {QuaternionFromCFrame(a)}
  338. local qb = {QuaternionFromCFrame(b)}
  339. local ax, ay, az = a.x, a.y, a.z
  340. local bx, by, bz = b.x, b.y, b.z
  341. local _t = 1 - t
  342. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  343. end
  344.  
  345. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  346. local frame = IT("Frame")
  347. frame.BackgroundTransparency = TRANSPARENCY
  348. frame.BorderSizePixel = BORDERSIZEPIXEL
  349. frame.Position = POSITION
  350. frame.Size = SIZE
  351. frame.BackgroundColor3 = COLOR
  352. frame.BorderColor3 = BORDERCOLOR
  353. frame.Name = NAME
  354. frame.Parent = PARENT
  355. return frame
  356. end
  357.  
  358. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  359. local label = IT("TextLabel")
  360. label.BackgroundTransparency = 1
  361. label.Size = UD2(1, 0, 1, 0)
  362. label.Position = UD2(0, 0, 0, 0)
  363. label.TextColor3 = TEXTCOLOR
  364. label.TextStrokeTransparency = STROKETRANSPARENCY
  365. label.TextTransparency = TRANSPARENCY
  366. label.FontSize = TEXTFONTSIZE
  367. label.Font = TEXTFONT
  368. label.BorderSizePixel = BORDERSIZEPIXEL
  369. label.TextScaled = false
  370. label.Text = TEXT
  371. label.Name = NAME
  372. label.Parent = PARENT
  373. return label
  374. end
  375.  
  376. function NoOutlines(PART)
  377. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  378. end
  379.  
  380.  
  381. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  382. local NEWWELD = IT(TYPE)
  383. NEWWELD.Part0 = PART0
  384. NEWWELD.Part1 = PART1
  385. NEWWELD.C0 = C0
  386. NEWWELD.C1 = C1
  387. NEWWELD.Parent = PARENT
  388. return NEWWELD
  389. end
  390.  
  391. local SOUND = IT("Sound",nil)
  392.  
  393. function CreateSound(ID, PARENT, VOLUME, PITCH)
  394. local NEWSOUND = nil
  395. coroutine.resume(coroutine.create(function()
  396. NEWSOUND = SOUND:Clone()
  397. NEWSOUND.Parent = PARENT
  398. NEWSOUND.Volume = VOLUME
  399. NEWSOUND.Pitch = PITCH
  400. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  401. Swait()
  402. NEWSOUND:play()
  403. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  404. end))
  405. return NEWSOUND
  406. end
  407.  
  408. function CFrameFromTopBack(at, top, back)
  409. local right = top:Cross(back)
  410. 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)
  411. end
  412.  
  413. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  414. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  415. local mesh = IT("SpecialMesh",wave)
  416. mesh.MeshType = "FileMesh"
  417. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  418. mesh.Scale = SIZE
  419. mesh.Offset = VT(0,0,-SIZE.X/8)
  420. wave.CFrame = CFRAME
  421. coroutine.resume(coroutine.create(function(PART)
  422. for i = 1, WAIT do
  423. Swait()
  424. mesh.Scale = mesh.Scale + GROW
  425. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  426. if DOESROT == true then
  427. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  428. end
  429. wave.Transparency = wave.Transparency + (0.5/WAIT)
  430. if wave.Transparency > 0.99 then
  431. wave:remove()
  432. end
  433. end
  434. end))
  435. end
  436.  
  437. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,DOESTRAIL)
  438. local wave = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC(COLOR), "Effect", VT(0,0,0))
  439. local mesh = IT("SpecialMesh",wave)
  440. mesh.MeshType = "FileMesh"
  441. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  442. mesh.Scale = SIZE
  443. wave.CFrame = CFRAME
  444. coroutine.resume(coroutine.create(function(PART)
  445. for i = 1, WAIT do
  446. Swait()
  447. if DOESTRAIL == true then
  448. Trail(wave)
  449. end
  450. mesh.Scale = mesh.Scale + GROW
  451. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  452. if DOESROT == true then
  453. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  454. end
  455. wave.Transparency = wave.Transparency + (0.2/WAIT)
  456. if wave.Transparency > 0.99 then
  457. wave:remove()
  458. end
  459. end
  460. end))
  461. end
  462.  
  463. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  464. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  465. local mesh = IT("SpecialMesh",wave)
  466. mesh.MeshType = "Sphere"
  467. mesh.Scale = SIZE
  468. mesh.Offset = VT(0,0,0)
  469. wave.CFrame = CFRAME
  470. coroutine.resume(coroutine.create(function(PART)
  471. for i = 1, WAIT do
  472. Swait()
  473. mesh.Scale = mesh.Scale + GROW
  474. wave.Transparency = wave.Transparency + (1/WAIT)
  475. if wave.Transparency > 0.99 then
  476. wave:remove()
  477. end
  478. end
  479. end))
  480. end
  481.  
  482. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  483. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  484. local mesh = IT("BlockMesh",wave)
  485. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  486. coroutine.resume(coroutine.create(function(PART)
  487. for i = 1, WAIT do
  488. Swait()
  489. mesh.Scale = mesh.Scale + GROW
  490. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  491. wave.Transparency = wave.Transparency + (0.5/WAIT)
  492. if wave.Transparency > 0.99 then
  493. wave:remove()
  494. end
  495. end
  496. end))
  497. end
  498.  
  499. function MakeForm(PART,TYPE)
  500. if TYPE == "Cyl" then
  501. local MSH = IT("CylinderMesh",PART)
  502. elseif TYPE == "Ball" then
  503. local MSH = IT("SpecialMesh",PART)
  504. MSH.MeshType = "Sphere"
  505. elseif TYPE == "Wedge" then
  506. local MSH = IT("SpecialMesh",PART)
  507. MSH.MeshType = "Wedge"
  508. end
  509. end
  510.  
  511. function CheckTableForString(Table, String)
  512. for i, v in pairs(Table) do
  513. if string.find(string.lower(String), string.lower(v)) then
  514. return true
  515. end
  516. end
  517. return false
  518. end
  519.  
  520. function CheckIntangible(Hit)
  521. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  522. if Hit and Hit.Parent then
  523. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  524. return true
  525. end
  526. end
  527. return false
  528. end
  529.  
  530. Debris = game:GetService("Debris")
  531.  
  532. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  533. local Direction = CFrame.new(StartPos, Vec).lookVector
  534. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  535. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  536. if RayHit and CheckIntangible(RayHit) then
  537. if DelayIfHit then
  538. wait()
  539. end
  540. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  541. end
  542. return RayHit, RayPos, RayNormal
  543. end
  544.  
  545. function turnto(position)
  546. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  547. end
  548.  
  549. --//=================================\\
  550. --|| WEAPON CREATION
  551. --\\=================================//
  552.  
  553. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Wistband part", VT(1.015,0.15,1.015),false)
  554. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  555. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", "Wistband part", VT(1.035,0.1,1.035),false)
  556. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  557. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", "Wistband part", VT(1.035,0.1,1.035),false)
  558. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.45, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  559. MakeForm(part,"Wedge")
  560. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", "Wistband part", VT(1.025,0.05,1.025),false)
  561. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.22, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  562. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", "Wistband part", VT(1.025,0.1,1.025),false)
  563. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.15, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  564. MakeForm(part,"Wedge")
  565. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", "Wistband part", VT(0.8,0.05,0.8),false)
  566. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.5, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  567. MakeForm(part,"Cyl")
  568. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Wistband part", VT(0.81,0.05,0.81),false)
  569. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.49, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  570. MakeForm(part,"Cyl")
  571. local part = CreatePart(3, Weapon, "Marble", 0, 0, "Pearl", "Wistband part", VT(0.5,0.05,0.5),false)
  572. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.51, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  573. MakeForm(part,"Cyl")
  574. local blade = CreatePart(3, Weapon, "Marble", 0, 0, "Really black", "Wistband part", VT(0.5,0.05,0.5),false)
  575. local armweld = CreateWeldOrSnapOrMotor("Weld", blade, RightArm, blade, CF(0.52, -0.306, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  576. CreateMesh("SpecialMesh", blade, "FileMesh", "340607397", "", VT(0.35,0.35,0.35), VT(-0.015, 0, -0.05))
  577. local part = CreatePart(3, Weapon, "Marble", 0, 0, "Pearl", "Wistband part", VT(0.2,0.05,0.2),false)
  578. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.52, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  579. MakeForm(part,"Ball")
  580. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", "Wistband part", VT(0.15,0.06,0.15),false)
  581. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.52, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  582. MakeForm(part,"Ball")
  583. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Wistband part", VT(0.1,0.07,0.1),false)
  584. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.52, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  585. MakeForm(part,"Ball")
  586.  
  587. for _, c in pairs(Weapon:GetChildren()) do
  588. if c.ClassName == "Part" then
  589. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  590. end
  591. end
  592.  
  593. Weapon.Parent = Character
  594.  
  595. Humanoid.Died:connect(function()
  596. ATTACK = true
  597. end)
  598.  
  599. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  600. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  601. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  602. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  603.  
  604. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Darkage Shurikens", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  605. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Darkage Surge", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  606. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Shadow Sneak", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 3")
  607. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Rage of Darkage", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 4")
  608.  
  609. --//=================================\\
  610. --|| DAMAGE FUNCTIONS
  611. --\\=================================//
  612.  
  613. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  614. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  615. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  616. local BODYGYRO = IT("BodyGyro", STATPART)
  617. local BODYPOSITION = IT("BodyPosition", STATPART)
  618. BODYPOSITION.P = 2000
  619. BODYPOSITION.D = 100
  620. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  621. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  622. game:GetService("Debris"):AddItem(STATPART ,5)
  623. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  624. BILLBOARDGUI.Adornee = STATPART
  625. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  626. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  627. BILLBOARDGUI.AlwaysOnTop = false
  628. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  629. TEXTLABEL.BackgroundTransparency = 1
  630. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  631. TEXTLABEL.Text = TEXT
  632. TEXTLABEL.Font = "Fantasy"
  633. TEXTLABEL.FontSize="Size42"
  634. TEXTLABEL.TextColor3 = COLOR
  635. TEXTLABEL.TextStrokeTransparency = 1
  636. TEXTLABEL.TextScaled = true
  637. TEXTLABEL.TextWrapped = true
  638. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  639. if LABELTYPE == "Normal" then
  640. for i = 1, 30 do
  641. Swait()
  642. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  643. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  644. end
  645. elseif LABELTYPE == "Debuff" then
  646. for i = 1, 30 do
  647. Swait()
  648. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  649. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  650. end
  651. elseif LABELTYPE == "Shock" then
  652. local ORIGIN = STATPART.Position
  653. for i = 1, 30 do
  654. Swait()
  655. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  656. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  657. end
  658. end
  659. THEPART.Parent = nil
  660. end),STATPART, BODYPOSITION, TEXTLABEL)
  661. end
  662.  
  663. --//=================================\\
  664. --|| DAMAGING
  665. --\\=================================//
  666.  
  667. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  668. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  669. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  670. local dmg = math.random(min,max)
  671. if humanoid.Health > 0 then
  672. if beserk == true then
  673. humanoid.Health = 0
  674. else
  675. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  676. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  677. if math.random(1,100) < critrate+1 then
  678. humanoid.Health = humanoid.Health - dmg*critmultiplier
  679. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  680. else
  681. humanoid.Health = humanoid.Health - dmg
  682. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  683. end
  684. local defence = Instance.new("BoolValue",hit.Parent)
  685. defence.Name = ("HitBy"..Player.Name)
  686. game:GetService("Debris"):AddItem(defence, 0.5)
  687. end
  688. end
  689. end
  690. end
  691.  
  692. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  693. local dmg = math.random(min,max)
  694. for i,v in ipairs(workspace:GetChildren()) do
  695. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  696. local body = v:GetChildren()
  697. for part = 1, #body do
  698. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  699. if(body[part].Position - position).Magnitude < radius then
  700. if v.ClassName == "Model" then
  701. if v:FindFirstChild("Humanoid") then
  702. if v.Humanoid.Health ~= 0 then
  703. if CanBeDodgedByJumping == true then
  704. if body[part].Position.Y < position.Y+5 then
  705. if math.random(1,100) < critrate+1 then
  706. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  707. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  708. else
  709. v.Humanoid.Health = v.Humanoid.Health - dmg
  710. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  711. end
  712. local defence = Instance.new("BoolValue",v)
  713. defence.Name = ("HitBy"..Player.Name)
  714. end
  715. else
  716. if beserk == true then
  717. v.Humanoid.Health = 0
  718. end
  719. if math.random(1,100) < critrate+1 then
  720. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  721. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  722. else
  723. v.Humanoid.Health = v.Humanoid.Health - dmg
  724. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  725. end
  726. local defence = Instance.new("BoolValue",v)
  727. defence.Name = ("HitBy"..Player.Name)
  728. end
  729. end
  730. end
  731. end
  732. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  733. end
  734. end
  735. end
  736. end
  737. if v:FindFirstChild("HitBy"..Player.Name) then
  738. v:FindFirstChild("HitBy"..Player.Name):remove()
  739. end
  740. end
  741. end
  742.  
  743. --//=================================\\
  744. --|| ATTACK FUNCTIONS AND STUFF
  745. --\\=================================//
  746.  
  747. local asd = Instance.new("ParticleEmitter")
  748. asd.Color = ColorSequence.new(Color3.new(0, 0, 0))
  749. asd.LightEmission = .1
  750. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  751. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 4),NumberSequenceKeypoint.new(1, 8)})
  752. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  753. asd.Transparency = bbb
  754. asd.Size = aaa
  755. asd.ZOffset = .9
  756. asd.Acceleration = Vector3.new(0, 0, 0)
  757. asd.LockedToPart = false
  758. asd.EmissionDirection = "Back"
  759. asd.Lifetime = NumberRange.new(1, 2)
  760. asd.Rotation = NumberRange.new(-100, 100)
  761. asd.RotSpeed = NumberRange.new(-100, 100)
  762. asd.Speed = NumberRange.new(6)
  763. asd.Enabled = false
  764. asd.Drag = 3
  765. asd.VelocitySpread = 10000
  766.  
  767. function poofcloud(pos,amount)
  768. local prt = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Poof", VT(0,0,0))
  769. prt.Anchored = true
  770. prt.CFrame = CF(pos)
  771. local prtcl = asd:Clone()
  772. prtcl.Parent = prt
  773. prtcl:Emit(amount)
  774. CreateSound("966888080", prt, 6, (math.random(12,16)/10))
  775. coroutine.resume(coroutine.create(function()
  776. wait(3)
  777. prt:remove()
  778. end))
  779. end
  780.  
  781. function Vanish()
  782. tecks2.TextTransparency = 1
  783. poofcloud(Torso.Position,50)
  784. g = Character:GetChildren()
  785. for i = 1, #g do
  786. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  787. g[i].Transparency = 1
  788. Head.face.Transparency = 1
  789. elseif g[i].ClassName == "Accessory" then
  790. g[i].Handle.Transparency = 1
  791. end
  792. end
  793. g = Weapon:GetChildren()
  794. for i = 1, #g do
  795. if g[i].ClassName == "Part" then
  796. g[i].Transparency = 1
  797. end
  798. end
  799. end
  800.  
  801. function Trail(Part)
  802. local TRAIL = Part:Clone()
  803. TRAIL.CanCollide = false
  804. TRAIL.Anchored = true
  805. TRAIL.Parent = Effects
  806. TRAIL.Name = "Trail"
  807. local TRANS = Part.Transparency
  808. coroutine.resume(coroutine.create(function()
  809. for i = 1, 20 do
  810. Swait()
  811. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  812. end
  813. TRAIL:remove()
  814. end))
  815. end
  816.  
  817. function Appear()
  818. tecks2.TextTransparency = 0
  819. poofcloud(Torso.Position,50)
  820. g = Character:GetChildren()
  821. for i = 1, #g do
  822. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  823. g[i].Transparency = 0
  824. Head.face.Transparency = 0
  825. elseif g[i].ClassName == "Accessory" then
  826. g[i].Handle.Transparency = 0
  827. end
  828. end
  829. g = Weapon:GetChildren()
  830. for i = 1, #g do
  831. if g[i].ClassName == "Part" then
  832. g[i].Transparency = 0
  833. end
  834. end
  835. end
  836.  
  837. function AttackTemplate()
  838. ATTACK = true
  839. Rooted = false
  840. for i=0, 1, 0.1 / Animation_Speed do
  841. Swait()
  842. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  846. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  847. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  848. end
  849. ATTACK = false
  850. Rooted = false
  851. end
  852.  
  853. function DarkageShuriken()
  854. ATTACK = true
  855. Rooted = false
  856. for i=0, 1, 0.1 / Animation_Speed do
  857. Swait()
  858. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  859. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  862. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  863. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.25 / Animation_Speed)
  864. end
  865. for i=0, 1.5, 0.1 / Animation_Speed do
  866. Swait()
  867. MagicBlock(3,10,blade.CFrame,"Royal purple",VT(-0.1,-0.1,-0.1))
  868. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  869. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  870. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  871. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  872. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  873. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.25 / Animation_Speed)
  874. end
  875. local ANGLE = 15
  876. for i = 1, 3 do
  877. local SHURIKEN = CreatePart(3, Effects, "Marble", 0, 0.3, "Royal purple", "Shuriken", VT(0.5,0.05,0.5),false)
  878. local MESH = CreateMesh("SpecialMesh", SHURIKEN, "FileMesh", "340607397", "", VT(0.35,0.35,0.35), VT(-0.015, 0, -0.05))
  879. SHURIKEN.CFrame = CF(RootPart.Position,Mouse.Hit.p) * CF(0,0,-4) * ANGLES(RAD(0),RAD(ANGLE),RAD(0))
  880. ANGLE = ANGLE - 15
  881. SHURIKEN.Anchored = true
  882. SHURIKEN.Parent = Effects
  883. SHURIKEN.CanCollide = true
  884. MESH.Scale = MESH.Scale * 5
  885. MESH.Offset = MESH.Offset * 5
  886. SHURIKEN.Size = SHURIKEN.Size * 5
  887. coroutine.resume(coroutine.create(function()
  888. local TOUCHED = false
  889. local CFRAME = SHURIKEN.CFrame
  890. local LOOP = 1
  891. local HIT = SHURIKEN.Touched:Connect(function(hit)
  892. if hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  893. TOUCHED = true
  894. end
  895. end)
  896. repeat
  897. Swait()
  898. Trail(SHURIKEN)
  899. LOOP = LOOP + 1
  900. SHURIKEN.CFrame = CFRAME * CF(0,0,-LOOP) * ANGLES(RAD(0),RAD(LOOP*15),RAD(0))
  901. MESH.Scale = MESH.Scale * 1.01
  902. MESH.Offset = MESH.Offset * 1.01
  903. SHURIKEN.Size = SHURIKEN.Size * 1.01
  904. until TOUCHED == true or LOOP >= 250
  905. SHURIKEN.CanCollide = false
  906. HIT:disconnect()
  907. if LOOP >= 250 and TOUCHED == false then
  908. for i = 1, 50 do
  909. Swait()
  910. MESH.Scale = MESH.Scale * 0.9
  911. MESH.Offset = MESH.Offset * 0.9
  912. SHURIKEN.Size = SHURIKEN.Size * 0.9
  913. end
  914. elseif TOUCHED == true then
  915. AoEDamage(SHURIKEN.Position,SHURIKEN.Size.X,35,45,7,false,3,1.2,false)
  916. CreateSound("444667859", SHURIKEN, 3, (math.random(12,16)/10))
  917. for i = 1, 10 do
  918. Swait()
  919. MagicBlock(SHURIKEN.Size.Y*5,5,SHURIKEN.CFrame,"Royal purple",VT(SHURIKEN.Size.Y/15,SHURIKEN.Size.Y/15,SHURIKEN.Size.Y/15))
  920. SHURIKEN.CFrame = SHURIKEN.CFrame * ANGLES(RAD(0),RAD(15),RAD(0))
  921. MESH.Scale = MESH.Scale * 1.03
  922. MESH.Offset = MESH.Offset * 1.03
  923. SHURIKEN.Size = SHURIKEN.Size * 1.03
  924. SHURIKEN.Transparency = SHURIKEN.Transparency + 0.1
  925. end
  926. end
  927. wait(5)
  928. SHURIKEN:remove()
  929. end))
  930. end
  931. for i=0, 0.4, 0.1 / Animation_Speed do
  932. Swait()
  933. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  934. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  935. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  936. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  937. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  938. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  939. end
  940. ATTACK = false
  941. Rooted = false
  942. end
  943.  
  944. function DarkageStorm()
  945. ATTACK = true
  946. Rooted = false
  947. for i=0, 1, 0.1 / Animation_Speed do
  948. Swait()
  949. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  950. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  951. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  952. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  953. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  954. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.25 / Animation_Speed)
  955. end
  956. for i=0, 1.5, 0.1 / Animation_Speed do
  957. Swait()
  958. CreateSwirl(VT(1,1,1),15,blade.CFrame,true,4,"Royal purple",VT(0.5,0.5,0.5))
  959. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Royal purple",VT(0.001,0.001,1),0)
  960. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Royal purple",VT(0.001,0.001,0.6),0)
  961. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Really black",VT(0.001,0.001,1),0)
  962. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  963. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  964. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  965. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  966. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  967. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.25 / Animation_Speed)
  968. end
  969. CreateSound("444667859", blade, 3, (math.random(6,8)/10))
  970. coroutine.resume(coroutine.create(function()
  971. local FRAME = CF(RootPart.Position,Mouse.Hit.p)
  972. for i = 1, 75 do
  973. Swait(5)
  974. FRAME = FRAME * CF(0,0,-6)
  975. CreateSwirl(VT(i,i,i),15,FRAME*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Really black",VT(-0.1,-0.1,-0.1),true)
  976. CreateSwirl(VT(i,i,i),15,FRAME*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Royal purple",VT(-0.1,-0.1,-0.1),true)
  977. AoEDamage(FRAME.p,i*1.5,4,10,0,false,0,1.2,false)
  978. end
  979. end))
  980. for i=0, 0.4, 0.1 / Animation_Speed do
  981. Swait()
  982. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  983. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  984. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  985. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  986. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  987. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  988. end
  989. ATTACK = false
  990. Rooted = false
  991. end
  992.  
  993. function DarkageSurge()
  994. ATTACK = true
  995. Rooted = true
  996. for i=0, 1, 0.1 / Animation_Speed do
  997. Swait()
  998. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  999. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1000. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1001. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1002. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1003. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1004. end
  1005. for i=0, 3, 0.1 / Animation_Speed do
  1006. Swait()
  1007. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Royal purple",VT(0.001,0.001,1),0)
  1008. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1009. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1010. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1011. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1012. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1013. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1014. end
  1015. coroutine.resume(coroutine.create(function()
  1016. local SHURIKEN = CreatePart(3, Effects, "Marble", 0, 0.8, "Royal purple", "Shuriken", VT(0.5,0.05,0.5))
  1017. local MESH = CreateMesh("SpecialMesh", SHURIKEN, "FileMesh", "340607397", "", VT(0.35,0.35,0.35), VT(-0.015, 0, -0.05))
  1018. SHURIKEN.CFrame = RootPart.CFrame*CF(0,-5,0)
  1019. SHURIKEN.Parent = Effects
  1020. MESH.Scale = MESH.Scale * 50
  1021. MESH.Offset = MESH.Offset * 50
  1022. SHURIKEN.Size = SHURIKEN.Size * 50
  1023. CreateSound("971126018", SHURIKEN, 7, 0.6)
  1024. for i = 1, 85 do
  1025. Swait()
  1026. AoEDamage(SHURIKEN.Position,SHURIKEN.Size.X/1.5,1,1,0,false,3,1.2,false)
  1027. local FRAME = CF(VT(SHURIKEN.Position.X+MRANDOM(-SHURIKEN.Size.X/2,SHURIKEN.Size.X/2),SHURIKEN.Position.Y,SHURIKEN.Position.Z+MRANDOM(-SHURIKEN.Size.X/2,SHURIKEN.Size.X/2)))
  1028. MagicSphere(VT(0.6,0.6,0.6),15,FRAME,"Royal purple",VT(SHURIKEN.Size.Y/4,SHURIKEN.Size.Y,SHURIKEN.Size.Y/4),0)
  1029. MagicSphere(VT(0.2,0.2,0.2),15,FRAME,"Really black",VT(SHURIKEN.Size.Y/4,SHURIKEN.Size.Y,SHURIKEN.Size.Y/4),0)
  1030. MagicSphere(VT(0.6,0.6,0.6),15,CF(SHURIKEN.Position),"Royal purple",VT(SHURIKEN.Size.Y/4,SHURIKEN.Size.Y*2,SHURIKEN.Size.Y/4),0)
  1031. MagicSphere(VT(0.2,0.2,0.2),15,CF(SHURIKEN.Position),"Really black",VT(SHURIKEN.Size.Y/4,SHURIKEN.Size.Y*2,SHURIKEN.Size.Y/4),0)
  1032. MESH.Scale = MESH.Scale * 1.01
  1033. MESH.Offset = MESH.Offset * 1.01
  1034. SHURIKEN.Size = SHURIKEN.Size * 1.01
  1035. Trail(SHURIKEN)
  1036. SHURIKEN.CFrame = SHURIKEN.CFrame * ANGLES(RAD(0),RAD(i),RAD(0))
  1037. end
  1038. for i = 1, 50 do
  1039. Swait()
  1040. MESH.Scale = MESH.Scale * 0.9
  1041. MESH.Offset = MESH.Offset * 0.9
  1042. SHURIKEN.Size = SHURIKEN.Size * 0.9
  1043. end
  1044. SHURIKEN:remove()
  1045. end))
  1046. ATTACK = false
  1047. Rooted = false
  1048. end
  1049.  
  1050. function DarkageBlades()
  1051. ATTACK = true
  1052. Rooted = true
  1053. local MESHID = "86297695"
  1054. local TEXTURE = "86290910"
  1055. for i=0, 1, 0.1 / Animation_Speed do
  1056. Swait()
  1057. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1058. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1059. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1061. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1062. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1063. end
  1064. local BLADEHOLDER = IT("Folder",Effects)
  1065. BLADEHOLDER.Name = "Blades"
  1066. local BLADE1 = CreatePart(3, BLADEHOLDER, "Marble", 0, 1, "Royal purple", "Katana", VT(0.5,4,0.5))
  1067. local MESH = CreateMesh("SpecialMesh", BLADE1, "FileMesh", MESHID, TEXTURE, VT(1,1,1), VT(0,0,0))
  1068. BLADE1.CanCollide = true
  1069. BLADE1.CFrame = RootPart.CFrame * CF(-5,3,0)*ANGLES(RAD(180),RAD(0),RAD(0))
  1070. local BLADE2 = CreatePart(3, BLADEHOLDER, "Marble", 0, 1, "Royal purple", "Katana", VT(0.5,4,0.5))
  1071. local MESH = CreateMesh("SpecialMesh", BLADE2, "FileMesh", MESHID, TEXTURE, VT(1,1,1), VT(0,0,0))
  1072. BLADE2.CanCollide = true
  1073. BLADE2.CFrame = RootPart.CFrame * CF(5,0,0)*ANGLES(RAD(180),RAD(0),RAD(180))
  1074. local BLADE3 = CreatePart(3, BLADEHOLDER, "Marble", 0, 1, "Royal purple", "Katana", VT(0.5,4,0.5))
  1075. local MESH = CreateMesh("SpecialMesh", BLADE3, "FileMesh", MESHID, TEXTURE, VT(1,1,1), VT(0,0,0))
  1076. BLADE3.CanCollide = true
  1077. BLADE3.CFrame = RootPart.CFrame * CF(-5,-3,0)*ANGLES(RAD(180),RAD(0),RAD(0))
  1078. coroutine.resume(coroutine.create(function()
  1079. for i = 1, 100 do
  1080. Swait()
  1081. BLADE1.Transparency = BLADE1.Transparency - 0.01
  1082. BLADE2.Transparency = BLADE1.Transparency
  1083. BLADE3.Transparency = BLADE1.Transparency
  1084. end
  1085. end))
  1086. for i=0, 3, 0.1 / Animation_Speed do
  1087. Swait()
  1088. BLADE1.CFrame = RootPart.CFrame * CF(-5,3,0)*ANGLES(RAD(180),RAD(0),RAD(0))
  1089. BLADE2.CFrame = RootPart.CFrame * CF(5,0,0)*ANGLES(RAD(180),RAD(0),RAD(180))
  1090. BLADE3.CFrame = RootPart.CFrame * CF(-5,-3,0)*ANGLES(RAD(180),RAD(0),RAD(0))
  1091. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Royal purple",VT(0.001,0.001,1),0)
  1092. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1093. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1094. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1095. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1096. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1097. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1098. end
  1099. for i= 1, 15 do
  1100. Swait()
  1101. Trail(BLADE1)
  1102. Trail(BLADE2)
  1103. Trail(BLADE3)
  1104. BLADE1.CFrame = BLADE1.CFrame * CF(0,0,2)*ANGLES(RAD(0),RAD(-0.4),RAD(0))
  1105. BLADE2.CFrame = BLADE2.CFrame * CF(0,0,2)*ANGLES(RAD(0),RAD(-0.4),RAD(0))
  1106. BLADE3.CFrame = BLADE3.CFrame * CF(0,0,2)*ANGLES(RAD(0),RAD(-0.4),RAD(0))
  1107. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1108. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1111. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1112. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1113. end
  1114. coroutine.resume(coroutine.create(function()
  1115. for i = 1, 25 do
  1116. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE1, 2, MRANDOM(8,12)/10)
  1117. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE2, 2, MRANDOM(8,12)/10)
  1118. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE3, 2, MRANDOM(8,12)/10)
  1119. AoEDamage(BLADE1.Position,15,15,25,2,false,3,1.2,false)
  1120. AoEDamage(BLADE2.Position,15,15,25,2,false,3,1.2,false)
  1121. AoEDamage(BLADE3.Position,15,15,25,2,false,3,1.2,false)
  1122. CreateSwirl(VT(10,10,10),15,BLADE1.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Pearl",VT(-0.1,-0.1,-0.1),false)
  1123. CreateSwirl(VT(10,10,10),15,BLADE2.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Pearl",VT(-0.1,-0.1,-0.1),false)
  1124. CreateSwirl(VT(10,10,10),15,BLADE3.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),true,1,"Pearl",VT(-0.1,-0.1,-0.1),false)
  1125. for i= 1, 5 do
  1126. BLADE1.CFrame = BLADE1.CFrame * ANGLES(RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)))
  1127. BLADE2.CFrame = BLADE2.CFrame * ANGLES(RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)))
  1128. BLADE3.CFrame = BLADE3.CFrame * ANGLES(RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)),RAD(MRANDOM(-150,150)))
  1129. end
  1130. Swait()
  1131. end
  1132. coroutine.resume(coroutine.create(function()
  1133. for i = 1, 100 do
  1134. Swait()
  1135. BLADE1.Transparency = BLADE1.Transparency + 0.01
  1136. BLADE2.Transparency = BLADE1.Transparency
  1137. BLADE3.Transparency = BLADE1.Transparency
  1138. end
  1139. end))
  1140. end))
  1141. for i=0, 0.4, 0.1 / Animation_Speed do
  1142. Swait()
  1143. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1144. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1145. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1146. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1147. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1148. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.5 / Animation_Speed)
  1149. end
  1150. ATTACK = false
  1151. Rooted = false
  1152. end
  1153.  
  1154. function RageOfDarkage()
  1155. ATTACK = true
  1156. Rooted = true
  1157. for i=0, 4, 0.1 / Animation_Speed do
  1158. Swait()
  1159. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Royal purple",VT(0.001,0.001,1),0)
  1160. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Royal purple",VT(0.001,0.001,0.6),0)
  1161. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Really black",VT(0.001,0.001,1),0)
  1162. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1163. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1164. --PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1165. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(45), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1166. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(-45), RAD(25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1167. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1168. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1169. end
  1170. CreateSound("971126018", Torso, 7, 0.6)
  1171. sick:Stop()
  1172. MagicSphere(VT(0.6,0.6,0.6),155,CF(Torso.Position),"Royal purple",VT(0.4,0.4,0.4),0)
  1173. MagicSphere(VT(0.2,0.2,0.2),155,CF(Torso.Position),"Really black",VT(0.4,0.4,0.4),0)
  1174. for i=0, 4, 0.1 / Animation_Speed do
  1175. Swait()
  1176. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1177. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1178. --PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.27,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1179. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1180. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1181. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1182. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1183. end
  1184. tecks2.Text = Player.Name..", the rage of Darkage"
  1185. VALUE2 = "Rage"
  1186. SKILL1TEXT.Text = "[Z] Darkage Storm"
  1187. SKILL2TEXT.Text = "[B] Darkage Blades"
  1188. SKILL4TEXT.Text = "[V] Cool down"
  1189. sick2:Play()
  1190. ATTACK = false
  1191. Rooted = false
  1192. end
  1193.  
  1194. --//=================================\\
  1195. --|| ASSIGN THINGS TO KEYS
  1196. --\\=================================//
  1197.  
  1198. function MouseDown(Mouse)
  1199. if ATTACK == false then
  1200. end
  1201. end
  1202.  
  1203. function MouseUp(Mouse)
  1204. HOLD = false
  1205. end
  1206.  
  1207. function KeyDown(Key)
  1208. KEYHOLD = true
  1209. if Key == "z" and ATTACK == false then
  1210. if VALUE2 == "Normal" then
  1211. DarkageShuriken()
  1212. elseif VALUE2 == "Rage" then
  1213. DarkageStorm()
  1214. end
  1215. end
  1216.  
  1217. if Key == "b" and ATTACK == false then
  1218. if VALUE2 == "Normal" then
  1219. DarkageSurge()
  1220. elseif VALUE2 == "Rage" then
  1221. DarkageBlades()
  1222. end
  1223. end
  1224.  
  1225. if Key == "c" and ATTACK == false then
  1226. if VALUE1 == false then
  1227. Vanish()
  1228. VALUE1 = true
  1229. elseif VALUE1 == true then
  1230. Appear()
  1231. VALUE1 = false
  1232. end
  1233. end
  1234.  
  1235. if Key == "v" and ATTACK == false and VALUE1 == false then
  1236. if VALUE2 == "Normal" then
  1237. RageOfDarkage()
  1238. elseif VALUE2 == "Rage" then
  1239. VALUE2 = "Normal"
  1240. sick:Play()
  1241. sick2:Stop()
  1242. tecks2.Text = Player.Name
  1243. SKILL1TEXT.Text = "[Z] Darkage Shurikens"
  1244. SKILL2TEXT.Text = "[B] Darkage Surge"
  1245. SKILL4TEXT.Text = "[V] Rage of Darkage"
  1246. end
  1247. end
  1248.  
  1249. if Key == "x" and ATTACK == false then
  1250. end
  1251. end
  1252.  
  1253. function KeyUp(Key)
  1254. KEYHOLD = false
  1255. end
  1256.  
  1257. Mouse.Button1Down:connect(function(NEWKEY)
  1258. MouseDown(NEWKEY)
  1259. end)
  1260. Mouse.Button1Up:connect(function(NEWKEY)
  1261. MouseUp(NEWKEY)
  1262. end)
  1263. Mouse.KeyDown:connect(function(NEWKEY)
  1264. KeyDown(NEWKEY)
  1265. end)
  1266. Mouse.KeyUp:connect(function(NEWKEY)
  1267. KeyUp(NEWKEY)
  1268. end)
  1269.  
  1270. --//=================================\\
  1271. --\\=================================//
  1272.  
  1273.  
  1274. function unanchor()
  1275. if UNANCHOR == true then
  1276. g = Character:GetChildren()
  1277. for i = 1, #g do
  1278. if g[i].ClassName == "Part" then
  1279. g[i].Anchored = false
  1280. end
  1281. end
  1282. end
  1283. end
  1284.  
  1285.  
  1286. --//=================================\\
  1287. --|| WRAP THE WHOLE SCRIPT UP
  1288. --\\=================================//
  1289.  
  1290. Humanoid.Changed:connect(function(Jump)
  1291. if Jump == "Jump" and (Disable_Jump == true) then
  1292. Humanoid.Jump = false
  1293. end
  1294. end)
  1295.  
  1296. Humanoid.HipHeight = 2
  1297. Speed = 45
  1298. local FF = IT("ForceField",Character)
  1299. FF.Visible = false
  1300.  
  1301. while true do
  1302. Swait()
  1303. ANIMATE.Parent = nil
  1304. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1305. IDLEANIMATION:Play()
  1306. SINE = SINE + CHANGE
  1307. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1308. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1309. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1310. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -3, 0))).lookVector, 7 * Player_Size, Character)
  1311. local WALKSPEEDVALUE = 3
  1312. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1313. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1314. --Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1315. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1316. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1317. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1318. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1319. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1320. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1321. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1322. end
  1323. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1324. ANIM = "Jump"
  1325. if ATTACK == false then
  1326. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1327. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1328. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1329. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1330. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1331. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1332. end
  1333. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1334. ANIM = "Fall"
  1335. if ATTACK == false then
  1336. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1337. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1340. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1342. end
  1343. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1344. ANIM = "Idle"
  1345. if ATTACK == false then
  1346. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1347. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1348. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1349. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1350. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1351. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  1352. end
  1353. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1354. ANIM = "Walk"
  1355. WALK = WALK + 1 / Animation_Speed
  1356. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1357. WALK = 0
  1358. if WALKINGANIM == true then
  1359. WALKINGANIM = false
  1360. elseif WALKINGANIM == false then
  1361. WALKINGANIM = true
  1362. end
  1363. end
  1364. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1365. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1366. if ATTACK == false then
  1367. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1368. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1369. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1370. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1371. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1372. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  1373. end
  1374. end
  1375. unanchor()
  1376. Humanoid.MaxHealth = "inf"
  1377. Humanoid.Health = "inf"
  1378. if Rooted == false then
  1379. Disable_Jump = false
  1380. Humanoid.WalkSpeed = Speed
  1381. elseif Rooted == true then
  1382. Disable_Jump = true
  1383. Humanoid.WalkSpeed = 0
  1384. end
  1385. local MATHS = {"0","1"}
  1386. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1387. Humanoid.PlatformStand = false
  1388. if Head:FindFirstChildOfClass("Sound") then
  1389. Head:FindFirstChildOfClass("Sound"):remove()
  1390. end
  1391. armweld.C1 = Clerp(armweld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(SINE*10), RAD(0)), 0.15 / Animation_Speed)
  1392. if VALUE1 == true then
  1393. local HOLDER = IT("Folder",Cam)
  1394. HOLDER.Name = "Trail"
  1395. Debris:AddItem(HOLDER,0.05)
  1396. g = Character:GetChildren()
  1397. for i = 1, #g do
  1398. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1399. local shadow = g[i]:Clone()
  1400. shadow.CFrame = g[i].CFrame
  1401. shadow.Transparency = 0.9
  1402. shadow.Color = C3(0,0,0)
  1403. shadow:ClearAllChildren()
  1404. if g[i].Name == "Head" then
  1405. local MESH = Head.Mesh:Clone()
  1406. MESH.Parent = shadow
  1407. end
  1408. shadow.Anchored = true
  1409. shadow.CanCollide = false
  1410. shadow.Material = "SmoothPlastic"
  1411. shadow.Parent = HOLDER
  1412. end
  1413. end
  1414. g = Weapon:GetChildren()
  1415. for i = 1, #g do
  1416. if g[i].ClassName == "Part" then
  1417. local shadow = g[i]:Clone()
  1418. shadow.CFrame = g[i].CFrame
  1419. shadow.Transparency = 0.9
  1420. shadow.Color = C3(0,0,0)
  1421. shadow:ClearAllChildren()
  1422. if g[i]:FindFirstChild("Mesh") then
  1423. local CLONE = g[i].Mesh:Clone()
  1424. CLONE.Parent = shadow
  1425. end
  1426. shadow.Parent = HOLDER
  1427. shadow.Anchored = true
  1428. shadow.CanCollide = false
  1429. shadow.Material = "SmoothPlastic"
  1430. end
  1431. end
  1432. else
  1433. MagicBlock(0.1,10,blade.CFrame*CF(MRANDOM(-20,20)/100,0,MRANDOM(-20,20)/100),"Royal purple",VT(0.1,0.1,0.1))
  1434. end
  1435. if VALUE2 == "Rage" and VALUE1 == false then
  1436. local FRAME = CF(VT(Torso.Position.X+MRANDOM(-15,15),Torso.Position.Y,Torso.Position.Z+MRANDOM(-15,15)))
  1437. AoEDamage(FRAME.p,4,3,6,0,false,3,1.2,false)
  1438. AoEDamage(blade.Position,5,35,35,25,false,3,1.2,false)
  1439. MagicSphere(VT(0.6,0.6,0.6),15,FRAME,"Royal purple",VT(0.1,6,0.1),0)
  1440. MagicSphere(VT(0.2,0.2,0.2),15,FRAME,"Really black",VT(0.1,6,0.1),0)
  1441. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Royal purple",VT(0.001,0.001,0.6),0)
  1442. MagicSphere(VT(0.2,0.2,0.2),15,CF(blade.CFrame*CF(MRANDOM(-5,5),MRANDOM(-10,0),MRANDOM(-5,5)).p,blade.Position),"Really black",VT(0.001,0.001,1),0)
  1443. end
  1444. end
  1445.  
  1446. --//=================================\\
  1447. --\\=================================//
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453. --//====================================================\\--
  1454. --|| END OF SCRIPT
  1455. --\\====================================================//--
Add Comment
Please, Sign In to add comment