1x1x1x1IAMbck

cross knife

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