Advertisement
SpiritualDonut

Untitled

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