Advertisement
Toey8415

Xchara

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