Advertisement
memberhero

Darkage Band

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