Advertisement
GojiGaming1337

Untitled

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